* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Neighbour Sans', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #363636;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body#body-static {
    background-color: #FFFFFF;
}

body.front-editing {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#body-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#content-wrapper {
    background-color: #FFFFFF;
    flex-grow: 1;  /* combined with body rules, this makes sure the footer always touches the bottom of the window*/
    /*overflow: hidden; //removed so that the category and sort by dropdowns on the discover search results page */
    /* can be seen floating above the footer on a search page with no results. I'm not sure if this will cause */
    /* problems elsewhere */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1em;
    margin: 0;
}

h1 {
    font-size: 30px;
    font-weight: 500;
    font-style: normal;
    color: #363636;
}

h1.page-title {
    margin: 40px 0 20px 0;
}

p {
    font-size: 14px;
}

a {
    text-decoration: none;
    color: #2A5EEC;
}

a:hover, a:focus {
    text-decoration: none;
    color: #263645;
    outline: none;
}

a.dark {
    color: #363636;
}

a.dark:hover, a.dark:focus {
    color: #2A5EEC;
}

a img {
    border: none;
}

a, button {
    outline: none;
}

ul, ol {
    margin: 0;
}

input[type='text'],
input[type='password'],
input[type='email'],
select,
textarea {
    width: 100%;
    font-size: 14px;
    margin-bottom: 15px;
    border: none;
    border-radius: 3px;
    outline: none;
    background-color: #EEEEED;
}

input::placeholder {
    color: #11265E;
    font-weight: 400;
    letter-spacing: 0.03em;
}

select,
input[type='text'],
input[type='password'],
input[type='email'] {
    height: 45px;
    padding: 0 10px;
}

textarea {
    resize: none;
    padding: 10px;
}

input[type='file'] {
    font-size: 14px;
    margin-bottom: 15px;
}

input[type=checkbox]:hover {
    cursor: pointer;
}

section.dev_row {
    padding: 20px 0;
    clear: both;
}

section.dev_row:last-of-type {
    padding-bottom: 200px;
}

.server_error {
    padding: 40px 0;
}

.server_error h1 {
    margin-bottom: 12px;
}

.ajax-success {
    color: #499E57;
}

.ajax-error {
    color: #A50F25;
}

/*========== Bootstrap Overrides ==========*/
.container {
    padding-right: 30px;
    padding-left: 30px;
}

.row {
    margin-right: -30px;
    margin-left: -30px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3,
.col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8,
.col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10,
.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-right: 30px;
    padding-left: 30px;
}

/*========== COMMON CLASSES ==========*/
.wrapper {
    float: left;
    clear: both;
    width: 100%;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clear-both {
    clear: both;
}

a.block {
    display: block;
}

.no-list {
    list-style: none;
}

.bullet-list {
    margin-left: 30px;
}

.btn {
    display: block;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #FFFFFF;
    padding: 9px 20px 4px 20px;
    background: #11265E;
    border: none;
    border-radius: 3px;
    white-space: normal;
}

.btn:hover,
.btn:focus {
    color: #FFFFFF;
    background: #2A5EEC;
}

.btn.blue {
    background: #2A5EEC;
}

.btn.blue:hover,
.btn.blue:focus {
    background: #11265E;
}

.btn.yellow {
    background: #FFD405;
}

.btn.yellow:hover,
.btn.yellow:focus {
    background: #F7CD00;
}

a.btn.yellow {
    color: #000000 !important;
}

.btn span.btn-plus {
    font-family: Georgia, 'Apple Symbols', serif;
    font-stretch: normal;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
}

.btn.flex-height {
    height: auto;
    white-space: normal;
    padding-right: 12px;
    padding-left: 12px;
}

.btn.btn-minor {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    padding: 9px 20px 6px 20px;
}

ul.errorlist {
    list-style: none;
}

#content-wrapper ul.errorlist {
    margin-left: 0;
}

div.errors,
ul.errorlist li {
    color: #DE483C;
    font-size: 14px;
    font-weight: 500;
}

ul.collapse-nodes ul {
    display: none;
}

ul.collapse-nodes li label:hover {
    cursor: pointer;
}

