/*
Theme Name: oxenwood
Theme URI: http://underscores.me/
Author: Figaro Brands
Author URI: https://www.figarobrands.com
Description: Oxenwood Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: oxenwood
*/





/*--------------------------------------------------------------
## Header desktop
--------------------------------------------------------------*/

.l-header {
    height:100px;
}

.l-header .desktop-nav .l-row {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.l-header .l-row__gr.desktop-header {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.l-header .desktop-nav .c-static-links__item {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.l-header .c-static-links--horizontal {
    margin-right: -15px;
    margin-left: -15px;
}
.l-header .c-static-links a:not([class]) {
    padding-right: 0px;
    padding-left: 0px;
    margin-left:15px;
    margin-right:15px;
    /* letter-spacing: 0.2em; */
    /*color:#fff;*/
}
.xl-header a:not([class]) {
    color: currentColor;
}
.l-header .desktop-nav a {
    color:#fff;
}

li.current_page_item a {
    /*border-bottom:1px solid #fff;*/
    -webkit-box-shadow: inset 0px -1px 0px 0px #FFFFFF;
    box-shadow: inset 0px -1px 0px 0px #FFFFFF;
}

.c-static-links--horizontal a:not([class]):before {
    left: 0px;
    width: -webkit-calc(100% - 0px);
    width: -moz-calc(100% - 0px);
    width: calc(100% - 0px);
}
#menu-foot {
    flex-wrap: wrap;
}
#footer-social {
    margin-left: 30px;
    display: flex;
}

@media screen and (min-width: 768px) {
    .l-header > .l-inner.mobile-nav {
        display:none;
    }
}

@media screen and (min-width: 1504px) {
    .l-header {
        height: 120px;
    }
}

@media screen and (max-width: 767px) {
    .l-header > .l-inner.desktop-nav {
        display:none;
    }
}

/*--------------------------------------------------------------
## Home Slider
--------------------------------------------------------------*/

/* h2.t-size-4l-dynamic {
    font-size: -webkit-calc(20px * .5 + 4vh);
    font-size: -moz-calc(20px * .5 + 4vh);
    font-size: calc(20px * .5 + 4vh);
} */

/*--------------------------------------*/

.l-full-screen .page-template-tpl-portfolio-europe {
    height:100%; /* sets map over page scroll for euro portfolio */
}

/*li.c-articles-teasers-filters-list__item:first-of-type {
    display:none;
} Hide current year from News sub links - for when current year has no news yet */

.l-header {
    /*background-color:rgba(0,88,68, 0.8);*/
    background-color: #005844;
}
.page-template-tpl-about .l-header,
.page-template-tpl-investors .l-header,
.page-template-tpl-people .l-header,
.page-template-tpl-responsibility .l-header {
    background-color:rgba(0,88,68, 0.8);
    /*background-color: #005844;*/
}
.home .l-header {
    background-color:rgba(0, 88, 68, 0);
}
.l-header.is-small {
    background-color: #005844;
}
.c-logo-box__title {
    text-indent:-9999px;
    font-weight:800;
    font-size:0.8em;
    letter-spacing:0.18em;
}
.c-logo-box__subtitle {
    text-indent:-9999px;
    letter-spacing:0.25em;
    font-size:0.48em
}
.o-icon--logo,
.c-logo-box.c-logo-box--alt .o-img-svg-wrapper {
    width:150px;
}
.c-logo-box--defualt .c-logo-box__title,
.c-logo-box--defualt .c-logo-box__subtitle {
    margin-left:0;
    margin-top:3px;
    line-height:normal;
}
.c-logo-box--defualt .c-logo-box__subtitle {
    margin-top:0px;
}
svg#oxenwood-logo .cls-1 {
    fill:#fff!important;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.has-menu-opened svg#oxenwood-logo .cls-1 {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    fill:#005844!important;
}

.c-header-tools__inner li.figaro-link {
    display:none;
}

img.aligncenter {
    margin:0 auto;
}

/*--footer logo--*/
.o-img-svg-wrapper img {
    width: 150px;
}

.xc-static-links--with-separator .c-static-links__item + .c-static-links__item::before {
    margin:7.5px;
}

.page-template-tpl-portfolio h3,
.page-template-tpl-portfolio-europe h3 {
    display:inline-block;
}

div.status {
    font-family: "Montserrat", sans-serif;
    display:inline-block;
    background-color:#1a972b;
    color:#fff;
    font-size:10px;
    font-weight:600;
    padding:2px 8px 1px 8px;
    margin: 0 0 10px 8px;
    position:absolute;
}
.single-property div.status,
.single-euro-property div.status {
    top: 0;
    left: 0;
    width:250px;
    text-align:center;
    padding:2px 5px 1px 5px;
    -ms-transform: rotate(-45deg); /* IE 9 */
    -ms-transform-origin: 70% 380%; /* IE 9 */
    -webkit-transform: rotate(-45deg); /* Safari 3-8 */
    -webkit-transform-origin: 70% 380%; /* Safari 3-8 */
    transform: rotate(-45deg);
    transform-origin: 70% 380%;
    margin: 0;
    font-size:18px;
}
.single-property div.status,
.single-euro-property div.status {
    top: 15px;
    left: -5px;
}


