html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.main-panel>.content {
    min-height: calc(100vh - 100px);
    height: 100%;
}

.footer {
    /*background:  url("/img/footer_bg.jpg");
	background-size: cover;*/
    background-color: #000;
    height: 60px;
    max-height: 60px;
    color: #FFF;
    padding-top: 20px;
}

#loader-fade {
	position: fixed;
	left:0;
	right:0;
	top:0;
	bottom:0;
	z-index:999997;
	background-color: rgba(0,0,0,.8);
	display: block;
	opacity:0;
	visibility: hidden;
	transition: 0.3s ease all;
}

#loader-fade.faded {
	opacity: 1;
	visibility: visible;
}

#loader {
	display: none;
	z-index:999998;
	top: 38%;
    margin:auto;
	position: relative;
	border: 5px solid white;
	border-radius: 50%;
	border-top: 5px solid #730d15;
	width: 150px;
	height: 150px;
	-webkit-animation: spin 1.5s linear infinite; /* Safari */
	animation: spin 1.5s linear infinite;
}

#loader-image {
	position: relative;
	display: none;
	z-index:999999;
	background: url('/img/logo_text.png');
	background-position: center; 
    background-repeat: no-repeat;    
    margin:auto;
    height: 100px;
    top:39%;
}

#loader-text {
	position: relative;
	display: none;
	z-index:999999;
    margin:auto;
    top:38%;
    padding-top: 1em;
	width: 500px;
    color: #FFF;
    text-align: center;
    font-size: larger;
}

/* Safari */
@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc, a.desc{
    color:#000 !important;
    text-decoration: none;
}