/* sadly these unicode characters do not appear for everyone (especially mobile browsers)
    so we use images instead
ul.collapse-nodes li label.has-children:after {
    content: '\00a0\025B8';
    font-family: Helvetica, Arial, sans-serif;
}

ul.collapse-nodes li label.has-children.node-visible:after {
    content: '\00a0\025BE';
    font-family: Helvetica, Arial, sans-serif;
}
*/
ul.collapse-nodes li label.has-children:after {
    content: url('/static/images/rtrif.png?89faaf6f82fb');
}

ul.collapse-nodes li label.has-children.node-visible:after {
    content: url('/static/images/dtrif.png?89faaf6f82fb');
}

/*========== END COMMON CLASSES ==========*/


/*========== HEADER ==========*/
#header {
    position: relative;
    z-index: 2;
    padding: 0;
}

#header #logo {
    position: absolute;
    top: -1px;
    left: 21px;
    z-index: 410;
}

.navbar {
    margin: 0;
    padding: 0;
    background: #11265E;
    border-radius: 0;
    z-index: 1020;
    height: 95px;
}

.navbar-collapse {
    padding: 0;
}

.navbar-brand {
    padding: 0 0 0 20px;
}

.navbar-toggle .icon-bar {
    height: 4px;
    background-color: #FFFFFF;
}

@media (max-width: 768px) {
    .navbar-brand {
        margin-top: 5px;
    }

    .navbar-brand img {
        width: 225px;
    }
}

@media (max-width: 575px) {
    #header #logo {
        display: block;
        position: relative;
        top: -1px;
        left: 0;
        width: 260px;
        height: 90px;
        line-height: 82px;
    }

    #header #logo img {
        width: 100%;
    }
}
/*========== END HEADER ==========*/


/*========== FOOTER ==========*/
.container.with-footer-margin {
    margin-bottom: 80px;
}

.container.with-header-margin {
    margin-top: 80px;
}

#footer-wrapper {
    color: #000000;
    padding: 60px 0 75px 0;
    background-color: #F7F0EB;
}

#footer-wrapper p {
    display: block;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6em;
    letter-spacing: 0.03em;
    margin: 0;
}

#footer-wrapper ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

#footer-wrapper ul li {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 15px 35px;
}

#footer-wrapper a {
    color: #000000;
}

#footer-wrapper a:hover {
    color: #2A5EEC;
}

#footer-wrapper hr {
    height: 2px;
    background: #EFE7E1;
}

#footer-wrapper .copyright {
    padding-top: 20px;
    text-align: center;
}

#footer-wrapper .copyright a {
    text-decoration: underline;
}

#footer-wrapper .copyright p {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.4em;
    margin-bottom: 0 !important;
}

#footer-wrapper .endorsements {
    float: right;
    text-align: right;
}

#footer-wrapper .endorsements img {
    margin-left: 20px;
}

/*==
RESPONSIVENESS
==*/
@media (max-width: 767px) {
    #header {
        padding: 0 15px;
    }

    #footer-wrapper {
        padding: 30px 0 45px 0;
    }

    #footer-wrapper ul {
        flex-direction: column;
    }

    #footer-wrapper ul li {
        text-align: center;
    }
}

@media (min-width: 768px) {
    #footer-wrapper .left-col {
        float: left;
        width: 360px;
    }

    #footer-wrapper .right-col {
        float: right;
        width: 300px;
    }
}

@media (max-width: 991px) {
    #footer-wrapper .endorsements {
        width: 100%;
        padding-bottom: 40px;
        text-align: left;
    }
}

@media (min-width: 992px) {
    #footer-wrapper .container {
        /*background: url('/static/images/logo.png?89faaf6f82fb') center 50px no-repeat;*/
    }

    #footer-wrapper .left-col {
        width: 610px;
    }

    #footer-wrapper .left-col .left-col-copy {
        padding-right: 0;
    }

    #footer-wrapper .right-col {
        width: 300px;
    }

    #footer-wrapper .right-col .right-col-copy {
        padding-left: 30px;
    }
}

@media (min-width: 1199px) {
    #footer-wrapper .left-col {
        width: 740px;
    }

    #footer-wrapper .right-col {
        width: 370px;
    }
}
/*==
END RESPONSIVENESS
==*/
/*========== END FOOTER ==========*/

/*========== RATINGS ==========*/
.rating-wrapper {
    margin: 15px 0;
    height: 30px;
}

