html,
body {
    height: 100%;
}

#loader-fade {
	position: fixed;
	left:0;
	right:0;
	top:0;
	bottom:0;
	z-index:999997;
	background-color: rgba(0,0,0,.5);
	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: 50%;
    margin:auto;
	position: relative;
	border: 5px solid white;
	border-radius: 50%;
	border-top: 5px solid #70AC3A;
	width: 100px;
	height: 100px;
	-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_white_small.png');
	background-position: center; 
    background-repeat: no-repeat;    
    margin:auto;
    height: 70px;
    top:50%;
}

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

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

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

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

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

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

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

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

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";
}

textarea{
    max-height: none !important;
}

.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";
}

.btn-outline-light{
    background-color: #fff;
    color: #66615B;
    border: 2px #66615B solid;
}

.btn-outline-light:hover{
    background-color: #66615B !important;
    border: 2px #66615B solid;
}

.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;
}

.error-input{
    border-color: #a94442;
}

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

.navbar .navbar-collapse .nav-item a {
    color: #000;
}

.main-panel>.navbar {
    border-bottom: 1px #ccc solid;
}

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

a{
    color: #55a5fa;
    cursor: pointer;
}

i{
    font-size: larger !important;
}

.sidebar .nav li:hover, .sidebar .nav li.active{
    color: #70AC3A !important;
    transition: 0.3s
}

.sidebar[data-active-color="info"] .nav li.active>a{
    color: #70AC3A !important;
}


.sidebar .nav li>a>img{
    display:inline-block;
    width: 24px;
    margin-right: 12px;
    margin-left: 6px;
    line-height: 30px;
}

.sidebar i{
    font-size: x-large !important;
}

.sidebar .nav li>a>p{
    display:inline-block;
}

.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-font-smaller{
    font-size: smaller;
}

.table>tbody>tr>td{
    padding: 5px 10px 5px 10px;
}

::-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: #6FAB3A;/*#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;
}

/* 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 rgb(240, 133, 10);
	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 rgb(240, 133, 10);
	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: 12px;
    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;
}

.datetimepicker table tr td.active.active,
.datetimepicker table tr td.day:hover,
.datetimepicker table tr td.today,
.datepicker table tr td.active.active,
.datepicker table tr td.day:hover,
.datepicker table tr td.today{
    border-radius: 50%;
}


.datetimepicker table tr td.active:active, .datetimepicker table tr td.active:hover:active,
.datepicker table tr td.active.active{
    background-color: #6FAB3A;
}

.calendar .datepicker{
    border: none;
}

.calendar .datepicker table{
    min-width: 317px;
}

.calendar .datepicker table tr td.day{
    width: 45px;
    height: 45px;
}

.calendar .datepicker table tr td.active{
    background-color: #6FAB3A;
    border-color: #6FAB3A;
}

.calendar .datepicker table tr td.active:hover{
    background-color: rgb(87, 170, 15);
}

.calendar .krajee-datepicker{
    display: none;
}

.calendar .datepicker table tr td.active2{
    background-color: #777777;
}

.notification-count{
    float: left;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    font-size: x-small;
    text-align: center;
}

.notification{
    margin-top: 4em;
}

.modal-lg{
    max-width: 1200px;
}

.modal .table tbody td input{
    font-size: smaller;
}

.modal .table tbody td select{
    height: auto !important;
    font-size: x-small;
}

.sortable-item{
    padding: 15px;
    cursor: pointer;
    border: 1px dashed #000;
    margin-bottom: 5px;
}

.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 #ef8157 !important;
    color: #ef8157;
}

.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;
}

.signature-pad--body canvas{
    border: 1px dotted #000;
}

.designer-container{
    margin-left: auto;
    margin-right: auto;
    min-height:200px;
    max-width:800px;
}


@media (min-width: 1200px){
    .designer-container{
        min-height: 300px;
    }
}

@media (min-width: 1600px){
    .designer-container{
        min-height: 430px;
    }
}

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

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

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