
html {
	height: 100%;
	overscroll-behavior-y: contain;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: OpenSans !important;
    height: 100%;
    color: var(--primary-text-color);
}

.invisible {
	visibility: hidden
}

.form-control:focus {
    color: var(--primary-text-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgb(var(--primary-color-rgb-r) var(--primary-color-rgb-g) var(--primary-color-rgb-b) / 25%);
}

.form-select:focus {
    color: var(--primary-text-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgb(var(--primary-color-rgb-r) var(--primary-color-rgb-g) var(--primary-color-rgb-b) / 25%);
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    border: 1px solid var(--primary-color) !important;
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
}

.btn-primary:hover{
	background-image: linear-gradient(rgba(0, 0, 0, 0.05) 0 0) !important;
}

.btn-primary:focus, .btn-primary:active:focus {
    box-shadow: 0 0 0 0.25rem rgb(var(--primary-color-rgb-r) var(--primary-color-rgb-g) var(--primary-color-rgb-b) / 50%);
}

.btn-primary-reverse {
    border: 1px solid var(--primary-color) !important;
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.btn-primary-reverse:hover{
	/*background-image: linear-gradient(rgba(0, 0, 0, 0.05) 0 0) !important;*/
	/*
    background-color: #fff !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    */
}

.btn-primary-reverse:focus, .btn-primary-reverse:active:focus {
    box-shadow: 0 0 0 0.25rem rgb(var(--primary-color-rgb-r) var(--primary-color-rgb-g) var(--primary-color-rgb-b) / 50%);
}

#logo {
	position: absolute;
    top: 20px;
    left: 20px;
    height: 45px;
}
#version {
	position: absolute;
    top: 65px;
    left: 32px;
    height: 10px;
    font-weight: bold;
    font-size: 10px;
}

#user {
	position: absolute;
    top: 20px;
    right: 20px;
    text-align: right;
    color: var(--secondary-text-color);
}

.header-margin {
	margin-top: 120px;
}

.container {
	height: 100%;
}

.main-content {
	display: flex;
    align-items: start;
    height: 100%;
    justify-content: center;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
}

.close {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 2.5em;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
	z-index: 99;
}

.greyscreen {
	opacity: 0.4;
}

.input-error {
	border: 2px solid red !important;
}

.modal.show .modal-dialog:not(.modal-login) {
    transform: translate(-50%, -50%);
    top: 50% !important;
    left: 50% !important;
    margin: 0;
}

.dropdown-item {
	color: var(--primary-text-color);
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: var(--primary-color);
}

.modal-header {
	position: relative;
    justify-content: center;
    background: var(--primary-color);
    border-top-left-radius: calc(0.5rem - 1px);
    border-top-right-radius: calc(0.5rem - 1px);
    padding: 0.5rem 0.5rem;
}

.modal-content {
	border-radius: 0.5rem;
	max-width: 95%;
    margin: auto;
}

.modal-body {
    color: var(--primary-text-color);
}

.modal-title {
	/*
	color: var(--primary-text-color);
	*/
	color: #fff;
}

/****************************************/
/************ LOGIN MODAL ***************/
/****************************************/

.modal-login .modal-content {
	padding: 20px;
	border-radius: 5px;
	border: none;
}

.modal-login .modal-header {
	border-bottom: none;
	position: relative;
	justify-content: center;
	background: #fff;
}

.modal-login .modal-title {
    color: var(--primary-text-color);
}

.modal-login .close {
	position: absolute;
	top: -10px;
	right: -10px;
    color: var(--primary-text-color);
}

.modal-login .modal-content {
	color: var(--primary-text-color);
	margin-bottom: 15px;
	background: #fff;
	border: 1px solid #f3f3f3;
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	padding: 25px;
}

.modal-login .login_modal_login .form-group {
	margin-bottom: 20px;
}

.modal-login .login_modal_login label {
	font-weight: normal;
	font-size: 18px;
}

