/*!*** BEGIN Common ***/
body {
    background-image: url(/templates/kadastr/img/bg-pattern.png);
    background-color: white;
    min-width: 320px;
}
.content-lg{max-width:100%;}
input[type=text] {
}

input[type=submit], button {
}

input[type=submit]:hover, button:hover {
    background: #578abb;
}

.main {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px 10px;
}

.main:after {
    display: block;
    content: '';
    width: 0px;
    height: 0px;
    clear: both;
}

.main h1 {
    margin: 0 0 25px 0;
    line-height: 1;
}

.pagination {
    margin: 0;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.h-line {
    display: flex;
    align-items: center;
}

.h-line:after {
    content: '';
    background: #5bc0de;
    display: inline-block;
    width: 100%;
    height: 2px;
    flex: 1 1;
    margin: 0 0 0 20px;
}

.navbar {
    border-radius: 0;
}
.header-small{}
.header-small .navbar{background-color: #2c2c2c;}
.header-small .logo-img{width: 40px;}
.header-small .nav-item-child{
    padding: 15px 20px;
    line-height: 19px;
}
.header-small .logo{
    height:auto;
    line-height: initial;
    padding: 5px 0;
}
.header-small .nav-item-hover:after{

    top: -4px;

    bottom: 0;

    margin: auto;
}
.breadcrumb {
    background: white;
    border-radius: 2px;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background: #17bed2;
    border-color: #17bed2;
}

.pagination>li>a, .pagination>li>span {
    color: #17bed2;
}

.main ul {
    padding: 0;
}

.main ul li {
    margin-bottom: 8px;
}

/*!*** END Common ***/
.engineer-activities-table {
    width: 100%;
}

.engineer-activities-table tr {
}

.engineer-activities-table tr td {
    padding: 5px;
    border: 1px #5bc0de solid;
    text-align: center;
}

.engineer-activities-table tr th {
    padding: 5px;
    border: 1px #5bc0de solid;
    text-align: center;
}

/*!*** BEGIN Ajax filter ***/
.ajax-filter {
    padding: 20px 5px;
    background: #efefef;
    margin: 0 0 25px 0;
    border-radius: 5px;
}

.ajax-filter__form {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.ajax-filter__input-body {
    width: 32%;
    margin-bottom: 10px;
}

.ajax-filter__input {
    width: 100%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 100%;
    border: 1px #75a8da solid;
    border-radius: 4px;
}

.ajax-filter__buttons {
}

.ajax-filter__btn {
    padding: 10px 15px;
    border: 0;
    border-radius: 1px;
    /* box-shadow: 2px 2px 2px 0 #848484; */
    background: #17bed2;
    font-weight: 700;
    color: #fff;
}
.ajax-filter__btn.ajax-reset{margin-right:10px;}
@media all and (max-width:700px){
    .ajax-filter__input-body{
        width:49%;
    }
}
@media all and (max-width:500px){
    .ajax-filter__input-body{
        width:100%;
    }
}
/*!*** END Ajax filter ***/
/*!*** BEGIN Ajax Container ***/
.ajax-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ajax-item {
    width: 31.5%;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.ajax-item__link {
    width: 100%;
    height: 100%;
    padding: 10px;
    background: #75a8da;
    color: white;
}

.ajax-item__link:hover {
    color: white;
    background: #92c1ef;
}

/*!*** END Ajax Container ***/
/*!*** BEGIN Rating block ***/
.engineer-rating-block {
    font-weight: 700;
}

.rating {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    /* background-color: #5bc0de; */
    /* background: #5bc0de url(/templates/kadastr/img/light-wool-pattern.png); */
    color: #434650;
}

.engineer-rating {
    position: relative;
    background: #5bc0de url("/templates/kadastr/img/light-wool-pattern.png");
    font-family: sans-serif;
    border: 1px #9598a2 solid;
    margin:10px auto 0 auto;
    /* width: 223px; */
    border-radius: 4px;
    background-color: #5bc0de;
}

.rating__value {
    font-size: 45px;
    font-weight: 700;
    padding: 0 10px;
}

.rating__max {
    font-size: 45px;
    font-weight: 700;
    padding: 0 10px;
}

.engineer-rating:after, .engineer-rating:before {
    content: '';
    display: block;
    position: absolute;
    left: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    top: 0;
}

.engineer-rating:after {
    top: -20px;
    left: 0;
    right: 0;
    margin: auto;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #5bc0de rgba(0, 0, 0, 0);
    border-width: 10px;
}

.engineer-rating:before {
    top: -22px;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #676767 rgba(0, 0, 0, 0);
    border-width: 11px;
    left: 0;
    right: 0;
    margin: auto;
}

/*!*** END Rating block ***/
/*!*** BEGIN Engineer activities ***/
.engineer-activities {
    display: flex;
    justify-content: space-around;
}

.engineer-activities-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    /* width: 33.33333333%; */
}

.engineer-activities-item__icon {
    font-size: 70px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    border-radius: 50%;
    color: white;
    box-shadow: inset 0 0 0px 5px rgba(0, 0, 0, 0.15), 0 0 10px 0px rgb(134, 134, 134);
    margin: 0 0 12px 0;
}

.engineer-activities-item:nth-child(1) .engineer-activities-item__icon {
    background-color: #4CAF50;
}

.engineer-activities-item:nth-child(2) .engineer-activities-item__icon {
    background: #F44336;
}

.engineer-activities-item:nth-child(3) .engineer-activities-item__icon {
    background-color: #FF9800;
}

.engineer-activities-item:nth-child(1) .engineer-activities-item__heading {
    border-color: #419544;
}

.engineer-activities-item:nth-child(2) .engineer-activities-item__heading {
    border-color: #d0392e;
}

.engineer-activities-item:nth-child(3) .engineer-activities-item__heading {
    border-color: #d98100;
}

.engineer-activities-item__heading {
    font-size: 20px;
    font-weight: 400;
    position: relative;
    margin-bottom: 0px;
    border-bottom: 4px #ff9800 solid;
}

.engineer-activities-item__heading:after {
}

.engineer-activities-item__count {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    background: #4caf50;
    /* width: 100%; */
    text-align: center;
    /* border-top: 3px #c7c7c7 solid; */
    padding: 7px 30px 10px 30px;
    border-radius: 0 0 45px 45px;
    box-shadow: 0 -6px 0 5px rgba(0, 0, 0, 0.15) inset;
    width: 90px;
}

.engineer-activities-item:nth-child(1) .engineer-activities-item__count {
    background-color: #4CAF50;
}

.engineer-activities-item:nth-child(2) .engineer-activities-item__count {
    background: #F44336;
}

.engineer-activities-item:nth-child(3) .engineer-activities-item__count {
    background-color: #FF9800;
}

.engineer-activities-more {
    margin: 20px 0;
    transition: 0.3s;
    max-height: 40px;
    overflow: hidden;
    box-sizing: content-box;
}

.engineer-activities-more__btn {
    cursor: pointer;
    /* margin: 0 auto; */
    /* display: block; */
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
    max-width: 200px;
}

.engineer-activities-more_visible {
    max-height: 500px;
}

.engineer-activities-table-wrapper {
    overflow-y: auto;
}

.engineer-activities-table {
    min-width: 600px;
}
@media all and (max-width:770px){
    .engineer-activities-item__heading{
        text-align:center;
        font-size: 15px;
        font-weight: 700;
        line-height: 15px;
        padding: 0 0 5px 0;
    }
}
/*!*** END Engineer activities ***/
/*!*** BEGIN Certificate ***/
.certificate {
    /* background: antiquewhite; */
    border: 2px #5bc0de solid;
    border-radius: 4px;
    padding: 10px;
}

.status {
    color: #ffffff;
    font-size: 18px;
    padding: 1px 10px 2px 20px;
    background: #ffffff;
    position: relative;
    border-radius: 10px 20px 20px 10px;
    margin: 0 0 10px 0;
    display: inline-block;
    margin: 0 0 0 30px;
    color: inherit;
}

.status-ok {
    border: 1px #4caf50 solid;
}

.status-bad {
    border: 1px #f44336 solid;
}

.status-ok:before {
    color: #4caf50;
}

.status-bad:before {
    color: #f44336;
}

.status:before {
    content: '\f0a3';
    font-family: fontawesome;
    margin: 0 5px 0 0;
    font-size: 40px;
    width: 40px;
    height: 40px;
    position: absolute;
    left: -23px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    bottom: 0;
    margin: auto;
    /*text-shadow: 1px 0px 0px white;*/
}

/*!*** END Certificate ***/
/*!*** BEGIN Engineer card preview ***/
.similar-engineers {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.engineer-card-preview {
    width: 31.5%;
    margin: 0 0 20px 0;
    /* max-width: 250px; */
    display: flex;
    flex-wrap: wrap;
    border: 2px #5bc0de solid;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    transition: 0.2s;
    background: #ffffff;
}

.engineer-card-preview:hover {
    box-shadow: 0 0 8px 4px #5bc0de;
}

.engineer-card-preview__name {
    width: 100%;
    /* margin: 0 0 8px 0; */
    font-size: 18px;
    padding: 0 30px 0 0;
}

.engineer-card-preview__row {
    width: 100%;
    display: block;
}

.engineer-card-preview__status {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 6px;
    right: 6px;
    border-radius: 17px;
}

.engineer-card-preview__status:before {
    content: '\f0a3';
    font-family: fontawesome;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.engineer-card-preview__status:hover:after {
    content: attr(data-title);
    background: #ff9800;
    display: block;
    width: 200px;
    z-index: 10;
    position: absolute;
    top: 30px;
    left: -175px;
    padding: 5px;
    border-radius: 5px;
    border: 1px #7d7d7d solid;
    color: white;
    font-size: 13px;
    box-shadow: 0 0 6px 0px black;
}

.engineer-card-preview__status-ok:before {
    color: #4caf50;
}

.engineer-card-preview__status-bad:before {
    color: #f44336;
}

.engineer-card-preview__rating {
    width: 100%;
    background: #5bc0de url(/templates/kadastr/img/light-wool-pattern.png);
    border-radius: 2px;
    margin: 0 0 8px 0;
}

/*!*** END Engineer card preview ***/
/*!*** BEGIN News preview ***/
.news-section {display: flex;flex-wrap: wrap;}

.news-preview {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background: white;
    padding: 0;
    padding: 0 0 10px 0;
    box-shadow: 0 0 2px 0px #dedede;
}

.news-preview__img-container {
    margin: 0 0 10px 0;
    /* display: block; */
    width: 100%;
    overflow: hidden;
    border: 4px #fff solid;
}

.news-preview__img {
    min-width: 100%;
    min-height: 100%;
    /* border: 4px white solid; */
    box-sizing: border-box;
    width: inherit;
}

.news-preview__heading {
    font-size: 18px;
    margin: 0 0 10px 0;
    /* display: block; */
    padding: 0 10px;
}

.news-preview__text {
    margin: 0 0 10px 0;
    padding: 0 10px;
}

.news-preview__btn {
    padding: 10px;
    background: #17bed2;
    color: white;
    margin: 0 auto;
}

.news-preview__all-btn {
    margin: 20px auto 0 auto;
    display: block;
    max-width: 300px;
    padding: 10px;
    text-align: center;
}

/*!*** END News preview ***/
/*!*** BEGIN Forms ***/
.form-dark {
}

.form-dark input[type=text] {
    border: 1px #a9a9a9 solid;
    border-radius: 3px;
}

.form-dark textarea {
    border: 1px #a9a9a9 solid;
    border-radius: 3px;
    max-width: 100%;
    min-width: 100%;
    height: 90px;
    min-height: 90px;
    max-height: 90px;
}

.form-dark input[type=text]:focus, .form-dark textarea:focus {
    border-color: #17bed2;
}
.footer-form{}
.footer-form input[type=text]{width:100%;margin-bottom:6px;
    padding:8px;
    background:rgb(255, 255, 255);
    border:2px #2e7f97 solid;
}
.footer-form input[type=submit]{}
.footer-form textarea{width:100%;
    background:rgb(255, 255, 255);
    border:2px #2e7f97 solid;
    max-width:100%;
    min-width:100%;
    height:90px;
    max-height:90px;
    min-height:90px;
}
/*!*** END Forms ***/
/*!*** BEGIN Main Slider ***/
.carousel-inner>.item {
    height: 500px !important;
}

/*!*** END Main Slider ***/
/*!*** BEGIN Index page ***/
.brands {
    box-shadow: 0 0 5px 0 #afafaf;
    margin: 5px 0;
}
.promo-section{background-color:white;}
.services{
    display:flex;
    align-items: center;
    flex-wrap: wrap;
}
#carousel-example-generic img{
    max-width: initial;
    min-height: 100%;
}
/*!*** END Index page ***/
/*!*** BEGIN Secondary page ***/
html {
    min-height: 100%;
}

.secondary {
    padding: 80px 0 0 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.secondary .header {
    background: #d2d2d2;
}

body > .content-lg {
    flex-grow: 1;
}

/*!*** END Secondary page ***/
/*!*** BEGIN 404 page ***/
.error-code__heading {
    text-align: center;
    font-size: 29px;
    margin: 15px 0;
    color: #eea236;
}

.error-404__btn {
    margin: 15px auto;
    display: block;
    width: 100%;
    max-width: 250px;
}

.error-404__code {
    max-width: 100%
}

/*!*** END 404 page ***/
/*!*** BEGIN Forms ***/
.ajax-form-popup-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
}
.ajax-form-popup{
    top: 20%;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 99999;
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    margin: auto;
    padding: 30px 20px 20px 20px;
    border-radius: 4px;
    display: none;
}
.popup__close{
    width: 20px;
    height: 20px;
    position: absolute;
    right: 5px;
    top: 5px;
    background: #828282;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-family: monospace;
    color: white;
}
.popup-msg__text{
    text-align: center;
    font-size: 19px;
}
/*!*** END Forms ***/
@media (max-width: 1200px) {
    .header .nav-item-child{
        padding: 20px 8px 20px 13px;
        font-size:12px;
    }
}

@media (max-width: 990px) {
    .engineer-card-preview {
        width:48%;
    }
    .promo-section-img-right{
        display: none;
    }
    .pricing{
        padding:40px 15px;
    }
}

@media (max-width: 768px) {
    .footer-list {
        text-align:center;
    }

    .footer-list li {
        border-bottom: 4px rgba(0, 0, 0, 0.11) solid;
        margin-bottom: 0 !important;
        padding: 8px 0;
    }

    .copyright {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .copyright div {
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }


    div.pagination{width: 75%;margin: 0 auto;display: block;}
    ul.pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content:center;
    }

    ul.pagination li:nth-child(1), ul.pagination li:nth-child(2) {
        width: 50%;
    }

    ul.pagination li:nth-child(1) span, ul.pagination li:nth-child(2) span, ul.pagination li:nth-child(1) a, ul.pagination li:nth-child(2) a {
        width: 100%;
        text-align: center;
    }
    ul.pagination li:nth-child(2) span, ul.pagination li:nth-child(2) a {
        border-radius:0 5px 5px 0;
    }
    ul.pagination li:nth-last-child(1), ul.pagination li:nth-last-child(2){
        width: 50%;
    }
    ul.pagination li:nth-last-child(1) span, ul.pagination li:nth-last-child(2) span, ul.pagination li:nth-last-child(1) a, ul.pagination li:nth-last-child(2) a {
        width: 100%;
        text-align: center;
    }
    ul.pagination li:nth-last-child(2) span, ul.pagination li:nth-last-child(2) a {
        border-radius:5px 0 0 5px;
        border-right:0;
    }
    .pricing, .pricing-active{

        width: 100%;

        text-align: center;

        padding: 20px 15px;
    }
    .services .col-sm-4{

        width: 100%;

        margin: 0 auto;
    }
}
@media all and (max-width:991px){
    .secondary{padding-top:34px;}
    .main h1{margin: 0 0 10px 0;}
    .engineer-rating-block {
        background: #eee;
        padding: 10px;
    }
}
@media (max-width: 500px) {
    .engineer-card-preview {
        width:100%;
    }
    div.pagination{
        width:100%;
    }
    .content-lg {
        /* padding-left: 8px; */
        /* padding-right: 8px; */
    }
    .h-line {
        position:relative;
        margin: 0 0 20px 0;
        background: #5bc0de;
        padding: 5px;
        font-size: 21px;
        text-align: center;
        justify-content: center;
        color: #fff;
    }
    .h-line:after {
        position: absolute;
        bottom: -3px;
        left: 0;
        right: 0;
        margin: auto;

    }
}
.img-float-right {
    margin: 0 0 10px 10px;
    float: right;
    max-width: 60%;
}

.img-float-left {
    margin: 0 10px 10px 0;
    float: left;
    max-width: 60%;
}

.img-center {
    display: block;
    margin: 0 auto 10px auto;
}

@media screen and (max-width: 700px) {
    .engineer-activities-more__btn{margin:0 auto 10px auto}
    h1{font-size:26px;}
    h2{font-size:22px;}
    h3{font-size:20px;}
    h4{font-size:18px;}
    .img-float-right {
        max-width: 100%;
        margin: 0 auto 10px auto;
        display: block;
        float: none;
        height:auto;
    }

    .img-float-left {
        max-width: 100%;
        margin: 0 auto 10px auto;
        display: block;
        float: none;
        height:auto;
    }
    .img-center {
        max-width: 100%;
        margin: 0 auto 10px auto;
        display: block;
        float: none;
        height:auto;
    }
    .engineer-activities{
        flex-wrap:wrap;
        flex-direction:column;
    }
    .engineer-rating{width:100%;}
    .certificate{text-align: center;margin:0 0 10px 0;}
    .status{
        width: 160px;
        display: block;
        margin: 10px auto;
    }
    .engineer-rating:before, .engineer-rating:after{
        left: 0;
        right: 0;
        margin: auto;
    }
}
.sidebar-widget__title{
    width:100%;
    background:#17bed2;
    padding:10px;
    color:white;
    font-weight:700;
    font-size:16px;
    text-transform:uppercase;
    margin-bottom:10px;
}
.sidebar-widget{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between
}
.article-preview{
    width: 49%;
    margin-bottom: 20px;
}
.article-preview__image{
    display: block;
    margin-bottom: 10px;
}
.article-preview__img{
    max-width: 100%;
    max-height: 100%;
    width: 100%;
}
.article-preview__heading{
    margin-bottom: 10px;
    display: block;
    font-weight: 700;
    color: #484848;
}
.sidebar-widget__menu li{
    list-style: none;
    position: relative;
    padding-left: 18px;
}
.sidebar-widget__menu li:before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 9px;
    height: 2px;
    background: #17bed2;
}
@media(max-width:550px){
    .article-preview__heading{
    font-size: 12px;
    overflow:hidden;
}
}