/*
Theme Name: Unicamp Child
Theme URI: https://unicamp.thememove.com/
Author: ThemeMove
Author URI: https://thememove.com/
Version: 1.0.0
Template: unicamp
Text Domain: unicamp-child
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

/* General */
.header-02 .header-left:before {
    content: '';
    background: url(assets/images/logo-small.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    max-width: 210px;
    width: 100%;
    height: 100%;
    left: 80px;
    margin-top: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.header-02.headroom--not-top .header-left:before {
    left: 60px;
    max-width: 200px;
}

.header-left .header-content-inner {
    position: relative;
}

input[type='text'], input[type='email'], input[type='url'], input[type='password'], input[type='search'], input[type='tel'], textarea {
    border: 1px solid #eaeaea !important;
}

.single-tp_event.single-event-style-01 .entry-thumbnail img {
    width: 100%;
}

blockquote {
    margin-left: 0 !important;
}

.desktop-menu .sm-simple .simple-menu a {
    padding: 5px 30px;
}

.fix-height, 
.fix-height > div {
    height: 100%;
}

.page-sidebar .insight-core-bmw li > a:before {
    display: none;
}

.page-sidebar .insight-core-bmw li > a {
    padding-left: 15px;
}

.glasses-icon .menu-item-title,
.book-icon .menu-item-title,
.cart-icon .menu-item-title {
    display: flex;
    line-height: normal;
    align-items: center;
}

.glasses-icon .menu-item-title:before {
    content: '';
    background: url('/wp-content/uploads/2023/05/glasses.png');
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 10px;
}

.book-icon .menu-item-title:before {
    content: '';
    background: url('/wp-content/uploads/2023/05/book.png');
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 10px;
}

.cart-icon .menu-item-title:before {
    content: '';
    background: url('/wp-content/uploads/2023/05/cart.png');
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-right: 10px;
}

.regional-top,
.regional-bottom {
    background: #f3f3f3;
    padding: 30px 40px;
    margin-bottom: 30px;
    position: relative;
}

.regional-top:after {
    content: '';
    background-image: url('assets/images/join_us_group.png');
    position: absolute;
    right: 20px;
    bottom: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 50px;
    height: 52px;
}

.regional-heading {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: normal;
    color: #000;
}

.regional-heading:before {
    content: '';
    width: 40px;
    height: 1px;
    background: #f69e47;
    display: inline-block;
    margin-right: 15px;
    vertical-align: super;
}

/* Team Items */
.team-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2%;
    row-gap: 1%;
    margin-bottom: 100px;
}

.team-items .team-item {
    text-align: center;
    padding: 31px 20px 33px;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 1%;
}

.team-items .slick-slide {
    margin-left: 35px;
}

.team-items .slick-list {
    margin-left: -2%;
}

.team-items .team-item .thumb img {
    border-radius: 50%;
    height: 200px;
    width: 200px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.team-items .team-item .thumb {
    margin-bottom: 20px;
}

.team-items .team-item .desc .title {
    color: #000;
    font-size: 24px;
    font-weight: 500;
    font-family: 'Butler';
    margin-bottom: -10px;
}

.team-items .team-item .desc .subtitle {
    color: #c5c5c5;
}

.team-items .team-item .desc .content {
    margin: 20px 0;
    font-size: 15px;
    line-height: 24px;
    font-weight: 400;
    color: #696969;
    min-height: 215px;
}

/* Gallery */
figure {
    margin: 3px;
}

.gallery-columns-4 .gallery-item {
    max-width: 24%;
}

/* ACF Icon Box */
.acf-icon-box {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    grid-gap: 2%;
    row-gap: 4%;
}

.acf-icon-box .icon-box-item {
    position: relative;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    padding: 56px 55px 63px;
    text-align: center;
}

.acf-icon-box .icon-box-item:after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid #eee;
}

.acf-icon-box .icon-box-item .icon {
    width: auto;
    height: 80px;
    display: block;
    margin: 0 auto 20px;
}

.acf-icon-box .icon-box-item .icon img {
    height: 100%;
    object-fit: contain;
}

.acf-icon-box .icon-box-item .title {
    /* font-size: 20px; */
    color: #000;
    font-weight: bold;
    line-height: normal;
    margin-bottom: 15px;
    /* height: 70px; */
    /* overflow: hidden; */
}

.acf-icon-box .icon-box-item .icon-desc {
    font-size: 14px;
    line-height: 25px;
}

.acf-icon-box .icon-box-item .link {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -10px;
    z-index: 1;
}

.acf-icon-box .icon-box-item .link a {
    background: #f09b39;
    max-width: 260px;
    width: 100%;
    height: 52px;
    display: block;
    margin: 0 auto;
    line-height: 52px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}

/* ACF Simple Link Box */
.acf-simple-link-box {
    grid-template-columns: repeat(3, 1fr);
    display: flex;
    flex-wrap: wrap;
    grid-gap: 2%;
}

.acf-simple-link-box .simple-link-box-item {
    position: relative;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    padding: 56px 55px 63px;
    text-align: center;
    width: 32%;
    margin-bottom: 2%;
}

.acf-simple-link-box .simple-link-box-item:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid #eee;
}

