:root {
  --primary: #8D9A8C;
  --primary-light: #B9C4B8;
  --primary-dark: #4D4D4D;
  --background: #F6F4F1;
  --black: #1C1C1C;
  --white: #fff;
  --border-radius: 5px;

  --theme__greengray-pr: #8D9A8C;
  --theme__greengray-bg: #FAFAFA;
  --theme__congopink-pr: #FC7D7D;
  --theme__congopink-bg: #FAFAFA;
  --theme__uclablue-pr: #545D98;
  --theme__uclablue-bg: #F9F9FF;

}

body, html {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
@media only screen and (min-width: 600px) {
  html, body {
    font-size: 15px;
  }
}

@media only screen and (min-width: 1024px) {
  html, body {
    font-size: 16px;
  }
}


h1, h2, h3, h4 {
  color: var(--primary);
}
h4, h5, h6 {
  color: var(--primary-dark);
}

h2.h2_title {
  border-bottom: 1px solid var(--primary);
  font-size: 1.5rem;
  padding-bottom: 4px;
  margin-bottom: 1rem;
}


.btn-img {
  border: 1px solid var(--white);
}
.btn-img img {
  max-width: 100%;
}
.btn-img:hover {
  border-color: var(--primary);
}

.btn.btn-icon span {
  margin-right: 6px;
}
.btn.btn-icon span svg {
  transition: all .3s;
}
.btn.btn-icon:hover span svg {
  scale: 0.9;
  rotate: 90deg;
}

.btn.btn-primary {
  color: var(--white);
}

.btn__icon {
  color: var(--pr);
  background-color: transparent;
  border: 0;
}

/*LOADING*/
#loading {
  position:fixed; 
  top:0; 
  left:0; 
  right:0; 
  bottom:0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index:9999;
  cursor: wait;
  display: none;
}

.loader {
  width: 100%;
  height: 5px;
  position: relative;
  overflow: hidden;
}
.loader::after {
  content: '';  
  width: 96px;
  height: 5px;
  background: var(--primary);
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  animation: loader 0.6s ease-in-out infinite alternate;
}

@keyframes loader {
  0% {
    left: 0;
    transform: translateX(-1%);
  }
  100% {
    left: 100%;
    transform: translateX(-99%);
  }
}

/* BOOTSTRAP */
*:focus {
  box-shadow: none !important;
}
.form-switch .form-check-input:focus {
  /* --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e"); */
}
.hstack .alert {
  margin-bottom: 0;
}
.alert-sm {
  font-size: .7rem;
  padding: .5rem .5rem;
}

.accordion-button {
  color: var(--primary) !important;
  font-weight: 600;
  background-color: transparent !important;
  box-shadow: none !important;
}
.offcanvas.offcanvas-end.offcanvas__w-664 {
  width: 664px;
}
h5.offcanvas-title {
  color: var(--primary);
  font-weight: 600;
}

/* .form-check-input {
  background-color: var(--primary-light);
  border-color: var(--primary);
} */

@media (max-width: 768px) {
  .offcanvas.offcanvas-end.offcanvas__w-664 {
      width: 100%; 
  }
}

/* FORMS */
.p__form .form-control, .p__form .form-select {
  /* border-color: var(--primary-light); */
  font-size: 0.85rem;
}
.p__form .form-control.form-control-md {
  font-size: 0.70rem;
}
.p__form .form-control.form-control-sm {
  font-size: 0.55rem;
}
.p__form label.form-label, .p__form label.form-check-label {
  font-size: 0.75rem;
  /* color: var(--primary-dark); */
}

/* DATA TABLES */
.table-container {}
.table-container table thead th {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
}
.table-container table tbody {
  color: var(--black);
  font-size: 0.8rem;
}
.table-container .dt-layout-row {
  font-size: 0.8rem;
}


.g__confirm {
  position: relative;
  padding-left: 10px;
}
.g__confirm::after {
  position: absolute;
  top:50%; left:0;
  margin-top:-2.5px;
  content: '';
  width: 5px;
  height: 5px;
  background-color: black;
  border-radius: 50%;
}
.g__confirm.g__confirm-yes::after {
  background-color: var(--primary);
}
.g__confirm.g__confirm-nop::after {
  background-color: #DD618F;
}
.g__confirm.g__confirm-pen::after {
  background-color: #FFEBB0;
}

