@font-face {
    font-family: 'Din Next';
    font-style: normal;
    font-weight: 400;
    src: local("Din Next Regular"), local("Din-Next-Regular"), url("../Fonts/din-next-regular.woff2") format("woff2");
}

@font-face {
    font-family: 'Din Next';
    font-style: normal;
    font-weight: 600;
    src: local("Din Next Medium"), local("Din-Next-Medium"), url("../Fonts/din-next-medium.woff2") format("woff2");
}

@font-face {
    font-family: 'Din Next';
    font-style: normal;
    font-weight: 800;
    src: local("Din Next Bold"), local("Din-Next-Bold"), url("../Fonts/din-next-bold.woff2") format("woff2");
}

@font-face {
    font-family: 'Nandos Hand';
    font-style: normal;
    font-weight: 800;
    src: local("Nandos Hand"), local("Nandos-Hand"), url("../Fonts/nandos-hand.woff2") format("woff2");
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Din Next", Helvetica, Geneva, Arial, sans-serif;
    font-size: 16px;
}

    body.login-screen {
        background: #F1F3F5;
    }

#page-container {
    position: relative;
    min-height: 100vh;
}

.body-content {
    padding-bottom: 44px;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 44px;
    background: #000000;
    font-size: 0.85rem;
}

    footer div {
        color: #FFF;
        text-align: center;
        line-height: 44px;
    }
/*Buttons*/
.btn {
    border-radius: 5px;
    color: #FFF;
    padding: 1rem;
    line-height: 1rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

    .btn:hover {
        color: #FFF;
        opacity: 0.85;
    }

.btn-green {
    background: #96C31E;
}

.btn-blue {
    background: #00AFF0;
}

.btn-block {
    display: block;
    width: 100%;
}

h1 {
    font-size: 2.4rem;
    font-family: 'Nandos Hand';
    margin: 0;
}

.login {
    width: 100%;
    max-width: 440px;
    height: 455px;
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    margin: auto;
    position: absolute;
    top: -10%;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
}

    .login .banner {
        height: 112px;
        background: #007581 url("../Images/Nandos banner.png") no-repeat left / cover;
    }

    .login h2 {
        font-weight: 600;
        font-size: 1.5rem;
    }

    .login .form-label {
        font-size: 0.75rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .login .input-group {
        border: 1px solid #B5B5B5;
        border-radius: 0.25rem;
    }

        .login .input-group .input-group-text {
            background-color: transparent;
            border: none;
        }

        .login .input-group input {
            border: none;
            padding: 0.75rem;
        }

    .login #pass_toggle {
        opacity: 0.5;
        transition: all 0.3s ease;
    }

        .login #pass_toggle:hover {
            opacity: 1;
            cursor: pointer;
        }

.text-blue {
    color: #00aeef;
}

.overflow-hidden {
    overflow: hidden;
}

a.noStyle {
    color: inherit;
    text-decoration: none;
}

header {
    width: 100%;
}

    header .headerImage {
        background: url("../Images/Nandos banner.png");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top left;
        height: 112px;
    }

    header .headerBar {
        height: 65px;
        padding: 0 52px;
        background: #007581;
        display: table;
        width: 100%;
    }

        header .headerBar h1 {
            font-family: "Nandos Hand", "Din Next";
            color: white;
            font-size: 2rem;
            margin: 0;
            line-height: 65px;
            display: table-cell;
        }

        header .headerBar .logged-in {
            vertical-align: middle;
            display: table-cell;
            text-align: right;
            color: #fff;
        }

            header .headerBar .logged-in a {
                color: #FFF;
            }

    header form {
        padding: 2rem 52px 0;
    }

        header form .navbar:nth-of-type(1) {
            padding: 0;
        }

            header form .navbar:nth-of-type(1) .loggedInUser {
                border: 1px solid black;
                border-radius: 20px;
                font-weight: bold;
                padding: 5px 15px;
                margin-right: 20px;
            }

            header form .navbar:nth-of-type(1) li:nth-of-type(2) {
                line-height: 34px;
            }

        header form .navbar:nth-of-type(2) {
            padding: 1rem 0 0;
        }

            header form .navbar:nth-of-type(2) i {
                margin: 0 0.25rem;
            }

.wrap {
    padding: 0 52px;
    margin: 2rem 0;
}

.nav-breadcrumb {
    font-family: DIN Next LT Pro;
    font-style: normal;
    font-size: 1.2rem;
    color: #212529;
    font-weight: 400;
    vertical-align: bottom;
    min-width: 600px;
}

    .nav-breadcrumb a {
        font-weight: 700;
        color: #212529;
        text-decoration: none;
    }

        .nav-breadcrumb a:hover {
            color: #0056b3;
            text-decoration: underline;
        }

    .nav-breadcrumb i {
        font-size: 0.8rem;
        opacity: 0.8;
    }
/*Tables*/
table thead th,
.table thead th {
    background: #0087B4;
    color: #FFF;
    font-family: "Din Next", Helvetica, Geneva, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    line-height: 1.2rem;
    vertical-align: middle;
}

table thead.filtered th img,
.table thead.filtered th img {
    float: right;
}

    table thead.filtered th img:hover,
    .table thead.filtered th img:hover {
        cursor: pointer;
    }

