﻿body {
    font-family: 'Open Sans', Arial, sans-serif; /*'Quicksand', */
    color: black;
    background-color: white;
    transition: all 0.5s ease-in-out;
}

.dark-mode {
    background-color: rgb(53, 54, 58);
    color: white;
    transition: all 0.5s ease-in-out;
}

input {
    color: black;
}

a, a:hover, a:active, a:focus {
    text-decoration: none;
    color: inherit;
}

/*#region Menu */

.jms-menu {
    background-color: #D2EAEE;
    /*background: linear-gradient(0deg, rgba(255,255,255,1) 20%, rgba(81,214,241,1) 100%);*/
    color: black;
    border-bottom: 0px;
}

/*override boostrap*/
.open > a, .open > a:focus, .open > a:hover, .open > a:active {
    color: inherit !important;
    background-color: #97B4B9 !important;
}


.jms-menu-toggle-bar {
    border: 1px solid black;
    /*color: internal light dark color(buttontext, rgb(170, 170, 170));*/
}

.jms-nav > li > a:hover {
    background-color: #97B4B9;
    /*background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(81,214,241,1) 100%);*/
    color: inherit;
    transition: 0.2s;
}

.jms-nav > li > a:active {
    background-color: #97B4B9;
    /*background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(81,214,241,1) 100%);*/
    color: inherit;
    transition: 0.2s;
}

@media (min-width: 768px) {
    .jms-nav-right {
        float: right;
    }

    .jms-nav-separator {
        display: none;
    }
}

@media (max-width: 767px) {
    .jms-nav-separator {
        display: block;
        border-top: 1px solid grey;
    }
}

.jms-nav > div {
    display: inline;
}

.dropdown > .dropdown-menu > a {
    width: 100%;
    display: block;
    padding: 8px;
    background-color: white;
}

.dropdown > .dropdown-menu {
    border-radius: 10px;
}

.dropdown > .dropdown-menu > a:hover {
    background-color: #97B4B9;
}

    /*#endregion*/

/*#region Tiles */
.jms-tile {
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
    transition: 0.2s;
}

.jms-tile:hover {
    /*margin-top: 20px;*/
    background-color: #D2EAEE;
    color: black !important;
    /*opacity: 0.1;*/
}

.jms-tile > div {
    padding: 5px;
}

a.jms-tile-link {
    text-decoration: none;
    color: inherit;
}

a.jms-tile-link:hover {
    color: inherit;
}

.jms-tile > .jms-tile-img > img {
    width: 50px;
    height: 50px;
    /*margin-left: auto;
    margin-right: auto;
    background-size: contain;*/
}

.jms-tile-desc {
    width: 100%;
}


.jms-tile-img, .jms-tile-desc {
    text-align: center;
}


/*#endregion */

/*#region Toggle control*/

.switch-label {
    color: inherit;
    font-weight: normal;
    font-style: italic;
    font-size: 75%;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
}

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

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

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

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

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

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

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

/*#endregion*/

/*#region Form*/

.jms-form-border {
    /*background-color: inherit;
    background-image: url("../../img/dark-leather.png");
    border-radius: 10px;
    margin-top: 20px;
    padding: 10px;*/
}

.jms-form {
    padding: 20px;
    padding-left: 0;
    /*background-color: white;*/
    border-radius: 10px;
}

    .jms-form-input {
        width: 100%;
        border: 1px solid #B3B3B3;
        border-radius: 5px;
        padding: 10px;
        margin-bottom: 5px;
    }

        .jms-form-input:focus {
            outline: 1px solid #97B4B9;
        }

.jms-form-button {
    width: 100%;
    height: 42px;
    line-height: 21px;
    border: 1px solid #B3B3B3;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 5px;
    text-align: center;
    background-color: #97B4B9;
    color: white;
    font-weight: bold;
    font-size: 130%;
    overflow: hidden;
    transition: .2s;
    cursor: pointer;
}

    .jms-form-button:hover {
        background-color: #D2EAEE;
        color: black;
    }

.jms-form-combo {
    font-size: 115%;
}

.individual-error {
    display: none;
    color: red;
}

.individual-success {
    display: none;
    color: green;
}

.side-by-side {
    display: inline;
    width: 100%;
}

    .side-by-side > div.jms-form-group {
        width: 40%;
        display: inline;
        border: 1px solid black;
        height: 300px;
    }

/*#endregion*/

/*#region Bootstrap overrides*/

/*.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-left: 5px !important;
    padding-right: 5px !important;
}*/

/*#endregion*/