/* ds_cloudmanager */
@import url("fonts-exo2.css");
@import url("fonts-front-to-back.css");
html,body{
	/* override of main */
	font-family: 'Exo 2' !important;
}

.app-theme-white .app-page-title { 
	box-shadow: 0 1px 8px 2px rgba(0, 0, 0, 0.05);
}

.app-footer .app-footer__inner{
	height: 59px;
}

.app-sidebar__heading {
	text-transform: unset !important;
}

.app-page-title {
	padding: 10px 20px !important;
	position: sticky;
	/*width: 100%;*/
	top: 60px;
	z-index: 1;
	background: rgba(255, 255, 255, 0.95) !important;
}

.vertical-nav-menu li.mm-active > a > i.metismenu-state-icon,.vertical-nav-menu li.mm-active > a > i.metismenu-icon {
	opacity: 1;
}

/*
table>tbody>tr.odd{
	background-color: #f5f5f5;
}
table>tbody>tr.even{
	background-color: #ffffff;
}
*/

.top_border_ignore_table th, .top_border_ignore_table td{
	border-top: 0px !important;
}

.border_ignore_table_header th{
	border-top: 0px !important;
	border-bottom: 0px !important;
}

.font-30{
    font-size: 30px;
}

.row-narrow{
	margin-right: 0px !important;
	margin-left: 0px !important;
}

table.dataTable td.reorder {
    text-align: left !important;
    cursor: move;
}

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

.color-light{
	color: #adb5bd;
}

.modal-fullscreen {
	position: fixed;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
	overflow: hidden;
}
.modal-fullscreen>.modal-dialog {
	position: fixed;
	margin: 0;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	padding: 0;
	max-width: 100% !important;
}
.modal-fullscreen>.modal-dialog>.modal-content {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border: 2px solid #3c7dcf;
	border-radius: 0;
	box-shadow: none;
  }
  
  .modal-fullscreen>.modal-dialog>.modal-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 50px;
	padding: 10px;
	background: #6598d9;
	border: 0;
  }
  
  .modal-fullscreen>.modal-dialog>.modal-title {
	font-weight: 300;
	font-size: 2em;
	color: #fff;
	line-height: 30px;
  }
  
  .modal-fullscreen>.modal-dialog>.modal-body {
	position: absolute;
	top: 50px;
	bottom: 60px;
	width: 100%;
	font-weight: 300;
	overflow: auto;
  }
  
  .modal-fullscreen>.modal-dialog>.modal-footer {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 60px;
	padding: 10px;
	background: #f1f3f5;
  }

.select2-container .select2-selection--single{
	height:40px;
}
.select2-container--default .select2-selection--single {
	border: 1px solid #ced4da;
	border-radius: .25rem;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
	line-height: 34px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
	height: 34px;
}

.select2_add_new{
	height: 42px;
	padding-top: -4px;
	margin-top: 8px;
}
.select2_add_new>span{
	padding: 6px 16px;
	border:solid 1px #aaa;
	border-radius: 8px;
	background-color: #eee;
	color: #333 !important;
}

.select2-container--default .select2-selection--multiple {
	border: 1px solid #ced4da;
}

.hide-disable{
    display:none;
}
.text-case-original{
	text-transform: none !important;
}

.card-header > .nav .nav-link {
	margin-bottom: -18px !important;
}
.card-header > .nav .nav-link.active {
	background: #f0f0f0;
	border-radius: 4px 4px 0px 0px;
	font-weight: bold;
}

option {
	-moz-appearance: none;
	font-family: Tahoma !important;
}
.left{
	text-align:left;
}
.acenter{
	text-align:center;
}
.aright{
	text-align:right;
}

.img-item{
	cursor: pointer;
	border: solid 1px #d5d5d5;
	margin: 2px;
	box-shadow: 2px 2px 2px #eee;
	border-radius: 2px;
}
.img-item .row{
	background: #d5d5d5;
}
.img-item h6{
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	padding: 4px 4px 0px 4px;
}
.img-item .button-layer {
    position: absolute;
    bottom: 3px;
    right: 1px;
	z-index: 10;
	display: none;
}
.img-item:hover .button-layer {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	/*width: 100%;*/
	justify-content: flex-end;
}
.img-single-box{
	border: solid 1px #d5d5d5;
	margin: 2px;
	box-shadow: 2px 2px 4px #ccc;
	border-radius: 2px;
}

.location-img-item{
	cursor: pointer;
	border: solid 1px #d5d5d5;
	margin: 2px;
	box-shadow: 2px 2px 2px #eee;
	border-radius: 2px;
}
.location-img-item .row{
	background: #d5d5d5;
}
.location-img-item h6{
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	padding: 4px 4px 0px 4px;
}
.location-img-item .button-layer {
    /*width: 30px;
    height: 30px;*/
    position: absolute;
    bottom: 3px;
    right: 1px;
    /*opacity: .6;*/
	z-index: 10;
	display: none;
}

