/*
Theme Name: CBRE Theme
Author: Maqdevelopment
Author URI: http://Maqdevelopment.com
Description: Theme for CBRE blog section
Version: 1.0
*/

.indice {
    background-color: #80ba27;
    max-width: 41em;
    color: #ffffff;
    border-radius: 6px;
    padding: 0.5em 1em 0.5em 2em;
    text-align: left;
}

.indice-item {
    color: #ffffff;
    text-align: left;
}

.indice-enlace {
    color: #ffffff;
}

.indice-enlace:hover {
    color: #00684B;
}

.boton-post {
    background-color: #80ba27;
    color: #ffffff;
    border-radius: 6px;
    padding: 0.5em 1em 0.5em 1em;
    display: block;
    font-size: 1.5em;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 15em;
}

.boton-post:hover {
    color: #00684B
}

/* -------- ACORDEON ------ */
.accordion-bral {
    min-height: 0;
    min-width: 220px;
    width: 50em;
    height: 100%;
    max-width: 100%;
    background-color: #FFF;
    margin: 0px !important;
    text-align: center;
}

.accordion-bral .ac-label {
    border-radius: 6px;
    padding: 5px 20px;
    position: relative;
    display: block;
    height: auto;
    cursor: pointer;
    color: #FFFFFF;
    line-height: 33px;
    font-size: 19px;
    background: #00684B;
    border: 1px solid #CCC;
    max-width: 100%;
    text-align: center;
}

