:root {
    /*---------------------------------------------------------------------------------------------------------------
    --- PRIMARY COLORS      -----------------------------------------------------------------------------------------
    ---------------------------------------------------------------------------------------------------------------*/
    --primary-color: 105, 97, 95;
    --hover-color: 70, 69, 67;
    /*https://www.rapidtables.com/convert/color/hex-to-rgb.html*/
}

a {
    color: rgb(var(--primary-color));
}

    a:focus, a:hover {
        color: rgb(var(--hover-color));
    }

    a[href^=tel] {
        text-decoration: inherit;
        color: inherit;
    }

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

table {
    empty-cells: show;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: 600;
}

.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
}

.hidden {
    display: none;
}

.FiCode:after,
.bankTransfer:after,
.hint:after {
    content: "?";
    width: 18px;
    display: inline-block;
    text-align: center;
    height: 18px;
    font-size: 14px;
    color: white;
    background: #384045;
    border-radius: 20px;
    margin-left: 10px;
    cursor: pointer;
}

ul, li {
    list-style: none;
    padding: 0;
}

h1, h2, h3, h4, h5 {
    margin: 0;
    font-weight: normal;
}

h1 {
    font-size: 30px;
    margin-bottom: 20px;
}

h2 {
    font-size: 25px;
}

h3 {
    font-size: 20px;
    color: #384045;
    margin-bottom: 20px;
}

.line-header {
    font-weight: normal;
    line-height: 6px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgb(var(--primary-color));
}

    .line-header span {
        background: #fff;
        color: rgb(var(--primary-color));
        padding: 0 10px 0 0;
    }

    .line-header.second {
        margin-top: 40px;
        margin-bottom: 30px;
    }

.grey-btn, .red-btn {
    display: inline-block;
    line-height: 40px;
    padding: 0 20px;
    color: white;
    background: #b6b6b6;
    text-align: center;
    border-radius: 2px;
    border: 0;
    -webkit-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
    cursor: pointer;
}

    .grey-btn:hover, .grey-btn:focus, .red-btn:hover, .red-btn:focus {
        background: #909090;
        color: #fff;
        text-decoration: none;
    }

.red-btn {
    background: rgb(var(--primary-color));
}

    .red-btn:hover, .red-btn:focus {
        background: rgb(var(--hover-color));
    }

.red {
    color: rgb(var(--primary-color));
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #efefef;
    font-size: 16px;
    font-weight: normal;
    color: #000;
    padding: 0;
}

input[type="text"], input[type="number"], input[type="password"], select, textarea {
    border-radius: 0;
    border: 1px solid #384045;
    line-height: 40px;
    padding: 0 18px;
    height: 40px;
}

    input[type="text"]:focus, input[type="number"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
        border: 1px solid rgb(var(--primary-color));
        outline: 0;
    }

input[type="number"] {
    padding: 0 30px 0 18px;
}

header {
    position: relative;
    z-index: 99;
}

#login-bar {
    height: 33px;
    line-height: 33px;
    background: #384045;
}

    #login-bar .dropdown button {
        line-height: 33px;
        color: white;
        border: 0;
        background: transparent;
        padding: 0;
        font-size: 12px;
    }

    #login-bar .dropdown-menu {
        top: 33px;
        margin: 0;
        width: 250px;
        border-radius: 0;
        background: #384045;
        padding: 0;
    }

        #login-bar .dropdown-menu li a {
            color: white;
            text-align: right;
            font-size: 12px;
            line-height: 33px;
            border-top: 1px solid #b6b6b6;
        }

            #login-bar .dropdown-menu li a:hover {
                background: rgb(var(--primary-color));
                color: white;
            }

        #login-bar .dropdown-menu .info {
            background: white;
            padding: 0 10px;
            font-size: 12px;
        }

            #login-bar .dropdown-menu .info span {
                font-weight: bold;
                display: inline-block;
                min-width: 85px;
                text-align: left;
                float: left;
            }

            #login-bar .dropdown-menu .info li {
                line-height: 28px;
                text-align: right;
            }

            #login-bar .dropdown-menu .info .two-lines {
                line-height: 16px;
            }

