/*******************************/
/* Global
/*******************************/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --sewhite: #FFFFFF;
    --seblack: #000000;
    --sepurple: #400059;
    --sedarkpurple: #3c124c;
    --seblue: #fded01;
    --sepink: #913552;
    --sedarkpink: #9E0034;
}

html {
    background: rgb(178, 0, 52);
    background: linear-gradient(256deg, rgba(178, 0, 52, 1) 0%, rgba(123, 0, 54, 1) 24%, rgba(89, 0, 60, 1) 49%, rgba(52, 0, 101, 1) 100%);
    min-height: 100vh;
}

body.school-engagement {
    background: transparent;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 500;
    font-size: 19px;
    -webkit-tap-highlight-color: transparent;
}

body.school-engagement a {
    color: var(--sewhite);
    text-decoration: none;
    word-wrap: break-word;
}

body.school-engagement a:hover {
    opacity: 0.8;
}

body.school-engagement table td, body.school-engagement table th {
    color: var(--sewhite);
}

body.school-engagement .table-wrapper {
    overflow-x: auto;
}

body.school-engagement table:not(.ui-datepicker-calendar) th:first-child {
    min-width: 200px;
}

input::placeholder {
    color: var(--sewhite);
}

body.school-engagement .text-danger, body.school-engagement .saved {
    color: var(--seblue) !important;
    font-size: 19px;
}

body.school-engagement .large-text {
    font-size: 22px;
}

body.school-engagement .maxw-800 {
    max-width: 800px;
}

@media (min-width: 768px) {
    body.school-engagement #login.container {
        max-width: 900px;
    }
}

@media (min-width: 1200px) {
    body.school-engagement #login.container, body.school-engagement .container {
        max-width: 1440px;
    }
}

@media (min-width: 1400px) {
    body.school-engagement .container {
        max-width: 1650px;
    }
}

/*******************************/
/* Add Feedback
/*******************************/
body.school-engagement #add-feedback textarea {
    width: 100%;
}

/*******************************/
/* Login / Register
/*******************************/
body.school-engagement h1, body.school-engagement h2 {
    font-family: "Work Sans", sans-serif;
    font-weight: 800;
    color: var(--sewhite);
    font-size: 2rem;
}

body.school-engagement h2 {
    font-size: 1.75rem;
}

body.school-engagement h1.logo {
    padding-left: 70px;
    position: relative;
    font-size: 1.75rem;
}

body.school-engagement h1.logo::before {
    content: "";
    width: 48px;
    height: 42px;
    background: url('https://schools-staging.thepowerofevents.org/wp-content/uploads/2024/12/POE_Transparent_White_Logomark.svg');
    background-size: 48px;
    position: absolute;
    top: 0;
    left: 0;
}

body.school-engagement #login .card {
    width: 47%;
    background-color: transparent;
}

body.school-engagement #login .card-header {
    background: transparent;
    border-radius: 0;
    color: var(--sewhite);
}

body.school-engagement #login .card-header h2 {
    font-family: "Nunito Sans", sans-serif;
    text-align: center;
    text-transform: uppercase;
    font-size: 19px;
    margin: 0 0 10px 0px;
    font-weight: 500;
}

body.school-engagement .panel-tint {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    color: var(--sewhite);
}

body.school-engagement .panel-tint.danger {
    background: rgb(178, 0, 52);
}

body.school-engagement label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body.school-engagement #school_user_settings_form label {
    display: inline-block;
    margin-bottom: 5px;
}

body.school-engagement #school_user_settings_form h3, body.school-engagement #ambassador_user_settings_form h3 {
    font-size: 19px;
    font-weight: 700;
}

body.school-engagement input, body.school-engagement select, body.school-engagement textarea, .select-selected {
    margin-bottom: 25px;
    width: 100%;
    border-radius: 10px;
    background-color: transparent;
    border: 1px solid var(--sewhite);
    padding: 5px 10px;
    color: var(--sewhite);
    font-size: 19px !important;
}

#county .black {
    color: var(--seblack);
}

body.school-engagement .timepicker .select-selected {
    margin-bottom: 0;
}

body.school-engagement .select2-selection {
    width: 100%;
    border-radius: 10px;
    background-color: transparent;
    border: 1px solid var(--sewhite);
    padding: 5px 10px;
    color: var(--sewhite);
    font-size: 19px !important;
}

body.school-engagement .select2-selection .select2-search {
    padding: 0;
    margin: 0;
}

body.school-engagement .select2-selection .select2-search .select2-search__field {
    width: 100%;
    margin: 0px;
    padding: 0px;
    height: 28px;
    vertical-align: top;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 0 5px 0 0;
    background-color: var(--sewhite);
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid var(--sewhite);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: transparent;
    border: none;
    color: var(--sewhite);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    margin-top: 5px;
    border-right: none;
    color: var(--sewhite);
}

