
:root {
    --main-color: #f8782f;
    --main-color: #ca2c92;
    --main-color-rgba5: rgba(243,174,45,0.9); 
    --light-color: #f8f9fa;
    --lighter:#fbfbfb;
    --light-gray: #eee;
    --violet-color: #9954bb;
    --primary-dark :#2a588c;
    --danger-dark:#e00031;
    --details-row-color: #fbfaf6;
	--details-row-color-hover: #f5f3ed;
	--border-color: #ccc;

    --details-row-height: 50px;
    --header-height: 75px;
	--list-picture-size: 45px;
	--profile-picture-size: 130px;
    --main-container-height: 100%;
    --sidebar-expanded: 250px;
    --sidebar-expanded-mobile: 100%;
    --sidebar-collapsed: 250px;
    --sidebar-collapsed-mobile: 100%;
    --sidebar-text-color : #4a4a4a;
    --muted-color: #888;
	--text-color: #303030;
	--bold-color: #222;
    --footer-height: 30px;
}

@keyframes blink {
    0%{opacity: 0;}
    50%{opacity: .5;}
    100%{opacity: 1;}
    50%{ opacity:.5}
}

a:hover {
    text-decoration: none;
    cursor: pointer;
    color: var(--main-color);
}

a {
    color: #777;
    transition: color 200ms linear;
}

header a {
    color: white;
}

p a {
    color: var(--main-color) !important;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    max-width: 10px;
    background-color: #f5f5f5;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    border-radius: 3px;
    -webkit-box-shadow: inset 0 0 6px var(--main-color);
    background-color: var(--main-color);
}
/* ------------------------------
 *  RESETS
 *  ------------------------------*/ 
form {
	margin-block-end: 0;
}

ul {
	padding-inline-start: 0;
	margin-inline-start:0;
}



/* ------------------------------
 *   UTILS 
 *  ------------------------------*/ 

h3, h4 {
    font-weight: 600;
}


.v-100 {
    height: 100vh;

}

.card-floating {
    border-radius: 10px;
}

.card-floating .card-header {
    border-radius: 10px 10px 0 0;
}


.v-75 {
    height: 75vh;
}

.loading-box {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.w-95 {
    width: 95% !important;
}
.w-30{
	width: 30%;
}
.w-35{
	width: 35%;
}
.w-40{
	width: 40%;
}
.w-45{
	width: 45%;
}
.w-60{
	width: 60%;
}
.w-65{
	width: 65%;
}


.flex {
    display: flex;
}

.space-between {
    justify-content: space-between;
}

.space-evenly {
    justify-content: space-evenly;
}

.center-vertical {
    align-items : center;
}

.flex-right {
    justify-content: flex-end;
}

.flex-center {
    align-content: center;
}

.flex-end {
    align-items : flex-end;
}

.self-right { 
    justify-self: flex-right;
}

.menu-container {
    width: min-content;
}

.menu-container .dropdown-menu {
    left: -83%;
    border-radius: 5px;
    font-size: 10pt;
    margin-top: 10px;
    -webkit-box-shadow: -1px 2px 19px -11px rgba(0,0,0,0.64);
    -moz-box-shadow: -1px 2px 19px -11px rgba(0,0,0,0.64);
    box-shadow: -1px 2px 19px -11px rgba(0,0,0,0.64);
}

.collapsable-row:hover {
    cursor: pointer;
}

.marker {
    font-size: 0.8em;
    color: var(--main-color);
    transform : rotate(0deg);
    transition: transform 200ms ease-out;
}

.collapsable-row[aria-expanded="true"] * .marker {
     transform: rotate(90deg);
}

.title {
    font-weight: bold;
    text-transform: uppercase;
    color: #999;
    font-weight: 0.7rem;
}

.vertical-top-separator  {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
	height: 50px;
}
.vertical-separator  {
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.title-label {
    color: #b6a994;
    font-size: 0.7rem;
}

.title-label:first-child { 
    margin-left: none;
}

input.input-block {
    display: block;
    width: 100%!important;
}

#div-active-items,
#div-select-items {
	max-height: 200px;
	overflow:auto;
}


.tabs ul{
	margin-left: 0;	
	list-style: none;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	border-bottom: 1px solid var(--border-color);
}

.tabs li.tab-item {
	display: flex;
	justify-content: center;
	align-items: center;
	border-bottom: none;
	margin-bottom: -1px;
	padding: 10px 20px;
	color: var(--border-color);
}

.tabs li.tab-item .fas{
	margin-right: 5px;
}

.tabs li.tab-item:hover{
	color: var(--main-color);

}
.tabs li.tab-item.active,
.tabs li.tab-item.active:hover {

	cursor:pointer;
	color: var(--muted-color);
	border: 1px solid var(--border-color);
	border-bottom: 2px solid white;
	border-top : 4px solid var(--main-color);
}

.tabs-container {
	padding: 20px;
	padding-left: 40px;
}

.data-row{
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
}

.data-row-cell{
	padding: 5px 10px;
}

.loading-tabs{
	display: flex;
	width: 100%;
	min-height: 400px;
	justify-content: center;
	align-items: center;
	margin: auto;
	padding: 10px 30px;
	font-size: 1.5rem;
	font-weight: light;
	color: skyblue;
	border-radius: 5px;
}

.shadow-md{
	-webkit-box-shadow: -1px 0px 2px -1px rgba(0,0,0,0.4);
	-moz-box-shadow: -1px 0px 2px -1px rgba(0,0,0,0.4);
	box-shadow: -1px 0px 2px -1px rgba(0,0,0,0.4);
}

.hide{
	display: none !important;
}


.border-bt {
	border-bottom : 3px solid var(--main-color);
	background-color: #f7f7f7;
	color: #333;
}
.border-bt:hover {
	background-color: #f7f7f7;
}

/********* Color Headings  *********/

.panel-heading-orange, .panel-heading {
	background: var(--main-color);
	padding: 5px 10px;
	font-size: 1.1rem;
	font-weight: 600;
}

.div-head-list { 
	width: 100%;

	font-size: 0.8rem;
}
.div-row-list { 
	width: 100%;
	display: grid;
	grid-template-columns: 10% 38% 9.2% 22.8% 20% ;
}

.div-list-member-offer { 
	width: 100%;
	display: grid;
	grid-template-columns: 30% 10% 10% 15% 10% 15% 10%;
}


.div-head-list {
	padding: 5px 10px;
	font-weight: 600;
    text-transform: uppercase;
	border-bottom: 2px solid #c0c0c0;
}



.div-head-list .item, .div-row-list .item,.div-head-list2 .item, .div-row-list2 .item, .div-head-view .item, .div-row-view .item {
	display: inline-block;
/*	width: 100%;*/
	padding: 5px 10px;
}

div.cell-list {
    display: inline-block;
    width: 100%;
    padding: 5px 10px;
}

th.head-list {
    padding: 0px 5px;
	font-size: 0.8rem;
	font-weight: 600;
    text-transform: uppercase;
	border-bottom: 2px solid #c0c0c0;
}

td.row-list {
	font-size: 0.8rem;
}

.scrolling-wrapper {
	overflow-x: auto !important;
	white-space: nowrap !important;
/*	max-height: 400px;*/
}

.item-scroll {
	display: inline-block !important;
}

.panel-list {
	border: 1px solid #dee2e6;
}
.div-row-list {
	color: #373a3e;
}

.text-ellipsis {text-overflow:ellipsis; overflow:hidden;}
.text-nowrap {text-overflow:ellipsis; overflow:hidden; font-size:0.8em;}

.div-row-list:hover,.div-row-list2:hover, .div-row-list-offers:hover {
	background: #f8f9fa;
	font-weight: 600;
	border-top: 1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
}

.div-row-list:hover,.div-row-list2:hover, .div-row-list-offers:hover, .div-row-list-costs:hover {
	background: #f8f9fa;
	font-weight: 600;
	border-top: 1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
}

.div-row-list-gral {
	line-height: 50px !important;
	background: #fff !important;
	color: #373a3e;
	font-size: 0.8rem;
	border-top: 1px solid #dee2e6;
}
.div-row-list-gral:hover {
	background: #ececec !important;
}

.div-head-view, .div-row-view { 
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 2fr 3fr 3fr 2fr 2fr 2fr 2fr 2fr 1fr ;
	font-size: 0.8rem;
}

.div-row-list.purchase, .div-head-list.purchase { grid-template-columns: 2fr 4fr 2fr 1.5fr 1.5fr ;}

.div-head-view {
	padding: 5px 10px;
	font-weight: 600;
    text-transform: uppercase;
	border-bottom: 2px solid #c0c0c0;
}
.div-row-view {
	color: #373a3e;

}
/****/
.div-head-list-costs, .div-row-list-costs {
	width: 100%;
	display: grid;
	grid-template-columns: 2fr 2fr 1fr 3fr 1fr 1fr;
	font-size: 0.8rem;
}
.div-head-list-costs, .div-head-list-members, .div-head-list-costs-member {
	font-weight: 600;
    text-transform: uppercase;
	border-bottom: 2px solid #c0c0c0;
	padding: 5px 10px;
}

.div-head-list-costs-member, .div-row-list-costs-member {
	width: 100%;
	display: grid;
	grid-template-columns: 3fr 1fr 2fr 1fr 1fr 1fr;
	font-size: 0.8rem;
}

.div-head-list-members, .div-row-list-members{
	width: 100%;
	display: grid;
	grid-template-columns: 1.5fr 1.5fr 1fr 1fr 2.5fr 1fr 1.5fr 1.5fr;
	font-size: 0.8rem;
}

.div-row-list-costs {
	color: #373a3e;
	border-top: 1px solid #dee2e6;
    padding: 5px 10px;
}
.div-head-list-costs .item, .div-row-list-costs .item {
	display: inline-block;
	width: 100%;
}

.div-row-list:nth-child(odd), .div-row-list-costs:nth-child(odd), tr.tr-list:nth-child(odd) {
	background-color: var(--light-color);
}

tr.tr-list:nth-child(even)  {
	background-color: red !important;
}

.div-row-list-costs:nth-child(odd), .div-row-list-costs:nth-child(even) {
	padding-top: 10px;
}


.div-head-list-offers, .div-row-list-offers, .div-row-list-offers-no-staff, .div-head-list-offers-no-staff {
	width: 100%;
	display: grid;
	grid-template-columns: 4fr 1fr 1fr 1fr 1fr 1.5fr;
	font-size: 0.8rem;
}

.div-row-list-offers-no-staff, .div-head-list-offers-no-staff {
	grid-template-columns: 3fr 2fr 1fr 1fr 1fr 1fr 1fr 1fr 2fr;
}

/*
.div-head-list-offers, .div-head-list-offers-no-staff {
	font-weight: 600;
    text-transform: uppercase;
	border-bottom: 2px solid #c0c0c0;
	padding: 5px 10px;
}

.div-row-list-offers, .div-row-list-offers-no-staff {
	color: #373a3e;
	border-top: 1px solid #dee2e6;
    padding: 5px 10px;
}
.div-head-list-offers .item, .div-row-list-offers .item, .div-head-list-offers-no-staff .item, .div-row-list-offers-no-staff .item {
	display: inline-block;
	width: 100%;
}
*/

.div-head-list-products, .div-row-list-products {
	width: 100%;
	display: grid;
	grid-template-columns: 7fr 1fr 1fr 1fr;
	font-size: 0.8rem;
}

.div-head-list-products {
	font-weight: 600;
    text-transform: uppercase;
	border-bottom: 2px solid #c0c0c0;
	padding: 5px 10px;
}


.div-head-list-managers, .div-row-list-managers {
	width: 100%;
	display: grid;
	grid-template-columns: 15% 20% 20% 15% 10% 10% 10%;
	font-size: 0.8rem;
}

.div-head-list-managers {
	font-weight: 600;
    text-transform: uppercase;
	border-bottom: 2px solid #c0c0c0;
	padding: 5px 10px;
}

.div-head-list-categories, .div-row-list-categories {
	width: 100%;
	display: grid;
	grid-template-columns: 75% 15% 10%;
	font-size: 0.8rem;
}

.div-head-list-categories {
	font-weight: 600;
    text-transform: uppercase;
	border-bottom: 2px solid #c0c0c0;
	padding: 5px 10px;
}

.div-row-list:nth-child(odd), .div-row-list-offers:nth-child(odd), tr.tr-list:nth-child(odd) {
	background-color: var(--light-color);
}

tr.tr-list:nth-child(even)  {
	background-color: red !important;
}

/*
.div-row-list-offers:nth-child(odd), .div-row-list-offers:nth-child(even) {
	padding-top: 10px;
}
*/
.edit-tool {
	display: inline-block !important;
	width: 40%;
}

.remove-tool {
	display: inline-block !important;
	width: 55%;
}



.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.05);
	}