.star-rating {
    font-size: 0;
    white-space: nowrap;
    display: inline-block;
    width: 198px;
    height: 30px;
    margin-left: 1px;
    overflow: hidden;
    position: relative;
}


.star-rating.user-controls {
    cursor: pointer;
}

.star-rating .star-i {
    display: inline-block;
    width: 42px;
    height: 30px;
    /*margin-right: 12px; using border instead of margin for better hover performance */
    border-right: 12px solid #FFFFFF;
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0MCIgaGVpZ2h0PSIyNDAiPjxwYXRoIGZpbGw9IiNFOUU3RDgiIGQ9Im00OCwyMzQgNzMtMjI2IDczLDIyNi0xOTItMTQwaDIzOHoiLz48L3N2Zz4=');
    background-size: cover;
}

.star-rating .star-i.yellow {
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0MCIgaGVpZ2h0PSIyNDAiPjxwYXRoIGZpbGw9IiNGNzg4MkQiIGQ9Im00OCwyMzQgNzMtMjI2IDczLDIyNi0xOTItMTQwaDIzOHoiLz48L3N2Zz4=');
}
.star-rating .star-i.blue {
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0MCIgaGVpZ2h0PSIyNDAiPjxwYXRoIGZpbGw9IiMwQzIxNDgiIGQ9Im00OCwyMzQgNzMtMjI2IDczLDIyNi0xOTItMTQwaDIzOHoiLz48L3N2Zz4=');
}
.star-rating .star-i.grey {
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0MCIgaGVpZ2h0PSIyNDAiPjxwYXRoIGZpbGw9IiNFOUU3RDgiIGQ9Im00OCwyMzQgNzMtMjI2IDczLDIyNi0xOTItMTQwaDIzOHoiLz48L3N2Zz4=');
}
.star-rating .star-i.white {
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0MCIgaGVpZ2h0PSIyNDAiPjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Im00OCwyMzQgNzMtMjI2IDczLDIyNi0xOTItMTQwaDIzOHoiLz48L3N2Zz4=');
}

.star-rating .star-i.star-overlay {
    position: absolute;
    border-right: none!important;
}

.star-rating .star-i.star-overlay-hidden[style] {
    opacity: 0!important;
}

.star-rating .star-i.hover-select {
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0MCIgaGVpZ2h0PSIyNDAiPjxwYXRoIGZpbGw9IiMwQzIxNDgiIGQ9Im00OCwyMzQgNzMtMjI2IDczLDIyNi0xOTItMTQwaDIzOHoiLz48L3N2Zz4=')!important;
}

.document-item.medium .star-rating {
    width: 165px;
}

.document-item.medium .star-rating .star-i {
    width: 34px;
    height: 28px;
    border-right: 6px solid #FFFFFF;
}

.document-item.medium .rating-wrapper {
    margin: 10px 0;
}

/*========== END RATINGS ==========*/


