/* ===== Box sizing =========================================================== */
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}
/* ===== Overwrites =========================================================== */
:root, body {
    font-family: 'Raleway', sans-serif;
    /* font-family: 'Libre Baskerville', serif; */
    font-size: 18px;
    font-weight: 300;
    color: #000;
    background-color: #fafafa;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    color: #000;
}
p {
    line-height: 30px;   
}



/* ===== Template =========================================================== */

h2.default {
    font-size: 32px;
    font-family: 'Libre Baskerville', serif;
    color: #482826;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    margin: 0 0 20px 0;
}
h2.default:after {
    background: #482826 none repeat scroll 0 0;
    bottom: -18px;
    content: "";
    display: block;
    height: 2px;
    margin: 0 auto;
    position: relative;
    width: 42px;
}
h2.default > a {
    text-decoration: none;
    color: #482826;
    transition: all .6s;
}
h2.default > a:hover {
    color: #CDB9AF;
}

.header {
    height: 116px;
    background-color: #fafafa;
    margin: 0;
}

.wrapper {
    margin: 0 auto;
    width: calc(100% - 16px);
}

.logo {
    display: inline-block;
    width: 105px;
    height: 67px;
    text-indent: -9999px;
    background: url(../images/logo.svg) center no-repeat;
    background-size: 105px 67px;
    margin: 15px 0 0 0;
}

#mainnav {
    display: block;
    float: right;
}
#mainnav nav {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0e284d;
    color: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
    transform: translateX(-100%);
    transition: all .8s;
    z-index: 999;
}
#mainnav.active nav
{
    transform: translateX(0);
    transition: all .8s;
}
#mainnav nav ul {
    margin: 0 0 0 35px;
    padding: 0;
    list-style: none;
    height: 70vh;
    overflow-y: auto;
}
#mainnav nav ul li {
    display: block;
    margin-bottom: 40px;
    line-height: 1.2em;
    position: relative;
}
#mainnav nav ul li.active:after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    top: 30px;
    background-color: #bb9f94;
}
#mainnav nav ul li a {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
}

#navtrigger
{
    display: block;
    margin-top: 16px;
    width: 35px;
    text-decoration: none;
}
#navtrigger span {
    color: #0e284d;
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 4px;
    text-transform: uppercase;
}
#navtrigger-close {
    position: absolute;
    right: 8px;
    top: 24px;
    color: #f6f3f1;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

.slideshow-outer {
    background-color: #f3efe8;
    padding: 20px 14px 82px;
}
.slideshow-inner {
    background-color: #c3aba1;
    padding: 30px 20px;
    position: relative;
}
.slideshow-inner h3 {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 43px;
}
.slideshow-inner h3:after {
    content: "";
    display: block;
    position: absolute;
    width: 41px;
    height: 2px;
    background: #482826;
    bottom: 0;
    left: 0;
}
.slideshow-inner h3 a {
    font-family: 'Libre Baskerville', serif;
    font-size: 28px;
    color: #fafafa;
    text-decoration: none;
}
.slideshow-inner .nav {
    bottom: -62px;
    left: 0;
    position: absolute;
    width: 100%;
}
.slideshow-inner .nav a {
    display: block;
    width: 62px;
    height: 62px;
    padding: 20px 12px 0;
    background-color: #213249;
    color: #fff;
    margin-left: 1px;
    transition: all .6s;
}
.slideshow-inner .nav a:hover {
    background-color: #3B4D66;
}
.slideshow-inner article h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    font-weight: 700;
    color: #482826;
    margin: 0 0 24px 0;
    line-height: 1.2em;
}
.slideshow-inner article p {
    font-family: 'Libre Baskerville', serif;
    font-size: 17px;
    font-weight: 400;
    color: #482826;
}

#top-partners ul {
    list-style: none;
    padding-top: 10px;
}
#top-partners ul li {
    margin-bottom: 50px;
}
#top-partners article {
    padding: 0 25px;
}
#top-partners article h3 {
    font-size: 18px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: #482826;
    margin-bottom: 17px;
}
#top-partners article p {
    font-size: 16px;
    font-weight: 500;
    color: #0e284d;
    margin-bottom: 10px;
}
#top-partners article nav a {
    display: block;
    color: #bb9f94;
    margin-right: 15px;
    transition: all .6s;
}
#top-partners article nav a:hover {
    color: #D3B3A7;
}
#top-partners article nav a:first-of-type {
    margin-top: -2px;
}

