:root {
  --primary-color: #7b3092;

  --complementary-color_01: #ba9467;
  --complementary-color_01__light: #d7a77d;

  --complementary-color_02: #98b129;
  --complementary-color_03: #46a6dd;
  /* --complementary-color_03: #00a8e3; diferencia en valores!! */

  --gray__dark: #58595b;
  --gray__medium: #a7a9ac;
  --gray__light: #e6e7e8;

  --alert-color: var(--red);

  --typography-headline: 'Fontfabric - Mont Heavy.otf';
  --typography-subtitle: 'Fontfabric - Mont ExtraLight.otf';
  --typography-text: 'Montserrat-Regular.ttf';
  --typography-text__bold: 'Montserrat-SemiBold.ttf';
  --typography-text__light: 'Montserrat-Light.ttf';

  --top-nav-height: 68px;
  --bottom-nav-height: 68px;

  --viewport-width: 1280px;
  --color-principal: #ba9467;
  --color-secundario: #7a7f82;
}

@media (max-width: 767px) {
  :root {
    --title-bar-height: 68px;
  }

  .display-only-desktop {
    display: none !important;
  }
}

@media (min-width: 768px) {
  :root {
    --title-bar-height: 240px;
    --layout_background-desktop-height: calc(
      var(--title-bar-height) + var(--top-nav-height)
    );
  }

  .display-only-mobile {
    display: none !important;
  }
}