/*---General info pages---*/

.page-template-tpl-info #main,
.error404 #main {
    margin:200px 100px 100px 100px;
}
.error404 #main {
    text-align:center;
}

/*--contact-form---*/
.wpcf7 .f-form input[type=checkbox] {
    -webkit-appearance:checkbox!important;
}

/*---Privacy Policy---*/
.page-id-286 .entry-content h2,
.page-id-286 .entry-content h3,
.page-id-286 .entry-content h4,
.page-id-286 .entry-content h5,
.page-id-286 .entry-content h6 {
    font-size:1.1em;
    font-weight:800;
    text-transform:uppercase;
    margin:35px 0px 15px 0px!important;
}
.page-id-286 .entry-content ul,
.page-id-286 .entry-content ol {
    margin-left:20px;
}

/*-----News-----*/

h4.news-green {
    color:#004538;
    margin:25px 0 15px 0;
}
span.news-green-bold {
    color:#004538;
    font-weight:bold;
}

a span.c-labelx:hover {
    color:#fff!important;
}
.l-article__head__actions a.s-btn.s-btn--3:hover {
    color:#fff!important;
}

/*----TEAM PAGE----*/

.header-bg {
    background-position:50% 50px;
}
.page-template-tpl-people .t-sec-title {
    line-height: 1.3;
    text-align: center;
}

/*--------PEOPLE-----------*/

/*---hide team header---*/
.page-id-785 .c-hero-item__inner {
    display:none;
}
.page-id-785 .c-hero-item {
    height: 20px;
    padding-bottom: 25px;
}
/* end hide team header--*/

.single #single-wrapper a,
.single #single-wrapper a:hover {
    color:#1c2936;
    text-decoration:underline!important;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.single #single-wrapper a:hover {
    color:#8e9194;
}

#team-member-single {
    margin-top:120px;
    padding-bottom:35px;

}

#team-member-single .people-image,
#team-member-single .people-content,
.single .container .content {
    z-index:20;
}
#team-member-single .people-content a {
    color:#1c2936;
}
#team-member-single .people-content a:hover {
    color:#8e9194;
}

#team-member-single p.telephone {
    margin-bottom:0px;
}
#management {
    padding:60px 0;
    color:#1c2936;
}
#management a,
#management a:hover {
    color:#1c2936;
}
#management .management-team {
    padding:60px 0;
}
#team .team-box {
    margin-bottom:40px;
    /*background-color:#f6f6f7;*/
    text-align:center;
}
#management .team-details {
    padding:30px;
}
.page-template-tpl-people #team img {
    filter: gray; /* IE5+ */
    -webkit-filter: grayscale(1); /* Webkit Nightlies & Chrome Canary */
    -webkit-transition: all .8s ease-in-out;
}

.page-template-tpl-people #team img:hover {
    filter: none!important;
    -webkit-filter: grayscale(0)!important;
    -webkit-transition: all .8s ease-in-out;
}


#single-wrapper {
    padding-top:50px;
    padding-bottom:50px;

}
#post-nav {
    top:0!important;
    padding-bottom:85px;
}
#close {
    z-index:10;
}

#team .anim {
    transform: translateY(150px);
    opacity:0;
    animation: come-in 0.8s ease forwards;
}

#team .anim:nth-child(2) {
    animation-delay: 0.2s;
}
#team .anim:nth-child(3) {
    animation-delay: 0.4s;
}
#team .anim:nth-child(4) {
    animation-delay: 0.6s;
}
#team .anim:nth-child(5) {
    animation-delay: 0.8s;
}
#team .anim:nth-child(6) {
    animation-delay: 1s;
}

@keyframes come-in {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

h2.team .t-sec-title {
    color:#004538;
    font-weight:500;
    font-size:2rem;
}
h2.team {
    padding:35px 0;
}
h4.team .t-sec-title,
.single h1.team .t-sec-title {
    font-size:0.8rem;
    font-weight:600;
    letter-spacing: .15rem;
}
.single h1.team .t-sec-title {
    font-size:1.2rem;
}
h4.team {
    margin:15px 0 0px 0;
}
h5.team {
    font-size:1rem;
}
.single h2.team {
    font-size:1.2rem;
    padding:0;
    color:#004538;
}
.people-content p {
    margin-top:40px;
}

#nav-prev-post,
#nav-next-post {
    position:relative;
}
#nav-prev-post {
    float:left;
    display:inline;
    width:50%;
    padding-left:25px;
}
#nav-next-post {
    float:right;
    display:inline;
    width:50%;
    text-align:right;
    padding-right:25px;
}
#close {
    float:right;
    position:absolute;
    padding:25px;
    top:85px;
    right:15px;
    width:80px;

}
.icon-close-window {
    color:#004538;
}
.single .chevron-left::before {
    animation:chevroninleft 0.5s forwards;
}



