/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800;900&display=swap');

/* LIBRERIAS ICONOS */
@import url('https://cdn-uicons.flaticon.com/uicons-brands/css/uicons-brands.css');
@import url('https://cdn-uicons.flaticon.com/uicons-bold-rounded/css/uicons-bold-rounded.css');

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* VARIABLES COLORES, ALINEACION DE TEXTOS, CENTRAR OBJETOS */
:root{--azul-600:#0083DF; --azul-400:#20BDFF; --azul-500:#00A4FF; --azul-300:#6DD3FF; --azul-100:#DCF2FF; --azul-50:#EEF8FF; --gris:#666; --blanco:#FFF;
  --t-c:center; --t-r:right; --align-c: 0 auto;}
  
/* GERNERALES */
*, *:after, *:before {box-sizing: inherit;}
html {width: 100%;height: 100%; box-sizing:border-box; scroll-behavior:smooth;}
body {width: 100%; height:100%; background:var(--blanco); color: var(--gris); position:relative; font-family:'Raleway', sans-serif; font-weight:500;}

/* estilos generales */
.flex-content{margin:var(--align-c);}
.title{font-weight:900; color:var(--azul-600);}
.subtitle{font-weight:700; position:relative; }
.subtitle::after{content:""; border-top:4px solid var(--azul-300); position:absolute;}
.subtitle2{font-size:22px; font-weight:700;}
.blue{color:var(--azul-600);}
.txt-r{text-align:var(--t-r);}
.txt-c{text-align:var(--t-c);}
.txt-list{list-style: disc; padding-left:25px;}
.box-shadow{box-shadow: 0 2px 16px 0 rgba(0,0,0,0.20); border-radius:4px;}


