body, .text-slide h1 {
    font-family: 'Jost', sans-serif;
}

body {
    font-family: 'Jost', sans-serif;
    font-size: 1.1rem;
    color: #000000;
    font-weight: 300;
}

.image-caption {
    padding-top: 1rem;
}

.image-caption, th {
    font-weight: 500;
}

nav {
    padding: 0.3rem 0;
}

nav ul li {
    padding: 0 1.5rem;
}

nav ul {
    margin-bottom: 0;
}

nav ul li a,
nav ul li a:visited,
nav ul li a:hover,
.resource-details h3 a,
.resource-details h3 a:visited {
    color: #000000;
    text-decoration: none;
}

.navBar, .notificationBar {
    margin-bottom: 2rem;
}

.event .navBar, .index .navBar, .index .notificationBar {
    margin-bottom: 0;
}

.container.header {
    max-width: 950px;
}


.quote-heading h2 {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.2;
}

.quote-heading h3 {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.2;
}

footer {
    padding-top: 30px;
}

.index footer {
    padding-top: 0;
}

.index footer hr {
    margin-top: 0;
    margin-bottom: 2rem;
}

footer p {
    font-size: 0.9rem;
}

.small p {
    font-size: 1rem;
    font-weight: 300;
}

h1, h2, h3 {
    font-family: 'Saira', sans-serif;
}

.project-page h2 {
    font-size: 1.50rem;

}

.project-page .intro {
    margin-bottom: 3.5rem;
}

.list-inline-item:not(:last-child) {
    margin-right: initial;
}



/** CONTACT FORM */
.btn {
    background-color: red;
    border-color: red;
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
    white-space: normal;
}

.btn:hover,
.front-page-botton-container:hover .btn {
    background-color: #685E59;
    border-color: #685E59;
}

.btn-primary:focus {
    border: none !important;
    box-shadow: none !important;
    outline: 0 none !important;
}

.hidden, [data-visible="false"] {
    display: none!important;
}

.sendPending {
    font-size: 7rem;
    color: rgb(62, 62, 117);
    margin: 0 auto;
}

#contactForm .form-group,
#bookingForm .form-group {
    margin-bottom: 25px;
}

#contactForm .form-group input,
#contactForm .form-group textarea,
#bookingForm .form-group input,
#bookingForm .form-group textarea {
    padding: 20px;
}

#contactForm .form-group input.form-control,
#bookingForm .form-group input.form-control {
    height: auto;
}

#contactForm .form-group textarea.form-control,
#bookingForm .form-group textarea.form-control {
    height: 248px;
    font-weight: 300;
}

#contactForm .form-control:focus
#bookingForm .form-control:focus, {
    border-color: #fed136;
    box-shadow: none;
}

#contactForm ::-webkit-input-placeholder,
#bookingForm ::-webkit-input-placeholder {
    font-weight: 500;
    color: #9ea0a3;
}

#contactForm :-moz-placeholder,
#bookingForm :-moz-placeholder {
    font-weight: 500;
    color: #9ea0a3;
}

#contactForm ::-moz-placeholder,
#bookingForm ::-moz-placeholder {
    font-weight: 500;
    color: #9ea0a3;
}

#contactForm :-ms-input-placeholder,
#bookingForm :-ms-input-placeholder {
    font-weight: 500;
    color: #9ea0a3;
}

/** PROJECT IMAGE OVERLAPS */
.img-move-wrapper {
    position:relative;
    max-width:1140px;
    margin:0 auto;
    /*border: 1px dashed grey;*/
}

.proj-img-column {
    height: fit-content ;
    display: flex;

}

.project-highlights .row {
    padding: 0 0 3.5rem 0;
}

.project-highlights .row:last-child {
    padding: 0;
}

/* Overlap the images on tablets and up */
@media (min-width:769px) {
    .img-move {
        position:relative;

    }

    .img-before {
        z-index: 10;
        width:40%;
    }

    .img-after {
        z-index: 200;
        width: 65%;
        margin-top: -120px;
    }

    .landscape.img-before {
        z-index: 10;
        width:60%;
        top:24px;
    }

    .landscape.img-after {
        z-index: 200;
        width: 90%;
        margin-top: 10px;
    }

    .imgs-left .img-before,
    .imgs-right .img-after {
        float: left;
    }

    .imgs-right .img-before,
    .imgs-left .img-after {
        float: right;
    }
}
/**/

.logo {
    padding: 1.5rem 0;
}

.text-slide {
    padding: 0 2rem;
    text-align: center;
    flex-wrap: wrap;

}

.text-slide h1 {
    font-size: 1em;
    flex: 0 0 100%;
    font-weight: 300;
}


@media (min-width: 450px) {

    .quote-heading h2 {
        font-size: 1.8rem;
    }

    .quote-heading h3 {
        font-size: 1.5rem;
    }
}


@media (min-width: 850px) {
    .text-slide h1 {
        font-size: 1.2em;
    }

    .quote-heading h2 {
        font-size: 2.2rem;
    }

    .quote-heading h3 {
        font-size: 1.9rem;
    }
}

.text-slide-1 {
    background-color: #685E59;
    color: white;
}

.text-slide-2 {
    background-color: black;
    color: white;
}

.text-slide-3 {
    background-color: red;
    color: white;
}

.about-image {
    width: 35%;
    float: right;
}

.opening-para {
    font-size: 1.2rem;
    font-weight: 500;
}

.img-container img {
    -webkit-box-shadow: 21px 20px 37px -20px rgba(0,0,0,0.50);
    -moz-box-shadow: 21px 20px 37px -20px rgba(0,0,0,0.50);
    box-shadow: 21px 20px 37px -20px rgba(0,0,0,0.50);
    margin-bottom: 1.5rem;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
}

