﻿
@color-white: #fff;
@color-gray-light: #e9e9e9;
@color-gray-middle: #dbdbdb;
@color-gray-blue: #8795a3;
@color-blue: #2969a9;
@color-blue-light: #3db7e4;
@color-blue-dark: #0d2b49;
@color-blue-violet-dark: #27345e;
@color-red: #ca083a;
@color-red-hover: #a62143;



.btn {
    font-weight: 500;
    border-radius: 4px;
    border-width: 2px;
    border-style: solid;

    &.btn-danger {
        color: @color-white;
        border-color: @color-red;
        background-color: @color-red;

        &:hover, &:active {
            border-color: @color-red-hover;
            background-color: @color-red-hover;
        }
    }

    &.btn-primary {
        color: @color-white;
        border-color: @color-blue-dark;
        background-color: @color-blue-dark;

        &:hover, &:active {
            border-color: @color-blue-dark;
            background-color: @color-blue-dark;
            color: @color-white;
        }
    }

    &.btn-nemo {
        color: @color-white;
        border-color: @color-gray-blue;
        background-color: @color-gray-blue;
        text-align: left;

        &:hover, &:active {
            border-color: @color-blue;
            background-color: @color-blue;
        }
    }

    .fa {
        padding-right: 15px;
    }
}

.table > :not(caption) > * > * {
    padding: 0.2rem 0.5rem;
    font-size: 0.9rem;
}

.form-select, .form-control {
    font-size: 0.95rem;
    padding: 6px !important;

    &.aspNetDisabled {
        background-color: #e9ecef !important;
        opacity: 1;
    }
}

.form-caption {
    font-size: 0.8rem;
    padding: 4px 4px 0 4px !important;
}

.nav-tabs{
    .nav-link {
        color: @color-red;
        font-weight: 600;
        font-size: 0.9rem;

        &.active, &:hover {
            color: @color-blue-dark;
        }
    }
}


body {
    font-family: Montserrat,sans-serif;
    font-size: 1rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1.68em;
    text-transform: none;
    letter-spacing: 0px;
    -webkit-font-smoothing: antialiased;
}


h1, h2, h3, h4, h5 {
    font-weight: bold;
}

h1 {
    font-size: 2rem;
    color: @color-red;
    margin-bottom: 25px;
}

h2 {
    font-size: 2rem;
    color: @color-blue-dark;
    font-weight: 600;
    padding-bottom: 15px;
}

h3 {
    font-size: 1.3rem;
    color: @color-blue-dark;
}

h4 {
    font-size: 22px;
    color: @color-blue-light;
    padding: 15px 0;
}

a {
    color: #ca083a;
    transition: .3s;
    text-decoration: none;

    &:hover, &:active {
        color: #36bcee;
        text-decoration: none;
    }
}




.header {
    position: relative;
    background-color: @color-white;

    .fixed-top {
        top: -40px;
        box-shadow: 1px 0 10px rgba(0, 0, 0, 0.1);
        transform: translateY(40px);
        transition: transform .3s;
        background-color: @color-white;
        opacity: 0.95;
    }

    .caption {
        padding: 40px 0 0 0;
    }

    .brand-text {
        margin-left: 25px;
        font-size: 1.6rem;
        line-height: 1.2;
        color: @color-red;
        font-weight: 700;
    }

    .brand-text > span {
        font-size: 1rem;
        font-weight: 300;
    }

    .navbar-toggler {
        background-color: @color-blue-violet-dark;
        border: none;
    }

    .navbar-brand > img {
        height: 55px;
    }


    .click-area .user-initials {
        margin-right: 1rem;
        width: 3rem;
        height: 3rem;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }


    .profile-button {
        border: 0;
        background-color: transparent;
        transition: 0.3s;
    }

    .profile-button .hexagon.bold {
        background-image: url(images/hexagon-bold-blue.svg);
    }

    .profile-button .hexagon {
        background-image: url(images/hexagon-blue.svg);
        background-repeat: no-repeat;
        background-position: center center;
        transition: 0.3s;
    }

    .profile-button:hover .hexagon {
        background-image: url(images/hexagon-blue-fill.svg);
    }

    .profile-button .user-initials .label {
        color: #3db7e4;
        font-size: 1.25rem;
    }

    .profile-button:hover .user-initials .label {
        color: #fff;
    }

    .profile-button .user-fullname {
        font-weight: bold;
        line-height: 1.3rem;
        transition: 0.3s;
    }

    .profile-button .user-fullname > .user-workplace {
        font-weight: 200;
        font-size: 0.9rem;
    }

    .profile-button:hover .user-fullname,
    .profile-button:hover:after {
        color: #3db7e4;
    }

    .dropdown-toggle::after {
        right: -10px;
        top: 38px;
    }
}