.modal-login .login_modal_login .form-control {
	min-height: 38px;
	padding-left: 5px;
	box-shadow: none !important;
	border-radius: 0;
}

.modal-login .login_modal_login .form-control:focus {
	border-color: #ccc;
}

.modal-login .login_modal_login .input-group-addon {
	max-width: 42px;
	text-align: center;
	background: none;
	padding-right: 5px;
	border-radius: 0;
}

.modal-login:not(.modal-first-login) .btn {        
	width: 100%;
}

.modal-login .hint-text {
	text-align: center;
	font-size: 13px;
}

.modal-login .modal-footer {
	color: var(--primary-text-color);
	border-color: #dee4e7;
	text-align: center;
	margin: 0 -25px -25px;
	font-size: 13px;
	justify-content: center;
}

.modal-login a {
	text-decoration: none;
    color: #9fa5ac;
}

.modal-login a:hover {
	text-decoration: none;
    opacity: 0.9;
}

.page-link{
    color: var(--primary-color);
}

.page-item.active .page-link{
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.dataTables_length, .dataTables_filter {
    float: right;
    margin-right: 15px;
    margin-bottom: 5px;
}

table.dataTable tbody tr.selected {
    background-color: var(--primary-color);
}

div.DTED_Lightbox_Wrapper {
    z-index: 2000;
}

/****************************************/
/************ SUCC MODAL ****************/
/****************************************/

.success-checkmark {
	width: 80px;
	height: 115px;
	margin: 0 auto;
}

.success-checkmark .check-icon {
	width: 80px;
	height: 80px;
	position: relative;
	border-radius: 50%;
	box-sizing: content-box;
	border: 4px solid var(--primary-color);
}

.success-checkmark .check-icon::before {
	top: 3px;
	left: -2px;
	width: 30px;
	transform-origin: 100% 50%;
	border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
	top: 0;
	left: 30px;
	width: 60px;
	transform-origin: 0 50%;
	border-radius: 0 100px 100px 0;
	animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon::before, .success-checkmark .check-icon::after
	{
	content: "";
	height: 100px;
	position: absolute;
	background: #FFFFFF;
	transform: rotate(-45deg);
}

.success-checkmark .check-icon .icon-line {
	height: 5px;
	background-color: var(--primary-color);
	display: block;
	border-radius: 2px;
	position: absolute;
	z-index: 10;
}

.success-checkmark .check-icon .icon-line.line-tip {
	top: 46px;
	left: 14px;
	width: 25px;
	transform: rotate(45deg);
	animation: icon-line-tip 0.75s;
}

.success-checkmark .check-icon .icon-line.line-long {
	top: 38px;
	right: 8px;
	width: 47px;
	transform: rotate(-45deg);
	animation: icon-line-long 0.75s;
}

.success-checkmark .check-icon .icon-circle {
	top: -4px;
	left: -4px;
	z-index: 10;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	position: absolute;
	box-sizing: content-box;
	border: 4px solid rgba(var(--primary-color-rgb-r),var(--primary-color-rgb-g),var(--primary-color-rgb-b),0.5);
}

.success-checkmark .check-icon .icon-fix {
	top: 8px;
	width: 5px;
	left: 26px;
	z-index: 1;
	height: 85px;
	position: absolute;
	transform: rotate(-45deg);
	background-color: #FFFFFF;
}

@keyframes rotate-circle {
  0% {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg); /* Safari & Chrome */
	-moz-transform: rotate(-45deg); /* Firefox */
	-ms-transform: rotate(-45deg); /* Internet Explorer */
	-o-transform: rotate(-45deg);
  }
  5% {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg); /* Safari & Chrome */
	-moz-transform: rotate(-45deg); /* Firefox */
	-ms-transform: rotate(-45deg); /* Internet Explorer */
	-o-transform: rotate(-45deg);
  }
  12% {
    transform: rotate(-405deg);
    -webkit-transform: rotate(-405deg); /* Safari & Chrome */
	-moz-transform: rotate(-405deg); /* Firefox */
	-ms-transform: rotate(-405deg); /* Internet Explorer */
	-o-transform: rotate(-405deg);
  }
  100% {
    transform: rotate(-405deg);
    -webkit-transform: rotate(-405deg); /* Safari & Chrome */
	-moz-transform: rotate(-405deg); /* Firefox */
	-ms-transform: rotate(-405deg); /* Internet Explorer */
	-o-transform: rotate(-405deg);
  }
}
@keyframes icon-line-tip {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }
  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }
  100% {
    width: 25px;
    left: 14px;
    top: 45px;
  }
}
@keyframes icon-line-long {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  84% {
    width: 55px;
    right: 0px;
    top: 35px;
  }
  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}

