/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
@font-face {
  font-family: 'FontAwesome';
  src: url('../font/fontawesome-webfont.eot?v=3.0.1');
  src: url('../font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'),
    url('../font/fontawesome-webfont.woff?v=3.0.1') format('woff'),
    url('../font/fontawesome-webfont.ttf?v=3.0.1') format('truetype');
  font-weight: normal;
  font-style: normal;
}
#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; -webkit-overflow-scrolling: touch;}
#cboxLoadedContent p{padding:0 20px;}
#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; max-width:none;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
#colorbox input.button { margin-left:10px !important;}
#colorbox table.radio td { padding-left: 10px !important;}

/*
    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:#000;}
#colorbox{outline:0;}
    #cboxTopLeft{width:0; height:0;
    }
    #cboxTopCenter{height:0;
    }
    #cboxTopRight{width:0; height:0;
    }
    #cboxBottomLeft{width:0; height:0px;
    }
    #cboxBottomCenter{height:40px; background: #09f}
    #cboxBottomRight{width:0; height:0px;
    }
    #cboxMiddleLeft{width:0;
    }
    #cboxMiddleRight{width:0;
    }
    #cboxContent{overflow:visible;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{margin-bottom:5px;}
        #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        #cboxTitle{position:absolute; bottom:-28px; left:0; text-align:center; width:100%; font-weight:normal; font-size:16px; color:#FFFFFF;}
        #cboxCurrent{position:absolute; bottom:-27px; left:58px; font-weight:normal; color:#FFFFFF;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
  font-family: 'FontAwesome';border:0; padding:0; margin:0; overflow:visible;  position:absolute; bottom:-29px; background:none; width:23px; height:23px; text-indent:0;color:#fff;}

        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxPrevious{left:5px;}
        #cboxPrevious:hover{color:#f06;}
        #cboxNext{left:32px;}
        #cboxNext:hover{color:#f06;}
        #cboxClose{right:5px;}
        #cboxClose:hover{color:#f06;}
		#cboxClose:before {content: "\f05c";font-size:24px;height:40px;display:block;}
		#cboxPrevious:before {content: "\f060";font-size:24px;height:40px;display:block;}
		#cboxNext:before {content: "\f061";font-size:24px;height:40px;display:block;}

        .cboxSlideshow_on #cboxSlideshow{right:27px;}
        .cboxSlideshow_on #cboxSlideshow:hover{color:#f06;}
        .cboxSlideshow_off #cboxSlideshow{right:27px;}
        .cboxSlideshow_off #cboxSlideshow:hover{color:#f06;}
		
@media screen and (max-width:590px) {
#cboxTitle{ background-color:#09f;padding:6px 0 0;top:0;height:30px;}
.cboxPhoto{width:437px;margin-top:36px;}
}

@media screen and (max-width:460px) {
.cboxPhoto{width:287px;}
}