#co-shadow { 
    background:rgba(0, 0, 0, .1); 
    position:fixed; 
    top:0; 
    bottom:0; 
    left:0; 
    right:0; 
    z-index:1000; 
}
#co-loader { 
    background:url("modalbox_loader.gif") no-repeat scroll 50% 50% rgba(255, 255, 255, 0.6);
    position:absolute; 
    z-index:1010; 
    top:26px; 
    left:6px; 
    bottom:5px; 
    right:5px;
}
#co-modal-box { 
    position:fixed; 
    z-index:1005; 
    background:#d7dff0;
    box-shadow:1px 1px 4px black;
    -moz-box-shadow:1px 1px 4px black; 
    -webkit-box-shadow:1px 1px 4px black; 
    border-radius:6px; 
    -moz-border-radius:6px; 
    -webkit-border-radius:6px; 
    text-align:left; 
    padding:0;
    margin-top:-100px; 
    margin-left:-170px;
    width:340px; 
    top:50%; 
    left:50%;
}
#co-modal-box #modal-header { 
    background:linear-gradient(#bbbbcc, #a2accf, #a2accf, #d7dff0) repeat scroll 0 0 rgba(0, 0, 0, 0); 
    padding:0; 
    position:relative;
    border:0 none;
    border-radius:4px 4px 0 0; 
    -moz-border-radius:4px 4px 0 0; 
    -webkit-border-radius:4px 4px 0 0;
    -webkit-touch-callout: none; 
    -webkit-user-select: none; 
    -khtml-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none;
}
#co-modal-box #modal-header, #co-modal-box #modal-header * { 
    cursor:default; 
}
#co-modal-box #modal-title { 
    width:auto; 
    margin-left:15px; 
    background:none; 
    padding:0; 
    color:white; 
    font-weight:normal; 
    font-size:14px; 
    font-family:Verdana; 
    overflow:hidden;
    line-height:24px;
    text-transform:uppercase;
    text-shadow:0 0 1px black;
}
#co-modal-box #close-dialog-button { 
    background:url('btn_modalbox-close.png') no-repeat -1px -1px transparent; 
    border-radius:16px;
    cursor:pointer; 
    width:16px;
    height:16px;
    right:7px;
    top:4px;
    position:absolute;
}
#co-modal-box #close-dialog-button:hover { 
    background:url('btn_modalbox-close.png') no-repeat -19px -1px transparent; 
}
#co-modal-box #modal-content { 
    overflow-x:hidden; 
    overflow-y:auto; 
    position:relative;
    border-left:1px solid silver; 
    border-top:1px solid silver; 
    margin:1px 5px 5px; 
    background:white;
    -moz-border-radius:0 0 6px 6px; 
    -webkit-border-radius:0 0 6px 6px; 
    border-radius:0 0 6px 6px;
    padding:0 10px;
}
#co-modal-box .handle {
    position:absolute;
    z-index:1010;
}
#co-modal-box #handle-n { top:-3px; left:-3px; right:-3px; height:8px; cursor:n-resize; }
#co-modal-box #handle-e { top:-3px; bottom:-3px; right:-3px; width:8px; cursor:e-resize; }
#co-modal-box #handle-s { bottom:-3px; left:-3px; right:-3px; height:8px; cursor:s-resize; }
#co-modal-box #handle-w { top:-3px; left:-3px; bottom:-3px; width:8px; cursor:w-resize; }
#co-modal-box #handle-ne { top:-3px; right:-3px; width:8px; height:8px; cursor:ne-resize; z-index:1011; }
#co-modal-box #handle-se { bottom:-3px; right:-3px; width:8px; height:8px; cursor:se-resize; z-index:1011; }
#co-modal-box #handle-sw { bottom:-3px; left:-3px; width:8px; height:8px; cursor:sw-resize; z-index:1011; }
#co-modal-box #handle-nw { top:-3px; left:-3px; width:8px; height:8px; cursor:nw-resize; z-index:1011; }

#co-modal-box.resizing * {
    -webkit-touch-callout:none !important; 
    -webkit-user-select:none !important; 
    -khtml-user-select:none !important; 
    -moz-user-select:none !important; 
    -ms-user-select:none !important; 
    user-select:none !important; 
}
#co-modal-box .faded#modal-content { 
    visibility:hidden; 
}

