:root {
    --max-container-width: 960px;
    --semi-transparent: #ffffffcc;
    --size-large: 19px;
}

a {
    text-decoration: none;
    color: #46626f;
}

body {
    font-family: 'Roboto Slab';
    font-size: 1em;
    min-height: 100vh;
    background-position: center center;
    background-size: cover;
    box-sizing: border-box;
}

body * {
    box-sizing: border-box;
}

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

.text-right {
    text-align: right;
}

.small {
    font-size: 13px;
}

.big {
    font-size: var(--size-large);
}

.bold {
    font-weight: 700;
}

.light {
    font-weight: 300;
}

.normal {
    font-weight: 400;
}

.mt {
    margin-top: 1em;
}

.pd {
    padding: 1em;
}

.block {
    display: block;
}

table.stripped {
    width: 100%;
    border-spacing: 0;
    margin-right: 2%
}

table.stripped:nth-child(2n) {
    margin-right: 0
}

table.stripped td {
    padding: .5em 1em
}

table.stripped tr:nth-child(2n) td {
    background: #5b6e76;
    color: #fff;
}


@media screen and (max-width: 959px) {
    .m\:block {
        display: block;
    }

    .m\:hide {
        display: none;
    }

    .hide-mobile {
        display: none;
    }
}

@media screen and (min-width: 960px) {
    .d\:hide {
        display: none;
    }

    .d\:nomt {
        margin-top: 0;
    }

    .d\:pad-left {
        margin-left: 10px;
    }
}


/** GENERIC */
.site-contents {
    padding-top: 65px;
    padding-bottom: 65px;
}

.semi-transparent {
    background: var(--semi-transparent);
}

.page-title {
    position: relative;
    padding: 1em;
    font-size: var(--size-large);
    background: var(--semi-transparent);
}

.main-contents {
    position: relative;
    margin: 0 auto;
    max-width: var(--max-container-width);
}

.page-menu {
    display: none;
}

/*    position: absolute;*/
/*    top: 0;*/
/*    height: 0;*/
/*    overflow: hidden;*/
/*}*/

.menu a.selected {
    background: #46626f;
    color: #fff;
}

.logo img {
    height: 40px;
}

header {
    padding: 10px;
    border-bottom: 3px solid #46626f;
    position: fixed;
    background: #fff;
    width: 100%;
    transition: .3s;
    height: 66px;
    overflow: hidden;
    z-index: 10;
}

.burger {
    position: absolute;
    right: 10px;
    top: 7px;
    width: 50px;
    height: 50px;
    background-image: url(/img/svg/burger.svg);
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: right center;
}


.langs, .contacts {
    margin-top: 30px;
}

.langs {
    text-align: center;
}

.contacts {
    text-align: center;
}

.menu {
    margin: 30px 0 20px;
}

.menu a {
    border-bottom: 1px solid #46626f;
}

.menu a.selected {
    padding-right: 1em;
}

.langs a, .menu a {
    padding: 10px 0;
    font-size: var(--size-large);
    text-align: right;
}

.contacts a {
    padding: 10px 0;
    text-align: center;
}

.panel {
    /*display: none;*/
    background: #fff;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    z-index: 10;
}

.menu-open .panel {

}

.sig {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100vw;
    padding: 16px;
    border-top: 1px solid #d8d8d8;
    background-color: #fafafa;
    transform: translateY(100%);
    transition: .2s;
    transition-delay: .4s;
}

.menu-open .sig {
    transform: translateY(0);
    z-index: 20;
}

.menu-open .burger {
    background-image: url(/img/svg/close.svg);
}

.menu-open header {
    height: 100vh;
    border-bottom: none;
}

div.badge {
    text-align: center;
    margin: 20px 0;
}

.txt {
    margin-left: 1em;
    margin-right: 1em;
    padding: 1em;
    background-color: var(--semi-transparent);
    font-weight: 300;
}

.txt.no-bg {
    background-color: #0000;
}

.txt div, .txt div {
    margin-bottom: .6rem;
    line-height: 1.4em;
    color: #333;
    font-weight: 400;
}

button.drop-down {
    position: absolute;
    right: 1em;
    border: none;
    padding: 0;
    top: 10px;
    margin: 0;
    height: 2em;
    width: 2em;
    background: url(/img/svg/arrow-down.svg) center center no-repeat;
    background-size: 1.5em;
    transition: .3s;
}

.submenu {
    position: relative;
}

.submenu .items {
    position: absolute;
    top: 1em;
    left: -1em;
    right: -1em;
    background: #fafafa;
    /*var(--semi-transparent);*/
    padding: 0 1em;
    max-height: 0;
    overflow: hidden;
    transition: .3s;
}

body.submenu-open .submenu .items {
    border: 1px solid #ddd;
    max-height: 300px;
    box-shadow: 8px 8px 8px 0 #0004;
}

body.submenu-open button.drop-down {
    transform: rotate(180deg);
}

.submenu .items a {
    display: block;
    padding: 1em 0;
}

.submenu .items a + a {
    border-top: 1px solid #ddd;
}


.destinations {
    /*background-image: url(/img/site/routes_map1.png);*/
    /*background-size: contain;*/
    /*background-position: center right;*/
    /*background-repeat: no-repeat;*/
    /*height: calc(100vh - 150px);*/
}

.destinations .main a {
    display: block;
    padding: .5em;
    border-left: 7px solid #46626faa;
    margin-top: 16px;
    background: #fff3;
    box-shadow: 2px 2px 2px 0 #0004;
}


.an-offer img {
    display: block;
    width: 100%;
}


.home-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 103px;
    z-index: -1;
}

.home-badge {
    max-width: 70vw;
    max-height: 80vh;
    margin: 0 auto;
}

.home-badge img {
    display: block;
    width: 100%;
	max-width:200px;
	margin: 0 auto;
}

.gallery-on-mobile {
    float: right;
    color: #d9a004;
}

.gallery-on-desktop {
    display: none;
}


/* GALLERY */
.p-cover {
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    position: fixed;
    background-color: #000c;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
}

.p-cover.hidden {
    display: none;
}

#l-arrow, #r-arrow, #close-gallery {
    cursor: pointer;
    display: none;
    position: fixed;
    bottom: 1em;
    /*top: 50%;*/
    /*transform: translateY(-50%);*/
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: #d9a004;
    transition: .3s;
}


#r-arrow {
    right: 1em;
}

#l-arrow {
    left: 1em;
}

#close-gallery {
    display: block;
    right: 1em;
    top: 1em;
    transform: translateY(0);
    opacity: 1;
}

#l-arrow img, #close-gallery img {
    transform: rotate(90deg);
    width: 100%;
    display: block;
}

#r-arrow img {
    transform: rotate(-90deg);
    width: 100%;
    display: block;
}