.img-container img:hover,
.front-page-botton-container:hover .front-page-button-image  {
    transform: scale(1.1);
}

.resource-details h3 {
    font-size: 1.1rem;
}

/* video player stuffs */
.youtube {
    background-color: #000;
    margin-bottom: 1rem;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
}
.youtube img {
    width: 100%;
    top: -16.84%;
    left: 0;
    opacity: 0.7;
}
.youtube .play-button {
    width: 90px;
    height: 60px;
    background-color: #333;
    box-shadow: 0 0 30px rgba( 0,0,0,0.6 );
    z-index: 1;
    opacity: 0.8;
    border-radius: 6px;
}
.youtube .play-button:before {
    content: "";
    border-style: solid;
    border-width: 15px 0 15px 26.0px;
    border-color: transparent transparent transparent #fff;
}
.youtube img,
.youtube .play-button {
    cursor: pointer;
}
.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before {
    position: absolute;
}
.youtube .play-button,
.youtube .play-button:before {
    top: 50%;
    left: 50%;
    transform: translate3d( -50%, -50%, 0 );
}
.youtube iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.dropdown-item {
    font-weight: 300;
}

.category-heading {
    padding-bottom: 0.5rem;
    margin-bottom: 1.75rem;
    border-bottom: 3px solid red;
}

.secondary-category {
    border-bottom: 3px solid #685E59;
}

.dropdown-item:hover {
    background-color: #685E59;
    color: #FFFFFF;
}

.icon {
    width: 30px;
    height: 30px;
    margin-right: 0.5rem;
}

.icon-pdf {
    filter: invert(23%) sepia(40%) saturate(6894%) hue-rotate(343deg) brightness(97%) contrast(77%);
}

h3 {
    font-size: 1rem;
}

.floatBanner{
    position: fixed;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 9999;
    border-radius: 1px;
    background: rgba(0,0,0,0.8);
    max-width: 450px;
    display: none;
    color: white;
}

.cc-bottom{
    right:1em;
    bottom:1em;
}

.floatBanner .closeButton {
    width: 1.5rem;
    position: relative;
    left: 0.75rem;
    bottom: 0.85rem;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
}

.eventBannerCloseButton {
    width: 1.5rem;
    position: relative;
}

.floatBanner .closeButton:hover {
    cursor: pointer;
}

.floatBanner .btn,
.front-page-buttons-section .btn {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.website-thumb {
    width: 100%;
}

@media (max-width: 575.98px) {

    .carousel-image-wrapper {
        max-height: 350px;
    }

    .text-slide {
        z-index: 50;
        background: rgba(0,0,0,0.8);
    }

    .text-slide h1 {
        padding: 1.5rem 0;
    }

    .about-image {
        width: 90%;
        float: initial;
    }

    .floatBanner {
        max-width: 100%;
    }

}

@media (max-width: 810px) {

    nav ul li {
        padding: 0 1rem;
    }
}

.resource-details h3 a:after {
    width: 17px;
    height: 17px;
    background-image: url('/assets/img/icons/foreign.svg');
    display: inline-block;
    content: '';
    position: relative;
    left: 0.5rem;
    filter: invert(13%) sepia(31%) saturate(6045%) hue-rotate(226deg) brightness(87%) contrast(127%);
}

.img-container:hover + .resource-details h3 a,
.resource-details h3 a:hover {
    color: #012f91;
}

.book-thumb {
    max-width: 150px;
}

.card-title {
    height: 40px;
    vertical-align: middle;
}

.card-title, .card-header, .expander-icon, .expand-arrow, .expander-icon:before, .btn {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
}

h4.card-title {
    height: 40px;
    font-size: 1.1rem;
    vertical-align: middle;
    margin: 0;

}

.expander-icon:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    width: 50px;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    padding: 0;
    margin-right: 0.75rem;
}

.icon-supplies:before {
    background-image: url('/assets/img/P-icons/tap-1.svg');
}

.icon-estates:before {
    background-image: url('/assets/img/P-icons/document-and-pencil.svg');
}

.icon-conveyancing:before {
    background-image: url('/assets/img/P-icons/key.svg');
}

.icon-investing:before {
    background-image: url('/assets/img/P-icons/compass.svg');
}

.icon-financial:before {
    background-image: url('/assets/img/P-icons/calculator.svg');
}

.icon-pension:before {
    background-image: url('/assets/img/P-icons/statistic.svg');
}

.icon-auction:before {
    background-image: url('/assets/img/P-icons/hammer.svg');
}

.recommended-partners .card-header:hover, .expander-open {
    background-color: #685E59;
}

.recommended-partners .card-header:hover h4,
.recommended-partners .expander-open h4 {
    color: #FFFFFF;
}

.recommended-partners .card-header:hover .expander-icon:before,
.recommended-partners .card-header:hover .expand-arrow,
.expander-open .expander-icon:before,
.expander-open .expand-arrow {
    filter: invert(99%) sepia(3%) saturate(0%) hue-rotate(317deg) brightness(115%) contrast(100%);
}

.expand-arrow {
   width: 20px;
   margin-top: 10px;
}

.expander-open .expand-arrow {
  /*transform: rotate(180deg);*/
  transform: scaleY(-1);
}

.front-page-buttons-section {
    /*background-color: black;
    color: white;*/
    border-top: 1px solid rgba(0,0,0,.1);
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.front-page-button-image {
    width: 40%;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
}

.notificationBar {
    background-color: #f8f9fa;
    display: none;
}