.typography-headline1 {
  font-family: var(--typography-headline);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

.typography-headline2 {
  font-family: var(--typography-headline);
  font-size: 25px;
  line-height: 1;
  font-weight: 700;
}

.typography-headline3 {
  font-family: var(--typography-headline);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.typography-headline4 {
  font-family: var(--typography-headline);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.typography-headline5 {
  font-family: var(--typography-headline);
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

.typography-subtitle1 {
  font-family: var(--typography-subtitle);
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}

.typography-subtitle2 {
  font-family: var(--typography-subtitle);
  font-size: 16px;
  font-weight: 400;
}

.typography-body {
  font-family: var(--typography-text);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  margin: 0;
}

.typography-body2 {
  font-family: var(--typography-text);
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  margin: 0;
}

.typography-caption1 {
  font-family: var(--typography-text);
  font-size: 12px;
  line-height: 14px;
  font-weight: 600;
  margin: 0;
}

.typography-caption2 {
  font-family: var(--typography-text);
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
  margin: 0;
}

.uppercase {
  text-transform: uppercase;
}

.primary-button {
  align-items: center;
  background-color: #cb9961;
  border-bottom: 0;
  border-radius: 50px;
  border: 0;
  color: white;
  display: flex;
  font-family: var(--typography-headline);
  font-size: 18px;
  font-weight: bold;
  justify-content: center;
  min-width: 120px;
  outline: none;
  padding: 8px 24px;
  text-transform: uppercase;
}

.primary-button:active,
.primary-button:hover,
.primary-button:focus {
  color: white;
}

button.icon-button:focus,
button.primary-button:focus {
  outline: none;
}

.button__label,
.primary-button .primary-button__label {
  line-height: 1;
  margin-top: 2px;
  text-align: center;
}

.primary-button i.icon {
  display: flex;
}

.primary-button i.icon.fa {
  font-size: 12px;
}

.primary-button i.icon:first-child:not(:last-child) {
  margin-right: 8px;
}

.primary-button i.icon:last-child:not(:first-child) {
  margin-left: 8px;
}

.round-button {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
}

.app-title-bar {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: var(--top-nav-height);
  position: relative;
  z-index: 4;
}

@media (max-width: 767px) {
  .app-title-bar {
    background-color: #474c55;
  }
}

@media (min-width: 768px) {
  .app-title-bar.filled-title-bar {
    background-color: #474c55;
  }
}

.app-title-bar__inner {
  height: var(--title-bar-height);
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.app-title-bar__right-side {
  padding: 24px;
}

@media (min-width: 768px) {
  .app-title-bar__inner {
    align-items: flex-end;
    padding: 24px;
  }
}

.app-title-bar__title {
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 22px;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .app-title-bar__title {
    letter-spacing: 1px;
    font-size: 60px;
    line-height: 52px;
  }
}

.app-title-bar__icon {
  font-size: 32px;
  font-weight: 200 !important;
}

.app-title-bar a.cwpwa-back {
  color: white;
}

@media (min-width: 768px) {
  .app-title-bar a.cwpwa-back {
    display: none;
  }
}

.cwpwa-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 30px;
  padding: 30px;
}

.cwpwa-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  padding: 20px;
  min-height: 160px;
}

.cwpwa-grid__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  padding: 20px;
  padding-top: 0;
}

.cwpwa-grid__item-title {
  position: relative;
  text-align: center;
  color: white;
  font-size: 20px;
  line-height: 20px;
}

.cwpwa-expandable__item-wrapper {
  padding: 30px;
}

.cwpwa-expandable__item-wrapper > :not(:first-child) {
  margin-top: 30px;
}

.cwpwa-layout-page {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  min-height: calc(
    100vh - var(--top-nav-height) - var(--title-bar-height) -
      var(--bottom-nav-height)
  );
}

.container.cwpwa-layout-page > .row.grow {
  flex-grow: 1;
}

.cwpwa-layout-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .cwpwa-layout-wrapper {
    height: calc(
      100vh - var(--top-nav-height) - var(--title-bar-height) -
        var(--bottom-nav-height)
    );
  }
}

.cwpwa-layout-wrapper_background {
  width: 100%;
  flex-grow: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .cwpwa-layout-wrapper_background {
    flex-grow: 0;
    height: var(--layout_background-desktop-height);
    margin-top: calc(-1 * (var(--top-nav-height) + var(--title-bar-height)));
  }
}

.cwpwa-layout-wrapper.expanded {
  min-height: calc(
    100vh - var(--top-nav-height) - var(--title-bar-height) -
      var(--bottom-nav-height)
  );
  height: unset;
}

.cwpwa-layout-wrapper.expanded .cwpwa-layout-wrapper_background {
  min-height: 320px;
}

.cwpwa-layout-wrapper_inner {
  background-color: #474c55;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

@media (min-width: 768px) {
  .cwpwa-layout-wrapper_inner {
    flex-grow: 1;
    padding: 0;
  }
}

.app-title-bar__inner,
.cwpwa-container__inner,
.cwpwa-layout-container_inner {
   max-width: 1024px; 
  width: 100%;
  margin: auto;
}

@media (min-width: 768px) {
  .cwpwa-layout-wrapper .cwpwa-layout-card .cwpwa-layout-container_inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 40px auto;
  }

  .cwpwa-layout-wrapper .cwpwa-layout-card .cwpwa-form-cartilla form {
    align-items: center;
    display: flex;
    margin-left: 2rem;
  }

  .cwpwa-layout-wrapper
    .cwpwa-layout-card
    .cwpwa-form-cartilla
    form
    button[type='submit'] {
    margin-left: 2rem;
  }

  .cwpwa-layout-wrapper
    .cwpwa-layout-card
    .cwpwa-form-cartilla
    .cwpwa-layout-card_actions
    .cwpwa-icon-button {
    margin-left: 1rem;
  }

  .cwpwa-layout-wrapper
    .cwpwa-layout-card
    .cwpwa-form-cartilla
    form
    .ui-autocomplete-input {
    min-width: 340px;
    border: 1px solid #d0d2d3;
  }
}

@media (max-width: 767px) {
  .cwpwa-layout-wrapper .cwpwa-layout-card .cwpwa-form-cartilla {
    margin-top: 1rem;
  }

  .cwpwa-layout-wrapper
    .cwpwa-layout-card
    .cwpwa-form-cartilla
    form
    button[type='submit'],
  .cwpwa-layout-wrapper
    .cwpwa-layout-card
    .cwpwa-form-cartilla
    .cwpwa-layout-card_actions {
    margin-top: 1rem;
  }

  .cwpwa-layout-wrapper
    .cwpwa-layout-card
    .cwpwa-form-cartilla
    .cwpwa-layout-card_actions
    button[type='submit'] {
    margin-top: 0;
  }
}

.cwpwa-layout-card {
  color: white;
  padding: 24px;
}

@media (max-width: 767px) {
  .cwpwa-layout-card {
    margin-top: -100px;
  }
}

@media (min-width: 768px) {
  .cwpwa-layout-card {
    flex-grow: 1;
  }
}

.cwpwa-layout-card_actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cwpwa-layout-button,
.cwpwa-layout-button:active,
.cwpwa-layout-button:focus,
.cwpwa-layout-button:hover {
  font-size: 14px;
  line-height: 0.8;
  padding: 12px 24px;
}

.cwpwa-layout-page form {
  background-color: transparent;
}

.cwpwa-layout-advanced_wrapper {
  overflow: hidden;
  width: 100%;
}

.cwpwa-layout-advanced {
  background-color: #dddddd;
  padding: 40px 24px;
  height: 100%;
}

@media (min-width: 768px) {
  .cwpwa-layout-advanced {
    background-color: #ffffff;
  }
}

.cwpwa-layout-advanced .collapse-link {
  transform: rotate(90deg);
  transition: all 0.2s ease-in;
  cursor: pointer;
}

.cwpwa-layout-advanced .collapse-link.collapsed {
  transform: rotate(0);
}

.cwpwa-layout-advanced-title_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cwpwa-layout-extra_info {
  position: relative;
  background-color: white;
  width: 100%;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.cwpwa-layout-extra_info-inner {
  position: relative;
  background-color: white;
  padding: 24px;
  width: 100%;
}

.cwpwa-layout-extra_info-triangle_top {
  top: 0;
  z-index: 4;
}

@media (max-width: 767px) {
  .cwpwa-layout-extra_info-title_wrapper {
    display: none;
  }
}

@media (min-width: 768px) {
  .cwpwa-layout-extra_info-title_wrapper {
    display: flex;
    align-items: center;
    padding: 0 12px;
  }

  .cwpwa-layout-extra_info-title_wrapper > span {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 12px;
  }

  .cwpwa-layout-extra_info-title_wrapper > h4 {
    line-height: 26px;
    margin-top: 6px;
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .cwpwa-carousel_container {
    margin: 0 -100px;
  }
}

@media (min-width: 768px) {
  .cwpwa-carousel_container {
    max-width: 100%;
    padding: 0 48px;
  }
}

#cwpwa-carousel .item {
  height: 360px;
  width: 100%;
  display: flex;
  transition: transform 0.2s ease-in-out;
  transform-origin: center;
  transform: scale(0.8);
}

@media (min-width: 768px) {
  #cwpwa-carousel .item {
    height: 400px;
  }

  #cwpwa-carousel .item .item-title,
  #cwpwa-carousel .item h4 {
    font-size: 26px;
  }
}

