/*Input fields*/

.inputfield {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
}

input[type=text],
input[type=password],
input[type=date],
input[type=number],
input[type=email],
input[type=search],
select,
textarea {
    padding: 8px 16px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: white !important;
    box-shadow: inset 0 1px 3px #ddd;
    font-size: 1.1rem;
    background-color: rgba(90, 172, 180, 0.1) !important;
    background-image: none !important;
    outline: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 12px 20px;
}

input[type=date] {
    width: 30% !important;
}

textarea {
    height: 300px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

input[type=submit],
button,
.button {
    border: none;
    color: white;
    padding: 11px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    font-family: 'PT Sans Narrow', sans-serif;
}


a.button {
    /*font-family: 'PT Sans Narrow', sans-serif;
    padding: 15px 26px;*/
}


/*Panel*/
.panel {
    background-color: rgba(90, 172, 180, 0.2);
    border-radius: 6px;
    padding: 13px;
    margin: 6px;
}

.file {
    background-color: rgba(28, 131, 141, 0.6);
    color: white;
}

/*modals*/
.CrowlTip {
    background-color:  !important;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
}

.CrowlTip .CrowlModalContent {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*messages*/
.bg-success {
    margin-top: 3.5px;
    margin-bottom: 3.5px;
    padding: 13px;
    border-radius: 6.5px;
    color: white;
    background-color: #77B10F;
    font-size: 1.1rem;
}

.bg-error,
.bg-danger {
    margin-top: 3.5px;
    margin-bottom: 3.5px;
    padding: 13px;
    border-radius: 6.5px;
    color: white;
    background-color: #F85C54;
    font-size: 1.1rem;
}


/*tabs*/
.tabs {
    display: flex;
    min-height: 46px;
    align-items: stretch;
    align-content: center;
    justify-content: flex-start;
}

.tabs a {
    padding: 9px;
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    border-bottom: 1px solid #6580a7;
    color: #6580a7 !important;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.tabs a i {
    margin-right: 4px;
}


.tabs .active {
    background-color: white;
    color: black;
    border: 1px solid #6580a7;
    border-bottom: 0px;
}

.tabs a:hover {
    background-color: #6580a7;
    color: white !important;
}

/*switches*/
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slidebtn {
    margin-top: 13px;
    margin-bottom: 13px;
    border: 1px solid black;
    background-color: white;
    transition: all 0.3s;
    display: inline-flex;
    width: 110px;
    height: 40px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0 !important;
}

.slidebtn span {
    flex: 0 0 50%; 
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.slidebtn0 {
   /*background: linear-gradient(90deg, red 50%, white 50%);*/
    background:linear-gradient(90deg, orange 50%, rgba(0,0,0,0.9) 50%);
}

.slidebtn1 {
    /*background: linear-gradient(90deg, white 50%, green 50%);*/
    background: linear-gradient(90deg,rgba(0,0,0,0.9) 50%, #42a1ec 50%);
}

.slidebtn1 span:nth-child(1){
    color:rgba(255,255,255,0.3);
}
.slidebtn0 span:nth-child(2){
    color:rgba(255,255,255,0.3);
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #e7342b;
}

input:focus+.slider {
    box-shadow: 0 0 1px #e7342b;
}

input:checked+.slider:before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.remover {
    color: red;
}

.imgupload {
    width: 320px !important;
    height: 240px !important;
    object-fit: contain !important;
    background-color: black !important;
    object-position: center !important;
}


.error {
    border: 1px solid red !important;
}

.errormessage {
    color: red;
}

.save {
    background-color: lightslategray;
}