@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700,900');
@import url('https://fonts.googleapis.com/css?family=Poppins:500,600,700,800');

html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #243D7F;
    background: linear-gradient(to bottom, #FFFFFF 20%, #DDDDDD 100%) fixed;
}

input, select, textarea, label, .transcript {
    font-family: 'Roboto', sans-serif;
}

.header-title {
    font-weight: 800;
    /* margin: 0em -1em!important; */
    /* padding: 0.5em 0; */
    margin: 1rem 0 2rem;
    font-size: 3.4em;
    letter-spacing: -1px;
    text-transform: uppercase;
    line-height: 1em;
}

.header-title em {
    color: #243D7F;
    font-style: normal;
}

p {
    line-height: 1.7em;
}

header {
    position: relative;
    padding: 1em 0;
    background: #243D7F;
    color: #FFF;
    font-size: 0.8em;
}

header img {
    width: 300px;
    height: auto;
    margin-bottom: 5px;
}

.header-call-us a {
    color: #fdc91d;
    text-decoration: none;
}

header h4 {
    font-size: 1.5rem;
}

.hero-image {
    /* width: calc(100% + 30px); */
    padding-left: 0;
    padding-right: 0;
}

.yt-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    /* margin-bottom: 30px */
}

.yt-video-embed video {
    position: absolute;
    width: 100% !important;
    height: 100% !important
}

.yt-video-embed video {
    cursor: pointer;
}

.yt-video-embed video:focus {
    outline: none;
}

main>.container {
    background: #FFF;
}

