﻿@import "../lib/bootstrap/dist/css/bootstrap.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: "Montserrat", sans-serif;
}

body {
}

.login-container {
    margin-top: 5%;
    margin-bottom: 5%;
}

.searchbox-container {
    margin-top: 15%;
    margin-bottom: 1%;
}
.form-customgroup {
    margin-bottom: 0.2rem;
}

.login-form-1 {
    padding: 5%;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
}

    .login-form-1 h3 {
        text-align: center;
        color: #333;
    }

.green-form {
    padding: 5%;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
    background-color: lightgreen;
    border-radius: 15px;
}
    .green-form p {
        text-align: left;
    }
    .green-form .btnSubmit {
        font-weight: 600;
        color: #fff;
        background-color: #266CC1;
    }
        .green-form .btnSubmit:hover {
            color: #fff;
            background-color: #5089CD;
            border-color: #0062cc;
        }
        .green-form .btnSubmit:disabled {
            color: #fff;
            background-color: #ACCFF9;
            border-color: #666666;
            cursor: not-allowed;
        }

.scrollable-large {
    height: 600px;
    overflow-y: scroll;
}
.scrollable-small {
    height: 150px;
    overflow-y: scroll;
}

.nocolour-form {
    padding: 3%;
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.2), 0 2px 6px 0 rgba(0, 0, 0, 0.19);
    border-radius: 1px;
    font-size: 14px;
    
}

.nocolour2-form {
    padding: 1.5%;
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.1), 0 2px 6px 0 rgba(0, 0, 0, 0.19);
    border-radius: 1px;
    font-size: 14px;
}
.nocolour2-form.small-font {
    font-size: 12px;
}

.searchbox-form-2 {
    padding: 5%;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
    background-color:lightgreen;
    border-radius: 15px;
}
    .searchbox-form-2 p {
        text-align: left;        
    }
    .searchbox-form-2 h6 {
        text-align: center;
        color: #333;
    }

.searchbox-form-chipcheck {
    padding: 5%;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
    background-color: khaki;
    border-radius: 15px;
}

    .searchbox-form-chipcheck h6 {
        text-align: center;
        color: #333;
    }

.searchbox-form-khaki {
    padding: 5%;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
    background-color: khaki;
    border-radius: 15px;
}

.quick-searchbox-form{
    padding: 2%;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
    background-color: khaki;
    border-radius: 15px;
}

.login-container form {
    padding: 5%;
}

.btnSubmit {
    width: 50%;
    border-radius: 1rem;
    padding: 1.5%;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    background-color: #266CC1;
}
.login-form-1 .btnSubmit:hover {
    color: #fff;
    background-color: #5089CD;
    border-color: #0062cc;
}

.login-form-1 .btnSubmit {
    font-weight: 600;
    color: #fff;
    background-color: #266CC1;
}

.login-form-2 .btnSubmit {
    font-weight: 600;
    color: #0062cc;
    background-color: #fff;
}
.credentialError {
    color: #FF5555;
}
.sidenav {
    height: 100%;
    width: 160px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #5089CD;
    overflow-x: hidden;
    padding-top: 20px;
}

    .sidenav a {
        padding: 6px 8px 6px 16px;
        text-decoration: none;
        font-size: 25px;
        color: rgba(0, 0, 0, 0.2);
        display: block;
    }

        .sidenav a:hover {
            color: #f1f1f1;
        }

.main {
    margin-left: 160px; /* Same as the width of the sidenav */
    font-size: 28px; /* Increased text to enable scrolling */
    padding: 0px 10px;
}

.scroll-box {
    background: #f4f4f4;
    border: 2px solid rgba(0, 0, 0, 0.1);
    height: 400px; /* maximum height of the box, feel free to change this! */
    padding: 15px;
    overflow-y: scroll;
}

.swal-wide {
    width: 550px;
}

.fixed-autocomplete-height {
    padding: 1px;
    max-height: 200px;
    max-width: 300px;
    overflow: auto;
}

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

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.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: 18px;
        width: 18px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

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

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

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

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

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

.grey-text {
    color: darkgrey;
}
.grey-dim-text {
    color: dimgray;
}

.sm-margin {
    margin-top: 0;
    margin-bottom: 10px;
}

.sm-box {
    height: 26px;
}

a.no-underline-link {
    text-decoration: none;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}
