/* dd
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/*
    Add your custom styles here
*/
/* ----------- ESTILS GENERALS --------------*/
h1, h2, h3, h4, h5, h6 {
    margin-top: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

body h2:first-of-type {
    margin-top: 0;
}

.elementor-tab-content h1:first-child, .elementor-tab-content h2:first-child {
    margin-top: -10px;
    margin-bottom: 30px;
}

p {
    margin-bottom: 15px !important;
}

img.alignright, img.alignleft {
    margin-bottom: 30px;
}

/* ---------------- TAULES ---------------------*/
table.taula-simple {
    width: auto;
}

table caption + thead tr:first-child td, table caption + thead tr:first-child th, table colgroup + thead tr:first-child td, table colgroup + thead tr:first-child th, table thead:first-child tr:first-child td, table thead:first-child tr:first-child th {
    border-top: 2px solid #FFFFFF;
    border-bottom:1px solid #ffffff7d;
}

table th {
    font-weight: 500 !important;
    background-color: #193961;
    text-align: left;
    border-bottom: 1px solid #ffffff7d;
}

table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th {
    background-color: #9dddff2e;
}

table td, table th {
    padding: 15px;
    line-height: 1.5;
    vertical-align: top;
    border: 0;
    border-bottom: 1px solid #ffffff7d;
}

table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th {
    background-color: #4365772e;
}

table:not(.mtr-table) tbody tr:last-child td {
    border-bottom: 2px solid #FFFFFF;
}

table.mtr-table tbody tr:first-child {
    border-top: 2px solid #FFFFFF;
}
table.mtr-table tbody tr {
    border-bottom: 2px solid #FFFFFF;
}

/* ----------- TAULES TABLEPRESS ------------- */
.tablepress {
    margin-top: 40px;
    --text-color: #fff;
}

.tablepress-table-description {
    margin-bottom: 20px;
    clear: none;
}

.tablepress tfoot th, .tablepress thead th {
    font-weight: 700;
    background-color: #193961;
    text-align: left;
    border-bottom: 1px solid #ffffff7d;
}

.tablepress tbody td[colspan] {
    background-color: #a5e0ff40;
    font-weight: 500;
}

.tablepress tbody td, .tablepress tfoot th {
    border-top: 0;
    border-bottom: 1px solid #ffffff7d;
}

.tablepress .even td {
    background-color: #4365772e;
}

.tablepress.mtr-table .even td {
    background-color: #a5e0ff40;
}

.tablepress .odd td {
    background: none;
}

table.tablepress caption {
    margin-top: 10px !important;
}

.tablepress>:where(tbody.row-striping)>:nth-child(2n)>* {
    background-color: #80cfff21;
}

.tablepress>:where(tbody.row-striping)>:nth-child(odd)>* {
    background: none; 
}

/* ----------- WIDGETS DE ELEMENTOR ------------- */
.elementor-tabs {
    margin-bottom: 30px;
}

.elementor-tabs .elementor-tab-content {
    /*border: 0 !important;*/
    /*border-width: 0px !important;*/
}

.elementor-tabs .elementor-tab-content img {
    margin-bottom: 25px;
}

.elementor-tabs .elementor-tab-content:focus {
    outline: none;
}

.elementor-tabs .elementor-tabs-wrapper {
    /*border-right: 1px solid rgba(255, 255, 255, 0.496) !important;*/
}

.elementor-tabs .elementor-tabs-wrapper .elementor-tab-title {
    /*border: 0;*/
    /*border-width: 0px;*/
}

.elementor-tabs .elementor-tabs-content-wrapper {
    border: 0;
    /*border-width: 0px;*/
    border-left: 1px solid rgba(255, 255, 255, 0.496) !important;
    /*display: none;*/
}

.elementor-tabs .elementor-tab-title.elementor-active {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.496) !important;
}

/* ----------- MP TIMETABLE ------------- */
.mptt-shortcode-wrapper select.mptt-menu.mptt-navigation-select {
    background: none;
    color: white;
    width: auto;
    border: 1px solid #868686;
}

.mptt-shortcode-wrapper select.mptt-menu.mptt-navigation-select option {
    color: #6B6B6B;
}

.mptt-shortcode-wrapper.mptt-table-fixed {
    overflow-x: visible;
}

.mptt-shortcode-wrapper .mptt-shortcode-table.mptt-5-columnes tr.mptt-shortcode-row th {
    width: 15%;
}

.mptt-shortcode-wrapper .mptt-shortcode-table.mptt-5-columnes tr.mptt-shortcode-row th:first-of-type {
    width: 6%;
}

.mptt-shortcode-wrapper .mptt-shortcode-table.mptt-4-columnes tr.mptt-shortcode-row th {
    width: 18%;
}

.mptt-shortcode-wrapper .mptt-shortcode-table.mptt-4-columnes tr.mptt-shortcode-row th:first-of-type {
    width: 6%;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tr.mptt-shortcode-row th {
    /*background-color: #F0F0F0;*/
    /*border: 1px solid #FFF;*/
    /*text-align: center;*/
    /*color: #404040;*/
    /*padding: 0.25rem 1rem;*/
    /*overflow-wrap: normal;*/
    /*-webkit-hyphens: none;*/
    /*-ms-hyphens: none;*/
    /*hyphens: none;*/
    border: 0;
    font-weight: 500 !important;
    color: white;
    background-color: #193961;
    /*text-align: left;*/
    border-top: 2px solid #FFFFFF;
    border-bottom: 1px solid #ffffff7d;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody td {
    border: none;
    border-bottom: 1px solid #ffffff7d;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody tr:nth-child(2n+2) {
    background: none;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody > tr:nth-child(odd) > td, .mptt-shortcode-wrapper .mptt-shortcode-table tbody > tr:nth-child(odd) > th {
    background: none;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody .mptt-event-container {
    /*outline: 1px solid #1B252F;*/
    outline: 2px solid #1B252F;
    border: 2px solid #1B252F;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody .mptt-event-container .event-title {
    margin-bottom: 0;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody .mptt-event-container .timeslot {
    margin-top: 0;
    margin-bottom: 0 !important;
}

.timeslot span.timeslot-user.vcard {
    display: none;
}

div.elementor-widget-container p.timeslot:last-child {
    margin-bottom: 60px !important;
}

h3.timeslots-title, .elementor-widget-container > p.timeslot {
    display: none;
}

/*------- MEDIA QUERIES ------*/
@media (max-width: 767px) {
    .elementor-widget-tabs .elementor-tab-title {
        padding-top: 20px;
        margin-bottom: 20px;
    }
    
    .elementor-tabs .elementor-tab-title.elementor-active {
        border: 0;
        border-bottom: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.496) !important;
        padding-top: 30px;
        /*padding-bottom: 30px;*/
    }
}
