﻿@font-face {
    font-family: 'Assistant-Regular';
    src: url("../fonts/Assistant-Regular.ttf");
}

@font-face {
    font-family: 'Assistant-Bold';
    src: url("../fonts/Assistant-Bold.ttf");
}

@font-face {
    font-family: 'Assistant-ExtraBold';
    src: url("../fonts/Assistant-ExtraBold.ttf");
}

@font-face {
    font-family: 'Assistant-SemiBold';
    src: url("../fonts/Assistant-SemiBold.ttf");
}

@font-face {
    font-family: 'Assistant-Light';
    src: url("../fonts/Assistant-Light.ttf");
}

@font-face {
    font-family: 'Assistant-ExtraLight';
    src: url("../fonts/Assistant-ExtraLight.ttf");
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    padding-bottom: 80px;
    background: #F5F6F6 url("../images/bg.png") no-repeat center top;
    background-size: cover;
    color: #00345e;
    font-family: 'Assistant-Regular';
    font-size: 17px;
}

.nav-container{ position:relative;}

.company-logo{
    position:absolute;
    left:0;
    top:-4px;
    padding:20px;
    background:#fff url("../images/logo.png") center center no-repeat;
    background-size:cover;
    width:120px;
    height:120px;
    border-radius:60px;
}

.navbar, .navbar-nav {  padding: 0;}

.nav-link {
    font-size: 1.1em;
    border-bottom: solid .14rem transparent;
    transition: border-color .5s ease;
}