.readmore {
    display: inline-block;
    height: 39px;
    line-height: 36px;
    padding: 0 37px;
    font-size: 14px;
    font-weight: bold;
    color: #0e284d;
    border: 3px solid #bb9f94;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all .5s;
}
.readmore:hover {
    text-decoration: none;
    background: #bb9f94;
    color: #fff;
}

.bluebox {
    padding-bottom: 24px;
}
.bluebox > * {
    background: #0e284d;
    color: #fff;
}
.bluebox h2 {
    height: 100px;
    line-height: 100px;
    font-size: 32px;
    font-family: 'Libre Baskerville', serif;
    color: #fff;
    text-align: center;
    position: relative;
    padding-bottom: 0;
    margin: 0;
}

.bluebox .inner {
}

.bluebox .pttrn {
    background: url(../images/pattern_tile.svg) 0 0 repeat;
    padding: 5% 7%;
    margin: 0 2%;
    height: 70%;
}
.bluebox ul {
    padding-left: 0;
    list-style: none;
}
.bluebox ul li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 12px;
}
.bluebox ul li:before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #bb9f94;
    position: absolute;
    left: 7px;
    top: calc(50% - 2px);
}

#gmap {
    width: auto;
    height: 200px;
    margin: 0 2%;
}

#publications nav a {
    background-color: #213249;
    color: #fff;
    display: block;
    height: 62px;
    margin-right: 1px;
    padding: 20px 12px 0;
    transition: all 0.6s ease 0s;
    width: 62px;
}

.bookplace {
    background: #fff;
    width: 100%;
    height: 357px;
}
.descplace nav {
    background-color:#fff;
}
.descplace .cycle-slideshow {
    width: 100%;
    height: 100%;
}
.descplace article {
    background-color: #c4ada3;
    padding: 24px 34px;
    width: 100%;
    height: 100%;
    min-height: 211px;
}
.descplace article h4, .descplace article h4 a {
    font-size: 18px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color .6s;
}
.descplace article h4 a:hover {
    color: #0E284D;
    text-decoration: none;
}
.descplace article p {
    font-size: 16px;
    color: #0e284d;
}

.footer {
    padding: 23px 0 10px 0;
    background: #091a31;
}
.footer nav {
    margin-bottom: 45px;
}
.footer nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer nav ul li {
    padding-bottom: 13px;
    margin-right: 30px;
}
.footer nav ul li a {
    font-size: 12px;
    font-weight: 800;
    color: #fafafa;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    display: block;
}
.footer nav ul li a:after {
    content: "";
    display: block;
    position: absolute;
    top: 18px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fafafa;
    opacity: 0;
    transform: scale(0);
    transition: all .4s;
}
.footer nav ul li a:hover:after {
    top: 23px;
    opacity: 1;
    transform: scale(1);
}
.footer .copyrights, .footer .powered {
    font-size: 14px;
    font-weight: 400;
    color: #c4ada3;
    margin-bottom: 6px;
}
.footer .sep {
    margin: 0 5px;
}
.footer .powered a {
    text-decoration: none;
    color: #fafafa;
    transition: color .6s;
}
.footer .powered a:hover {
    color: #e74c3c;
}

.basic {
    padding: 30px 20px;
    background-color: #f3efe8;
}

.basic h1 {
    position: relative;
    font-size: 30px;
    font-family: 'Libre Baskerville', serif;
    color: #482826;
    padding-bottom: 17px;
    margin-bottom: 40px;
}
.basic h1:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 57px;
    width: 40px;
    height: 2px;
    background: #482826;
}
.basic h2 {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Libre Baskerville', serif;
    color: #482826;
    margin-bottom: 30px;
}
.basic h3 {
    font-size: 18px;
    font-weight: 700;
    color: #482826;
    margin-bottom: 5px;
}
.basic p {
    font-size: 18px;
    font-weight: 500;
    color: #482826;
    margin-bottom: 30px;
}
.basic.bluepar p {
    color: #0e284d;
}
/*.basic h2.intro-paragraph + p:first-of-type {
    margin-top: -30px;
    font-style: italic;
}*/
.basic h3 + p {
    margin-top: 0;
}
.basic p a {
    text-decoration: none;
    transition: all .6s;
}
.basic article footer {
    margin-top: -15px;
}
.basic nav a {
    display: block;
    color: #bb9f94;
    margin-right: 15px;
    transition: all .6s;
}
.basic nav a:hover {
    color: #D3B3A7;
}
.basic nav a:first-of-type {
    margin-top: -2px;
}
.basic .uk-width-large-1-2 {
    margin-bottom: 30px;
}
.basic article + article {
    margin-top: 30px;
}
.basic ul {
    list-style: none;
}
.basic ul li {
    position: relative;
}
.basic ul li:before {
    background: #2c415c none repeat scroll 0 0;
    border-radius: 50%;
    content: "";
    display: block;
    height: 8px;
    left: -32px;
    position: absolute;
    top: 7px;
    width: 8px;
}