/*-------------------------------
* SIDEBAR DROPDOWNS
*--------------------------------*/
#sidebar .sidebar-dropdown-container{
	flex-direction: column;

}

.menu-item .sidebar-dropdown-container{
	padding: 0;
	padding-left: 10px;
}

#sidebar .sidebar-dropdown-btn{
	width: 100%;
	position:relative;
}
#sidebar .sidebar-dropdown-btn::after{

	display: none;
	position: absolute;
	right: 1.5em;
	top: 0;
	content: '\2770';
	transform: rotate(-90deg);
	opacity:0;
	color: var(--muted-color);
	width:0;
	transition: opacity 200ms linear, width 100ms linear;
}

#sidebar.expanded .sidebar-dropdown-btn::after{
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 1;
	height: 100%;
	width: content;
}

#sidebar .sidebar-dropdown {
	height:0;
	overflow: hidden;
	display: none;
	transition: height;
	margin-top: 10px;
}

#sidebar .menu-item .sidebar-dropdown {
	border-left: 5px solid var(--main-color);
}

#sidebar .menu-item:hover .sidebar-dropdown {

	background-color: var(--light);
}


#sidebar .sidebar-dropdown.expanded {
	width: 100%;
	display: flex;
	flex-direction:column;
	height: max-content;
}

#sidebar .sidebar-dropdown.expanded {
	height: max-content;
}


/* ------------------------------
 *  magic forms
 *  ------------------------------*/
mg-input,
mg-select,
mg-textarea,
mg-multiselect,
mg-editor,
mg-select-auto
{
    position: relative;
}


mg-input-content,
mg-input span {
    font-size: normal;
}

mg-multiselect,
mg-tree-multiselect{
	padding-bottom: 10px;
	min-height: max-content;
}
mg-multiselect .mg-multiselect-input,
mg-tree-multiselect .mg-multiselect-input

{
	max-height: 100%;
	min-height: 250px;
	overflow: hidden;
	background-color: var(--light);
	padding: 5px;
}

mg-multiselect .mg-search-container,
mg-tree-multiselect .mg-search-container

{

	display: flex;
	width: 100%;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	margin-bottom: 10px;

}

mg-multiselect .mg-multiselect-buttons
mg-tree-multiselect .mg-multiselect-buttons

{
    display: flex;
	flex-direction: column;
    justify-content: stretch;
    align-items: flex-start;
    max-width: 99%;
	max-height: 300px;
	height: 100%;
	overflow-y: auto;
	overflow-x:hidden;
    transition : color 200ms linear, border-color 200ms linear;
}

mg-multiselect i,
mg-tree-multiselect i
{
	margin-right: 3px;
}

mg-multiselect .mg-option-btn,
mg-tree-multiselect .mg-option-btn,
mg-tree-multiselect .mg-category-btn{
    display: flex;
	width: 98%;
    padding: 5px 10px;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid var(--border-color);
	background-color: white;
    margin: 0.2rem;
    border-radius: 5px;
	transition: color 100ms ease-in, background-color 200ms ease-in;
}

mg-tree-multiselect .mg-option-btn:not([data-parent="none"]){ font-size:smaller; }


mg-tree-multiselect .mg-category-btn
{
	justify-content: space-between;
	background-color: var(--light-gray);
	
}


mg-multiselect .mg-option-btn:hover,
mg-tree-multiselect .mg-option-btn:hover,
mg-tree-multiselect .mg-category-btn:hover
{
	background-color: var(--success);
	color: white;
	cursor: pointer;
}

mg-multiselect .mg-option-btn.selected,
mg-tree-multiselect .mg-option-btn.selected{
	display: none;
}

mg-tree-multiselect .mg-option-back{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: max-content;
	padding: 5px 10px;
	color: var(--main-color);
	border-radius: 5px;
	margin-bottom: 5px;
}

mg-tree-multiselect .mg-option-back:hover{
	background-color: var(--border-color);
	border-radius : 5px;
}

mg-multiselect .mg-selected-elements,
mg-tree-multiselect .mg-selected-elements{
	display: flex;
	max-width: 100%;
	width: 100%;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	margin-bottom: 10px;
	background-color: var(--details-row-color);
	padding-bottom: 5px;
	border-bottom: 1px solid var(--light);
	
}


mg-multiselect .selected-tag,
mg-tree-multiselect .selected-tag{

	display: flex;
	justify-content: flex-start;
	align-items: center;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	padding: 5px 10px;
	margin-right: 2px;
	background-color: white;
	transition: background-color 300ms linear;
	
}

mg-multiselect .selected-tag:hover,
mg-tree-multiselect .selected-tag:hover{
	cursor: pointer;
	background-color: var(--dark);
	color:white;
}


/* mg-multiselect .ma-btns-container { */
/*     display: flex; */
/*     flex-wrap: wrap; */
/*     justify-content: flex-start; */
/*     align-items: stretch; */
/*     max-width: 100%; */
/*     transition : color 200ms linear, border-color 200ms linear; */
/* } */

