/*Development: Valentin Gorbatenko*/
/*E-mail: v.gorbatenko@mail.ru*/
/*Phone: +38 (066) 178-56-44*/
/*Site: http://braindis.net/*/

/*Main style*/
html body {
    font-family: 'Ubuntu', sans-serif;
    font-weight: normal;
    font-style: normal;
}

h1 {
    font-family: 'Lora', sans-serif;
    font-weight: bold;
    font-size: 36px;
    color: #000;
    line-height: 1.7;
    margin-top: 150px;
}

.modal-body {
    padding: 2rem;
}

.modal-title {
    font-family: 'Lora', sans-serif;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 23px;
    margin-top: 15px;
}

button.close {
    position: absolute;
    top: 20px;
    right: 20px;
}

input[type="text"], textarea {
    color: #666;
    border: 1px solid #ccc;
    padding: 0px 25px 3px 25px;
    height: 48px;
    border-radius: 5px;
}

label {
    margin-left: 25px;
}

textarea.form-control {
    border-radius: 5px;
    padding: 15px 25px;
}

.contain_button_call_me {
    margin-top: 15px;
}

.button_call_me {
    border: none;
    background-color: #0096bb;
    color: #fff;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 25px 13px;
    cursor: pointer;
    width: 100%;
    box-shadow: -8px 8px 14px 0px rgba(0,0,0,0.37);
    transition: ease-in 300ms;
}

.button_call_me:hover{
    background-color: #007596;
    box-shadow: -4px 4px 7px 0px rgba(0,0,0,0.52);
    transition: ease-in 300ms;
}

a.button_get_consultation,
button.button_get_consultation {
    border: none;
    background-color: #fff;
    color: #0096bb;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 25px 13px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: -8px 8px 14px 0px rgba(0,0,0,0.37);
    transition: ease-in 300ms;
}

a.button_get_consultation:hover,
button.button_get_consultation:hover {
    background-color: #d5e2de;
    box-shadow: -4px 4px 7px 0px rgba(0,0,0,0.52);
}

/*END Main style*/