table tbody,
.table tbody {
    border-top: none !important;
}

    table tbody tr.no-phone,
    .table tbody tr.no-phone {
        background: #ffffff;
    }

        table tbody tr.no-phone td,
        .table tbody tr.no-phone td {
            background: rgba(255, 0, 0, 0.1);
            box-shadow: none;
            border: 1px solid red;
        }

    table tbody td,
    .table tbody td {
        padding: 1rem;
    }

        table tbody td.actions i:hover,
        .table tbody td.actions i:hover {
            cursor: pointer;
        }

table.nandoca-table th,
.table.nandoca-table th {
    font-family: "Nandos Hand", "Din Next";
    font-size: 1.2rem;
    font-weight: 400;
}

table td,
.table td {
    vertical-align: middle;
}

    table td.actions,
    .table td.actions {
        width: 120px;
    }

        table td.actions div,
        .table td.actions div {
            text-align: center;
            width: 100%;
        }

            table td.actions div .fa-edit,
            .table td.actions div .fa-edit {
                color: #00AFF0;
                display: table-cell;
                width: 50%;
            }

            table td.actions div .fa-times,
            .table td.actions div .fa-times {
                color: #FF0000;
                display: table-cell;
                width: 50%;
            }

.h-scroll {
    display: block;
    min-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

    .h-scroll tr.approved {
        background: #ffffff;
    }

        .h-scroll tr.approved td {
            background: rgba(150, 195, 30, 0.2);
            box-shadow: none;
            border: 1px solid #96c31e;
        }

    .h-scroll th img {
        display: none;
    }

    .h-scroll td {
        /*&.casa-name, &.job-title {
            width: 240px;
        }*/
    }

        .h-scroll td.actions .fa-check {
            color: #96c31e;
        }
/*Modals*/
.modal-title {
    font-weight: bold;
    font-size: 1.4rem;
}

.modal-body p {
    font-size: 1.1rem;
}

.modal-body label {
    font-size: 1rem;
    font-weight: 600;
}

select,
input[type="text"] {
    width: 100%;
    box-sizing: border-box;
}

    select.form-control {
        -webkit-appearance: menulist;
        -moz-appearance: menulist;
        appearance: menulist;
    }

#add_nandoca .d-table .d-table-cell,
#edit_new_nandoca .d-table .d-table-cell {
    width: 48%;
}

#add_nandoca .d-table.cellphone .questions,
#edit_new_nandoca .d-table.cellphone .questions {
    width: 96%;
}

    #add_nandoca .d-table.cellphone .questions #has-phone,
    #edit_new_nandoca .d-table.cellphone .questions #has-phone,
    #add_nandoca .d-table.cellphone .questions .smartphone,
    #edit_new_nandoca .d-table.cellphone .questions .smartphone {
        display: table-cell;
        width: 48%;
    }

        #add_nandoca .d-table.cellphone .questions #has-phone select,
        #edit_new_nandoca .d-table.cellphone .questions #has-phone select,
        #add_nandoca .d-table.cellphone .questions .smartphone select,
        #edit_new_nandoca .d-table.cellphone .questions .smartphone select {
            width: 94%;
        }

#add_nandoca .d-table.cellphone .cellnumber,
#edit_new_nandoca .d-table.cellphone .cellnumber {
    width: 50%;
}

#add_nandoca .d-table .form-group,
#edit_new_nandoca .d-table .form-group {
    width: 96%;
}

    #add_nandoca .d-table .form-group label,
    #edit_new_nandoca .d-table .form-group label {
        font-weight: bold;
        font-size: 16px;
        margin-bottom: 0.25rem;
    }

    #add_nandoca .d-table .form-group input,
    #edit_new_nandoca .d-table .form-group input,
    #add_nandoca .d-table .form-group select,
    #edit_new_nandoca .d-table .form-group select {
       /* padding: 0.75rem 1rem;*/
    }

#edit_nandoca .modal-dialog {
    max-width: 1480px;
}

#edit_nandoca input,
#edit_nandoca select {
    border: 1px solid #D1D3D5;
    padding: 0.5rem 0.75rem;
    width: 100%;
    background: #FFF;
}

    #edit_nandoca input:disabled,
    #edit_nandoca select:disabled {
        background: #F1F3F5;
    }

#edit_nandoca table td.name input,
#edit_nandoca table td.surname input,
#edit_nandoca table td.casa-name input,
#edit_nandoca table td.name select,
#edit_nandoca table td.surname select,
#edit_nandoca table td.casa-name select {
    width: 240px;
}

#edit_nandoca table td.frn input,
#edit_nandoca table td.cell input,
#edit_nandoca table td.frn select,
#edit_nandoca table td.cell select {
    width: 135px;
}

#edit_nandoca table td.has-phone input,
#edit_nandoca table td.smartphone input,
#edit_nandoca table td.has-phone select,
#edit_nandoca table td.smartphone select {
    width: 110px;
}

#delete_nandoca .modal-dialog {
    max-width: 680px;
}

#termination_date {
    display: none;
}

    #termination_date.show {
        display: flex;
    }

    #termination_date input {
        border: 1px solid #D1D3D5;
        padding: 0.5rem;
    }

    #termination_date .input-group-text {
        background: #0087B4;
    }

        #termination_date .input-group-text i {
            color: #FFF;
        }

@media (max-width: 576px) {
    .login {
        position: relative;
        height: auto;
        width: 96%;
        top: auto;
    }

        .login .banner {
            height: 75px;
        }

    footer {
        height: auto;
        padding: 0.5rem;
        font-size: 0.75rem;
    }

        footer div {
            line-height: normal;
        }
}

@media (max-height: 480px) {
    .login-screen {
        background: #F1F3F5;
    }

        .login-screen footer {
            position: relative;
        }
}
