html {
    height: 100%;
}
body {
    height: 100%;
    background-color: #f9fbee;
/*    background-image: url('../mediafiles/files/road_10_2-23.jpg');*/
/*    background-image: url('../mediafiles/files/road_10_2023.jpg');*/
    /*background-repeat: repeat;
    background-position: top center;
    background-attachment: fixed;
    background-size: cover;*/
}
.fon_foto {
    background-image: url('../mediafiles/files/road_10_3-23.jpg');
    background-repeat: repeat;
    background-position: top center;
    background-attachment: fixed;
    background-size: cover;
/*    height: 1200px;*/

}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
    overflow: auto;
}
.popup {
    top: 20%;
    left: 0;
    right: 0;       
    font-size: 14px;
    margin: auto;
    width: 85%;
    min-width: 320px;
    max-width: 850px;
    position: absolute;
    padding: 15px 20px;
    border: 1px solid #383838;
    background: #fefefe;
    z-index: 1000;
    border-radius: 4px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    animation: fade .6s;
}
.close_popup {
    top: 4px;
    right: 4px;
    width: 52px;
    height: 32px;
    position: absolute;
    border: none;
    border-top-right-radius: 4px;
    background-color: rgba(0, 131, 119, 0.9);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;
 
}
.close_popup:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    font-family:  Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}
/* кнопка закрытия при наведении */
.close_popup:hover {
    background-color: rgba(252, 20, 0, 0.8);
}
footer {
/*    background: #008B8B*/
/*    background: #4aabab*/
    background: #198f81;
}

@media (min-width: 1200px) {
    .container {
        width: 1024px;
    }
}

@media (max-width: 768px) {
    .contacts {
        flex-direction: column;
        align-items: center;
        width: 80vw
    }
    .top__line-contacts:first-child {
        display: none;
    }
}

@media (min-width: 992px)
.col-md-6 {
    width: 33%;
}
#whole {
    position: relative;
    min-height: 100%;
}

.icon-bar {
    background-color: black;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
/*    overflow-x: hidden;*/
}
.apply-button {
    white-space: normal!important;
}
.apply-block {
    width: 200px;
}
.apply-block a {
    text-decoration: none!important;
}
.top-section {

    padding-bottom: 0px;
}
.contact-section {
    display: none;
    padding: 50px 0 100px 0;
}
.top-section a, .top-section a:hover {
    color: white
}
.middle-section  {
    padding: 100px 0 50px 0;
}
.info-section {
    padding: 50px 0 100px 0;
    background: #fff;
}

.middle-section .caption {
    padding-bottom: 50px;
}

.thumb-bottom-button {
   /* position: absolute; */
    bottom: 15px;
}

.wrapper-loadMore {
    text-align: center;
}

.loadMore {
    background: white;
    width: 200px;
}

.white-text {
    color: #fff;
}
.black-text {
    color: #000;
}
.input-box {
    margin-bottom: 20px;
}
.btn-primary {
    margin-top:15px;
}
.textarea-box {
    text-align: left;
    text-transform: none;
    padding: 9px;
    min-height: 250px;
    padding-left: 15px;
    display: inline-block;
    border-radius: 4px;
    background: rgba(255,255,255, 0.95);
}
.contacts-info-table {
    padding-top: 30px;
    width: 400px;
    margin: 0 auto;
}
.credentials {
    padding: 25px 0;
}
.post-preview {
    padding: 0 0 20px 0;
}
.form-padding {
    padding: 35px 0 70px 0;
}
.site-page {
    background-color: white;
    padding-left: 10px;
    padding-right: 10px; 
    padding-top: 10px
}
#contact-form label, #contact-form .help-block-error {
    color: black;
}
#contacts .container {
    position: absolute;
    z-index: 999;
    right: 0px;
    width: 600px;
    bottom: 84px;
    padding: 0;
    background: #fff;

}
.contact-toggle {
    cursor:pointer;
    background: #000;
    padding: 10px 0;
}
.contact-toggled {
    display:none;
    padding: 10px 10px 20px 10px;
}
.thumb-bottom-button {
    position: absolute;
    bottom: 15px;
}

@media (min-width: 768px) {
    .thumbnail {
        margin: 4px 5px;
    }
}

@media (min-width: 992px) {
  .thumbnail {
    margin: 4px 10px;
    }
}

/*@media (min-width: 1200px) {
  .thumbnail {
    margin: 4px 15px;
    }
}*/

@media (min-width: 1600px) {
  .thumbnail {
    margin: 4px 15px;
    }
}

.row-eq-height {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
 .thumbnail {
    border: none;
 }

}
#carousel-example-generic{
    height: 200px;
    padding-top: 50px;
}
@media (max-width: 750px) {
    
#carousel-example-generic{
    padding-top: 0px;
}

}

.row {
    margin: 0px!important;
    display: flex;
    justify-content: space-between; 
    flex-wrap: wrap;
}


.marginBottom-0 {
	margin-bottom: 0;
}

.dropdown-submenu {
	position: relative;
}

.dropdown-submenu>.dropdown-menu {
	top: 0;
	left: 100%;
	margin-top: -6px;
	margin-left: -1px;
	border-radius: 0 6px 6px 6px;
}

.dropdown-submenu>a:after {
	display: block;
	content: " ";
	float: right;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
	border-width: 5px 0 5px 5px;
	border-left-color: #cccccc;
	margin-top: 5px;
	margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
	border-left-color: #555;
}

.dropdown-submenu.pull-left {
	float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
	left: -100%;
	margin-left: 10px;
	border-radius: 6px 0 6px 6px;
}

.contacts_wrapper {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.contacts_item {
	display: flex;
	flex-direction: column;
	align-items: center;
}
