/*********************************** FONTS *****************************************/

/* cyrillic-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url('res/fonts/roboto_cyrillic_ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
/* cyrillic */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url('res/fonts/roboto_cyrillic.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url('res/fonts/roboto_latin_ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url('res/fonts/roboto_latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
} 



/* cyrillic-ext */
@font-face {
  font-family: 'Roboto Light';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Light'), url('res/fonts/roboto_light_cyrillic_ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
/* cyrillic */
@font-face {
  font-family: 'Roboto Light';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Light'), url('res/fonts/roboto_light_cyrillic.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto Light';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Light'), url('res/fonts/roboto_light_latin_ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto Light';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Light'), url('res/fonts/roboto_light_latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
} 



/*********************************** KERNEL *****************************************/
.moonlight_msgbox{
    padding:10px; 
}

.moonlight_desc{
    font-size:12px;
    font-weight:normal;
}

.moonglight_designer{
    display:none;
    text-align:left;
}

.moonlight_notification{
    position:fixed;
    top:0px;
    padding:10px 12px;
    display: none;
    z-index: 110;
}

.moonlight_notification ul{
    padding: 0px;
    margin: 0px;
    list-style: none;
    display: inline;
    text-decoration: none;
	color: transparent;
}

.moonlight_error_frame{
    position:fixed;
    top:0px;
    padding:10px 12px;
    display: none;
    z-index: 110;
}

.moonlight_error_frame ul{
    padding: 0px;
    margin: 0px;
    list-style: none;
    display: inline;
    text-decoration: none;
}

.moonlight_error_frame .error{
    margin:0px 0px 5px 0px;
    padding:2px 4px;
    font-weight:bold;
    border: 0px;
}

.moonlight_error_frame .close{
    float:right;
    cursor:pointer;
}



/*
 * Core: General Layout Style
 * -------------------------
 */
html {
  font-family: 'Roboto';
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
} 
 
html,
body {
	height: 100%;
}
.layout-boxed html,
.layout-boxed body {
	height: 100%;
}
body {
	font-weight: 400;
	overflow-x: hidden;
	overflow-y: auto;
	font-size:1em;
	font-family: 'Roboto';
}

.col-form-label {
  font-weight: 500;
}

/*
.content{
    background: white;
}
*/


/* For searching placeholder */
#listing_placeholder {
    padding-top: 120px;
    padding-bottom: 120px;
    cursor: default;
}
/*
 * Component: Box
 * --------------
 */
.box {
  position: relative;
  border-radius: 3px;
  background: #ffffff;
  border-top: 3px solid #d2d6de;
  margin-bottom: 20px;
  width: 100%;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.box.box-primary {
  border-top-color: #3c8dbc;
}
.box.box-info {
  border-top-color: #00c0ef;
}
.box.box-danger {
  border-top-color: #dd4b39;
}
.box.box-warning {
  border-top-color: #f39c12;
}
.box.box-success {
  border-top-color: #00a65a;
}
.box.box-default {
  border-top-color: #d2d6de;
}
.box.collapsed-box .box-body,
.box.collapsed-box .box-footer {
  display: none;
}
.box .nav-stacked > li {
  border-bottom: 1px solid #f4f4f4;
  margin: 0;
}
.box .nav-stacked > li:last-of-type {
  border-bottom: none;
}
.box.height-control .box-body {
  max-height: 300px;
  overflow: auto;
}
.box .border-right {
  border-right: 1px solid #f4f4f4;
}
.box .border-left {
  border-left: 1px solid #f4f4f4;
}
.box.box-solid {
  border-top: 0;
}
.box.box-solid .box-header-btn{
  cursor:pointer;
}
.box.box-solid > .box-header .btn.btn-default {
  background: transparent;
}
.box.box-solid > .box-header .btn:hover,
.box.box-solid > .box-header a:hover {
  background: rgba(0, 0, 0, 0.1);
}
.box.box-solid.box-default {
  border: 1px solid #d2d6de;
}
.box.box-solid.box-default > .box-header {
  color: #444444;
  background: #d2d6de;
  background-color: #d2d6de;
}
.box.box-solid.box-default > .box-header a,
.box.box-solid.box-default > .box-header .btn {
  color: #444444;
}
.box.box-solid.box-primary {
  border: 1px solid #3c8dbc;
}
.box.box-solid.box-primary > .box-header {
  color: #ffffff;
  background: #3c8dbc;
  background-color: #3c8dbc;
}
.box.box-solid.box-primary > .box-header a,
.box.box-solid.box-primary > .box-header .btn {
  color: #ffffff;
}
.box.box-solid.box-info {
  border: 1px solid #00c0ef;
}
.box.box-solid.box-info > .box-header {
  color: #ffffff;
  background: #00c0ef;
  background-color: #00c0ef;
}
.box.box-solid.box-info > .box-header a,
.box.box-solid.box-info > .box-header .btn {
  color: #ffffff;
}
.box.box-solid.box-danger {
  border: 1px solid #dd4b39;
}
.box.box-solid.box-danger > .box-header {
  color: #ffffff;
  background: #dd4b39;
  background-color: #dd4b39;
}
.box.box-solid.box-danger > .box-header a,
.box.box-solid.box-danger > .box-header .btn {
  color: #ffffff;
}
.box.box-solid.box-warning {
  border: 1px solid #f39c12;
}
.box.box-solid.box-warning > .box-header {
  color: #ffffff;
  background: #f39c12;
  background-color: #f39c12;
}
.box.box-solid.box-warning > .box-header a,
.box.box-solid.box-warning > .box-header .btn {
  color: #ffffff;
}
.box.box-solid.box-success {
  border: 1px solid #00a65a;
}
.box.box-solid.box-success > .box-header {
  color: #ffffff;
  background: #00a65a;
  background-color: #00a65a;
}
.box.box-solid.box-success > .box-header a,
.box.box-solid.box-success > .box-header .btn {
  color: #ffffff;
}
.box.box-solid > .box-header > .box-tools .btn {
  border: 0;
  box-shadow: none;
}
.box.box-solid[class*='bg'] > .box-header {
  color: #fff;
}
.box .box-group > .box {
  margin-bottom: 5px;
}
.box .knob-label {
  text-align: center;
  color: #333;
  font-weight: 100;
  font-size: 12px;
  margin-bottom: 0.3em;
}
.box > .overlay,
.overlay-wrapper > .overlay,
.box > .loading-img,
.overlay-wrapper > .loading-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.box .overlay,
.overlay-wrapper .overlay {
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
}
.box .overlay > .glyphicon,
.overlay-wrapper .overlay > .glyphicon {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  margin-top: -15px;
  color: #000;
  font-size: 30px;
}
.box .overlay.dark,
.overlay-wrapper .overlay.dark {
  background: rgba(0, 0, 0, 0.5);
}
.box-header:before,
.box-body:before,
.box-footer:before,
.box-header:after,
.box-body:after,
.box-footer:after {
  content: " ";
  display: table;
}
.box-header:after,
.box-body:after,
.box-footer:after {
  clear: both;
}
.box-header {
  color: #444;
  display: block;
  padding: 10px;
  position: relative;
}
.box-header.with-border {
  border-bottom: 1px solid #e5e5e5;
}
.collapsed-box .box-header.with-border {
  border-bottom: none;
}
.box-header > .fa,
.box-header > .glyphicon,
.box-header > .ion,
.box-header .box-title {
  display: inline-block;
  font-size: 18px;
  margin: 0;
  line-height: 1;
}
.page-title{
  display: inline-block;
  font-size: 22px;
  margin: 0;
  line-height: 1;
}
.box-header > .fa,
.box-header > .glyphicon,
.box-header > .ion {
  margin-right: 5px;
}
.box-header > .box-tools {
  position: absolute;
  right: 10px;
  top: 5px;
}
.box-header > .box-tools [data-toggle="tooltip"] {
  position: relative;
}
.box-header > .box-tools.pull-right .dropdown-menu {
  right: 0;
  left: auto;
}
.box-header > .box-tools .dropdown-menu > li > a {
  color: #444!important;
}
.btn-box-tool {
  padding: 5px;
  font-size: 12px;
  background: transparent;
  color: #97a0b3;
}
.open .btn-box-tool,
.btn-box-tool:hover {
  color: #606c84;
}
.btn-box-tool.btn:active {
  box-shadow: none;
}
.box-body {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  padding: 10px;
  /* min-height:500px; */
}
.no-header .box-body {
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}
.box-body > .table {
  margin-bottom: 0;
}
.box-body .fc {
  margin-top: 5px;
}
.box-body .full-width-chart {
  margin: -19px;
}
.box-body.no-padding .full-width-chart {
  margin: -9px;
}
.box-body .box-pane {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 3px;
}
.box-body .box-pane-right {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 0;
}
.box-footer {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-top: 1px solid #f4f4f4;
  padding: 10px;
  background-color: #ffffff;
}

.btn{
    min-width:40px;
}



/*********************************** Custom DHTML (CSS for the DHTML frame, top bar and adjustment bar)************************************/
/*********************************** START ************************************/
.drag-handle {
   background-color: #F3F3F3 !important;
   background-image: none !important;
   color: #000 !important;
   cursor: move;
   font: bold 14px Arial;
   height: 50px;
   opacity: 1;
   overflow: hidden;
   padding: 15px !important;
   text-indent: 3px;
   width: auto;
   border-top-left-radius:5px;
   border-top-right-radius:5px;
}

.drag-handle .drag-controls {
   right: 20px !important;
   top: -1px !important;
}

.drag-controls img[src*="vista_min.gif"]{
   display:none;
}

.drag-controls img[src*="vista_min.gif"]:after{
   background-image: url("res/icon_16x.png");
   background-position: 0 -731px;
   margin-right:0;
}

.dhtmlwindow {
   border:0px !important;
   -webkit-box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.5);
   -moz-box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.5);
   box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.5);
}