#top-header {
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid #384045;
}

    #top-header #logo {
        display: block;
        width: 100%;
    }
    /*#top-header #logo img {
      width: 100%; }*/
    #top-header #main-search {
        width: 100%;
        margin-top: 18px;
        padding-right: 35px;
        position: relative;
    }

    #top-header input[type="submit"] {
        display: block;
        position: absolute;
        width: 19px;
        height: 19px;
        right: 25px;
        top: 30px;
        border: 0;
        background: url(../img/search-icon.png) no-repeat center;
    }

#navbar {
    line-height: 42px;
    background: #fff;
    border-bottom: 6px solid #384045;
}

    #navbar a {
        position: relative;
        display: block;
        color: #384045;
        padding: 15px 20px;
    }

        #navbar a:after {
            display: block;
            content: '';
            position: absolute;
            bottom: -6px;
            height: 6px;
            width: 0;
            left: 50%;
            margin: 0 auto;
            background: rgb(var(--primary-color));
            -webkit-transform: translateX(-50%);
            -moz-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
            transform: translateX(-50%);
            -webkit-transition: all ease-in-out 0.3s;
            -moz-transition: all ease-in-out 0.3s;
            -ms-transition: all ease-in-out 0.3s;
            -o-transition: all ease-in-out 0.3s;
            transition: all ease-in-out 0.3s;
        }

        #navbar .active a, #navbar a:hover {
            color: rgb(var(--primary-color));
            text-shadow: 0px 0px 1px rgb(var(--primary-color));
        }

            #navbar .active a:after, #navbar a:hover:after {
                width: 100%;
            }

    #navbar .case {
        line-height: 50px;
        padding: 0 15px;
        font-size: 15px;
        font-weight: bold;
    }

        #navbar .case .normal-text {
            font-weight: normal;
        }

    #navbar .red-btn {
        color: white;
        background: rgb(var(--primary-color));
    }

        #navbar .red-btn:hover, #navbar .red-btn:focus {
            background: rgb(var(--hover-color));
            color: white;
            outline: none;
        }

div[role="main"] {
    margin: 60px 0;
}

    div[role="main"].login-page {
        min-height: calc(100vh - 273px);
    }

    div[role="main"] .white-box {
        background: #fff;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
        padding: 25px 22px;
        margin-bottom: 30px;
    }

#sidebar input, #sidebar select {
    width: 100%;
    margin-bottom: 20px;
}

#sidebar .red-btn {
    margin-top: 15px;
    width: 100%;
    text-transform: uppercase;
}

    #sidebar .red-btn.align-btn {
        margin-top: 0;
    }

    #sidebar .red-btn.small-margin {
        margin-top: 20px;
    }

#sidebar .no-margin {
    margin: 0;
    margin-top: 20px;
}

#sidebar h2.info-header {
    margin-bottom: 35px;
}

.accept-payment input {
    width: inherit;
}

#sidebar .info {
    font-size: 14px;
    padding: 0 6px;
    margin-bottom: 50px;
}

    #sidebar .info li {
        line-height: 30px;
        text-align: right;
        border-bottom: 1px solid #b6b6b6;
    }

        #sidebar .info li span {
            font-weight: bold;
            display: inline-block;
            min-width: 100px;
            float: left;
            text-align: left;
        }

        #sidebar .info li.align-left {
            text-align: left;
            font-weight: bold;
        }

    #sidebar .info.no-margin {
        margin-bottom: 0;
    }

    #sidebar .info.case-inventory li:last-child {
        border-bottom: none;
    }

.xls:before {
    content: url("../img/file-xls.png");
    margin-right: 10px;
}

.pdf:before {
    content: url("../img/file-pdf.png");
    margin-right: 10px;
}

