#headspace{
    height: calc(var(--fvh)*10);
    width:100vw;
    background-color: rgba(255, 112, 4, 1);
}

#events-manager{
    margin-bottom: 30vh;
    overflow:visible;
}

#events-filters{
    width:100vw;
    height:max-content;
    background-color: #fff;
    padding: 0 5vw;
    display:flex;
    flex-wrap: wrap;
    overflow:visible;
}
#events-filters h1{
    user-select:none;
    font-size: calc(var(--fvh)*7);
    text-align: center;
    pointer-events: none;
    padding: calc(var(--fvh)*7) 0 calc(var(--fvh)*3);
    font-family: Qmedium;
    color:#000;
    width:100%;
}



#events-filters .field{
    width:50%;
    padding:  calc(var(--fvh)*3) 2vw;
    height: calc(var(--fvh)*15);
    display:flex;
    font-size: calc(var(--fvh)*4);
    overflow:visible;
}

#events-filters input{
    font-size: inherit;
    background:transparent;
    color:#000;
    font-family: Qmedium;
    width: 70%;
    padding: .5em .6em;
    border: 2px solid #000;
    border-right: 0;
    border-radius:  10vh 0vh 0vh 10vh;
    height:calc(var(--fvh)*9);
}

#events-filters .cusSel{
    background:transparent;
    color:#000;
    font-family: Qmedium;
    height:calc(var(--fvh)*9);
    width: 70%;
    border-radius:  10vh 0vh 0vh 10vh;
}
 #events-filters div.cusSel div.cusSelOptions.open{
    height: calc(var(--fvh)*30);
}



#events-filters input::placeholder{
    color: rgba(0, 0, 0, 1);
    transition: color .5s;
}
#events-filters input:focus::placeholder{
    color: rgba(0, 0, 0, 0);
}

#events-filters .field .tag{
    width: 30%;
    font-family: Qmedium;
    background-color:#065fe7;
    color:#fff;
    border-radius:  0vh 10vh 10vh 0vh;
    height:calc(var(--fvh)*9);
    user-select:none;
    pointer-events:none;

}

#events-filters #dates.field .cusSel{
    /*width:36%;*/
    width:31%;
    border-radius: 0vh;
}
#events-filters #dates.field .cusSel .cusSelPlaceholder{
    border-radius: 0vh;
}
#events-filters #dates.field .cusSel:not(:first-child) .cusSelOptions{
    border-radius: 0vh 0vh 4vh 4vh;
}

#events-filters #dates.field .cusSel:first-child{
    border-radius: 10vh 0vh 0vh 10vh;
}
#events-filters #dates.field .cusSel:first-child .cusSelPlaceholder{
    border-radius: 10vh 0vh 0vh 10vh;
}

#events-filters #dates.field .tag.mid{
    width: 8%;
    font-size:1.5em;
    border-radius:0;
}

@media only screen and (max-width: 1700px){
    #events-filters .field{ 
        padding: calc(var(--fvh)*1) 2vw;
        font-size: 2vw;
    }
}

@media only screen and (max-width: 1200px){
    #events-filters .field{ 
        width:100%;
        padding: calc(var(--fvh)*1) 2vw;
        height: calc(var(--fvh)*11);
        font-size: 4vw;
    }
}




#stationSrch button{
    /*width: calc(var(--fvh)*24);*/
    width: calc((((100% - 12vw) / 2) - 4vw) * .3);
    height:calc(var(--fvh)*8);
    border-radius: calc(var(--fvh)*5);
    background-color: rgb(21, 178, 73);
    transition: background-color .3s ;
    background-image:url('https://ventasradioramaoccidente.com/assets/static/search.svg');
    background-position:center;
    background-repeat: no-repeat;
    background-size: calc(var(--fvh)*6);
    position:absolute;
    right: 8vw;
    bottom:0;
    cursor:pointer;
}

#stationSrch button:hover{
    background-color: rgb(14, 119, 48);
}





#events-grids, .events-grid{
    overflow:visible;
}

.events-grid, #prop-grid{
    padding: 0 1vw 0 1vw;
    width:100vw;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); 
    display: grid;
    grid-auto-flow: row dense;
    grid-auto-rows: max-content;
}
@media only screen and (max-width: 400px){ 
    .events-grid, #prop-grid{
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    }
}

