html, body {
    padding: 0;
    margin: 0;
}

body {
    font-size: 16px;
    background-color: #FBFBFB;
}

header {
    background: url("/img/header.jpg") no-repeat center top #ffffff;
    height: 570px;
    width: 100%;
}

.centered {
    width: 1000px;
    margin: 0 auto;
    overflow: auto;
}

#info {
    background-color: #FBFBFB;
}

#info h1 {
    border-bottom: 2px solid #e0e0e0;
    color: #4e4c4d;
    font-size: 270%;
    margin: 30px 0 10px;
    padding-bottom: 18px;
    text-align: center;
}

#info p {
    color: #494949;
}

#info .bottom {
    border-top: 2px solid #e0e0e0;
    text-align: center;
    padding: 20px 0 10px;
    clear: both;
}

#cert {
    width: 100%;
    background: url("/img/cert-bg.jpg") repeat-x center top #008CD9;
    border-top: 4px solid #008CD9;
    border-bottom: 4px solid #008CD9;
}

#cert h1 {
    text-align: center;
    font-size: 250%;
    color: #FBFBFB;
    text-transform: uppercase;
    position: relative;
}

#cert h1 a {
    margin-left: 20px;
    position: absolute;
    top: -12px;
}

#cert .cert-box {
    display: none;
    margin: 20px 0;
    overflow: auto;
}

#cert .cert-item {
    float: left;
    text-align: center;
    width: 320px;
    margin-right: 20px;
    color: #fefefe;
}

#cert .cert-item:nth-child(3n) {
    margin-right: 0;
}

#cert .cert-item p {
    color: #fefefe;
    text-transform: uppercase;
    font-size: 70%;
}

/* gallery */

#gallery {
    height: 575px;
    position: relative;
}

.jcarousel-wrapper {
    margin: 0 auto;
    position: relative;
    width: 775px;
}

.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    opacity: 0;
    background: url(/img/header.jpg) no-repeat center top transparent;
}

#slider-bg-1 {opacity: 1;}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 515px;
    margin-top: 30px;
}

/** Carousel **/

.jcarousel {
    position: relative;
    overflow: hidden;
    width: 775px;
    height: 515px;
}

.jcarousel ul {
    width: 20000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jcarousel li {
    float: left;
}

/** Carousel Controls **/

.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;
    top: 200px;
    width: 55px;
    height: 115px;
}

.jcarousel-control-prev {
    left: -1px;
}

.jcarousel-control-next {
    right: -1px;
}

.jcarousel-control-prev:hover span,
.jcarousel-control-next:hover span {
    display: block;
}

.jcarousel-control-prev.inactive,
.jcarousel-control-next.inactive {
    opacity: .3;
    cursor: default;
}
       
        
/* Addresses */

#addresses {
    background-color: #3A3A3A;
}

#addresses h1 {
    color: #FBFBFB;
    text-transform: uppercase;
    font-size: 270%;
    text-align: center;
    margin-top: 15px;
}

#addresses .centered {
    background: url("/img/city.png") no-repeat center bottom #3A3A3A;
}

#addresses .cities {
    width: 880px;
    overflow: auto;
    margin: 60px auto 50px;
}

#addresses .cities .city {
    float: left;
    overflow: auto;
    margin: 0 5px;
    padding-top: 10px;
}

#addresses .cities .city:nth-child(2n) {
    padding-top: 70px;
    background: url("/img/address-line.png") no-repeat center top transparent;
}

#addresses .cities .city:nth-child(3),
#addresses .cities .city:nth-child(6) {
    padding-bottom: 70px;
    background: url("/img/address-line.png") no-repeat center bottom transparent;
}


#addresses .cities .city a {
    text-transform: uppercase;
    font-size: 140%;
    color: #CACACA;
    text-decoration: none;
}

#addresses .cities .city a:hover {
    color: #ffffff;
}

#addresses .cities .city a.active {
    text-decoration: underline;
}

#addresses .map {
    width: 100%;
    height: 450px;
    border-bottom: 6px solid #3A3A3A;
}

.map-item {
    position: relative;
    z-index: 10;
    margin-top: 30px;
}

.map-item-info {
    width: 150px;
    text-align: left; 
    float:left;
    margin-right: 10px;
}

.map-item-info p {
    color: #373737;
    margin: 5px 0;
}

.map-item-address,
.map-item-phone {
    color: #BCBCBC;
    background: url("/img/map-address.png") no-repeat left bottom transparent;
    padding: 20px 0 0 50px;
    font-size: 90%;
}

.map-item-phone {
    background-image: url("/img/map-phone.png");
}

.map-item-image {
    max-width: 240px;
}

/*
    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:visible;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#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; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/* 
    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; opacity: 0.9; filter: alpha(opacity = 90);}
*/
#colorbox{outline:0;}
    #cboxContent{margin-top:32px; overflow:visible; background:#000;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{background:#000; padding:1px;}
        #cboxLoadingGraphic{background:url(/img/load.gif) no-repeat center center;}
        #cboxLoadingOverlay{background:#000;}
        #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
        #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 */
        #cboxClose,#cboxNext,#cboxPrevious {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(/web/20180527084741im_/http://kalugaaqua.ru/img/colorbox-controls.png) no-repeat 0 0;}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxPrevious{background: url("/img/arrrow-left.png") no-repeat center center; left: -85px; top: 35%;height: 115px;width: 72px;}
        #cboxPrevious:hover{opacity: 0.85;}
        #cboxNext{background: rgba(0, 0, 0, 0) url("/img/arrow-right.png") no-repeat scroll center center;height: 115px;right: -85px;top: 35%;width: 72px;}
        #cboxNext:hover{opacity: 0.7;}
        #cboxClose{background-position:-50px 0px; right:0;}
        #cboxClose:hover{opacity: 0.85;}
        .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
        .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}


/* footer */

footer {
    height: 80px;
    background-color: #FBFBFB;
}

footer .copyright {
    text-align: center;
    text-transform: uppercase;
    font-size: 80%;
    color: #4e4c4d;
    padding: 25px 0;
    margin-top: 40px;
    background: url("/img/footer-line.png") no-repeat center top transparent;
}

.reports {
  border: 1px solid #717171;
  border-radius: 4px;
  color: #565656;
  margin-top: 10px;
  text-transform: none;
  padding: 4px;
  text-decoration: none;
}

.reports:hover {
  color: #acacac;
  border-color: #acacac;
}