.select2-container--default .select2-results {
    overflow: hidden;
}

/* .select2-container--default .select2-results>.select2-results__options{
    width: calc(100% + 18px);
} */
.select2-container--default .select2-results > .select2-results__options::-webkit-scrollbar-thumb {
    background-color: #000;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable, .select2-container--default .select2-results__option--selected {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--seblack);
}

.custom-select {
    position: relative;
    font-family: Arial;
    margin-bottom: 25px;
}

.custom-select select {
    display: none;
}

.form-select, .form-control {
    font-size: 19px;
    line-height: inherit;
}

.form-select:focus, .form-control:focus, .select-selected.has-error {
    background-color: transparent !important;
    border-color: var(--seblue) !important;
    color: var(--sewhite);
}

/*style the arrow inside the select element:*/
.select-selected:after {
    position: absolute;
    content: "";
    top: 18px;
    right: 12px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}

/*style items (options):*/
.select-items {
    position: absolute;
    background-color: var(--sewhite) !important;
    color: var(--seblack) !important;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border-radius: 0 0 10px 10px;
    border: 1px solid var(--sewhite);
    border-top: 0;
}

.select-items div, select optgroup, select optgroup option {
    color: var(--seblack) !important;
}

.select-selected.select-arrow-active {
    border-radius: 10px 10px 0 0;
    border-bottom: 0;
}

/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}

.select-items div {
    padding: 5px 10px;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
    opacity: 1;
}


body.school-engagement input.percentage {
    width: 60px;
    display: inline-block;
    margin-right: 10px;
}

body.school-engagement input::-webkit-outer-spin-button,
body.school-engagement input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body.school-engagement input[type=number] {
    -moz-appearance: textfield;
}

body.school-engagement select {
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    appearance: none;
    background-image: url('https://schools-staging.thepowerofevents.org/wp-content/uploads/2024/12/select-down-arrow.svg');
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: right 15px top 15px;
}

body.school-engagement select#region {
    background-image: none;
    height: 88px;
}

body.school-engagement select#region option {
    text-wrap: auto;
}

body.school-engagement input:focus-visible, body.school-engagement select:focus-visible {
    outline: var(--seblack);
}

/* body.school-engagement #login .card input{
    margin-bottom: 15px;
    width: 100%;
    border-radius: 10px;
    background: transparent;
    border: 1px solid var(--sewhite);
    padding: 5px;
} */
body.school-engagement #login .card .checkbox label, body.school-engagement #login .card .checkbox input {
    display: inline-block;
}

body.school-engagement input[type=checkbox] {
    float: left;
    width: 15px;
    height: 15px;
    margin: 5px 20px 0 0;
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

body.school-engagement label.checkbox-label {
    padding-left: 30px;
    margin-bottom: 0;
}

body.school-engagement .checkmark {
    position: absolute;
    top: 4px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 3px;
}

body.school-engagement label input:checked ~ .checkmark {
    background-color: #FFFFFF;
}

body.school-engagement label .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

body.school-engagement label input:checked ~ .checkmark:after {
    display: block;
}

body.school-engagement label .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

body.school-engagement #login .card .checkbox button {
    float: right;
}


body.school-engagement a.button, body.school-engagement button {
    color: var(--sewhite);
    background: var(--seblack);
    font-family: "Work Sans", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px;
    border: 0;
    line-height: 1;
    text-decoration: none;
    border: var(--seblack) solid 1px;
    transition: all 0.25s ease;
    display: inline-block;
    opacity: 1;
    text-align: left;
}

body.school-engagement a.button:hover, body.school-engagement button:hover, body.school-engagement a.button.outline:hover, body.school-engagement button.button.outline:hover {
    opacity: .8;
}

body.school-engagement a.button.outline, body.school-engagement button.button.outline {
    color: var(--sewhite);
    background: transparent;
    border: var(--sewhite) solid 1px;
    /* display: block; */
}

body.school-engagement .help-links, body.school-engagement .help-links a {
    text-transform: uppercase;
    text-decoration: none;
    color: var(--sewhite);
}

@media (max-width: 768px) {
    body.school-engagement #login .card {
        width: 100%;
    }

    body.school-engagement #login .card:last-child {
        margin-top: 25px;
    }
}

/*******************************/
/* Dashboard
/*******************************/
body.school-engagement .dashboard-panel h5 span {
    font-family: "Work Sans", sans-serif;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1;
}

body.school-engagement .sidebar ul.nav li a {
    color: var(--sewhite);
    padding-left: 0;
}

body.school-engagement .sidebar ul.nav li.active {
    font-weight: bold;
}

