/*
Theme Name: Divi Child Theme
Theme URI: https://divireadythemes.com/
Description: Divi Child Theme
Author: Divi Ready Themes
Author URI: https://divireadythemes.com/
Template: Divi
Version: Updated for Divi 3+
*/

.et_pb_button_module_wrapper {
    position: relative;
    max-width: max-content;
}

.row-before-footer .et_pb_button_module_wrapper {
    margin: auto;
}

.et_pb_button_module_wrapper::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 10px;
    width: 100%;
    height: 100%;
    border: 1px solid #d8d8d8;
    z-index: 0;
    transition: all .4s ease;
}

.et_pb_button_module_wrapper:hover::before {
    top: -1px;
    left: -1px;
    border-color: transparent;
}

.col-middle-pos {
    display: flex;
    align-self: center;
    flex-direction: column;
}

#footer-section .et_pb_blurb_container {
    padding-left: 0;
}

#section-coach .et_pb_team_member_image,
#section-direction .et_pb_team_member_image {
    max-width: 100%;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody .mptt-event-container .event-title {
    pointer-events: none;
    text-transform: uppercase;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody .mptt-event-container:hover .event-title {
    text-decoration: none;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody .mptt-event-container {
    position: relative;
    display: flex;
    place-content: center;
    outline: none;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody td,
.mptt-shortcode-wrapper .mptt-shortcode-table tr.mptt-shortcode-row th {
    background-color: #1c1c1c;
    color: white;
    border-color: #323232;
}

.mptt-shortcode-table td.mptt-shortcode-event {
    border-color: #323232;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody .mptt-event-container:hover {
    border-color: #323232;
}

.mptt-shortcode-wrapper .mptt-shortcode-table.mptt-theme-mode tbody td.event {
    background-color: #323232;
}

.mptt-navigation-select {
    display: none;
}


.mptt-shortcode-wrapper::-webkit-scrollbar {
    height: 8px;
}

.mptt-shortcode-wrapper::-webkit-scrollbar-track {
    background: #1c1c1c;
}

.mptt-shortcode-wrapper::-webkit-scrollbar-thumb {
    background: #e60023;
    border-radius: 4px;
}

.mptt-shortcode-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #e60023 #1c1c1c;
}

.menu-principal-global .et_pb_menu__wrap {
    max-height: max-content;
}

.menu-principal-global .et_pb_menu_inner_container {
    display: flex;
    align-items: center;
}

/** MEDIA QUERY **/

@media all and (min-width: 981px) {
    #second-row-space {
        justify-content: center;
        margin: auto;
    }

    #second-row-space .et_pb_column {
        width: 31.3333%;
    }
}

@media all and (max-width: 980px) {
    .mptt-shortcode-table:first-of-type {
        overflow-x: auto !important;
        display: block !important;
    }
}

/* --- TABLEPRESS RESPONSIVE EN MODE CARTES --- */
@media screen and (max-width: 768px) {
    table.tablepress {
        border: 0;
        width: 100%;
    }

    table.tablepress thead {
        display: none;
    }

    table.tablepress tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 10px;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    table.tablepress td {
        display: block;
        text-align: right;
        font-size: 14px;
        border: none;
        border-bottom: 1px solid #eee;
        padding: 8px 5px;
    }

    table.tablepress td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }

    table.tablepress td:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 767px) {
    .mptt-shortcode-wrapper.mptt-table-responsive .mptt-shortcode-table:first-of-type {
        display: block !important;
    }

    .mptt-shortcode-wrapper .mptt-shortcode-list {
        display: none !important;
    }
}

@media all and (min-width: 479px) {
	.row-coach {
		display: flex !important; 
		justify-content: center !important;
	}

	.row-coach .et_pb_column:first-child {
		margin-right: 5.5% !important;
	}

	.row-coach .et_pb_team_member_image {
		margin-right: 0 !important;
	}
}