/*========== FAVORITES ==========*/
.favorite {
    display: inline-block;
    width: 24px;
    height: 20px;
    background-size: contain;
}
.heart-white {
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyOTlweCIgaGVpZ2h0PSIyNTJweCIgdmlld0JveD0iMCAwIDI5OSAyNTIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI5OSAyNTIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0yNDguMDc4LDUuODgzYy0zNi42OTEtMTQuNzM5LTc3Ljc3MS0wLjgzOS05OC41MTcsMzEuMTI1QzEyOC44MTcsNS4wNDQsODcuNzM1LTguODU2LDUxLjA0Myw1Ljg4M0M5LjM1NCwyMi42MzItMTAuODYzLDcwLjAwOSw1Ljg4NywxMTEuNjk2YzE2LjA2LDM5Ljk4LDE0My4zMTQsMTM5LjYwNywxNDMuMzE0LDEzOS42MDdsMC4zNTksMC4yOGwwLjM2LTAuMjhjMCwwLDEyNy4yNTEtOTkuNjI3LDE0My4zMTQtMTM5LjYwN0MzMDkuOTg2LDcwLjAwOSwyODkuNzY4LDIyLjYzMiwyNDguMDc4LDUuODgzeiIvPjwvc3ZnPg==);
}
.heart-dark-grey {
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyOTlweCIgaGVpZ2h0PSIyNTJweCIgdmlld0JveD0iMCAwIDI5OSAyNTIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI5OSAyNTIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGZpbGw9IiM4MjdGNzUiIGQ9Ik0yNDguMDc4LDUuODgzYy0zNi42OTEtMTQuNzM5LTc3Ljc3MS0wLjgzOS05OC41MTcsMzEuMTI1QzEyOC44MTcsNS4wNDQsODcuNzM1LTguODU2LDUxLjA0Myw1Ljg4M0M5LjM1NCwyMi42MzItMTAuODYzLDcwLjAwOSw1Ljg4NywxMTEuNjk2YzE2LjA2LDM5Ljk4LDE0My4zMTQsMTM5LjYwNywxNDMuMzE0LDEzOS42MDdsMC4zNTksMC4yOGwwLjM2LTAuMjhjMCwwLDEyNy4yNTEtOTkuNjI3LDE0My4zMTQtMTM5LjYwN0MzMDkuOTg2LDcwLjAwOSwyODkuNzY4LDIyLjYzMiwyNDguMDc4LDUuODgzeiIvPjwvc3ZnPg==);
}
.heart-red {
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyOTlweCIgaGVpZ2h0PSIyNTJweCIgdmlld0JveD0iMCAwIDI5OSAyNTIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI5OSAyNTIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwYXRoIGZpbGw9IiNERTQ4M0MiIGQ9Ik0yNDguMDc4LDUuODgzYy0zNi42OTEtMTQuNzM5LTc3Ljc3MS0wLjgzOS05OC41MTcsMzEuMTI1QzEyOC44MTcsNS4wNDQsODcuNzM1LTguODU2LDUxLjA0Myw1Ljg4M0M5LjM1NCwyMi42MzItMTAuODYzLDcwLjAwOSw1Ljg4NywxMTEuNjk2YzE2LjA2LDM5Ljk4LDE0My4zMTQsMTM5LjYwNywxNDMuMzE0LDEzOS42MDdsMC4zNTksMC4yOGwwLjM2LTAuMjhjMCwwLDEyNy4yNTEtOTkuNjI3LDE0My4zMTQtMTM5LjYwN0MzMDkuOTg2LDcwLjAwOSwyODkuNzY4LDIyLjYzMiwyNDguMDc4LDUuODgzeiIvPjwvc3ZnPg==);
}
/*========== END FAVORITES ==========*/


/*========== MODAL DIALOGS ==========*/
.modal .modal-body.inner-scroll {
    max-height: 450px;
    overflow-y: auto;
}

.modal .modal-content {
    border-radius: 0;
    border: none;
    background-color: #FFFFFF;
    color: #0055A6;
}

.modal .modal-content a {
    color: #263645;
}

.modal .modal-content a:hover {
    color: #827F75;
}

.modal .modal-body {
    padding: 30px 30px 20px 30px;
}

.modal .modal-footer {
    text-align: left;
    border-top: none;
    font-size: 14px;
    font-weight: 600;
    padding: 0 30px 30px 30px;
}

.modal .modal-footer span {
    font-weight: 500;
}

.modal .close {
    margin: 0;
    font-size: 32px;
    font-weight: 300;
    color: #0055A6;
    font-family: Georgia, 'Apple Symbols', serif;
    background-color: #FFFFFF;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    filter: alpha(opacity=100);
    opacity: 1;
}

.modal .close:hover {
    color: #827F75;
}

.modal .modal-header .close {
    position: relative;
    left: 44px;
    top: -34px;
}

.modal .modal-header .close span {
    display: block;
    position: relative;
    top: -2px;
}

.modal .modal-header {
    border-bottom: none;
    background-color: #0055A6;
    padding: 20px 30px;
}

.modal .modal-header .modal-title {
    font-size: 20px;
    font-weight: 400;
    font-family: 'Raleway', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-style: normal;
    color: #FFFFFF;
}

.modal .modal-body label {
    font-weight: 400;
}

.modal .modal-footer .btn {
    float: left;
}

.modal .modal-footer .btn+.btn {
    margin-left: 15px;
}

.modal .modal-footer .btn.btn-block {
    margin-top: 10px;
}

#language_modal ul.language-list {
    list-style: none;
    float: left;
    padding: 30px 60px 0 0;
}

#language_required_modal ul.language-list {
    list-style: none;
    float: left;
    padding: 0 60px 0 0;
}

