/* CUSTOM GRID SPACE */

h1, h2, h4, h5, p, span {
    font-weight: normal;
    margin-bottom: 0;
}

body h1, h1 {
    font-size: 41px;
    line-height: 120%
}

body h2, h2 {
    font-size: 30px;
    line-height: 120%;
}

body h3, h3 {
    font-size: 20px;
    font-weight: 300
}

body h4, h4 {
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

body p, p,
body li, li {
    font-size: 18px
}

.wpb_wrapper ul {
    margin: 0
}

.wpb_wrapper ul li {
    padding-left: ;
    list-style: none;
    padding-bottom: 1rem
}

.wpb_wrapper li::before {
    content: "▪︎";
    padding-right: 8px;
    opacity: .6
}

body b, b, strong {
    font-weight: 300;
}

.light h1, .light h2, .light h3, .light h4, .light h5, .light h6, .light p,
.full-width-section >.col.span_12.light, .full-width-content >.col.span_12.light, .col.span_12.light .wpb_text_column >.wpb_wrapper >ul {
    color: #FFF5E9;
}

#slide-out-widget-area {
  background: #FFF5E9
}

.lines:after {
    top: -9px
}

.close .lines:after {
    top: -6px
}

.full-width-content {
    padding: 0 3rem;
}

#header-outer.transparent.dark-slide > #top nav ul .slide-out-widget-area-toggle a .lines-button i:before,
#header-outer.transparent > #top nav ul .slide-out-widget-area-toggle a .lines:before {
    visibility: hidden;
}

#header-outer.transparent > #top nav ul .slide-out-widget-area-toggle a .close .lines:before {
    visibility: visible;
}

#footer-outer,
#footer-outer #copyright {
    background-color: #4F2E2E;
}

#footer-outer[data-full-width="1"] .container,
#footer-outer #copyright {
    padding: 0 3rem;
}

#footer-outer a {
    color: #FFF5E9;
}

#footer-outer p {
    font-size: 14px;
    color: #FFF5E9;
}

#footer-outer #menu-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

#footer-outer #footer-widgets .col ul li:first-child >a {
    padding: 8px 0 !important
}

#footer-outer a:hover {
    color: #FFF5E9 !important;
    text-decoration: underline 
}

#copyright .container {
    display: flex;
    justify-content: space-between; 
    padding: 0 !important;
}

#copyright .container .col:first-child {
    background: url(/wp-content/uploads/2022/04/small-logo-light.svg) no-repeat 0 0
}

#copyright .container .col:nth-child(2) {
    display: flex;
    justify-content: space-around;
}

#footer-outer #copyright .col {
    float: none;
    margin: 0 auto;
}

#footer-outer #copyright .col ul {
    padding: 0 !important;
    font-size: 14px;
}

#footer-outer #copyright a {
    color: #FFF5E9;
}

#footer-outer #copyright li {
    font-size: 14px;
}

#footer-outer #copyright a:hover {
    color: #FFF5E9 !important;
    text-decoration: underline 
}

#to-top {
    position: static;
    width: 100% ;
    height: auto;
    transform: none !important
}

#to-top:hover {
    background-color: transparent !important
}

a[id="to-top"] {
    display: none !important;
}

#slide-out-widget-area a, 
#slide-out-widget-area, 
#slide-out-widget-area h4, 
#slide-out-widget-area h3 {
    color: #3B3942 !important;
    
}

#slide-out-widget-area .inner .off-canvas-menu-container li a,
#slide-out-widget-area.slide-out-from-right .inner .off-canvas-menu-container li a {
    opacity: 1 !important;
    font-size: 30px;
    line-height: 240%;
    display: table 
}

#slide-out-widget-area .inner .off-canvas-menu-container li a:after {
    content: '';
    width: 0%;
    height: 2px;
    background: #3B3942;
    display: table;
    position: relative;
    top: -11px;
    opacity: 0;
    
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);
    transition: transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);
    
    -ms-transform:scaleX(0);
     -webkit-transform:scaleX(0);
     transform:scaleX(0);
}

#slide-out-widget-area .inner .off-canvas-menu-container li.current_page_item a:after,
#slide-out-widget-area .inner .off-canvas-menu-container li a:hover:after {
    opacity: 1;
    width: 100%;
    -ms-transform:scaleX(100%);
     -webkit-transform:scaleX(100%);
     transform:scaleX(100%);
}

#contactBar .iwithtext {
    display: flex;
    justify-content: center;
}

#contactBar .iwithtext .iwt-icon {
    position: static;
    order: 2;
    width: 40px;
    height: 40px;
    transition: width .5s;
}

#contactBar .iwithtext .iwt-icon img {
    width: 100%;
    min-width: 40px;
}

