/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block;}

	@media only screen and (min-width : 1350px){
	.cboxIframe{width:1100px; height:619px; display:block; border:0; position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto;box-shadow: 5px 3px 31px -1px rgba(0,0,0,0.6);}
	}

    @media only screen and (max-width : 1350px){
        .cboxIframe{width:930px; height:523px; display:block; border:0; position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto;box-shadow: 5px 3px 31px -1px rgba(0,0,0,0.6);}
    }
    @media only screen and (max-width : 1024px) {
        .cboxIframe{width:100%; height:450px; display:block; border:0;}
    }
	@media only screen and (max-width : 768px) {
        .cboxIframe{width:100%; height:350px; display:block; border:0;}
    }
	@media only screen and (max-width : 500px) {
        .cboxIframe{width:100%; height:210px; display:block; border:0;}
		#cboxClose {margin-right: 20px;}
    }

/* 
    User Style:
    Change the following styles to modify the appearance of ColorBox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:#000000; background:rgba(0,0,0,0.7);}
#colorbox{}
    #cboxContent{margin-top:32px; overflow:visible;}
        .cboxIframe{background:transparent}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{background:#000; padding:1px;}
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        #cboxLoadingOverlay{background:#000;}
        #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
        #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
        #cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) no-repeat 0 0;}
        #cboxPrevious{background-position:0px 0px; right:44px;}
        #cboxPrevious:hover{background-position:0px -25px;}
        #cboxNext{background-position:-25px 0px; right:22px;}
        #cboxNext:hover{background-position:-25px -25px;}
        #cboxClose{background-position:-50px 0px; right:0;}
        #cboxClose:hover{background-position:-50px -25px;}
        .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
        .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}
		
		
        #bloquecierre {width: 800px;margin: 0 auto; position: relative;}
        #botoncerrar {position: absolute; top: 21px;right: 0; z-index: 99999;cursor: pointer; transition: all .1s ease-in;}
        #botoncerrar:hover {opacity: 0.6;}
        .anchoextendido {width: 976px !important;}
        .altoextendido {height: 700px !important; margin-top: -345px !important;}
        .altoextendidodispositivos {height: 100% !important; margin: 0 !important; top: 0 !important;}
        #cboxClose {width: 100%;  border:0; height: 35px !important; top: 24px !important;  left:0; right: 0;margin-left:auto; margin-right:30px;  float: none !important; background-image: url('http://www.antena3.com/newa3flash/modulos_blancos/aniversario25/img/cerrar.png?8'); background-size: 32px 32px; background-position: right; background-repeat: no-repeat; }
        #cboxContent {margin-top: 0 !important;}
        #cboxClose:hover {background-position: right; opacity: 0.7;}
        #cboxLoadedContent {background: transparent !important;}