/* SMART FORMS */
.smart__input__control:not(.active) input {
  cursor: pointer;
}
.smart__input__control label {
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.smart__input__control label span {
  margin-right: 10px;
  height: 24px;
}
.smart__input__control label span svg {
  height: 24px;
  width: auto; 
}
.smart__input__group {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}
.smart__input {
  border: 0;
  width: 100%;
  outline: 0 !important;
  box-shadow: none !important;
}

.smart__input__btn {
  background-color: transparent;
  display: none;
  border: 0;
}

.smart__input__control.active .smart__input {
  border: 1px solid #000;
}
.smart__input__control.active .smart__input__btn {
  display: inline-block;
}



.smart__input__btn.changed {
  background-color: yellow;
}
.smart__input__btn .spinner {
  display:none;
}
.smart__input__btn.loading .spinner {
  display:inline-block;
}
.smart__input__btn.loading .disk {
  display:none;
}
.smart__input__btn .spinner::before {
  animation: spinner 1.5s linear infinite; 
}
@keyframes spinner {
  to { transform: rotate(360deg); }
}

/*SF event dates*/
.btn-sm.btn-xs {
  --bs-btn-font-size: 0.675rem;
  
}
.evento__date__footer {
  border-top-width: 1px !important;
  border-top-color: var(--primary) !important;
}
.evento__date__footer .btn-sm.btn-xs {
  border-top: 0;
  border-start-start-radius: 0;
  border-top-right-radius: 0;
  border-width: 1px;
}


/* event Menu */
.emenu {
  border: 1px dashed var(--primary);
  padding: 25px 13px;
  background-color: #fff;
  color: var(--primary-dark);
  text-align: center;
  font-family: "Cormorant", serif;
  border-radius: var(--border-radius);
}
/* .emenu__intro {} */
.emenu__intro span {
  font-size: 14px;
}
.emenu__intro h3 {
  font-size: 22px;
  color: var(--primary-dark);
}
.emenu__body {
  margin-top: 24px;
  background-color: var(--background);
  padding: 26px 14px;
}
.emenu__body__item {
  margin-bottom:24px;
}
.emenu__body__item h2 {
  font-size: 24px;
  color: var(--primary-dark);
}
.emenu__body__item p {
  font-size: 16px;
}

/* THEME SELECTOR */
/*
.btn-theme {
  border: 2px dashed var(--primary);
  background-color: transparent;
  padding: 10px 22px 40px 22px;
  opacity: 0.6;
}
.btn-theme span {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: black;
  position: relative;
}
.btn-theme span::after {
  content: "Fondo";
  position: absolute;
  bottom: -30px;
  left: -5px;
  text-align: center;
  color: var(--primary-dark);
  font-size: 12px;
}
.btn-theme span:last-child {
  margin-left: 40px;
}
.btn-theme span:last-child::after {
  content: "Principal";
  left: -11px;
}
*/
.btn-theme {
  border: 2px dashed var(--primary);
  background-color: transparent;
  padding: 3px;
  opacity: 0.6;
  width:100%;
  margin-bottom: 1rem;
}
.btn-theme span {
  display: inline-block;
  width: 49%;
  height: auto;
  background-color: black;
  position: relative;
  padding: 6px;
  font-size: 1rem;
}

.btn-theme:hover, .btn-theme.active {
  opacity: 1;
}

.btn-theme.btn-theme-greengray span {
  background-color: var(--theme__greengray-bg);
  color: var(--theme__greengray-pr);
}
.btn-theme.btn-theme-greengray span:last-child {
  background-color: var(--theme__greengray-pr);
  color: var(--theme__greengray-bg);
}
.btn-theme.btn-theme-congopink span {
  background-color: var(--theme__congopink-bg);
  color: var(--theme__congopink-pr);
}
.btn-theme.btn-theme-congopink span:last-child {
  background-color: var(--theme__congopink-pr);
  color: var(--theme__congopink-bg);
}
.btn-theme.btn-theme-uclablue span {
  background-color: var(--theme__uclablue-bg);
  color: var(--theme__uclablue-pr);
}
.btn-theme.btn-theme-uclablue span:last-child {
  background-color: var(--theme__uclablue-pr);
  color: var(--theme__uclablue-bg);
}




/* BTN MODULES */
.btn-module-container {
  text-align: center;
  display: inline-block;
  margin: 10px;
}
.btn-module {
  border: 1px solid var(--primary-light);
  background-color: transparent;
  border-radius: var(--border-radius);
  display: block;
  padding: 20px 24px;
  position: relative;
  text-align: center;
  margin-bottom: 6px;
}
.btn-module span {
  display: block;
}
.btn-module .icon {
  width: 110px;
  height: 40px;
  margin-top: 20px;
}
.btn-module .icon svg {
  width: 100%;
}
.btn-module .tit {
  font-size: .8rem;
  color: var(--primary);
  border-bottom: 1px solid var(--primary-light);
}
.btn-module .check {
  position: absolute;
  top: -10px;
  right: -10px;
}
.btn-module .check svg {
  width: 30px;
}
.btn-module.active .check svg path:first-child {
  fill: var(--primary);
}



/* PREVIEWS */
.preview__theme-greengray {
  --pr: #8D9A8C;
  --bg: #FAFAFA;
}
.preview__theme-congopink {
  --pr: #FC7D7D;
  --bg: #FAFAFA;
}
.preview__theme-uclablue {
  --pr: #545D98;
  --bg: #F9F9FF;
}
/* EVENT FORM*/
.e__preview__theme {
  color: var(--bg);
  background-color: var(--pr);
}
/* APP */
.appPreview {
  background-color: var(--bg);
  color: var(--text);
  padding: 24px 12px;
  border: 2px dashed var(--pr);
  border-radius: 5px;
  text-align: center;
}
.appPreview .namename {
  font-size: 0.8rem;
  line-height: 1.2;
  margin-bottom:1.4rem;
}
.appPreview .tit {
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}
.appPreview .reto {
  font-size: 1.5rem;
  line-height: 1.3;
  background-color: var(--white);
  padding: 1.6rem 1.6rem 2rem 1.6rem;
  border-radius: 9px;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.05);
}
.appPreview .takeFoto {
  text-align: center;
}
.appPreview .takeFoto div {
  background-color: var(--white);
  box-shadow: 0px 6px 12px rgba(65, 11, 24, 0.1);
  border-radius: 50%;
  margin-top: -24px;
  width: 48px;
  height:48px;
  display: inline-block;
  font-size:30px; 
  line-height: 1.5;
  
}
.appPreview .fotos {
  clear: both;
  display: table;
  width: 100%;
}
.appPreview .fotos picture {
  background: var(--pr);
  margin: 1%;
  aspect-ratio: 1 / 1;
  width: 48%;
  float: left;
  border-radius: 5px;
}
.appPreview .match {

}
.appPreview .match picture {
  background: var(--pr);
  margin: 1%;
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  width:98%;
  display: block;
  box-shadow: 0px 6px 11px rgba(65, 11, 24, 0.1);
}
.appPreview .match .name {
  font-size: 1.2rem;
  margin-top:1rem;
}
.appPreview .match .bio {
  font-size: 1rem;
  margin-top:1rem;
}
.appPreview .match .like {
  margin-top:1rem;
  text-align: center;
}
.appPreview .match .like div {
  display: inline-block;
  margin: 0 5px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background-color: var(--white);
  box-shadow: 0px 6px 11px rgba(65, 11, 24, 0.1);
  line-height: 1.8;
  font-size: 1.2rem;
}
.appPreview .msg {
  border-radius: 8px;
  border: 1px solid var(--pr);
  background-color: var(--white);
  font-size: 1.5rem;
  padding: 2.4rem 2rem;
}
.appPreview .form-check.form-switch  {
  text-align: left;
}
.appPreview .send {
  
}
.appPreview .send span {
  background-color: var(--pr);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
}
/* PRE_REGISTRO */
.regscreen__container {
  background-color: var(--bg);
  color: var(--text);
  padding:12px;
}
.regscreen {
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 10px;
  padding:10px;
}
.regscreen .header {
  text-align: center;
  padding-top: 20px;
}
.regscreen .spacer {
  height: 10%;
}
.regscreen .header .date, .regscreen .header .location {
  font-size: 0.9rem;
}
.regscreen .header .namename {
  font-size: 2.75rem;
  line-height: 2.3rem;
}