#contactBar .iwithtext .iwt-text {
    padding: 0;
    order: 1;
}

#list .nectar-hor-list-item {
    border-bottom: .5px solid rgba(59, 57, 66, 0.3);
    padding: 1rem 0
}

#list .nectar-hor-list-item  div:first-child {
    font-weight: 300;
}

#list .nectar-hor-list-item  div:last-child {
    padding-left: 8%;
    width: 45%;
}

#list .nectar-list-item {
    font-size: 20px;
}

.m1 {
    background: url(/wp-content/uploads/2022/04/arrow-black-down.svg) no-repeat 3rem bottom 
}

.m2 .row_col_wrap_12_inner {
    background: url(/wp-content/uploads/2022/04/arrow-white-down.svg) no-repeat right 0
}

#teamGrid img {
    max-width: 265px;
    border-radius: 100%
}


.divider-border.completed {
    height: .5px !important
}

/* CONTACT */
#contact form {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 3rem;
}

#contact .wpcf7 form.sent .wpcf7-response-output {
    position: absolute;
    bottom: -2rem;
    padding: 0;
    margin: 0;
    left: 50%;
    border: none ;
    background: none;
    font-weight: 600;
    font-size: 15px;
    color: #8E5435
}

#contact .col {
    margin-right: 5rem
}

#contact form p {
    background: none;
    padding: 0;
    margin: 0
}

#contact form br {
    display: none
}

#contact form input, #contact form textarea {
    background: transparent;
    border: 1px solid rgba(71, 69, 79, 0.3);
    margin-bottom: .7rem;
    font-size: 20px;
    height: 3.5rem;
    outline: none !important;
    box-shadow: none;
    -webkit-appearance: none
}

#contact form textarea {
    height: 10rem
}

#contact form input:focus, #contato form textarea:focus {
    border-color: #3B3942
}

#contact form input[type="submit"] {
    color: #3B3942;
    font-size: 30px;
    font-weight: normal;
    padding: 0 !important;
    border: none;
    width: 8rem;
    text-align: left;
    background: url(/wp-content/uploads/2022/04/arrow-black-right.svg) no-repeat right center;
}

#contact form input[type="submit"]:hover {
    width: 9rem;
    transition: width .5s;
}

.wpcf7-spinner {
    display: none;
}

#contact .policy-radio, #contact .policy-radio div {
    display: flex;
    justify-content: space-between;
    margin-bottom: .5rem;
    text-transform: uppercase;
}

#contact span.wpcf7-list-item {
    margin: 0 auto
}

#contact .kc_captcha {
    margin-bottom: 1rem
}

#contact .policy-radio a {
    color: #8E5435;
    margin-left: .3rem
}

#contact .policy-radio a:hover {
    text-decoration: underline
}

#contact input[type=checkbox] {
    position: relative;
    cursor: pointer;
    margin: 0;
    margin-right: 15px;
    visibility: hidden;
    height: .7rem;
    padding-left: .5rem
}

#contact input[type=checkbox]:before {
    content: "";
    visibility: visible;
    display: block;
    position: absolute;
    width: 18px;
    height: 18px;
    top: -6px;
    left: 0;
    border: .5px solid #3B3942;
    background-color: #FFF5E9
}

#contact input[type=checkbox]:checked:after {
    content: "";
    display: block;
    visibility: visible;
    width: 5px;
    height: 10px;
    border: solid #3B3942;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: -3px;
    left: 7px
}

.bottom_controls {
    display: none;
}

.nectar-flickity[data-controls="touch_total"] .visualized-total {
    width: 30%;
}

.light .nectar-flickity[data-controls="touch_total"] .visualized-total {
    background: rgba(59, 57, 66, 0.4);
}

ul.portfolio-items {
    position: static !important;
    float: none !important;
}

ul.portfolio-items li::before {
    display: none;
}

body .portfolio-items .col .work-item.style-4 {
    overflow: visible 
}

.portfolio-items .work-info,
.portfolio-items .col .work-item.style-4 .work-info .bottom-meta {
    transform: none;
    position: static;
    padding: 0;
    background: none !important;
    color: #3B3942
}

.portfolio-items .col .work-item.style-4 .work-info .bottom-meta h3 {
    font-weight: normal;
    text-transform: uppercase;
    font-size: 12px;
    color: #3B3942;
    letter-spacing: 0.2em;

}

.portfolio-items .col .work-item.style-4 .work-info .bottom-meta p {
    display: none 
}

.portfolio-items .col .work-item.style-4:hover img {
    transform: none;
}

.carousel-heading {
    display: none;
}

.home .blog-recent h3 {
    font-weight: normal;
    font-size: 20px !important;
    margin-top: .5rem
}