/****************************************/
/************ LOADER ********************/
/****************************************/
#loader-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1100;
}

#loader-wrapper .loader-section {
	position: fixed;
	top: 0;
	width: 51%;
	height: 100%;
	background: rgba(255,255,255,1);
	z-index: 1100;
	-webkit-transform: translateX(0); /* Chrome, Opera 15+, Safari 3.1+ */
	-ms-transform: translateX(0); /* IE 9 */
	transform: translateX(0); /* Firefox 16+, IE 10+, Opera */
}

#loader-wrapper .loader-section.section-left {
	left: 0;
	background-color: #fff;
}

#loader-wrapper .loader-section.section-right {
	right: 0;
	background-color: #fff;
}

#loader-wrapper .entry-title img:not(.rotate360cw) {
	text-align: center;
	z-index: 1102;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
}

/* Loaded */

.loaded #loader {
	opacity: 0;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.loaded #loader-wrapper {
	visibility: hidden;
	-webkit-transform: translateY(-100%);
	/* Chrome, Opera 15+, Safari 3.1+ */
	-ms-transform: translateY(-100%); /* IE 9 */
	transform: translateX(-100%); /* Firefox 16+, IE 10+, Opera */
	transition: 0.5s;
	transition-timing-function: ease-out;
}

/* JavaScript Turned Off */
.no-js #loader-wrapper {
	display: none;
}

#loader-wrapper.demo .loader-section.section-left {
	background-color: var(--primary-color);
}

#loader-wrapper.demo .loader-section.section-right {
	background-color: var(--primary-color);
}

@-webkit-keyframes rotating {
    0%{
        -webkit-transform: rotate(0deg);
    }
    50%{
        -webkit-transform: rotate(180deg);
    }
    100%{
        -webkit-transform: rotate(360deg);
    }
}
@-webkit-keyframes rotating2 {
    0%{
        -webkit-transform: rotate(0deg);
    }
    50%{
        -webkit-transform: rotate(180deg);
    }
    100%{
        -webkit-transform: rotate(360deg);
    }
}
#loader-wrapper .word1 {
    top: 33vmin;
    left: 18vmin;
}
#loader-wrapper .word2 {
    top: 33vmin;
    left: 18vmin;
}
#loader-wrapper .object {
    z-index: 15;
    height: 8vmin;
    position: absolute;
    -webkit-animation: rotating 4s linear infinite;
}
#loader-wrapper .object2 {
    z-index: 10;
    height: 8vmin;
    position: absolute;
    -webkit-animation: rotating2 12s linear infinite;
}
#loader-wrapper #axis {
    height: 80vmin;
    margin: 30px auto 80px auto;
    position: relative;
    text-align: center;
    width: 80vmin;
    border: 3vmin solid #000;
    border-radius: 50%;
    margin-top: 3vmin;
    box-shadow: 
        inset 40px 40px 90px rgba(0,0,0,.2),
        inset 10px 10px 30px rgba(0,0,0,.5), 
        20px 20px 30px rgba(0,0,0,.4),
        40px 40px 60px rgba(0,0,0,.4);
  
    background: #efefef;
    z-index: 1500;
}

