/*
    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; /*overflow:hidden;*/}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#cboxTitle{margin:0; background:#e6e5e4; line-height:30px;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}

/* 
    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:#fff;}
#colorbox{}
    #cboxTopLeft{width:14px; height:14px; background:url(../popup/controls.png) no-repeat 0 0;}
    #cboxTopCenter{height:14px; background:url(../popup/border.png) repeat-x 0 1px; text-align:left;}
    #cboxTopRight{width:14px; height:14px; background:url(../popup/controls.png) no-repeat -36px 0;}
    #cboxBottomLeft{width:14px; height:14px; background:url(../popup/controls.png) no-repeat 0 -60px;}
    #cboxBottomCenter{height:14px; background:url(../popup/border.png) repeat-x bottom left;}
    #cboxBottomRight{width:14px; height:14px; background:url(../popup/controls.png) no-repeat -36px -60px;}
    #cboxMiddleLeft{width:14px; background:url(../popup/controls.png) repeat-y -175px 0;}
    #cboxMiddleRight{width:14px; background:url(../popup/controls.png) repeat-y -211px 0;}
    #cboxContent{background:#fff; overflow:visible;}
        #cboxLoadedContent{/*margin-bottom:5px;*/}
        #cboxLoadingOverlay{background:url(../popup/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(../popup/loading.gif) no-repeat center center;}
        #cboxTitle{position:absolute; bottom:3px; left:0; text-align:center; width:100%; font-weight:bold; color:#222;}
        #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C; display:none!important;}
        
        #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(../popup/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}
		
		#cboxPrevious, #cboxNext{position:absolute; top:50%; background:url(../popup/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px; margin:-10px;}
		
		
        #cboxPrevious{left:10px; background-position: -51px -25px;}
        #cboxPrevious.hover{background-position:-51px 0px;}
        #cboxNext{right:12px; background-position:-75px -25px;}
        #cboxNext.hover{background-position:-75px 0px;}
        #cboxClose{/*right:0; background-position:-100px -25px;*/right:-20px; top:-20px; background-position:-100px -25px; *right:0px; *top:0px;}
        #cboxClose.hover{background-position:-100px 0px;}
        
        .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
        .cboxSlideshow_on #cboxSlideshow.hover{background-position:-150px 0px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
        .cboxSlideshow_off #cboxSlideshow.hover{background-position:-125px 0px;}
		
		.popup_wrapper{
			*width:390px; *overflow:hidden;}
			
		#emailFriend{width:600px;  /*background:url(../images/email-friend-popupbg.png) no-repeat; padding-top:18px;*/margin:0 auto;}
		#emailFriend .email_form_wrapper{ /*padding:0 15px; border-left:1px solid #ddd; border-right:1px solid #ddd;*/}
		#emailFriend .email_form_bottom{ /*background:url(../images/email-friend-popupbg.png) no-repeat bottom right;*/ height:18px;}
		#emailFriend .input, #emailFriend .form .textarea{ /* background:url(../images/input.png) no-repeat;*/ width:100%; height:30px; padding:6px 4px}
		#emailFriend .form .textarea{height:60px; /* background:url(../images/textarea.png) no-repeat; */ padding:0 4px;border: 1px solid #b6b6b6;}
		#emailFriend .form{color:#2a2a2a; font-size:12px; float:left; width:100%}
		#emailFriend .form p {margin:8px 0; clear:both;}
		#emailFriend .form label {padding:3px 0; float:left}
		#emailFriend .form input[type="text"], #emailFriend .form textarea{ width:100%; background:none; border:none;*border:0; color:#000000; font-size:12px; font-family:Arial, Helvetica, sans-serif;height:20px; line-height:20px}
		#emailFriend .form textarea{height:60px; resize:none;}
		#emailFriend .form input[type="password"]{ width:100%; background:none; border:none;*border:0; color:#808080; font-size:12px; font-family:Arial, Helvetica, sans-serif;height:20px; line-height:20px}
		#emailFriend .form .btn_login{margin:10px 10px 0 0;}
		
		@media (max-width:767px){
			.email_form_wrapper div, #emailFriend .input, #emailFriend .form .textarea, #emailFriend .form input[type="text"], #emailFriend .form textarea{width:100%;}
			#cboxBottomCenter, #cboxBottomLeft, cboxBottomRight, #cboxMiddleLeft, #cboxMiddleRight, #cboxTopLeft, #cboxBottomRight, #cboxTopCenter, #cboxTopRight{background:none;}
			#cboxClose{right:18px; top:10px;}
			
			}
			
		@media (max-width:360px){
			#emailFriend{/*background:url("../images/email-friend-popupbg-mob.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);*/}
			#emailFriend .email_form_bottom{/*background:url("../images/email-friend-popupbg-mob.png") no-repeat scroll right bottom rgba(0, 0, 0, 0);*/}	
		}