/* mg-multiselect .mg-option-btn { */
/*     display: flex; */
/*     padding: 5px 10px; */
/*     justify-content: flex-start; */
/*     align-items: center; */
/*     border: 1px solid var(--border-color); */
/*     margin: 0.2rem; */
/*     border-radius: 5px; */
/* } */

/* mg-multiselect .mg-option-btn.selected i, */
/* mg-multiselect .mg-option-btn.selected { */
/*     color: var(--success); */
/* } */

mg-multiselect .mg-input-content,
mg-tree-multiselect .mg-input-content {
    opacity:0;
    width: 100%;
    transition: opacity 200ms linear;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

/* mg-multiselect .mg-option-btn:hover { */
/*     cursor: pointer; */
/*     background-color: #fafafa; */
/* } */

/* mg-multiselect .mg-option-btn i { */
/*     margin-right: 1rem; */
/*     color: var(--border-color); */
/* } */

mg-multiselect .mg-selected-badge:before,
mg-tree-multiselect .mg-selected-badge:before{
    font-family: "font awesome 5 free";
    content : "\f00a";
    font-size: .6rem;
    font-weight: 900;
    margin-right: 10px;
    color: var(--main-color);
    background-color: white;
}

mg-multiselect .mg-selected-badge,
mg-tree-multiselect .mg-selected-badge{
    width: 100%;
    color: var(--sidebar-text-color);
    padding: 10px;
    margin-right: 0.5rem;
    border-radius: 6px;
}

mg-input span.mg-date-content {
    margin-right: 1em;
}

mg-input span.mg-time-content {
    font-size: 0.9rem;
    font-weight: lighter;
}

.categories-panel {
    display: flex;
}
mg-select-auto{
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

mg-select-auto .autocomplete{
	width: 100%;
	display: block;
	position:relative;

}

mg-select-auto .autocomplete input[type="text"]{
	display: block;
	width: 100%;
}


mg-select-auto .autocomplete .chev-down{
	position: absolute;
	top: 10px;
	left: 94%;
	font-size: 1rem;

}

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 90%;
  left: 2%;
  right: 2%;
  max-height: 400px;
  overflow-y: auto;
  
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: var(--main-color) !important; 
  color: #ffffff; 
}

/*----------------------------------
 *  btn tools 
 * ---------------------------------------*/

.tools {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    padding-right: 10px;
    margin-top: -0.5em;
}

.tools.space-between{
	justify-content: space-between;

}

.tools.tools-center{
	align-items: stretch;
	justify-content: center;
	margin-top: 0;
}

.tools .tools-title{
	display: flex;
	width: max-content;
	word-wrap: break-word;
	font-size: 1em;
	font-weight: lighter;

}

.btn-tools {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    color: #777; 
    font-size: 1rem;
    font-weight: 700;
    transition : color 200ms linear;
    border-radius: 50%;
}


.btn-tools:last-child { 
    border-right: none;
}

.btn-tools.btn-labeled {
    width: max-content;
    font-size: small;
    border-radius: 5px;
}

.btn-tools.btn-labeled i {
    margin-right: 5px;
}

.btn-tools.btn-labeled a {
    color: #1c273c;
}

.btn-tools:hover {
    cursor: pointer;
    color: var(--main-color);
    background-color: #eaeaea;
}

.btn-tools.current {
    cursor: pointer;
    color: var(--main-color);
    background-color: #eaeaea;
}

.tools-no-shadow .btn-tools:hover {
    background-color: transparent;
}

.btn-tools.tools-success:hover {
    cursor: pointer;
    color: var(--success);
}

.btn-tools.tools-danger:hover {
    cursor: pointer;
    color: var(--danger);
}

.btn-tools-sm {
    width: 15px;
    height: 15px;
}

.btn-labeled.btn-tools-sm {
    width : max-content;
    font-size: x-small;
}

.btn-stroke {
    position:relative;
}

.btn-stroke svg, 
.btn-stroke svg rect {
    position:absolute;
    top:0;
    left:0;
    width: 40px;
    height: 40px;
    fill: transparent;
}

.btn-stroke svg rect {
    stroke : var(--main-color);
    stroke-width: 3;
    transition: stroke-dashoffset 600ms linear;
    transition-delay: 0;
    stroke-dasharray: 480;
    stroke-dashoffset: 480;
}

.btn-stroke:hover svg rect {
    stroke-dashoffset: 0;
}

.btn-stroke.tools-success svg rect {
    stroke : var(--success);
}

.btn-info {
	background-color: var(--main-color) !important;
	border:1px solid #ccc !important;
}

/* ------------------------------
 * loader 
 *  ------------------------------*/ 

.loader {
    color: var(--main-color);
    animation-duration: 1s;
    font-size: 1rem;
    margin-right: 1rem;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blink {
    animation : blink 1s ease-in-out infinite;
    animation-direction : alternate-reverse;
}

/* ------------------------------
 *  general layout elements
 *  ------------------------------*/ 

body {
    font-family: 'montserrat', sans-serif;
    padding-top: var(--header-height);
    font-size: 10pt!important;
    max-height: 99vh;
    height: calc(99vh - var(--header-height));
    overflow: hidden;
}

body.no-login{
    padding-top: calc(var(--header-height) * 0.5);
    max-height: none;
    height: auto;
    overflow-y: visible;
}



#main-layout-container {
    height : calc(99vh - var(--header-height));
    overflow-y: hidden;
}

#debug-box-alert {
    display: none;
    position:absolute;;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    bottom:0; 
    right:0;
    height: 50px;
    width: 100%;
    padding: 5px 5px;
    box-sizing: border-box;
    color : white;
    background-color: indianred;
    margin-right: 5px;
}


.info-box{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	margin: auto;
	margin-top: 1rem;
	padding: 25px 10px;
	background-color: lightskyblue;
	border-color: skyblue;
	border-radius: 5px;
	color: white;
	font-weight: bold;

}

.info-box > i.fas{
	font-size: 2rem;
	margin-right: 10px;

}

.container-fluid {
    padding-bottom: 4rem;
}

/* ------------------------------
 *  generic lists
 *  ------------------------------*/ 

.list-view-details-grid {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.list-view-details-row .tools
{
    position:absolute;
    top:5px;
    right:0;    
    display: none;
    height: var(--details-row-height);
    background-color:  white;
    padding:0;
	width: max-content;
	box-sizing: border-box;
    padding-left: 20px;
    padding-right:20px;
    -webkit-box-shadow: -9px -2px 5px -2px rgba(0,0,0,0.03);
    -moz-box-shadow: -9px -2px 5px -2px rgba(0,0,0,0.03);
    box-shadow: -9px -2px 5px -2px rgba(0,0,0,0.03);
    transition: top 200ms ease-out, background-color 200ms ease-in; 
}

.list-view-details-row:hover
{
	background-color: var(--details-row-color-hover);
}

.list-view-details-row:hover .tools,
.list-view-details-row .tools:hover
{
    display: flex;
    justify-content: center;
    align-items: center;

}
.list-view-details-row > mg-form[editable="true"]{
    background-color: white;
    border-bottom: 1px solid var(--border-color)
}


.list-view-details-row > mg-form[editable="true"]+.tools{
    top: calc(var(--details-row-height) - 2px);
    background-color:white;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-top: none;
    z-index: 400;
    -webkit-box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.16);
    -moz-box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.16);
    box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.16);
    
}

.list-view-details-row.header-row,
.list-view-details-row {
    position: relative;
    display: block; 
    height: var(--details-row-height);
    
    width: 100%;
        color: #694f20;
        font-size: 10px !important;
}

.list-view-details-row a {
        font-size: 13px !important;
}

.list-view-details-row {
	display: flex;
	align-items: stretch;
    background-color: var(--details-row-color);
    border-bottom: 2px solid #fff;
}

.list-view-details-row.header-row {
	display:flex;
	align-items: stretch;
    /*background-color: #101326; */
/*/    background-color: #f0f0f0; */
/*    padding: 5px;*/
}

.list-view-details-row.header-row .title-label {
    display: flex;
    align-items: center;
    font-size: .9rem;
    font-weight: bolder;
/*    color: #333;*/
    color: #fff;
    padding-left: 18px;
}

.mg-form-div {
    width: 33%;
    padding-left: 25px;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 3.3rem;
}

mg-input[itype="hidden"]{
	display: none;
}

/* .list-view-details-row.data-row { */
/*  grid-auto-rows: 45px; */
/* } */
.grid-form{
    display: block;
    width: 100%;
    height: var(--details-row-height);
}
.list-view-details-row.header-row .header-labels,
.grid-form .mg-grid-form-div{
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
}


.grid-form .mg-grid-form-div > *{
    display: block;
}


.list-view-details-row.data-row  mg-input,
.list-view-details-row.data-row  mg-select,
.list-view-details-row.data-row .row-tools {
    display: flex;
    align-items:center;
    justify-content: flex-start;
    height: var(--details-row-height);
    width: 100%;
    min-width: min-content;
    padding-left: 20px;
}
/*
span.vigneta {
    display: flex;
    justify-content: flex-start;
    min-width: min-content;
    align-items: center;
    padding-top: 10px;
    padding-left: 10px;
}
*/
/*
span.num {
    color: #d79a28 !important;
    display: flex;
    justify-content: flex-start;
    min-width: min-content;
    align-items: center;
    width: 20px;
    font-weight: 900;
}
*/