a:hover{
    text-decoration: none;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.grid-item-inactive{
    color: #bbb;
}

.inactive{
    color: #bbb;
    background-color: #eef1f5;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

.bg-white{
    background-color: #fff !important;
}

a{
    color: #55a5fa;
}

.sidebar .nav li .nav>li>a {
    margin-left: 30px;
}

.sidebar .nav li .nav>li>a>span {
    font-weight: 500;
}

.sidebar .nav p, .sidebar .nav span {
    font-weight: bold;
}

.sidebar .nav li>a {
    font-size: .650em;
}

.title{
    text-transform: uppercase;
}

.input-group-addon {
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: #555555;
    text-align: center;
    border: 1px solid #ccc;
}

.input-group .input-group-addon {
    border-radius: 0;
    background-color: #fff;
}

.input-group-addon:first-child {
    border-right: 0;
}

.input-group-addon, .input-group-btn {
    white-space: nowrap;
    vertical-align: middle;
}

.datepicker{
    z-index: 9999 !important;
    padding: 10px;
    border: 1px solid #ccc;
}

.card label{
    color: #777777;
}

.table tbody td a:hover, .card-header a:hover{
    text-decoration: none;
}

.table-lot-data th{
    font-size: smaller !important;
}

.table-header-small > thead > tr > th, .table-header-small > thead > tr > th > a{
    font-size: small !important;
}

.table-header-smaller > thead > tr > th, .table-header-smaller > thead > tr > th > a{
    font-size: smaller !important;
}

.font-smaller, .table-font-smaller{
    font-size: smaller;
}

.font-x-small, .table-font-x-small{
    font-size: x-small;
}

.font-large{
    font-size: large;
}

.font-larger{
    font-size: larger;
}

.font-x-large{
    font-size: x-large;
}

.table-add-column{
    text-align: center;
    width: 50px;
    max-width: 50px;
}

.table-date-column{
    min-width:230px;
    width:230px;
    max-width:230px;
}

.table-firstrow-noborder > tbody > tr:first-child > td, .table-firstrow-noborder > tbody > tr:first-child > th{
    border: none;
}

.table > thead > tr > th > a{
    color: #888888;
    /*font-size: 16px;*/
    transition: 0.3s;
}

.table > thead > tr > th > a.btn, .table > thead > tr > th > a.btn:hover{
    color: #fff;
}

.table > thead > tr > th > a:hover{
    color: #000;
}

.table > thead > .filters{
    background-color: #f0f0f0;
}

.table > thead > .filters > td > input[type="text"]{
    background-color: #fff !important;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    font-style: italic;
    color:    rgb(202, 202, 202) !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    rgb(202, 202, 202) !important;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    rgb(202, 202, 202) !important;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    rgb(202, 202, 202) !important;
}
::-ms-input-placeholder { /* Microsoft Edge */
   color:    rgb(202, 202, 202) !important;
}

::placeholder { /* Most modern browsers support this now. */
   color:    rgb(202, 202, 202) !important;
}

.custom-input-container {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding-left: 25px;
    margin-bottom: 14px !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.custom-input-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: rgb(226, 222, 222);
}

.custom-input-container .text{
    display: inline-block;
    padding-top: 4px;
    padding-left: 4px;
    font-size: 14px;
    color: #000;
}

/* On mouse-over, add a grey background color */
.custom-input-container:hover input ~ .checkmark {
    background-color:  rgb(185, 184, 184);
}

/* When the checkbox is checked, add a blue background */
.custom-input-container input:checked ~ .checkmark {
    background-color: #5EA5CF;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.custom-input-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.custom-input-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 8px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Create a custom radio button */
.radiomark {
    position: absolute;
    top: 0;
    left: 0;
    height: 26px;
    width: 26px;
    background-color: rgb(226, 222, 222);
    border-radius: 50%;
    transition: 0.3s;
}

/* On mouse-over, add a grey background color */
.custom-input-container:hover input ~ .radiomark {
    background-color: rgb(204, 204, 204);
}

/* When the radio button is checked, add a blue background */
.custom-input-container input:checked ~ .radiomark {
    background-color: #5EA5CF;
}

.custom-input-container input:checked ~ .info{
    background-color: #2ca8ff !important;
}

.custom-input-container:hover input ~ .info {
    background-color: #2ca8ff !important;
}

.custom-input-container input:checked ~ .success{
    background-color: #18ce0f !important;
}

.custom-input-container:hover input ~ .success {
    background-color: #18ce0f !important;
}

.custom-input-container input:checked ~ .warning{
    background-color: #ffb236 !important;
}

.custom-input-container:hover input ~ .warning {
    background-color: #ffb236 !important;
}

.custom-input-container input:checked ~ .danger{
    background-color: #ff3636 !important;
}

.custom-input-container:hover input ~ .danger {
    background-color: #ff3636 !important;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.radiomark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.custom-input-container input:checked ~ .radiomark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.custom-input-container .radiomark:after {
 	top: 7px;
	left: 7px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: white;
}

.section-title {
	width: 100%;
	margin-top: 2em;
    margin-bottom: 1em;
	border-bottom: 1px solid #5EA5CF;
	text-align: left;
	text-transform: uppercase;
}

.section-title-small{   
	margin-top: 0.5em; 
	font-size: large;
}

.tree-view-wrapper{
    margin-bottom: 1em;
}

.treeview .btn.btn-icon.btn-sm{
    margin: 0 5px 0 0;
}

.tree-heading-container{
    margin-bottom: 1em;
	border-bottom: 1px solid #70AC3A;
	text-align: large;
    text-transform: uppercase;
    font-weight: normal !important;
}

.treeview.small .list-group-item:first-child, .treeview.small .list-group-item:last-child, .treeview.middle .list-group-item:first-child, .treeview.middle .list-group-item:last-child {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.node-result{
    font-weight: bold;
}

.breadcrumb .btn{
    margin: 0 !important;
    margin-top: -5px !important;
}

.breadcrumb.back{
    max-height: 45px;    
}

.breadcrumb .back-button{
    margin-left: auto !important;
    margin-right: auto !important;
}

.breadcrumb{
    border-radius: .25rem;
    box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

.breadcrumb > i{    
    margin-right: 0.7em;
    color: #999;
}

.breadcrumb > li{
    padding-right: 0.7em;
}
.pagination{
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid #d8d8d8;
    border-radius: 0;
}

.pagination > li{
    margin-right: 2px;
}

.pagination > li a, .pagination > li.disabled{
    text-align: center;
    font-size: 1rem;
    display:block;
    height: 1.875rem;
    min-width: 1.875rem;
    width: 1.875rem;
    line-height: 1.8rem;
    border: 2px solid #9e9e9e !important;
    color: #9e9e9e;
    border-radius: 50%;
    padding: 0 !important;
    text-decoration: none;
}

.pagination > li.active a, .pagination > li a:hover{
    border: 2px solid #5EA5CF !important;
    color: #5EA5CF;
}


.pagination > li.prev a, .pagination > li.next a, .pagination > li.disabled span{ 
    line-height: 1.5rem;   
    font-size: 1.4rem;
    text-decoration: none;
}

.pagination > li.disabled{
    border: 2px solid #cfcfcf!important;
    color: #cfcfcf;
}

input[type=file]{
    content: "";
    border: 1px solid rgb(75, 75, 75);
    border-radius: 30px;
    padding-top: 5px;
    margin-top: 11px !important;
    height: 38px;
    cursor: pointer;
    font-style: italic;
    color: #777777;
    width:100%;
}

input[type=file]:hover::before{
    background-color: rgb(110, 110, 110);
    border-color: rgb(110, 110, 110);
}


input[type=file]:before {
    font-family: "Font Awesome 5 Free";
    content: "\f07c";
    padding-left: 10px;
    padding-right: 10px;
    margin-top: -5px;
    padding-top: 0px;
    border: none;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    position: absolute;
    height: 36px;
    max-height: 36px;
    width: 128px;
    background-color: rgb(75, 75, 75);
    color: #fff;
    text-transform: uppercase;
    font-style: normal;
    font-weight: bold;
    font-size: x-large;
    text-align: center;
    transition: 0.3s;
}

.save-area{
    width: 49%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
}

.btn-purple {
    background-color: #6e2478;
    color: #FFFFFF;
}

.btn-purple:hover {
    background-color: #5c1e65;
}

textarea{
    max-height: none !important;
}

.profile-picture {
    width: 38px;
    height: 38px;
    background-color: #999999;
    color: #FFFFFF;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.profile-picture img{
    width: 100%;
}

.sidebar-wrapper li.active > a, .sidebar-wrapper li.active > a > i, 
.off-canvas-sidebar .sidebar-wrapper [data-toggle=collapse]~div>ul>li.active>a .sidebar-mini-icon, .sidebar .sidebar-wrapper [data-toggle=collapse]~div>ul>li.active>a .sidebar-mini-icon{
    color: #555555;
}

.panel-header {
    background-image: linear-gradient(90deg,rgba(115,13,21, 0.8) 0,rgba(135,47,54, 0.8) 60%,rgba(0,0,0, 0.6)), url("/img/menu_header_image.jpg");
    background-position: center;
}

.timeline-news .timeline:before{
    left: 0;
}

.timeline-news .timeline>li>.timeline-badge{
    left: 0;
}

.timeline-news .timeline>li>.timeline-panel{
    width: 95%;
}

.bg-white{
    background-color: #fff !important;
}

.bg-black{
    background-color: #000 !important;
}

.bg-brown{
    background-color: #c68c53 !important;
}

.text-brown{
    color: #c68c53 !important;
}

.bg-purple{
    background-color: #df80ff !important;
}

.text-purple{
    color: #df80ff !important;
}

.bg-orange{
    background-color: #ff8533 !important;
}

.text-orange{
    color: #ff8533 !important;
}

.text-lightblue{
    color: #1ac6ff !important;
}

.bg-lightblue{
    background-color: #1ac6ff !important;
}

.gallery-item img {
    width: 100px;
    margin-top: 3px;
}

.select2-container--krajee-bs3 .select2-selection{
    border-radius: 30px;
}

.select2-container--krajee-bs3.select2-container--open.select2-container--above .select2-selection {
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.select2-container--krajee-bs3.select2-container--open.select2-container--below .select2-selection {
    border-top-right-radius: 0px !important;
    border-top-left-radius: 0px !important;
}

.select2-container--krajee-bs3 .select2-selection--multiple .select2-selection__choice {
    border-radius: 30px;
    margin-left: 10px;
}

.select2-container--krajee-bs3.select2-container--open .select2-selection, .select2-container--krajee-bs3 .select2-selection:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

.tooltip{
    top: 0px !important;
}

ul.timeline-list {
    list-style-type: none;
    position: relative;
}

ul.timeline-list:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}

ul.timeline-list > li {
    margin: 20px 0;
    padding-left: 20px;
}

ul.timeline-list > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #555555;
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

ul.timeline-list.timeline-list-info > li:before {
    border: 3px solid #3399ff;
}

ul.timeline-list.timeline-list-success > li:before {
    border: 3px solid #00cc00;
}

ul.timeline-list.timeline-list-warning > li:before {
    border: 3px solid #ff9900;
}

ul.timeline-list.timeline-list-danger > li:before {
    border: 3px solid #ff3333;
}

ul.timeline-list.timeline-list-purple > li:before {
    border: 3px solid #8c1aff;
}

.document-type, .document-type > a{
    width: 230px;
    min-width: 230px;
    max-width: 230px;
}

.nav-link-document{
    margin-top: 8px;
}

.nav-link-document > i{
    line-height: 20px !important;
}

select.form-control{
    background-color: #fff !important;
}

.show-new-lines{
    word-wrap: break-word;
    white-space: pre-wrap !important;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media (-webkit-min-device-pixel-ratio: 1.1) {
    .table-responsive-hd {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}

@media(max-width:1366px) {
    .nav-link{
        padding: 0px !important;
        font-size: smaller;
        max-width: 130px !important
    }
    
    .nav-link-document{
        padding: 10px !important;
    }

    .table-responsive-hd {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }

    .timeline-news .timeline>li>.timeline-panel{
        width: 85% !important;
    }

    .timeline-news .timeline:before{
        left: 0 !important;
    }

    .timeline-news .timeline>li>.timeline-badge{
        margin-left: -42px;
    }

    .nav-pills > .nav-item{
        margin-left: auto;
        margin-right: auto;
        margin-top: 1em;
    }

    .nav-pills.nav-pills:not(.flex-column) .nav-item:not(:last-child) .nav-link {
        margin-right: 0px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}
