:root {
    --section-border-color: #bf0000;
    --cyfd-burgandy: #401e1f;
    --cyfd-dark-red: #852e2b;
    --cyfd-terracotta: #d8695D;
    --cyfd-pale-yellow: #fcefde;
    --cyfd-pale-yellow-transparent: #fcefde88;
    --cyfd-turquoise-ice: #ebf7f5;
    --cyfd-jade: #5c9d90;
    --cyfd-jade-compliant: #75b8ab;
    --cyfd-jade-transparent: #5c9d9099;
    --cyfd-teal: #2b5e59;
    --cyfd-blue-grey: #282d35;
    --cyfd-warm-black: #331918;
    --cyfd-raisin-black: #231f20;
    --cyfd-white: #ffffff;
    --link-color: #000000;
    --hover-color: #D9C098;
    --main-height: 161px;
}


/* Main */

.choices__list--multiple .choices__item {
    /* ruh roh*/
    background-color: var(--cyfd-teal) !important;
    color: white;
    border: 1px solid #d7fd00;
    font-weight: bold;
}

.form-control.is-invalid.dropdown {
  background-position: right 25px center !important;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    min-height: 0;
    flex-grow: 1;
    height: 100%;
    background-image: url("../img/CYFDBrandedLEPBackground.png");
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Tahoma;
}

.container {
    background-color: #00000000;
}

.container-fluid {
    padding: 0;
}

.home-content {
    justify-content: space-between;
    align-items: start !important;
    min-height: 30vh;
}

.home-left {
    width: 50%;
}
.home-right {
    width: 35%
}

.home-right a {
    margin: 8px !important;
}

.hidden {
    display: none;
}

@media (max-width:768px) {
    main {
        /*height: 100%;*/
    }
    .home-content {
        flex-direction: column-reverse;
    }
    .home-right, .home-left {
        width: 100% !important;
    }
    .home-right {
        display: flex;
        justify-content: center;
    }
    .home-right a {
        margin: 2px !important;
        font-size: 16px;
    }
    .home-left {
        text-align: center;
    }
}
/* Tooltips */

/*[data-tooltip] {*/
/*    position: relative;*/
/*    cursor: pointer;*/
/*    background: blue;*/
/*    color: white;*/
/*    font-size: 12px;*/
/*    border-radius: 1em;*/
/*    padding: 0 0.5em;*/
/*}*/

[data-tooltip]:hover {
    z-index: 1;
    cursor: pointer;
}

/*    [data-tooltip]:after {*/
        /*Hiding this as there is already a tool tip icon*/
        /*content: "i";*/
/*    }*/

/*    [data-tooltip]:hover:before {*/
/*        content: attr(data-tooltip);*/
/*        position: absolute;*/
/*        opacity: 0.8;*/
/*        width: 35rem;*/
/*        transform: translateX(-50%);*/
/*        padding: 1.5em;*/
/*        background-color: black;*/
/*        border-radius: 0.5em;*/
/*        color: white;*/
/*        text-align: justify-all;*/
/*        overflow: visible;*/
/*        transition: 0.2s;*/
/*    }*/

/*    [data-tooltip]:hover:after {*/
/*        content: "";*/
/*        color: white;*/
/*        position: absolute;*/
/*        opacity: 1;*/
/*        margin-left: 0px;*/
/*        border: 5px solid white;*/
/*        border-color: black transparent transparent transparent;*/
/*        transition: 0.2s;*/
/*    }*/



/* Form Validations */
.validationErrors {
    color: red;
}

.error > label {
    border: 2px solid red;
    padding: 0.2rem;
}

.required label:after,
.required-checkbox legend:after,
.conditionally-required label:after,
.conditionally-required-checkbox legend:after {
    content: " *";
    color: red;
}


/* Tabs */
.tabs {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

    .tabs span {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
    }

        .tabs span:hover {
            background-color: #ddd;
        }

        .tabs span.active {
            background: #46c;
        }

.tab-content {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}


[data-tab-info] {
    display: none;
}

.active[data-tab-info] {
    display: block;
}

/* ripped from boostrap css for form-label so we can have the samething for legend*/
legend {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5
}


.filterBox {
    background-image: url('/css/searchicon.png'); /* Add a search icon to input */
    background-position: 10px 12px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 100%; /* Full-width */
    font-size: 16px; /* Increase font-size */
    padding: 12px 20px 12px 40px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
}

.filterOptions {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    .filterOptions li {
        border: 1px solid #ddd;
        margin-top: -1px; /* Prevent double borders */
        background-color: #f6f6f6;
        padding: 12px;
        text-decoration: none;
        font-size: 18px;
        color: black;
    }

        .filterOptions li :hover:not(.header) {
            background-color: #eee;
        }

.form-accordion {
    background-color: #0d6efd;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 0.25em;
}

    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .form-accordion:hover {
        background-color: #0B5ED7;
    }
form-group.required .label:after {
    content: "*";
    color: red;
}
/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 1em;
    background-color: white;
    display: none;
    overflow: hidden;
}

mcase-li {
    box-shadow: 0 0 0 3px #ccc;
}


.signature-pad-form {
    max-width: 300px;
    margin: 0 auto;
}

.signature-pad {
    cursor: url(pen.png) 1 26, pointer;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 0 0 3px #ccc;
}


.clear-button {
    background: none !important;
    border: none;
    padding: 0 !important;
    /*optional*/
    font-family: Tahoma;
    /*input has OS specific font-family*/
    color: #069;
    text-decoration: underline;
    cursor: pointer;
}

.box {
    border: 2px solid blue;
    padding: 30px
}


/* grid container */
.right-side-panel {
    display: grid;
    grid-template-areas:
        'content'
        'side-panel';
}

    /* general column padding */
    .right-side-panel > * {
        padding: 1rem;
    }

.right-side-panel > .content {
    grid-area: content;
    background: #fff;
}

    .right-side-panel > .side-panel {
        grid-area: side-panel;
        background: #fff;
    }

/* tablet breakpoint */
@media (min-width:768px) {
    .right-side-panel {
        grid-template-columns: repeat(4, 1fr);
        grid-template-areas:
            'content content side-panel'
    }
}


a.display-link {
    color: blue;
}