﻿/* Navigation menu */

#header {
    padding: 0;
}

    #header.topbanner {
        width: 100%;
        margin: 0 auto;
        top: 0;
        height: 100px;
        border-bottom: none;
        z-index: 1;
        padding: 0 !important;
    }

#nav {
    text-align: center;
    display: inline-block;
    padding: 0 15px;
}

    #nav li {
        padding: 0 10px;
        display: inline-block;
        position: relative;
    }

    #nav a {
        display: block;
        font-size: 13px;
        text-transform: uppercase;
        text-decoration: none;
        font-variant: normal;
        color: #fff;
        padding: 0 13px;
        font-family: 'AvenirLTStd-Medium', san-serif;
        font-weight: 100;
    }

    #nav li a:hover:after {
        content: '';
        display: block;
        width: 70%;
        height: 1px;
        background: #fff;
        position: absolute;
        bottom: 39px;
        left: 0;
        margin: 0 15%;
    }

    #nav li.current-menu-item:after {
        content: '';
        display: block;
        width: 70%;
        height: 1px;
        background: #fff;
        position: absolute;
        bottom: 39px;
        left: 0;
        margin: 0 15%;
    }



/* Header logo */

#header h1 {
    display: block;
    text-align: center;
    position: absolute;
    top: 0;
    left: 50%;
    margin: 0;
    margin-left: -125px;
    padding: 16px 0;
    transition: padding 0.3s ease;
}

#header.topbanner #header-logo {
    width: 310px;
    height: auto;
    margin: -10px 0 0 -35px;
    transition: all 0.3s ease;
}




/* CTA - 'Accounts' dropdown, phone, booking button */

.txt-corporate {
    color: #fff;
    display: inline-block;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    font-variant: normal;
    color: #fff;
    font-family: 'AvenirLT-Heavy';
    font-weight: 600;
    margin: 1px 20px 0 0;
}

    .txt-corporate .sub-hide a {
        padding: 1rem 3rem 1rem 1rem;
        display: block;
        color: #fff !important;
        line-height: 2rem;
    }

    .txt-corporate a img {
        margin: 0 0 1px 5px;
    }

    .txt-corporate a:first-of-type {
        padding: 0 0 20px;
        display: block;
    }

.top-cta ul ul {
    padding: 20px 20px 0 20px !important;
    height: auto !important;
}

.top-cta > ul > li > a {
    text-decoration: none;
    height: 100px;
    line-height: 100px;
    padding: 0 13px;
    transition: all 0.3s ease;
}

.top-cta ul li:hover > ul {
    padding: 20px 20px 0 20px;
}

.top-cta {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 30px;
    transition: all 0.3s ease;
}

    .top-cta ul li {
        display: block;
    }

        .top-cta ul li:hover > ul {
            display: block;
            background: #242b34;
            padding: 20px;
            position: absolute;
            z-index: 1111111;
            width: 170px;
            height: 55px;
            border-top: 2px solid #5681ba;
        }

        .top-cta ul li ul li a:hover {
            color: #5681ba !important;
        }




/* 'Book Now' button */

.tab-btn {
    color: #fff;
    margin-top: 25px;
    transition: all 0.3s ease;
    line-height: 26px;
    font-size: 18px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    padding: 10px 35px 7px 35px;
    text-decoration: none;
    font-family: 'AvenirLTStd-Medium', Arial, Sans-Serif;
    font-weight: 600;
    display: block;
    max-width: 200px;
    background: transparent;
    border: 3px solid #ffffff;
    margin: 25px 5px 0 5px;
    transition: all 0.2s, margin 0.3s ease;
    height: auto;
}

    .tab-btn:hover {
        text-decoration: none;
        color: #254c88 !important;
        background: #fff;
    }

.top-cta .tab-btn {
    margin-right: 20px;
}




/* Nav Dropdowns */

.topbanner.home .btn-menu-mob i {
    background: #fff;
}

#nav li:hover > .sub-menu {
    height: auto;
    overflow: visible;
    display: block;
    position: absolute;
}

.sub-menu {
    height: 0;
    overflow: hidden;
    display: none;
    width: 15em;
    background-color: #f9f9f9;
    margin-top: -20px;
    padding: 10px 0;
}

    .sub-menu:before {
        content: "\A";
        position: absolute;
        left: 2em;
        top: -10px;
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid #f9f9f9;
    }

#nav li .sub-menu li {
    display: block;
    text-align: left;
}

    #nav li .sub-menu li a {
        height: 4em !important;
        line-height: 2rem !important;
        color: #30363c !important;
        display: table-cell;
        vertical-align: middle;
    }

        #nav li .sub-menu li a:hover:after {
            bottom: 5px !important;
            width: 80%;
            margin: 0 10%;
            background: #30363c !important;
        }

    #nav li .sub-menu li.current-menu-item:after {
        bottom: 5px !important;
        width: 80%;
        margin: 0 10%;
        background: #30363c !important;
    }



@media (max-width: 1250px) {
    .top-cta ul li {
        display: none;
    }

    #nav {
        display: none;
    }
}



/* Media Queries */

@media (max-width: 1650px) {
    #nav li {
        padding: 0 !important;
    }
}

@media (max-width: 1470px) {
    #nav a {
        font-size: 12px;
        padding: 0 9px;
    }
}

@media (max-width: 1260px) {
    .btn-menu-mob {
        display: block;
    }
}

@media (max-width: 1100px) {
    #header.topbanner {
        height: 90px;
    }

    #header h1 {
        margin-top: 0;
    }

        #header h1 img {
            width: 227px !important;
            height: auto;
            margin: 0 !important
        }
}

@media (max-width: 750px) {
    #header h1 {
        overflow: hidden;
        height: 20px;
        width: 40px !important;
        margin: 0;
        margin-left: -16px;
        left: 3em;
        padding: 33px 0 !important;
    }

        #header h1 #header-logo {
            position: absolute;
            top: 10px;
            left: 0;
        }
}

@media (max-width: 530px) {
    #header.topbanner {
        height: 70px;
    }

    .tab-btn {
        padding: 0 6px;
        margin-top: 17px;
    }
}
