/*
 * Theme Name: Judiciary Theme
 * Author: dxw
 * Version: 0.1.0
 * Author URI: https://www.dxw.com/
 * License: MIT
 * License URI: https://opensource.org/licenses/MIT
 * Text domain: judiciary-theme
 */

/**
* Fullcalendar overrides
**/
.fc-prevYear-button.fc-button, .fc-prev-button.fc-button, .fc-nextYear-button.fc-button, .fc-next-button.fc-button   {
    background-color: #222950 !important;
    border: 1px solid white !important;
}

.fc-header-toolbar .fc-toolbar-chunk:last-child {
    background-color: #222950 !important;
    
}

.fc-header-toolbar .fc-toolbar-chunk:first-child .fc-button-group .fc-dayGridMonth-button, .fc-header-toolbar .fc-toolbar-chunk:first-child .fc-button-group .fc-listMonth-button {
    background-color: #222950 !important;
}

.fc-header-toolbar .fc-toolbar-chunk:first-child select.fc-button {
    background-color: #222950 !important;
}

.civicrm-ux-event-popup-container {
    display: none;
}

#civicrm-event-fullcalendar {
    padding-bottom: 50px;
}

.fc-header-toolbar .fc-toolbar-chunk:first-child .fc-button-group button {
    background-color: #222950 !important;
}

.civicrm-event-listing-item {
    margin-top:10px;
    margin-bottom: 10px;
}

.civicrm-event-listing-item p {
    margin-top:10px;
    margin-bottom: 10px;
}
#civicrm-event-fullcalendar button, #civicrm-event-fullcalendar select, #civicrm-event-fullcalendar h2.fc-toolbar-title {
    font-size:19px!important;
}
    
#civicrm-event-fullcalendar .fc-toolbar-title {
    padding-top: 12px!important;
}
.fc-event-title a {
    font-size: 19px!important;
}
/**
* END Fullcalendar overrides
**/
.wp-element-caption {
    font-size: 19px;
}
.header-login-navigation {
    text-align: right;
}
nav.sidenav ul {
    list-style-type: none;
    padding-left: 0;
    background: #eee;
    list-style-position: inside;
}
nav.sidenav ul li {
    list-style-image: none;
}
#main-content .sidenav a {
    text-decoration: none;
}
nav.sidenav ul li a {
    border-bottom: 2px solid #fff;
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    padding-left: 33px;
    background-image: url(../assets/img/chevron.png);
    background-position: 15px 22px;
    background-repeat: no-repeat;
    font-size: 19px;
    line-height: 23px;
    line-height: 2.3rem;
}

nav.sidenav ul li.current_page_item a {
    border-bottom: none;
    background: #222950;
    color: #fff;
    padding-left: 13px;
}

.crm-title {
    display: none;
}
.crm-section.form-item {
    padding-top: 10px;
    padding-bottom: 10px;
}
.crm-section .content.description {
    font-weight: bold;
}

.crm-section.form-item .edit-value.content input[type=text] {
    font-family: "Proxima-Nova",sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.25;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    height: 2.5rem;
    margin-top: 0;
    padding: 5px;
    border: 2px solid #0b0c0c;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.crm-container .crm-submit-buttons .crm-form-submit,
.crm-container a.button.action-item,
.crm-container a.button.cancel,
.crm-container .crm-button.crm-form-xbutton,
.ff-btn-submit,
.event-info .register_link-bottom a, .civicrm-ux-event-listing .civicrm-ux-event-listing-register {
    font-family: "Proxima-Nova",sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 600 !important;
    font-size: 1rem !important;
    line-height: 1.1875 !important;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    width: 100%;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 22px !important;
    padding: 0.5rem 2rem !important;
    border: 2px solid rgba(0,0,0,0) !important;
    border-radius: 7px !important;
    color: #fff;
    background-color: #222950 !important;
    box-shadow: none;
    text-align: center; 
    vertical-align: top;
    cursor: pointer;
    -webkit-appearance: none;
}

.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.crm-container.crm-public.ui-draggable.ui-resizable .ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix .ui-button.ui-corner-all.ui-widget
 {
    font-family: "Proxima-Nova",sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 600;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.1875;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    width: 100%;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 22px;
    padding: 0.5rem 2rem;
    border: 2px solid rgba(0,0,0,0);
    border-radius: 7px;
    color: #fff;
    background-color: #222950 !important;
    box-shadow: none;
    text-align: center;
    vertical-align: top;
    cursor: pointer;
    -webkit-appearance: none;
}
 
.civicrm-event-listing-item .civicrm-event-item-register {
    display: none;
}

.civicrm-profile-edit .govuk-button,
.crm-container.crm-public a[title^="View "], 
.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.crm-container.crm-public.ui-draggable.ui-resizable .ui-button-icon.ui-icon.fa-print, 
.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.crm-container.crm-public.ui-draggable.ui-resizable .action-link,
.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.crm-container.crm-public.ui-draggable.ui-resizable .ui-button-icon.ui-icon.fa-expand {
    visibility: hidden;
}

.select2-container{
    z-index:1000 !important;
}

.logged-in .loginheader {
    display:none;
}

.logged-in .eventsheader {
    margin-top:0px;
}

.single-video .wp-block-embed-youtube iframe {
    width: 100vw;
    height: 100vh;
}

.fullwidth.wp-block-embed-youtube iframe {
    width: 100vw;
    height: 100vh;
}

.card__title.external::after { 
    background: none;
}
ul.tml-links {
    padding-left:0;
} 

ul.tml-links li {
    list-style:none
}

/**
* Youtube fullwidth - add class youtube-fullwidth to youtube embed in wordpress, keeps getting stripped on page edit?
*/
/* .youtube-fullwidth .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.youtube-fullwidth .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
} */

/*
* responsive table on the my-profile sections
*/
#option11_wrapper {
    overflow-x: auto;
    width: 100%;
}

#option11_wrapper table {
    width: 800px;
}
.crm-container .action-link.iCal_links-section {
    height: 100%;
}

/* event info and reg tweaks */

.event-info .crm-section.event_date_time-section .label {
    display: none;
}

#crm-container.crm-public .crm-block.crm-event-info-form-block .event-info .crm-section.event_date_time-section .content {
    font-size: 1.5em;
    margin-bottom: 1em;
     
}
.search-filter .filter-container__buttons {
    margin-top: 25px;
}

.banner h1 {
    font-size: 1.5em;
}

@media (min-width: 40.0625em) {
    .banner h1 {
        font-size: 2em;
    }
}
.banner.alignfull .text ul li {
    margin-bottom: 10px;
}
@media (max-width: 62.49em) {
    .banner.alignfull .text {
        padding: 20px;
    }
}
.civicrm-ux-event-popup-container .civicrm-ux-event-popup {
    padding: 0;
}
.civicrm-ux-event-listing .civicrm-ux-event-listing-register {
    height: 40px;
    margin-top: 30px;
}
.civicrm-ux-event-listing-type {
    background-color: black;
}

@media (max-width: 62.49em) {
    #civicrm-event-fullcalendar {
        display: none;
    }
}

@media (min-width: 40.0625em) {
    .videos {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
    }
    .videos > * {
        width: 29%;
        padding: 10px;
    }
}

.civicrm-event.civicrm-event-info .action-link.section.register_link-section.register_link-top {
    display: none;
}

body.civicrm .govuk-breadcrumbs {
    display: none;
} 