:root {
  --primary-color: #05763b;
  --primary-color-rgb-r: 5;
  --primary-color-rgb-g: 118;
  --primary-color-rgb-b: 59	;
  --primary-text-color: #5e5d5d;
  --secondary-text-color: #b1b1b1;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-Medium.woff') format('woff'),
    url('../fonts/OpenSans-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
	height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: OpenSans !important;
    height: 100%;
}

.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:focus, .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;
}

.btn-primary-reverse:focus, .btn-primary-reverse:focus, .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: 50px;
}

#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: 3.5em;
    line-height: 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);
}

/****************************************/
/************ 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;
}

.modal-login .close {
	position: absolute;
	top: -10px;
	right: -10px;
}

.modal-login h4 {
	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-width: 0 0 1px 0;
	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 .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;
}

.modal-login .fas {
	font-size: 21px;
	position: relative;
	top: 6px;
}

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




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

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

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