/*spinners*/

/* hide up/down arrows ("spinners") on input fields marked type="number" */
.no-spinners {
    -moz-appearance:textfield;
}

.no-spinners::-webkit-outer-spin-button,
.no-spinners::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity {
    width: 100%;
    display: block;
}

.datepicker {
    z-index: 10000;
}
/*Form old forms.css to here*/

/*New form.css starts here*/
form-group {
    text-align: left;
}

label {
    display: inline-block;
    margin-bottom: 0;
    margin-top: 0.5rem;
    text-align: left;
    font-size: 22px;
}

label.switch {
    margin-top: 0;
}

/*Spinner*/

.no-spinners {
    -moz-appearance:textfield;
}

.no-spinners::-webkit-outer-spin-button,
.no-spinners::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity {
    /*width: 100%;*/
    display: inline-block;
}

.datepicker {
    z-index: 10000;
}


/*Quantity*/

.btn-increment, .btn-decrement {
    color: var(--white);
    background-color: var(--main-color);
}

.btn-increment:hover, .btn-decrement:hover {
    color: var(--white);
    background-color: var(--main-dark);
}


/*Checkbox*/

/* Custom checkbox */
/* Customize the label (the container) */
.form-check-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-top: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.form-check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom checkbox */
.checkmark {
    position: absolute;
    top: 0.3rem;
    left: 0;
    height: 40px;
    width: 40px;
    background-color: #555;
}

.check-label-text {
    display: inline-block;
    padding-left: 15px;
}

/* On mouse-over, add a grey background color */
.form-check-container:hover input ~ .checkmark {
    background-color: #555;
}

/* When the checkbox is checked, add a blue background */
.form-check-container input:checked ~ .checkmark {
    background-color: #555;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.form-check-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.form-check-container .checkmark:after {
    left: 12px;
    top: 5px;
    width: 15px;
    height: 25px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*SELECT*/

/* The container must be positioned relative: */
.nice-select {
    position: relative;
    border: 1px solid;
    border-color: var(--main-light-darker) var(--main-light-darker) transparent var(--main-light-darker);
}

.nice-select select {
    display: none; /*hide original SELECT element: */
}

.select-selected {
    background-color: var(--white);
    border-bottom: 1px solid;
    border-color: var(--main-light-darker);
}

/* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: "";
    top: 16px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: var(--main-color) transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent var(--main-color) transparent;
    top: 7px;
}



/* style the items (options), including the selected item: */
.select-items div,.select-selected {
    color: var(--main-dark);
    padding: 8px 16px;
    /* border: 1px solid transparent;
     border-color: transparent transparent var(--main-light-darker) transparent;*/
    cursor: pointer;
}

/* Style items (options): */
.select-items {
    position: absolute;
    background-color: var(--white);
    border-right: 1px solid;
    border-bottom: 1px solid;
    border-left: 1px solid;
    border-color: var(--main-light-darker);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}

/*// Extra small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap*/

/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) { }

/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) { }

/*// Large devices (desktops, 992px and up)*/
@media (min-width: 992px) { }

/*// Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {

    .form-check-container {
        font-size: 22px;
    }

}

/*******Awsome input*******/


form-group {
    text-align: left;
}

.input-icon {
    color: #23A315;
    position: absolute;
    top: -44px;
    left: 0;
    font-size: 1.4em;
}

.booking-resource-header-icon {
    font-size: 1.8em;
    color: #23A315;
}

.booking-resource-header-row {
    background-color: #23A315;
}


label {
    display: inline-block;
    margin-bottom: 0;
    margin-top: 0.5rem;
    text-align: left;
}

.control-label {}

.booking-resource-category-title {
    color: var(--white);
    text-transform: uppercase;
    font-size: 1.4em;
    display: block;
    padding: 10px 20px;
    background-color: #23A315;
}

.booking-resource-category-box {
    display: block;
    width: 100%;
    /*background-color: var(--main-light);*/
    padding: 5px;
    margin-top: 5px;
}

/*Input animation*/