.task:before {
    content: url("../img/file-task.png");
    margin-right: 10px;
}

.task2:before {
    content: url("../img/file-task2.png");
    margin-right: 10px;
}

.text-box {
    line-height: 25px;
    font-size: 15px;
    border-bottom: 3px solid #384045;
    margin-bottom: 25px;
    position: relative;
}

    .text-box .input-line {
        margin-bottom: 20px;
    }

    .text-box .small-margin {
        margin-bottom: 10px;
    }

    .text-box label {
        line-height: 35px;
        font-size: 14px;
    }

    .text-box input {
        width: 100%;
    }

    .text-box button {
        width: 100%;
    }

    .text-box .bankTransfer:after, .FiCode:after {
        top: 10px;
        right: 20px;
        height: 20px;
        width: 20px;
        line-height: 20px;
    }

    .text-box .hint:after {
        position: absolute;
        top: 10px;
        right: 20px;
        height: 20px;
        width: 20px;
        line-height: 20px;
    }

    .text-box form {
        margin-bottom: 20px;
    }

    .text-box .checkbox {
        width: 100%;
    }

        .text-box .checkbox label {
            width: auto;
            margin: 0;
            text-align: center;
            float: left;
            margin-right: 10px;
            line-height: 18px;
        }

        .text-box .checkbox input {
            position: relative;
            top: 2px;
            width: auto;
            margin: 0 auto;
            float: left;
        }

.modal-content .main-table,
#content .main-table {
    margin: 35px 0 40px;
    width: 100%;
    border-bottom: 3px solid #384045;
}

    .modal-content .main-table th,
    #content .main-table th {
        font-size: 13px;
        border-bottom: 1px solid #d5d2d2;
        padding: 4px 10px;
        line-height: 17px;
    }

    .modal-content .main-table td,
    #content .main-table td {
        font-size: 12px;
        height: 48px;
        border-bottom: 1px solid #d5d2d2;
        padding: 0 10px;
        vertical-align: middle;
    }

    #content .main-table .red-btn, #content .main-table .grey-btn {
        padding: 0 15px;
        line-height: 30px;
    }

    #content .main-table .grey-btn {
        min-width: 80px;
        padding: 0;
    }

    #content .main-table.small th, #content .main-table.small td {
        font-size: 11px;
    }

    #content .main-table.statistik th, #content .main-table.statistik td, #content .main-table.documents th, #content .main-table.documents td {
        font-size: 15px;
    }

    #content .main-table.statistik a, #content .main-table.documents a {
        color: rgb(var(--primary-color));
    }

    #content .main-table.initial tr td:nth-of-type(1) {
        min-width: 100px;
    }

    #content .main-table.small-line td {
        height: 32px;
    }

.login {
    width: 300px;
    margin: 0 auto;
}

#login-form input {
    width: 100%;
    margin-bottom: 20px;
}

#login-form .red-btn {
    width: 40%;
    margin-left: 30%;
}

.forms .input-line {
    margin-bottom: 20px;
}

    .forms .input-line label {
        font-size: 15px;
        margin-bottom: 0;
        font-weight: normal;
    }

    .forms .input-line input, .forms .input-line select {
        width: 100%;
        position: relative;
    }

        .forms .input-line input[type=checkbox] {
            width: auto;
        }

    .forms .input-line .price-tag {
        position: absolute;
        top: 10px;
        right: 22px;
    }

.after-form p {
    display: inline-block;
    line-height: 30px;
    margin-right: 15px;
}