body.school-engagement .top-navbar ul.nav li.active {
    font-weight: bold;
}

body.school-engagement .engagements-tab.active {
    font-weight: bold;
}

body.school-engagement .top-links a {
    color: var(--sewhite);
}

body.school-engagement .add-engagement a {
    float: right;
}

body.school-engagement .table > :not(caption) > * > * {
    padding: 20px;
}

body.school-engagement table thead {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px 5px 0 0;
}

body.school-engagement .top-navbar .top-nav-burger {
    background: transparent;
    border: 0;
}

body.school-engagement .top-navbar .top-nav-burger:focus {
    box-shadow: none;
}

body.school-engagement .top-navbar .mobile-menu-icon {
    background: url('../images/hamburger.svg');
    background-size: 100%;
    background-position: top center;
    background-repeat: no-repeat;
    transition: background-position .35s ease;
    width: 24px;
    height: 24px;
    display: block;
}

body.school-engagement p.last-pad:last-child {
    margin: 10px 0 15px 0 !important;
}

body.school-engagement .top-navbar .mobile-menu-icon.show {
    background-position: bottom center;
    transition: background-position .35s ease;
}

::-webkit-scrollbar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: green;
}

::-webkit-scrollbar-thumb {
    background: var(--sewhite);
    border-radius: 10px;
    border: 0;
}

::-moz-scrollbar-thumb {
    background: var(--sewhite);
    border-radius: 10px;
    border: 0;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 0;
}

::-moz-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 0;
}

body.school-engagement .pagination a {
    margin: 0 20px;

}

body.school-engagement .ui-datepicker-header, body.school-engagement .ui-state-default, body.school-engagement .ui-widget-content .ui-state-default, body.school-engagement .ui-widget-header .ui-state-default, body.school-engagement .ui-button, body.school-engagement .ui-button.ui-state-disabled:hover, body.school-engagement .ui-button.ui-state-disabled:active {
    background: var(--sedarkpink);
    color: var(--sewhite);
    text-align: center;
    font-family: "Nunito Sans", sans-serif;
    font-size: 19px;
}

body.school-engagement .ui-state-default.ui-state-highlight {
    background: var(--sepurple);
    color: #FDED01;
}

body.school-engagement a.ui-state-default:hover, body.school-engagement .ui-state-active, body.school-engagement .ui-widget-content .ui-state-active {
    opacity: 1;
    border: 1px solid #FDED01;
    color: #FDED01;
}

body.school-engagement .ui-datepicker .ui-datepicker-prev span, body.school-engagement .ui-datepicker .ui-datepicker-next span {
    background-image: url('../images/left-arrow.png');
    background-repeat: no-repeat;
    background-position: center;
    width: 16px;
    height: 16px;
    background-size: 16px;
    margin-top: -6px;
}

body.school-engagement .ui-widget.ui-widget-content {
    border: 0;
    padding: 6px 6px 0 6px;
}

body.school-engagement .ui-datepicker .ui-datepicker-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 19px;
    font-weight: bold;
}

body.school-engagement .ui-datepicker .ui-datepicker-next span {
    background-image: url('../images/right-arrow.png');
}

body.school-engagement .ui-widget-header .ui-state-hover {
    border: 0;
}

body.school-engagement a.ui-datepicker-next, body.school-engagement a.ui-datepicker-prev {
    opacity: 1;
    background: transparent;
    cursor: pointer;
}

body.school-engagement .ui-datepicker-next-hover {
    right: 2px;
    top: 2px;
    background: var(--sepink);
}

body.school-engagement .ui-datepicker-prev-hover {
    left: 2px;
    top: 2px;
    background: var(--sepink);
}

@media (max-width: 992px) {
    body.school-engagement .top-links a {
        padding: 5px 12px;
    }

    body.school-engagement .engagements-tab {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}

@media (max-width: 768px) {
    body.school-engagement .add-engagement a {
        float: left;
        margin: 20px 0;
    }
}

/*******************************/
/* Ambassador
/*******************************/
body.school-engagement .name-under {
    margin-bottom: 25px;
}

body.school-engagement .name-under.no-name label {
    height: 24px;
}

body.school-engagement .name-under input {
    margin-bottom: 5px;
}

body.school-engagement input#headshot {
    margin-bottom: 10px;
}

body.school-engagement input.percentage-input {
    width: 60px;
}

body.school-engagement .modal-content {
    background: linear-gradient(256deg, rgba(178, 0, 52, 1) 0%, rgba(123, 0, 54, 1) 24%, rgba(89, 0, 60, 1) 49%, rgba(52, 0, 101, 1) 100%);
    border-radius: 5px;
    border: solid 1px var(--sepurple);
}