.list-view-details-row.data-row  .mg-input-content {
    color: var(--text-color);
    font-size: small !important;
}

.list-view-details-row.data-row .row-tools {
    justify-content: flex-end;
    padding-right: 10px;
}


.badge {
    /*padding: 0.25em 0.6em;*/
    font-size: 92%;
    font-weight: 700;
    /*line-height: 5; */
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

.badge-secondary {
    color: #fff;
    background-color: var(--main-color);
}

/* ------------------------------
 *  main-header 
 *  ------------------------------*/ 

#main-header {
    display: flex;
    box-sizing: border-box;
    position:fixed;
    top:0;
    left:0;
    width: 100%;
    height : var(--header-height);
    align-items: center;
    z-index: 450;
    -webkit-box-shadow: 0px 6px 8px -2px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 6px 8px -2px rgba(0,0,0,0.15);
    box-shadow: 0px 6px 8px -2px rgba(0,0,0,0.15);
}

.list-box {
    -webkit-box-shadow: 0px 6px 8px -2px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 6px 8px -2px rgba(0,0,0,0.15);
    box-shadow: 0px 6px 8px -2px rgba(0,0,0,0.15);
}

#main-navbar {
    display: flex;
    justify-content : flex-start;
    align-items : center;
    width: 100%;
    padding-top: 0;
    background:#333;
}

.menu-btn {
    position:relative;
    top: 5px;
    left: -15px;
    display: inline-block;
    width: 100px;
    height:100px;
    font-size: 15pt;
    padding: 18px;
    background-color: transparent;
  /*  color : var(--text-color); */
    color : white;
    transition: color 200ms, background-color 200ms
}

.menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--main-color);
    cursor: pointer;
}

.navbar-section {
    display: flex;
    align-items: center;
    justify-items: flex-start;
    height: 100%;
    min-height: 100%;
}

.navbar-section span {
    display: inline-block;
    width: min-content;
    /* que no salte la linea; */
    white-space: nowrap;

    height: min-content;
}

.navbar-section:nth-child(1) {
    width: 20%;
}
.navbar-section:nth-child(3) {
    align-items: right;
    justify-content: flex-end;
    width: 50%;
}

.navbar-section:nth-child(2) {
    width: 30%;
    box-sizing: content-box;
    justify-content: center;
    align-items: center;
    padding-top: 35px;
}

.navbar-section:nth-child(3) {
    justify-content: flex-end;
}

.navbar-section:nth-child(1) {
    padding-top: 5px;
}

.navbar-brand  img {
    object-fit: cover;
    max-width: 100px;
    max-height: 45px;
    margin-left: 5px;
    width:200px;
}

#search_field {
    display: inline-block;
    width: 350px;
}

.share-search {
    margin: 15px 0px 20px 0px;
}

.share-search input {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #f3ae2d;
    background-color: #f8f9fa;
    padding-left: 15px;
    width: 100%;
}

td.shared-users {
    font-size: 0.9rem;
    padding: 10px 0px 10px 0px;
}

h4.shared {
    border-top: 1px solid #dfdfdf;
    padding-top: 10px;
}
.border-0 {
    border: none;
}

/* ------------------------------
 *  main
 *  ------------------------------*/ 

#main-content {
    display: flex;
    flex-direction: row;
    height: 100vh;
    max-height: 100vh;
    align-items: stretch;
    overflow-y: hidden;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--footer-height);
}

/* ------------------------------
 *  sidebar  
 *  ------------------------------*/ 

#sidebar {
    width: 50px;
    max-width: var(--sidebar-collapsed);
    padding: 10px 0px 10px 0px;
    min-height: 100%;
    overflow: hidden;
    z-index: 400;
    -webkit-transition: width 200ms linear;
    -moz-transition: width 200ms linear;
    -o-transition: width 200ms linear;
    transition: width 200ms linear;
}

#sidebar.expanded {
    width : var(--sidebar-expanded);
}

.menu-item {
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.menu-item a{
  padding: 10px 25px 10px 15px;
  }

.side-link {
  display: flex;
  justify-content: flex-start;
  align-items:center;

}

.side-link:hover {
    text-decoration: none;
	color: #000;
}

.item-icon {
    display: inline-block;
    width: 1.5em;
}

.side-link .item-text {
  padding-left: 15px;
  transition: color 100ms linear;
  display: none;
}

#sidebar.expanded * .item-text {
	display: flex;
}

/*
.side-link .item-icon {
}
*/

.menu-item.active {
    background-color: var(--main-color);
}

.menu-item:hover {
    border-bottom: 1px solid var(--main-color);
}
.menu-item.active .side-link .item-icon,
.menu-item.active .side-link .item-text {
	color: white ;
}
/******************
.menu-item:hover .side-link .item-text,
.menu-item:hover .side-link .item-icon {
	color: #000;
}

***************/
.menu-item:hover,
.menu-item:hover {
	color: #000;
}


/* .fade { */
/*   -webkit-animation-name: fade; */
/*   -webkit-animation-duration: 1.5s; */
/*   animation-name: fade; */
/*   animation-duration: 1.5s; */
/* } */

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* ------------------------------
 *  COLLAPSABLE TABLE
 *  ------------------------------*/ 

/* .header-6 { */
/*   display: block; */
/*   font-weight: 400; */
/* } */

/* .table thead th { */
/*   border-top: 0; */
/*   border-color: #f6414a; */
/* } */
/* .table tbody th, */
/* .table tbody td { */
/*   border-top-color: rgba(0,0,0,0.05); */
/*   font-size: 9pt; */
/* } */
/* .table th:not(:first-child), .table td:not(:first-child) { */
/*   text-align: right; */
/* } */

/* @media (max-width: 767px) { */
/*   .table-responsive { */
/*     margin: 15px 0; */
/*     border: solid 1px rgba(0,0,0,0.05); */
/*   } */
/*   .table-responsive .table { */
/*     min-width: 700px; */
/*   } */
/* } */
/* .table-collapse .collapse-control { */
/*   cursor: pointer; */
/*   -webkit-transition: 0.2s; */
/*   transition: 0.2s; */
/* } */
/* .table-collapse .collapse-control:not(.collapsed)/*, .table-collapse .collapse-control:hover *1/{ */
/*   background-color: rgba(0,0,0,0.05); */
/* } */
/* .table-collapse .collapse-control:not(.collapsed) td, .table-collapse .collapse-control:hover td { */
/*   border-top-color: #fff; */
/* } */
/* .table-collapse .collapse-control td:first-child { */
/*   position: relative; */
/*   padding-left: 2.25em; */
/* } */
/* .table-collapse .collapse-control td:first-child::before { */
/*   content: '-'; */
/*   position: absolute; */
/*   left: 0.75em; */
/*   -webkit-transition: 0.35s; */
/*   transition: 0.35s; */
/* } */
/* .table-collapse .collapse-control.collapsed td:first-child::before { */
/*   content : '+' */
/*      /1* -webkit-transform: rotateX(180deg); *1/ */
/*   /1*         transform: rotateX(180deg); *1/ */
/* } */
/* .table-collapse .collapse-td { */
/*   padding-top: 0; */
/*   padding-bottom: 0; */
/*   border-top: 0; */
/*   background-color: rgba(0,0,0, 0.05); */
/* } */


/* ------------------------------
 *  PILLBO-PANEL 
 *  ------------------------------*/ 
.pillbox-table-header,
.pillbox-table-row {
    display: grid;
    grid-template-columns : 2fr 1fr 1fr 1fr 1fr 1fr;
}

.pillbox-table-header  {
    font-weight: bold;
    font-size: 0.8em;
    text-transform: uppercase;
    color: #777;
    padding: 5px;
    border-bottom: 1px solid #999;
}

.pillbox-table-row {
    padding: 5px;
    font-size: small;
}

.pillbox-row-patient {
    width:90%;
    margin: auto;
    margin-top: 1rem;
    padding-bottom: 10px;
}

.pillbox-row-patient .header,
.pillbox-row-patient .content {
    display: grid;
    grid-template-columns : 2fr 1fr 1fr 1fr 3fr;
    background-color: white;
    padding: 5px;
}

.pillbox-row-patient .header {
    font-size: x-small;
    text-transform: uppercase;
    font-weight: bold;
    color: #999;
    border-bottom: 1px solid #aaa;
}

.pillbox-row-patient .content {
    font-size: small;
    font-family: sans;
    color: #777;
}

/* ------------------------------
 *  PILLBOX DELIVER FORM
 *  ------------------------------*/ 

/* .pillbox-deliver-form-head {} */


.pillbox-deliver-form-head .title,
.pillbox-deliver-form-head .content {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}

