html,
body {
    height: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 16px;
    scroll-behavior: smooth;
}
*,
*:after,
*:before { 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box; 
}
.container{
    width: 90% !important;
}

.df{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.iti{
    width: 100%;
}
.iti #phone,
#rubricatorform-phone{
    width: -moz-available;          
    width: -webkit-fill-available;
}

#region_id,
#rubric_id{
    visibility: hidden;
    height: 0px !important;
}
.wrap {
    margin: 0 auto;
    padding: 0;
}
/*______________________________________*/


.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.has-success .checkbox, 
.has-success .checkbox-inline, 
.has-success .control-label, 
.has-success .help-block, 
.has-success .radio, 
.has-success .radio-inline, 
.has-success.checkbox label, 
.has-success.checkbox-inline label, 
.has-success.radio label, 
.has-success.radio-inline label{
    color: #0178D5 !important;
}
[type="checkbox"]:checked+span:not(.lever):before{
    border-right: 2px solid #0178D5 !important;
    border-bottom: 2px solid #0178D5 !important;
}

input:not([type]):focus:not([readonly]), 
input[type=text]:not(.browser-default):focus:not([readonly]), 
input[type=password]:not(.browser-default):focus:not([readonly]), 
input[type=email]:not(.browser-default):focus:not([readonly]), 
input[type=url]:not(.browser-default):focus:not([readonly]), 
input[type=time]:not(.browser-default):focus:not([readonly]), 
input[type=date]:not(.browser-default):focus:not([readonly]), 
input[type=datetime]:not(.browser-default):focus:not([readonly]), 
input[type=datetime-local]:not(.browser-default):focus:not([readonly]),
input[type=tel]:not(.browser-default):focus:not([readonly]), 
input[type=number]:not(.browser-default):focus:not([readonly]), 
input[type=search]:not(.browser-default):focus:not([readonly]), 
textarea.materialize-textarea:focus:not([readonly]){
    border-bottom: 1px solid #0178D5 !important;
    -webkit-box-shadow: 0 1px 0 0 #0178D5 !important;
    box-shadow: 0 1px 0 0 #0178D5 !important;
}

label{
    font-size: 15px !important;
    color: #707070 !important;
    font-weight: normal !important;
}

form .btn_send{
    border: 1px solid #0178D5;
    border-radius: 30px;
    padding: 13px 0;
    width: 100%;
    max-width: 175px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: #0178D5;
}
form .btn_send:focus{
        background-color: #0178D5 !important;
}


.select-wrapper input.select-dropdown:focus{
    border-bottom: 1px solid #0178D5 !important;
}


.block_descr .descr_title{
    font-size: 18px;
}


/*____________________________________*/

.header{
    text-align: center;
    padding: 40px 0 150px;
    background: rgba(149,227,255,1);
background: -moz-linear-gradient(-45deg, rgba(149,227,255,1) 0%, rgba(1,121,213,1) 100%);
background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(149,227,255,1)), color-stop(100%, rgba(1,121,213,1)));
background: -webkit-linear-gradient(-45deg, rgba(149,227,255,1) 0%, rgba(1,121,213,1) 100%);
background: -o-linear-gradient(-45deg, rgba(149,227,255,1) 0%, rgba(1,121,213,1) 100%);
background: -ms-linear-gradient(-45deg, rgba(149,227,255,1) 0%, rgba(1,121,213,1) 100%);
background: linear-gradient(135deg, rgba(149,227,255,1) 0%, rgba(1,121,213,1) 100%);
}
.header .logo img{
    max-width: 100px;
}
.detail_page .logo img{
    margin-bottom: 30px;
}

.header h1{
    font-size: 1.5rem;
    color: #fff;
}
.header h2{
    font-size: 1.2rem;
    line-height: 30px;
    max-width: 950px;
    margin: 0 auto;
}
.detail_page.header h2{
    color: #fff;
    font-size: 1.3rem;
    line-height: 35px;
}
.section_links{
    flex-wrap: wrap;
    justify-content: center;
    margin: -70px 0 50px;
}
.section_links .item{
    background: #fff;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 33%;
    border: 1px solid #C5C5C5;
    padding: 60px 40px;
    transition: all 0.3s ease-out;
}
.section_links .item:hover{
    border: 1px solid #0178D5;
}
.section_links .item:hover .link_more{
    color: #fff;
    background: #0178D5;
}
.section_links .item h4{
    font-size: 25px;
    margin: 0 0 20px;
    text-align: center;
}
.section_links .item h4 a{
    text-decoration: none;
    color: #000;
}
.section_links .item .descript{
    margin-bottom: 25px;
    text-align: center;
    cursor: default;
}
.section_links .item .link_more{
    color: #002440;
    border: 1px solid #0178D5;
    border-radius: 30px;
    padding: 10px 0;
    width:  100%;
    max-width: 175px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease-out;
}

