/*SLIDESHOW*/
#slideshow #fotogallery,
#fotogallery #slider-wrapper{
    width:100%;
    height:100%;
    margin:0 auto
}
#slider{
	width:100%;
    height:100%;
	position:relative;
    background-position:center center!important;
    background-size:100% auto!important
}
#slider .nivo-slice{background-position:center center!important;background-size:100% auto!important}
#slider img{
	width:100%!important;
    height:auto!important;
    display:none!important;
    position:absolute;
	top:0;
    bottom:0;
	left:0;
    z-index:9000
}
#slider a{display:block}
#slider a.nivo-imageLink{
    width:100%;
    height:100%;
	position:absolute;
	top:0px;
	left:0px;
    z-index:10000!important;
    cursor:pointer!important;
    background:url(../QUERCIMMUN/img/space.gif) no-repeat top left
}
.nivo-controlNav{
    width:100%;
    height:22px;
	text-align:center;
    clear:both;
	display:none!important;
    overflow:hidden;
    position:absolute;
    bottom:-130px;
    left:0;
    z-index:19000!important;
    padding:0!important;
    margin:auto
}
.nivo-controlNav a{
    width:22px;
    height:22px;
    text-indent:-9999px!important;
    cursor:pointer;
    /*float:left;*/
    display:inline-block!important;
    overflow:hidden;
    margin:0 3px;
    box-sizing:border-box;
    border-radius:11px;
    border:2px solid #fff;
    background:#000
}
.nivo-controlNav a.active{background:#00609c}

.nivo-directionNav a{
    width:0;
    height:0;
    text-indent:-9999px;
    display:none!important;
    position:absolute;
    top:0!important;
    bottom:0!important;
    margin:auto;
    border:15px solid transparent
}
a.nivo-nextNav{right:5px!important;border-left-color:rgba(255,255,255,0.4)}
a.nivo-prevNav{left:5px!important;border-right-color:rgba(255,255,255,0.4)}

.nivo-caption{text-align:left;text-shadow:none}
.nivo-caption a{color:#fff;text-decoration:underline}

/* The Nivo Slider styles */
.nivoSlider{position:relative}
.nivoSlider img{
	position:absolute;
	bottom:0px;
	left:0px
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink{
	width:100%;
	height:100%;
	position:absolute;
	top:0px;
	left:0px;
	padding:0;
	margin:0;
	z-index:60;
	display:none
}
/* The slices in the Slider */
.nivo-slice{
	height:100%;
	display:block;
	position:absolute;
	z-index:50
}

/* Caption styles */
.nivo-caption{
    width:100%;
    clear:both;
    overflow:hidden;
    position:absolute;
    bottom:10px;
    right:0;
    z-index:10000;
    padding:15px 20px;
    opacity:1.0!important;
    box-sizing:border-box;
    background:rgba(0,0,0,0.5)
}
.nivo-caption p{
    font:100% "OswaldLight", Arial, sans-serif;
    font-size:2.30em;
    color:#fff;
    text-align:right;
    line-height:150%
}
.nivo-caption span{
    width:100%;
    font:100% "Insolent", Arial, sans-serif;
    font-size:1.20em;
    color:#e26920;
    line-height:100%;
    clear:both;
    display:block;
    margin-top:5px
}
.nivo-caption span{text-transform:capitalize}
.nivo-caption a{text-decoration:none}
.nivo-html-caption{display:none!important}

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a{
	position:absolute;
	top:228px;
	z-index:10300;  /* ex 99*/
	cursor:pointer
}
.nivo-prevNav{left:0px}
.nivo-nextNav{right:0px}

/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav a{
	position:relative;
	z-index:99;
	cursor:pointer;
}
.nivo-controlNav a.active{font-weight:bold}

#slideshow div.imgronfolin,
#slideshow div.imgdoctor{
    position:absolute;
    z-index:10000;
    margin:0 auto!important
}
#slideshow div.imgronfolin{
    width:12%;
    bottom:4%;
    left:0;
    right:0
}
#slideshow div.imgdoctor{
    width:23%;
    bottom:-10px;
    right:95px
}
#slideshow div.imgronfolin img,
#slideshow div.imgdoctor img{
    width:100%!important;
    height:auto!important;
    position:static!important
}