.contactus {
    background-color: #f3efe8;
}
.contactus .address {
    padding: 28px 20px;
    background-color: #c3aba1;
}
.contactus h2 {
    font-size: 28px;
    font-family: 'Libre Baskerville', serif;
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 43px;
    color: #fafafa;
}
.contactus h2:after {
    content: "";
    display: block;
    position: absolute;
    width: 41px;
    height: 2px;
    background: #482826;
    bottom: 0;
    left: 0;
}
.contactus .address, .contactus .address a {
    font-size: 18px;
    font-weight: 500;
    font-family: 'Raleway', sans-serif;
    color: #482826;
    text-decoration: none;
}
.contactus .address ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contactus .address ul li {
    margin-bottom: 30px;
}
.contactus .address ul p {
    margin: 0 0 3px 0;
}
.contactus .address .fn {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Libre Baskerville', serif;
    margin-bottom: 28px;
}
.contactus .address .fn-subheader {
    font-size: 22px;
    font-weight: bold;
    font-family: 'Libre Baskerville', serif;
    margin-bottom: 4px;
}
.contactus .address .tel:before {
    content: "Phone:";
    font-weight: bold;
    margin-right: 5px;
}
.contactus .address .fax:before {
    content: "Fax:";
    font-weight: bold;
    margin-right: 5px;
}
.contactus .address .email:before {
    content: "Email:";
    font-weight: bold;
    margin-right: 5px;
}
.contactus .map {
    background-color: #fafafa;
    padding: 10px;
    height: 100%;
}
.contactus #gmapc {
    width: auto;
    height: 200px;
    margin: 0;
}

.cfwrapper {
    background-color: #F3EFE8;
}
.contactform {
    padding: 30px 20px;
}

.contactform h3 {
    font-size: 32px;
    font-family: 'Libre Baskerville', serif;
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 16px;
    color: #482826;
}
.contactform h3:after {
    content: "";
    display: block;
    position: absolute;
    width: 41px;
    height: 2px;
    background: #482826;
    bottom: 0;
    left: 0;
}
.contactform h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #482826;
}
.contactform .uk-form-row {
    margin-bottom: 20px;
}
.contactform label.uk-form-label {
    font-size: 18px;
    font-weight: 400;
    color: #482826;
    margin-bottom: 10px;
}
.contactform label.uk-form-label.required span {
    position: relative;
}
.contactform label.uk-form-label.required span:after {
    content: "*";
    display: inline-block;
    font-size: 23px;
    position: absolute;
    right: -13px;
    top: 0;
}
.contactform input[type=text], .contactform textarea {
    font-size: 18px;
    font-weight: 400;
    font-family: 'Raleway', sans-serif;
    color: #000;
    width: 100%;
    height: 40px;
    border: 1px solid #a2a2a2;
}
.contactform textarea {
    height: 110px;
    resize: none;
}
.contactform input[type=text].error, .contactform textarea.error {
    border: 1px solid red;
    background: rgba(255,0,0,.2);
}
.contactform button {
    display: inline-block;
    width: 196px;
    height: 33px;
    border: 3px solid #bb9f94;
    font-size: 14px;
    font-weight: 600;
    color: #0e284d;
    text-align: center;
    text-transform: uppercase;
    background: transparent;
    transition: all .6s;
}
.contactform button:hover {
    background: #bb9f94;
    color: #fff;
}
.contactform .msg {
    font-size: 16px;
    font-weight: 400;
    color: #482826;
}

/* ===== Media Queries ====================================================== */

@media only screen and (min-width: 375px) {
    
}

@media only screen and (min-width: 480px) {

}

