/*
Theme Name:   Universidad de las Ciencias y el Arte
Theme URI:    http://udelascienciasyelarte.ac.cr
Description:  Con más de 30 años de trayectoria en educación universitaria, nuestro objetivo continúa siendo el fomentar el desarrollo profesional y 
personal de nuestros estudiantes, para su desempeño exitoso en el mercado laboral. 
Author:       udelascienciasyelarte
Author URI:   http://udelascienciasyelarte.ac.cr
Template:     Divi
Version:      1.0.0
Tags:         universidad-de-las-ciencias-y-el-arte, ucienciasyarte, costa-rica, universidad
Text Domain:  universidad-de-las-ciencias-y-el-arte

*/

.tablepress tfoot th,
.tablepress thead th {
    background-color: #002e6c !important;
    color: white;
}

.tablepress-table-name {
    font-family: roboto slab;
    font-weight: 900;
    text-align: center;
    padding-bottom: 3%;
    color: #002e6c;
}

.tablepress .odd td {
    background-color: #E1EDFA !important;
}

.tablepress tbody td,
.tablepress tfoot th {
    border-top: none !important;
}

.et_pb_tab_active {
    text-decoration-line: underline;
}

.CallToActionHeader a {
    color: #fff !important;
    background: #742F8A;
    text-transform: uppercase;
    font-weight: 600;
    height: 36px;
    padding: 12px !important;
}

.CTA_phone {
    float: right;
    position: absolute !important;
    top: 92px;
    right: 32px;
    font-weight: 700;
}

#escuela ul.et_pb_tabs_controls {
    border: 0px !important;
    background-color: #ffffff !important;
}

ul.et_pb_tabs_controls:after {
    border-top: 0px;
}

.et_pb_tabs_controls li {
    border-right: 0px !important;
}

.testvoca a {
    color: #002E6D !important;
    font-weight: 900;
}

.CTA_phone a:before {
    font-family: ETmodules;
    font-size: 14px;
    content: "\e090 ";
}

.sedes ul.et_pb_tabs_controls {
    background-color: #002e6c;
    padding: 1% 0%!important;
    font-size: 24px;
    margin-top: -29px;
    margin-bottom: -29px;
    margin-left: -1px;
    margin-right: -1px;
    text-decoration: none;
}

.sedes h1 {
    font-size: 34px;
    color: #002e6c;
    font-weight: bold;
    margin: 5% 0;
}

ul.et_pb_tab_active:active {
    text-decoration: none;
}

#escuela .et_pb_tabs_controls li {
    width: 16.6666667%;
    /*change width of tabs here depending on the number of tabs you have*/
    text-align: center;
}

div#call-to-info {}

#btn-info {
    margin: 9% 0;
}

#text-escuelas a.et_pb_button {
    width: 218px;
}

#text-escuelas .et_pb_button_module_wrapper {
    margin-bottom: 5.174% !important;
}

#text-escuelas .et_pb_column.et_pb_column_1_4.et_pb_column_2.et_pb_css_mix_blend_mode_passthrough {
    position: relative;
    top: 20px;
}

#download-plan a.et_pb_button {
    width: 218px;
}

#download-plan.et_pb_row {
    width: 35%;
}

#estudies-post a.et_pb_button {
    width: 218px;
}

#mas_info_bottom a.et_pb_button {
    width: 218px;
    height: 44px;
    line-height: 36px !important;
}

.ds-icon-search .et_pb_searchform:before,
.widget_search::before {
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
    color: #d7d7d7;
    font-size: 20px;
    padding: 8px 20px;
}

#convenios div article[id^="post-"]:nth-child(odd) h1 a {
    color: #73308A !important;
}
#convenios .pagination .alignright {
   display:none;
}

#convenios .pagination .alignleft {
    float: none;
    text-align: center;
    width: 80%;
}


#convenios .pagination div a {
    visibility: hidden;
}

#convenios .pagination div a:after {
    padding: 15px 104px;
    visibility: visible;
    content: "MÁS";
    font-weight: 700;
    border-radius: 8px;
    background-color: #DBA900;
}