.nav-link.active {
    border-color: #00345E;
    font-weight:bold;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding: 1rem 1.5rem .8rem 1.5rem;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a,  a:visited,
.navbar-light .navbar-brand,
.navbar-light .navbar-nav .nav-link {
    color: #00345e;
}

a.btn-primary, a.btn-success, a.btn-info, a.btn-danger{
    color: #fff;
}

a:hover, a:hover, a:active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:active,
.text-accent-brand {
    color: #0094A1;
}

.navbar-light .navbar-toggler {
    color: #00345e;
    border-color: #00345e;
    outline:none;
    background:#fff;
}

main {
    margin-top: 80px;
    border: 1px solid #00345E;
    border-radius: 16px;
    background: #F5F6F6;
    box-shadow: 0 0 1.6rem rgba(0,0,0,.36);
}
.body-content{
    padding:10px;
    text-align:right;
}
.page-title {
    font-family: "Assistant-Bold";
    font-size: 1.3em;
    text-align: center;
    padding: 10px 0;
    margin: 10px 0;
    background: url("../images/title-bg.png") repeat-x left center;
    background-size: auto 3px;
}
.page-title > span {
    display: inline-block;
    padding: 0 20px;
    background: #F5F6F6;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */


.border-top {  border-top: 1px solid #DEE8EA;}
.border-bottom { border-bottom: 1px solid #DEE8EA;}
.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 44px; /* Vertically center the text there */
  background-color:#fff;
  text-align:center;
}

.footer ul{
    margin:0;
    padding: 4px 0;
}

.footer ul > li{
    text-align:center;
    padding:0 10px;
}
.footer ul > li > img {
    display: block;
    width: 90%;
}
.footer ul > li + li {
    border-right: 1px solid #DEE8EA;
}

.item-box{  position:relative;}

.item-box-header {
    position: absolute;
    top: 8px;
    left: 8px;
    opacity: .5;
    z-index: 1000;
    padding: 6px;
    border-radius: 6px;
    background: rgba(0,0,0,.1);
    transition: opacity .2s ease;
}

.item-box-header > a{ display:inline-block;}
.item-box-header > a + a{ margin-right:6px;}
.item-box:hover > .item-box-header { opacity: 1;}
.item-box + .item-box { margin-top: 10px;}

.form-control { border-radius: 8px;}
.btn {
    border-radius: 6px;
    min-width: 40px;
}
.btn-sm {
    font-size: .9em;
}
.input-validation-error, .input-validation-error:focus {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.list-group { border-radius: 8px;}
.list-group-item:last-child {
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.list-group-item:first-child {
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.field-validation-error, label { font-size: .9em;}
.form-control-alt{ border:none;  padding:0 6px;}
.btn-primary { background-color: #0167bb; border-color: #0167bb;}
.form-control::placeholder {  color: rgba(0,0,0,.5);}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: #0175d4;
    border-color: #0175d4;
}

.text-lg{ font-size:1.1em;}
.text-sm { font-size: .9em;}

.sa-button-container {
    display: flex;
    flex-direction: row-reverse;
    text-align: center;
    justify-content: center;
}

.sa-button-container .cancel {  margin-left: 10px;}

ul.check-list {
    list-style: none;
    margin:0;
    padding:0;
    font-size:.9em;
}

ul.check-list li:before {
    display:inline-block;
    margin-left:5px;
    content: '✓';
    color:green;
}

.list-group-item {  padding: .75rem;}

.ui-timepicker-viewport { padding: 0 0 0 20px !important;}
.ui-datepicker, .ui-timepicker-standard { font-family: Arial; font-size: 1em;}
.ui-timepicker-standard { box-shadow: #888 1px 1px 8px; border-color: #ddd;}
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
    color: transparent;
    cursor:default;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border: 1px solid #0094A1;
    background: #0094A1;
}

.border-radius-8 { border-radius:8px;}

.input-date-box { position:relative;}
.input-date-box > i {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 10px;
    cursor:pointer;
    font-size:1.1em;
}
.input-date-box > i:hover { color: #0094A1;}
.bootstrap-select{border:none; outline:none;}
.bootstrap-select .dropdown-toggle .filter-option {  float: right; text-align: right;}
.bootstrap-select .dropdown-menu li { text-align: right;  padding:0;  margin:0;}
.bootstrap-select .dropdown-menu li > a { padding: 7px;}
.bootstrap-select .dropdown-menu li  + li{ border-top:dotted 1px #ddd;}
.bootstrap-select .dropdown-toggle:focus, .bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
    border:none;
    outline: none !important;
    outline-offset: 0px;
    box-shadow:none !important;
}
.dropdown-item {
    white-space:normal;
}

.badge{ font-weight:normal; font-size:.9em;}
.ngx-toastr {
    text-align: right;
}

@media print {
    header, footer, .no-print {   display: none; }

    body {  padding: 0; background: none; }

    main {
        margin: 0;
        border: none;
        border-radius: 0;
        background: none;
    }
}

.validation-summary-errors ul{
    padding:0 20px 0 0;
}


.offset-md-3 {
    margin-right: 25%;
    margin-left: 0;
}

.card-sm .card-header, .card-sm .card-body{padding:5px;}

@media (max-width: 767px) {
    .site-content {
        padding-right: 4px;
        padding-left: 4px;
    }

    .section {
        padding: 6px 0;
        margin: 0 15px;
        border-left: none !important;
        border-right: none !important;
        flex: 96%;
    }

    .col-12 .form-control {
        margin: 4px 0;
    }

    .section + .section {
        border-top: solid 1px #eee;
    }

    main {
        padding-right: 10px;
        padding-left: 10px;
    }

    .navbar {
        padding: .6rem;
    }

    .navbar-light {
        background-color: rgba(255, 255, 255, .7) !important;
    }

    .nav-item + .nav-item {
        border-top: 1px solid #DEE8EA;
    }

    .company-logo {
        top: -10px;
        padding: 0;
        background-color: rgba(255, 255, 255, .5);
        width: 80px;
        height: 80px;
        border-radius: 40px;
    }

    .page-title {
        background: none;
    }

    body {
        padding-bottom: 0;
    }

    .footer-custom {
        position: relative;
        margin-top: 30px;
    }

    .footer ul > li + li {
        border-right: none;
    }

    .offset-md-3 {
        margin-right: 0;
    }
}
