:root {
    --main: #245ba3;
    --secondary: #f09922;
    --text: 232323;
}

body, html {
    height: 100%;
}

body {
    margin: 0;
    background: #fff;
    min-width: 300px;
}

html, body, p, li, dd, td, input, select, textarea {
    color: #231f20;
    line-height: 150%;
    font-size: 1.0em;
    font-family: "Montserrat", sans-serif;
}

#preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #fff url(../images/preloader.svg) center center no-repeat;
}

img a, a img {
    border: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.wrapper {
    max-width: 1600px;
    padding: 0 50px;
    margin: 0 auto;
}

/* Header                                           */
/* ------------------------------------------------ */
#header {
    height: 140px;
    /*background: #143e76;*/
    background: #fff;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 99;
}

#header .wrapper {
    padding: 0;
    position: relative;
}

#headerlogo {
    position: absolute;
    top: 6px;
    left: 25px;
    width: 240px;
    height: auto;
}

#headercontact {
    float: right;
    margin-top: 14px;
    padding-right: 25px;
    line-height: 100%;
}

#headercontact a {
    text-decoration: none;
    font-weight: bold;
}

#headercontact img {
    display: inline-block;
    vertical-align: middle;
    height: 20px;
}

#header-bookonline {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    margin-top: 40px;
    text-align: right;
}

#header-bookonline a.readmore {
    font-size: 22px;
    background: var(--secondary);
    border: 2px solid #fff;
}

#header-bookonline a.readmore:hover {
    background: var(--main);
}

.icon-contact {
    display: inline-block;
    margin-left: 20px;
}

.flexslider, .flex-viewport, ul.slides, ul.slides li {
    height: -moz-calc(90vh - 140px);
    height: -webkit-calc(90vh - 140px);
    height: -o-calc(90vh - 140px);
    height: calc(90vh - 140px);
    overflow: hidden;
    background: #000;
}

.flexslider img {
    width: 100%;
    position: relative;
}

.slides, .slides > li, .singleslide {
    margin: 0;
    padding: 0;
    list-style: none;
    display: -webkit-box!important;
    display: -moz-box!important;
    display: -ms-flexbox!important;
    display: -webkit-flex!important;
    display: flex!important;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.singleslide {
    max-height: 700px;
    overflow: hidden;
}

.singleslide img {
    width: 100%;
    height: auto;
}

.flexslider, .singleslide {
    margin: 0 0 40px 0;
}

/* homepage                                         */
/* ------------------------------------------------ */
#homepageintro {
    background: #f1eeee;
    padding: 50px;

}

#homepagepanels {
    margin: 0 -1.5%;
    overflow: hidden;
}

.homepagepanel {
    float: left;
    width: 30.333%;
    margin: 0 1.5%;
}

.homepagepanel img {
    display: block;
    width: 100%;
    height: auto;
}

.homepagepanel a {
    text-decoration: none;
}

/* Hamburger menu                                   */
/* ------------------------------------------------ */
#menu-toggle {
    display: none;
    float: right;
    margin: 10px 30px 0 0;
}

.hamburger {
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 10px 25px 0 25px;
    overflow: visible;
}

.hamburger:hover {
    opacity: 0.7;
}

.hamburger-box {
    width: 30px;
    height: 30px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 100%;
    height: 4px;
    /*background-color: #fff;*/
    background-color: #143e76;
    border-radius: 2px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -11px;
}

.hamburger-inner::after {
    bottom: -11px;
}


.hamburger .hamburger-inner {
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger .hamburger-inner::before {
    transition: top 0.2s 0.14s ease, opacity 0.2s ease;
}

.hamburger .hamburger-inner::after {
    transition: bottom 0.2s 0.14s ease, transform 0.2s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.14s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.2s ease, opacity 0.2s 0.14s ease;
}
.hamburger.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.2s ease, transform 0.2s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Menu                                             */
/* ------------------------------------------------ */
#navbar {
    height: 50px;
    padding: 20px 25px 0 0;
    position: relative;
    margin-top: 20px;
    float: right;
    clear: right;
}