@media screen and (max-width: 940px){
    .section_links .item{
        width: 50%;
    }
}
@media screen and (max-width: 560px){
    .section_links .item{
        width: 100%;
    }
}

.wrapp_footer{
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.wrapp_content{
    margin: -70px 0 50px;
    background: #fff;
}

.wrapp_content .block_descr{
    border: 1px solid #C5C5C5;
    margin-bottom: 60px;
}
.block_descr .title_header{
    text-align: center;
    font-size: 18px;
    padding: 30px 20px;
}
.block_descr .list_items{
    padding: 0 70px 0;
    display: flex;
    flex-wrap: wrap;
    text-decoration: none;
}
.block_descr .list_items p{
    width: 30%;
    padding: 0 20px 20px;
    color: #707070;
}
.block_descr .list_items.gis p{
    width: 20%;
}

@media screen and (max-width: 800px){
    .block_descr .list_items p{
        width: 50%;
        padding: 0 5px 5px;
    }
    .block_descr .list_items.gis p{
        width: 25%;
    }

    .block_descr .list_items.gis{
        padding: 0 35px 0;
    }
}

@media screen and (max-width: 576px){
    .block_descr .list_items p{
        width: 100%;
    }
    .block_descr .list_items.gis p{
        width: 50%;
    }
    .block_descr .list_items{
        margin-bottom: 20px;
    }
}

.befor_form p{
    text-align: center;
    font-size: 17px;
    max-width: 950px;
    margin: 0 auto 20px;
    color: #707070;
}
.befor_form p:last-child{
    color: #0178D5;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 45px;
}

.sect_form{
    border: 1px solid #0178D5;
    padding: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.sect_form .dedail_form,
.sect_form .wrapp_form{
    width: 50%;
}

.dedail_form{
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    padding-right: 10px;
}
.dedail_form p{
    line-height: 25px;
    font-size: 17px;
    color: #707070;

}

.dedail_form p:nth-child(2){
    margin-bottom: 30px;
}

.other_cat{
    margin-bottom: 15px;
}
.other_cat a{
    padding: 3px 5px;
    background: #0178D5;
    border: 1px solid #0178D5;
    color: #fff;
    display: inline-block;
    margin: 3px 0;
    border-radius: 16px;
    transition: all .3s ease-out;
}
.other_cat a:hover{
    text-decoration: none;
    color: #000;
    background: #fff;
}
@media screen and (max-width: 900px){
    .other_cat a{
        margin: 1px;
    }
}

.feedback{
    color: #002440;
    border: 1px solid #0178D5;
    border-radius: 30px;
    padding: 13px 0;
    width: 100%;
    max-width: 175px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease-out;
}

.feedback:hover{
    color: #fff;
    background: #0178D5;
    text-decoration: none;
}

@media screen and (max-width: 768px){
    .sect_form .dedail_form, 
    .sect_form .wrapp_form{
        width: 100%;
        margin-bottom: 25px;
    }
    .sect_form{
        flex-direction: column-reverse;
        padding: 20px 5px;
    }
    form .wrapp_btn_send{
        text-align: center;
    }
}

.modal__close{
    position: absolute;
    right: 0;
    top: 3px;
    background: transparent;
    border: none;
    outline: none;
}
.modal__close:focus{
    background: transparent;
    border: none;
}
.modal_body {
    text-align: center;
}
.modal_body .logo_modal{
    width: 270px;
}
.modal_body .title{
    font-size: 25px;
}
.modal_body p{
    font-size: 17px;
}
.modal_body .send_again{
    background: transparent;
    text-decoration: underline;
    outline: none;
    color: #0178D5;
    border: none;
}