#prop-grid{
    height:0vw;
}

.events-grid div.mon-box{
    height:auto;
    background-color: transparent;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
    overflow:visible;
    margin:2em;
}
 

.events-grid div.axis{
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
    transition: transform 1s;
    transform-style: preserve-3d;    
    overflow:visible;
    transform: rotateY(0deg);
}

.events-grid div.mon-box:hover div.axis, .events-grid div.mon-box.open div.axis{
    transform: rotateY(180deg);
    /*z-index:5;*/
}
.events-grid div.front, .events-grid div.back{
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background-position:center;
    border-radius: 5em;
}
.events-grid div.front{
    background-color: #ff6f03;
    color: black;
    background-size:cover;
    z-index:-1;
    height: 100%;
    /*position:relative;*/
    display: flex;
    align-items: center;
    justify-content: center; 
    
}
.events-grid div.mon-box .front .slideshow-out{
    height:96em;
    position:absolute;
    width:96em;
    top:0;
    left:0;

}

.events-grid div.mon-box .front .slideshow{
    height:96em;
    width: max-content;
    display: flex;
    align-items: center;
    animation: slide linear infinite;
    transform: translate(200em, 0); 
}
.events-grid div.mon-box .front .slideshow img{
    height:calc(100% + 5px);
    width:auto;  
    /*filter: blur(1px);*/
    /*-webkit-filter: blur(1px);*/
}


@keyframes slide {
    0%   { transform: translate(200em, 0); }
    100% { transform: translate(-100%, 0); }
}

.events-grid div.front p{
    font-size:13em;
    font-family: Qmedium;
    text-shadow: -.1em .1em .05em #000;
    color:#fff;
    overflow:visible;
    z-index:1;
    padding:.3em .5em;
    border-radius:2vh;
    background-color: rgba(255, 111, 3, .7);
}

.events-grid div.back{
    position:relative;
    background-color: #fff;
    color: white;
    transform: rotateY(180deg);
    height:auto;
}
.events-grid div.back .backData{ 
    width:100%;
    min-height:96em;
    height:auto;
    max-height:96em;
    background-color:rgba(0,0,0,.7);
    position: relative;
    transition:max-height 1s;
    padding:5em;
}

.events-grid .mon-box:hover div.back .backData, .events-grid .mon-box.open div.back .backData{ 
    max-height:300vh;
}

.events-grid div.back .backData .state{
    font-size:4vh; 
    font-family: Qmedium;
    text-align:center;
    padding-bottom:1vh
}
.events-grid div.back .backData .state:only-child{
    display:none; 
}


.events-grid div.back .backData .event{
    width:100%;
    height:auto;
    /*padding:5em;*/
    background-color:rgba(255, 255, 255, .5);
    border-radius: 2em;
    position:relative;
    cursor:pointer;
}
.events-grid div.back .backData .event:not(:last-child){
    margin-bottom:5em;
}

.events-grid div.back .backData .event div.eveImg{
    width:100%;
    height:100%;
    background-position:center;
    background-size:cover;
    position:absolute;
    top:0;
    left:0;
    filter: blur(2px);
    -webkit-filter: blur(2px);
}

.events-grid div.back .backData .event p{
    font-size:5em;
    font-family: Qbold;
    text-shadow: -.1em .1em .05em #000;
}
.events-grid div.back .backData .event p.name{
    font-size:10em;
    text-align:center;
    height: auto;
    position:relative;
    margin:.5em;
}
.events-grid div.back .backData .event p.name span{
    font-size:.8em;
}
.events-grid div.back .backData .event div.summ{
    position:relative;
    height: auto;
    max-height:0;
    padding:0 .5em;
    font-family:Qbold;
    color:#fff;
    font-size:7em;
    height:auto;
    text-align: left;
    /*overflow:visible;*/
    text-shadow: -.1em .1em .05em #000;
    transition: max-height 1s, padding 1s;
}   
.events-grid div.back .backData .event:hover div.summ:not(:empty), .events-grid .mon-box:hover div.back .backData .event:only-child div.summ:not(:empty), .events-grid div.back .backData .event.open div.summ:not(:empty){
    padding-bottom: .5em;
    max-height:100vh;
}

.events-grid div.back .backData .event div.summ *{
    overflow:visible;
}