.container-content {
    padding: 0 !important;
    max-width: 100%;
    overflow: hidden;

    .content {
        height: calc(100vh - 130px);
        background-image: linear-gradient(to bottom, #f9f9f9, #fff);
        background-position: center center;
        background-repeat: no-repeat;
    }
}

@media only screen and (max-width: 768px) {
    .container-content .content {
        min-height: calc(100vh - 400px);
    }
}


.col-left-menu {
    background-color: #f5f5f5;
    width: 460px;

    .menu-caption {
        display: block;
        padding: 3px 7px;
        background-color: #e9e9e9;
        font-weight: 600;
        border-radius: 3px;
    }
}

.col-main {
    width: 100%;
    background-image: linear-gradient(to bottom, #f9f9f9, #fff);

    .table-container {
        max-height: calc(100% - 45px);
        overflow-y: auto
    }

    .table-pager {
        td {
            table {
                margin: 10px 0;

                td {
                    padding: 0 5px;
                }
            }
        }
    }
}

.section {
    background: rgba(255,255,255,0.9);
    border: solid 1px #e5e5e5;

    &.section-rounded {
        border-radius: 8px;
    }

    &.section-shadowed {
        box-shadow: 0.067em 0.067em 4.133em rgb(12 71 84 / 20%);
    }
}

.caption {
    font-weight: bold;
    font-size: 0.9rem;
}


.footer {
    font-size: 0.9rem;
    color: #fff;
    background-color: @color-blue-dark;

    .logos img {
        height: 20px;
    }
}

@media only screen and (max-width: 768px) {
    .footer {
        font-size: 0.8rem;
    }
}








.form-group {
    margin: 5px 0px;

    .caption {
        color: #625e6b;
        font-size: 0.95rem;
        font-weight: 600;
        padding-bottom: 3px;
    }
}

.form-caption {
    font-weight: 600;
    padding: 0px 0px 5px 0px;
    color: #000;
}

.form-control, .form-select:not(.form-select-lg) {
    background-color: #f8f9fa;
    padding: 10px;
}

.form-control.multirows {
    height: auto;
}

label {
    padding-left: 25px;
    margin: 4px 25px 4px 0px;
}

.validationmessage {
    color: @color-red;
    font-size: 0.8rem;
    font-weight: bold;
    line-height: 1rem;
    margin-top: 0.3rem;
    /*display: inline-block !important;*/
}

.checkbox.gdpr {
    font-weight: normal;
    margin-bottom: 25px;
}

.checkbox.gdpr label {
    position: relative;
    top: -23px;
    padding-left: 25px;
    margin: 4px 25px 4px 0px;
}

input[type="checkbox"] {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    margin: 0 !important;
    padding: 0 !important;
}

input[type="checkbox"] + label {
    position: relative;
    font-size: 14px;
    padding-left: 1.8em;
    line-height: 16px;
    display: inline-block;
    vertical-align: top;
}

input[type="checkbox"] + label:before {
    font-family: "Font Awesome 6 Free";
    content: ' ';
    font-size: 10px;
    font-weight: 600;
    letter-spacing: -0.7px;
    display: block;
    text-align: center;
    border: 1px solid #adadad;
    width: 15px;
    height: 15px;
    line-height: 15px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    color: #000;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked + label:before {
    content: '\f00c';
    color: #fff;
    background-color: #ca083a;
}

.iframe-reports {
    width: 100%;
    height: calc(100vh - 275px);
}

#ContentPlaceHolder_up{ height:100%; }