.deliver-form-head-values .content.code {
    display:flex;
    align-items: center;
}
    
.deliver-form-head-titles,
.deliver-form-head-values { 
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    width: 100%;
}

.deliver-form-head-values {
    padding: 10px 0;
}

.deliver-form-head-titles {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.pillbox-deliver-form-meds .detail {
    display: none;
}

.pillbox-deliver-form-meds.detailed .detail {
    display: block
}

.pillbox-deliver-form-meds .header,
.pillbox-deliver-form-meds .content-row {
    width: 98%;
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    margin: auto;
    margin-top: 1em;
    padding: 5px 2px;
}

.pillbox-deliver-form-meds .header {
    border-bottom: 1px solid silver;
}

.pillbox-deliver-form-meds .content-row .field:first-child {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.pillbox-deliver-form-meds .content-row:nth-child(even) {
    background-color: var(--light);
}

/* ------------------------------
 *  SPECIFICS 
 *  ------------------------------*/
#content-section {
    flex-basis:99.5%;
    height: 99vh;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 15px;
    padding-bottom: 4rem;
    overflow-y: scroll;
}

sh-ajaxload {
    display: block;
    min-width: 100%;
}

.card-container {
    width: 19.5% !important;
    margin:none;
}


/* CIMA - NEWS */
.cima_news_row  {
     padding-top:10px;
     width: 95%;
     margin: auto;
     overflow:hidden;
     word-wrap: break-word;
     border-bottom: 1px dotted silver;
     padding-bottom: 10px;
 }

.cima_news_row p {
     margin:0;
     padding:0;
 }

.cima_news_subject .title {
     /* font-size: 1.2em!important; */
     /* font-family: sans!important; */
     /* font-weight: bolder!important; */
     /* color: var(--theme-color)!important; */
     /* word-wrap: break-word; */
     /* overflow:hidden; */

    text-transform: uppercase;
    word-wrap: break-word;
    font-weight: bold;
    font-size: 0.9rem;
    overflow: hidden;    
    margin-bottom: 40px;
}

.tab_container {
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.tab_container section {
    clear: both;
    display:none;
}

.tab-content {
    padding-top:10px;
}
 
.tab_btn {
    font-weight: 700;
    font-size: medium;
    display: inline-block;
    width: 48%;
    padding: 5px;
    color: #757575;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.tab_btn.active {
    padding: 5px;
    background: #fff;
    color: #999;
    border-bottom: 2px solid #f0f0f0;
}

.tab_container .tab-content {
    -webkit-animation: fadeInScale 0.7s ease-in-out;
    -moz-animation: fadeInScale 0.7s ease-in-out;
    animation: fadeInScale 0.7s ease-in-out;
}

.tab_btn:hover {
    text-decoration:none;
}

.tab_btn.active:first-of-type {
    color: #0CE;
    box-shadow: inset 0 -3px 0  #0CE;
}

.tab_btn.active:last-of-type {
    color: #c40000;
    box-shadow: inset 0 -3px 0  #c40000
}

.tab_container [id^="tab"]:checked + label .fa {
    color: #0CE;
}

.tab_container label .fa {
    font-size: 1.3em;
    margin: 0 0.4em 0 0;
}

/* ------------------------------
 *  DASHBOARD
 *  ------------------------------*/ 

.panel-cima {
    width: 49%;
}

.panel-news {
    width: 49%;
}

.table thead th {
    border:none;
}

/* ------------------------------
 *  DASHBOARD
 *  ------------------------------*/ 


td.td-box-title {
    background:white;
}

h4.box-title {
    color: #333;
    text-transform:none;
    font-size: 1.1rem;
    font-weight: 600;
}
.graphic-left, .graphic-right, .table-events {
    border:1px solid #dfdfdf;
    background: #fff;
    border-radius:5px;
    text-align: center;
}

.graphic-left .box-title, .graphic-right .box-title {
    text-align: left;
}

.graphic-left img {
    width: 100%;
    height: 150px;
}

.table-events thead {
    background-color:#eff0f5;
    border:none;
    color:#899098;
    font-weight:normal;
    font-size:0.8rem;
    text-transform:capitalize;
}

.table-events td {
    font-size:0.9rem;
}

.indicator-boxes {
    display:flex;
    /*vertical-align:top;*/
    background:#eff0f5;
    padding:0;
}

.graphic-left, .table-responsive, .stat-box, .table-events {
    border-radius: 5px;
    padding: 0;
/*  border: 0px solid transparent;*/
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.stat-box {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    padding: 15px;
    margin-bottom: 25px;
}

.stat-box .stat-box-body {
    float: left;
    width: 100%;
}

.stat-widget-five {
    min-height: 60px;
}

.stat-icon.flat-color-1 { color: #00c292; }
.stat-icon.flat-color-2 { color: #f3ae2d; }
.stat-icon.flat-color-3 { color: #fb9678; }
.stat-icon.flat-color-4 { color: #03a9f3; }

.stat-icon.flat-color-1, .stat-icon.flat-color-2, .stat-icon.flat-color-3, .stat-icon.flat-color-4 {
    font-size: 2rem !important;
    display:inline-block;
    width: 30%;
    font-size: 2rem;
    text-align: center;
    vertical-align: top;
} 

.stat-content {
    display:inline-block;
    width: 60%;
    margin-left:2%;
}

.stat-text {
    font-size: 1.5rem;
}

.stat-heading {
    font-size: 0.8rem;
}


/****************************************/


.dashboard-news-container {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}

.news-frontpage-container {
    padding-top: 5px;
}

.news-list-item {
    width: 90%;
    margin:auto;;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    background-color: var(--light-color);
    padding-bottom: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    height: 100px;
}

.news-list-image {
    width: 20%;
    overflow:hidden;
    margin-right: 20px;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-data {
    color: var(--gray);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    width: 100%;
}

.news-list-data .title{
    text-transform: uppercase;
    font-size: medium;
    font-weight: bold;
}

.news-list-data .publish-info
{
    display: flex;
    justify-content: space-between;
}

.news-list-data .tools{
    padding-top: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
}

.news-details-container{
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: 98%;
    margin: auto;
    margin-top: 1em;
    height: 100%;
}

.news-details-container .left-col{
    width: 20%;
    padding-right: 10px;
    border-right: 1px solid silver;
    margin-right: 1em;
}

.news-image-container{
    width: 100%;
    overflow: hidden;
    max-height: 200px;
    height: 200px;
}

.news-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.news-details-container .news-data
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 2rem;

}

.news-data .author, 
.news-data .date{
    font-size: 1.1em;   
}


.news-content{
    color: var(--gray);
    font-size: 1.1em;
    
}



/* ------------------------------
 *  MODAL
 *  ------------------------------*/ 
/* .full-screen-modal */
/* { */
/*  display: grid; */
/*  grid-template-rows: 60px auto; */
/*     position:absolute; */
/*     top:0; */
/*     left: 0; */
/*     right: 0; */
/*     bottom: 0; */
/*     min-height: 100%; */
/*     background-color: rgba(255,255,255); */
/*     z-index: 1000; */
/*  animation-duration: 300ms; */
/* } */


/* .full-screen-modal > .header */
/* { */
/*     min-height: 60px; */
/*     padding: 10px; */
    
/*     border-bottom: 2px solid var(--main-color); */
/*     display: flex; */
/*     justify-content: space-between; */
/*     align-items: center; */

/* } */

/* .full-screen-modal > .header > .title{ */
/*  font-size: 1.1rem; */
/*  text-transform : uppercase; */
/* } */

/* .full-screen-modal > .content */
/* { */
/*     overflow-y: auto; */
/*  overflow-x: hidden; */
/* } */

/* .modal-close  .btn-tool */
/* { */
/*     font-size: 2rem; */

/* } */

/* ------------------------------
 *  Managers - list 
 *  ------------------------------*/ 
.managers-list{
	padding-bottom: 6em;
	display: flex;
	flex-direction: column;
	justify-content: stretch;
	align-items: center;
	width: 100%;
	min-height: 85vh;

}

.manager-item{
	display: flex;
	width: 100%;
	margin-bottom: 1px;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
	border: 1px solid white;
	background-color: var(--details-row-color);
	min-height: 70px;
	

}

.manager-item-left{
	min-width: 70px;
	background-color: var(--main-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	
}

.manager-item.inactive .manager-item-left{
	background-color: var(--border-color);
}

.manager-item.inactive img{
	filter : grayscale(.6);
}



.manager-item-photo
{
	width: var(--list-picture-size);
	height: var(--list-picture-size);
	min-width: var(--list-picture-size);
	min-height: var(--list-picture-size);
	border : 2px solid white;

	border-radius: 30px;
	overflow:hidden;
	-webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);

}

.manager-item-photo img{
	max-width: var(--list-picture-size);
	max-height: var(--list-picture-size);
	min-width: var(--list-picture-size);
	min-height: var(--list-picture-size);

	object-fit: cover;
}

/* .manager-item-right{ */
/* 	display: grid; */
/* 	grid-template-columns : 80% 20%; */
/* 	width: 94%; */

/* } */
/* .manager-item-datas{ */
/* 	width: 100%; */
/* 	display: grid; */
/* 	grid-template-columns: repeat(auto-fill, minmax(25%, 220px)); */
/* 	grid-auto-rows: 1fr; */
/* 	padding: 10px; */
/* 	padding-left: 20px; */

/* } */
.managers-list .badge{
	font-size: 0.7rem;
	padding: 5px 10px;
	border-radius: 4px;
}
.managers-list .manager-grid-header
{
	background-color: var(--light-gray);
	font-weight: bolder;

}

.managers-list .manager-grid-header,
.managers-list .manager-item
{
	width: 100%;
	display: grid;
	grid-template-columns : 8% repeat(2, 4fr) repeat(3, 1fr) repeat(2, 3fr);
	grid-auto-rows: 1fr;
	padding: 5px;
}
.manager-grid-header .title-label,
.manager-item-cell{
	display: flex;
	align-items: center;
	justify-content: left;
	padding-top: .5rem;
	color: var(--text-color);
	word-break: break-word;

}

.manager-item-tools{
	
	display: flex;
	justify-content: flex-end;
	align-items: center;
	

}

.managers-list .manager-item:hover{
	cursor:pointer;
	background-color: var(--details-row-color-hover);
}


/* ------------------------------
 *  ADMIN-MANAGER-PROFILE
 *  ------------------------------*/ 
.manager-card 
{
	position: relative;
	display: flex;
	border: 1px solid var(--border-color);
	width: 100%;
	padding: 0;
	margin:0;
}

.manager-form-container
{
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	width: 100%;
}

.manager-profile-left{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 15%;
	min-width: calc(var(--profile-picture-size) + 6px);
	background-color: var(--main-color);
}

.manager-profile-left > .img{

	position:relative;
	width: var(--profile-picture-size);
	height: var(--profile-picture-size);
	min-width: var(--profile-picture-size);
	min-height: var(--pofile-picture-size);
	border : 2px solid white;
	border-radius: calc(var(--profile-picture-size) / 2);
	overflow:hidden;
	-webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);

}

.manager-profile-img{
	max-width: 100%;
	min-width: 100%;
	min-height: 100%;
	max-width: 100%;
	object-fit: fill;
	
}

.manager-profile-center
{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	width: 84.9%;
	min-width: 400px;
	padding: 10px;
}

.manager-data-body{
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	width: 100%;
}

.manager-data{
	width: 75%;
	padding-top: 10px;
}

.manager-data-title{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	border-bottom: 1px solid var(--border-color);
}

.manager-data .manager-contact{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	
}

.manager-data .manager-contact > div{
	width: 32%;
}

.manager-data .content{
	font-size: 1rem;
	font-weight: light;
}

.manager-data .label{
	display: block;
	width:100%;
	font-size: 0.8em;
	text-transform : uppercase;
	color: black;
	font-weight: bolder;
}

.manager-statics{
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: 24.9%;
}

.manager-statics-grid{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: 1fr;
	grid-gap: 2px;
}

.manager-statics-grid  .manager-st-cell
{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: #f0f0f0;
	padding: 5px;
	box-sizing: border-box;
	color: #8f8f8f;
}
.manager-statics-grid  .manager-st-cell .label
{
	font-size: .8rem;
	text-transform: uppercase;
}

.manager-statics-grid  .manager-st-cell .fas{
	font-size: .8rem;
}

.manager-statics-grid  .manager-st-cell .amount{
	font-size: 1.3rem;
	font-weight: bold;
	
}

.manager-statics-grid .complains
{
	background-color: var(--danger);
	color: white;
}


/* ------------------------------
 *  EVENTS LIST 
 *  ------------------------------*/ 
.manager-events-list{
	display: flex;
	flex-direction: column;
	justify-content: stretch;
	align-items: flex-start;
	width: 100%;
}

.manager-event-list-item{
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	width: 100%;
	height: 20%;
	border: 1px solid var(--border-color);
	margin-bottom: 5px;
}


.manager-event-image{
	display: flex;
	justify-content: stretch;
	align-items:stretch;
	width: 15%;
	max-width: 200px;
	overflow: hidden;
}

.manager-event-image .event-image {
	min-width: 100%;
	max-width: 100%;
	object-fit: cover;
}

.manager-event-data{
	padding: 5px 20px;
	width: 84%;

}


.manager-event-data .data-row-cell{
	width: max-content;
	margin-right: 2rem;
}

.manager-event-data .event-title{
	font-weight: bolder;
	
}

.manager-event-data-rows{
	font-size: 1rem;
	color: var(--muted-color);

}

.manager-event-data-rows .metrics .data-row-cell{
	background-color : var(--light-gray);
	border-radius: 2px;
	font-size: 0.9rem;
	margin-right: 1.1em;;
}

.manager-event-data-rows .metrics .data-row-cell.event-complains{
	background-color: var(--danger);
	color: white;
}


/* ------------------------------
 *  CREDITS - HISTORY
 *  ------------------------------*/ 
.balance-grid-header,
.balance-grid-row{
	display: grid;
	grid-template-columns: 1fr 2fr 4fr 2fr;
	grid-auto-rows: 1fr;
}


.balance-grid-header{
	background-color: #f0f0f0;
	padding: 5px;
}
.balance-grid-header .title-label{
	font-weight: bolder;
	color: black;
	font-size: 1.1rem;
	text-decoration: uppercase;
}

.balance-grid-row{
	padding: 10px;
}
.balance-grid-row:hover{
	border: 1px solid var(--border-color);
}

.balance-grid-row:nth-child(2n){
	background-color: #f5f5f5;
}

.balance-row-cell{
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.balance-row-cell.balance-row-icon {
	justify-content: center;
	font-size: 1.4rem;
	color: var(--border-color);
}

.balance-row-cell.balance-row-amount{
	font-weight: lighter;
	font-size: 1.4em;
	color: var(--success);

}

.balance-form-container{
	display: none;
	flex-direction:column;
	justify-content: space-between;
	border: 1px solid var(--border-color);
	padding: 20px 20px;
	transition: height 400ms linear;


}

.balance-form-container.show{
	display: flex;
}

.balance-form-container .confirm-balance{

	display: none;
	opacity: 0;
	transition: opacity 1000ms linear;
}

.balance-form-container .confirm-balance.show{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	opacity:1;
	font-size: 1rem;

}

.balance-form-container .alert{
	display: flex;
	flex-direction:column;
	justify-content: center;
	align-items:center;
}

/* ------------------------------
 *  SINGLE EVENT
 *  ------------------------------*/ 

/********** search **************/
.search-box {
    border:1px solid #dfddfd;
    border-radius: 3px;
    -webkit-box-shadow: 7px 12px 47px -16px rgba(0,0,0,0.75);
    -moz-box-shadow: 7px 12px 47px -16px rgba(0,0,0,0.75);
    box-shadow: 7px 12px 47px -16px rgba(0,0,0,0.75);
    margin-bottom: 35px;
}


.div-ev-search {
    padding-top: 0px !important;
}

/********** end search **************/

.event-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    padding-bottom: 100px;
}   
.head-event-single {
    width: 100%;
}

.event-single-content {
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 5px;
    height: 100%;
}

.ev-img  {
    height: 250px;
    width: 100%;
}
.ev-img img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ev-cat {
    color: #f3ae2d;
    margin-top: 15px;
    font-size: 0.8rem; 
}

.ev-title {
    font-size: 1.3rem; 
    color: #111;
    line-height: 18px;
    margin-top: 15px;
}
.ev-date {
    color: #f3ae2d;
    margin-top: 15px;
    font-size: 0.7rem; 
}

.ev-address {
    font-size: 0.8rem; 
    margin-top: 15px;
}
.ev-hour {
    font-size: 0.7rem; 
    margin-top: 5px;
}


/*----------------------------------
 *  PROFILE FULL_SCREEN
 *  ------------------------------*/ 
.profile-card-container{
    width: 90%;
    margin: auto;
}

.upgrade-btn {
    width:250px;
    margin:auto;
}

.popup-warning {
    margin-top:10px;
    color:#c18617;
    border:1px solid #f3ae2d;
}

.profile-box{
    display: flex;
    flex-wrap : wrap;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    border : 1px solid #eee;
    /* -webkit-box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.2); */
    /* -moz-box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.2); */
    /* box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.2); */

}

.profile-box-left {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgb(254,207,120);
    background: radial-gradient(circle, rgba(254,207,120,1) 7%, rgba(243,174,45,1) 95%);
    width: 30%;
    border-right: 1px solid #eee;
    color: white;
}

.profile-box-right {
    background-color: rgba(255, 255, 255, 0.9);
    width: 60%;
    padding: 40px 20px;
}

.profile-box-left .div-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
    padding-right: 10px;
}

.profile-box-left .div-photo img {
    border-radius: 50%;
    border: 1px solid var(--border-color);
    width: 200px;
    height: 200px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    padding: 2px;
    background-color: white;
}

mg-form[editable="false"] .btn-container {
    display: none;
}

mg-form .file-field-btn .text {
    display: none;
}

mg-form .file-field-container {
    position:relative;
}

mg-form .file-field-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.1rem;
    width: 50px;
    height: 50px;
    position : absolute;
    bottom: 5px;
    right:20px;
    font-weight: bolder;
}

.file-field-container .btn {
	border-radius: 50%;
	height: 25px !important;
	width: 25px !important;
	text-align: center;
	padding: 0px;
	padding-top: 5px;
	margin-top: -25px;
}

mg-form[editable="true"] .btn-container {
    display: inline-block;
}

.profile-box-right .contact-info div:not(.social-networks) {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    margin-bottom: 4px;
}

.my_credits {
    background: #f4efe0;
}

.contact-info span.mg-input-default * {
    font-size: 0.9rem!important;
}

.profile-box-right div.social-networks {
    margin-top: 40px;
    display: grid;
    grid-template-columns : repeat(4, 1fr);
    align-items: center;
    justify-content: center
}
.profile-box-right div.social-networks .social-btn i {
    font-size: 1.5rem!important;
    color: var(--main-color);
}

.profile-box-right div.social-networks .social-btn:hover {
    color : var(--main-color);
}

.profile-box-right label {
    text-transform : uppercase;
    font-weight: bolder;
    word-wrap: break-word;
    font-size: 0.7rem;
    padding-top: 10px;
    color: var(--main-color);
    
}

.profile-box-right .name .mg-input-content span {
    font-size: 1.5rem;
    font-weight: bolder;
    color: black;
    text-transform: uppercase;
}

.profile-box-right .address span {
    font-size: 1.0rem;
    font-weight: lighter;
}

/* ------------------------------
 *  PROFILE_SIDE
 * ------------------------------*/ 

.profile-side-screen {
    display : flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: stretch;
    height: 100%;
    overflow-y: auto;
}

.profile-side-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;

}

.profile-side-box-left {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgb(254,207,120);
    background: radial-gradient(circle, rgba(254,207,120,1) 7%, rgba(243,174,45,1) 95%);
    width: 100%;
    border-right: 1px solid #eee;
    color: white;
}

.profile-side-box-right {
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    /* margin-left: 3%; */
    padding: 40px 20px;
}

.profile-side-box-left .div-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
    padding-right: 10px;
}

.profile-side-box-left .div-photo img {
    border-radius: 50%;
    border: 1px solid var(--border-color);
    width: 200px;
    height: 200px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.4);
    padding: 2px;
    background-color: white;
}

mg-form[editable="false"] .btn-container {
    display: none;
}

mg-form[editable="true"] .btn-container {
    display: inline-block;
}

.profile-side-box-right .contact-info div:not(.social-networks) {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    margin-bottom: 4px;
}

.contact-info span.mg-input-default * {
    font-size: 0.9rem!important;
}

.profile-side-box-right div.social-networks {
    margin-top: 40px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.profile-side-box-right div.social-networks .social-btn {
    font-size: 1.5rem;
    color: var(--main-color);
}

.profile-side-box-right div.social-networks .social-btn:hover {
    color : var(--main-color);
}

.profile-side-box-right label {
    text-transform : uppercase;
    font-weight: bolder;
    word-wrap: break-word;
    font-size: 0.7rem;
    padding-top: 10px;
    color: var(--main-color);
}

.profile-side-box-right .name .mg-input-content span {
    font-size: 1.5rem;
    font-weight: bolder;
    color: black;
    text-transform: uppercase;
}

.profile-side-box-right .address span {
    font-size: 1.0rem;
    font-weight: lighter;
}

.contact-info {
    opacity: 1;
    transition: opacity 100ms linear;
}

.contact-info.hide {
    opacity: 0;
    height: 0!important;
    display: none!important;
    background-color: red;
}

.access-form-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity 100ms linear;
    opacity: 1;
    width: 90%;
    margin: auto;
}

.access-form-container mg-input {
    margin-top: 1em;
}

.access-form-container label {
    color : var(--main-color);
    font-size: 8pt;
    font-weight: 600;
    text-transform: uppercase;
}

.access-form-container .password-btn-container {
    height: 4em;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
}

.access-form-container.hide { 
    opacity: 0;
    height: 0;
    display: none;
}


/* ------------------------------
 *  SIDE-MODAL
 *  ------------------------------*/
.side-screen-modal {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: var(--header-height);
    right: 0;
    background-color: white;
    border-left: 1px solid silver;
    min-height: 100%;
    height: 100%;
    overflow-y:auto;
    width: 30%;
    transition : width 200ms linear, right 200ms linear;
    z-index:500;
    padding-bottom: 5em;
}

.side-screen-content { 
    display: flex;
    flex-direction:column;
    justify-content: space-between;
    min-height: 95%;
}

.side-screen-modal.collapsed {
    right: -30%;
    width: 0;
}

td.big-popup {
    font-size: 1.5rem;
}

td.big-popup, td.popup {
    padding-top: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #dee2e6;
}

h5.modal-title {
    text-align: center;
    width:100%;
    line-height: 50px;
    color: #ffffff;
    font-size: 2.5rem;
}

.modal-header {
    background-color:  var(--main-color);
    color: #000;
    height: 80px;
}

.modal-body {
    line-height: 30px;
}

.modal-content {
    border:1px solid  var(--main-color);
    border-radius:5px
}

.modal-footer {
    border: none;
}

button.btn.btn-buy, a.btn.btn-buy {
    font-weight: 600;
    color: white;
    background: #e8a62c;
}

button.btn.btn-buy:hover, a.btn.btn-buy:hover {
    background:#f3ae2d;
}

button.btn.btn-buy-level-bronze {
    background: #AD8A56;
    color: #ffffff;
}
button.btn.btn-buy-level-silver {
    background: #D7D7D7;
    color: #333;
}
button.btn.btn-buy-level-gold {
    background: #C9B037;
    color: #ffffff;
}

button.btn.btn-buy-level-bronze, button.btn.btn-buy-level-silver, button.btn.btn-buy-level-gold {
    font-weight: 600;
    opacity:0.8;
}

button.btn.btn-buy-level-bronze:hover, button.btn.btn-buy-level-silver:hover, button.btn.btn-buy-level-gold:hover {
    opacity:1;
}

/* ------------------------------
 *  RESPONSIVE 
 *  ------------------------------*/ 

/* @media only screen and (min-width: 1920px) */
/* { */
/* 	.profile-card-container { */
/* 		width: 32%; */
/* 		min-width: 400px; */
/* 	} */
/* 	.event-single { */
/* 		min-width: 400px; */
/* 		width: 32%; */
/* 	} */
/* } */
@media only screen and (min-width: 1920px)
{
    .profile-card-container {
        width: 70%;
        margin: auto;
    }
	.event-single {
		min-width: 400px;
		width: 48%;
	}

	
}


@media only screen and (min-width: 1024) and (max-width: 1910px)
{
	.event-single {
		min-width: 400px;
		width: 50%;
	}

	.event-form-screen#event-form-screen {
		width: 90%;
	        margin: auto;
    }

}