.page-filter {
    border-bottom: 3px solid #384045;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

    .page-filter select, .page-filter input {
        width: 100%;
    }

.contacts .profile {
    margin-bottom: 30px;
    min-height: 155px;
}

.contacts .profile-pic {
    margin-bottom: 10px;
}

    .contacts .profile-pic img {
        width: 100%;
        height: auto;
        position: relative;
    }

.contacts .profile-text h3 {
    margin-bottom: 5px;
}

.contacts .profile-text h4 {
    color: rgb(var(--primary-color));
    font-size: 15px;
    height: 36px;
    /*margin-bottom: 20px;*/
}

.contacts .profile-text p {
    font-size: 14px;
}

footer {
    min-height: 34px;
    line-height: 34px;
    color: #fff;
    background: #384045;
    text-align: center;
    font-size: 15px;
}

#vSidebar {
    z-index: 99999;
    position: fixed;
    left: 0;
    top: 100px;
}

    #vSidebar ul {
        position: relative;
        left: 0;
        -webkit-transition: all ease-in-out 0.3s;
        -moz-transition: all ease-in-out 0.3s;
        -ms-transition: all ease-in-out 0.3s;
        -o-transition: all ease-in-out 0.3s;
        transition: all ease-in-out 0.3s;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    }

        #vSidebar ul.active {
            left: -200px;
        }

        #vSidebar ul li {
            line-height: 45px;
            padding: 0 20px;
            font-size: 16px;
            border-top: 1px solid #323232;
            background: white;
            position: relative;
        }

            #vSidebar ul li a {
                display: block;
            }

                #vSidebar ul li a:after {
                    display: block;
                    content: '';
                    position: absolute;
                    bottom: 0px;
                    height: 3px;
                    width: 0;
                    left: 50%;
                    margin: 0 auto;
                    background: rgb(var(--primary-color));
                    -webkit-transform: translateX(-50%);
                    -moz-transform: translateX(-50%);
                    -ms-transform: translateX(-50%);
                    transform: translateX(-50%);
                    -webkit-transition: all ease-in-out 0.3s;
                    -moz-transition: all ease-in-out 0.3s;
                    -ms-transition: all ease-in-out 0.3s;
                    -o-transition: all ease-in-out 0.3s;
                    transition: all ease-in-out 0.3s;
                }

                #vSidebar ul li a:hover:after {
                    width: 100%;
                }

