﻿/*#region Inputs and select */

input:not(.mvc-grid-value) {
    border-radius: 10px !important;
    background: #DCDEDF !important;
    color: black !important;
}

    input:not(.mvc-grid-value):active {
        background: #ffffff !important;
        color: black !important;
    }

textarea {
    border-radius: 10px !important;
    background: #DCDEDF !important;
    color: black !important;
}

    textarea:active {
        background: #ffffff !important;
        color: black !important;
    }

input:not(.mvc-grid-value):focus {
    background: #ffffff !important;
    color: black !important;
    border: none !important;
    box-shadow: none !important;
}

input:not(.mvc-grid-value):disabled {
    background: #CFD2D3 !important;
    cursor: not-allowed;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    height: calc(1.5em + .75rem + 2px) !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    padding: .2rem .5rem;
    font-weight: 400 !important;
    border: none !important;
    color: var(--darktext-color) !important;
}

.select2-container--default .select2-selection--single {
    background-color: #DCDEDF !important;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 100% !important;
        border-left: 1px solid #CCCCCC;
        width: 17px !important;
    }

    select {
        background-color: #DCDEDF !important;
        color: var(--darktext-color) !important;
        font-family: 'Aeonik' !important;
    }

    select:focus {
        box-shadow: none !important;
        border: none;
    }

/*#endregion */

/*#region Fancy Pill button */

.pill-button-no-padding {
    padding: 0 0 !important;
}

.black-pill-border {
    border: 3px solid black !important;
}


.yellow-pill-border {
    border: 3px solid var(--accent-color) !important;
}

.white-pill-border {
    border: 3px solid #ffffff !important;
}

.grey-pill-border {
    border: 3px solid #778899 !important;
}

/*#region Gray pill */

.pill-button.gray-pill {
    color: black !important;
    background: #CFD2D3 none repeat scroll 0% 0%;
}

    .pill-button.gray-pill > div div {
        color: rgb(0, 0, 0) !important;
    }

    .pill-button.gray-pill:hover > div div {
        color: rgb(255, 255, 255) !important;
    }

    .pill-button.gray-pill:hover {
        background: rgb(0, 0, 0) none repeat scroll 0% 0%;
        transition: all 0.25s cubic-bezier(0.43, 0.19, 0.57, 0.8) 0s;
    }

/*#endregion */

/*#region dsiabled pill */
.pill-button.disabled-pill {
    color: #778899 !important;
    background: #CFD2D3 none repeat scroll 0% 0%;
    cursor: default !important;
}

.pill-button.disabled-pill > div div {
    color: #778899 !important;
    transition: none !important;
    transform: translateY(0%);
}

.pill-button.disabled-pill:hover > div div {
    color: #778899 !important;
    transition: none !important;
    transform: translateY(0%);
}

.pill-button.disabled-pill:hover {
    background: #CFD2D3 none repeat scroll 0% 0% !important;
    transition: none !important;
    transform: translateY(0%);
}

/*#endregion */


/*#region Accent pill */

.pill-button.accent-pill {
    color: rgb(0,0,0) !important;
    background: var(--accent-color) none repeat scroll 0% 0%;
}

.pill-button.accent-pill > div div {
    color: rgb(0, 0, 0) !important;
}

.pill-button.accent-pill:hover > div div {
    color: rgb(255, 255, 255) !important;
}

.pill-button.accent-pill:hover {
    background: rgb(0, 0, 0) none repeat scroll 0% 0%;
    transition: all 0.25s cubic-bezier(0.43, 0.19, 0.57, 0.8) 0s;
}

/*#endregion */

/*#region Default pill */

.pill-button {
    color: #ffffff;
    border-radius: 45px;
    background: rgb(0, 0, 0) none repeat scroll 0% 0%;
    font-family: "Aeonik", sans-serif;
    font-weight: 500;
    line-height: 38px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.43, 0.19, 0.57, 0.8) 0s;
    min-height: 40px;
    font-size: 16px;
    padding: 0px 48px;
    border: 0px none;
}

.pill-button:focus {
    outline: none !important;
}

.pill-button:hover {
    color: #000000;
    background: var(--accent-color) none repeat scroll 0% 0%;
    transition: all 0.25s cubic-bezier(0.43, 0.19, 0.57, 0.8) 0s;
}

.pill-button:active {
    transform: scale(0.95);
}

.pill-button > div {
    height: 38px;
    overflow: hidden;
}

.pill-button > div div {
    transition: all 0.25s cubic-bezier(0.43, 0.19, 0.57, 0.8) 0s;
    color: rgb(255, 255, 255);
    transform: translateY(-100%);
}

.pill-button:hover > div div {
    transition: all 0.25s cubic-bezier(0.43, 0.19, 0.57, 0.8) 0s;
    transform: translateY(0%);
}

.pill-button > div div:nth-child(1) {
    color: rgb(0, 0, 0);
        /*#endregion */
    }

/*#endregion */

label {
    margin-left: 10px;
    font-size: 14px;
}

/*#region Custom checkbox */

.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: rgba(0, 0, 0, 150);
}

.custom-checkbox p {
    opacity: 0.5;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}



/* Create a custom checkbox */

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #DCDEDF;
    border-radius: 3px;
}

/* On mouse-over, add a grey background color */

.custom-checkbox:hover input ~ .checkmark { background-color: #ffffff; }

/* When the checkbox is checked, add a blue background */

.custom-checkbox input:checked ~ .checkmark { background-color: #DCDEDF; }

.custom-checkbox input:checked ~ .checkmark:hover{ background: #ffffff}

/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
    background-color: #DCDEDF;
}

/* Style the checkmark/indicator */

.custom-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 7px;
    height: 15px;
    border: solid black;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/*#endregion */

/*#region Errors */

.validation-summary-errors {
    font-weight: bold;
    font-size: 12px;
}

.field-validation-error {
    font-weight: bold;
    font-size: 12px;
}

/*#endregion */