.drag-contentarea{
   background-color: #FFFFFF !important;
   border-top-color:#c6c6c6 !important;
   padding:0px 1px 0px 1px !important;
}

.drag-statusarea {
   background-color: #FFFFFF !important;
   border-top: 0 none !important;
   border-bottom-right-radius:5px;
   border-bottom-left-radius:5px;
}

/*********************************** END *****************************************/

/************************************************** Loading **************************************************/
/* Loading Bars */
div.loading-wrapper {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99;
}

.loading-bar {
	background-color: rgb(0, 123, 255);
}

.loading-backdrop {
	background-color: #fff;
	height: 100%;
	opacity: 0.5;
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
}

.loading > .loading-msg {
	font-size: 20px;
	position: relative;
	z-index: 999;
}

.loading {
	margin: 10px auto;
	width: 300px;
	height: 100px;
	text-align: center;
	font-size: 10px;
}

.loading > .loading-bar {
	height: 100%;
	width: .5rem;
	display: inline-block;
	z-index: 1;

	-webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
	animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.loading > .loading-bar {
	margin-right: .2rem;
}

.loading > .loading-bar:last-child {
	margin-right: 0rem;
}

.loading .loading-bar:nth-child(2) {
	-webkit-animation-delay: -1.1s;
	animation-delay: -1.1s;
}

.loading .loading-bar:nth-child(3) {
	-webkit-animation-delay: -1.0s;
	animation-delay: -1.0s;
}

.loading .loading-bar:nth-child(4) {
	-webkit-animation-delay: -0.9s;
	animation-delay: -0.9s;
}

.loading .loading-bar:nth-child(5) {
	-webkit-animation-delay: -0.8s;
	animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {

	0%,
	40%,
	100% {
		-webkit-transform: scaleY(0.4)
	}

	20% {
		-webkit-transform: scaleY(1.0)
	}
}

@keyframes sk-stretchdelay {

	0%,
	40%,
	100% {
		transform: scaleY(0.4);
		-webkit-transform: scaleY(0.4);
	}

	20% {
		transform: scaleY(1.0);
		-webkit-transform: scaleY(1.0);
	}
}


/* listing table */
.table td{
	border-top: unset !important;
}
#tbl_responsive {
	border-collapse: separate;
	border-spacing: 0;
}
@media only screen and (min-width: 801px) {
	#tbl_responsive > thead > tr > th,
	#tbl_responsive > tbody > tr > td {
		border-right: 1px solid #CDCDCD !important;
		border-bottom: 1px solid #CDCDCD !important;
	}
	#tbl_responsive > thead > tr > th:first-child,
	#tbl_responsive > tbody > tr:not(.no_border_left) > td:first-child {
		border-left: 1px solid #CDCDCD !important;
	}
	#tbl_responsive > thead > tr:first-child > th {
		border-top: 1px solid #CDCDCD !important;
	}
}
#tbl_responsive > thead > tr:first-child > th:first-child {
	border-top-left-radius: 10px;
}
#tbl_responsive > thead > tr:first-child > th:last-child {
	border-top-right-radius: 10px;
}
#tbl_responsive > thead > tr > th, #tbl_responsive > thead > tr > th a {
	text-align: left;
	vertical-align: top !important;
	/* font-family: Roboto-Bold; */
	color: #454545;
	background: #E4E4FF;
	line-height: 20px;
}
#tbl_responsive > tbody > tr > td {
	color: #454545;
}
#tbl_responsive > tbody > tr > td > a, .hyperlink_color{
	color: #7968DB;
}
#tbl_responsive > thead > tr > th > a:hover, #tbl_responsive > tbody > tr > td > a:hover{
	text-decoration: underline;
}
#tbl_responsive > thead > tr > th > a img{
	float:right;
}
#tbl_responsive:not(.no_action) > tbody > tr:hover > td:not(:first-child) {
	/* text-decoration: underline;   */
	cursor:pointer;
}

