@charset "UTF-8";

body {
    background: #114E7B url('/img/bg.jpg') no-repeat top center;
    color: #434343;
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

div.wrapper {
    padding-top: 55px;
    padding-bottom: 55px;
}

div.wrapper > div.container {
    z-index: 5;
}

.navbar.main-menu {
    border-top-left-radius: 0.25em;
    border-top-right-radius: 0.25em;
}

.navbar-admin > .nav {
    border-top: 1px solid;
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-admin > .nav > .nav-item > .nav-link {
    color: rgba(255, 255, 255, 0.5);
}

.navbar-admin > .nav > .nav-item > .nav-link:focus,
.navbar-admin > .nav > .nav-item > .nav-link:hover {
    color: rgba(255, 255, 255, 0.75);
}

.navbar-admin > .nav > .nav-item > .nav-link.active {
    color: #FFF;
    background-color: transparent;
}

.main-container {
    background: white;
    min-height: 200px;
    padding: 15px 20px 10px 20px;
    z-index: 10;
}

.main-page-progressbar {
    background: white;
    height: 150px;
}

.main-page-progressbar > .progress {
    height: 10px;
    border-radius: 0;
}

footer {
    background: white;
    padding: 15px 20px 10px 20px;
    /*margin-bottom: 50px;*/
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.page-form {
    padding: 8px 0px;
}

table.layout-fixed {
    table-layout: fixed;
}

/* Loading overlay directive */
.loading-overlay-holder {
    position: relative;
}

div.loading-overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div.loading-overlay-container > .loading-overlay-wrapper {
    position: absolute;
    border-radius: 0.25rem;
    background-color: #fff;
    top: 50%;
    left: 50%;
    padding: 0.5rem;
    transform: translate(-50%, -50%);
    z-index: 101;
}

div.loading-overlay-container > .loading-overlay {
    position: absolute;
    background-color: #636363;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    z-index: 100;
}

textarea.no-resize {
    resize: none;
}

/* ----------------------- */

img.envelope-image {
    width: 100%;
}

td.buttons > button {
    margin-bottom: 5px;
    margin-right: 5px;
}

button.with-icon > i.fa,
thead td.new-record button > i.fa {
    margin-right: 8px;
}

pagination ~ button.btn.refresh {
    margin-left: 5px;
    margin-bottom: 3px;
}

.modal-image-container {}

.modal-image-container > div {
    margin-bottom: 15px;
}

.modal-image-container > div:hover > .modal-image-wrapper {
    background: #5bc0de;
    cursor: pointer;
}

.modal-image-container > div > .modal-image-wrapper {
    border: 1px solid rgba(0, 0, 0, .125);
}

.modal-image-container > div > .modal-image-wrapper > .image-title{
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    padding-bottom: 5px;
}

.modal-image-container > div > .modal-image-wrapper > .modal-image-title {
    margin: 5px 10px 15px 10px;
}

.modal-image-container > div > .modal-image-wrapper > .modal-image-content {
    background: url("/img/crop-img-bg.png");
    position: relative;
    height: 220px;
    padding-top: 10px;
}

.modal-image-container > div > .modal-image-wrapper > .modal-image-content > img-loading,
.modal-image-container > div > .modal-image-wrapper > .modal-image-content > img {
    max-width: 100%;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

button > i.fa.margin-right {
    margin-right: 8px;
}

/*.new-record {*/
/*color: #337ab7;*/
/*cursor: pointer;*/
/*text-align: center;*/
/*padding-top: 15px;*/
/*padding-bottom: 15px;*/
/*}*/

/*.new-record:hover {*/
/*background-color: #007bff;*/
/*color: #FFF;*/
/*}*/

li.per-page > .ng-select {
    width: 60px;
    height: 38px;
}

li.per-page > .ng-select > div.ng-select-container {
    height: 38px;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

li.per-page > .ng-select.ng-select-focused:not(.ng-select-opened)>.ng-select-container {
    border-color: #dee2e6;
    box-shadow: none;
}

li.per-page > .ng-select > .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
    color: #007bff;
}

li.per-page > .ng-select > .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,
li.per-page > .ng-select > .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked {
    color: #FFF;
    background-color: #007bff;
}

li.per-page > .ng-select > .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked {
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* ------ Readonly -------------------------------------------------------------------------------------------------- */
form .form-control:focus:not(:disabled):not([readonly]) {
    border-color: #999;
    box-shadow: none;
}

from select:focus:not(:disabled):not([readonly]),
from textarea:focus:not(:disabled):not([readonly]),
from input[type="text"]:focus:not(:disabled):not([readonly]),
from input[type="password"]:focus:not(:disabled):not([readonly]) {
    border-color			: #999;
}

textarea:read-only,
textarea[readonly],
textarea[readonly='readonly'],
input:read-only,
input[readonly],
input[readonly='readonly'] {
    background-color: #F9F9F9;
}

.form-control:focus:read-only,
.form-control[readonly]:focus,
.form-control[readonly='readonly']:focus {
    border: 1px solid #e1e1e1;
    border-radius: 0;
    background-color: #FBFBFB;
    box-shadow: none;
}


/*Snowflakes styles*/
div.snowflakes-container {
    position: absolute;
    overflow: hidden;
    -moz-overflow: hidden;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

div.snowflakes-container > .snowflakes {
    position: absolute;
    top: -90px;
    left: 0;
    right: 0;
    bottom: -100px;
}

div.snowflakes-container > .snowflakes > i,
div.snowflakes-container > .snowflakes > i:after,
div.snowflakes-container > .snowflakes > i:before {
    background: white;
}

div.snowflakes-container > .snowflakes > i {
    display: inline-block;
    position: relative;
    top: -90px;

    animation: snowflakes 3s linear 2s 20;
    -webkit-animation: snowflakes 3s linear 2s 20;
    -moz-animation: snowflakes 3s linear 2s 20;
}

div.snowflakes-container > .snowflakes > i:after,
div.snowflakes-container > .snowflakes > i:before {
    height: 100%;
    width: 100%;
    content: ".";
    position: absolute;
    top: 0;
    left: 0;

    transform: rotate(120deg);
    -webkit-transform: rotate(120deg);
}

div.snowflakes-container > .snowflakes > i:before {
    transform: rotate(240deg);
    -webkit-transform: rotate(240deg);
}

@-webkit-keyframes snowflakes {
    0% {
        transform: translate3d(0, -90px, 0) rotate(0deg) scale(0.6);
        -webkit-transform: translate3d(0, -90px, 0) rotate(0deg) scale(0.6);
    }
    100% {
        transform: translate3d(0, -90px, 0) rotate(0deg) scale(0.6);
        -webkit-transform: translate3d(15px, 200vh, 0px) rotate(360deg) scale(0.6);
    }
}

div.snowflakes-container > .snowflakes >  i:nth-child(3n) {
    width: 16px;
    height: 4px;

    animation-duration: 4s;
    -webkit-animation-duration: 4s;

    animation-iteration-count: 30;
    -webkit-animation-iteration-count: 30;

    transform-origin: right -45px;
    -webkit-transform-origin: right -45px;
}

div.snowflakes-container > .snowflakes >  i:nth-child(3n+1) {
    width: 24px;
    height: 6px;

    animation-duration: 6s;
    -webkit-animation-duration: 6s;

    animation-iteration-count: 45;
    -webkit-animation-iteration-count: 45;

    transform-origin: right -30px;
    -webkit-transform-origin: right -30px;
}

div.snowflakes-container > .snowflakes >  i:nth-child(3n+2) {
    width: 32px;
    height: 8px;

    animation-duration: 8s;
    -webkit-animation-duration: 8s;

    animation-iteration-count: 60;
    -webkit-animation-iteration-count: 60;

    transform-origin: right -15px;
    -webkit-transform-origin: right -15px;
}

/* different delays so they don't all start at the same time */
div.snowflakes-container > .snowflakes >  i:nth-child(7n) {
    opacity:.3;

    animation-delay: 0s;
    -webkit-animation-delay: 0s;

    animation-timing-function: ease-in;
    -webkit-animation-timing-function: ease-in;
}
div.snowflakes-container > .snowflakes >  i:nth-child(7n+1) {
    opacity:.4;

    animation-delay: 1s;
    -webkit-animation-delay: 1s;

    animation-timing-function:ease-out;
    -webkit-animation-timing-function:ease-out;
}
div.snowflakes-container > .snowflakes >  i:nth-child(7n+2) {
    opacity:.5;

    animation-delay: 1.5s;
    -webkit-animation-delay: 1.5s;

    animation-timing-function:linear;
    -webkit-animation-timing-function:linear;
}
div.snowflakes-container > .snowflakes >  i:nth-child(7n+3) {
    opacity:.6;

    animation-delay: 2s;
    -webkit-animation-delay: 2s;

    animation-timing-function:ease-in;
    -webkit-animation-timing-function:ease-in;
}
div.snowflakes-container > .snowflakes >  i:nth-child(7n+4) {
    opacity:.7;

    animation-delay: 2.5s;
    -webkit-animation-delay: 2.5s;

    animation-timing-function:linear;
    -webkit-animation-timing-function:linear;
}
div.snowflakes-container > .snowflakes >  i:nth-child(7n+5) {
    opacity:.8;

    animation-delay: 3s;
    -webkit-animation-delay: 3s;

    animation-timing-function:ease-out;
    -webkit-animation-timing-function:ease-out;
}
div.snowflakes-container > .snowflakes >  i:nth-child(7n+6) {
    opacity:.9;

    animation-delay: 3.5s;
    -webkit-animation-delay: 3.5s;

    animation-timing-function:ease-in;
    -webkit-animation-timing-function:ease-in;
}

/* ------ Calendar Pop-up ------------------------------------------------------------------------------------------- */
.dropdown-menu > table.calendar > tbody > tr > td > button {
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
}