/*S1*/
.s1 {
    background-image: url(../img/bg.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    -webkit-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 100%;
    min-height: 650px;
}

.contain_phone {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: 150px;
}

.phone {
    width: 195px;
    display: flex;
    justify-content: space-between;
}

.phone a {
    font-family: 'Lora', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #000;
    line-height: 1.5;
    text-decoration: none;
}

.contain_main_slogan {
    width: 100%;
    margin-top: 51px;
    background-color: rgba(0, 150, 187, 0.8);;
    height: 100%;
    min-height: 199px;
    padding: 30px;
}

.main_slogan {
    text-align: center;
    font-family: 'Lora', sans-serif;
    font-size: 40px;
    color: #fff;
    line-height: 1.4;
}

.contain_button_get_consultation {
    display: flex;
    justify-content: center;
    margin-top: 27px;
}

/*END S1*/

/*S2*/
.s2 {
    background-color: #eff2f3;
    padding: 0 15px 60px;
}

.contain_advantages {
    display: flex;
    flex-wrap: wrap;
}

.advantages {
    position: relative;
    background-color: white;
    padding: 60px 55px 45px;
    width: 33.3333%;
}

.advantages_number {
    position: absolute;
    top: -34px;
    left: calc(50% - 34px);
    background-color: #0096bb;
    color: #fff;
    font-family: 'Lora', sans-serif;
    font-size: 28px;
    line-height: 1;
    width: 67px;
    height: 67px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    border-radius: 67px;
}

.advantages_header {
    text-align: center;
    font-family: 'Lora', sans-serif;
    color: #222029;
    font-size: 18px;
    text-transform: uppercase;
    min-height: 75px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #222029;
}

.advantages_inform {
    font-size: 12px;
}

/*END S2*/

/*S3*/
.contain_service {
    display: flex;
    flex-wrap: wrap;
}

h2.section_head {
    margin-top: 40px;
    margin-bottom: 35px;
    font-family: 'Lora', sans-serif;
    font-size: 40px;
    text-align: center;
}

.service_head {
    width: 25%;
    background-color: #0dbce3;
    margin-bottom: 50px;
    position: relative;
}

.service_name {
    width: 100%;
    min-width: 240px;
    height: auto;
    min-height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Lora', sans-serif;
    font-size: 28px;
    color: #fff;
    text-align: center;
    padding: 30px;
}

.service_icon {
    position: absolute;
    bottom: 190px;
    left: calc(50% - 50px);
}

.service_img.img_hammer {
    background-image: url(../img/hammer_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    min-width: 240px;
    height: auto;
    min-height: 240px;
}

.service_img.img_family {
    background-image: url(../img/family_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    min-width: 240px;
    height: auto;
    min-height: 240px;
}

.service_img.img_work {
    background-image: url(../img/work_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    min-width: 240px;
    height: auto;
    min-height: 240px;
}

.service_img.img_criminal {
    background-image: url(../img/criminal_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    min-width: 240px;
    height: auto;
    min-height: 240px;
}

.service_info {
    width: 75%;
    height: 100%;
    min-height: 480px;
    background-color: #eff2f3;
    padding: 30px 20px 20px 0;
}

.advantages_inf {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    border: 1px solid #eff2f3;
}

.advantages_head {
    margin-top: 40px;
    margin-bottom: 25px;
    font-family: 'Lora', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    color: #222029;

}

.advantages_ico {
    position: absolute;
    top: 183px;
}

.advantages_ico img {
    width: 66px;
    height: auto;
    border: 3px solid #fff;
    border-radius: 66px;
}

.advantages_text {
    padding: 0 25px 35px;
    text-align: center;
}

/*END S3*/

/*S4*/
.s4 {
    background-color: #eff2f3;
    padding: 0 15px 60px;
}

.stages_img {
    background-image: url(../img/el.png);
    background-repeat: no-repeat;
    background-position: center center;
    min-width: 255px;
    min-height: 255px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stages_head {
    font-family: 'Lora', sans-serif;
    color: #fff;
}

.stages_text {
    font-size: 14px;
    text-align: center;
}

.after_stages_text {
    margin-top: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

/*END S4*/

/*S5*/
.reviews {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #eff2f3;
    margin-bottom: 35px;
}

.reviews_comma {
    position: absolute;
    top: 250px;
    background-color: #0dbce3;
    width: 66px;
    height: 66px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 66px;
    border: 2px solid #fff;
}

.reviews_head {
    margin-top: 40px;
    margin-bottom: 25px;
    font-family: 'Lora', sans-serif;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    color: #222029;
}

.reviews_text {
    padding: 0 20px 30px;
    font-size: 14px;
    min-height: 195px;
}

.reviews_text.v2 {
    min-height: 305px;
}

/*END S5*/

/*S6*/

.s6 .after_section_head,
.s6 .contain_forms_page {
    background-color: #0dbce3;
}

.s6 h2.section_head {
    margin: 0;
    background-color: #0dbce3;
    padding: 40px 0 15px;
    color: #fff;
}

.s6 .after_section_head {
    background-color: #0dbce3;
    text-align: center;
    color: #fff;
    font-size: 18px;
}

.contain_forms_page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 45px;
}

.contain_forms_page form {
    width: 100%;
    max-width: 455px;
    margin: 0 15px 50px;
}

.contain_forms_page form label {
    color: #fff;
}

/*END S6*/

/*S7*/
.s7 {
    padding: 50px 0;
}

.bottom_position {
    font-family: 'Lora', sans-serif;
    font-weight: bold;
    font-size: 30px;
    color: #000;
    line-height: 1.7;
}

.location {
    display: flex;
}

.location_img {
    margin-right: 15px;
}

.location_info {
    font-family: 'Lora', sans-serif;
    font-size: 18px;
}

.location_img img {
    width: 60px;
}

.contain_bottom_phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/*EMD S7*/

.copyright {
    padding: 10px;
    font-size: 12px;
    text-align: center;
}

/*Modal*/

.modal_contain_cover {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
    transition: ease-in 300ms;
    display: none;
}

.modal_contain_cover.open {
    display: block;
}

.modal_contain_cover .modal-body {
    width: 100%;
    max-width: 500px;
    /*height: 100%;*/
    max-height: 430px;
    position: absolute;
    top: calc(50% - 215px);
    left: calc(50% - 250px);
    background-color: #fff;
    border-radius: 5px;
}

.modal_overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 19;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.modal_overlay.open {
    display: block;
}

.modal_contain {
    padding: 100px;
    background-color: #fff;
    width: 640px;
    height: 480px;
    position: absolute;
    top: calc(50% - 240px);
    left: calc(50% - 320px);
}

.closed img {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: auto;
    cursor: pointer;
}

.modal_head {
    font-size: 60px;
    font-weight: 900;
    text-align: center;
}

.modal_text {
    font-size: 26px;
    text-align: center;
    margin-top: 70px;
}

.maps iframe {
    width: 100%;
    height: 450px;
}

.close {
    opacity: 1;
    transition: ease-in 300ms;
}

.closed:hover {
    opacity: 0.75;
    transition: ease-in 300ms;
}

.close img {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: auto;
    cursor: pointer;
}