/* Scss Document */
body {
    padding: 0;
    margin: 0;
    position: relative;
}

body * {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.nav {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1000;
}

.nav a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    display: block;
    box-sizing: border-box;
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
}

.nav a img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.nav a.contact {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
}

.nav a.contact img {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav a.contact-map {
    position: absolute;
    left: 113px;
    top: -5px;
}

.nav a.contact-car {
    position: absolute;
    left: 115px;
    top: 59px;
}

.nav a.contact-train {
    position: absolute;
    left: 65px;
    top: 106px;
}

.nav .item {
    display: none;
}

.nav a.contact-bus {
    position: absolute;
    top: 114px;
    left: 0;
}

.contact.active .open,
.contact:not(.active) .close {
    display: none;
}

.contact.active .close,
.contact:not(.active) .open {
    display: block;
}

h1 {
    font-size: 36px;
    color: #FFFFFF;
    letter-spacing: 1px;
    font-family: 'Roboto', sans-serif;
}

@media only screen and (max-width: 768px) {
    .phone {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        margin-left: 0;
        margin-top: 0;
        padding: 0;
        box-sizing: border-box;
        background: transparent;
    }
    .phone:after,
    .phone:before {
        content: "";
        display: none;
    }
    .screen {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
    }
}

/* contact contents*/
*,
:after,
:before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.hide {
    display: none;
}

.page__style {
    font-family: OpenSans-Regular, sans-serif;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page__style .page__description {
    color: #fff;
    font-weight: 300;
    text-align: center;
    width: 90%;
}

.page__style .page__description.page-map {
    width: 100%;
}

.page__style .btn_nav {
    background: #002a32;
    border-radius: 30px;
    border: none;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding: 17px 30px;
    width: 146px;
}

.page__style .btn_nav:active,
.page__style .btn_nav:focus {
    outline: none;
}

.page__style a {
    text-decoration: none;
    color: #fff;
}

.page__style a:hover {
    color: #ccc;
}

.animate_content {
    animation: animate 3s ease;
}

.fadeIn {
    z-index: 10;
}

/*  map-contents
-----------------------------------*/
.map-contents {
    background-image: url("../img/contact-map-bg.jpg");
    background-size: cover;
}

#map-contents {
    margin: 0 auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
}

/*  car-contents
-----------------------------------*/
.car-contents {
    background-image: url("../img/contact-car-bg.jpg");
    background-size: cover;
}

/*  train-contents
-----------------------------------*/
.train-contents {
    background-image: url("../img/contact-train-bg.jpg");
    background-size: cover;
}

/*  bus-contents
-----------------------------------*/
.bus-contents {
    background-image: url("../img/contact-bus-bg.jpg");
    background-size: cover;
}

/*****************************************************************
~ Mobile media-queries (max-width: 767px)
******************************************************************/
@-moz-keyframes animate {
    10% {
        transform: scale(1, 0.002);
    }
    35% {
        transform: scale(0.2, 0.002);
        opacity: 1;
    }
    50% {
        transform: scale(0.2, 0.002);
        opacity: 0;
    }
    85% {
        transform: scale(1, 0.002);
        opacity: 1;
    }
    100% {
        transform: scale(1, 1);
    }
}

@-webkit-keyframes animate {
    10% {
        transform: scale(1, 0.002);
    }
    35% {
        transform: scale(0.2, 0.002);
        opacity: 1;
    }
    50% {
        transform: scale(0.2, 0.002);
        opacity: 0;
    }
    85% {
        transform: scale(1, 0.002);
        opacity: 1;
    }
    100% {
        transform: scale(1, 1);
    }
}

@-o-keyframes animate {
    10% {
        transform: scale(1, 0.002);
    }
    35% {
        transform: scale(0.2, 0.002);
        opacity: 1;
    }
    50% {
        transform: scale(0.2, 0.002);
        opacity: 0;
    }
    85% {
        transform: scale(1, 0.002);
        opacity: 1;
    }
    100% {
        transform: scale(1, 1);
    }
}

@keyframes animate {
    10% {
        transform: scale(1, 0.002);
    }
    35% {
        transform: scale(0.2, 0.002);
        opacity: 1;
    }
    50% {
        transform: scale(0.2, 0.002);
        opacity: 0;
    }
    85% {
        transform: scale(1, 0.002);
        opacity: 1;
    }
    100% {
        transform: scale(1, 1);
    }
}
