@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&subset=cyrillic');

body {
    font-family: 'Roboto', sans-serif;
    color: #595343;
}

button, a {
    outline: 0 !important;
}

input:focus {
    border: none;
}

.color {
    color: #ed9821;
}

.center {
    text-align: center;
}

.light {
    font-weight: 300;
}

.medium {
    font-weight: 500;
}

.bold {
    font-weight: 700;
}

.black {
    font-weight: 900;    
}

button[type="submit"] {
    padding: 0 20px;
    border-radius: 7px;
    background: linear-gradient(to top, #62b00f,  #76c126, #62b00f);
    height: 45px;
    border: none;
    transition: 0.5s;
    color: #fff;
    font-size: 16px;
}

button[type="submit"]:hover,
button[type="submit"]:focus {
    color: #fff;
    box-shadow: 3px 3px 10px #63b10f;
    transition: 0.5s;
}

/* Display 1 */

.d1 {
    background-image: url(../img/bg1.jpg);
    -webkit-background-size: cover;
    background-size: cover;
}

.d1 .navbar {
    height: 100px;
    padding-top: 15px;
}

.d1 .navbar-default {
    background: linear-gradient(to top, rgba(232, 231, 227, 0), rgba(232, 231, 227, 0.1), rgba(232, 231, 227, 0.2), rgba(232, 231, 227, 0.3), rgba(232, 231, 227, 0.4), rgba(232, 231, 227, 0.5), rgba(232, 231, 227, 0.6), rgba(232, 231, 227, 0.7), rgba(232, 231, 227, 0.8), rgba(232, 231, 227, 0.9), rgba(232, 231, 227, 1), #e8e7e3);
    border: none;
}

.d1 .header {
    margin-bottom: 100px;
}

.d1 .companyname {
    font-size: 26px;
    margin-left: -55px;
}

.d1 .col-sm-8 {
    padding-top: 15px;
    text-align: center;
}

.d1 .navigation {
    display: inline-block;
    margin-right: -0.25em;
}

.d1 .navigation ul {
    margin-top: -5px;
}

.d1 .navigation ul li {
    font-size: 16px;
    list-style: none;
    float: left;
    position: relative; 
}

.d1 .navigation ul li a {
    color: #595343;
    text-align: center;
    margin: 0 15px;
    padding: 0 3px;
    text-decoration: none;
    display: block;
}

.d1 .navigation ul li a:hover,
.d1 .navigation ul li a:focus {
    border-bottom: 2px solid #ed9821;
}

.d1 .phone {
    text-align: right;
    font-size: 18px;
}

.d1 .callback {
    padding: 0 30px;
    height: 30px;
    margin-top: -5px;
    font-size: 12px;
    background: linear-gradient(to top, #63b10f,  #76c126, #63b10f);
    border-radius: 7px;
    transition: 0.5s;
    color: #fff;
}

.d1 .callback:hover,
.d1 .callback:focus {
    color: #fff;
    box-shadow: 3px 2px 5px #63b10f;
    transition: 0.5s;
}

.d1 h2 {
    margin-bottom: 15px;
}

.d1 .content {
    margin: 70px 0;
}

.d1 .home {
    padding: 0 70px;
}

.d1 form {
    margin: 0 30px;
    border: 1.5px solid #ed9821;
    padding: 30px 40px;
    background-color: #e8e7e3;
}

.form-header {
    margin: 0 30px;
    border: 1.5px solid #ed9821;
    padding: 30px 40px;
    background-color: #e8e7e3;
}

.d1 form .text {
    font-size: 20px;
}

.d1 form .text1 {
    padding-bottom: 15px;
}

.d1 form .text2 {
    font-size: 12px;
}

.d1 form a {
    color: #595343;
    border-bottom: 1px solid #595343;
}

.d1 form a:hover,
.d1 form a:focus {
    text-decoration: none;
    border: none;
}

.d1 .input-group {
    padding-bottom: 10px;
}

.d1 form input {
    height: 45px;
    border: 1px solid #333;
}

.d1 form button[type="submit"] {
    margin-top: 5px;
}

/* Display 2 */

.d2 {
    background-image: url(../img/bg2.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    padding: 50px 0;
}

.d2 .content {
    margin-bottom: 30px;
}

.d2 .border {
    margin: 0 30px;
    border: 1px solid #ed9821;
    padding: 20px 30px;
}

.d2 p {
    margin-top: 15px;
    font-size: 20px;
}

/* Display 3 */

.d3 {
    background-image: url(../img/bg3.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    padding: 50px 0;
}

.d3 .content {
    margin-top: 50px;
}

.d3 .border {
    margin: 0 10px;
    border: 1px solid #ed9821;
    padding: 30px;
    background-color: #f3f3f3;
    
}

.d3 .line {
    margin-bottom: 30px;
}

.d3 p {
    font-size: 20px;
}

.d3 .border li {
    list-style: none;
    margin-left: -30px;
    padding-bottom: 15px;
}

.d3 button {
    margin-top: 30px;
}

/* Display 4 */

.d4 {
    background-image: url(../img/bg4.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
    padding: 50px 0;
}

.d4 .content {
    border: 3px solid #ed9821;
    padding: 30px 0 50px;   
}

.d4 h2 {
    margin-bottom: 30px;
}

.d4 form input {
    height: 45px;
    border: 1px solid #333;
}

.d4 p {
    font-size: 20px;
    margin-top: 25px;
}

/* Display 5 */

.d5 {
    background-image: url(../img/bg5.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    padding: 50px 0;
}

.d5 .content {
    margin-top: 20px;
}

.d5 .arrow-left {
    margin-top: 120px;
}

.d5 .carousel-control.left {
    background-image: none;
}

.d5 .carousel-control.right {
    background-image: none;
}

.d5 .border {
    border: 1px solid #ed9821;
    padding: 30px;
    background-color: #f3f3f3;
}

.d5 h4 {
    margin: 25px 0;
}

.d5 p {
    font-size: 16px;
}

.d5 ul {
    margin-left: -25px;
}

.d5 ul li {
    color: #ed9821;
}

.d5 ul li span {
    color: #595343;
}

/* Display 6 */

.d6 {
    background-image: url(../img/bg6.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    background-position: right;
    padding: 50px 0;
}

.d6 .content {
    margin-top: 100px;
}

.d6 .arrow-left {
    margin-top: 80px;
}

.d6 .carousel-control.left {
    background-image: none;
}

.d6 .carousel-control.right {
    background-image: none;
}

.d6 .border {
    border: 1px solid #ed9821;
    padding: 30px;
    background-color: #f3f3f3;
}

.d6 h4 {
    margin-bottom: 25px;
}

.dopd6 {
    padding: 15px 0;
}

/* Display 7 */

.d7 {
    background-image: url(../img/bg7.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    padding: 50px 0;
}

.d7 .content {
    margin-top: 50px;
    margin-bottom: 50px;
}

.d7 .border {
    margin: 0 40px;
    border: 1px solid #ed9821;
    padding: 30px;
    background-color: #f3f3f3;
    height: 100%;
}

.d7 .after::after {
    position: absolute;
    margin-top: -170px;
    margin-left: 340px;
    content: url(../img/arrow-right.png);
}

.d7 p {
    margin-top: 15px;
}

.d7 .row-flex {
    display: flex;
    flex-flow: row wrap;
}

/* Display 8 */

.d8 {
    background-image: url(../img/bg8.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    padding: 50px 0;
}

.d8 .content {
    margin-top: 50px;
}

.d8 .panel {
    border-radius: 0;
    color: #333;
    border: none;
    box-shadow: none;
    background-color: transparent;
}

.d8 .panel-heading {
    padding: 15px;
    border: 1px solid #ed9821;
    border-radius: 0;
    background-color: #f3f3f3;
}

.d8 .panel-title {
    color: #262626;
}

.d8 .panel a {
    text-decoration: none;
}

.d8 .panel-heading h4 {
    font-size: 22px;
}

.d8 .panel-body {
    box-shadow: none;
    border: none;
    font-size: 16px;
}

/* Map */

.map .content {
    border: 1px solid #ed9821;
    background-color: #fff;
    padding: 20px 15px;
    margin-top: -400px;
}

.map p {
    font-size: 16px;
}

/* Footer */

footer {
    padding: 25px 0;
}

footer .companyname {
    font-size: 26px;
    margin-left: -55px;
}

footer .phone {
    text-align: right;
    font-size: 18px;
}

footer .callback {
    padding: 0 30px;
    height: 30px;
    margin-top: -5px;
    font-size: 12px;
    background: linear-gradient(to top, #63b10f,  #76c126, #63b10f);
    border-radius: 7px;
    transition: 0.5s;
    color: #fff;
}

footer .callback:hover,
footer .callback:focus {
    color: #fff;
    box-shadow: 3px 2px 5px #63b10f;
    transition: 0.5s;
}

footer .politic,
footer .copyright {
    margin-top: -10px;
    margin-left: -100px;
}

footer .politic a {
    color: #595343;
}

footer .politic a:hover,
footer .politic a:focus {
    text-decoration: none;
    border-bottom: 1px solid #595343;
}
footer .mobile {
    display: none;
}

/* Dop Display */

.dopd {
    padding: 50px 0;
}


.dopd p {
    font-size: 16px;
    padding: 15px 0;
}

.dopd p a {
    color: #595343;
    text-decoration: none;
    border-bottom: 1px solid #595343;
}

.dopd p a:hover,
.dopd p a:focus {
    text-decoration: none;
    border: none;
}

/* Modal */

.modal {
	text-align: center;
}
@media screen and (min-width: 768px) { 
	.modal:before {
		display: inline-block;
		vertical-align: middle;
		content: " ";
		height: 100%;
	}
}

.modal-dialog {
	display: inline-block;
	text-align: left;
	vertical-align: middle;
}

.modal-content {
    border-radius: 0px;
    padding: 15px 15px 15px 15px;
    margin-left: -50px;
    margin-right: -50px;
}

.modal-content .text1 {
    margin-top: 15px;
    text-align: center;
    font-size: 12px;
}

.modal input {
    box-shadow: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px #333 solid;
    color: #333;
}

.modal input:focus {
    box-shadow: none;
    border-bottom: 3px #ed9821 solid;
    transition: 0.5s;
}

.modal-header {
    border-bottom: 0px;
}

.modal-border {
    border: 2px solid #ed9821;
}

.modal-title {
    text-align: center;
    margin-top: 40px;
}

.modal form input:focus::-webkit-input-placeholder {color: transparent}
.modal form input::-webkit-input-placeholder {color: #333; font-size: 14px;}

#thx {
    color: #333;
    text-align: center;
    font-weight: bold;
    font-size: 45px;
}

/* Adaptive */

@media (max-width: 1199px) {
    button[type="submit"] {
        height: 40px;
    }
    h2 {
        font-size: 24px;
    }
    h4 {
        font-size: 14px;
    }
    .d1 .companyname,
    footer .companyname {
        font-size: 24px;
        margin-left: -40px;
    }
    .d1 .phone,
    footer  .phone{
        font-size: 14px;
    }
    .d1 .callback,
    footer .callback {
        padding: 0 10px;
    }
    .d1 form {
        margin: auto;
    }
    .d1 form input {
        height: 40px;
    }
    .d2 p {
        font-size: 16px;
    }
    .d3 ul li {
        font-size: 12px;
    }
    .d4 form input {
        height: 40px;
    }
    .d4 p {
        font-size: 16px;
    }
    .d5 .content {
        margin-top: 50px;
    }
    .d6 .content {
        margin-top: 50px;
    }
    .d7 .border {
        margin: 0 20px;
        padding: 20px;
    }
    .d7 .after::after {
        margin-left: 275px;
        margin-top: -160px;
    }
    .d8 .panel-heading h4 {
        font-size: 16px;
    }
    .map p {
        font-size: 12px;
    }
    footer .politic,
    footer .copyright {
        margin-left: -80px;
    }
    #politic .modal-content {
        margin: 0;
    }
    .dopd h4 {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    button[type="submit"] {
        height: 35px;
    }
    h2 {
        font-size: 20px;
    }
    h4 {
        font-size: 12px;
    }
    .d1 .navigation ul li {
        font-size: 12px;
    }
    .d1 .navigation ul li a:hover,
    .d1 .navigation ul li a:focus {
        border-bottom: 1px solid #ed9821;
    }
    .d1 .companyname,
    footer .companyname {
        font-size: 20px;
        margin-top: 5px;
        margin-left: -20px;
    }
    .d1 .phone,
    footer  .phone{
        font-size: 11px;
    }
    .d1 .callback,
    footer .callback {
        padding: 0 5px;
        height: 25px;
        font-size: 8px;
    }
    .d1 .home {
        margin-top: 30px;
        padding: 0 20px;
    }
    .d1 form {
        padding: 25px;
    }
    .d1 form .text {
        font-size: 14px;
    }
    .d1 form .text1 {
        font-size: 10px;
    }
    .d1 form .text2 {
        font-size: 10px;
    }
    .d1 form input {
        height: 35px;
        font-size: 10px;
    }
    .d2 .border {
        margin: auto;
    }
    .d2 p {
        font-size: 14px;
    }
    .d3 .border {
        margin: auto;
        padding: 10px;
    }
    .d3 .p {
        font-size: 16px;
    }
    .d4 form input {
        height: 35px;
    }
    .d4 p {
        font-size: 12px;
    }
    .d5 h4 {
        margin-top: auto;
        margin-bottom: 10px;
    }
    .d5 p {
        font-size: 12px;
    }
    .d5 ul li {
        font-size: 12px;
    }
    .d5 .arrow-left {
        margin-top: 80px;
    }
    .d6 p {
        font-size: 12px;
    }
    .d7 .border {
        margin: auto;
    }
    .d7 br {
        display: none;
    }
    .d7 .after::after {
        content: '';
    }
    .d8 .panel-heading h4 {
        font-size: 12px;
    }
    footer .companyname {
        margin-left: -25px;
    }
    footer .politic,
    footer .copyright {
        margin-top: -10px;
        margin-left: -65px;
        font-size: 12px;
    }
    footer .politic a {
        color: #595343;
    }
    .modal-title {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    button[type="submit"] {
        height: 30px;
        font-size: 10px;
    }
    h2 {
        font-size: 16px;
    }
    h4 {
        font-size: 10px;
    }
    .d1 .content {
        margin-top: 50px;
    }
    .d1 .home {
        display: none;
    }
    .d1 form {
        margin: 0 150px;
    }
    .d7 .after::after {
        content: '';
    }
    .d1 .companyname {
        font-size: 20px;
        margin-top: 5px;
        margin-left: -80px;
    }
    .d2 .content {
        margin-bottom: 0;
    }
    .d2 .border,
    .d3 .border,
    .d7 .border {
        margin: 0 150px 15px;
    }
    .d4 .content {
        margin: 0 150px;
        padding: 25px;
    }
    .d4 br {
        display: none;
    }
    .d4 form input {
        height: 30px;
        margin-bottom: 10px;
    }
    .d4 button {
        margin-top: 15px;
    }
    .d5 .border img {
        padding: 0 150px;
        margin-bottom: 15px;
    }
    .d5 .arrow-left,
    .d6 .arrow-left{
        margin-top: 160px;
    }
    .d6 .item img {
        margin-bottom: 15px;
    }
    .d7 .content {
        margin-bottom: 0;
    }
    .d7 .row-flex {
        display: block;
    }
    .map .content {
        margin: 15px 0;
    }
    footer .companyname {
        margin-left: -80px;
    }
    footer .politic,
    footer .copyright {
        margin-left: -125px;
    }
    .modal-content {
        margin: 0;
    }
    .modal-title {
        font-size: 14px;
    }
    .modal-content .text1 br {
        display: none;
    }
    .dopd h4 {
        margin-top: 15px;
    }
}

@media (max-width: 668px) {
    .d1 .companyname {
        margin-left: -70px;
    }
    footer .companyname {
        margin-left: -70px;
    }
    footer .politic,
    footer .copyright {
        margin-left: -115px;
        font-size: 10px;
    }
}

@media (max-width: 569px) {
    .d1 .header {
        margin-bottom: 70px;
    }
    .d1 .companyname {
        margin-left: -55px;
    }
    .d1 .content {
        margin: 30px 0;
    }
    .d1 form {
        margin: 0 100px;
    }
    .d2 .border,
    .d3 .border,
    .d7 .border {
        margin: 0 100px 15px;
    }
    .d4 .content {
        margin: 0 100px;
    }
    .d5 .arrow-left,
    .d6 .arrow-left{
        margin-top: 130px;
    }
    .d5 .border {
        margin: 0 15px;
    }
    footer .companyname {
        margin-left: -55px;
    }
    footer .politic,
    footer .copyright {
        margin-left: -95px;
    }
}

@media (max-width: 415px) {
    .d1 .companyname {
        margin-left: -30px;
    }
    .d1 br {
        display: none;
    }
    .d1 form {
        margin: auto;
    }
    .d2 .border,
    .d3 .border,
    .d7 .border {
        margin: 0 0 15px;
    }
    .d3 .content {
        margin-top: 30px;
    }
    .d4 .content {
        margin: auto;
    }
    .d5 .border img {
        padding: 0;
        margin-bottom: 15px;
    }
    footer .content {
        display: none;
    }
    footer .mobile {
        display: block;
    }
    footer .companyname {
        margin-left: -30px;
    }
    footer .politic,
    footer .copyright {
        margin-left: -65px;
    }
}

@media (max-width: 376px) {
    footer .companyname {
        margin-left: -25px;
    }
    footer .politic,
    footer .copyright {
        margin-left: -65px;
    }
}

@media (max-width: 320px) {
    .d1 .companyname {
        font-size: 16px;
        margin-top: 3px;
        margin-left: -25px;
    }
    .d6 .item {
        margin: 0 15px;
    }
    .d5 .arrow-left {
        margin-top: 70px;
    }
    .d6 .arrow-left {
        margin-top: 100px;
    }
    footer .companyname {
        font-size: 16px;
        margin-top: 3px;
    }
    footer .politic,
    footer .copyright     {
        font-size: 8px;
        margin-left: -55px;
    }
}

.form-smeta {
    border-radius: 7px;
    margin: 10px 0;
}
.form-check-inline {
    display: inline-flex;
    align-items: center;
    padding-left: 0;
    margin-right: .75rem;
}

.form-check-inline .form-check-input {
    position: static;
    margin-top: 0;
    margin-right: .3125rem;
    margin-left: 0;
}

.form-check-label {
    margin-bottom: 0;
    font-weight: normal;
}

a.btn-form-anchor {
    padding: 0 20px!important;
    border-radius: 7px!important;
    background: linear-gradient(to top, #62b00f,  #76c126, #62b00f)!important;
    height: 45px!important;
    line-height: 45px!important;
    border: none!important;
    transition: 0.5s!important;
    color: #fff!important;
    font-size: 16px!important;
    margin-top: 5px!important;
}

a.btn-form-anchor:hover, a.btn-form-anchor:focus {
    color: #fff;
    box-shadow: 3px 5px 10px #63b10f;
    transition: 0.5s;
}
.services_ul_list_1, .services_ul_list_2 {
        padding-top: 35px;
        padding-bottom: 0;
    }

@media (max-width: 767px) {
    .navigation ul {
        display: none;
        position: absolute;
    }
    .navigation {
        position: relative;
    }
    .navigation:after {
        content: "";
        display: block;
        position: absolute;
        background-image: url('../img/ham_icon.png');
        width: 30px;
        height: 30px;
        background-size: 80%;
        background-repeat: no-repeat;
        background-position: center;
        top: -2em;
        right: 0;
        left: 0;
    }
    .navigation:hover ul {
        display: block;
        background-color: #eab466;
        padding-left: 0;
        top: 10px;
        left: -28px;
        border: 1px solid gray;
    }
    .d1 .navigation ul li {
        padding: 5px;
        font-weight: bold;
        font-size: 16px;
        float: none;
    }

    .services_ul_list_2 {
        padding-top: 0;
        padding-bottom: 0;
        margin-top: -10px;
    }
    
}