@media only screen and (min-width: 640px) {
    
}

@media only screen and (min-width: 768px) {
    
    .wrapper {
        width: 90%;
        max-width: 1380px;
    }
    
    .logo {
        margin-top: 20px;
    }
    
    .bluebox {
        padding-bottom: 44px;
    }
    
}

@media only screen and (min-width: 1024px) {
    
    .uk-grid > .uk-width-large-1-2 {
        padding-right: 35px;
    }
    .uk-grid.uk-grid-collapse > .uk-width-large-1-2 {
        padding-right: inherit;
    }
    
    #top-partners.uk-margin-large-bottom, #associated-offices.uk-margin-large-bottom, #publications.uk-margin-large-bottom {
        margin-bottom: 150px !important;
    }
    
    #mainnav {
        margin-top: 55px;
    }
    #mainnav nav {
        display: block;
        align-items: inherit;
        justify-content: inherit;
        position: relative;
        width: 100%;
        height: auto;
        background-color: #fafafa;
        color: #0e284d;
        transform: translateX(0);
        z-index: 0;
    }
    #mainnav nav ul {
        height: 100%;
        margin: 0;
        overflow: visible;
    }
    #mainnav nav ul li {
        display: inline-block;
        position: relative;
        padding: 0 25px;
        text-align: left;
        margin-bottom: 0;
        line-height: inherit;
    }
    #mainnav nav ul li:last-child {
        padding-right: 0;
    }
    #mainnav nav ul li:before {
        content: "";
        display: block;
        width: 2px;
        height: 2px;
        background: #bb9f94;
        position: absolute;
        left: -1px;
        top: calc(50% - 1px);
    }
    #mainnav nav ul li:first-child:before {
        display: none;
    }
    #mainnav nav ul li.active:after {
        display: none;
    }
    #mainnav nav ul li a {
        display: block;
        font-size: 14px;
        font-weight: bold;
        color: #0e284d;
        position: relative;
    }
    #mainnav nav ul li a:after {
        content: "";
        display: block;
        position: absolute;
        top: 18px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #482826;
        opacity: 0;
        transition: all .4s;
    }
    #mainnav nav ul li.active a:after, #mainnav nav ul li a:hover:after {
        top: 23px;
        opacity: 1;
    }
    
    #navtrigger, #navtrigger-close {
        display: none;
    }
    
    .slideshow-outer {
        padding: 60px 35px 82px;
        min-height: 615px;
    }
    .slideshow-inner {
        padding: 30px 34px;
        display: inline-block;
        width: 570px;
        background: rgba(195,171,161,.8);
    }
    
    h2.default {
        margin: 80px 0 60px 0;
    }
    
    #top-partners ul {
        padding-top: 40px;
    }
    
    .bluebox .uk-margin-bottom {
        margin-bottom: 50px !important;
    }
    
    .bluebox .pttrn {
        margin: 0 10%;
    }
    
    #gmap {
        width: auto;
        height: 300px;
        margin: 0 10% 0 0;
    }
    
    #publications h2.default {
        margin-top: 0;
    }
    #publications > div {
        min-height: 455px;
    }
    
    .bookplace {
        max-width: 427px;
        position: absolute;
        top: 0px;
        right: -80px;
        z-index: 1;
    }
    .descplace {
        position: absolute;
        top: 180px;
        left: 16px;
        z-index: 2;
    }
    .descplace nav {
        background-color:inherit;
    }
    .descplace .cycle-slideshow {
        min-width: 406px;
    }
    .footer {
        padding: 23px 0 13px 0;
    }
    .footer nav {
        margin-bottom: 30px;
    }
    .footer nav ul li {
        margin-right: 50px;
    }
    .footer nav ul li a {
        font-size: 14px;
    }
    
    .basic {
        padding: 70px 90px;
    }
    .basic h1 {
        font-size: 32px;
        margin-bottom: 70px;
    }
    
    .contactus {
        padding: 60px 36px;
    }
    .contactus .address {
        padding: 30px 36px;
    }
    .contactus #gmapc {
        height: 577px;
        height: 100%;
    }
    
    .contactform {
        padding: 50px 0 50px 70px;
    }
    
    .cta {
        justify-content: flex-end;
    }
    
}

@media only screen and (min-width: 1140px) {
    
}


/* ===== Browser Upgrade Prompt ============================================= */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ===== Print styles ======================================================= */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}