.location-img-item:hover .button-layer {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	/*width: 100%;*/
	justify-content: flex-end;
}
.location-img-item-main .row{
	background: #afa;
}

.folder-img-item{
	cursor: pointer;
	border: solid 1px #d5d5d5;
	margin: 2px;
	box-shadow: 2px 2px 2px #eee;
	border-radius: 2px;
}
.folder-img-item .row{
	background: #d5d5d5;
}
.folder-img-item h6{
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	padding: 4px 4px 0px 4px;
}
.folder-img-item .button-layer {
    /*width: 30px;
    height: 30px;*/
    position: absolute;
    bottom: 3px;
    right: 1px;
    /*opacity: .6;*/
	z-index: 10;
	display: none;
}

.folder-img-item:hover .button-layer {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	/*width: 100%;*/
	justify-content: flex-end;
}

.design-wrapper{
	display: flex;
	/*height: calc(100% - 50px);*/
	height: calc(100vh - 200px);
	margin: -30px -30px 0 -30px;
}

.design-wrapper .design-component-wrapper{
	width:126px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	background: #f1f4f6;
	box-shadow: 0 1px 8px 2px rgba(0, 0, 0, 0.1);
	padding: 12px;
}
.design-wrapper .design-designer-main-wrapper{
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.design-wrapper .design-designer-wrapper{
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	flex-grow: 1;
	display: flex;
	height: 100%;
}
.design-wrapper .design-designer-wrapper .design-view-wrapper{
	overflow:hidden;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	flex-grow: 1;
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0 20px;
}
.design-wrapper .design-designer-wrapper .design-view-toolbar{
	text-align: center;
	margin: 10px;
}
.toolbar-button{
	font-size: 18px;
	color:#495057;
	display: inline-block;
	margin: 4px;
	width: 24px;
	height: 24px;
	text-align: center;
	cursor: pointer;
}
.toolbar-button[disabled='disabled']
{
  pointer-events: none;
  opacity: 0.3;
}
.toolbar-separator{
	display: inline-block;
	border-left: solid 1px #bbb;
}
.toolbar-zoom{
	font-size: 18px;
	color:#495057;
	display: inline-block;
	margin: 4px;
	width: 24px;
	height: 24px;
	text-align: center;
	cursor: pointer;
}
.design-wrapper .design-designer-wrapper .design-view-designer{
	width:100%;
	/*
	overflow:hidden;
	overflow-y:auto;
	*/
	overflow:auto;
	text-align: center;
}

.design-wrapper .design-designer-wrapper .design-properties-wrapper{
	width:360px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	background: #f1f4f6;
	box-shadow: 0 1px 8px 2px rgba(0, 0, 0, 0.1);
	padding: 16px;
	padding-left: 8px;
}

.component-button{
	font-size: 22px;
	color:#3f6ad8;
	border: solid 1px #3f6ad8;
	display: inline-block;
	margin: 4px;
	border-radius: 2px;
	width: 40px;
	height: 40px;
	text-align: center;
	cursor: pointer;
}
.component-button:hover{
	color:#8e5e9e;
	border: solid 1px #8e5e9e;
	background-color: #fff;
}

#tableExtraRooms{
	background-color: #fff;
	width: 100%;
  }
  #tableExtraRooms tr td{
	border-bottom: solid 1px #ccc;
	padding: 8px;
  }
  #tableExtraRooms tr.selected{
	background-color: #3f6ad8;
	color: #fff;
  }

.btn-sqr-first {
	width: 38px;
	height: 36px;
	border-radius: 0px !important;
	display: inline-block;
	border-color: #ccc;
}
.btn-sqr {
	width: 38px;
	height: 36px;
	border-top: 0px;
	border-radius: 0px !important;
	display: inline-block;
	border-color: #ccc;
}
.btn-sqr-empty{
	width: 38px;
	height: 36px;
	border: 0px;
	border-radius: 0px !important;
	display: inline-block;
}
.btn-sqr-empty-narrow{
	width: 2px;
	height: 36px;
	border: 0px;
	border-radius: 0px !important;
	display: inline-block;
}

.arrow-rotate{  
	transform: rotate(45deg); 
	-webkit-transform: rotate(45deg) 
}

.device-direction-group{
	display: inline-block;
}
[data-toggle="buttons"] > .btn input[type="radio"]{
	position: absolute;
	clip: rect(0,0,0,0);
	pointer-events: none;
}