.acf-simple-link-box .simple-link-box-item a {
    color: #000;
    font-weight: bold;
    line-height: normal;
    display: block;
    position: relative;
}

/* ACF History Box */
.acf-history-box { 
    -webkit-column-count: 2;
    -moz-column-count:2;
    column-count: 2;
    -webkit-column-gap: 1em;
    -moz-column-gap: 1em;
    column-gap: 1em;
    margin: 1.5em;
    padding: 0;
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: 1.5em;
    font-size: .85em;
}

.acf-history-box .history-box-item {
    display: inline-block;
    margin: 0 0 1.5em;
    width: 100%;
    -webkit-transition:1s ease all;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-shadow: 2px 2px 4px 0 #ccc;
    position: relative;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    padding: 90px 55px 63px;
}

.acf-history-box .history-box-item .title {
    background: #a52637;
    color: #fff;
    padding: 16px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    font-family: 'Butler';
    font-size: 20px;
    line-height: normal;
}

.acf-history-box .history-box-item .desc {
    font-size: 14px;
    line-height: 25px;
    position: relative;
    z-index: 1;
}

.acf-history-box .history-box-item:after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid #eee;
    /* z-index: 0; */
}

.acf-history-box .history-box-item img {
    width: auto;
    min-height: 220px;
    object-fit: cover;
}

/* Slick */
.isps-slick-prev.slick-arrow,
.isps-slick-next.slick-arrow {
    background: #a3332c;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 57px;
    height: 56px;
    border: none;
    border-radius: 50%;
    text-align: center;
    line-height: normal;
}

.isps-slick-prev.slick-arrow:before,
.isps-slick-next.slick-arrow:before {
    display: block;
    height: 25px;
    width: 25px;
    content: "";
    transform: rotate(-45deg);
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    margin: 0 auto;
    position: absolute;
    left: 21px;
    top: 16px;
}

.isps-slick-next.slick-arrow:before {
    transform: rotate(-80deg);
}

.isps-slick-next.slick-arrow:before {
    transform: rotate(-225deg);
    left: 10px;
}

.isps-slick-next.slick-arrow {
    right: 0;
}

@media only screen and (min-width: 1350px) {
    .desktop-menu .header-02 .menu--primary > ul > li > a {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1350px) {
    .nav-links-hover-style-01 .menu--primary .menu__container > li > a > .menu-item-wrap {
        font-size: 14px;
    }
    .desktop-menu .header-02 .menu--primary > ul > li > a {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

@media only screen and (max-width: 1024px) {
    .team-items,
    .acf-icon-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .acf-history-box {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
        margin: 0;
    }

    .acf-history-box .history-box-item {
        padding: 70px 25px 40px;
    }
    
    .acf-history-box .history-box-item:after {
        left: 10px;
        right: 10px;
        top: 10px;
        bottom: 10px;
    }

    .acf-simple-link-box .simple-link-box-item {
        width: 49%;
    }
}

@media only screen and (max-width: 767px) {
    .team-items,
    .acf-icon-box {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 20px;
    }

    .regional-top, 
    .regional-bottom {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .regional-heading {
        font-size: 16px;
    }

    .acf-history-box .history-box-item img {
        min-height: 120px;
    }

    .acf-history-box .history-box-item .title {
        font-size: 17px;
    }

    .acf-simple-link-box .simple-link-box-item {
        padding: 20px;
    }
    
    .acf-simple-link-box .simple-link-box-item:before {
        top: 6px;
        left: 6px;
        right: 6px;
        bottom: 6px;
    }
    
    .acf-simple-link-box .simple-link-box-item a {
        font-size: 13px;
    }
}