/*
Theme Name: PDP + ESCOLANIA DE MONTSERRAT
Text Domain: PDP
Theme URI:
Description:

Author: Paladini Digital Projects
Author URI: http://www.paladini.cat/
Version: 0.1
Tags:


*/
js-otgs-popover-tooltip {}

/* >> NEW CSS << */
@media (min-width: 76.8rem) {
    body .menu-inici .wp-block-column:nth-child(1n) {
        padding: 0 .5rem 0 0;
    }
    body .menu-inici .wp-block-column:nth-child(2n),
    body .menu-inici .wp-block-column:nth-child(3n),
    body .menu-inici .wp-block-column:nth-child(4n) {
        padding: 0 .5rem 0 .5rem;
    }
    body .menu-inici .wp-block-column:nth-child(5n) {
        padding: 0 0 0 .5rem;
    }
    
    
}
.menu-inici .wp-block-column h3{
   
    margin-bottom: 5px;
}


@media (min-width: 1229px) {
    .mejs-container{
        width: 760px !important;
    }
    .gravacio-directe > a{
        right: unset !important;
        left: 584px;
        margin-left: 30px !important;
    }
    .gravacio-directe.fix > a{
        right: unset !important;
        left: 291px;
        margin-left: 30px !important;
    }
    div.events.fix > a{
        right: unset !important;
        left: 430px !important;
        margin-left: 30px !important;
    }
    .menu-inici .wp-block-column h3{
        font-size: 26px;
        font-size: 2.6rem;
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
}

@media (min-width: 1600px) {
    body .menu-inici .wp-block-column:nth-child(1n) {
        padding: 0 3rem 0 0;
    }
    body .menu-inici .wp-block-column:nth-child(2n),
    body .menu-inici .wp-block-column:nth-child(3n),
    body .menu-inici .wp-block-column:nth-child(4n) {
        padding: 0 3rem 0 3rem;
    }
    body .menu-inici .wp-block-column:nth-child(5n) {
        padding: 0 0 0 3rem;
    }

    .menu-inici .wp-block-column{
        font-size: 36px;
        font-size: 3.6rem;
        line-height: 1.2;
    }


    .mejs-container{
        width: 760px !important;
    }
    .gravacio-directe > a{
        right: unset !important;
        left: 770px;
        margin-left: 30px !important;
    }
    .gravacio-directe.fix > a{
        right: unset !important;
        left: 406px;
        margin-left: 30px !important;
    }
}

@media (min-width: 1639px) {
    
    div.events.fix > a{
        right: unset !important;
        left: 600px !important;
        margin-left: 30px !important;
    }
    .gravacio-directe.fix > a{
        right: unset !important;
        left: 570px;
        margin-left: 30px !important;
    }
}

@media (min-width: 1900px) {
    .mejs-container{
        width: 1400px !important;
    }
    .gravacio-directe > a{
        right: unset !important;
        left: 1410px;
    }
    .gravacio-directe.fix > a{
        right: unset !important;
        left: 570px;
        margin-left: 30px !important;
    }
}



/*

.header-top{
    display: flex;
    flex-direction: row-reverse;
}

.header-top .audio-player{
    flex:1;
}

*/

body .section.popup{
    width: 100%;
    height:100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent !important;
}

body .section.popup .seccio{
    width:70%;
    position: relative;
    background-color: #0a1a9c;
}

body .section.popup .popup-content{
    display: flex;
    height: auto;
    max-height: 100%;
}

body .section.popup .popup-content .entry{
    border:0px solid white;
    flex: 50% 0 0;
}
body .section.popup .popup-content .tadv-color{
margin-bottom: 10px;
}
body .section.popup .popup-content .entry a{
    color:white;
    text-decoration: underline;
}