/* Between Tablet horizontal and  Small Desktop*/
@media (min-width: 992px) and (max-width: 1199px) {
    #sidebar .grey-btn {
        width: 100%;
        margin-bottom: 20px;
    }

    #content .main-table .red-btn {
        line-height: 19px;
    }

    footer {
        font-size: 14px;
    }
}
/*Only Tablet */
@media (min-width: 767px) and (max-width: 992px) {
    #navbar .big a {
        padding: 15px 7px;
    }
}
/*  TABLET and Phone */
@media (max-width: 992px) {
    .sidebar-user {
        float: none !important;
    }

    #sidebar {
        margin-bottom: 30px;
    }

        #sidebar select {
            width: 32%;
        }

        #sidebar select {
            margin-right: 1.25%;
        }

        #sidebar input {
            width: 32%;
        }

        #sidebar .grey-btn {
            float: left !important;
            margin-right: 10px;
        }

        #sidebar .red-btn {
            /*float: right;*/
            width: auto;
            /*margin-top: -40px;*/
        }

    #content .main-table .red-btn {
        line-height: 20px;
    }

    footer .name {
        width: 100%;
        display: block;
    }
}
/* Phone */
@media (max-width: 767px) {
    #top-header {
        position: relative;
    }

        #top-header #logo {
            width: 60%;
        }

        #top-header .pull-right {
            float: none !important;
        }

        #top-header .navbar-toggle {
            border: 1px solid #384045;
            position: absolute;
            top: 20px;
            right: 0;
        }

            #top-header .navbar-toggle .icon-bar {
                background: #384045;
            }

    #navbar {
        padding: 0;
    }

        #navbar .navbar-nav {
            float: none !important;
        }

        #navbar .case {
            text-align: center;
        }

    #sidebar {
        margin-top: -30px;
    }

        #sidebar select, #sidebar input, #sidebar .grey-btn, #sidebar .red-btn {
            width: 100%;
            float: none !important;
        }

        #sidebar .grey-btn, #sidebar .red-btn {
            margin-bottom: 20px;
        }

    #sidebar-trigger {
        width: 100%;
        margin-bottom: 30px;
        position: relative;
    }

        #sidebar-trigger span {
            width: 20px;
            height: 20px;
            display: block;
            position: absolute;
            right: 10px;
            top: 10px;
            background: url(../img/arrow-down.svg) no-repeat center;
            background-size: contain;
            -webkit-transform: rotate(-180deg);
            -moz-transform: rotate(-180deg);
            -o-transform: rotate(-180deg);
            -ms-transform: rotate(-180deg);
            transform: rotate(-180deg);
            -webkit-transition: all ease-in-out 0.3s;
            -moz-transition: all ease-in-out 0.3s;
            -ms-transition: all ease-in-out 0.3s;
            -o-transition: all ease-in-out 0.3s;
            transition: all ease-in-out 0.3s;
        }

        #sidebar-trigger.collapsed span {
            -webkit-transform: rotate(0deg);
            -moz-transform: rotate(0deg);
            -o-transform: rotate(0deg);
            -ms-transform: rotate(0deg);
            transform: rotate(0deg);
        }

    .page-filter select, .page-filter input {
        margin-bottom: 20px;
    }

    .text-box .hint {
        margin-bottom: 20px;
    }

    #content .main-table {
        display: block !important;
    }

        #content .main-table tbody {
            display: block;
        }

        #content .main-table th {
            position: absolute !important;
            top: -9999px !important;
            left: -9999px !important;
            display: block !important;
        }

        #content .main-table tr {
            display: block !important;
            height: auto !important;
            margin-bottom: 10px;
            display: block;
        }

            #content .main-table tr td:nth-child(even) {
                background: #efefec;
            }

            #content .main-table tr td:nth-child(odd) {
                background: #e7e7e2;
            }

            #content .main-table tr td {
                border: none;
                display: block !important;
                position: relative;
                line-height: 30px;
                min-height: 30px;
                height: auto;
                padding-left: 50%;
                width: 100%;
                word-break: break-word;
            }

                #content .main-table tr td:before {
                    /* Now like a table header */
                    font-weight: bold;
                    position: absolute !important;
                    color: black;
                    /* Top/left values mimic padding */
                    left: 6px !important;
                    width: auto !important;
                    padding-right: 10px !important;
                    white-space: nowrap !important;
                }

    #content table.type1 td:nth-of-type(5) {
        padding-left: 10px;
        line-height: 40px;
    }

        #content table.type1 td:nth-of-type(5) .red-btn {
            width: 100%;
            line-height: 30px;
        }

    #content table.type1 td:nth-of-type(1):before {
        content: "Reference";
    }

    #content table.type1 td:nth-of-type(2):before {
        content: "Sagsnr.";
    }

    #content table.type1 td:nth-of-type(3):before {
        content: "Navn";
    }

    #content table.type1 td:nth-of-type(4):before {
        content: "Status";
    }

    #content table.type2 td:nth-of-type(1):before {
        content: "Reference";
    }

    #content table.type2 td:nth-of-type(2):before {
        content: "Sagsnr.";
    }

    #content table.type2 td:nth-of-type(3):before {
        content: "Navn";
    }

    #content table.type2 td:nth-of-type(4):before {
        content: "N\00e6ste skridt i sagen";
    }

    #content table.type2 td:nth-of-type(5):before {
        content: "Seneste \00e6ndring";
    }

    #content table.type2 td:nth-of-type(6):before {
        content: "Seneste indbetaling";
    }

    #content table.statistik td:nth-of-type(1):before {
        content: "Afviklingsdato";
    }

    #content table.statistik td:nth-of-type(2):before {
        content: "Type";
    }

    #content table.statistik td:nth-of-type(3):before {
        content: "Rapport";
    }

    #content .main-table.documents td, #content .main-table.statistik td {
        font-size: 13px;
    }

    #content table.documents td:nth-of-type(1):before {
        content: "Registreringsdato";
    }

    #content table.documents td:nth-of-type(2):before {
        content: "Dokument";
    }

    #content table.repayment td:nth-of-type(1):before {
        content: "Indg\00E5 et";
    }

    #content table.repayment td:nth-of-type(2):before {
        content: "Status";
    }

    #content table.repayment td:nth-of-type(3):before {
        content: "Afdragsbel\00f8 b";
    }

    #content table.repayment td:nth-of-type(4):before {
        content: "F\00f8rste termin";
    }

    #content table.repayment td:nth-of-type(5):before {
        content: "Sidste termin";
    }

    #content table.repayment td:nth-of-type(6):before {
        content: "Antal terminer pr. \00E5r";
    }

    #content table.repayment td:nth-of-type(7):before {
        content: "Debitor";
    }

    #content table.faktura td:nth-of-type(1):before {
        content: "Beskrivelse";
    }

    #content table.faktura td:nth-of-type(2):before {
        content: "Hovedstol";
    }

    #content table.faktura td:nth-of-type(3):before {
        content: "Rente";
    }

    #content table.faktura td:nth-of-type(4):before {
        content: "Doms / fundaments dato";
    }

    #content table.faktura td:nth-of-type(5):before {
        content: "Doms / fundaments bel\00f8 b";
    }

    #content table.faktura2 td:nth-of-type(4):before {
        content: "Skyldigt bel\00f8 b	";
    }

    #content table.faktura2 td:nth-of-type(5):before {
        content: "";
    }

    #content table.events td:nth-of-type(1):before {
        content: "Reg.dato";
    }

    #content table.events td:nth-of-type(2):before {
        content: "Tekst";
    }

    #content table.events td:nth-of-type(3):before {
        content: "Dokument / Behandling";
    }

    #content table.initial td:nth-of-type(3):before {
        content: "Initialer";
    }

    #content table.files td:nth-of-type(1):before {
        content: "Bilagsnavn";
    }


    #content table.add-info td:nth-of-type(1):before {
        content: "TAE_Kundenr";
    }

    #content table.add-info td:nth-of-type(2):before {
        content: "TAE_M\00E5lernr";
    }

    #content table.add-info td:nth-of-type(3):before {
        content: "TAE_Instruks";
    }

    #content table.add-info td:nth-of-type(4):before {
        content: "TAE_Afl\00e6sning";
    }





    .modal-body .main-table {
        display: block !important;
    }

        .modal-body .main-table tbody {
            display: block;
        }

        .modal-body .main-table th {
            position: absolute !important;
            top: -9999px !important;
            left: -9999px !important;
            display: block !important;
        }

        .modal-body .main-table tr {
            display: block !important;
            height: auto !important;
            margin-bottom: 10px;
            display: block;
        }

            .modal-body .main-table tr td:nth-child(even) {
                background: #efefec;
            }

            .modal-body .main-table tr td:nth-child(odd) {
                background: #e7e7e2;
            }

            .modal-body .main-table tr td {
                border: none;
                display: block !important;
                position: relative;
                line-height: 30px;
                min-height: 30px;
                height: auto;
                padding-left: 50%;
                width: 100%;
                word-break: break-word;
            }

                .modal-body .main-table tr td:before {
                    /* Now like a table header */
                    font-weight: bold;
                    position: absolute !important;
                    color: black;
                    /* Top/left values mimic padding */
                    left: 6px !important;
                    width: auto !important;
                    padding-right: 10px !important;
                    white-space: nowrap !important;
                }


    .modal-body table.history td:nth-of-type(1):before {
        content: "Navn";
    }

    .modal-body table.history td:nth-of-type(2):before {
        content: "Adresse";
    }

    .modal-body table.history td:nth-of-type(3):before {
        content: "Post nr./By";
    }

    .modal-body table.history td:nth-of-type(4):before {
        content: "\00C6ndret";
    }


    #content .main-table tr.external-notes td {
        background: none;
        padding: 0;
        line-height: 1.42857143;
    }

        #content .main-table tr.external-notes td:before {
            content: none;
        }


    footer span {
        display: block;
        width: 100%;
        line-height: 20px;
        margin-bottom: 10px;
    }
}

