a {
    color: #63adcc;
    transition: all 1s;
}

.success {
    margin-top: 30px;
    padding: 3em 2em;
    text-align: center;
    font-size: 25px;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #468847;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.error {
    margin-top: 30px;
    padding: 3em 2em;
    font-size: 25px;
    text-align: center;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #b94a48;
    background-color: #f2dede;
    border: 1px solid rgba(185, 74, 72, 0.3);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.elements-show {
    display: none;
}

a:hover {
    color: white;
}

.credit {
    font-size: 17px;
margin-bottom: 35px;
}

.credit a {
    color: #63adcc;
    transition: all 1s;
}

.credit a:hover {
    color: white;
}

.footer-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;

}

.footer-btn a {
    background: #D4B99C;
    border: none;
    text-shadow: none;
    font-size: 12px;
    line-height: 15px;
    color: #23527c;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.5em 4em;
    width: 290px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    margin-right: 15px;
    transition: all 1s;
}

.footer-btn a:hover {
    background: #6F798B;
    color: #D4B99C;
}

.footer-btn a:last-child {
    margin-right: 0;
}

.modal-title {
    font-size: 25px;
    text-align: center;
    color: white;
    background: #63adcc;
    margin-top: 0;
    padding: 20px;
    margin-bottom: 20px;
}

.footer-modal p {
    font-size: 15px;
    padding: 0 44px;
    color: black;
}

.footer-modal hr {
    margin: 0;
    color: #D4B99C !important;
    background: #D4B99C !important;
}

.fancybox-content {
    padding: 0;
}

.footer-modal__btn:focus {
    outline: none;
}

.footer-modal__btn {
    width: 100%;
    background: #63adcc;
    border: 1px solid #63adcc;
    text-shadow: none;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 15px;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 13px 10px 13px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    box-shadow: 0 3px 10px #63adcc;
    border-radius: 3px;
    margin-top: 20px;
    transition: all 1s;
}

.footer-modal__btn:hover {
    color: #63adcc;
    background: transparent;
    border: 1px solid #63adcc;

}

.section-block {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.title-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
}

.title-block span {
    margin-top: 10px;
}

.title-block i {
    font-size: 64px;
}

#p2 .right-image img {
    width: 100%;
    max-width: 100%;
}

.about-block {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.section-block-about {
    height: auto;
}

.mt-20 {
    margin-top: 20px;
}

.ul-active {
    background-color: rgba(48, 51, 60, 1);
}

.about-active {
    color: #9f7f5f;
}

.gal-active {
    color: #8aaa75;
}

ul li a {
    color: white;
}

.gall-block {
    margin-bottom: 20px;
}

.gall-img {
    width: 100%;
    border: 3px solid white;
    box-shadow: 0 3px 10px white;
}

.gall {
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.gall-rel {
    position: relative;
}

.section-gall {
    height: auto !important;
    padding-top: 60px;
}

.credit-rel {
    position: relative !important;
}

.page-gall {
    background-image: url(../img/gallery-bg.png) !important;
}

.cont-active {
    color: #8575aa;
}

.page-cont {
    background-image: url(../img/contact-bg.png) !important;
}

#p2 fieldset {
    margin-bottom: 20px;
    text-align: center;
}

#p2 input {
    font-family: 'Montserrat', sans-serif;
    padding-left: 15px;
    max-width: 100%;
    height: 40px;
    display: inline-block;
    line-height: 40px;
    font-size: 13px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    outline: none;
    border-radius: 0;
    box-shadow: none;
}

#p2 textarea {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    padding-left: 15px;
    width: 100%;
    max-width: 100%;
    max-height: 300px;
    height: 247px;
    display: inline-block;
    line-height: 40px;
    font-size: 13px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    outline: none !important;
    border-radius: 0;
    box-shadow: none;
}

#p2 button {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    padding: 15px 25px;
    background-color: #63adcc;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    left: 0.5px;
    border-radius: 25px;
    border: 1px solid transparent;
}

#p2 .right-info {
    background-color: #fff;
    padding: 30px;
    color: #343434;
    text-align: left;
    margin-bottom: 60px;
}

#p2 .right-info p em {
    font-style: normal;
    font-weight: 500;
}