.section_header{
	background: #6a3a8e;
	color: #fff;
	padding: 4px 16px;
	border-radius: 4px;
	margin: 0;
	margin-bottom: 4px;
}

.subsection_header{
	background: #aa81b9;
	color: #fff;
	padding: 4px 16px;
	border-radius: 4px;
	margin: 0;
	margin-bottom: 4px;
}

.form-group-separator{
	margin-bottom: 1rem;
}

.text-halign-left{
	display:-ms-flexbox;
	-ms-flex-pack:start;
	display:-moz-box;
	-moz-box-pack:start;
	display:-webkit-box;
	-webkit-box-pack:start;
	display:box;
	box-pack:start;
}
.text-halign-center{
	display:-ms-flexbox;
	-ms-flex-pack:center;
	display:-moz-box;
	-moz-box-pack:center;
	display:-webkit-box;
	-webkit-box-pack:center;
	display:box;
	box-pack:center;
}
.text-halign-right{
	display:-ms-flexbox;
	-ms-flex-pack:end;
	display:-moz-box;
	-moz-box-pack:end;
	display:-webkit-box;
	-webkit-box-pack:end;
	display:box;
	box-pack:end;
}
.text-halign-justify{
	display:-ms-flexbox;
	-ms-flex-pack:justify;
	display:-moz-box;
	-moz-box-pack:justify;
	display:-webkit-box;
	-webkit-box-pack:justify;
	display:box;
	box-pack:justify;
}
.text-valign-top{
	display:-ms-flexbox;
	-ms-flex-align:start;
	display:-moz-box;
	-moz-box-align:start;
	display:-webkit-box;
	-webkit-box-align:start;
	display:box;
	box-align:start;
}
.text-valign-middle{
	display:-ms-flexbox;
	-ms-flex-align:center;
	display:-moz-box;
	-moz-box-align:center;
	display:-webkit-box;
	-webkit-box-align:center;
	display:box;
	box-align:center;
}
.text-valign-bottom{
	display:-ms-flexbox;
	-ms-flex-align:end;
	display:-moz-box;
	-moz-box-align:end;
	display:-webkit-box;
	-webkit-box-align:end;
	display:box;
	box-align:end;
}

.warning-popup .modal-content{
	background-color: #ffd133 !important;
}

.warning-popup .modal-header
{
	border-bottom: 1px solid #777;
	background: #ffd133 !important;
}

.warning-popup .modal-footer
{
	border-top: 1px solid #ffd133;
	background: #ffd133 !important;
}

.table-topless th, .table td {
  border-top: none !important;
}


/* flash messages */
/*
.flash-message {
    position: fixed;
    top: 1px;
    right: 1px;
    padding: 15px 25px;
    border-radius: 4px;
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation: slideIn 0.5s, fadeOut 0.5s 2.5s forwards;
    z-index: 1000;
    margin-bottom: 10px;
	font-size: 1.5rem;
}

/* Different colors for different message types * /
.flash-message.success {
    background-color: #4CAF50;
}

.flash-message.error {
    background-color: #F44336;
}

.flash-message.warning {
    background-color: #FF9800;
}

.flash-message.info {
    background-color: #2196F3;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
	*/

.flash-message {
    position: fixed;
    top: 1px;
    right: 1px;
    padding: 15px 20px 15px 15px;
    border-radius: 2px;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.5s, fadeOut 0.5s 3.5s forwards;
    z-index: 1000;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    max-width: 600px;
    min-width: 300px;
}

.flash-message__icon {
    font-size: 2.0rem;
    margin-right: 15px;
    line-height: 1;
    padding-top: 2px; /* Adjust icon vertical alignment */
}

.flash-message__content {
	font-size: 1.2rem;
    flex: 1;
    white-space: pre-wrap; /* Preserve line breaks */
    word-wrap: break-word;
    line-height: 1.4;
}

/* Close button */
.flash-message__close {
    margin-left: 15px;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    line-height: 1;
    padding-top: 2px;
}

.flash-message__close:hover {
    opacity: 1;
}

/* Message type colors */
.flash-message.success {
    background-color: #4CAF50;
    border-left: 5px solid #2E7D32;
}

.flash-message.error {
    background-color: #F44336;
    border-left: 5px solid #C62828;
}

.flash-message.warning {
    background-color: #FF9800;
    border-left: 5px solid #F57C00;
}

.flash-message.info {
    background-color: #2196F3;
    border-left: 5px solid #1565C0;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.striped-container > .row:nth-child(odd) { background-color: #f8f9fa; }
.striped-container > .row:nth-child(even) { background-color: #e9ecef; }

.bg-green-bylogo{
	background-color: #79f2a2;
	color: #fff;
}

.bg-blue-bylogo{
	background-color: #5076f6;
	color: #f5f5f5;
}