@media only screen and (max-width: 800px) {
  
  /* Force table to not be like tables anymore */
  #tbl_responsive, 
  #tbl_responsive > thead, 
  #tbl_responsive > tbody, 
  #tbl_responsive > thead > th, 
  #tbl_responsive > tbody > tr, 
  #tbl_responsive > thead > th > td, 
  #tbl_responsive > tbody > tr > td { 
    display: block; 
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  #tbl_responsive > thead > tr { 
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  #tbl_responsive > tbody > tr { 
    border: 1px solid #CDCDCD; 
  }
    
  #tbl_responsive > tbody > tr:not(.no_border_left) { 
    margin-top: 1rem;
  }

  #tbl_responsive > tbody > tr > td { 
    /* Behave  like a "row" */
    border-bottom: 1px solid #CDCDCD !important;
    position: relative;
    padding-top: 2rem; 
    white-space: normal;
    text-align:left;
  }

  #tbl_responsive > tbody > tr > td:before { 
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 5px;
    width: 90%; 
    white-space: nowrap;
    text-align:left;
    font-weight: bold; 
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /*
  Label the data
  */
  #tbl_responsive > tbody > tr > td:before { content: attr(data-title); }

  #tbl_responsive > tbody > tr > td .action_icon { display: none; }
  #tbl_responsive > tbody > tr > td .action_icon_desc { display: inline; }

  #tbl_responsive > tbody > tr > td:not([colspan]):first-child {
    background: #E4E4FF;
  }

  #tbl_responsive > tbody > tr > td:last-child {
    border-bottom: unset !important;
  }
}

.modal-booking-title{
  margin-bottom: 0;
  line-height: 1.5;
}