:root{
  --font-family: 'Montserrat', sans-serif;
  --font-color: #282627;
  --maria-color1: #E50741;
  --maria-color2: #12100B;
  --font-size: 18px;
}

body{
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  color: var(--font-color);
  font-size: var(--font-size);
}

body.backoffice.home{
  background-color: var(--maria-color1);
}

body.backoffice.home img {
  position: absolute;
  inset: 0;
  margin: auto;
  animation: shine 3s infinite ease-out;
}

section a {
  color: var(--maria-color1);
  text-decoration: none;
}

section a:hover {
  color: var(--maria-color2);
  text-decoration: underline;
}

.maria-color1{
  color: var(--maria-color1);
}

.maria-color2{
  color: var(--maria-color2);
}

.bg-maria-color1{
  background-color: var(--maria-color1);
}

.bg-maria-color2{
  background-color: var(--maria-color2);
}

.btn{
  color: #ffffff;
  transition: background-color 0.2s ease;
  border-radius: 0;
  padding: 15px 25px;
}

.btn-small{
  padding: 10px 20px;
}

.btn-font-bigger{
  font-size: 18px;
}

.btn-bold{
  font-weight: bold;
}

.btn-maria-color1{
  background-color: var(--maria-color1);
}

.btn-maria-color1:hover{
  color: #ffffff;
  background-color: var(--maria-color2);
}

.btn-maria-color2{
  background-color: var(--maria-color2);
}

.btn-maria-color2:hover{
  color: #ffffff;
  background-color: var(--maria-color1);
}

.btn-white{
  background-color: #ffffff;
  color: var(--maria-color1);
  border: 1px solid #ffffff;
}

.btn-white:hover{
  color: #ffffff;
  background-color: transparent;
  border: 1px solid #ffffff;
}

.btn-white-border{
  color: #ffffff;
  background-color: transparent;
  border: 1px solid #ffffff;
}

.btn-white-border:hover{
  background-color: #ffffff;
  color: var(--maria-color1);
  border: 1px solid #ffffff;
}

footer{
  font-size: 16px;
}

footer hr{
  border-color: var(--maria-color1);
  opacity: 1;
}

footer a{
  text-decoration: none;
  color: var(--maria-color1);
}

footer a:hover{
  text-decoration: underline;
}

body.backoffice .form-control, body.backoffice .form-select{
  border-radius: 0;
  border-color: var(--maria-color2);
}

/*body.backoffice .form-control:read-only {
  background-color: #f7f7f7;
  cursor: no-drop;
}*/

body.backoffice #servicesTable thead th {
  color: var(--maria-color2);
}

body.backoffice .iconSVG {
  filter: invert(13%) sepia(96%) saturate(5336%) hue-rotate(339deg) brightness(90%) contrast(101%);
}

body.backoffice .iconSVG:hover {
  filter: invert(4%) sepia(16%) saturate(1247%) hue-rotate(5deg) brightness(95%) contrast(95%);
  cursor: pointer;
}

body.backoffice .iconSVG.inactive{
  filter: invert(4%) sepia(16%) saturate(1247%) hue-rotate(5deg) brightness(95%) contrast(95%);
}

body.backoffice .iconSVG.inactive:hover{
  filter: invert(13%) sepia(96%) saturate(5336%) hue-rotate(339deg) brightness(90%) contrast(101%);
}

body.backoffice .form-check-input:checked {
  background-color: var(--maria-color1);
  border-color: var(--maria-color1);
}

body.backoffice .dataTables_length, body.backoffice .dataTables_filter{
  width: 50%;
  float: left;
}

body.backoffice div.dataTables_wrapper div.dataTables_paginate {
  -webkit-box-pack: center !important;
  -webkit-justify-content: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  text-align: center;
}

body.backoffice .paginate_button.current, body.backoffice .paginate_button:hover {
  background-color: var(--maria-color1);
  border-color: var(--maria-color1);
  color: #fff;
  font-weight: bold;
  padding: 10px;
  text-decoration: none;
}

body.backoffice .paginate_button{
  background-color: var(--maria-color2);
  border-color: var(--maria-color2);
  color: #fff;
  font-weight: bold;
  padding: 10px;
  text-decoration: none;
  margin-right: 5px;
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc_disabled:after, table.dataTable thead .sorting_desc_disabled:before {
  top: 50%;
  font: normal normal normal 1rem/1 FontAwesome !important;
  transform: translateY(-50%);
}

#servicesTable tr th:first-child, #servicesTable tr td:first-child{
  display: none;
}

body.backoffice #servicePasswordsTable thead th, body.backoffice #serviceUsersTable thead th, body.backoffice #servicePaymentsTable thead th, body.backoffice #serviceAccessTable thead th, body.backoffice #servicesTable thead th, body.backoffice #activeServicesTable thead th{
  background-color: var(--maria-color1);
  color: #ffffff;
}

.nav-tabs{
  border: 0;
}

.nav-tabs .nav-link{
  color: var(--maria-color2);
  border-radius: 0;
  border-color: var(--maria-color1);
  margin-right: 15px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active, .nav-tabs .nav-link:hover{
  background-color: var(--maria-color1);
  color: #ffffff;
  border-radius: 0;
  border-color: var(--maria-color1);
}

#loadingBg {
  background-color: rgba(0,0,0,0.3);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1056;
}

.loadingWrapper{
  display: inline-block;
  position: absolute;
  inset: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
  text-align: center;
  color: var(--maria-color2);
  font-weight: bold;
}

.loadingDiv {
  display: inline-block;
  width: 80px;
  height: 80px;
}

.loadingDiv div {
  animation: loadingDiv 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.loadingDiv div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--maria-color1);
  margin: -4px 0 0 -4px;
}

.loadingDiv div:nth-child(1) {
  animation-delay: -0.036s;
}

.loadingDiv div:nth-child(1):after {
  top: 63px;
  left: 63px;
}

.loadingDiv div:nth-child(2) {
  animation-delay: -0.072s;
}

.loadingDiv div:nth-child(2):after {
  top: 68px;
  left: 56px;
}

.loadingDiv div:nth-child(3) {
  animation-delay: -0.108s;
}

.loadingDiv div:nth-child(3):after {
  top: 71px;
  left: 48px;
}

.loadingDiv div:nth-child(4) {
  animation-delay: -0.144s;
}

.loadingDiv div:nth-child(4):after {
  top: 72px;
  left: 40px;
}

.loadingDiv div:nth-child(5) {
  animation-delay: -0.18s;
}

.loadingDiv div:nth-child(5):after {
  top: 71px;
  left: 32px;
}

.loadingDiv div:nth-child(6) {
  animation-delay: -0.216s;
}

.loadingDiv div:nth-child(6):after {
  top: 68px;
  left: 24px;
}

.loadingDiv div:nth-child(7) {
  animation-delay: -0.252s;
}

.loadingDiv div:nth-child(7):after {
  top: 63px;
  left: 17px;
}

.loadingDiv div:nth-child(8) {
  animation-delay: -0.288s;
}

.loadingDiv div:nth-child(8):after {
  top: 56px;
  left: 12px;
}

@keyframes loadingDiv {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (width <= 768px) {
  
}