:root {
  --lcorange-900: #463200;
}


#em-wrapper{
    padding:50px 0;
}
/********************************************/
/*******************EVENT FILTER*************/
/********************************************/
.flatpickr-calendar{
    font-family: Inter !important;
}

h3.event-search-header{
    margin-left:22px !important;
    margin-bottom:-10px;
    color: var(--Local-Citrus-Orange-lcorange-800, #6B4D00);
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.2px;
}
.em-search-category-select{
    border-radius:8px !important;
    border: 1px solid #AFAFB2 !important;
    max-height:42px !important;
    height:42px;
    padding:0 30px 0 15px ;
    background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M7.29219 12.7066C7.68281 13.0973 8.31719 13.0973 8.70781 12.7066L14.7078 6.70664C15.0984 6.31602 15.0984 5.68164 14.7078 5.29102C14.3172 4.90039 13.6828 4.90039 13.2922 5.29102L7.99844 10.5848L2.70469 5.29414C2.31406 4.90352 1.67969 4.90352 1.28906 5.29414C0.898438 5.68477 0.898438 6.31914 1.28906 6.70977L7.28906 12.7098L7.29219 12.7066Z" fill="%233F3F42"/></svg>');
    background-repeat:no-repeat;
    background-position:95% center;
    color:#757575 !important;
    /* for Firefox */
    -moz-appearance: none;
    /* for Safari, Chrome, Opera */
    -webkit-appearance: none;
}

.em-search-main input[type="submit"]:focus{
    border: 1px solid var(--Mountain-Shadow-Grey-msgrey-50, #E2E2E7) !important;
    box-shadow: 0px 0px 0px 4px #FDBA16 !important;
    outline:none;
    background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M7.29219 12.7066C7.68281 13.0973 8.31719 13.0973 8.70781 12.7066L14.7078 6.70664C15.0984 6.31602 15.0984 5.68164 14.7078 5.29102C14.3172 4.90039 13.6828 4.90039 13.2922 5.29102L7.99844 10.5848L2.70469 5.29414C2.31406 4.90352 1.67969 4.90352 1.28906 5.29414C0.898438 5.68477 0.898438 6.31914 1.28906 6.70977L7.28906 12.7098L7.29219 12.7066Z" fill="%233F3F42"/></svg>');
    background-repeat:no-repeat;
    background-position:95% center;
}

.em-search-category-select:focus,
.em-search-main input[type="text"]:focus,
.em-search-main input[type="select-one"]:focus{
    border-radius: 8px !important;
    border: 1px solid var(--Mountain-Shadow-Grey-msgrey-50, #E2E2E7) !important;
  
    box-shadow: 0px 0px 0px 4px #FDBA16 !important;
    outline:none !important;
    outline-offset: 4px !important;

}


#clear-filters{
    color:#1562A1;
}
#clear-filters:hover{
   color: var(--clr-san-diego-bay-blue-400);
}
#clear-filters:focus{
    border-radius: 8px !important;
    border: 1px solid var(--Mountain-Shadow-Grey-msgrey-50, #E2E2E7) !important;
    background: #FFF !important;
    box-shadow: 0px 0px 0px 4px #FDBA16 !important;
    outline:none;
}

.em-search-main.em-search-main-bar{
    border:none !important;
}

.em-search-main.em-search-main-bar > div{
    display:table-cell !important;
    vertical-align: middle !important;
    padding:10px; 
}

.em .selectize-control.em-selectize.multidropdown{
    width:100% !important;
    border-radius:8px !important;
    border: 1px solid #AFAFB2 !important;
    max-height:42px !important;
    height:42px;
}

.em-search-scope.em-search-field.em-datepicker.em-datepicker-range.input {
    max-width:170px !important;
}

.em-search-scope.em-search-field.em-datepicker.em-datepicker-range.input  input{
    max-width:150px !important;
}

.em.em-search.size-medium.multi-line .em-search-main-bar .em-search-field, .em.em-search.size-small.multi-line .em-search-main-bar .em-search-field {
    border:none !important;
}


.em .em-search-advanced .em-search-main.em-search-main-bar>.em-search-scope .em-datepicker-data, .em.em-search .em-search-main.em-search-main-bar>.em-search-scope .em-datepicker-data, .em.em-search-advanced .em-search-main.em-search-main-bar>.em-search-scope .em-datepicker-data {
    width: 100%;
    padding-left: 0 !important;

}

.em .em-search-advanced .em-search-main.em-search-main-bar>.em-search-scope .em-datepicker-data, .em.em-search .em-search-main.em-search-main-bar>.em-search-scope .em-datepicker-data, .em.em-search-advanced .em-search-main.em-search-main-bar>.em-search-scope .em-datepicker-data{
background-image:none !important;
}

.em-search-main.em-search-main-bar>.em-search-scope .em-datepicker-data,
.em-datepicker-data{
    color: var(--Mountain-Shadow-Grey-msgrey-400, #58585B);
    

}

@media(min-width:768px){
.em-search-main.em-search-main-bar>.em-search-scope .em-datepicker-data,
.em-datepicker-data{
   
    display:flex !important;
    margin-top:-22px;

}

}
.em-datepicker-data div{
    margin-right:12px !important;
}




 .em.em-search .em-search-main.em-search-main-bar>.em-search-scope .em-datepicker-data  input:focus{
    border-radius: 8px !important;
    border: 4px solid #FDBA16  !important;
   
    outline:none;
}

 

 .em.em-search .em-search-main.em-search-main-bar>.em-search-scope .em-datepicker-data  input{
    width:100% !important;
    border-radius:8px !important;
    max-height:42px !important;
    height:42px;
    line-height:42px !important;
   
}




.em-datepicker-data  .separator{
    width:30px;
}

.em-search-text{
   
    color: var(--Mountain-Shadow-Grey-msgrey-400, #58585B);
}

@media(min-width:1200px){
    .em-search-main.em-search-main-bar{
        display:table !important;
    }

    .em .selectize-control.em-selectize.multidropdown{
        width:300px !important; 
    }

    .em-search-scope{
        width:300px !important;
    }
}

input[type="hidden"]{
    display:none !important;
}

.em-search-views{
    width:auto !important;
}

.em.em-search .em-search-views .em-search-views-options-list label.em-search-view-option:checked, .em.em-search .em-search-views .em-search-views-options-list label.em-search-view-option.checked, .em.em-search-advanced .em-search-views .em-search-views-options-list label.em-search-view-option:checked, .em.em-search-advanced .em-search-views .em-search-views-options-list label.em-search-view-option.checked, .em .em-search-advanced .em-search-views .em-search-views-options-list label.em-search-view-option:checked, .em .em-search-advanced .em-search-views .em-search-views-options-list label.em-search-view-option.checked {
    background-color: transparent !important;
    border:1px solid #58585B;

}
.em-search-views:focus{
    border: 1px solid var(--Mountain-Shadow-Grey-msgrey-50, #E2E2E7) !important;
    box-shadow: 0px 0px 0px 4px #FDBA16 !important;
    outline:none;
    border-radius:8px !important;
}

button.em-search-view-option:focus-visible {
    box-shadow: 0px 0px 0px 4px #FDBA16 !important;
    outline: none;
}

.em .em-search-advanced .em-search-main.em-search-main-bar>.em-search-field:not(:first-child) input, .em.em-search .em-search-main.em-search-main-bar>.em-search-field:not(:first-child) input, .em.em-search-advanced .em-search-main.em-search-main-bar>.em-search-field:not(:first-child) input, .em .em-search-advanced .em-search-main.em-search-main-bar>.em-search-field:first-child input, .em.em-search .em-search-main.em-search-main-bar>.em-search-field:first-child input, .em.em-search-advanced .em-search-main.em-search-main-bar>.em-search-field:first-child input{
    border-radius:8px !important;
}
.em.em-search.has-advanced.has-sorting .em-search-sort, .em.em-search.has-advanced.has-views .em-search-views, .em.em-search.has-sorting.has-views .em-search-views,
.em .em-search-advanced .em-search-main.em-search-main-bar>.em-search-field, .em.em-search .em-search-main.em-search-main-bar>.em-search-field, .em.em-search-advanced .em-search-main.em-search-main-bar>.em-search-field{
    border-right:none !important;
    border-left:none !important;
}


.em .em-search-advanced .em-search-main.em-search-main-bar>.em-search-field:not(:first-child) input, .em.em-search .em-search-main.em-search-main-bar>.em-search-field:not(:first-child) input, .em.em-search-advanced .em-search-main.em-search-main-bar>.em-search-field:not(:first-child) input,
.em .em-search-advanced .em-search-main.em-search-main-bar>.em-search-field:first-child input, .em.em-search .em-search-main.em-search-main-bar>.em-search-field:first-child input, .em.em-search-advanced .em-search-main.em-search-main-bar>.em-search-field:first-child input{
    border: 1px solid #AFAFB2 !important;
    padding:8px;
    border-radius:8px !important;
}

.em-search-submit{
    background:#1562A1;
    background-image:none !important;
    border:none !important;
    border-radius:8px;
    padding:8px 16px;
    color:#fff;
    font-weight:bold;
}


.cosd-event-nav{
    padding:0;
}

.cosd-event-nav ul{
    display:flex;
    margin:0;
    padding:0;
}

.cosd-event-nav ul li{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    justify-content: center;
}


.em .em-pagination ul{
    height:40px !important;
}
.em .em-pagination .page-numbers,
.em .em-pagination .page-numbers:hover{
    text-decoration:none !important;
    color:#1562A1 !important;
    border:#E2E2E7 2px solid !important;
    border-radius: 4px !important;
    margin:2px !important;
    width:40px !important;
    height:40px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 700 !important;


    

}



.em .em-pagination .cosd-prev.first.page-numbers,
.em .em-pagination .cosd-prev.page-numbers,
.em .em-pagination .cosd-next.page-numbers{
     width:40px !important;
    height:40px !important;
    border:#E2E2E7 2px solid !important;
}


.em .em-pagination .page-numbers.current{
   
    font-size:  16px !important;
    height:40px !important;
    line-height: 40px !important;
    padding:0 !important;
    border-radius: 4px !important;
    background: var(--San-Diego-Bay-Blue-sdblue-900, #001C31);
    color:#fff !important;
    font-size: 16px !important;
}

.em .em-pagination .page-numbers:focus{
    font-weight: bold !important;
    font-size: 16px !important;
    height:40px !important;
    line-height: 40px  !important;
    padding:0 !important;
    border-radius: 4px !important;
    
    color:#fff !important;
    font-size: 18px !important;
    border: 1px solid var(--Mountain-Shadow-Grey-msgrey-50, #E2E2E7) !important;
    background: #FFF !important;
    box-shadow: 0px 0px 0px 4px #FDBA16 !important;
    outline:none !important;
    color:#1562A1 !important;
}
/********************************************/
/****************EVENT GRID VIEW*************/
/********************************************/

.events-hero{
    background: var(--Grad-Yellow, linear-gradient(90deg, #FDBA16 0%, #FFDE76 100%));
}

.events-hero .title,
.events-hero p{
    color:#463200!important;
}

.page-events #wrapper-hero-full-width .title {
    color: var(--lcorange-900);
}

.em-item-image.has-placeholder{
    background: var(--Local-Citrus-Orange-lcorange-400, #FDBA16);
    border-radius:16px 16px 0 0 ;
}

.em-item-image-placeholder{
    background: none !important;
    opacity:1;
}

.em.em-view-container[data-view='grid'] .em-event.em-item{
    display:flex !important;
    flex-direction:column;
    overflow: hidden;
}

.em.em-view-container[data-view='grid'] .em-event.em-item:hover{
    background: var(--San-Diego-Bay-Blue-sdblue-0, #EBF8FF);
}


.em.em-view-container[data-view='grid'] .em-event.em-item .em-item-image{
    height:40% !important;
    overflow:hidden;
}

.em-item-image-placeholder{
    opacity:1 !important;
}

.em-item-image-placeholder .date{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    color: var(--Local-Citrus-Orange-lcorange-800, #6B4D00) !important;
    font-size: 48px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: normal !important;
}

.em-item-image-placeholder .date .month{
    display:block  !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    text-transform:uppercase !important;
    margin-bottom:0 !important;
}

.em-item-image-placeholder .date .day{
    display:block  !important;
    font-size: 48px !important;
    font-weight: 600 !important;
    align-self:normal !important;
    margin-bottom:0 !important;
}


.em-item{
    box-shadow:none;
    border:1px solid #ccc;
    border-radius:16px;
    font-family: Inter;
}



.em-item-image-wrapper{
    border-radius:16px 16px 0 0 ;
    overflow:hidden;
}
.em-item-image-wrapper img{
    max-width:100% !important;
    max-height:100% !important;
}

div.em-item-info{
    border:none;
}

.em.em-list.em-list>div.em-item .em-item-info .em-item-title a,
.em.em-list.em-grid>div.em-item .em-item-info .em-item-title a{
    display:inline-block;
    font-family: Inter !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: normal !important;
    color: var(--San-Diego-Bay-Blue-sdblue-400, #1562A1) !important;  
}

.em.em-view-container[data-view='list'] .em-event.em-item .em-item-image.has-placeholder{
    background: var(--Local-Citrus-Orange-lcorange-400, #FDBA16);
    border-radius:16px;
    min-height:250px;
}



.em-item .em-icon{
    display:none;
}
.em-event-time,
.em-event-date{
    white-space:nowrap;
}

.em-event-meta.em-item-meta .em-item-meta-line.em-event-date.em-event-meta-datetime{
    color: var(--Mountain-Shadow-Grey-msgrey-800, #242427);
    /* Body/16px/16 Medium */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    margin:0;
}

.em-event-meta.em-item-meta .em-item-meta-line.em-event-time.em-event-meta-datetime{
    color: var(--Mountain-Shadow-Grey-msgrey-800, #242427);
    /* Body/16px/16 Medium */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}


.em-item-info div.event-categories,
.em-item-info ul.event-categories{
    padding:0;
    margin-bottom:20px;
    text-transform: uppercase;
    font-weight:500;
   
}
.em.em-item .em-item-meta .em-item-taxonomy ul li, .em.em-list .em-item .em-item-meta .em-item-taxonomy ul li, .em.em-list-widget .em-item .em-item-meta .em-item-taxonomy ul li,
.event-categories span.catclass,
.event-categories li.catclass{
    list-style:none;
    display:inline-block;
    padding:4px 8px !important;
    border-radius: 8px;
}


.event-notes p{

    overflow: hidden;
    color: var(--Mountain-Shadow-Grey-msgrey-800, #242427);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

@media(max-width:767px) {
    .em.em-list.em-grid {
        grid-template-columns: auto;
    }
}

/***********************************/
/**********EVENT LIST VIEW*********/
/***********************************/
.em.em-list.em-grid .em-item .em-item-info, .em.em-list.size-small .em-item .em-item-info,
.em.em-list .em-item .em-item-info{
   border:none !important;
}


.em.em-view-container[data-view='list'] .em-event.em-item {
    border:none;
    border-radius:0;
    border-bottom: 1px solid var(--Mountain-Shadow-Grey-msgrey-100, #D3D3D6);
    padding-bottom:30px;
}

.em.em-view-container[data-view='list'] .em-event.em-item .em-item-image {
    position: relative;
}

.em.em-view-container[data-view='list'] .em-event.em-item .em-item-image a {
    align-content: center;
    border-radius: 18px;
    bottom: 0;
    display: block;
    height: 100%;
    justify-items: center;
    left: 0;
    overflow: hidden;
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
}

.em.em-view-container[data-view='list'] .em-event.em-item .em-item-image img{
    border-radius:8px;
    padding:0;
}

.em.em-view-container[data-view='list'] .em-event-meta.em-item-meta{
    justify-content:flex-start;
}

.em.em-list .em-item .em-item-info .em-item-meta>div{
    flex:auto;
    min-width:auto;
}


/*********************************/
/*************EVENT SINGLE**********/
/*********************************/



/*************BANNER AREA**********/
@media(min-width:768px){
    .event-banner-row{
            padding:0 0;
            display: flex !important;
    }
}

.event-info-side{
    width:100%;
}

.event-info-side .inner{
    width:100%;
}

.event-info-side .inner h1{
    font-size:32px !important;
}

@media(min-width:768px){
    .event-info-side{
        width:50%;
    }

    .event-info-side .inner h1{
        font-size:40px !important;
    }
}


.event-banner-row .event-image{
    position:relative;
    order:2;
}



@media(min-width:768px){
    .event-banner-row .event-image{
        position:relative;
        width:50%;
        order:2;
    }
}

.event-banner-row .event-image img{
    width:100%;
    height:100%;
}


/*************CONTENT AREA**********/

.event-content-wrapper{
    padding:40px 0;
}


.event-page-row{
    padding:0 30px;
    @media(min-width:1129px){
        padding:0 0;
        display:flex;
    }
}



.event-main-content{
    width:100%;
    @media(min-width:1129px){
        padding-right:40px;
        width:70%;
    }
}

.event-sidebar{
    @media(min-width:1129px){
        width:30%;
    }

}

body.rtl .event-main-content{
        padding-right:0;
        padding-left:40px;
}

.single-event .em-item{
    box-shadow:none;
    border:none;
    border-radius:0;
    font-family: Inter;



}

.cosd-event-container{
    max-width:1110px;
    margin:0 auto;
}

.full-background.no-image,
.short-background.has-image{
    width: 100%;
    background: linear-gradient(
    90deg,
    #001B38 0%,
    #004B8A 100%
  );
}


.event-banner-info .label-side{
    width:100px;
}

.event-hero{
    color:#ffffff;
}

.event-info-side{
    padding-top:clamp(32px,5%,64px);
    padding-bottom:clamp(32px,5%,64px);
}
.event-info-side .inner{
    padding:0 30px;
}



@media(min-width:768px){
    .event-info-side .inner{
        
        max-width:580px;
        float:right;
        
    }
}


.event-hero img{
    
    width:100%;
    height:100%;
    object-fit:cover;
   
}

.archive-tag{
    font-weight:bold;
    margin:15px 0;
}


@media(min-width:768px){



.event-hero img{
    width:100%;
    height:100%;
    object-fit:cover;
    position:absolute;
}



}


.em .em-event-add-to-calendar.em-tooltip-ddm.em-clickable.input{
    margin:15px 0 0 0;
    color:#B0DBFF;
    padding:8px 12px !important;
    border-radius: 8px;
    border: 1px solid var(--San-Diego-Bay-Blue-sdblue-100, #B0DBFF) !important;


  
    text-align: center;
    
    /* Body/14px/14 Semibold */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
    
}
.em .em-event-add-to-calendar.em-tooltip-ddm.em-clickable.input svg{

width:20px;
height:20px;
}

.event-buttons{
    margin-top:30px;
    display:flex;
}

.registration-link a{
    margin-right:15px;
    border:1px solid var(--clr-san-diego-bay-blue-400) !important;
    border-radius: 8px !important;
}


.add-to-cal.em-icon.em-icon-calendar{
    color:#fff;
}




.event-content h2{
color: var(--San-Diego-Bay-Blue-sdblue-800, #002B4C);
/* Serif Heading/Serif Header H2 */
font-family: Lora;
font-size: 32px;
font-style: normal;
font-weight: 700;
line-height: 42px;
}


.event-section{
    margin-bottom:50px;
}

.agenda-wrap{
    display: flex;
    width: 540px;
    padding: 16px 24px;
    align-items: flex-start;
    gap: 16px;
    border-radius: 2px 8px 8px 2px;
    border-left: 4px solid var(--Red, #E61B23);
    background: var(--Mountain-Shadow-Grey-white, #FFF);
    /* Bodered shadow */
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.55);
    margin-bottom:10px;
}

.doc-download__container li:hover{
    background:#EBF8FF !important;
}

.doc-download__container li:focus{
    border-radius: 16px !important;
    /* border: 1px solid var(--Mountain-Shadow-Grey-msgrey-50, #E2E2E7) !important;
    background: #000 !important; - commented out by JP */
    box-shadow: 0px 0px 0px 4px #FDBA16 !important;
}



.location-details iframe{
    margin-bottom:15px;
}

.location-card{
    display: flex;
    max-width: 540px;
    width:100%;
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border-radius: 8px;
    border-left: 4px solid var(--Mountain-Shadow-Grey-msgrey-50, #E2E2E7);
    background: var(--Mountain-Shadow-Grey-white, #FFF);
    
    /* Bodered shadow */
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.55);
}

.location-card h3{

color: var(--San-Diego-Bay-Blue-sdblue-400, #1562A1);
color: var(--San-Diego-Bay-Blue-sdblue-400, #1562A1);
/* Heading/H4 */
font-family: Inter;
font-size: 18px;
font-style: normal;
font-weight: 600;
line-height: 24px; /* 133.333% */
}

.location-card h3 a{
    text-decoration:none;
}




.sidebar-box{
    padding:24px;
    border-radius: 8px;
    background: var(--Mountain-Shadow-Grey-msgrey-0, #F5F5F7);
    margin-bottom:30px;
}

.sidebar-box a{
    text-decoration:none;



}
.truncate-email {
  display: inline-block;
  max-width: 200px; /* Set this to your preferred limit */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.event-contact-info{
    margin:0;
    padding:0;
    white-space: nowrap;
    list-style:none;

}
.event-contact-info li{
margin: 16px 0 0;
}


.related-links{
 margin:0;
 padding:0;
 list-style: none;
}

.related-links li{
    margin-bottom:15px;
}


.em-search-scope input[type="date"] {
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    color: #757575 !important;
   
    height:40px !important;
    line-height:40px;
    border-radius: 4px !important;
    padding: 4px 10px !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.em-search-scope input[type="date"]::-webkit-datetime-edit {
    color: #757575 !important;
    font-weight: 400 !important;
    font-family: inherit !important;
    letter-spacing: 0.5px !important;
}

.em-search-scope input[type="date"]::-webkit-datetime-edit-text,
.em-search-scope input[type="date"]::-webkit-datetime-edit-month-field,
.em-search-scope input[type="date"]::-webkit-datetime-edit-day-field,
.em-search-scope input[type="date"]::-webkit-datetime-edit-year-field {
    color: #757575 !important;
    font-weight: inherit !important;
    font-family: inherit !important;
}