ul.menu, ul.menu ul {
    padding: 0;
    list-style-type: none;
    margin: 0 auto;
    display: block;
    /*text-align: center;*/
}

ul.menu ul:after {
    content: ""; clear: both; display: block;
}

ul.menu li {
    padding: 0;
    background: none;
    display: block;
}

ul.menu > li {
    display: inline-block;
    *display: inline;
    zoom: 1;
    margin-right: -4px; /* remove the 4px gap inline elements have */
}

ul.menu li a {
    color: var(--text);
    /*color: #fff;*/
    text-decoration: none;
    line-height: 50px;
    padding: 0 0 0 30px;
    font-size: 18px;
    display: block;
    -webkit-transition: background-color 0.2s ease-out;
    -moz-transition: background-color 0.2s ease-out;
    -ms-transition: background-color 0.2s ease-out;
    -o-transition: background-color 0.2s ease-out;
    transition: background-color 0.2s ease-out;
}


/* ul.menu li:first-child a {
    padding-left: 0;
} */


ul.menu li a:hover, ul.menu li.current-menu-item > a:hover, ul.menu li.current-menu-parent > a:hover {
    color: var(--secondary);
}

ul.menu li.current-menu-item > a, ul.menu li.current-menu-parent > a, ul.menu li.current-menu-ancestor > a {
    font-weight: bold;
    color: var(--secondary);
}

ul.menu li.menu-item-has-children, ul.menu li.menu-item-has-children > a, ul.menu ul.sub-menu li.menu-item-has-children > a {
    position: relative;
}

ul.menu li.menu-item-has-children > a, ul.menu ul.sub-menu li.menu-item-has-children > a {
    padding-right: 30px;
}

/* give the dropdowns an indicator */
ul.menu li.menu-item-has-children > a:after {
    width: 16px;
    top: 8%;
    content: url("../images/submenu-down-dark.svg");
    right: 6px;
    position: absolute;
}

ul.menu li.menu-item-has-children > a.close:after {
    content: url("../images/submenu-up-dark.svg");
}

/* dropdowns */
ul.menu ul.sub-menu {
    display: none;
    position: absolute;
    top: 50px;
    min-width: 200px;
    z-index: 9999;
}

ul.menu ul.sub-menu > li {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #ddd;
    text-align: left;
    float: none;
}

ul.menu ul.sub-menu li.menu-item-has-children > a:after {
    content: url("../images/submenu-down-dark.svg");
    right: 8px;
}

ul.menu ul.sub-menu li.menu-item-has-children > a.close:after {
    content: url("../images/submenu-up-dark.svg");
}

/* the last dropdown */
ul.menu li.menu-item-has-children:last-child ul.sub-menu li {
    min-width: 250px;
}

ul.menu li.menu-item-has-children:last-child ul.sub-menu {
    right: 0;
}

ul.menu ul.sub-menu > li a:after {
    height: 22px;
    line-height: 22px;
}

ul.menu li > ul {
    -moz-box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 0 8px rgba(0, 0, 0, 0.2);
}

ul.menu ul.sub-menu > li a {
    background: none;
    color: #666;
    font-size: 16px;
    text-shadow: none;
    padding: 15px 20px;
    display: block;
    line-height: 25px;
    text-decoration: none;
}


ul.menu ul.sub-menu > li.current-menu-item > a, ul.menu ul.sub-menu > li.current-menu-parent > a, ul.menu ul.sub-menu > li.current-menu-ancestor > a {
    color: var(--main);
}

ul.menu ul.sub-menu > li a:hover {
    background: var(--main);
    color: #fff;
}

ul.menu ul.sub-menu > li:last-child {
    border-bottom: 0;
}


/*sub submenus  */
ul.menu ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
}

ul.menu ul.sub-menu ul.sub-menu > li a {
    min-width: 160px;
}

@media screen and (min-width: 971px) {
    ul.menu {
        display: block !important;
    }
}