@media only screen and (max-width: 1024px)
{
	.event-single {
		min-width: 400px;
		width: 48%;
	}

	.ev-title {
		font-size: 1rem;
	}
	
	.manager-name {
		font-size: 0.9rem;
	}
    
	.ml-md {
        margin-right: -10px!important;
    }

    .side-screen-modal {
        width: 100%;
    }
	
  	.event-form-screen {
        width: 95%;
        margin: auto;
    }

    .profile-card-container {
        width: 90%;
        margin: auto;
    }

    .event-single {
        min-width: 400px;
        width: 48%;
/*      max-width: 48%;*/
    }
}


@media only screen and (max-width: 770px)
{
    .event-container .content {
        display : inline-block !important;
        width: 100%;
    }
    .content-left {
        width: 100% !important;
    }
    .content-right {
        width: 100% !important;
    }
    .event-single {
        width: 100%;
        margin-top:0px;
    }
    
    .list-view-details-row.data-row  .mg-input-content {
        color: var(--text-color);
        font-size: small!important;
    }

    mg-input span,  mg-select span {
        font-size: small!important;
    }

    .event-form-screen {
        width: 90%;
        margin: auto;
    }

    .event-container .front {
        flex-direction: column;
        justify-content: stretch;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .event-container .div-photos {
        width: 100%;
    }
    .event-container .header-container {
        width: 100%;
        padding-top: 1rem;
    }

    .profile-card-container {
        width: 100%;
        margin: auto;
    }

    .profile-card-container .profile-box-left {
        width: 100%;
    }

    .profile-card-container .profile-box-righ t{
        width: 100%;
    }

    #sidebar {
        /*width: 50px;*/
        width: 0px;
        max-width: var(--sidebar-collapsed-mobile);
    }

    #sidebar.expanded {
        width : 100%;
        position: absolute;
    }

	.hide-mv{
		display: none!important;
	}
	.managers-list .manager-grid-header,
	.managers-list .manager-item
	{
		width: 100%;
		display: grid;
		grid-template-columns : 2fr 4fr 1fr 1fr 2fr;
		grid-auto-rows: 1fr;
		padding: 5px;
	}

	/* ------------------------------
	 *  MANAGER 
	 *  ------------------------------*/ 
	.manager-card{
		flex-direction: column;
		
	}
	.manager-card .manager-profile-left{
		width: 100%;
		min-height: 15%;
	}
	.manager-card .manager-data-body{
		flex-direction : column;
		width: 100%;
	}
	.manager-card .manager-data, 
	.manager-card .manager-statics{
		width: 100%;
		padding-top: 20px;
	}

	.manager-card .manager-profile-center{
		width: 100%;
	}

	.manager-data .manager-contact{
		flex-direction: column;
		justify-content: flex-start;
		align-items:stretch;
		margin-top: 20px;
	}
	
	.manager-data .manager-contact div{
		margin-top: 10px;
	}

	.manager-card .manager-statics-grid{
		width: 100%;
	}

	.manager-details .tab-item{
		width: 24%;
	}

	.manager-event-list-item {
		flex-direction: column;
		max-height: none;
		height: none;
		padding-bottom: 5px;
		margin-top: 1rem;
		-webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.3);
    	-moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.3);
    	box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.3);
	}

	.manager-event-data .data-row:not(.metrics){
		flex-direction: column;
		width: 100%;
		max-width: 100%;
	}

	.manager-event-data .data-row-cell{
		width: 100%;
		max-width: 100%;
	}

	.manager-event-image{
		width: 100%;
		max-height: 10%;
		max-width: 100%;
		overflow:hidden;
	}

	.manager-event-image img
	{
		width: 100%;
		height: 100%;
	}

	.manager-event-data .data-row.metrics
	{
		justify-content: space-evenly;
		align-items: center;
		margin-top: 2rem;;
	}

	.balance-grid-header,
	.balance-grid-row{
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 1fr;
	}

	.tabs-container{
		padding: 0;
	}

}