#language_modal ul.language-list li,
#language_modal .language-sublist-area ul li,
.language-preference-wrapper ul li,
#language_required_modal ul.language-list li {
    padding: 0 0 10px 0;
    position: relative;
}

#language_modal .language-sublist-area ul li:last-of-type,
#language_required_modal .language-sublist-area ul li:last-of-type {
    padding-bottom: 0;
}

#language_modal ul.language-list li a,
#language_modal .language-sublist-area ul li a,
.language-preference-wrapper ul li a,
#language_required_modal ul.language-list li a {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Merriweather', Helvetica, Arial, sans-serif;
    font-style: normal;
    color: #0C2148;
}

#language_modal .language-sublist-area {
    overflow: hidden;
    margin-top: 30px;
    padding: 0 20px 0 26px;
}

#language_modal .language-sublist-area ul {
    list-style: none;
    border-left: 1px solid #0C2148;
    padding-left: 20px;
}

#language_modal ul.language-list ul,
#language_required_modal ul.language-list ul {
    display: none;
}

.language-preference-wrapper ul {
    list-style: none;
}

.language-preference-wrapper ul ul {
    margin: 12px 0 0 40px;
}

#language_modal ul.language-list a:hover,
#language_modal .language-sublist-area ul a:hover,
#language_modal .language-sublist-area ul a:focus,
#language_modal ul.language-list li.active a,
#language_required_modal ul.language-list a:hover,
#language_required_modal ul.language-list li.active a {
    color: #DC671C;
}

#language_modal ul.language-list a.menu-arrow {
    width: 26px;
    height: 37px;
    font-size: 22px;
    line-height: 20px;
    display: none;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    position: absolute;
    right: -90px;
    top: 1px;
    z-index: 5;
}

#language_modal ul.language-list a.menu-arrow:after {
    content: '\025B8';
    color: #DC671C;
}

/*========== END MODAL DIALOGS ==========*/


/*========== CHOSEN OVERRIDES ==========*/
#content-wrapper .chosen-container {
    border-radius: 3px;
    margin-bottom: 15px;
}

#content-wrapper .chosen-container .chosen-single {
    height: 45px;
    padding: 0 0 0 10px;
    background: #EEEEED;
    border: none;
    border-radius: 3px;
    box-shadow: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#content-wrapper .chosen-with-drop .chosen-single {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

#content-wrapper .chosen-single span {
    font-size: 14px;
    line-height: 45px;
    color: #363636;
    margin-right: 30px;
    border-right: none;
}

#content-wrapper .chosen-single div {
    width: 45px;
    background-color: #827F75;
}

#content-wrapper a:hover {
    text-decoration: none;
}

#content-wrapper .chosen-single div b {
    /*background: url('/static/images/chosen/chosen-sprite.png?89faaf6f82fb') -2px 14px no-repeat;*/
    background-image: none;
    height: 34px;
    width: 15px;
    margin-left: 17px;
    margin-top: 1px;
    line-height: 45px;
}

#content-wrapper .chosen-single div b:after {
    content: "\025BE";
    color: #FFFFFF;
    font-size: 26px;
    font-family: Georgia, 'Apple Symbols', serif;
    font-stretch: normal;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
}

#content-wrapper .chosen-with-drop .chosen-single div b {
    /*background: url('/static/images/chosen/chosen-sprite.png?89faaf6f82fb') -20px 14px no-repeat;*/
    background-image: none;
}

#content-wrapper .chosen-with-drop .chosen-single div b:after {
    content: "\025B4";
}

#content-wrapper .chosen-drop {
    margin-top: 0;
    background: #FFFFFF;
    border-top: none;
    border-right: 2px solid #EEEEED;
    border-bottom: 2px solid #EEEEED;
    border-left: 2px solid #EEEEED;
    border-radius: 0 0 5px 5px;
    -webkit-box-shadow: 0 7px 10px -1px rgba(0,0,0,.5);
    -moz-box-shadow: 0 7px 10px -1px rgba(0,0,0,.5);
    box-shadow: 0 7px 10px -1px rgba(0,0,0,.5);
    overflow: hidden;
}

#content-wrapper .chosen-drop .chosen-search {
    padding-top: 10px;
    padding-bottom: 10px;
}

