body {
    padding-top: 4.5rem;
    min-width: 350px !important;
    min-height: 500px !important;
    overflow-y:scroll;
}

/*
http://blog.visme.co/website-color-schemes/
http://www.color-hex.com/color/557a95
https://www.hexcolortool.com/
 */

a {color: #1366e8;}

th {font-weight: normal;}

hr {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.bg-darkblue {background-color: #0D47A1;}

#workarea h2 {border-bottom: 1px solid #b0b8bb; margin: 0 -5px 10px -5px; padding: 0 5px 0 5px;}

.width-25 {width:25px;}
.width-35 {width:35px;}
.width-50 {width:50px;}
.width-75 {width:75px;}
.width-100 {width:100px;}
.width-125 {width:125px;}
.width-150 {width:150px;}
.width-250 {width:250px;}

.round-corner-bottom {border-radius: 0 0 3px 3px;}

.height-250 {height:250px;}
.height-300 {height:300px;}

.enable-scrollbarY {overflow-y: auto;}

.no-radius { border-radius: 0 !important; }

.head-with-lines {
    text-align: center;
    font-style: italic;
    margin: 23px 0 13px;
    font-size: 14px;
    position: relative;
}

.head-with-lines div {
    display: inline-block;
    margin: 0 auto;
    background: #fff;
    padding: 0 4px;
    position: relative;
    z-index: 1;
}

.head-with-lines:after {
    content: "";
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #d3d3d3;
}

.custom-toggler.navbar-toggler {
    border-color: rgb(13,71,161);
}
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(13,71,161, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.list-custom li {margin-bottom: 1.5rem;}
.list-custom h6 {margin-bottom: 0;}
.list-custom .sublist-custom li {margin-bottom: .25rem;}

.form-group label {
    margin-bottom: .2rem;
}

footer .nav-link {
    padding: .25rem .75rem;
    display: inline-block;
}

footer .social a {
    color:#b7b7b7;
}

a.facebook:hover {
    color:#3b5998;
}
a.twitter:hover {
    color:#55acee;
}
a.linkedin:hover {
    color:#007bb5;
}

.dropdown .dropdown-menu a:hover {
    background-color: #d1d1d1;
}
.dropdown-menu {
    border-color: #868e96;
}
.dropdown-menu-right2 {
    right: 0;
    left: auto;
}

.border-darkblue {
    border-color: #0D47A1!important;
}

.text-darkred {
    color: #9B3334!important;
}
a.text-darkred:focus, a.text-darkred:hover {
    color: #81191a!important;
}

.text-bluegrey {
    color: #557A95!important;
}
a.text-bluegrey:focus, a.text-bluegrey:hover {
    color: #3C617C!important;
}

.btn-xs {
    padding:0.1rem 0.4rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}
.btn-darkblue {
    color: #fff;
    background-color: #0D47A1;
    border-color: #0D47A1;
}
.btn-darkblue:hover {
    color: #fff;
    background-color: #336DC7;
    border-color: #2761BB;
}
.btn-bluegrey {
    color: #fff;
    background-color: #557A95;
    border-color: #557A95;
}
.btn-bluegrey:hover {
    color: #fff;
    background-color: #3C617C;
    border-color: #2F546F;
}
.btn-darkred {
    color: #fff;
    background-color: #9B3334;
    border-color: #9B3334;
}
.btn-darkred:hover {
    color: #fff;
    background-color: #81191a;
    border-color: #680000;
}
.btn-group-bluegrey {
    border-right:1px solid white;
    margin-left: 0 !important;
}
.btn-group-bluegrey:hover {
    border-right:1px solid white;
}

.btn-outline-light:not([disabled]):not(.disabled).active, .btn-outline-light:not([disabled]):not(.disabled):active, .show>.btn-outline-light.dropdown-toggle {
    color: #000000;
}

.badge-bluegrey {
    color: #fff;
    background-color: #557A95;
}

.badge-darkred {
    color: #fff;
    background-color: #9B3334!important;
}

.nav-tabs-gray {
    border-bottom: 1px solid #868e96;
}
.nav-tabs-gray .nav-link.active {
    color: #000000;
    border-color: #868e96 #868e96 #fff;
}
.nav-tabs-gray .nav-link.active:hover {
    background-color: #fff;
    border-bottom-color: #fff;
}
.nav-tabs-gray .nav-link:focus, .nav-tabs-gray .nav-link:hover {
    background-color: #6F94AF;
    border-color: #868e96;
    color:#fff;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color:#000;
    border-color: #868e96 #868e96 #fff;
}

.modal-gray .modal-header, .modal-gray .modal-footer {
    background-color: #f3f3f3;
}

.card-gray .card-header, .card-gray .card-footer {
    background-color:#F5F5F5;
}

.card-header-title span:first-child {
    font-size: 1.2rem;
}

.table-hover tbody tr:hover {
    background-color: #F7F9FB;
}

.table-head, .table-head>td, .table-head>th {
    color: #fff;
    background-color: #6F94AF;
}
.table-xs th, .table-xs td  {font-size: 14px;}
.table-card {border-width: 0;border-radius: 6px;}
.table-card th:first-child, .table-card td:first-child {border-left-width: 0;}
.table-card th:last-child, .table-card td:last-child {border-right-width: 0;}
.table-card tr:last-child td {border-bottom-width: 0;}
.table-card tr:last-child td:first-child {border-bottom-left-radius: 6px;}
.table-card tr:last-child td:last-child {border-bottom-right-radius: 6px;}
.table-kolista th, .table-kolista td {font-size: 14px;}
.table-kolista th:first-child, .table-kolista td:first-child, .table-kolista th:nth-child(2), .table-kolista td:nth-child(2) {text-align: center;}
.table-kolista th:nth-child(3), .table-kolista td:nth-child(3) {text-align: right;}
.table-vertical-middle td, .table-vertical-center th {vertical-align: middle;}

.table tbody+tbody {
    border-top: 1px solid #dee2e6;
}

#text-logga {
    font-family: 'Nova Square', cursive;
    font-size: 26px;
}
#text-logga small {font-size: 18px;}

/*.modal:nth-of-type(even) {*/
/*    z-index: 1052 !important;*/
/*}*/
/*.modal-backdrop.show:nth-of-type(even) {*/
/*    z-index: 1051 !important;*/
/*}*/

.modal + .modal {
    z-index: 1060;
}

.modal-backdrop + .modal-backdrop {
    z-index: 1050;
}

@media all and (max-width:767px) {
    body {
        padding-top: 0;
    }
    .fixed-top {
        position:relative;
    }

    .display-3 {
        font-size: 3.5rem;
        font-weight: 300;
        line-height: 1.2;
    }
}