.collapse-mobile {
    display: none;
}

    .collapse-mobile.collapsing {
        display: block;
    }

#CheckBox_Accept {
    width: inherit !important;
}

/* SMALL PHONES */
@media (max-width: 468px) {
    #content .main-table.documents td, #content .main-table.statistik td {
        font-size: 11px;
    }
}

@media (min-width: 767px) {
    .collapse-mobile {
        height: auto !important;
        display: block;
    }
}
/*bootstrap */
.popover img {
    width: 100%;
    height: auto;
}

.modal-dialog {
    top: 80px;
}

    .modal-dialog .modal-content {
        border-radius: 2px;
    }

    .modal-dialog h4 {
        color: rgb(var(--primary-color));
        font-size: 25px;
    }

    .modal-dialog textarea {
        width: 100%;
        height: 80px;
    }

    .modal-dialog .red-btn {
        width: 180px;
        display: block;
        margin: 0 auto;
    }

/*Input File*/
label.input_file {
    background-color: #ffffff;
    color: rgba(0, 0, 0, 0.6);
    font-family: inherit;
    font-size: 100%;
    padding: 0.5em 1em;
    text-decoration: none;
    -moz-user-select: none;
    cursor: pointer;
    display: inline-block;
    line-height: normal;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 3px #ddd inset;
    box-sizing: border-box;
    display: inline-block;
    padding: 0.5em 0.6em;
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

    .inputfile + label {
        font-size: 16px;
        color: white;
        background-color: #b6b6b6;
        display: inline-block;
        cursor: pointer;
        line-height: 40px;
        width: 100%;
        padding: 0 20px;
        margin-bottom: 30px;
    }

        .inputfile + label svg {
            fill: currentColor;
            margin-right: 10px;
        }

        .inputfile:focus + label,
        .inputfile + label:hover {
            background-color: #909090;
        }

    .inputfile:focus + label {
        outline: 1px dotted #000;
        outline: -webkit-focus-ring-color auto 5px;
    }

.ui-widget-header .ui-icon {
    background-image: url(../img/ui-icons_ffffff_256x240.png);
}

.ui-datepicker-header {
    background: rgb(var(--primary-color));
    color: white;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    background: rgb(var(--hover-color));
    border: 0;
    color: white;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: rgb(var(--primary-color));
    color: white;
}

.floatLeft {
    float: left !important;
}

.floatRight {
    float: right !important;
}

.floatNone {
    float: none !important;
}

.marginTop20 {
    margin-top: 20px !important;
}

.marginRight10 {
    margin-right: 10px !important;
}

.marginBottom20 {
    margin-bottom: 20px !important;
}

.widthAuto {
    width: auto !important;
}

.removeMarginBottom {
    margin-bottom: 0 !important;
}

.has-error {
    color: rgb(var(--primary-color));
}

.no-error {
    color: green;
}

.table-width-15-pct {
    width: 15% !important;
}

.externalNotes {
    padding: 15px 0;
}

.block {
    display: block;
}

.max-width {
    width: 100%;
}

.login input {
    width: 100%;
    margin-bottom: 20px;
}


#change-password input[type="password"] {
    margin-bottom: 10px;
}

