@import "admin.css";

/* Основные классы для страницы */
html, body { font-family: 'Open Sans', sans-serif; background: #122552 url('../img/body.jpg') top center no-repeat; background-size: cover; font-size: 15px; color: #fff; }
dl, li, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, body, html, blockquote, input, textarea, select, button, a { margin: 0; padding: 0; outline: none; }
img { border: 0; vertical-align: top; } a { color: #1276b3; } a:hover { text-decoration: none; }

/* Дополнительные классы */
.reset { margin: 0; padding: 0; list-style: none; }
/*.indexNews { float: left; width: 50%; padding: 50px 50px 50px 25px; box-sizing: border-box; }*/
.indexNews { float: left; width: 100%; padding: 50px 25px 50px 25px; box-sizing: border-box; }
.pageWrapper { width: 100%; max-width: 1400px; min-width: 530px; padding: 0 15px; box-sizing: border-box; margin: 0 auto; }

.pageUpper { display: none; width: 32px; text-decoration: none; height: 32px; opacity: 0.5; text-align: center; background: url('../img/up.png') no-repeat; position: fixed; right: 40px; bottom: 50px; z-index: 100; }
.pageUpper b { font-size: 10px; font-weight: 300; color: #fff; text-transform: uppercase; line-height: 10px; position: relative; top: 30px; }
.pageUpper:hover { opacity: 1; }

.pageHeader { position: relative; text-align: center; min-width: 470px; }
.pageHeader .pageHeader--logotype { display: inline-block; padding: 60px 0 120px 0; margin-right: 30px; }
.pageHeader .pageHeader--slogo { position: absolute; bottom: 100px; left: 0; width: 100%;  }
.pageHeader .pageHeader--slogo .slogo--text { display: inline-block; max-width: 600px; font-size: 14px; font-weight: bold; text-transform: uppercase; opacity: 0.7; }
.pageHeader .pageHeader--logotype .pageHeader--logo { display: block; width: 400px; height: 185px; background: url('../img/logoBig.png') no-repeat; background-size: 100%; }
.pageHeader .pageHeader--burger { display: none; text-transform: uppercase; line-height: 52px; position: relative; border-top: 1px solid rgba(255,255,255,0.2); border-bottom: 1px solid rgba(255,255,255,0.2); height: 52px; box-shadow: 0 1px 10px rgba(0,0,0,0.1); min-width: 530px; }
.pageHeader .pageHeader--menu { position: relative; border-top: 1px solid rgba(255,255,255,0.2); border-bottom: 1px solid rgba(255,255,255,0.2); height: 52px; box-shadow: 0 1px 10px rgba(0,0,0,0.1); min-width: 530px; }
.pageHeader .pageHeader--menu ul li { display: inline-block; height: 62px; position: relative; top: -5px; border-radius: 4px; font-weight: 300; font-size: 15px; transition: all .2s; }
.pageHeader .pageHeader--menu ul li ul { display: none; position: absolute; top: 62px; left: 0; width: 320px; background: rgba(18,37,82,0.9); z-index: 200; }
.pageHeader .pageHeader--menu ul li ul li { width: 100%; display: block; height: 52px; border-bottom: 1px solid rgba(255,255,255,0.2); top: 0; text-align: left; }
.pageHeader .pageHeader--menu ul li ul li:last-child { border-bottom: none; }
.pageHeader .pageHeader--menu ul li ul li a { line-height: 52px; }
.pageHeader .pageHeader--menu ul li:hover { background: #1a2c59; box-shadow: 0 1px 5px rgba(26,44,89,0.5); }
.pageHeader .pageHeader--menu ul li:hover > ul { display: block; }
.pageHeader .pageHeader--menu ul li a { display: block; line-height: 62px; color: rgba(255,255,255,0.8); text-transform: uppercase; text-decoration: none; padding: 0 30px; }
.pageHeader .pageBurger { position: relative; top: 8px; width: 32px; display: inline-block; margin-right: 20px; cursor: pointer; }
.pageHeader .pageBurger .burgerElement { display: block; height: 3px; background: #fff; width: 100%; margin-bottom: 3px; }
.pageHeader .pageLanguages { float: right; margin-top: 160px; }
.pageHeader .pageLanguages a { display: inline-block; transition: all .2s; width: 32px; margin: 0 2px; height: 32px; font-size: 11px; text-transform: uppercase; border-radius: 100%; background: rgba(0,0,0,0.3); text-align: center; color: rgba(255,255,255,0.7); text-decoration: none; line-height: 32px; }
.pageHeader .pageLanguages a.active { background: rgba(0,0,0,0.6); color: #fff; }
.pageHeader .pageLanguages a:hover { background: rgba(0,0,0,0.6); color: #fff; }
.pageHeader .pageSocials { float: left; margin-top: 160px; }
.pageHeader .pageSocials a { display: inline-block; transition: all .2s; margin: 0 2px; text-decoration: none; opacity: 0.5; }
.pageHeader .pageSocials a:hover { opacity: 1; }
.pageHeader .pageSocials a img {}

.pageCarousel { margin-top: 30px; position: relative; min-width: 530px; }
.pageCarousel .pageSlider { direction: ltr; }

.pagePriority { position: relative; text-align: center; margin-top: 30px; min-width: 530px; }
.pagePriority .pagePriority--title { text-transform: uppercase; font-size: 24px; color: rgba(255,255,255,0.8); font-weight: 300; padding-bottom: 30px; }
.pagePriority .pagePriority--image { position: relative; }
.pagePriority .pagePriority--image img { width: 100%; }
.pagePriority .pagePriority--banner .pagePriority--banner_img { float: right; width: 30%; }
.pagePriority .pagePriority--banner .pagePriority--banner_img img { max-width: 100%; }

.pageInformation { position: relative; padding: 10px 0; display: flow-root; min-width: 530px; }
.pageInformation .pageInformation--block { float: left; width: 100%; padding: 50px 25px 50px 50px; box-sizing: border-box; }
.pageInformation .pageInformation--block .pageInformation--image { padding-bottom: 20px; text-align: center;}
/*.pageInformation .pageInformation--block .pageInformation--image img { width: 100%; }*/
.pageInformation .pageInformation--block .pageInformation--present { color: #fff; line-height: 21px; }
.pageInformation .pageInformation--block .pageInformation--present .pageInformation--text { color: #fff; line-height: 21px; columns: 400px 2; column-gap: 20px;}
.pageInformation .pageInformation--block .pageInformation--present .pageInformation--text > p { margin-top: 0; }

.pageFooter { position: relative; text-align: center; min-width: 530px; clear: both; }
.pageFooter .pageFooter--menu { position: relative; border-top: 1px solid rgba(255,255,255,0.2); border-bottom: 1px solid rgba(255,255,255,0.2); height: 52px; box-shadow: 0 1px 10px rgba(0,0,0,0.1); }
.pageFooter .pageFooter--menu ul li { display: inline-block; height: 62px; position: relative; top: -5px; border-radius: 4px; font-weight: 300; font-size: 15px; transition: all .2s; }
.pageFooter .pageFooter--menu ul li:hover { background: #1a2c59; box-shadow: 0 1px 5px rgba(26,44,89,0.5); }
.pageFooter .pageFooter--menu ul li a { display: block; line-height: 62px; color: rgba(255,255,255,0.8); text-transform: uppercase; text-decoration: none; padding: 0 30px; }
.pageFooter .pageFooter--contacts { position: relative; z-index: 1; }
/* .pageFooter .pageFooter--contacts::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26,44,89,0.7); z-index: 2; } */
/* .pageFooter .pageFooter--contacts .pageFooter--about { position: absolute; top: 60%; left: 20%; color: #fff; z-index: 3; text-align: left; margin: -40px 0 0 150px; } */
.pageFooter .pageFooter--contacts .pageFooter--about .iconFooter { padding-top: 10px;}
.pageFooter .pageFooter--contacts .pageFooter--about .iconFooter span{ vertical-align: middle;}
.pageFooter .pageFooter--contacts .pageFooter--about .iconFooter a{ color: #fff; text-decoration: none;}
.pageFooter .pageFooter--contacts .pageFooter--about { margin: auto; display: inline-block; padding: 30px;}


.pageDefault { padding: 40px 0; clear: both; min-height: 300px; }
.pageDefault .defaultRight { margin-left: 0; }
.pageDefault .defaultRight img { max-width: 100%; height: auto; }
.pageDefault .defaultRight h1 { font-size: 30px; font-weight: 300; padding-bottom: 20px; text-transform: uppercase; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.pageLast { padding: 30px 0; display: flow-root; width: 100%; border-top: 2px solid rgba(255,255,255,0.1); }

.pageCategories { border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.1); margin-bottom: 30px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); display: none; }
.pageCategories:empty { box-shadow: none; border: none; margin-bottom: 5px; }
.pageCategories a { display: block; padding: 15px 20px; color: #fff; text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,0.1); font-weight: 600; transition: all .2s; }
.pageCategories a:hover { background: #f9f9f9; }
.pageCategories a.active { background: #0075d3; color: #fff; }

.mainNews { position: relative; width: calc(100% + 30px); }
.mainNews.index { position: relative; width: 100%; }
.mainNews h3 { font-size: 18px; font-weight: 400; padding-bottom: 20px; }
/*.mainNews.index h3 { font-size: 28px; padding-bottom: 20px; }*/
.mainNews.index h3 { font-size: 28px; padding-bottom: 20px; text-align: center; }
/*.mainNews.index a { width: 100%; min-height: auto; padding: 15px 0; border: none; border-bottom: 1px solid rgba(255,255,255,0.2); }*/
.mainNews.index a { width: 23%; height: 220px; ; margin: 10px; border: none; background: rgba(255,255,255,.15); float: left;  }
.mainNews a { text-decoration: none; color: #0075d3; padding: 15px; display: block; float: left; width: 25%; box-sizing: border-box; border: 1px solid rgba(255,255,255,0.1); min-height: 147px; }
.mainNews a:hover .mainNews--title { text-decoration: underline; }
.mainNews .mainNews--title { font-weight: 700; display: block; padding-bottom: 10px; color: #fff; }
.mainNews .mainNews--description { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 20px; }
.mainNews .mainNews--date { font-size: 12px; color: #999; display: block; padding-top: 10px; }
.mainNews .mainNews--image { max-height: 180px; overflow: hidden; display: block; margin-bottom: 15px; }
.mainNews .mainNews--image img { width: 100%; }
.mainNewsBorder { padding-top: 30px; margin-top: 30px; border-top: 1px solid #eee; clear: both; }

.postContainer { width: 100%; display: flow-root; }
.postElement { float: left; width: 25%; padding: 10px; box-sizing: border-box; }
.postElement .postPoster { float: left; width: 100%; height: 200px; margin-bottom: 20px; overflow: hidden; }
.postElement .postPoster img { width: 100%; }
.postElement .postPresent { position: relative; clear: both; max-height: 167px; overflow: hidden; }
.postElement .postPresent h3 { font-weight: 600; padding-bottom: 10px; font-size: 14px; min-height: 76px; }
.postElement .postPresent h3 a { color: #fff; text-decoration: none; }
.postElement .postPresent span { display: block; color: #999; padding-bottom: 10px; }

.postContainer { position: relative; }
.postContainer h2 { font-size: 20px; font-weight: 600; color: #fff; padding-bottom: 20px; }
.postContainer .postContainer--present { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.postContainer .postContainer--poster { text-align: center; float: left; margin: 0 20px 20px 0; }
.postContainer .postContainer--poster img { max-width: 100%; }
.postContainer .postContainer--text { line-height: 18px; }
.postContainer .postContainer--text img { max-width: 100%; }
.postContainer .postContainer--data { position: relative; }
.postContainer .postContainer--data span { display: inline-block; margin-right: 30px; color: rgba(255,255,255,0.6); }

.pagePaginator { direction: ltr; padding: 25px 0; }
.pagePaginator ul li { float: left; font-size: 13px; background: rgba(255,255,255,0.3); margin-right: 5px; }
.pagePaginator ul li:hover { background: #0075d3; }
.pagePaginator ul li a { display: block; padding: 8px 14px; color: #fff; text-decoration: none; }
.pagePaginator ul li a:hover { text-decoration: none; color: #fff; }
.pagePaginator ul li.current { background: #0075d3; }
.pagePaginator ul li.current a { color: #fff; }

#jLoading { text-align: center; }
#jLoading .loaderLogo { display: inline-block; }
#jpreOverlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 700; background: #122552 url('../img/body.jpg') top center no-repeat; }
#jpreSlide { position: absolute; top: 45%; left: 50%; margin: -90px 0 0 -180px; width: 360px; height: 180px }
#jLoading { position: absolute; top: 45%; left: 50%; margin: -90px 0 0 -180px; width: 360px; height: 180px; z-index: 699; overflow: hidden }
#jpreLoader { position: absolute; width: 320px; left: 20px; height: 5px; top: 170px; overflow: hidden; z-index: 697; background: rgba(255,255,255,0.5); border-radius: 40px; }
#jprePercentage { position: absolute; display: none; width: 70px; height: 16px; text-align: center; left: 50%; top: 158px; margin: 0 0 0 -35px; font-size: 0.875em; line-height: 1; color: #d4d9de; z-index: 701 }
#jpreBar { position: absolute; top: 0; left: 50%; width: 0; height: 5px; background: #4b70c8; border-radius: 40px; }

@media screen and (max-width: 1120px){
    .postElement { width: 33.3333%; }
}
@media screen and (max-width: 940px){
    .pageHeader .pageHeader--menu ul li a { padding: 0 10px; }
    .pageFooter .pageFooter--menu { display: none; }
}
@media screen and (max-width: 810px){
    .postElement { width: 50%; }
    .postContainer .postContainer--poster { float: none; margin: 0; };
}
@media screen and (max-width: 730px){
    .pageHeader .pageHeader--burger { display: block; }
    .pageHeader .pageHeader--menu { display: none; position: absolute; top: 364px; left: 0; width: 100%; border: none; margin: 0; padding: 0; box-sizing: border-box; height: auto; background: rgba(0,0,0,0.8); z-index: 500; }
    .pageHeader .pageHeader--menu ul li { width: 100%; margin: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0; top: 0; height: auto; }
    .pageHeader .pageHeader--menu ul li a { display: block; padding: 15px 15px; line-height: normal; }
    .pageHeader .pageHeader--menu ul li:hover > ul { display: none; }
    .pageHeader .pageHeader--logotype .pageHeader--logo { width: 240px; height: 126px; }
    .pageHeader .pageLanguages { float: right; margin-top: 50px; }
    .pageHeader .pageSocials { float: left; margin-top: 50px; }
    .postElement .postPoster { height: 150px; }
}
@media screen and (max-width: 580px){
    .pageCategories { display: block; }
    .pagePriority .pagePriority--title { font-size: 16px; }
    .postElement { width: 100%;  }
    .postElement .postPoster { float: left; width: 150px; height: auto; }
    .postElement .postPoster img { width: 100%; }
    .postElement .postPresent { position: relative; clear: none; max-height: none; margin-left: 170px; }
    .postElement .postPresent h3 { font-weight: 600; padding-bottom: 10px; font-size: 14px; min-height: inherit; }
    .mainNews .mainNews--image { max-height: 130px; }
    .pageInformation .pageInformation--block { float: left; width: 100%; padding: 20px; }
    .indexNews { float: left; width: 100%; padding: 20px; box-sizing: border-box; }
    .mainNews { width: 100%; }
    .mainNews a { width: 50%; }
    .pageFooter .pageFooter--contacts .pageFooter--about { position: absolute; top: 10%; left: 0; margin: 0; padding: 30px; box-sizing: border-box; }
    .mainNews a { height: 330px; }
    .pagePriority { display: none; }
}

/**
 * Update by boreek <to@boris03.ru>
 */
.grid-wrapper {
    text-align: center;
    margin: auto;
    font-size: 0;
    padding: 10px;
}

.grid__item {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    position: relative;
}
.grid__text-wrapper {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: 10px;
    font-size: 14px;
    color: #fff;
    background: rgba(0,0,0,.7);
    text-align: left;
    padding: 30px;
}
.grid__item:hover .grid__text-wrapper {
    opacity: 1;
}
.grid__item img {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}
.grid__text-label {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-color: rgba(26, 39, 51, .7);
}
.grid__text-label_top {
    color: #dee0e2;
    font-size: 11px;
    padding: 0;
    margin: 0;
    text-align: left;
    padding-left: 22px;
    padding-top: 16px;
}
.grid__text-label_bottom {
    padding-bottom: 16px;
    color: #dee0e2;
    font-size: 19px;
    margin: 0;
    text-align: left;
    padding-left: 22px;
    margin-top: -3px;
    font-weight: bold;
}

.building-status {
    padding: 0px 16px;
    border-radius: 5px;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 9px;
    font-weight: bold;
    width: 125px;
    text-align: center;
    line-height: 30px;
    margin: 13px;    
}

.building-status.status-green {
    background-color: green;
}

.building-status.status-orange {
    background-color: orange;
}

.building-status.status-red {
    background-color: red;
}

.row:after,
.row:before {
    display: table;
    content: " ";
    clear: both;
}

.col-md-6 {
    width: 50%;
    float: left;
}
.pageHeader .pageHeader--menu ul li ul.bigmenu {
    width: 465px;
}
#mainProjects {
    margin: 20px;
    width: calc(100% - 40px);
    margin-top: 0;
}
@media (max-width:540px) {
    .pageWrapper,
    .pageHeader, 
    .pageHeader .pageHeader--burger,
    .pageFooter {
        min-width: 100%;
    } 

    #mainProjects {
        height: 300px !important;
    }

    .pageHeader .pageHeader--logotype {
        margin: 0;
    }
    .pageHeader .pageLanguages, .pageHeader .pageSocials {
        position: absolute;
        margin: 0;
        top: 60px;
    }
    .pageHeader .pageSocials { left: 10px; }
    .pageHeader .pageLanguages { right: 10px; }

    .pageHeader .pageHeader--menu {
        min-width: 100%;
    }
    .pageFooter .pageFooter--contacts .pageFooter--about {
        position: relative;
    }

    .pageFooter .pageFooter--contacts::after {
        content: initial;
    }

    .grid__item:hover .grid__text-wrapper {
        opacity: 0 !important;
    }

    .col-md-6 {
        width: 100%;
    }
    .grid__text-label {
        display: none;
    }
}