@media only screen and (max-width: 980px) {
    .equal-tabs .et_pb_tabs_controls li {
        width: 100%;
        text-align: center;
    }
    .CTA_phone {
        float: none;
        display: contents !important;
    }
    /* Tables */
    #tablepress-ciencias_administrativas, table#tablepress-CIENCIASADMINISTRATIVAS2021 {
        width: 50%;
        font-size: 16px;
        font-weight: 700 !important;
        color: #333;
    }
    #tablepress-arte_comunicacion_diseno,#tablepress-arte_comunicacion_diseno2022 {
        color: #333;
        width: 50%;
        font-size: 16px;
        font-weight: 700 !important;
    }
    #tablepress-educacion,#tablepress-educacion2022 {
        width: 50%;
        font-size: 16px;
        font-weight: 700 !important;
        color: #333;
    }
    #tablepress-derecho,  #tablepress-derecho2022 {
        width: 50%;
        font-size: 16px;
        font-weight: 700 !important;
        color: #333;
    }
    #tablepress-enfermeria, #tablepress-enfermeria2022 {
        width: 50%;
        font-size: 16px;
        font-weight: 700 !important;
        color: #333;
    }
    #tablepress-arquitectura,#tablepress-arquitectura2022 {
        width: 50%;
        font-size: 16px;
        font-weight: 700 !important;
        color: #333;
    }
    #tablepress-cuentas_bancarias {
        width: 50%;
        font-size: 16px;
        font-weight: 700 !important;
        color: #333;
    }
    #tablepress-cuentas_bancarias tbody .column-2 {
        text-align: right;
        padding-right: 5%;
    }
    .et_pb_section_4 {
        padding-top: 0% !important;
        padding-left: 0% !important;
    }
    .ds-advent-11 .et_pb_post .entry-title {
        position: absolute;
        top: -21%;
        padding: 5% 0;
        text-align: center;
        width: 100% !important;
        font-size: 44px !important;
    }
    /*Add the vertical line*/
    .ds-advent-11 .et_pb_post:before {
        content: '';
        position: absolute;
        display: block;
        top: -30%;
        left: 50%;
        right: 0;
        width: 0px;
        height: 35%;
        visibility: visible;
        border-left: 3px solid #979797;
    }
    .et_pb_blog_0 .et_pb_post .entry-title a {
        font-size: 46px !important;
    }
    .et_pb_post {
        margin: 25% 0;
    }
    .et_pb_image_container img,
    .et_pb_post a img {
        margin-top: 8%;
    }
    .ds-advent-11 .et_pb_post .post-content {
        padding: 30px 0px 30px;
        margin-bottom: 26%;
    }
}

div#banner_calltoaction {
    background-size: cover;
}

#escuelas.et_pb_section .et_pb_tabs_controls li a {
    height: 19px;
    width: 81px;
    color: #4a4a4a;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    text-align: center;
}

#escuelas.et_pb_section li.et_pb_tab_active a {
    color: #002e6d !important;
    font-weight: 800 !important;
}


/* Menú secundario debajo del principal en Divi */