/*@media only screen and (max-width: 1024px) ,*/
/*@media only screen and (max-width: 770px), */
@media only screen and (max-width: 655px)
{
	.div-row-list, 	.div-row-list-offers {
		width: 100%;
		display: inline;
	}
}

@media only screen and (max-width: 550px)
{
    .event-container .content {
        display : inline-block !important;
        width: 100%;
    }
    .content-left {
        width: 100% !important;
    }
    .content-right {
        width: 100% !important;
    }

    .event-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: stretch;
        padding-bottom: 100px;
    }   

    .event-single {
        margin-left: 5px;
        display:inline-block;
        vertical-align: top;
    }

    .ev-img  {
        width: 80% !important;
    }

	.hide-mv{
		display: none;
	}
	.div-row-list, 	.div-row-list-offers {
		width: 100%;
		display: inline;
	}

}


@media only screen and (max-width: 480px)
{

	.dropdown.menu-container {
    		left: 0%;
	}
	.navbar-section:nth-child(2) {
		width: 35%;
	}

	.dropdown-item {
		padding-left: 0.8rem !important;
	}

	.event-header.header-title {
		margin-top: 0px !important;
		margin-left: -10px !important;
		width: 107% !important;
	}
	.event-title {
		font-size: 1rem;
	}

	.stat-box {
		margin-top: 5px !important;
		margin-bottom:0px !important;
	}

	.table-events th {
		text-transform:capitalize;
	}
	.table-events th, td {
		font-size: 11px !important;
	}
	.table-events td {
		padding: 5px;
	}
	.table-events td.avatar img {
		width: 50%;
	}
	.div-row-list, 	.div-row-list-offers {
		width: 100%;
		display: inline;
	}

	.div-row-list-offers:nth-child(odd), .div-row-list-offers:nth-child(even) {
		line-height: 20px;
	}

}





