/* W3.CSS 4.13 June 2019 by Jan Egil and Borge Refsnes */

html {
    box-sizing: border-box
}

*,
*:before,
*:after {
    box-sizing: inherit
}


/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}


/* Modal Start */

.modal {
    z-index: 3;
    display: none;
    padding-top: 100px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4)
}

.modal-content {
    margin: auto;
    background-color: white;
    position: relative;
    padding: 0;
    outline: 0;
    width: 600px
}

@media (max-width:600px) {
    .modal-content {
        margin: 0 10px;
        width: auto!important
    }
    .modal {
        padding-top: 30px
    }
}

@media (max-width:768px) {
    .modal-content {
        width: 500px
    }
    .modal {
        padding-top: 50px
    }
}

@media (min-width:993px) {
    .modal-content {
        width: 900px
    }
}

.container:after,
.container:before {
    content: "";
    display: table;
    clear: both
}

.container {
    padding: 0.01em 16px
}

button {
    font: inherit;
    margin: 0;
    overflow: visible;
    text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
    -webkit-appearance: button
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
    border-style: none;
    padding: 0
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
    outline: 1px dotted ButtonText
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

.button {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.3
}

.button:hover {
    color: #000!important;
    background-color: #ccc!important
}

.display-topright {
    position: absolute;
    right: 0;
    top: 0
}


/* Modal End */


/* Loader Start */

.loader {
    color: white;
    position: fixed;
    box-sizing: border-box;
    left: -9999px;
    top: -9999px;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: 999999
}

.loader:after,
.loader:before {
    box-sizing: border-box;
    display: none
}

.loader.is-active {
    background-color: rgba(0, 0, 0, .85);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0
}

.loader.is-active:after,
.loader.is-active:before {
    display: block
}

.loader-default:after {
    content: "";
    position: fixed;
    width: 48px;
    height: 48px;
    border: 8px solid white;
    border-left-color: transparent;
    border-radius: 50%;
    top: calc(50% - 24px);
    left: calc(50% - 24px);
    animation: rotation 1.5s linear infinite
}

@keyframes rotation {
    0% {
        transform: rotate(0)
    }
    to {
        transform: rotate(359deg)
    }
}

#loader-text {
    display: none;
    position: fixed;
    left: 0;
    top: calc(50% + 20px);
    color: currentColor;
    font-family: Helvetica, Arial, sans-serif;
    text-align: center;
    width: 100%;
    white-space: pre;
    font-size: 14px;
}


/* Loader End */


/* Side Nav Start */

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    text-align: center;
    font-size: 36px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }
    .sidenav a {
        font-size: 18px;
    }
}


/* Side Nav End */


/* Button Styles Start */

.right-float-btn {
    background: #5d8ffc;
    color: white;
    border: 1px solid #5d8ffc;
    margin-right: 3%;
    border-radius: 5px;
    padding: 15px 50px 15px 50px;
    display: block;
    width: min-content;
    float: right;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
}

.right-float-btn:hover {
    background: white;
    color: #5d8ffc;
    border: 1px solid #5d8ffc;
    cursor: pointer;
}

.normal-btn {
    background: #5D8FFC;
    color: white;
    border: 1px solid #5D8FFC;
    border-radius: 5px;
    padding: 15px;
    display: block;
    margin-left: 3%;
    margin-right: 3%;
    outline: none;
    width: 100%;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
}

.normal-btn:hover {
    background: white;
    color: #5D8FFC;
    border: 1px solid #5D8FFC;
    cursor: pointer;
}

.success-btn {
    background: #008000;
    color: white;
    border: 1px solid #008000;
    border-radius: 5px;
    padding: 15px;
    display: block;
    margin-left: 3%;
    margin-right: 3%;
    outline: none;
    width: 100%;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
}

.success-btn:hover {
    background: white;
    color: #008000;
    border: 1px solid #008000;
    cursor: pointer;
}