.single a:hover .chevron-left::before {
    animation:chevronleft 0.5s forwards;

}

@keyframes chevroninleft {
    0% {
        opacity: 1;
        transform: translateX(-30%);


    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes chevronleft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 1;
        transform: translateX(-30%);
    }
}

.single .chevron-right::before {
    animation:chevroninright 0.5s forwards;
}

.single a:hover .chevron-right::before {
    animation:chevronright 0.5s forwards;
}
@keyframes chevronright {
    0% {
        opacity: 1;
        transform: translateX(0);

    }
    100% {
        opacity: 1;
        transform: translateX(30%);
    }
}
@keyframes chevroninright {
    0% {
        opacity: 1;
        transform: translateX(30%);

    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.single a .icon-close-window::before {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.single a:hover .icon-close-window::before {
    /*animation:rotate90 0.1s forwards;*/
    -ms-transform: scale(0.8); /* IE 9 */
    -webkit-transform: scale(0.8); /* Safari */
    transform: scale(0.8); /* Standard syntax */
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

@keyframes rotate90 {
    0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    }
    100% {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);

    }
}

/*---Portfolio---*/

.single-property .l-main,
.single-euro-property .l-main {
    margin-top: 85px;
}

@media screen and (min-width: 768px) {
    #post-nav {
        position: absolute;
        top: 300px;
        width: 100%;
    }
}

[class^="icon-"]:before, [class*=" icon-"]:before {
    font-size:2em;
}
.xpeople-nav i:before {
    margin-left:0!important;
}

#nav-prev-post a:not([class]):before,
#nav-next-post a:not([class]):before {
    background-color:transparent!important;
}


/*----------------------RESPONSIBILITY-----------------------------*/

section.grey {
    background-color: #F2F5F5;
}
.page-template-tpl-responsibility section {
    padding-top:60px;
    padding-bottom:60px;
}
.page-template-tpl-responsibility section#intro {
    padding-top:80px;
    padding-bottom:80px;
}
.page-template-tpl-responsibility section#portfolio {
    padding-top:120px;
    padding-bottom:120px;
}
.page-template-tpl-responsibility section#intro p {
    color:#004538;
    font-size: 1.3rem;
    line-height: 1.5rem;
}
.page-template-tpl-responsibility section#panel-intro h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.0126em;
    color: #004538;
}
img.social {
    padding-left:30%;
}
.panel-title {
    color:#004538;
    font-size:1.7rem;
    margin-bottom:15px;
}
.panel-subtitle {
    margin-bottom:35px;
}
.page-template-tpl-responsibility h2 {
    padding-bottom:30px;
}

.page-template-tpl-responsibility section#panel-1 p,
.page-template-tpl-responsibility section#panel-2 p,
.page-template-tpl-responsibility section#panel-2 ul,
.page-template-tpl-responsibility section#panel-3 p {
    padding-left: 30px;
    font-size: 1.25rem;
    line-height: 1.45rem;
}
.page-template-tpl-responsibility section#panel-2 ul {
    margin-left:30px;
}
.page-template-tpl-responsibility section#panel-1 img:first-of-type {
    padding-bottom: 20px;
}
.page-template-tpl-responsibility section#panel-3 p {
    padding-left: 0px;
}

@media screen and (min-width: 768px) and (max-width: 1023.98px) {
    .l-header .desktop-nav .l-row {
        flex-wrap: nowrap;
    }
    #menu-foot {
        padding-left: 30px;
        margin-top: 10px;
    }
}

@media screen and (min-width: 1024px) {
    #menu-foot {
        margin-top: 5px;
    }
}

/* @media screen and (min-width: 1188px) {
    .single-property div.status,
    .single-euro-property div.status {
        font-size: 20px;
    }
} */

@media screen and (min-width: 1200px) {
    .header-bg {
        background-position:50% -30px;
    }
}

@media screen and (min-width: 1500px) {
    .header-bg {
        background-position:50% -120px;
    }
}

@media screen and (min-width: 1504px) {
    .c-logo-box.c-logo-box--alt .o-img-svg-wrapper {
        width: 224px;
    }
    .l-header .o-img-svg-wrapper img {
        width: 100%;
    }
    #menu-foot {
        margin-top: 15px;
    }
    /* .single-property div.status,
    .single-euro-property div.status {
        font-size: 22px;
    } */
}

@media screen and (max-width: 768px) {
    .l-full-screen .page-template-tpl-portfolio-europe {
        height:auto;
    }
    #close {
        padding: 5px 0px 0 50px;
        right: 10px;
    }
    [class^="icon-"]:before, [class*=" icon-"]:before {
        font-size:1em;
    }
        img.social {
        padding:0 20%;
    }
    .page-template-tpl-responsibility section .content {
        padding-bottom:40px;
    }
    .page-template-tpl-responsibility section#panel-intro img {
        padding:0 20%;
    }
}