#content-wrapper .chosen-drop .chosen-search input[type=text] {
    background-image: url('/static/images/chosen/chosen-sprite.png?89faaf6f82fb');
}

#content-wrapper .chosen-drop .chosen-results {
    width: 100%;
    margin: 0;
    padding: 0;
}

#content-wrapper .chosen-drop .chosen-results li {
    width: 100%;
    font-size: 14px;
    color: #0C2148;
    margin: 0;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#content-wrapper .chosen-drop .chosen-results li.result-selected,
#content-wrapper .chosen-drop .chosen-results li.highlighted,
#content-wrapper .chosen-drop .chosen-results li:hover {
    color: #0C2148;
    background: transparent;
}

#content-wrapper .chosen-drop .chosen-results li.result-selected {
    background: #EEEEED;
}

#content-wrapper .chosen-drop .chosen-results li.disabled-result {
    color: #CCCCCC;
}

#content-wrapper .chosen-container-single .chosen-search input[type=text] {
    background-color: #FFFFFF;
    border: 1px solid #EEEEED;
}

#content-wrapper .chosen-container-single .chosen-single abbr {
    position: absolute;
    top: 18px;
    right: 70px;
    display: block;
    width: 12px;
    height: 12px;
    background: url('/static/images/chosen/chosen-sprite.png?89faaf6f82fb') -42px 1px no-repeat;
    font-size: 1px;
}

#content-wrapper #small-contact-form .chosen-container-single .chosen-search input[type=text] {
    padding: 4px 20px 4px 5px;
}

#content-wrapper #small-contact-form .chosen-container-single {
    margin-bottom: 26px;
}

#content-wrapper .chosen-container .chosen-results li.level_0 {
    padding-left: 10px;
    color: #0C2148;
    font-weight: 600;
}

#content-wrapper .chosen-container .chosen-results li.level_1 {
    padding-left: 40px;
    color: #0055A6;
}

#content-wrapper .chosen-container .chosen-results li.level_2 {
    padding-left: 70px;
    color: #363636;
}

#content-wrapper .chosen-container .chosen-results li.level_3 {
    padding-left: 100px;
    color: #363636;
}

#content-wrapper .chosen-container .chosen-results li.level_4 {
    padding-left: 130px;
    color: #363636;
}

#content-wrapper .chosen-container .chosen-results li.level_5,
#content-wrapper .chosen-container .chosen-results li.level_6,
#content-wrapper .chosen-container .chosen-results li.level_7,
#content-wrapper .chosen-container .chosen-results li.level_8,
#content-wrapper .chosen-container .chosen-results li.level_9 {
    padding-left: 160px;
    color: #363636;
}

#content-wrapper form .g-recaptcha div {
  margin-bottom: 15px;
}

#content-wrapper form.registration-form .g-recaptcha div {
  margin: 10px auto 0 auto;
}

/*=== fixes chosen width on window resize ===*/
[class*="col-"] .chosen-container {
    width:100%!important;
}
[class*="col-"] .chosen-container .chosen-search input[type="text"] {

}
[class*="col-"] .chosen-container .chosen-drop {
    width: 100%!important;
}

/*========== END CHOSEN OVERRIDES ==========*/

/*========== RIBBON ==========*/

.ribbon {
    display: flex;
    flex-direction: row;
    background: #827F75;
    width: 100%;
    height: 15px;
    overflow: hidden;
}

.ribbon .ribbon-color {
    display: block;
    float: left;
    height: 100%;
}

.ribbon .ribbon-color.color-1 {
    background: #2A5EEC;
    flex: 100;
    min-width: 30px;
}

.ribbon .ribbon-color.color-2 {
    background: #499E57;
    flex: 525;
}

.ribbon .ribbon-color.color-3 {
    background: #FF9C7C;
    flex: 200;
}

.ribbon .ribbon-color.color-4 {
    background: #FFD257;
    flex: 375;
}

.ribbon .ribbon-color.color-5 {
    background: #A50F25;
    flex: 75;
    min-width: 60px;
}

/*==
RESPONSIVENESS
==*/
@media (max-width: 991px) {
    .ribbon .ribbon-color.color-1 {
        flex: 0;
        min-width: 0;
    }
}

/*========== END RIBBON ==========*/

/*========== BILLBOARD AND COVER-IMAGE SECTION ==========*/