#p2 .right-info .social-icons {
    margin-top: 45px;
}

#p2 .right-info ol {
    padding: 0;
    margin: 0;
}

.cont-block {
    display: flex;
    justify-content: center;
    align-items: unset;
    flex-wrap: wrap;
}
.section-block-contacts {
    height: auto;
}

.modal-politic {
    display: flex;
    flex-direction: column;
}

#p2 button:hover {
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
}

.modal-politic a {
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    padding: 8px 25px;
    background-color: #63adcc;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    left: 0.5px;
    border-radius: 25px;
    border: 1px solid transparent;
}

.modal-politic a:hover {
    color: #63adcc;
    background-color: transparent;
    border: 1px solid #63adcc;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
}

.arenda-active {
    color: #63adcc;
}

.arenda-img img {
    width: 100%;
    border: 3px ridge white;
}

.arenda-bl {
    margin-bottom: 20px;
}

.info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-title {
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.info a {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    padding: 8px 25px;
    background-color: #63adcc;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    left: 0.5px;
    border-radius: 25px;
    border: 1px solid transparent;
    box-shadow: 0 3px 10px #63adcc;


}

.info a:hover {
    background-color: transparent;
    color: #63adcc;
    border: 1px solid #63adcc;

}

.arenda-bl__item {
    padding: 10px;
    border: 3px solid white;
    box-shadow: 0 3px 10px white;
}

.page-arenda {
    background-image: url(../img/home-bg.png) !important;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.ofice-list {
    display: flex;
    flex-direction: column;
    font-size: 20px !important;
}

.ofice-text {
    font-size: 20px;
}

.ofice-title {
    font-size: 35px !important;
}

.ofice-list span i {
    margin-right: 10px;
}

/******************************************************** media ********************************************************/
@media (max-width: 1440px) {
    .credit {
        padding-left: 90px;
    }

    .title-block {
        padding-left: 90px;
    }

    .about-block {
        padding-left: 90px;
    }
}

@media (max-width: 1024px) {

}

@media (max-width: 768px) {
    .ofice-list {
        text-align: left;
    }

    .ofice-text {
        text-align: left;
    }

    .form-block {
        width: 100%;
    }

    .in {
        padding: 0 !important;
    }

    #p2 button {
        margin-bottom: 20px;
    }

    .gall {
        padding-left: 75px;
    }

    .page#p1 .icon {
        height: 70%;
    }

    .credit {
        left: auto;
    }

    #p2 .right-image {
        padding-bottom: 90px;
    }

    .about {
        position: relative;
    }

    .credit {
        padding-right: 20px;
        line-height: 2.2;
        font-size: 18px;
    }

    #p2 .title {
        margin-bottom: 15px;
        text-align: center;
    }

    .title-block {
        margin-top: 40px;
    }

    ul {
        padding-top: 28%;
    }

    .section-block {
        height: auto;
    }

    .about-block {
        flex-wrap: wrap;
    }

    .gall-block {
        width: 100%;
    }
}

@media (max-width: 425px) {
    .ofice-list {
        font-size: 15px !important;
    }

    .ofice-text {
        font-size: 15px;
    }

    .about-block {
        padding-left: 43px;
    }

    .credit {
        padding-left: 43px;
        font-size: 15px;
    }

    .title-block {
        padding-left: 43px;
    }

    .primary-button a {
        line-height: 1.9;
    }

}

@media (max-width: 375px) {
    ul {
        width: 12%;
    }

    .ofice-title {
        font-size: 27px !important;
    }

    .info-title {
        font-size: 18px;
    }

    #p2 .right-info {
        padding: 15px;
    }

    .modal-politic a {
        padding: 8px 8px;
    }

    .page#p1 .icon {
        height: 88%;
    }

    #p2 h4 {
        font-size: 36px;
    }

    .credit {
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .info-title {
        font-size: 15px;
    }

    .page#p1 .icon {
        height: 84%;
    }

    #p2 .title {
        font-size: 12px;
    }

    .primary-button a {
        line-height: 1.9;
    }

    ul {
        width: 14%;
    }

    .credit {
        font-size: 15px;
    }

    #p1 .icon .title {
        font-size: 12px;
    }
    .modal-title {
        font-size: 22px;
    }
}