@media screen and (max-width: 970px) {
    #navbar {
        float: right;
        padding: 30px 0 0 0;
        width: 100%;
    }

    #navbar nav > ul {
        display: none;
    }

    #navbar .wrapper {
        padding: 0;
    }

    #menu-toggle {
        display: block;
    }

    ul.menu {
        display: none;
        position: absolute;
        top: 90px;
        width: 100%;
        z-index: 99;
        -moz-box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
        -webkit-box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 14px rgba(0, 0, 0, 0.3);
    }

    ul.menu li, ul.menu ul.sub-menu > li {
        text-align: center;
    }

    ul.menu li {
        float: none;
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid #ddd;
        background-color: #fff;
    }

    ul.menu li a {
        line-height: 150%;
        padding: 14px 60px;
        margin: 0;
        color: #666;
        box-sizing: border-box;
    }

    ul.menu > li {
        margin-right: 0; /* clear the 4px negative margin set above */
    }

    ul.menu li a, ul.menu li.menu-item-has-children > a, ul.menu ul.sub-menu li.menu-item-has-children > a {
        padding: 14px 60px;
    }

    ul.menu li.current_page_item > a, ul.menu > li.current-menu-parent > a, ul.menu li.current-menu-ancestor > a {
        color: var(--main);
        background: none;
    }

    /* plus and minus when in responsive mode */
    ul.menu li.menu-item-has-children > a:after, ul.menu ul.sub-menu li.menu-item-has-children > a:after {
        content: '\002B';
        top: auto;
        right: 16px;
        font-size: 24px;
    }

    ul.menu li.menu-item-has-children > a.close:after, ul.menu ul.sub-menu li.menu-item-has-children > a.close:after {
        content: '\2012';
        top: auto;
    }

    ul.menu li a:hover, ul.menu ul.sub-menu > li a:hover, ul.menu li.current-menu-item > a:hover, ul.menu li.current-menu-parent > a:hover {
        color: #fff;
        background: var(--main);
    }

    ul.menu li:last-child {
        border-bottom: none;
    }

    /*submenu items */
    ul.menu ul.sub-menu, ul.menu ul.sub-menu ul.sub-menu {
        position: relative;
        left: auto;
        top: auto;
    }

    ul.menu li:hover > ul {
        display: none;
    }


    /*ul.menu ul.sub-menu > li {
        padding: 0;
        text-align: left;

    }*/

    ul.menu ul.sub-menu > li a {
        font-size: 18px;
        padding: 12px 40px;
    }

    ul.menu li > ul {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    ul.menu ul.sub-menu > li:last-child, ul.menu ul.sub-menu > li:first-child {
        padding: 0;
    }

    ul.menu ul > li:first-child {
        border-top: 1px solid #cccccc;
    }

    /*sub sub menus */
    ul.menu ul.sub-menu ul.sub-menu > li a {
        padding-left: 60px;
    }
}

/* Responsive elements                              */
/* ------------------------------------------------ */
@media screen and (max-width: 1920px) {
    .widewrapper {
        padding: 0 80px;
    }

    .flexslider, .flex-viewport, ul.slides, ul.slides li {
        max-height: 700px;
        height: auto;
    }
}

@media screen and (max-width: 1800px) {
    .flexslider, .flex-viewport, ul.slides, ul.slides li {
        height: auto;
    }

    .single-slide {
        height: 500px;
    }
}

@media screen and (max-width: 970px) {
    body.home #headerpic {
        height: 600px;
        text-shadow: 0 0 14px rgba(0, 0, 0, 0.6);
    }

    body:not(.home) #headerpic {
        height: 200px;
    }
}

@media screen and (max-width: 720px) {
    #header {
        height: 140px;
    }

    #headerlogo {
        width: 160px;
        left: 10px;
        top: 26px;
    }

    #menu-toggle {
        margin: 10px 30px 0 0;
    }

    #navbar {
        margin-top: 0;
    }

    #headercontact {
        float: none;
        background: #0e3365;
        padding: 8px 0;
        margin: 0 0 10px 0;
        line-height: 140%;
    }

    #headercontact a {
        font-size: 14px;
    }
}

@media screen and (max-width: 620px) {
    .wrapper {
        padding: 0 25px;
    }

    #homepageintro {
        padding: 50px 10px;
    }
}

/* iOS */
@media screen and (max-width: 380px) {

}