.home .blog-recent .excerpt,
.home .blog-recent .meta-category {
    display: none;
}

/* POSTS */
body.single-post #page-header-wrap {
    display: none 
}

body.single-post .container {
    max-width: 100%;
    padding: 0 3rem;
}

#post-header h1 {
    max-width: 500px; 
}

#post-header {
    border-bottom: .5px solid #3B3942;
    padding-bottom: 2rem;
    margin-top: 5rem
}

#post-header .meta-date {
    font-size: 20px;
    display: block;
    margin-bottom: 1rem; 
}

#post-header .voltar {
    background: url(/wp-content/uploads/2022/04/arrow-black-left.svg) no-repeat 0 0;
    font-size: 0;
    height: 5rem;
}

body.single-post .post-area {
    padding: 0 ;
    max-width: 100% !important;
}

body.single-post article #heroPost {
    margin: 4rem 0;
}

body.single-post article #heroPost img {
    max-width: 830px;
    display: block;
    margin: 0 auto;

}

body.single-post .post-content .content-inner {
    width: 50%;
    margin: 0 auto;
}


/* ARTICLE PAGE */
#articlePage .blog-recent h3 {
    font-size: 20px;
    font-weight: normal;
    padding-bottom: 1rem;
    margin-top: 1rem;
    border-bottom: .5px solid #3B3942;
}

#articlePage .blog-recent .meta-category {
    display: none;
}

#articlePage .blog-recent .excerpt {
    color: #828282;
    font-size: 18px;
    
    line-height: 120%;
    overflow: hidden;
    display: -webkit-box; 
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: 5rem;
}

.button_inline.bl {
    margin: 0
}

.button_inline.bc {
    margin: 0 auto
}

.button_inline.br {
    float: right 
}

.button_inline {
    display: table ;
}

.button_inline:after {
    content: '';
    width: 100%;
    height: .5px;
    display: table;
    position: relative;
    top: .3rem
}

div[data-midnight="light"] .button_inline:after {
    background: #F7E8D5 
}

div[data-midnight="dark"] .button_inline:after {
    background: #3B3942 
}

div[data-midnight="light"] .button_inline a {
    color: #F7E8D5 
}

div[data-midnight="dark"] .button_inline a {
    color: #3B3942 
}

.column-link {
    z-index: 99
}

.iwithtext {
    display: flex;
}

#goldenvisa-row h3 {
    margin-bottom: 0;
}

.iwithtext .iwt-icon {
    order: 2;
    position: static;
    padding-left: 1rem
}

.iwithtext .iwt-text {
    order: 1;
    padding: 0
}

.wpb_column:hover .iwithtext .iwt-icon,
.animation:hover .img-with-aniamtion-wrap,
#contactBar:hover .iwithtext .iwt-icon {
    animation: shimmy 1s infinite;
    animation-direction: alternate;
}

@keyframes shimmy {
  0% {
    transform: translate(0, 0);    
  }
  100% {
    transform: translate(20px, 0);
  }
}

.portfolio-items .work-item img {
    width: 97% !important
}

.portfolio-items .work-item img,
.blog-recent a img {
	opacity: 1;
	-webkit-transition: .3s ease-in-out !important;
	transition: .3s ease-in-out !important;
}

.portfolio-items .work-item:hover img,
.blog-recent a:hover img {
	opacity: .6;
}

.toggle h3 a,
.toggle h3,
.toggle h3 a i {
    font-size: 30px;
    line-height: 120%;
}

div[data-style="minimal"] .toggle {
    border-bottom: .5px solid rgba(59, 57, 66, 0.2);
}

div[data-style*="minimal"] .toggle h3 i {
    border: none;
}

.blog_next_prev_buttons {
    display: none 
}

.nectar-flickity[data-controls*="arrows_overlaid"] .flickity-prev-next-button svg {
    top: 11.5px;
}

.nectar-flickity[data-controls*="arrows_overlaid"] .flickity-prev-next-button:before {
    background-color: #FFF5E9
}

.nectar-flickity.nectar-carousel.nectar-carousel:not(.masonry) .flickity-viewport {
    margin: 2rem 0
}


/* BIG SCREENS */
@media only screen and (min-width: 1690px) {
    .full-width-content,
    #footer-outer[data-full-width="1"] .container, 
    #footer-outer #copyright {
        padding: 0 6rem;
    }
    
    .wpb_text_column {
        max-width: 100% !important
    }
}