.events-grid div.back .backData .event div.summ h4:not(:first-child){
    margin-top:.5em;
}
.events-grid div.back .backData .event div.summ ul{
    padding:0;
}
.events-grid div.back .backData .event div.summ li{
    margin-top:.3em;
}
.events-grid div.back .backData .event div.summ li:marker{
    display:none;
 }
.events-grid div.back .backData .event div.summ li:before {
    content: '\2022';
    padding: .5em;
}
.events-grid div.back .backData .event div.summ li span{
    margin-left: 2em;
}
.events-grid div.back .backData .event .open{
    position: relative;
    width:100%;
    height: 15em;
    background-color:rgba(255, 127, 0, .85);
    font-family:Qbold;
    color:#fff;
    cursor: pointer;
    transition:background-color .3s;
}
.events-grid div.event .open:hover, .events-grid div.event.open .open{
    background-color:rgba(255, 127, 0, 1);
}
 .events-grid div.back .backData .event .open p{
    font-size:7em;
    position:relative;
    overflow:visible;
    line-height:1em;
    text-shadow:none;
}
.events-grid div.event .open span{
    background-image:url('https://ventasradioramaoccidente.com/assets/static/rigArr.svg'); 
    width:1em;
    height:1em;
    position:absolute;
    right:-1.55em;
    background-size:1em;
    transition: transform .5s;
    animation: gogogo .5s linear infinite alternate;
    transform: rotate(0deg);
}
.events-grid div.event.open .open span{
    animation: none;
    transform: rotate(270deg);
}


@keyframes gogogo {                                                                                                                                                                              
    0%   { right: -1.4em; }
    100% { right: -1.7em; }
}

.events-grid h1.year{
    grid-column: 1 / -1;
    font-size: calc(var(--fvh)*10);
    height:1em;
    line-height:1em;
    padding-left:5vw;
    margin:.4em 0;
    font-family:Rmedium;
}
.events-grid h1.year:only-child{
    display:none;
}

.events-grid .event-more{
    grid-column: 1 / -1;
    height: 0;
    margin:0;
    margin: 0em 2em;
    /*box-shadow: inset 0px 1vh 1vh 0vh #fff, inset -0vh -1vh 1vh 0vh #fff;*/
    border-radius: 5em;
    transition: max-height 1s, margin 1s, box-shadow 1s;
    background-color: #ddd;
    height:auto;
    max-height:0;
}

.events-grid .event-more.open{
    max-height: calc(var(--fvh)*1000);
    margin: 2em;
    /*box-shadow: inset 0px 1vh 1vh 0vh #444, inset -0vh -1vh 1vh 0vh #444;*/
}

.events-grid .event-more .eventInfo{
    padding: 0 6vw;/* 6vw 6vw;*/
}

.events-grid .event-more h1.title{
    font-size: 7vh;
    text-align: center;
    padding: .8em;
    padding-bottom:.4em;
    line-height: 1em;
    font-family: Qbold;
    margin:0;
}

.events-grid .event-more .location{    
    font-size:6vh;
    color:#666;
    width:100%;
    text-align:left;
    font-family: Qregular;
}

.events-grid .event-more .date{    
    font-size:5vh;
    color:#888;
    width:100%;
    text-align:right;
    font-family: Qregular;
    padding-bottom:.5em;
}

.events-grid .event-more .tags{
    font-size:5vh;
    font-family: Qbold;
    padding: 0 5vw;
    margin-bottom:.5em;
}
.events-grid .event-more .tags p{
    font-size:.8em;
    color:#888;
}
.events-grid .event-more .tags div{
    line-height:1em;
    display:flex;
    flex-wrap: wrap;
}
.events-grid .event-more .tags div span{
    padding:.4em 1em;
    margin:.5em 0 0 .5em;
    background-color: rgb(255, 127, 0);
    border-radius:5vh;
    color:#fff;
}
.events-grid .event-more div.body{
    font-size: 4vh;
    line-height: 1.7em;
    text-align: justify;
    font-family: Qmedium;
    padding-bottom:6vh;
    display: flex;
    flex-direction: column;
}

.events-grid .event-more div.body h3{
    text-align: none;
    width: 100%;
    font-size:1.5em;
}
.events-grid .event-more div.body img{
    margin: 1em;
    width:35vw;
    border-radius: 3vh;
}