.regscreen .steps__container {
  position:relative;
  width: 100%;
  height: 100%;
}
.regscreen .step {
  width: 100%;
  display: none;
  position:absolute;
}
.regscreen .step.active {
  display:block;
}

.regscreen .tit {
  text-align: center;
  font-size: 1.275rem;
  margin: 10px 0;
}
.regscreen .txt {
  text-align: center;
  font-size: 0.975rem;
}
.regscreen .cta {
  margin-top: 12px;
  text-align: center;
}

.regscreen .bf__btn {
  border: 1px solid var(--pr);
  border-radius: var(--border-radius);
  background-color: transparent;
  padding: 6px 14px;
  cursor: pointer;
}
.regscreen .bf__btn.bf__btn-primary {
  background-color: var(--pr);
  color: var(--bg);
}
.regscreen .bf__btn.bf__btn-noborder {
  border-color:transparent;
}
.regscreen .bf__btn.bf__btn-100 {
  width: 100%;
}

/* LOGIN */
.form-signin {
  max-width: 330px;
  padding: 1rem;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


.events {

}

a.event {
  text-decoration: none !important;
  font-size: 2rem;
  text-align: center;
  display:block;
  border: 1px solid var(--primary);
  padding-top:6px;
  transition: all .3s;
}
a.event img {
  width:100%;
  max-width: 64px;
  transform: rotate(0deg);
  transition: all .3s;
}
a.event span {
  display:block;
  background-color: var(--primary);
  color: var(--white);
  padding: 4px 4px;
  margin-top:10px;
  font-size: 0.8rem;
}
a.event:hover img {
  transform: rotate(35deg);
}

.navbar-brand img {
  max-width: 100%;
}