.danger-btn {
    background: darkred;
    color: white;
    border: 1px solid darkred;
    border-radius: 5px;
    padding: 15px;
    display: block;
    margin-left: 3%;
    margin-right: 3%;
    outline: none;
    width: 100%;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
}

.danger-btn:hover {
    background: white;
    color: darkred;
    border: 1px solid darkred;
    cursor: pointer;
}

.table-normal-btn {
    background: #5D8FFC;
    color: white;
    border: 1px solid #5D8FFC;
    border-radius: 5px;
    padding: 5px;
    padding-left: 15%;
    padding-right: 15%;
    display: block;
    margin: auto;
    outline: none;
    width: min-content;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
}

.table-normal-btn:hover {
    background: white;
    color: #5D8FFC;
    border: 1px solid #5D8FFC;
    cursor: pointer;
}

.table-success-btn {
    background: #008000;
    color: white;
    border: 1px solid #008000;
    border-radius: 5px;
    padding: 5px;
    padding-left: 15%;
    padding-right: 15%;
    display: block;
    margin: auto;
    outline: none;
    width: min-content;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
}

.table-success-btn:hover {
    background: white;
    color: #008000;
    border: 1px solid #008000;
    cursor: pointer;
}

.table-danger-btn {
    background: #8B0000;
    color: white;
    border: 1px solid #8B0000;
    border-radius: 5px;
    padding: 5px;
    padding-left: 15%;
    padding-right: 15%;
    display: block;
    margin: auto;
    outline: none;
    width: min-content;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
}

.table-danger-btn:hover {
    background: white;
    color: #8B0000;
    border: 1px solid #8B0000;
    cursor: pointer;
}

.cross-btn {
    font-size: 30px;
    text-align: center;
    border-top-right-radius: 20px;
}


/* Button Styles End */


/* SnackBar Start */

#snackbar {
    z-index: 999;
    visibility: hidden;
    /* Hidden by default. Visible on click */
    min-width: 250px;
    /* Set a default minimum width */
    margin-left: -125px;
    /* Divide value of min-width by 2 */
    background-color: #333;
    /* Black background color */
    color: white;
    /* White text color */
    text-align: center;
    /* Centered text */
    border-radius: 2px;
    /* Rounded borders */
    padding: 16px;
    /* Padding */
    position: fixed;
    /* Sit on top of the screen */
    z-index: 999;
    /* Add a z-index if needed */
    left: 50%;
    /* Center the snackbar */
    bottom: 30px;
    /* 30px from the bottom */
}


/* Show the snackbar when clicking on a button (class added with JavaScript) */

#snackbar.errorshow {
    visibility: visible;
    /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 5.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 505s;
    animation: fadein 0.5s, fadeout 0.5s 5.5s;
}

#snackbar.show {
    visibility: visible;
    /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}


/* Animations to fade the snackbar in and out */

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}


/* SnackBar End */


/* Check Box Anim Start */

.cbx {
    margin: auto;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

.cbx span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}

.cbx span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    transform: scale(1);
    vertical-align: middle;
    border: 1px solid #9098A9;
    transition: all 0.2s ease;
}

.cbx span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}

.cbx span:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #506EEC;
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
}

.cbx span:last-child {
    padding-left: 8px;
}

.cbx:hover span:first-child {
    border-color: #506EEC;
}

.inp-cbx:checked+.cbx span:first-child {
    background: #506EEC;
    border-color: #506EEC;
    animation: wave 0.4s ease;
}

.inp-cbx:checked+.cbx span:first-child svg {
    stroke-dashoffset: 0;
}

.inp-cbx:checked+.cbx span:first-child:before {
    transform: scale(3.5);
    opacity: 0;
    transition: all 0.6s ease;
}

@keyframes wave {
    50% {
        transform: scale(0.9);
    }
}


/* Check Box Anim End */


/* Grid View Start */

.column {
    float: left;
    width: 45%;
    padding-left: 10px;
}


/* Clear floats after the columns */

.row:after {
    content: "";
    display: table;
    clear: both;
}


/* Grid View End */