#co-modal-box.floating-out { 
    opacity:.95; 
}
#co-modal-box.floating-out #modal-content { 
    padding:0; 
    border-radius:6px; 
}
#co-modal-box.floating-out #close-dialog-button { 
    display:none;
}
#co-modal-box.no-header {
    box-shadow:1px 1px 2px silver;
}
#co-modal-box.no-header #co-loader {
    top:6px;
}
#co-modal-box.no-border #co-loader {
    left:0;
    right:0;
    top:25px;
    bottom:0;
}
#co-modal-box.no-header.no-border #co-loader {
    left:0;
    right:0;
    top:0;
    bottom:0;
    border-radius:10px;
}
#co-modal-box.no-header #modal-header {
    display:none;
}
#co-modal-box.no-header #modal-body {
    margin:0;
}
#co-modal-box.no-header #modal-content {
    border-radius:6px;
    margin:5px;
    border-top:0 none;
}
#co-modal-box.no-border #modal-content {
    margin:0;
    padding:0;
    border-radius: 0 0 6px 6px;
    border-left:0;
}
#co-modal-box.no-border.no-header #modal-content {
    padding:0; 
    border-radius:6px;
}
#co-modal-box.no-border .handle, #co-modal-box.no-resize .handle {
    display:none;
}
#co-modal-box.moving, #co-modal-box.moving #modal-content { 
    opacity:.9; 
}
#co-modal-box .page-loader { 
    padding:25px 5px 0;
    margin:5px 5px 0;
    height:113px;
    text-align:center;
    background-color:#f8f8ff;
}
#co-modal-box .page-loader h3 { 
    font-size:16px;
    font-weight:bold;
}
#co-modal-box .page-loader p { 
    font-size:10px;
}
#co-modal-box .modal_content_empty { 
    display:block; 
    font-weight:bold; 
    text-align:center;
}
#co-modal-box.fullsize { 
    position:absolute;
    box-shadow:none; 
    border-radius:0; 
    margin:0 !important; 
    left:0 !important;
    right:0 !important;
    width:100% !important;
}
#co-modal-box.fullsize #modal-content { 
    min-height:200px;
    /**height:auto !important; */
    border:0 none;
    margin:0;
    padding:0;
    border-radius:0; 
}
#co-modal-box.fullsize #modal-header { 
    display:none;
}
#co-modal-box.fullsize .handle {
    display:none !important;
}
.hloader { 
    background:url("modalbox_hloader.gif") no-repeat scroll 0 0 transparent;
    position:absolute; 
    height:12px;
    bottom:5px;
    width:160px;
    margin-left:-80px;
    left:50%;
}
.pageloadertop { 
    top:5px;
}
.pageloaderbottom { 
    bottom:5px;
}
.pageloadertext {
    margin-top: 40px;
    text-align:center;
}
.pageloadertext h3 {
    text-transform:uppercase;
    font-size:16px;
}

#co-modal-box.wsmall .col2-set .col-1,
#co-modal-box.wsmall .col2-set .col-2 {
    width:100%;
    float:none;
    padding:20px;
}

.hoverlink { cursor:default; }
.hoverbox { background:white; border:1px solid gray; box-shadow:1px 1px 3px gray; padding:8px 12px; width:300px; position:fixed; }
.hoverbox h3 { text-align:center; }


/* Imageviewer */
#modalbox-preload-images {
    position:fixed;
    left:100%;
}
#co-modal-box .imageviewer #image {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	border-right: 1px solid #fff;
}
#co-modal-box .imageoverlay {
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	bottom: 15px;
	z-index: 2;
	cursor: default;
	border: 1px solid #ccc;
}
#co-modal-box .imagepanel {
	top: 15px;
	left: 15px;
	right: 15px;
	bottom: 15px;
	z-index: 1;
	overflow: hidden;
    position:absolute;
}
#co-modal-box .imageviewer .navigation {
	top: 29px;
	left: 29px;
	transition: all 0.3s ease;
	background: none transparent;
	border: none;
	padding: 0;
	height: auto;
	opacity: 1;
    position:absolute;
	z-index: 5;
}
#co-modal-box .imageviewer .imageinfo {
	top: 29px;
	left: 100px;
	padding: 0 10px;
	font-weight: 400;
    position:absolute;
	border-radius: 10px;
	color: #464f90;
	font-size: 20px;
	line-height: 25px;
	z-index: 5;
    cursor:default;
    background-color:rgba(255,255,255,.8);
}
#co-modal-box .moving, #co-modal-box .moving * {
    cursor:move !important;
}
#co-modal-box .imageviewer button {
	cursor: pointer;
	height: 25px;
	width: 25px;
	color: white;
	padding: 0;
	transition: all 0.3s ease;
	background-image: none;
	background-color: #333;
	opacity: 0.7;
	border: none;
	position: relative;
    border-radius:12px;
}
#co-modal-box .imageviewer .movebuttons {
	width: 83px;
	height: 83px;
	position: absolute;
	bottom: 29px;
	right: 29px;
	z-index: 5;
}
#co-modal-box .imageviewer .movebuttons button {
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	padding: 0;
}
.wrapper #co-modal-box .imageviewer .zoombuttons {
	position: absolute;
	bottom: 130px;
	right: 34px;
	z-index: 5;
}
.wrapper #co-modal-box .imageviewer .zoombuttons button {
    width:35px;
}
#co-modal-box .imageviewer button:hover {
	opacity: 1;
}
#co-modal-box .imageviewer button#button-close {
    position:absolute;
    top:4px;
    right:4px;
    font-size:25px;
    border-radius:25px;
    z-index:10;
}
#co-modal-box .imageviewer button#button-previous,
#co-modal-box .imageviewer button#button-next {
	margin: 0 0 0 1px;
    font-size:23px;
}
#co-modal-box .imageviewer .movebuttons #button-reset { 
    top: 27px; 
    left: 27px; 
    border-radius:0;
}
#co-modal-box .imageviewer .movebuttons #button-moveup { 
    left: 27px; 
    border-radius:12px 12px 0 0; 
}
#co-modal-box .imageviewer .movebuttons #button-moveleft { 
    top: 27px; 
    border-radius:12px 0 0 12px; 
}
#co-modal-box .imageviewer .movebuttons #button-movedown { 
    top: 54px; 
    left: 27px; 
    border-radius:0 0 12px 12px; 
}
#co-modal-box .imageviewer .movebuttons #button-moveright { 
    top: 27px; 
    left: auto; 
    right: 4px; 
    border-radius:0 12px 12px 0; 
}

/* Edits */

#co-modal-box {
	width: 100%;
	max-width: 800px;
}

#co-modal-box.fullsize #modal-header {
	display: block;
}
