#billboard .slides .container-fluid,
#cover-image .container-fluid {
    padding: 0;
    display: flex;
    height: 100%;
}

#billboard .slides .container-fluid {
    flex-direction: row;
}

#cover-image .container-fluid {
    flex-direction: row-reverse;
}

#billboard .slides li,
#cover-image {
	min-width: 300px !important;
}

#billboard .slides li {
	height: 460px;
}

#cover-image {
	height: 380px;
}

.custom-page #cover-image {
	height: 450px;
}

#billboard .slides .color-block,
#cover-image .color-block {
    background-color: #2A5EEC;
    flex-basis: calc(50% - 100px);  /* 200px offset from center */
}

#billboard .slides .color-block .slide-content-block,
#cover-image .color-block .slide-content-block {
    width: 485px;  /* container width 1170 divided in half, minus 200/2 offset from center */
    height: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 40px;
}

#billboard .slides .color-block .slide-content-block {
    float: right;
}

#cover-image .color-block .slide-content-block {
    float: left;
    padding-left: 50px;
}

#billboard .slides .color-block .slide-content-block.no-pages,
#cover-image .color-block .slide-content-block {
    padding-bottom: 0;
}

#billboard .slides .image-block,
#cover-image .image-block {
    background-color: #2A5EEC;
    flex-basis: calc(50% + 100px);  /* 200px offset from center */
    background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
    -ms-behavior: url(/static/js/backgroundsize.min.htc?89faaf6f82fb);
}

#cover-image .image-block.full-image-block {
    flex-basis: 100%;
}

#billboard .slide-content,
#cover-image .slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    color: #FFFFFF;
    word-wrap: break-word;
}

#billboard .slide-content {
    padding: 25px;
}

#cover-image .slide-content {
    padding: 0 25px 25px 25px;
}

#billboard .slide-content h1,
#cover-image .slide-content h1 {
	font-family: 'Neighbour Sans', Helvetica, Arial, sans-serif;
    font-style: normal;
    color: #FFFFFF;
    line-height: 1.1em;
}

#billboard .slide-content h1 {
	font-size: 50px;
	font-weight: 600;
}

#cover-image .slide-content h1 {
    font-size: 35px;
    font-weight: 500;
    padding: 10px 0 20px 0;
}

#billboard .slide-content p,
#cover-image .slide-content p {
	font-family: 'Neighbour Sans', Helvetica, Arial, sans-serif;
	font-size: 16px;
    font-weight: 500;
    line-height: 1.5em;
}

#billboard a.wrapper-link,
#cover-image a.wrapper-link {
    position: absolute;
    top: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
}

#billboard .slide-content a,
#cover-image .slide-content a {
    color: #FFFFFF;
}

#billboard .slide-content a:hover,
#billboard .slide-content a:focus,
#billboard .slide-content a:active,
#cover-image .slide-content a:hover,
#cover-image .slide-content a:focus,
#cover-image .slide-content a:active {
    color: #FFFFFF;
    text-decoration: underline;
}

#cover-image .slide-content-flex {
    display: flex;
    flex-direction: column;
}

#cover-image .slide-content-flex img.white-icon {
    position: relative;
    z-index: 3;
    filter: brightness(0) invert(1);
}

#cover-image .slide-content-flex img.white-icon.magnify-icon {
    left: -24px;
}

#cover-image .slide-content-flex img.white-icon.people-icon {
    left: -2px;
}

#cover-image .full-image-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#cover-image .full-image-block .container {
    position: relative;
}

#cover-image .cover-image-content {
    margin-bottom: 40px;
}

#cover-image .cover-image-content h1 {
    color: #FFFFFF;
    font-size: 60px;
    font-weight: 500;
}

#cover-image .cover-image-content p {
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 500;
}

#cover-image .cover-image-content .cover-image-button {
    display: inline-block;
}