#loader-wrapper #axis:before {
    content: '';
    width: 95%;
    height: 95%;
    border-radius: 50%;
    display: block;
    background: transparent;
    border: 2vmin solid white;
    box-sizing: unset;
}

#loader-wrapper #axis:after {
    content: '';
    width: 105%;
    height: 105%;
    border-radius: 50%;
    display: block;
    background: transparent;
    position: absolute;
    top: -2.5%;
    left: -2.5%;
    box-shadow: -2px 0px 9px rgba(255,255,255,.8);
}

#loader-wrapper .hour12,
#loader-wrapper .hour1,
#loader-wrapper .hour2,
#loader-wrapper .hour3,
#loader-wrapper .hour4,
#loader-wrapper .hour5 {
    height: 1vmin;
    width: 52vmin;
    background: transparent;
    border-left: 6vmin solid #000;
    border-right: 6vmin solid #000;
    transform: translate(-50%, -50%);
/*     transform-origin: right bottom; */
    top: 50%;
    left: 50%;
    position: absolute;
    box-sizing: unset;
}

#loader-wrapper .hour3 { transform: rotate(90deg) translate(0, 32vmin); }

#loader-wrapper .hour1 { transform: rotate(120deg) translate(16vmin, 28vmin); }

#loader-wrapper .hour2 { transform: rotate(150deg) translate(28vmin, 16.3vmin); }

#loader-wrapper .hour4 { transform: rotate(210deg) translate(27.5vmin, -15.5vmin); }

#loader-wrapper .hour5 { transform: rotate(240deg) translate(16vmin, -27.5vmin); }

#loader-wrapper #box {
    height: 40vmin;
    width: 40vmin;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 35% !important;
    left: 50% !important;
    margin: 0;
    text-align: center;
    z-index: 1500;
}

#loader-wrapper #box .word1 {
    top: 16vmin;
    left: 0;
}
#loader-wrapper #box .word2 {
    top: 16vmin;
    left: 0;
}

@keyframes blink {
    /**
     * At the start of the animation the dot
     * has an opacity of .2
     */
    0% {
      opacity: .2;
    }
    /**
     * At 20% the dot is fully visible and
     * then fades out slowly
     */
    20% {
      opacity: 1;
    }
    /**
     * Until it reaches an opacity of .2 and
     * the animation can start again
     */
    100% {
      opacity: .2;
    }
}

.loading {
	color: #fff;
	position: absolute;
	transform: translate(-50%, -50%);
	top: 100% !important;
	left: 50% !important;
	margin-top: 30px;
	font-size: 4vmin;
}

.loading span.first {
	margin-left: 5px;
}

.loading span {
    /**
     * Use the blink animation, which is defined above
     */
    animation-name: blink;
    /**
     * The animation should take 1.4 seconds
     */
    animation-duration: 1.4s;
    /**
     * It will repeat itself forever
     */
    animation-iteration-count: infinite;
    /**
     * This makes sure that the starting style (opacity: .2)
     * of the animation is applied before the animation starts.
     * Otherwise we would see a short flash or would have
     * to set the default styling of the dots to the same
     * as the animation. Same applies for the ending styles.
     */
    animation-fill-mode: both;
}

.loading span:nth-child(2) {
    /**
     * Starts the animation of the third dot
     * with a delay of .2s, otherwise all dots
     * would animate at the same time
     */
    animation-delay: .2s;
}

.loading span:nth-child(3) {
    /**
     * Starts the animation of the third dot
     * with a delay of .4s, otherwise all dots
     * would animate at the same time
     */
    animation-delay: .4s;
}

/****************************************/
/************ CONNECTION LOST PAGE ******/
/****************************************/
.connection-lost-div {
	text-align: center;
	position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.connection-lost-div img {
	width: 300px;
}

.connection-lost-div h5 {
	color: var(--secondary-text-color);
}