/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxWrapper{z-index:1001;}

#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0;  overflow:visible;}
#cboxOverlay{position:fixed; width:100%; height:100%; z-index:999;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative; border:1px !important; border-color:#666 !important; }
#cboxLoadedContent{overflow:auto; }
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:1px !important; border-color:#666 !important; display:block;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}

/* 
    User Style:

        #cboxTitle{ display: none !important; position:relative; bottom:-5px; left:0;font-size:12px;}


    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:#FAFAFA; }
#colorbox{}
    #cboxContent{margin-top:10px; margin-bottom:20px;  margin-left:0px; overflow:visible;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{background:; padding:0px;  border:1px !important; border-color:#666 !important;}
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center; z-index:1009;}
        #cboxLoadingOverlay{background:#FFF;}
        #cboxTitle{ position:relative; bottom:-5px; left:0;font-size:12px;}
        #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
       

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }


#cboxPrevious {z-index:99 ;text-indent:-9999px; width:100px;  height:100px; position:fixed; top:40%; left:40px; background:url(images/previous.png) no-repeat ; opacity:0.8;}

#cboxNext{z-index:99 text-indent:-9999px; width: 100px;  height: 100px; position:fixed; top:40%; right:0px; background:url(images/next.png) no-repeat ;opacity:0.8;}


#cboxClose{z-index:99 text-indent:-9999px; width: 100px;  height: 100px; position:fixed; top:30px; left:30px; background:url(images/close.png) no-repeat ;opacity:0.4;}





 @media only screen and (min-width: 220px) and (max-width: 960px) {


#cboxPrevious {z-index:99 ;text-indent:-9999px; width:50%;  height:90%; position:fixed; top:100px; left:0px; background:url(images/previous.png) no-repeat ; opacity:0;}

#cboxNext{z-index:99 text-indent:-9999px; width: 50%;  height: 90%; position:fixed; top:100px; right:0px; background:url(images/next.png) no-repeat ;opacity:0;}


#cboxClose{z-index:99 text-indent:-9999px; width: 100px;  height: 100px; position:fixed; top:30px; left:30px; background:url(images/close.png) no-repeat ;opacity:1;}


     }




 @media only screen and (min-width: 220px) and (max-width: 767px) {



#cboxPrevious {z-index:99 ;text-indent:-9999px; width:50%;  height:90%; position:fixed; top:100px; left:0px; background:url(images/previous.png) no-repeat ; opacity:0;}

#cboxNext{z-index:99 text-indent:-9999px; width: 50%;  height: 90%; position:fixed; top:100px; right:0px; background:url(images/next.png) no-repeat ;opacity:0;}


#cboxClose{z-index:99 text-indent:-9999px; width: 100px;  height: 100px; position:fixed; top:10px; left:10px; background:url(images/close.png) no-repeat ;opacity:1;}


     }