.intro {
    background: #243d7f;
    background: linear-gradient(#243d7ff5, #243d7fe6), url(img/img-booking.jpg) no-repeat center center;
    color: #FFF;
    background-size: cover;
}

.intro-text {
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05em;
    font-size: 3.25em;
    padding: 0.33em 0.3em 0;
    text-align: center;
    margin: 0.35em 0.3em 0;
    text-transform: uppercase;
}

.intro-text span {
    font-size: 0.8em;
    font-weight: 700;
    color: white;
    display: block;
    padding-top: 0.6em;
    margin-top: 0.6em;
    border-top: 8px solid white;
    letter-spacing: 3px;
}

.intro p {
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.4em;
    text-align: justify;
    padding: 0 1.7em;
}

.intro-img {
    margin: 0 -15px;
}

.sub-heading p {
    font-size: 1.08em;
    text-align: justify;
    font-weight: bold;
    line-height: 1.55em;
}

.sub-heading {
    margin-bottom: 3em;
}

main {
    background: #F0F0F0;
    padding: 3em 1.5em 6em;
    overflow: hidden;
}

main>.container {
    border-radius: 0.5em;
    overflow: hidden;
}

main h2 {
    font-weight: 800;
    font-size: 1.6em;
    margin: 1em 0 0.5em;
    letter-spacing: -1px;
}

main h3 {
    font-weight: 800;
    font-size: 1.4em;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin: 1.5em 0 0.5em;
}

.form-group {
    margin-bottom: 1rem;
}

footer {
    padding: 1.3em 0 5px;
    background: #243D7F;
    border-top: 3px solid #fdc91d;
    color: #FFF;
    font-size: 0.8em;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: block;
    width: 100%;
}

.home-footer {
    position: relative;
    bottom: auto;
    left: auto;
}

footer img {
    width: 300px;
    height: auto;
    margin-bottom: 5px;
}

footer a {
    color: #fdc91d;
}

footer a:hover {
    color: #FFF;
    text-decoration: none;
}

.btn {
    border-radius: 50px !important;
    text-transform: uppercase;
}

.btn-primary {
    background: #F17400;
    color: #243D7F;
    font-weight: 800;
    padding-left: 1em;
    padding-right: 1em;
    white-space: normal;
    line-height: 1em;
    transition: all 0.3s;
    border: 1px solid #F17400;
}

.btn-primary:hover {
    transition: all 0.3s;
    background: linear-gradient(to top, #243D7F 20%, #0F64A6 100%);
    border: 1px solid #0F64A6;
}

.btn-secondary {
    padding: 0.5em 2em;
    border: 2px solid #243D7F;
    color: #FFF;
    background: #243D7F;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #FFF;
    color: #243D7F;
    border-color: #243D7F;
}

hr {
    border: 2px solid #eee;
}

.btn-cta {
    font-size: 1.4em !important;
    padding: 0.7em 2em;
    border-radius: 50px;
    background: #243D7F;
    border: 2px solid #243D7F;
    color: #FFF;
    text-transform: uppercase;
}

.btn-cta:hover {
    border: 2px solid #243D7F;
    color: #243D7F;
    background: #FFF;
}

.gdpr {
    font-size: 0.8em;
}

small {
    font-size: 70%;
}

.final-advice {
    padding: 2em 2em 1em;
    margin: 0 -30px;
    font-size: 1.2em;
    text-align: center;
    background-color: #F9F9F9;
    background: linear-gradient(#F9F9f9F0, #F9F9F9F0), url(img/anfi.jpg) no-repeat top left;
    background-size: cover;
    letter-spacing: -0.5px;
}

.final-advice h2 {
    font-size: 1.9em;
    font-weight: 800;
}

.cfc {
    padding: 2em;
    margin: 0 -30px;
    font-size: 1.07em;
    background: #fdc91d;
}

.cfc h4 {
    font-size: 1.4em;
    line-height: 1.3em;
    margin: 0;
}

.cfc h4 span {
    font-size: 0.9em;
}

.cfc a {
    /* color: #fdc91d; */
    color: #243D7F;
    text-decoration: underline;
}

.overlay {
    z-index: 9998;
    background: rgba(17, 29, 62, .7);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    opacity: 0;
    transition: opacity .5s
}

.overlay.on {
    display: block;
    opacity: 1;
    transition: opacity .5s
}

.loading {
    position: fixed;
    top: calc(50% - 120px);
    left: calc(50% - 250px);
    border-radius: 150px;
    z-index: 9999;
    color: #FFF;
    text-align: center;
    font-size: 3em;
}

.please-wait {
    left: calc(50% - 140px);
}

.loading span {
    display: block;
    text-align: center;
    font-weight: bold;
    padding: 10px 0;
}

.more-referrals .referral-fields {
    animation: fadein 0.5s;
}

.section-highlight {
    background-color: #F9F9F9;
    border-radius: 15px;
    padding: 0.1em 1.5em 0.5em;
    margin: 1em 0 1.5em;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.transcript {
    padding: 2em;
    margin: 2em;
    border: 1px solid #CCC;
    text-align: center;
}

.transcript ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transcript ul li {
    margin-bottom: 1em;
}

.transcript ul li u {
    display: block;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 1em;
}

/* Media Queries */

.videos {
    padding-top: 1em;
}

.video-card {
    background: #EEE;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5em;
}

.videos video {
    width: 100%;
    height: auto;
    margin-bottom: 0.5em;
}

.videos p {
    text-align: center;
    font-weight: 700;
    letter-spacing: -1px;
    padding-bottom: 1em;
    margin: 0;
}

.flag-icon {
    display: inline-block;
    background: #EEE;
    border-radius: 50px;
    padding: 0.3em 0.5em 0.3em 0.7em;
    margin-top: 0.5em;
}

.flag-icon img {
    max-width: 25px;
}

.resort-logo {
    max-width: 85%;
}

.resorts-list {
    margin: 0;
    padding: 1em 0;
    list-style: none;
    text-align: center;
}

.resorts-list li {
    display: inline-block;
    padding: 0.3em 0.5em;
    border-radius: 5px;
    background: #DDD;
    margin-bottom: 0.3em;
}

.pill-amber, .pill-green, .pill-red {
    display: inline-block;
    background: #FFBF00;
    border-radius: 5px;
    padding: 0 0.3em;
}

.pill-green {
    background: green;
}

.pill-red {
    background: red;
}

.amber, .red, .green {
    border: 2px solid #FFBF00;
    border-radius: 10px;
    padding: 1em 0 0;
    border-left-width: 50px;
    margin-bottom: 1.5em;
    position: relative;
}

.amber::after, .red::after, .green::after {
    content: "Amber";
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.3em;
    line-height: 1em;
    display: block;
    position: absolute;
    left: -63px;
    bottom: 45%;
    color: white;
    transform: rotate(-90deg);
}

.red {
    border: 2px solid red;
    border-left-width: 50px;
}

.red::after {
    content: "Red";
    left: -47px;
}

.green {
    border: 2px solid green;
    border-left-width: 50px;
}

.green::after {
    content: "Green";
}

.nav-pills {
    display: inline-block;
}

.resorts-links {
    margin: 0;
    padding: 1em 0;
    list-style: none;
    text-align: center;
}

.resorts-links li {
    display: inline-block;
    margin-bottom: 0.3em;
}

.resorts-links li a {
    border-radius: 50px;
    display: block;
    padding: 0.3em 0.8em;
    background: #F17400;
    color: white;
    text-decoration: none;
}

.resorts {
    text-align: center;
}

.resorts a {
    display: flex;
    padding: 0.5em;
    margin: 0 .5em 1em;
    border: 1px solid #CCC;
    border-radius: 0.5em;
    height: 6em;
    align-items: center;
}

.resorts a:hover {
    border-color: #243D7F;
}

.resorts a img {
    height: auto;
    max-width: 5em;
    vertical-align: middle;
}

.cols-2 {
    columns: 2;
    column-gap: 1em;
}


table.case-table {
    background: #F3F4F6;
    border-radius: 10px;
    margin-bottom: 1.8em;
    overflow: hidden;
    border-collapse: collapse;
}

table.case-table td, table.case-table th {
    padding: 0.7em 0.8em;
    font-size: .9em;
    overflow: hidden;
    vertical-align: top;
    border-bottom: 1px solid #FFF;
    color: #333;
}

table.case-table th {
    width: 28%;
    text-align: right;
    color: #243D7F;
}

table.case-table th.table-header {
    text-align: left;
    /* border-bottom: 2px solid #266ca6; */
}

table.case-table .table-icon {
    vertical-align: top;
    width: 19%;
    padding: 1em 1em 0;
    font-weight: bolder;
    background: #243D7F;
    /* color: #FFF; */
    color: #fdc91d;
    text-align: center;
}

table.case-table .table-icon p {
    font-size: 1.3em;
    text-transform: uppercase;
    /* text-align: center; */
    line-height: 1em;
    margin-bottom: 1em;
    /* letter-spacing: -1px; */
}

.click-info {
    font-size: 80%;
    list-style: 0.9em;
    font-weight: bold;
}

.mobile-hidden {
    display: block;
}

.mobile-visible {
    display: none;
}

.img-article {
    border-radius: 1em;
    float: right;
    width: 35%;
    margin: 0 0 1em 2em;
}

@media(max-width: 767px) {
    body {
        font-size: 1rem;
    }

    footer {
        position: relative;
    }

    h1, h2, h3, h4, h5 {
        text-align: center;
    }

    h1.intro-text {
        font-size: 1.35em;
        line-height: 1em;
        letter-spacing: 1px;
    }

    h1.intro-text span {
        font-size: 0.9em;
        letter-spacing: -0.5px;
    }

    h2 {
        font-size: 1.43em;
        line-height: 1em;
        margin-bottom: 0.5em;
    }

    h3 {
        font-size: 1.25em;
        line-height: 1.1em;
        margin-bottom: 1em;
    }

    .header-title {
        font-size: 2em;
        margin: 0rem 0 1rem;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        height: 6em;
        z-index: 1000;
        border-bottom: 1px solid #fdc91d;
    }

    h3.header-call-us {
        padding: 0.5em 0 0;
        margin: 0;
        font-size: 1.5em;
    }

    header h4 {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 0.6em 1em;
    }

    h4 {
        font-size: 1.25em;
        line-height: 1em;
        text-align: center;
    }

    .btn-primary {
        font-size: 1.2em;
    }

    main {
        padding: 4.5em 0 0;
    }

    main>.container {
        border-radius: 0;
    }

    p {
        line-height: 1.4em;
    }

    .intro {
        font-size: 1.1em;
        padding: 1em;
    }

    .intro p {
        padding: 0 1em;
    }

    main p {
        text-align: justify;
    }

    .btn-cta {
        font-size: 1.3em !important;
        margin-top: 1em;
    }

    .more-referrals .referral-fields {
        border-top: 1px solid #DDD;
        padding-top: 1em;
        margin-top: 0.5em;
    }

    .resort-logo {
        max-width: 40%;
        margin-right: 1em;
    }

    .cfc h4 {
        font-size: 1.6em;
        line-height: 1.2em;
    }

    .img-article {
        float: none;
        width: 100%;
        display: block;
        margin: 0 auto 1em;
    }
}