.awsome_input{
    padding: 5px 10px 15px 10px;
    border: none;
    border-bottom: 1px solid #23A315;
    background: transparent;
    display: block;
    width: 100%;
}
.awsome_input_border{
    display:inline-block;
    width:0px;
    height: 2px;
    background: #23A315;
    position: relative;
    top:-17px;
    -webkit-transition: all ease-in-out .15s;
    -o-transition: all ease-in-out .15s;
    transition: all ease-in-out .15s;
}
.awsome_input:hover,
.awsome_input:active,
.awsome_input:focus{
    outline: none;
}
.awsome_input:hover+.awsome_input_border,
.awsome_input:active+.awsome_input_border,
.awsome_input:focus+.awsome_input_border{
    width:100%;

}

input[value^="E-post - til ordreinformasjon"] {
    color: #B2B2B2;
}

input[value^="Mobilnummer - så vi finner din leveringsadresse"] {
    color: #B2B2B2;
}

.awsome_input:focus input [value] {
    display: none;
}
/**/

/*Quantity*/

.btn-increment, .btn-decrement {
    color: var(--white);
    background-color: var(--main-color);
}

.btn-increment:hover, .btn-decrement:hover {
    color: var(--white);
    background-color: var(--main-dark);
}


/*Checkbox*/

/* Custom checkbox */
/* Customize the label (the container) */
.form-check-container {
    display: block;
    position: relative;
    padding: 10px 0 10px 35px;
    margin-top: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #f8f8f8;
}

/* Hide the browser's default checkbox */
.form-check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0.6rem;
    left: 15px;
    height: 30px;
    width: 30px;
    background-color: #FFF;
}

.check-label-text {
    display: inline-block;
    padding-left: 20px;
}

.check-label-resource-name {
    /*font-weight: bold;*/
}

/* On mouse-over, add a grey background color */
.form-check-container:hover input ~ .checkmark {
    background-color: #555;
}

/* When the checkbox is checked, add a blue background */
.form-check-container input:checked ~ .checkmark {
    background-color: #0C5301;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.form-check-container input:checked ~ .checkmark:after {
    display: block;
}

.checkmark-circle {
    border-radius: 50%;
}

/* Style the checkmark/indicator */
.form-check-container .checkmark:after {
    left: 12px;
    top: 5px;
    width: 5px;
    height: 15px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*SELECT*/

/* The container must be positioned relative: */
.nice-select {
    position: relative;
    border: 1px solid;
    border-color: var(--main-light-darker) var(--main-light-darker) transparent var(--main-light-darker);
}

.nice-select select {
    display: none; /*hide original SELECT element: */
}

.select-selected {
    background-color: var(--white);
}

/* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: "";
    top: 16px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: var(--main-color) transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent var(--main-color) transparent;
    top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
    color: var(--main-dark);
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent var(--main-light-darker) transparent;
    cursor: pointer;
}

/* Style items (options): */
.select-items {
    position: absolute;
    background-color: var(--white);
    border: 1px solid;
    border-color: var(--main-light-darker);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: var(--main-color-2);
}

/*Datepicker*/

.datepicker td, .datepicker th {
    text-align: center;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: none;
}
.datepicker table tr td.active.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled.disabled, .datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active.disabled:hover.active, .datepicker table tr td.active.disabled:hover.disabled, .datepicker table tr td.active.disabled:hover:active, .datepicker table tr td.active.disabled:hover:hover, .datepicker table tr td.active.disabled:hover[disabled], .datepicker table tr td.active.disabled[disabled], .datepicker table tr td.active:active, .datepicker table tr td.active:hover, .datepicker table tr td.active:hover.active, .datepicker table tr td.active:hover.disabled, .datepicker table tr td.active:hover:active, .datepicker table tr td.active:hover:hover, .datepicker table tr td.active:hover[disabled], .datepicker table tr td.active[disabled] {
    background-color: var(--main-color-2);
}

.datepicker table tr td.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active:hover {
    background-color: var(--main-color);
    background-image: none;
    background-image: none;
    background-image: none;
    background-image: none;
    background-image: none;
    background-image: none;
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#08c', endColorstr='#0044cc', GradientType=0);
    border-color: var(--main-color);
    border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,.25);
}

/*Radio button */

input[type="radio"], input[type="checkbox"] {
    box-sizing: content-box;
    padding: 10px;
    height: 25px;
    width: 25px;
    margin-top: .5rem;
}

label.radio-inline {
    font-size: 20px;
    height: 25px;
    display: inline-block;
    margin-bottom: 0;
    margin-top: .5rem;
    text-align: left;
    padding: 10px;
}

input.checked {
    background-color: var(--main-color);
    color: var(--main-color);
}