/* FORMULARIOS */
.cont-form .td-full{position:relative;}
input[type="text"], input[type="number"], input[type="email"], input[type="file"], textarea{width:100%; padding:10px; background: #EEEEEE; box-shadow: inset 0 2px 3px 0 rgba(0,0,0,0.20); border-radius:4px; border:none;}
.cont-form label{font-weight:700; color:#000;}

.btn{display:inline-block; border-radius:4px; font-size:18px; font-weight:700; border:none; transition:all .8s ease-in-out; cursor:pointer;}
.btn:hover{box-shadow: 0 0 10px 2px rgba(0,0,0,0.30);}
.btn-blue{background:var(--azul-600); color:var(--blanco);}
.btn-regular{padding:6px 20px;}
.btn-full{padding: 10px 20px; text-align:var(--t-c); width:100%;}

/* SELECT */
select {-moz-appearance: none; -webkit-appearance: none; -o-appearance: none; -ms-appearance: none; appearance: none; border-radius:0; border: 0; margin: 0; padding: 0; background: none transparent; vertical-align: middle; font-size:inherit; color: inherit; box-sizing:content-box;}
.custom {position:relative; background:#EEE; box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20); border-radius:4px; min-width:180px;}
.custom select {display:none;}
.select-selected {background-color:#eee; text-align:left;}
.select-selected:after {position:absolute; content:url("../img/ico-arrowDropdown.svg"); top:10px; right:10px;}
.select-selected.select-arrow-active:after {transform: rotate(180deg);}
.select-items div,.select-selected {color:var(--azul-600); padding:12px 10px; text-align:left; cursor:pointer;}
.select-items div{border-bottom:1px solid var(--azul-100); padding:10px;}
.select-items {position:absolute; background-color:var(--azul-50); top:100%; left:0;right: 0; z-index: 99; border:1px solid var(--azul-100); width:100%}
.select-hide {display: none;}
.select-items div:hover, .same-as-selected {background-color:var(--blanco); color:var(--azul-500)}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/* MIOBILE */
@media only screen and (min-width: 17.5em) {
  body {font-size:16px; line-height:1.2;}
  .cont_burger{display:block;}

  /* INICIO */
  /* estilos generales */
  .flex-content{ padding:0 20px; max-width:1440px; width:100%;}
  .flex-display{display:flex; flex-direction:row; justify-content:space-between; align-items:center;}
  .title{font-size:30px; line-height:1.2; margin-bottom:20px;}
  .subtitle{font-size:26px; padding-left:0; margin-bottom: 20px;}
  .subtitle::after{width:140px; top:-5px; left:0%;}
  main{padding-top:70px; min-height:calc(100vh - 331px);}
  article{margin-bottom:40px;}
  .card-cont{width:100%; margin:20px auto; padding:20px;}
  .card-expl div.debit {width: 100%;}

  /* FORMULARIOS */
  .cont-form{padding:0px; margin:0 auto; line-height:1.2;}
  .cont-form .row{display:flex; flex-direction:column; align-items: flex-end; gap:20px; margin-bottom:10px; min-width:100%;}
  .cont-form .row.td-right{justify-content:flex-end;}
  .cont-form .td-full{width:100%;}
  .cont-form .td-half{width:100%;}
  .cont-form .td-quart{width:100%;}
  .cont-form div .custom{width:100%;}
  textarea{height:150px;}
  .cont-form label{font-size:14px;}
  .td-center{margin:0 auto;}
}


/* TABLET VERTICAL */
@media only screen and (min-width: 35em) {
  body {font-size:16px; line-height:1.2;}
  .cont_burger{display:block;}

  /* INICIO */
  /* estilos generales */
  .flex-content{ padding:0 30px; max-width:1440px; width:100%;}
  .flex-display{display:flex; flex-direction:row; justify-content:space-between; align-items:center;}
  .title{font-size:32px; line-height:1.2; margin-bottom:20px;}
  .subtitle{font-size:28px; padding-left:0%; margin-bottom: 20px;}
  .subtitle::after{width:140px; top:0; left:0%;}
  main{padding-top:70px; min-height:calc(100vh - 331px);}
  article{margin-bottom:40px;}
  .card-cont{width:100%; margin:20px auto; padding:20px;}
  .card-expl div.debit {width: 540px;}
  
  /* FORMULARIOS */
  .cont-form{padding:0px; margin:0 auto; line-height:1.2;}
  .cont-form .row{display:flex; flex-direction:row; align-items: flex-end; gap:20px; margin-bottom:10px; min-width:100%;}
  .cont-form .row.td-right{justify-content:flex-end;}
  .cont-form .td-full{width:100%;}
  .cont-form .td-half{width:50%;}
  .cont-form .td-quart{width:25%;}
  .cont-form div .custom{width:100%;}
  textarea{height:150px;}
  .cont-form label{font-size:14px;}
  .td-center{margin:0 auto;}
}


/* TABLET HORIZONTAL */
@media only screen and (min-width: 50.6875em) {
  body {font-size:16px; line-height:1.5;}
  .cont_burger{display:none;}

  /* INICIO */
  /* estilos generales */
  .flex-content{ padding:0 30px; max-width:1440px; width:100%;}
  .flex-display{display:flex; flex-direction:row; justify-content:space-between; align-items:center;}
  .title{font-size:32px; line-height:1.2; margin-bottom:20px;}
  .subtitle{font-size:28px; padding-left:0%; margin-bottom: 20px;}
  .subtitle::after{width:140px; top:0; left:0%;}
  main{padding-top:70px; min-height:calc(100vh - 331px);}
  article{margin-bottom:40px;}
  .card-cont{width:700px; margin:40px auto; padding:20px;}
  .card-expl div.debit {width: 540px;}

  /* FORMULARIOS */
  .cont-form{padding:0px; margin:0 auto; line-height:1.2;}
  .cont-form .row{display:flex; flex-direction:row; align-items: flex-end; gap:20px; margin-bottom:10px; min-width:100%;}
  .cont-form .row.td-right{justify-content:flex-end;}
  .cont-form .td-full{width:100%;}
  .cont-form .td-half{width:50%;}
  .cont-form .td-quart{width:25%;}
  .cont-form div .custom{width:100%;}
  textarea{height:150px;}
  .cont-form label{font-size:14px;}
  .td-center{margin:0 auto;}
}


/* DESKTOP */
@media only screen and (min-width: 67.5625em) {
  body {font-size:18px; line-height:1.5;}
  .cont_burger{display:none;}

  /* INICIO */
  /* estilos generales */
  .flex-content{ padding:0 30px; max-width:1440px; width:100%;}
  .flex-display{display:flex; flex-direction:row; justify-content:space-between; align-items:center;}
  .title{font-size:38px; line-height:1.2; margin-bottom:10px;}
  .subtitle{font-size:32px; padding-left:0%; margin-bottom: 20px;}
  .subtitle::after{width:140px; top:0; left:0%;}
  main{padding-top:70px; min-height:calc(100vh - 331px);}
  article{margin-bottom:40px;}
  .card-cont{width:700px; margin:40px auto; padding:20px;}
  .card-expl div.debit {width: 540px;}


  /* FORMULARIOS */
  .cont-form{padding:0px; margin:0 auto; line-height:1.2;}
  .cont-form .row{display:flex; flex-direction:row; align-items:flex-end; gap:20px; margin-bottom:10px; min-width:100%;}
  .cont-form .row.td-right{justify-content:flex-end;}
  .cont-form .td-full{width:100%;}
  .cont-form .td-half{width:50%;}
  .cont-form .td-quart{width:25%;}
  .cont-form div .custom{width:100%;}
  textarea{height:150px;}
  .cont-form label{font-size:14px;}
  .td-center{margin:0 auto;}


}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

