/*
 Theme Name:     IMS
 Theme URI:      ims.deltasolucoes.com
 Description:    IMS Website
 Author:         Delta Soluções
 Author URI:     https://deltasolucoes.com/
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */

/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {
    background: none;
}

/*** Hide Sidebar ***/
#sidebar {
    display: none;
}

/*** Expand the content area to fullwidth ***/
@media (min-width: 981px) {
    #left-area {
        width: 100%;
        padding: 23px 0px 0px !important;
        float: none !important;
    }
}

/*Expand rows to max-width*/
.et_pb_row {
    max-width: 100%;
}

/*TIPOGRAFIA*/
div#main-content p {
    font-size: clamp(1rem, 1.2vw, 2.2rem);
    line-height: 1.5;
}

#contact-us a,
#contact-us p {
    font-size: clamp(.7rem, 1vw, 2.2rem) !important;
}

/*ESCONDER TOOLTIP HOVER IMG*/
.et_pb_image img[title] {
    pointer-events: none;
}

/*FOOTER*/
div#linha-2-logos-footer {
    display: flex;
    justify-content: flex-start;
    margin-left: 16.66%;
}

/*MENU*/
.et-menu li li a {
    padding: 3px 0px !important;
}

.et_mobile_menu li a:hover,
.nav ul li a:hover {
    background-color: transparent !important;
    opacity: 1 !important;
}

.et-menu li li a {
    width: max-content;
}

.et_pb_menu .et_pb_menu__menu>nav>ul>li>ul {
    width: 270px;
    display: flex;
    flex-direction: column;
}

/*PÁGINA HOME*/
#contact-us .et_pb_column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.et_pb_module.et_pb_blurb.et_pb_blurb_3.ims-envisions.et_pb_text_align_left.et_pb_blurb_position_left.et_pb_bg_layout_light p {
    font-size: 27px !important;
    line-height: 31px !important;
    font-family: 'Oswald', Helvetica, Arial, Lucida, sans-serif;
}

/*PÁGINA FACILITIES*/
.seletor-coluna {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/*.seletor-coluna.ativo {
    background-color: #9a0000;
    color: #fff;
    background-image: none;
    border-radius: 20px;
}*/

.conteudo-divisor {
    display: none;
}

.conteudo-divisor.ativo {
    display: block;
}

.row-buttons .et_pb_column {
    display: flex;
}

.row-buttons .et_pb_button {
    margin-right: 10px;
}

.et_pb_gallery_item.et_pb_grid_item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
}

.et_pb_gallery_item.et_pb_grid_item {
    width: 25%;
    box-sizing: border-box;
    float: left;
    padding: 10px;
}

.et_pb_grid_item {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    width: 25% !important;
}

.mfp-title {
    display: none;
}

/*PÁGINA THEMATIC LINES*/
.seletor-coluna.ativo h3 {
    color: white !important;
    text-decoration-color: white !important;
}

.titulo-linha-tematica h3 {
    font-size: clamp(1rem, 1.9vw, 2.2rem) !important;
}

.titulo-linha-tematica span {
    font-size: clamp(1rem, 1vw, 1.8rem) !important;
}

/*PÁGINA ALIGNMENT*/
.custom-card {
    position: relative;
    overflow: hidden;
    display: inline-block;
    /*height: 190px;
    width: 190px;*/
}

.overlay p {
    line-height: 1 !important;
}

.custom-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.custom-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-card .overlay p {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    line-height: 12px;
}

.custom-card:hover .overlay {
    opacity: 1;
}

/*PÁGINA IMS GOVERNANCE*/
.last-board-row .et_pb_column:nth-child(4) {
    display: none;
}

.last-board-row {
    display: flex;
    justify-content: center;
}