/* ------------------------------
 *   TOOLTIPS 
 *  ------------------------------*/ 

.mg-tooltip {
    position: relative!important;
}
.mg-tooltip__item {
    position: absolute;
    min-width: 100px;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    background: white;
    transition: all 0.25s cubic-bezier(0, 0, 0.2, 1);
    color: #484848;
    border: 1px solid #cecece;
    border-radius: 3px;
    font-weight: 500;
    box-shadow: 0 2px 1px #bcbcbc;
    z-index: 4;
}
.mg-tooltip__item:after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}
.mg-tooltip__initiator {
    cursor: pointer;
    z-index: 500;
    
}
.mg-tooltip[data-direction="left"] .mg-tooltip__initiator:hover ~ .mg-tooltip__item {
     transform: translate3d(0, -50%, 0);
    visibility: visible;
    opacity: 1;
}
.mg-tooltip[data-direction="left"] .mg-tooltip__item {
    top: 50%;
    right: calc(100% + 1em);
    transform: translate3d(15px, -50%, 0);
}
.mg-tooltip[data-direction="left"] .mg-tooltip__item:after {
    top: 50%;
    right: -0.5em;
    transform: translate3d(0, -50%, 0);
    border-width: 0.5em 0 0.5em 0.5em;
    border-color: transparent transparent transparent white;
    -webkit-filter: drop-shadow(1px 2px 1px #bcbcbc);
    filter: drop-shadow(1px 2px 1px #bcbcbc);
}
.mg-tooltip[data-direction="bottom"] .mg-tooltip__initiator:hover ~ .mg-tooltip__item {
    transform: translate3d(-50%, 0, 0);
    visibility: visible;
    opacity: 1;
}
.mg-tooltip[data-direction="bottom"] .mg-tooltip__item {
    top: calc(100% + 1em);
    left: 50%;
    transform: translate3d(-50%, -15px, 0);
}
.mg-tooltip[data-direction="bottom"] .mg-tooltip__item:after {
    top: -0.5em;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    border-width: 0 0.5em 0.5em 0.5em;
    border-color: transparent transparent white transparent;
    -webkit-filter: drop-shadow(1px 2px 1px #bcbcbc);
    filter: drop-shadow(1px -1px 1px #bcbcbc);
}


template {
    display: none;
}


#div-row-current,
.mg-grid-form-div.current {
    border:1px solid #b6a993;
    font-weight:600;
    font-size:24px !important;
    background-color: #f7d99f !important;
}


.navbar .right-menu {
	color: var(--main-color);
	display: flex;
	margin-left: 0%;
}

.navbar .right-menu a {
    display: inline-block;
    padding: 0.5rem 0.5rem;
}   

button.btn.btn-light.btn-sm.dropdown-toggle {
	width: 100% !important;
	margin-right: 0px;
}

.product-card {
	width: 100%;
	display: grid;
	grid-template-columns: 60% 40%;
    font-size: 0.9rem;
	padding-bottom: 15em !important;
}

.title-o {
    font-weight: bold;
    text-transform: uppercase;
    color: var(--main-color);
    font-weight: 1rem;
}

.product-card .column-left, .product-card .column-right {  
	display: flex;  
	-webkit-box-shadow: -1px 2px 19px -11px rgba(0,0,0,0.64);
    -moz-box-shadow: -1px 2px 19px -11px rgba(0,0,0,0.64);
    box-shadow: -1px 2px 19px -11px rgba(0,0,0,0.64);
}
.product-card .column-right {  
	margin-left: 35px;
}

.product-img {
	object-fit: cover;
    width: 70px;
    height: 50px;
}


.row-lending {font-size:0.9rem;}
.table-list {font-size:0.8rem;}

@media only screen and (max-width: 1024px) { 
    body { font-size:8pt !important;} 

    .div-head-list-offers, .div-row-list-offers {
        grid-template-columns: 2fr 4fr 3fr 1.5fr 2fr 1.5fr 2fr;
        font-size: 0.8rem;
    }
    .btn {padding: 0.375rem 0.375rem}
}

input[type="checkbox"] {height:100%;}

.action-panel { position: fixed; bottom:30px; right:30px;}
.row-hover:hover { background: #f8f9fa; font-weight: 600; border-top: 1px solid #c0c0c0; border-bottom: 1px solid #c0c0c0;}
.item { text-transform:uppercase}

.email { text-transform: lowercase;}


@media only screen and (orientation: portrait) {
    #sidebar.expanded { width: 50%;}
    .landscape { display: none !important;}
    .div-head-list-products, .div-row-list-products {
        display:grid;
        grid-template-columns: 1fr;
    }
    .div-head-list-offers {
        
        display: none;
    }
    .div-row-list-offers {
        display:grid;
        grid-template-columns: 1fr;
    }
    .navbar-section:nth-child(1) {
        width: 48%;
    }
    .navbar-section:nth-child(2) {
        width: 2%;
    }
    .navbar-section:nth-child(3) {
        width: 48%;
    }

    
}

@media only screen and (orientation: landscape) {
    .portrait { display: none !important;}
}