.paddingBottom10px {
    padding-bottom: 10px !important;
}

.search-criteriea {
    padding: 0 22px;
    margin-bottom: 15px;
}

    .search-criteriea .row div {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        border-bottom: 1px solid #d5d2d2;
        padding: 10px 0;
    }

    .search-criteriea .row input {
        margin-bottom: 0 !important;
    }

.fa-2x {
    font-size: 1.5em !important;
}

.fa {
    color: rgb(var(--hover-color));
}

.fa-check-circle {
    color: #000000;
}

.fa-exclamation-circle {
    color: #ffffff;
}

.done {
    background: url("/images/file-task2.png") no-repeat;
    background-position: center;
    height: 25px;
    width: 25px;
}

.not-done {
    background: url("/images/file-task.png") no-repeat;
    background-position: center;
    height: 25px;
    width: 25px;
}

.message {
    background: url("/images/envelope-icon.jpg") no-repeat;
    background-position: center;
    height: 25px;
    width: 25px;
}

.caseNoteRow {
    cursor: pointer;
}

    .caseNoteRow:hover {
        background-color: #cccccc;
    }

#send_feedback #message-content {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #000000;
    background-color: #efefef;
}

#payment-gateway .modal-dialog {
    width: 700px;
}

#payment-gateway .modal-body {
    padding: 0 40px;
}