/* MOBILE */
@media only screen and (max-width: 668px) {
    
    body h1, h1 {
        font-size: 35px;
    }

    body h2, h2 {
        font-size: 25px;
        margin-bottom: 1rem
    }

    body h3, h3 {
        font-size: 17px;
    }

    body h4, h4 {
        font-size: 10px;
    }

    body p, p,
    body li, li,
    #list .nectar-list-item {
        font-size: 16px
    }
    
    body .first-section {
        padding-top: 7rem !important
    }
    
    .m1 {
        background-position: 2rem bottom;
        padding-bottom: 4rem !important;
        margin-bottom: 3rem !important
    }
    
    #slide-out-widget-area .inner .off-canvas-menu-container li a, 
    #slide-out-widget-area.slide-out-from-right .inner .off-canvas-menu-container li a {
        font-size: 25px;
    }
    
    body #header-outer[data-permanent-transparent="1"].transparent:not(.dark-slide) > #top .span_9 > .slide-out-widget-area-toggle .lines:before,
    body #header-outer[data-permanent-transparent="1"].transparent.dark-slide > #top .span_9 > .slide-out-widget-area-toggle.mobile-icon .lines:before {
        display: none;
    }
    
    .slide-out-widget-area-toggle.mobile-icon .lines-button:after, 
    .slide-out-widget-area-toggle.mobile-icon .lines:before, 
    .slide-out-widget-area-toggle.mobile-icon .lines:after {
        height: 1px !important;
    }
    
    #header-outer .slide-out-widget-area-toggle.mobile-icon .lines:after {
        top: -9px
    }
    
    body #slide-out-widget-area .slide_out_area_close .icon-default-style {
        color: #3B3942 !important;
    }
    
    body[data-slide-out-widget-area-style="simple"] #header-outer[data-full-width="true"] #mobile-menu, body #header-outer[data-full-width="true"] header > .container, 
    body #header-secondary-outer[data-full-width="true"] > .container,
    .full-width-content {
        padding: 0 2rem;
    }
    
    #heroHome .divider-wrap {
        height: 1rem
    }
    
    #heroHome .button_inline.br {
        float: none;
        margin-bottom: 2rem
    }
    
    #portugal-row .right.img-with-aniamtion-wrap {
        text-align: left;
        margin: 1rem 0
    }
    
    #portugal-row h2,
    #projects-row h2,
    #news-row h2 {
        margin-top: 1rem
    }
    
    #projects-row ul.portfolio-items {
        width: 100% !important
    }
    
    #projects-row .carousel-wrap {
        margin: 0;
    }
    
    #projects-row .carousel-wrap[data-full-width="true"] .span_4.no-margin {
        margin-right: 1rem;
        width: 100% !important
    }
    
    #projects-row .caroufredsel_wrapper {
        width: 100% !important;
    }
    
    #news-row .divider-wrap {
        height: 1rem
    }
    
    #news-row .post {
        margin-bottom: 2rem
    }
    
    #news-row .button_inline.bc {
        margin: 0 0 3rem;
    }
    
    #contactBar .iwithtext {
        flex-wrap: wrap;
    }
    
    .faq .iwt-text {
        margin-right: 1rem
    }
    
    .faq .iwt-text h2 {
        margin: 0;
        line-height: 2.5rem
    }
    
    .iwithtext .iwt-icon {
        padding-left: 0;
    }
    
    .iwithtext .iwt-text {
        padding-right: 2rem
    }
    
    .portfolio-items .col {
        float: none 
    }
    
    .carousel-outer,
    body .carousel-wrap,
    .full-width-content .caroufredsel_wrapper,
    .portfolio-items{
        overflow: visible !important;
        height: auto !important  
    }
    
    #portfolio-extra #heroHome.first-section {
        padding-top: 12rem !important
    }
    
    #teamGrid {
        margin-bottom: 4rem
    }
    
    #teamGrid img {
        margin: 0 0 1rem;
        max-width: 10rem;
    }
    
    #articlePage .post {
        margin: 2rem 0 3rem;
    }
    
    body.single-post article #heroPost {
        margin: 2rem 0
    }
    
    body.single-post .post-content .content-inner {
        width: 100%;
    }
    
    body.single-post article #heroPost img {
        width: 100%;
    }
    
    #contact .col {
        margin: 0;
    }
    
    #contact form {
        flex-wrap: wrap;
    }
    
    #contact .policy-radio, #contact .policy-radio div {
        font-size: 11px;
        line-height: 120%
    }
    
    #footer-outer #menu-footer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    } 
    
    #copyright .container,
    #copyright .container .col:nth-child(2) {
        flex-wrap: wrap;
    }
    
    #footer-outer #copyright p {
        line-height: 120%;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        padding: 0 0 1rem
    }

    #footer-outer #copyright .container div:last-child {
        margin: 2rem 0
    }
    
    #footer-outer .row {
        padding: 3rem 0 2rem
    }

}