/*RESPONSIVITY*/
@media only screen and (min-width:320px) and (max-width:1024px) {
	/*slideshow*/
    #slideshow .nivo-controlNav{height:16px!important;bottom:-65px!important}
    #slideshow .nivo-controlNav a{
        width:16px!important;
        height:16px!important;
        border-radius:8px!important
    }
    #slideshow div.imgronfolin{width:13%;bottom:3%}
    #slideshow div.imgdoctor{width:28%;right:50px}
}

@media only screen and (min-width:1025px) and (max-width:1280px) {
	/*slideshow*/
    #slideshow .nivo-controlNav{height:16px!important;bottom:-75px!important}
    #slideshow .nivo-controlNav a{
        width:16px!important;
        height:16px!important;
        border-radius:8px!important
    }
    #slideshow div.imgronfolin{width:13%;bottom:5%}
    #slideshow div.imgdoctor{width:26%;right:55px}
}

@media only screen and (min-width:1281px) and (max-width:1500px) {
	/*slideshow*/
    #slideshow .nivo-controlNav{height:18px!important;bottom:-85px!important}
    #slideshow .nivo-controlNav a{
        width:18px!important;
        height:18px!important;
        border-radius:9px!important
    }
    #slideshow div.imgronfolin{width:13%;bottom:5%}
    #slideshow div.imgdoctor{width:25%;right:55px}
}

@media only screen and (min-width:1501px) and (max-width:1950px) {
	/*slideshow*/
    #slideshow .nivo-controlNav{height:20px!important;bottom:-105px!important}
    #slideshow .nivo-controlNav a{
        width:20px!important;
        height:20px!important;
        border-radius:10px!important
    }
    #slideshow div.imgronfolin{width:13%}
    #slideshow div.imgdoctor{width:24%;right:85px}
}

/*TABLET*/
@media only screen and (min-device-width:768px) and (max-device-width:1024px) {
	/*slideshow*/
	#slideshow .nivo-controlNav{bottom:-80px!important}
    #slideshow .nivo-controlNav a{display:none}
    #slideshow #socialnetwork,
    #slideshow div.imgdoctor{display:none}
}

@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:portrait) {
	/*slideshow*/
    /*#slideshow #fotogallery{
        width:140%!important;
        height:480px!important;
        margin-left:-28%!important
    }*/
    #slideshow div.imgronfolin{width:14%}
}

@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:landscape) {
	/*slideshow*/
    /*#slideshow #fotogallery{
        width:140%!important;
        height:568px!important;
        margin-left:-28%!important
    }*/
    #slideshow div.imgronfolin{width:13%}
}

/*SMARTPHONE*/
@media only screen and (min-device-width:320px) and (max-device-width:767px) {
	/*slideshow*/
    /*#slideshow #fotogallery{width:140%!important;margin-left:-28%!important}*/
    #slideshow .nivo-controlNav a{display:none}
    #slideshow #socialnetwork,
    #slideshow div.imgdoctor{display:none}
}

@media only screen and (min-device-width:320px) and (max-device-width:767px) and (max-aspect-ratio:13/9) {
	/*slideshow*/
	#slideshow .nivo-controlNav{bottom:-50px!important}
    /*#slideshow #fotogallery{height:200px!important}*/
    #slideshow div.imgronfolin{width:16%;bottom:2%}
}

@media only screen and (min-device-width:320px) and (max-device-width:767px) and (min-aspect-ratio:13/9) {
	/*slideshow*/
	#slideshow .nivo-controlNav{bottom:-80px!important}
    /*#slideshow #fotogallery{height:350px!important}*/
    #slideshow div.imgronfolin{width:14%;bottom:2%}
}