.accordion-bral input + .ac-label {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.accordion-bral input:checked + .ac-label,
.accordion-bral input:checked + .ac-label:active {
    background-color: rgba(79, 79, 79, 0.5) !important;
    color: #FFF;
    box-shadow: 0px 0px 0px 1px rgba(155, 155, 155, 0.3), 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.accordion-bral input.ac-input {
    display: none;
}

.accordion-bral .article {
    background: rgb(240, 240, 240);
    overflow: hidden;
    height: 0px;
    border-radius: 6px;
    max-height: auto;
    max-width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.accordion-bral .article p {
    color: #777;
    line-height: 23px;
    font-size: 14px;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.accordion-bral input:checked ~ .article i {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.accordion-bral input:checked ~ .article.ac-content {
    height: auto;
}

.accordion-bral i {
    position: absolute;
    transform: translate(-30px, 0);
    margin-top: 16px;
    right: 0;
}

.accordion-bral input:checked ~ .ac-label i:before {
    transform: translate(2px, 0) rotate(-45deg);
}

.accordion-bral input:checked ~ .ac-label i:after {
    transform: translate(-2px, 0) rotate(45deg);
}

.accordion-bral i:before, .accordion-bral i:after {
    content: "";
    position: absolute;
    background-color: #FFFFFF;
    width: 3px;
    height: 9px;
}

.accordion-bral i:before {
    transform: translate(-2px, 0) rotate(-45deg);
}

.accordion-bral i:after {
    transform: translate(2px, 0) rotate(45deg);
}

@media (max-width: 550px) {
    .accordion-bral .ac-label {
        border-radius: 6px;
        padding: 5px 20px;
        position: relative;
        display: block;
        height: auto;
        padding-right: 40px;
        cursor: pointer;
        color: #FFFFFF;
        line-height: 33px;
        font-size: 19px;
        background: #00684B;
        border: 1px solid #CCC;
    }

    .accordion-bral i {
        position: absolute;
        transform: translate(-30px, 0);
        margin-top: 2%;
        right: 0;
    }
}

/* -------- END ACORDEON ------ */

.content-area {
    display: inline-block;
}

.content-center {
    margin: 0 auto;
}

.content-full-width {
    width: 100%;
    padding: 2em 4.688em;
    text-align: center;
}

.article-loop {
    position: relative;
    width: 500px;
    height: 500px;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: left;
    margin: 20px;
}

.article-loop .overlay {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    padding: 20px;
    background: rgba(0, 104, 75, 0.5);
}

.article-loop .overlay,
.article-loop .overlay a {
    color: #fff;
}

/* Single */

.content-thin {
    width: 70%;
}

.article-full {
    width: 100%;
    padding: 2em 4.688em;
}

.article-loop,
.article-full {
    display: inline-block;
    vertical-align: top;
    background-color: #FFF;
    border-radius: 4px;
    margin-bottom: 4px;
}

.article-info {
    color: #00684B;
    font-weight: bold;
}


/* Media Queries */

@media screen and (max-width: 85.438em) {

    .content-full-width {
        padding: 2em;
    }

    .article-loop {
        width: 350px;
        height: 350px;
    }


}


@media screen and (max-width: 64.063em) {

    .content-full-width {
        padding: 1em;
    }

    .resume {
        display: none;
    }

    .article-loop {
        width: 300px;
        height: 300px;
    }

}

@media screen and (max-width: 40.000em) {

    .article-loop {
        width: 250px;
        height: 250px;
        margin: 10px;
    }

    .content-thin {
        width: 100%;
    }

    .primary-sidebar {
        width: 100%;
    }

    .banner.single {
        height: 300px;
    }

    .article-full {
        padding: 2em;
    }
}

section.banner.single {
    background-position: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important
}

section.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.blog .claim {
    margin: 2em auto;
}

/*
#menu > li {
  position: relative;
  display: inline-block;
}

#menu li a {
  color: #00684b;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  line-height: 3em !important;
}

#menu li.dropdown > a::after {
  content: "▼";
  padding: 0 8px;
  position: absolute;
  right: 10px;
  top: 0;
  z-index: 99999;
  text-align: center;
  width: 10%;
  height: 100%;
  pointer-events: none;
  font-size: 11px;
}
#menu li.dropdown {
  margin: 0 10px 0 5px;
  position: relative;
}
#menu li ul {
  display: none;
  position: absolute;
  width: max-content;
  bottom: 0;
  left: -60px;
  margin: 0;
  padding: 0;
  height: 0;
  top: 40px;
}

#menu li:hover > ul {
  display: block;
}

#menu li ul li {
  position: relative;
  padding: 0;
  box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px,
    rgba(17, 17, 26, 0.1) 0px 0px 8px;
    border-bottom: 1px solid #00684b;
  background-color: #fff;
  margin: 0;
  text-align:center;
}

#menu li ul li a {
  line-height: 3rem;
  padding: 0.15rem 1rem;
  margin: 0;
}
@media screen and (max-width: 64.063em) {

  #menu li a {
    line-height: 2em !important;
  color: #80BA27;
  }

  #menu li ul {
    display: none;
    position: absolute;
    width: max-content;
    bottom: 0;
    left: 125px;
    margin: 0;
    padding: 0;
    height: 0;
    top: 0px;
  }

  #menu li.dropdown > a::after {
    top: 15px;
    right: 5px;
  }

  #menu.menu-open #menu li ul {
    top: -21px;
    left: 125px;
    max-width: auto;
  }

  #menu li ul li {
    color: #fff !important;
    background: #00684b;
    box-shadow: none;
    z-index: 999;
    max-width: 150px;
  }

  #menu li ul li:not(:nth-child(1)){
    border-top: 1px solid #FFF;
  }

  #menu li ul li a {
    color: #fff !important;
    padding: 0 0.5rem;
    margin: 0;
    font-size: 1em;
    line-height: 1.5rem;
  }
}*/

/* BLOG */

body.home.blog, .blog-container article {
    background-color: var(--light-gray);
}

body.home.blog section.main-banner {
    background-color: white;
}

.blog-article {
    width: 100%;
    height: 100%;
    /*float: left;*/
    /*height: 500px;*/
    position: relative;
    overflow: hidden;
}

.blog-article h2 {
    text-align: left;
}

.blog-article img {
    aspect-ratio: 4 / 3;
}

.blog-container {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 30%);
    grid-column-gap: 5%;
    grid-row-gap: 2em;
    background-color: var(--light-gray);
}

.blog-container article h2 {
    cursor: pointer;
}

.blog-container article h2:hover {
    text-decoration: underline;
}

.blog-container article .date, .article-info.date {
    color: var(--turquoise);
}

.blog-page .pgntn-page-pagination-block .page-numbers {
    background-color: white !important;
    color: var(--gray-2) !important;
    border-radius: 0;
    padding: 0.7em 1.2em;
    transition: background .5s;
}

.blog-page .pgntn-page-pagination-block .page-numbers:hover:not(.dots):not(.current) {
    background-color: var(--gray) !important;
    color: black !important;
}

.blog-page .pgntn-page-pagination-block .page-numbers.current {
    background-color: #00684b !important;
    color: white !important;
}

a.prev.page-numbers img {
    transform: rotateZ(90deg)
}

a.next.page-numbers img {
    transform: rotateZ(270deg)
}

.blog-container article .ts.mb-s, .blog-container article .ts.mb-s h2 {
    margin-bottom: 0;
}

.blog-container article h2 {
    font-size: 1em;
    margin-bottom: .5em !important;
}

.blog-container article {
    margin: 0;
}

footer {
    border-top: 1px solid rgba(var(--main-green-rgba), 0.15);
}

.contact-box.bottom-page > div {
    min-height: 400px;
    background-color: white;
    display: grid;
    grid-template-columns: 60% 40%;
    align-content: center;
}

.contact-box.bottom-page > div > div:first-child {
    font-size: 2em;
    width: 70%;
    justify-self: center;
}

.contact-box.bottom-page div.d-flex {
    justify-self: start;
    column-gap: 8em;
}

.contact-box.bottom-page div.d-flex div.inline {
    flex-direction: column;
    justify-content: center;
}

.breadcrumb-container {
    width: 75%;
    margin: 0 auto;
    padding: 2em 0;
}

.breadcrumb-container a {
    color: var(--main-green);
    font-weight: bold;
    cursor: pointer;
}

.breadcrumb-container a:hover {
    text-decoration: underline;
}

.breadcrumb-container p {
    margin: 0;
    padding: 0;
}

.breadcrumb-container span {
    font-weight: bold;
    color: var(--light-green);
}

.breadcrumb-container img {
    transform: rotateZ(270deg);
    margin: 0 1em;
}

.primary-sidebar {
    width: 100%;
    background-color: var(--light-gray);
}

.article-container h1, .article-container h2 {
    color: var(--main-green);
}

.article-container h1 {
    font-size: 2.5em;
}

.article-container h2 {
    font-size: 2em;
    text-align: left;
}

.article-container a {
    width: 100vw;
}

.article-full {
    margin-bottom: 6em !important;
}

.single-article-end {
    border-color: var(--turquoise);
}

.single-article.social {
    display: block !important;
}

.single-article.social > a {
    margin: 0 10px;
    transition: filter .2s;
}

.single-article.social > a > img {
    max-width: 24px;
    max-height: 24px;
}

.single-article .share-text {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    padding: 0;
    margin: 0 30px 0 0;
}

.single-article.social > a:hover {
    filter: brightness(2.5) contrast(0.5);
}

.article-info-container {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    align-content: center;
    grid-column-gap: 1em;
    width: fit-content;
}

#primary-sidebar > h2 {
    text-align: left;
    padding: 0 1.25em;
    margin: 0 auto;
    margin-bottom: 2em;
    font-size: 2.5em;
    color: var(--main-green)
}

@media screen and (max-width: 64.063em) {
    .contact-box.bottom-page > div {
        padding: 0 2em;
        grid-template-columns: 100%;
        grid-row-gap: 2em;
    }

    .contact-box.bottom-page div.d-flex {
        column-gap: 2em;
    }

    .contact-box.bottom-page > div > div:first-child {
        width: 100%;
        justify-self: start;
    }

    .blog-container {
        grid-template-columns: 100%;
        position: relative;
        justify-content: center;
    }

    .blog-container .resume {
        display: block;
    }

    .blog-page .pgntn-page-pagination-block {
        width: 100% !important;
    }

    aside .slider-posts > .slider, aside .slider-posts > .slider > .holder {
        height: auto;
    }

    .single-post .article-container > section {
        width: 100%;
    }

    .single-post .article-container > section .article-full {
        padding: 0em;
    }

    .single-post .article-container > section .article-full h1 {
        font-size: 2em;
        line-height: 1.2em;
    }

    .single-post .article-container > section .article-full img {
        width: 100%;
    }

    .single-post .article-container > section .article-full h2 {
        text-align: center;
        font-size: 1.3em;
    }

    #primary-sidebar > h2 {
        margin-bottom: 1em;
        font-size: 1.8em;
    }

    .main-banner {
        min-height: auto;
    }

}