body.school-engagement .modal-content .video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
}

body.school-engagement .modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 0 5px 5px;
}

body.school-engagement .modal-header .btn-close {
    background: transparent url(../../assets/images/cross.png) center no-repeat;
    background-size: 19px;
}

@media (max-width: 992px) {
    body.school-engagement .name-under {
        margin-bottom: 10px;
    }

    body.school-engagement .name-under.no-name {
        margin-bottom: 25px;
    }

    body.school-engagement .name-under.no-name label {
        height: 0;
    }
}

/*******************************/
/* Engagements
/*******************************/
body.school-engagement .accordion-more button{
    font-family: "Nunito Sans", sans-serif;
    font-weight: bold;
    font-size: 19px;
    background: none;
    border: 0;
    text-transform: none;
    position: relative;
}
body.school-engagement .accordion-more button::before {
            content: '';
            position: absolute;
            top: calc(50% - 8px);
            left: 0;
            width: 0;
            height: 0;
            border-left: 8px solid transparent; 
            border-right: 8px solid transparent;
            border-top: 15px solid white;
            transition: all .5s;
            transform: rotate(-90deg);
        }
body.school-engagement .accordion-more button:not(.collapsed)::before{
    transform: rotate(0deg);
    transition: all .5s;
}
/*******************************/
/* Forms
/*******************************/
legend.gfield_label, label.gfield_label, label.gform-field-label {
    color: var(--sewhite) !important;
    font-size: 19px !important;
}

.gform-body input {
    width: 100% !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: 1px solid var(--sewhite) !important;
    padding: 5px 10px !important;
    color: var(--sewhite) !important;
}

.gform-footer input.gform_button {
    color: var(--sewhite) !important;
    background: var(--seblack) !important;
    font-family: "Work Sans", sans-serif !important;
    font-weight: 600 !important;
    font-size: 19px !important;
    text-transform: uppercase !important;
    padding: 10px !important;
    border: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    border: var(--seblack) solid 1px !important;
    transition: all 0.25s ease !important;
    display: inline-block !important;
    border-radius: 0 !important;
}

.gform-footer input.gform_button:hover {
    opacity: .8 !important;
}

.gfield_required_text,
.gform-theme--framework .gfield_validation_message:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme--framework .gform_validation_errors .gform_submission_error,
.gform-theme--framework .gform_validation_errors .gform-icon {
    color: var(--seblue) !important;
    font-size: 19px !important;
}

.gform-theme--framework .gform_validation_errors,
.gform-theme--framework .gform_validation_errors .gform-icon,
.gform-theme--framework .gform_validation_errors:focus {
    border-color: var(--seblue) !important;
}

.gform-theme--framework .gform_validation_errors:focus {
    outline: 3px solid rgba(194, 232, 255, 0.65) !important;
}

/*******************************/
/* Map
/*******************************/
body.school-engagement .search-area-labels {
    justify-content: flex-start;
    align-items: center;
}

body.school-engagement .search-area-labels div {
    width: auto;
    display: inline-block;
}

/* body.school-engagement .search-area-labels .radius{
    width: 25%;
}
body.school-engagement .search-area-labels .btn_update{
    width: auto;
} */
body.school-engagement .search-area-labels input {
    width: 140px;
    margin-right: 10px;
}

body.school-engagement #map {
    height: 500px;
    width: 100%;
}

body.school-engagement #map .table > :not(caption) > * > * {
    padding: 10px;
}

body.school-engagement .gm-style-iw, body.school-engagement a span {
    color: var(--seblack);
    font-size: 19px;
    max-width: none !important;
}

/*
* Changes 02/01
*/
.has-error label {
    color: var(--seblue) !important;
}

.has-error input, .has-error textarea, .has-error select, .has-error .checkmark, .has-error .select-selected {
    border-color: var(--seblue) !important;
}

.has-error p.error-message {
    line-height: 1;
}

.has-error .timepicker p.error-message {
    margin-top: 0;
}

.error-message {
    color: var(--seblue) !important;
}

span.required-label {
    color: var(--seblue) !important;
}

/* Image cropper*/
cropper-selection{
    opacity: 0;
}
cropper-canvas {
    width: 100%;
    max-width: 300px;
    height: 300px;
    display: block;
    border: 1px solid #ccc;
}
body.school-engagement button.zoom-in{
    background: transparent url(../../assets/images/zoom.png) center no-repeat;
    background-size: 35px;
    border: 0;
    width: 30px;
    height: 40px;
}
body.school-engagement button.zoom-out{
    background: transparent url(../../assets/images/zoom-out.png) center no-repeat;
    background-size: 30px;
    border: 0;
    width: 30px;
    height: 40px;
    margin-left: 30px;
}