body {
    background-color: #cccccc;
    background-image: url(../img/obloha.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center top;
}

a {
    color: #1d2e38;
    text-decoration: underline;
}

h1,
h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
}

h1 {
    color: #000;
    font-size: 50px;
    text-shadow: 2px 2px 15px rgb(255 255 255);
    margin-bottom: 15px;
}

.main-heading {
    padding-top: 40px;
    padding-bottom: 20px;
}

.main-heading p {
    font-size: 20px;
}

.main-heading img {
    margin-bottom: 21px;
    margin-top: 10px;
    max-width: 360px;
}

.menu {
    padding: 20px 0px;
}

.navbar {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: transparent !important;
    font-size: 17px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 14px;
    padding-left: 14px;
}

.nav-link {
    position: relative;
}

.nav-link:before {
    content: "";
    position: absolute;
    width: 0%;
    height: 4px;
    bottom: 0;
    left: 0;
    background-color: #cccccc;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

.nav-link.active:before {
    width: 100%;
    background-color: #ccc;
}

.nav-link:hover:before {
    width: 100%;
    background-color: #ccc;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show>.nav-link {
    color: #084298;
    font-weight: bold;
    background-color: #fff;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
    padding-bottom: 12px;
    padding-top: 12px;
}

.text-green {
    color: #084298;
}

.logo img {
    max-width: 440px;
}

main {
    position: relative;
}


main .content-wrapper {
    position: relative;
    padding: 100px 40px 70px 40px;
}

main .content-wrapper:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFFFFF 100%);
    z-index: 1;
}

main .content-wrapper:after {
    content: "";
    position: absolute;
    top: 160px;
    left: 0;
    width: 100%;
    height: calc(100% - 160px);
    background-color: #fff;
    z-index: 1;
    border-bottom-right-radius: 21px;
    border-bottom-left-radius: 21px;
}

main .content-wrapper .row {
    position: relative;
    z-index: 2;
}

.main-content h3 {
    font-size: 20px;
    color: #084298;
    font-weight: bold;
}

.form-floating>label {
    font-size: 14px;
}

.gallery h3 {
    margin-top: 30px;
}

.modal-dialog {
    max-width: 750px;
}

.gal-item {
    padding-top: calc(var(--bs-gutter-x) * .5);
    padding-bottom: calc(var(--bs-gutter-x) * .5);
    overflow: hidden;
}

.gal-item img {
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    z-index: 1;
}

.gal-item:hover img {
    transform: scale(1.07);
    -webkit-transform: scale(1.07);
    -moz-transform: scale(1.07);
    -ms-transform: scale(1.07);
    -o-transform: scale(1.07);
}

.gal-item a {
    text-decoration: none;
}

.gal-item p {
    font-size: 12px;
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 0;
    z-index: 2;
    position: relative;
}


.border-left {
    position: absolute;
    width: 6px;
    height: 50%;
    background-image: linear-gradient(180deg, rgba(211, 175, 55, 0.00) 20%, #000 100%);
    left: 0;
    bottom: 0;
    border-left: 0 !important;
    z-index: 2;
}

.border-bottom {
    position: absolute;
    width: 80%;
    height: 6px;
    background-image: linear-gradient(90deg, #000 60%, rgba(211, 175, 55, 0.00) 100%);
    left: 0;
    bottom: 0;
    border-bottom: 0 !important;
    z-index: 2;
}

.shape-bottom {
    position: absolute;
    width: 150px;
    height: 150px;
    background-image: url(../img/shape.png);
    right: -10px;
    bottom: -3px;
    border-bottom: 0 !important;
    z-index: 3;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
}

.andel {
    margin-top: -310px;
    padding-bottom: 50px;
}

.nonstop-wrapper {
    margin: 0 auto;
    background-color: #eaeced;
    padding: 20px 30px;
    border-radius: 8px;
}

.nonstop-wrapper h3 {
    font-weight: bold;
    font-size: 36px;
}

.call-now {
    font-size: 30px;
    font-weight: bold;
    color: #084298;
    text-decoration: none;
    margin-top: 15px;
    display: block;
}

.call-now:hover {
    color: #084298;
    text-decoration: underline;
}

.call-now img {
    margin-right: 15px;
    max-width: 40px;
}

footer {
    font-size: 12px;
    color: #565f61;
    padding: 20px;
}

a.social {
    line-height: 22px;
}

a.social:first-child {
    margin-left: 15px;
}

@media (max-width: 992px) {
    .andel {
        position: absolute;
        bottom: -30px;
        right: 0;
        max-width: 240px;
        padding: 0;
        margin: 0;
    }

    main .content-wrapper {
        padding: 100px 40px 70px 40px;
    }

    .nonstop-wrapper {
        margin: 30px auto 0 auto;
    }

    .navbar-collapse {
        background-color: #fff;
        padding: 40px 30px;
        margin-top: 30px;
    }

}

@media (max-width:768px) {
    body {
        background-size: 200%;
        background-position: center top;
    }

    main .content-wrapper {
        padding: 60px 40px 70px 40px;
    }

    .logo img {
        max-width: 200px;
    }

    .nonstop-wrapper {
        padding: 130px 20px 20px 20px;
        text-align: center;
    }

    .andel {
        position: relative;
        max-width: 300px;
        bottom: 0;
        margin: 0;
        left: 50%;
        transform: translate(-50%, 130px);
        margin-top: -90px;
    }
}

@media (max-width:600px) {

    h1 {
        font-size: 42px;
    }
}

@media (max-width:1200px) {
    .logo img {
        max-width: 350px;
    }

    .navbar-light .navbar-nav .nav-link {
        font-size: 18px;
    }
}

@media (max-width:1000px) {
    .logo img {
        max-width: 300px;
    }
}


.fancybox-button.fancybox-button--play,
.fancybox-button.fancybox-button--fullscreen,
.fancybox-button.fancybox-button--thumbs,
.fancybox-button.fancybox-button--share {
    display: none !important;
}

.fancybox-bg {
    background: #000;
}

.sweet-alert button {
    background-color: #084298 !important;
}

.btn-primary {
    color: #fff;
    background-color: #2d4156;
    border-color: #2d4156;
}

.btn-primary:hover {
    color: #fff;
    background-color: #1d2e38;
    border-color: #1d2e38;
}

.btn-check:focus+.btn-primary, .btn-primary:focus {
    color: #fff;
    background-color: #1d2e38;
    border-color: #1d2e38;
    box-shadow: none;
}