.footer {
    /*background:#2f2c2a;*/
    background-image: url("/local/templates/tgreen_21_sc/images/footer2.jpg")!important;
    padding:60px 0 20px;
    color:#dcdbdb;
    font-size:14px;
	border-top: 3px solid;
}
.footer h5{
    font-size: 40px;
    line-height: 140%;
    text-transform: uppercase;
    color: #FFFFFF;
}
.footer a, .footer a:visited {
    color:#7db921 !important;
    font-size:14px;
    font-weight:400;
}
.footer a.nav-link {
    display: block;
    padding: .25em 1em 0.25rem 0;
}
.footer a.active, 
.footer a:hover,
.footer a:active,
.footer a:focus{
    color:#ebd6b8;    
}
.footer a:hover {
    text-decoration: underline;
}

.footcompany {
    text-align: center;
    padding-top:20px;    
    border-top: 1px rgba(255,255,255,0.1) solid;
    margin-top:10px;
}
.companycontactfoot {
    text-align:right;
    width:100%;
}
@media (max-width: 991px) {
    .companycontactfoot {
        text-align:center;
        margin-bottom:30px;
    }
}
.foot-i-line {
	border-top: 1px white solid;
    padding-top:20px;
    margin-top: 11px;
}
.fbtn-panel-menu a, .fbtn-panel-menu a:visited{
    border:1px #515151 solid;
    width:35px;
    height:35px;
    opacity: 0.5;
    display:flex;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 2px;
    color:#717171;
    background-color: rgba(0,0,0,0.2);
}
.fbtn-panel-menu a i {
    color:#fff;
    font-size: 20px;
}
.fbtn-panel-menu a:not(:first-child){
    margin-left: 5px;
}
.fbtn-panel-menu a:hover, .fbtn-panel-menu a:active, .fbtn-panel-menu a:focus{    
    opacity: 1;
}
.footer .company-foot i {
    color:#a5ba84;
}
.footer .company-foot .mail{
    font-size: 40px;
    line-height: 140%;
    text-transform: uppercase;
    color: #FFFFFF!important;
    text-decoration: none;
    margin-bottom: 25px;
}
.footer .company-foot .mail:hover{
    text-decoration: underline;
}
.footer .fadress{
    font-size: 20px;
    line-height: 140%;
    color: #FFFFFF;
}
.footer .fadress.top{
    font-weight: bold;
    margin-bottom: 15px;
}
.footer .fphone{
    margin-bottom: 50px;
    text-align: right;
}
.footer .fphone a, .footer .fphone a:visited{
    font-size: 30px;
    line-height: 140%;
    color: #FFFFFF!important;
    text-decoration: none;
}
.footer .fphone a:hover,
.footer .socsety a:hover{
    text-decoration: underline;
}
.footer .address{
    margin-bottom: 35px;
}
.footer .socsety{
    text-align: end;
    margin-bottom: 20px;
}
.footer .socsety a, .footer .socsety a:visited {
    font-size: 16px;
    line-height: 140%;
    color: #FFFFFF!important;
    margin-right: 15px;
    text-decoration: none;
}
.footer .link-zakaz{
    display: flex;
    justify-content: flex-end;
}
.footer .modal-link{
    background: #E91C1C;
    border-radius: 10px;
    font-size: 22px;
    line-height: 130%;
    text-align: center;
    color: #FBFBFB;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 22px;
    cursor: pointer;
}
.footer .modal-link:hover{
    opacity: 0.9;
    transition: 0.2s;
}
.modal-overlay,
.modal-overlay-booking{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .6);
    overflow: inherit;
    z-index: 999;
    transition: .4s all;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
}
.modal-overlay.active,
.modal-overlay-booking.active{
    opacity: 1;
    visibility: inherit;
}
.modal-overlay-booking .modal__close-booking,
.modal-overlay .modal__close{
    text-align: end;
}
.modal-table{
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 20%;
    margin-top: 10%;
    background: #ffffff;
    padding: 50px;
}
.modal-overlay-booking .modal-table{
    margin: 10%;
}
.booking-items{
    justify-content: center;
}
.booking-items .col-booking{
    width: 50%;
}
@media (max-width: 768px) {
    .footer .socsety{
        text-align: start;
    }
    .footer .fphone {
		text-align: left;
	}
    .footer .fphone a{
        font-size: 23px;
    }
    .modal-table,
    .modal-overlay-booking .modal-table{
        margin: 5%;
        margin-top: 20%;
        padding: 30px;
    }
    .footer .link-zakaz{
        justify-content: center;
    }
	.flex-fpcompany {
		flex-direction: column-reverse;
		align-items: center;
	}
	.flex-fpcompany > div:nth-child(1) p {
		margin-bottom: 0;
		margin-top: 1rem;
	}
	.flex-fpcompany > div:nth-child(2) {
		align-items: center;
	}
}
@media (max-width: 650px) {
    .booking-items .col-booking{
        width: 100%;
    }
    .modal-overlay-booking{
        overflow: auto;
    }
}