.pure-table {
    margin-bottom: 10px;
}

    .pure-table td input {
        margin-right: 20px;
    }

#epay_frame {
    width: 410px !important;
}

.faktura-view .col-sm-5 {
    line-height: 35px;
}

.forms.faktura-view .input-line label {
    line-height: 20px;
}

.popover {
    max-width: none;
}


.contacts .cover {
    background: url("/images/bottomBow2.png") no-repeat center bottom;
    background-size: contain;
    width: 158px;
    height: 16px;
    position: absolute;
    bottom: 0px;
    left: 15px;
}

.dobbleBottomBorder {
    border-bottom: 3px solid #b6b6b6 !important;
}

body,
html {
    height: 100%;
}

form {
    min-height: 100%;
    position: relative;
    padding-bottom: 34px;
}

@media(max-width:992px) {
    form {
        padding-bottom: 68px;
    }
}

@media(max-width:767px) {
    form {
        padding-bottom: 170px;
    }
}

/* HEADER */

.topSearch {
    background: none repeat scroll 0 0 rgba(233, 233, 233,.75);
    border-radius: 3px;
    padding: 1em;
    letter-spacing: 0;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
}

    .topSearch input[type=text] {
        border-radius: 4px 4px 0 0;
        border: 1px solid #ccc;
        width: 100%;
        font-size: 15px;
        padding: 7px 15px;
        height: auto;
        line-height: normal;
    }

        .topSearch input[type=text]:hover,
        .topSearch input[type=text]:active {
            border-color: rgb(var(--primary-color));
        }

#top-header .topSearch input[type=submit] {
    border-radius: 0 0 4px 4px;
    background: rgb(var(--primary-color));
    color: #fff;
    font-size: 15px;
    line-height: normal;
    width: 100%;
    padding: 7px 15px;
    float: none;
    position: relative;
    height: auto;
    top: auto;
    right: auto;
}

.paymentLabel {
    margin-top: 3px;
}

@media (max-width:767px) {
    #top-header #logo {
        margin: 0 0 10px;
    }
}

/* END HEADER */

/* MAIN */

#content .main-table .red-btn {
    float: right;
}

@media (max-width:767px) {
    #content .main-table .red-btn {
        float: none;
    }
}

/* END MAIN */


/* FOOTER */

footer {
    height: 34px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

@media (max-width:992px) {
    footer {
        height: 68px;
    }
}

@media (max-width:767px) {
    footer {
        height: 170px;
    }
}

/* END FOOTER */


/* MJ Edits */

@media (max-width: 480px) {
    .line-header {
        font-weight: normal;
        line-height: 26px;
        margin-bottom: 40px;
        border-bottom: none;
    }

        .line-header span {
            background: transparent;
            color: rgb(var(--primary-color));
            padding: 0 10px 0 0;
            margin-top: -10px;
            display: block;
        }
}