/*
    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;}
.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:#000;}
#colorbox{

			xpadding: 20px;
			background: #111;
			xborder: 1px solid red;
			-webkit-box-shadow: 0px 0px 0px 5px rgba(255, 255, 255, 0.28);
			-moz-box-shadow:    0px 0px 0px 5px rgba(255, 255, 255, 0.28);
			box-shadow:         0px 0px 0px 5px rgba(255, 255, 255, 0.28);
			
			-moz-border-radius:9px;
		    -webkit-border-radius:9px;
			-khtml-border-radius: 9px;
		    border-radius: 9px;
			
}
  #cboxWrapper{
			xborder: 1px solid green;

  }
    #cboxContent{
			xmargin-top:20px;
			xmargin-right: 20px;
			padding: 4px;
			xborder: 1px solid blue;
	}

        .cboxIframe{background:#111;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{
			xborder:5px solid ; 
			background:#111;
			xborder: 1px solid white;


		}


        /*#cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}*/
		#cboxTitle{
			position:absolute; 
			top:4px; right:4px; 
			
			background: #111;

			width:17px; height:18px; 
			text-indent:-9999px;
		}

        #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
        #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
        #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(../img/ui/colorbox/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
        #cboxPrevious:hover{background-position:bottom left;}
        #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(../img/ui/colorbox/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
        #cboxNext:hover{background-position:bottom right;}
        x#cboxLoadingOverlay{background:#000;}
        x#cboxLoadingGraphic{background:url(../img/ui/colorbox/loading.gif) no-repeat center center;}
        #cboxClose{
			xdisplay: none;
			display:block;
			position:absolute; 
			top:5px; right:6px; 
			
			xbackground:url(../img/ui/colorbox/controls.png) no-repeat top center; 
			xbackground: rgba(255,255,255,0.28) url(../img/ui/close-7x7-b.png) no-repeat center center; 
			xbackground: rgba(255,255,255,0.28) no-repeat center center;
			background: #535353 no-repeat center center;

			width:13px; height:13px; 
			text-indent:-9999px;

			-moz-border-radius:9px;
		    -webkit-border-radius:9px;
			-khtml-border-radius: 9px;
		    border-radius: 9px;

			x-moz-border-radius:3px;
		    x-webkit-border-radius:3px;
			x-khtml-border-radius: 3px;
		    xborder-radius: 3px;

			xz-index: 222;

			xbox-shadow: 0 0 0px 5px #111;
			xbox-shadow: 0 0 1px 1px rgba(0,0,0,0.5);

		}
        #cboxClose:hover{
			xbackground-position:bottom center;
			xbackground: rgba(255,255,255,0.5) url(../img/ui/close-7x7-b.png) no-repeat center center;
			background: #7f7f7f url(../img/ui/close-7x7-b.png) no-repeat center center;
			-webkit-transition: all .1s ease-in-out;
			-moz-transition: all .1s ease-in-out;
			-o-transition: all .1s ease-in-out;
			-ms-transition: all .1s ease-in-out;	
			transition: all .1s ease-in-out;
		}