#cwpwa-carousel .item .item_inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px 8px;
  align-items: center;
  text-align: center;
  color: white;
  justify-content: space-around;
}

@media (min-width: 768px) {
  #cwpwa-carousel .item .item_inner {
    padding: 36px;
  }
}

#cwpwa-carousel .item .item_icon svg {
  width: 60px;
  height: 60px;
}

@media (min-width: 768px) {
  #cwpwa-carousel .item .item_icon svg {
    width: 72px;
    height: 72px;
  }
}

#cwpwa-carousel .active.center .item {
  transform: scale(1);
}

@media (max-width: 767px) {
  #cwpwa-carousel .owl-nav {
    display: none;
  }
}

@media (min-width: 768px) {
  #cwpwa-carousel .owl-stage-outer {
    z-index: 2;
  }

  #cwpwa-carousel .owl-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0;
    top: 0;
    bottom: 0;
    opacity: 0.5;
  }

  #cwpwa-carousel .owl-nav > button:focus {
    outline: none;
  }

  #cwpwa-carousel .owl-nav > button:hover {
    background-color: transparent;
  }

  .owl-theme .owl-nav .owl-prev,
  .owl-theme .owl-nav .owl-next {
    margin: 0 !important;
  }

  .owl-theme .owl-nav .owl-prev {
    margin-left: -32px !important;
  }

  .owl-theme .owl-nav .owl-next {
    margin-right: -32px !important;
  }

  .owl-theme .owl-nav .owl-prev span,
  .owl-theme .owl-nav .owl-next span {
    color: #413a3a;
    font-family: var(--typography-subtitle);
    font-size: 120px;
  }
}

#cwpwa-carousel .owl-item.active:not(.center) .item {
  pointer-events: none;
}

.cwpwa-triangle {
  transition: all 0.2s ease-in-out;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;

  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  position: absolute;
}

.cwpwa-triangle.up {
  border-bottom-color: #ddd;
}

.cwpwa-triangle.down {
  border-top-color: #ddd;
}

.cwpwa-table_container {
  width: 100%;
}

.cwpwa-table {
  width: 100%;
  --cwpwa_table-primary__color: #484c45;
  --cwpwa_table-secondary__color: #ba9467;
}

.cwpwa-grid-table .cwpwa-table-row {
  display: grid;
}

.cwpwa-table_container .cwpwa-table .cwpwa-table-row {
  border: 2px solid white;
  border-left: 0;
  border-right: 0;
}

.cwpwa-table_container .cwpwa-table .cwpwa-table-cell {
  padding: 8px;
}

.cwpwa-table_container .cwpwa-table .cwpwa-table-head .cwpwa-table-row {
  border-bottom-width: 4px;
}