@media only screen and (min-width: 1024px) {
    #convenios div article[id^="post-"] {
        width: 25%;
        float: left;
    }
    .equal-tabs .et_pb_tabs_controls li {
        width: 16.6666667%;
        text-align: center;
        border-right: 2px #fff solid !important;
        z-index: 2;
        line-height: 62px;
        margin-top: -14px;
    }
    .equal-tabs .et_pb_tabs_controls li:last-child {
        border-right: 0px !important;
    }
    #escuelas.et_pb_section {
        margin: -2% 0;
        padding: 0 !important;
    }
    .et_pb_tabs_controls li a {
        display: table-cell;
        padding: 0px !important;
    }
    #et-secondary-nav li {
        margin-right: 42px !important;
    }
    .et_fixed_nav #main-header,
    .et_fixed_nav #top-header {
        position: absolute;
    }
    #main-header {
        top: 0 !important;
    }
    #top-header {
        top: 120px !important;
        height: 42px !important;
    }
    #et-secondary-menu {
        float: none !important;
        text-align: center;
    }
    #et-secondary-menu ul li a {
        display: block;
        text-transform: initial;
    }
    #et-secondary-menu li li a {
        padding: 3px 12px !important;
        width: 209px;
        text-align: left;
        line-height: 1.7em;
    }
    #top-menu li {
        padding-right: 21px;
    }
    #top-menu li:active {
        text-decoration-line: underline !important;
        -moz-text-decoration-line: underline !important;
    }
    /* Tables */
    #tablepress-ciencias_administrativas, table#tablepress-CIENCIASADMINISTRATIVAS2021{
        width: 75%;
        margin: 0% auto;
        font-size: 16px;
        font-weight: 700 !important;
        color: #333;
    }
    #tablepress-arte_comunicacion_diseno,#tablepress-arte_comunicacion_diseno2022 {
        width: 75%;
        margin-left: 10%;
        font-size: 16px;
        font-weight: 700 !important;
        color: #333;
    }
    #tablepress-educacion,   #tablepress-educacion2022 {
        width: 75%;
        margin: 0% auto;
        font-size: 16px;
        font-weight: 700 !important;
        color: #333;
    }
    #tablepress-derecho,   #tablepress-derecho2022 {
        width: 75%;
        margin: 0% auto;
        font-size: 16px;
        font-weight: 700 !important;
        color: #333;
    }
    #tablepress-enfermeria,   #tablepress-enfermeria2022 {
        width: 75%;
        margin: 0% auto;
        font-size: 16px;
        font-weight: 700 !important;
        color: #333;
    }
    #tablepress-arquitectura,#tablepress-arquitectura2022 {
        width: 75%;
        margin: 0% auto;
        font-size: 16px;
        font-weight: 700 !important;
        color: #333;
    }
    #tablepress-cuentas_bancarias {
        width: 80%;
        margin-left: 10%;
        font-size: 16px;
        font-weight: 700 !important;
        color: #333;
    }
    #tablepress-cuentas_bancarias tbody .column-2 {
        text-align: right;
        padding-right: 5%;
    }
    .et_pb_section_4 {
        padding-top: 0% !important;
        padding-left: 0% !important;
    }
    /****************************************************/
    /*****Alternating Vertical Timeline Blog Module*****/
    /*******************By gianko**********************/
    /*Add hover transition*/
    .ds-advent-11 .et_pb_post * {
        -webkit-transition: all .3s ease;
        transition: all .3s ease;
    }
    /*Add content padding*/
    .ds-advent-11 {
        padding: 30px 30px 0;
    }
    .ds-advent-11 .et_pb_post .post-content {
        padding: 30px 0px 30px;
    }
    /*Position the image over the post content*/
    .ds-advent-11 .et_pb_post .entry-featured-image-url {
        position: initial;
        margin-bottom: 0;
    }
    /*Position and style the date*/
    .published {
        display: none;
    }
    .ds-advent-11 .et_pb_post .entry-title {
        position: absolute;
        left: calc(50% - 58.5px);
        top: 120px;
        width: 121px !important;
        height: 60px;
        padding-top: 5px;
        background: #fff;
        display: -ms-flexbox;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        color: #000000;
        font-family: "Roboto Slab";
        font-weight: bold;
        line-height: 30px;
        text-align: center;
    }
    /*Add the vertical line*/
    .ds-advent-11 .et_pb_post:before {
        content: '';
        position: absolute;
        display: block;
        bottom: 50%;
        left: 50%;
        right: 0;
        width: 0px;
        height: 90%;
        visibility: visible;
        border-left: 1px solid #979797;
    }
    /*Remove the vertical line from the last post*/
    .ds-advent-11 .et_pb_post:last-of-type:after {
        display: none;
    }
    /*Style the read more link*/
    .ds-advent-11 a.more-link {
        display: none;
    }
    @media all and (min-width: 769px) {
        /*Limit the width of the post content*/
        .ds-advent-11 .et_pb_post .entry-featured-image-url,
        .ds-advent-11 .et_pb_post .entry-title,
        .ds-advent-11 .et_pb_post .post-content,
        .ds-advent-11 .et_pb_post .post-meta {
            width: 42.5%;
        }
        /*Move the even posts to the right*/
        .ds-advent-11 .et_pb_post:nth-child(even) {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
            -ms-flex-line-pack: end;
            -webkit-box-align: end;
            -ms-flex-align: end;
            align-items: flex-end;
        }
        /*Move the even posts to the left*/
        .ds-advent-11 .et_pb_post:nth-child(odd) {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: row;
            flex-direction: row;
            -ms-flex-line-pack: end;
            -webkit-box-align: end;
            -ms-flex-align: end;
            align-items: flex-end;
        }
    }
    /*Limit the excerpt in smaller screens*/
    @media all and (max-width: 1280px) {
        .ds-advent-11 .post-content p {
            max-height: 6em;
            overflow: hidden;
        }
    }
    @media all and (max-width: 1024px) {
        .ds-advent-11 .post-content p {
            max-height: 3em;
        }
    }
    /*Limit the excerpt for mobile*/
    @media all and (max-width: 600px) {
        .ds-advent-11 .post-content p {
            max-height: 3em;
        }
    }
    @media all and (max-width: 479px) {
        .ds-advent-11 .post-content p {
            max-height: 0;
        }
    }
    /***************************/
    /**End - Alternating Vertical Timeline Blog Module**/
    /*******************By gianko********************/
}

.entry-title {
    background-color: #ffffff;
}

.published {
    display: none;
}


/*Style the read more link*/

.ds-advent-11 a.more-link {
    display: none;
}

.sub-menu li a {
    font-size: 14px !important;
    font-family: sans-serif;
    font-weight: 400;
}

#et-secondary-nav li ul {
    padding: 0;
    margin: -3% 0 0 0;
}

#et-secondary-nav li li {
    margin: 0;
    padding: 0;
    float: left;
}

#foogallery-gallery-350 .fg-item {
    width: 25%;
}

#banner_calltoaction {
    padding: 8% 0px;
    margin-top: -2%;
}
