/* Theme resets */
.bt-menu-trigger {
    top: 30px;
    left: 40px;
    height: 30px;
    padding: 0;
    z-index: 1000;
}

button.bt-menu-trigger {
    background: none;
}

.st-pusher {
    overflow: hidden;
}


#st-trigger-effects {
    position: absolute;
}

body, a {
    color: #FFFFFF;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 24px;
}

h1 {
    margin: 0 0 30px 0;
}

.st-menu {
    background-color: #4472C4;
    overflow-y: scroll;
}

.show-mobile {
    display: none !important;
}


/* Montecarmelo animated title */

.animated-title {
    text-align: center;
    position: relative;
    font-weight: 900;
    font-size: 3.3em;
}

.animated-title .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
}

.letters {
    display: none;
}

.animated-title .letter {
    display: inline-block;
    line-height: 1em;
    transform: translateY(1.1em) translateZ(0px);
}

.animated-text-right {
    position: relative;
    max-width: 500px;
    width: 100%;
    right: -500px;
    margin: auto;
    opacity: 0;
}

.st-content {
    background: linear-gradient(rgba(34, 31, 28, 0.5), rgba(34, 31, 28, 0.5)), url("../img/empresa.jpg");
    background-position-y: 35%;
    transition: background-image 1s linear;
    background-size: cover !important;
    overflow: hidden;
    background-position: center;
}

.vehicles .st-content {
    background: linear-gradient(rgba(34, 31, 28, 0.5), rgba(34, 31, 28, 0.5)), url("../img/vehiculo.jpg");
    background-position: center;
}

.installations .st-content {
    background: linear-gradient(rgba(34, 31, 28, 0.5), rgba(34, 31, 28, 0.5)), url("../img/instalaciones.jpg");
    transition: background-image 1s linear;
    background-size: cover !important;
}

.contact .st-content {
    background: #2C4A7F;
    background: -webkit-linear-gradient( bottom , #2C4A7F, #5895FF);
    background: linear-gradient(to top, #2C4A7F, #5895FF);
}

.absolute-vertically-align {
    position: fixed;
    left: 0;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}

.buttons {
    text-align: center;
}

.btn {
    transition-property: all;
    transition-duration: .6s;
    transition-timing-function: ease;

    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    line-height: 45px;
    margin: 0 auto 2em;
    max-width: 200px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

.btn-1 {
    font-weight: 100;
}

.btn-1 svg {
    height: 45px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.btn-1 rect {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-dasharray: 422, 0;
}

.btn-1:hover {
    font-weight: 900;
    letter-spacing: 1px;
}

.btn-1:hover rect {
    stroke-width: 5;
    stroke-dasharray: 15, 310;
    stroke-dashoffset: 48;
    transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
}

#map {
    height: 400px;
    max-height: 100%;
    width: 600px;
    max-width: 100%;
    margin: auto;
}

/* Menu */
.st-menu img {
    margin: 40px 0;
}

/* Offer Page */
div.offers {
    font-size: 0;
    width: 50%;
    min-width: 900px;
    margin: auto;
}

div.offers .offer-wrapper {
    width: 50%;
    display: inline-block;
    font-size: 24px;
    text-align: center;
}

div.offers .offer {
    width: auto;
    display: inline-block;
    text-align: left;
}

.out-of-offer-button {
    display: block;
    margin-top: 20px;
}

.out-of-offer-wrapper {
    text-align: center;
    width: 100%;
}
.out-of-offer {
    display: inline-block;
    width: auto;
    text-align: left;
}

/* Cómo llegar */
.center-wrapper {
    text-align: center;
}

/* Index Page */
.buttons {
    margin-top: 50px;
}

/* Modal */
.trigger-modal:hover {
    color: inherit;
}
.dialog-inner button.action {
    padding: 0.5em 2em;
    background-color: #4472C4;
}
.dialog-inner button.action:hover  {
    background-color: #365B9D;
}

/* Contact Page */
.contact p {
    margin-bottom: 15px;
}
.contact .dialog__content {
    max-width: 100%;
    width: calc(600px + 4em);
}
.contact .center-wrapper {
    padding: 0 15px;
}
button.action {
    margin-top: 30px;
}
.how-to-go {
    margin-top: 30px;
}

/* Timetable */
#schedule {
    color: #000;
}
.timetable {
    border: 1px solid;
    font-size: 0;
    margin: 30px auto 40px auto;
    display: inline-block;
}
.timetable p {
    padding: 10px 30px 0 30px;
}

.timetable p:last-child {
    padding-bottom: 10px;
}

.winter, .summer {
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
}
.winter {
    border-right: 1px solid;
}
.winter h3, .summer h3 {
    border-bottom: 1px solid;
    padding: 10px;
}

@media screen and (min-width: 768px) {
    .offers .overflow.absolute-vertically-align {
        top: 50%;
        position: fixed;
        transform: translate(0, -50%);
    }
}

@media screen and (max-width: 992px) {
    p {
        font-size: 18px;
    }
    .animated-title {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .animated-text-right {
        padding: 0 20px;
    }
    .buttons {
        margin-top: 20px;
    }
    .buttons .btn {
        margin-bottom: 1em;
    }
    [data-dialog="results"] {
        display: none;
    }
    .st-content {
        overflow-y: scroll;
    }
    .mail {
        font-size: 16px;
    }
    .mail a {
        font-size: 16px;
    }
    #st-trigger-effects {
        position: relative;
        float: none;
    }
    .bt-menu-trigger {
        position: absolute;
    }
    a.bt-menu-trigger {
        top: 0;
        left: 0;
    }
    .overflow.absolute-vertically-align {
        top: 0;
        position: relative;
        transform: translate(0);
    }

    /* Timetable */
    .timetable {
        font-size: initial;
        display: block;
        margin-top: 30px;
        margin-bottom: 0;
        border: none;
    }
    .timetable p {
        padding-top: 10px;
    }

    .timetable p:last-child {
        padding-bottom: 10px;
    }

    .winter, .summer {
        display: block;
        border: 1px solid;
    }
    .summer {
        margin-top: 20px;
    }
    .winter h3, .summer h3 {
        border-bottom: 1px solid;
        padding: 10px;
    }
}

@media screen and (max-height: 768px) {
    .hide-mobile {
        display: none;
    }
    .show-mobile {
        display: block !important;
    }
}

@media screen and (max-width: 860px) {
    .out-offer-line {

    }
    .out-offer-line .name {
        font-weight: bold;
        display: block;
        float: none;
        text-align: center;
    }
    .out-offer-line .price {
        float: none;
        text-align: center;
    }
    .out-offer-line:before {
        border: none;
    }
}