/*==
RESPONSIVENESS
==*/
@media (max-width: 1199px) {
    #billboard .slides .color-block,
    #cover-image .color-block {
        flex-basis: calc(50% - 85px);  /* 170px offset from center */
    }
    #billboard .slides .color-block .slide-content-block,
    #cover-image .color-block .slide-content-block {
        width: 400px;  /* container width 970 divided in half, minus 170/2 offset from center */
    }
    #billboard .slides .image-block,
    #cover-image .image-block {
        flex-basis: calc(50% + 85px);  /* 170px offset from center */
    }
    #billboard .slide-content h1 {
        font-size: 42px;
    }
    #cover-image .slide-content {
        padding: 0 25px 0 25px;
    }
}
@media (max-width: 991px) {
    #billboard .slides .container-fluid,
    #cover-image .container-fluid {
        flex-direction: column-reverse;
    }
    #billboard .slides .color-block .slide-content-block,
    #cover-image .color-block .slide-content-block {
        width: 100%;
    }
    #billboard .slides li {
        height: 630px;
    }
    #billboard .slides .image-block {
        flex-basis: 630px;
    }
    #cover-image {
        height: 560px;
    }
    #cover-image .image-block {
        flex-basis: 560px;
    }
    #billboard .slides .color-block,
    #cover-image .color-block {
        flex-basis: content;
    }
    #cover-image .slide-content-flex {
        flex-direction: row;
    }
    #cover-image .slide-content {
        padding: 25px;
    }
    #cover-image .slide-content-flex img.white-icon.people-icon {
        left: -24px;
    }
}
@media (max-width: 767px) {
    #billboard .slide-content h1,
    #cover-image .slide-content h1 {
        font-size: 36px;
        font-weight: 500;
    }
    #billboard .slide-content p,
    #cover-image .slide-content p {
        font-size: 15px;
        font-weight: 400;
    }
    #cover-image .color-block .slide-content-block {
        padding: 0;
    }
    #cover-image .slide-content-flex img.white-icon.people-icon {
        left: -11px;
    }

    /* in mobile sizes, force editable area images to resize themselves */
    #cover-image .slide-content .cover-image-text-wrapper img[style] {
        max-width: 100% !important;
        height: 100% !important;
    }
}
/*==
END RESPONSIVENESS
==*/

/*========== FLEXSLIDER BILLBOARD OVERRIDES ==========*/
#billboard.flexslider {
	width: 100%;
	margin: 0;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	overflow: hidden;
}

#billboard.flexslider .slides {
	width: 100%;
	height: 100%;
}

#billboard.flexslider .flex-direction-nav a::before {
    display: none;
}

#billboard.flexslider .flex-direction-nav a {
    width: 30px;
    height: 30px;
    margin: -20px 0 0;
    display: block;
    background: none;
    position: absolute;
    top: 50%;
    cursor: pointer;
    text-indent: -9999px;
    opacity: 0;
    -webkit-transition: all .3s ease;
}

#billboard.flexslider .flex-direction-nav a.flex-next {
    background-position: 100% 0;
}

#billboard.flexslider:hover .flex-direction-nav a,
#billboard.flexslider:hover .flex-direction-nav a {
    opacity: 0.8;
}

#billboard.flexslider:hover .flex-next:hover,
#billboard.flexslider:hover .flex-prev:hover {
    opacity: 1;
}

#billboard.flexslider #billboard-controls {
    z-index: 4;
    bottom: 28px;
    right: calc(50% + 100px);
    width: 485px;
    position: absolute;
}

#billboard.flexslider  #billboard-controls .flex-control-nav {
    position: relative;
    bottom: 0;
}

#billboard.flexslider .flex-control-nav li a {
    display: block;
    width: 16px;
    height: 16px;
    background: #FFFFFF;
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
    opacity: 0.4;
}

#billboard.flexslider .flex-control-nav li a.flex-active {
    background: #FFFFFF;
    opacity: 1;
}

/*==
RESPONSIVENESS
==*/
@media (max-width: 991px) {
    #billboard.flexslider #billboard-controls {
        right: 0;
        width: 100%;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    #billboard.flexslider #billboard-controls {
        width: 400px;
    }
}
/*==
END RESPONSIVENESS
==*/
/*========== END BILLBOARD AND COVER-IMAGE SECTION ==========*/

.auth-iframe {
    width: 1px;
    height: 1px;
    display: none;
}

img.toolkit-step-icon {
    margin-bottom: 20px;
}

#content-wrapper #sections div.steps-section p {
    color: #827F75;
    font-size: 16px;
    line-height: 1.7em;
    letter-spacing: 0.03em;
}

.mce-panel {
    margin-bottom: 15px !important;
}