.cwpwa-table_container .cwpwa-table .cwpwa-table-foot .cwpwa-table-row {
  border-top-width: 4px;
}

.cwpwa-table_container
  .cwpwa-table
  .cwpwa-table-foot
  .cwpwa-table-row
  .cwpwa-table-cell:first-child {
  background-color: white;
}

.cwpwa-table_container .cwpwa-table .cwpwa-table-head .cwpwa-table-cell,
.cwpwa-table_container .cwpwa-table .cwpwa-table-foot .cwpwa-table-cell {
  color: white;
  background-color: var(--cwpwa_table-primary__color);
  font-family: var(--typography-headline);
  font-size: 12px;
}

.cwpwa-table_container .cwpwa-table .cwpwa-table-body .cwpwa-table-cell {
  font-family: var(--typography-text);
  font-size: 10px;
  color: #5b585a;
}

@media (min-width: 768px) {
  .cwpwa-table_container .cwpwa-table .cwpwa-table-body .cwpwa-table-cell {
    font-size: 12px;
  }
}

.cwpwa-table_container .cwpwa-table .cwpwa-table-foot .cwpwa-table-cell {
  color: var(--cwpwa_table-secondary__color);
  padding: 8px 12px;
  text-transform: uppercase;
}

.cwpwa-table_container
  .cwpwa-table
  .cwpwa-table-foot
  .cwpwa-table-cell:last-child {
  color: white;
  text-align: right;
}

.cwpwa-table_container
  .cwpwa-table
  .cwpwa-table-body
  .cwpwa-table-row:nth-child(2n + 1)
  > .cwpwa-table-cell {
  background-color: #edeeee;
}

.cwpwa-table_container
  .cwpwa-table
  .cwpwa-table-body
  .cwpwa-table-row:nth-child(2n)
  > .cwpwa-table-cell {
  background-color: #f9f9f9;
}

.cwpwa-table-row__collapsible {
  display: none;
}

.cwpwa-calendar_item {
  padding: 24px 0;
  --calendar_item-primary__color: #d68148;
  --calendar_item-secondary__color: #388c96;
}

.cwpwa-calendar_item:not(:first-child) {
  border-top: 1px solid #dddddd;
}

.cwpwa-calendar_item-info_wrapper {
  display: flex;
  color: #6e6f72;
  /* padding: 0 12px; */
}

.cwpwa-calendar_item-date {
  display: flex;
  flex-direction: column;
  padding: 8px;
  align-items: center;
}

.cwpwa-calendar_item-day {
  color: var(--calendar_item-primary__color);
  font-size: 30px;
  font-family: var(--typography-text__bold);
  line-height: 24px;
  margin-bottom: 4px;
}

.cwpwa-calendar_item-month {
  font-family: var(--typography-text__bold);
  line-height: 1;
}

.cwpwa-calendar_item-info {
  margin-left: 12px;
  margin-bottom: 24px;
  padding-top: 8px;
}

.cwpwa-calendar_item-title {
  font-family: var(--typography-text__bold);
  color: var(--calendar_item-primary__color);
  text-transform: none;
}

.cwpwa-calendar_item-actions {
  display: flex;
  align-items: center;
}

.cwpwa-calendar_item-actions span {
  color: #6e6f72;
}

@media (min-width: 768px) {
  .cwpwa-calendar_item {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  .cwpwa-calendar_item .cwpwa-calendar_item-info {
    align-items: center;
    display: flex;
    margin-bottom: 0;
  }

  .cwpwa-calendar_item .cwpwa-calendar_item-info > :not(:first-child) {
    margin-left: 12px;
  }
}

.cwpwa-calification_wrapper {
  margin: 0 8px;
  flex-shrink: 0;
  display: flex;
}

.cwpwa-calification_wrapper .cwpwa-calification_star {
  color: var(--calendar_item-secondary__color);
}

.cwpwa-calification_wrapper .cwpwa-calification_star.fa-star {
  color: var(--calendar_item-secondary__color);
}

.cwpwa-calification_wrapper .cwpwa-calification_link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2px;
}

.cwpwa-calendar_item .primary-button {
  border: 1px solid var(--calendar_item-primary__color);
  padding: 8px 12px;
  margin-left: auto;
  justify-content: center;
  color: var(--calendar_item-primary__color);
  text-align: center;
  font-size: 10px;
}

.cwpwa-form-cartilla form input.hidden-file_input {
  display: none;
}

@media (min-width: 768px) {
  .cwpwa-form-cartilla form .cwpwa-form-row {
    display: flex;
    justify-content: space-between;
  }
}