.events-grid .event-more div.body iframe{
    width:80%;
    height:40vw;
    margin:1em 10%;
    border-radius: 3vh;
}
.events-grid .event-more div.body p{
    display: inline;
}
.events-grid .event-more div.body *{
    margin-top:4vh;
}
.events-grid .event-more div.body b{
    margin-left: 1em;
}

.events-grid .event-more div.body div.fb-video-out{
    /*height: auto;*/
    /*display:flex;*/
}
.events-grid .event-more div.body div.fb-video{
    /*margin: auto;*/
    /*width: auto !important;*/
    /*height:auto;*/
    /*align-self: center;*/
}

.events-grid .event-more div.body div.fb-video *{
    margin: 0;
}

@media only screen and (max-width: 900px){
    .events-grid .event-more div.body img{
        width:100%;
        margin:.5em 0em;
        border-radius: 5vw;
    }
    .events-grid .event-more div.body iframe{
        width:100%;
        height:80vw;
        margin:1em 0em;
        border-radius: 5vw;
    }

    /*.events-grid .event-more div.body div.fb-video{*/
        /*margin:1em 0;*/
        /*width:100% !important;*/
    /*}*/
}

@media only screen and (min-width: 900px){
    .events-grid .event-more div.body img.left{ 
        float: inline-start;
        margin-left: 0;
    }
    .events-grid .event-more div.body img.right{ 
        float: inline-end;
        margin-right: 0;
    }
}



.events-grid .event-more .stations{
    font-size:5vh;
    font-family: Qbold;
    padding: 1vw;
    margin-bottom:6vh;
    background-color:#ddd;
    border-radius: 2vh;
}

.events-grid .event-more .stations p.tit{
    font-size:.8em;
    color:#888;
}
.events-grid .event-more .stations .stations-inn{
    display:flex;
    flex-wrap: wrap;
}

.events-grid .event-more .stations .station{
    font-size:calc(24vw / 100);
    width:100em;
    margin:1vw;
    padding:1em;
    background-color:#ccc;
    border-radius: 25em 15em 15em 25em;
    display:flex;
    flex-wrap: wrap;
    color:#111;
    transition:background-color .3s;
}

.events-grid .event-more .stations .station:hover{
    background-color:#bbb;
}

@media only screen and (max-width: 1200px){
    .events-grid .event-more .stations .station{
        font-size:calc(38vw / 100);
    }
}


@media only screen and (max-width: 650px){
    .events-grid .event-more .stations .station{
        font-size:calc(77vw / 100);
    }
}


 .events-grid .event-more .stations .station.extra{
    border-radius: 25em 15em 10em 10em;
}

 .events-grid .event-more .stations .station.extra:not(.full){
    border-radius: 25em 15em 10em 25em;
}

.events-grid .event-more .stations .station .img{
    height: 48em;
    width: 48em;
    border-radius:100em;
    background-size: contain;
    background-position:center; 
    background-repeat:no-repeat;
    background-color:#fff;
}
.events-grid .event-more .stations .station .info{
    height: 48em;
    width: 50em;
    padding:1em;
}
.events-grid .event-more .stations .station .info p{
    font-size:7em;
    text-align:center;
    display:flex;
    align-items: center;
    justify-content: center;
    overflow:visible;
}
.events-grid .event-more .stations .station .info .name{
    height:45%;
    width:100%;
    text-align:center;
    border-bottom:1px #000 dotted;
}
.events-grid .event-more .stations .station .info .misc{
    height:55%;
    width:100%;
    display:flex;
}
.events-grid .event-more .stations .station .info .misc p{
    width:50%;
}
.events-grid .event-more .stations .station .info .misc p:first-child{
    border-right:1px #000 dotted;
}


.events-grid .event-more .stations .station .extra{
    width:100%; 
    min-height:8vh;
    display:flex;
    position:relative;
}
.events-grid .event-more .stations .station .extra p{
    width:calc(100% - 8vh);
    font-size: 7em;
    word-wrap: anywhere;
    padding: 1.5vh;
}
.events-grid .event-more .stations .station .extra p.full{
    width:100%;
}
.events-grid .event-more .stations .station .extra div{
    width:7vh;
    height:7vh;
    border-radius:4vh;
    position: absolute;
    bottom: 1vh;
    right: 1vh;
    background-color:#fff;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}
