/**
*
* Ficheros de Estilos para landing page
* @author: PGR Marketing & Tecnología
*
**/


/**
*
*  ¡¡ATENCION!!
*  EDITA LOS VALORES DE ABAJO!
*
*/

:root {

    --max-container-size:     1050px;
    --max-container-size-ty:  784px;

    --bg-color:             #FFFFFF;

    --submit-color:         #003163;

    --primary-color:        #0d0d0d;
    --secondary-color:      #003163;

    --b-fsize:                16px;    
    --h1-fsize:               30px;
    --h2-fsize:               26px;
    --h3-fsize:               20px;
    
    --ff:                     'Quicksand', sans-serif;
}

/* 
*  Mete las google fonts aquí debajo!  
*  Ejemplo:  @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800');
*/


@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,600,700&display=swap');

.color-time {
  color: #b40b1a;
}


/** RESET */

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */


  
  /* Sections
     ========================================================================== */
  
  /**
   * Remove the margin in all browsers.
   */
  
  body {
    margin: 0;
  }
  
  /**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  /* Grouping content
     ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
     ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
  a {
    background-color: transparent;
  }
  
  /**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
  
  abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
  
  b,
  strong {
    font-weight: bolder;
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  code,
  kbd,
  samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /**
   * Add the correct font size in all browsers.
   */
  
  small {
    font-size: 80%;
  }
  
  /**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  /* Embedded content
     ========================================================================== */
  
  /**
   * Remove the border on images inside links in IE 10.
   */
  
  img {
    border-style: none;
  }
  
  /* Forms
     ========================================================================== */
  
  /**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
  
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
  }
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
  button,
  input { /* 1 */
    overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
  button,
  select { /* 1 */
    text-transform: none;
  }
  
  /**
   * Correct the inability to style clickable types in iOS and Safari.
   */
  
  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button;
  }
  
  /**
   * Remove the inner border and padding in Firefox.
   */
  
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  /**
   * Restore the focus styles unset by the previous rule.
   */
  
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
  }
  
  /**
   * Correct the padding in Firefox.
   */
  
  fieldset {
    padding: 0.35em 0.75em 0.625em;
  }
  
  /**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
  
  legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  
  /**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
  
  progress {
    vertical-align: baseline;
  }
  
  /**
   * Remove the default vertical scrollbar in IE 10+.
   */
  
  textarea {
    overflow: auto;
  }
  
  /**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
  
  [type="checkbox"],
  [type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
  }
  
  /**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  /**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
  
  [type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
  }
  
  /**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
  
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  /**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
  
  ::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
  }
  
  /* Interactive
     ========================================================================== */
  
  /*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
  
  details {
    display: block;
  }
  
  /*
   * Add the correct display in all browsers.
   */
  
  summary {
    display: list-item;
  }
  
  /* Misc
     ========================================================================== */
  
  /**
   * Add the correct display in IE 10+.
   */
  
  template {
    display: none;
  }
  
  /**
   * Add the correct display in IE 10.
   */
  
  [hidden] {
    display: none;
  }

/** Zona de Estilos */

/* Medida del contenedor */

@media (min-width: 1200px) {
    .container {
      max-width: var(--max-container-size);
    }
    .ty-page .container {
      max-width: var(--max-container-size-ty) !important;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: var(--max-container-size);
    }
    .ty-page .container {
      max-width: var(--max-container-size-ty) !important;
    }
}

.landing-container {
    margin-bottom: 90px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

@media all and (max-width:580px){ 
  .row.landing-container {
    margin-left: 10px;
    margin-right: 10px;
  }
}

/** Clases de Estilos */

h1 {
    color: var(--primary-color);
    font-family: var(--ff);
    font-size: var(--h1-fsize);
    font-weight: 600;
    line-height: calc(var(--h1-fsize) + 6px);
    margin-bottom: 10px;
    margin-top:0;
}

h2 {
    color: var(--secondary-color);
    font-family: var(--ff);
    font-size: var(--h2-fsize);
    font-weight: 300;
    line-height: calc(var(--h2-fsize) + 6px);
    margin-bottom:20px;
    margin-top: 0;
}

h3 {
    color: var(--primary-color);
    font-family: var(--ff);
    font-size: var(--h3-fsize);
    font-weight: 400;
    line-height: calc(var(--h3-fsize) + 6px);
    margin-bottom:16px;
    margin-top: 0;
}

/** Aux Classes */

.img-responsive {
    width: 100%;
    height: auto;
}

.logo {
    margin: 25px auto;
}

body {
    /* background-image: url(../img/welcome-bg.png); */
    background-position: center top;
    background-size: cover;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
}

.white-col {
    background-color: #fff;
}

.gray-col {
    background-color: #f8f8f8;
    border-right:1px solid #f0f0f0;
}

.content-box {
    padding: 30px 30px 50px 30px;
}

.content-box ul {
    list-style-type: none;
    padding-left: 0;
}

.content-box li {
    padding-left: 20px;
    position: relative;    
}

.content-box li:before {
    position: absolute;
    top: 0;
    left: 0;
    font-family: FontAwesome;
    content: "\f101";
    color: var(--secondary-color);
  }

  /** Form */

  .background {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
  
  .form-btn,
  .form-btn-cancel,
  .form-btn-error {
    background: transparent;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 10px 24px;
    margin-top: 2.25rem;
    position: relative;
    z-index: 0;
    transition: transform 0.28s ease;
    will-change: transform;
  }
  
  .form-btn::before,
  .form-btn::after,
  .form-btn-cancel::before,
  .form-btn-cancel::after,
  .form-btn-error::before,
  .form-btn-error::after {
    position: absolute;
    content: "";
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
  }
  
  .form-btn::before,
  .form-btn-cancel::before,
  .form-btn-error::before {
    background: var(--submit-color);
    z-index: -2;
  }
  
  .form-btn::after,
  .form-btn-cancel::after,
  .form-btn-error::after {
    background: #000;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.28s ease;
    will-change: opacity;
  }
  
  .form-btn:focus,
  .form-btn-cancel:focus,
  .form-btn-error:focus {
    outline: none;
  }
  
  .form-btn:focus::after,
  .form-btn:hover::after,
  .form-btn-cancel:focus::after,
  .form-btn-cancel:hover::after,
  .form-btn-error:focus::after,
  .form-btn-error:hover::after {
    opacity: 0.3;
  }
  
  .form-btn:active,
  .form-btn-cancel:active,
  .form-btn-error:active {
    transform: translateY(1px);
  }
  
  .form-btn-error::before {
    background: #d9534f;
  }
  
  .form-btn-cancel {
    transition: color 0.28s ease, transform 0.28s ease;
    color: #b52b27;
    border-color: currentColor;
    will-change: color, transform;
  }
  
  .form-btn-cancel.-nooutline {
    border-color: transparent;
  }
  
  .form-btn-cancel::before {
    background: #b52b27;
    opacity: 0;
    transition: opacity 0.28s ease;
    will-change: opacity;
  }
  
  .form-btn-cancel::after {
    display: none;
  }
  
  .form-btn-cancel:focus,
  .form-btn-cancel:hover {
    color: #fff;
  }
  
  .form-btn-cancel:focus::before,
  .form-btn-cancel:hover::before {
    opacity: 1;
  }
  
  .form-btn-block {
    display: block;
    width: 100%;
    padding: 5px;
  }
  
  .form-checkbox,
  .form-radio {
    position: relative;
    margin-top: 1.55rem;
    margin-bottom: 1.55rem;
    text-align: left;
  }
  
  .form-checkbox-inline .form-checkbox-label,
  .form-radio-inline .form-radio-label {
    display: inline-block;
    margin-right: 1rem;
  }
  
  .form-checkbox-legend,
  .form-radio-legend {
    margin: 0 0 0.6rem 0;
    font-weight: 600;
    font-size: 1rem;
    color: #666;
  }
  
  .form-checkbox-label,
  .form-radio-label {
    position: relative;
    cursor: pointer;
    padding-left: 1.5rem;
    text-align: left;
    color: #666;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .form-checkbox-label:hover i,
  .form-radio-label:hover i {
    color: var(--secondary-color);
  }
  
  .form-checkbox-label span,
  .form-radio-label span {
    display: block;
  }
  
  .form-checkbox-label input,
  .form-radio-label input {
    width: auto;
    opacity: 0.0001;
    position: absolute;
    left: 0.25rem;
    top: 0.25rem;
    margin: 0;
    padding: 0;
  }
  
  .form-checkbox-button {
    position: absolute;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: block;
    color: #999;
    left: 0;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    z-index: 0;
    border: 0.125rem solid currentColor;
    border-radius: 0.0625rem;
    transition: color 0.28s ease;
    will-change: color;
  }
  
  .form-checkbox-button::before,
  .form-checkbox-button::after {
    position: absolute;
    height: 0;
    width: 0.2rem;
    background-color: var(--secondary-color);
    display: block;
    transform-origin: left top;
    border-radius: 0.25rem;
    content: "";
    transition: opacity 0.28s ease, height 0s linear 0.28s;
    opacity: 0;
    will-change: opacity, height;
  }
  
  .form-checkbox-button::before {
    top: 0.65rem;
    left: 0.38rem;
    transform: rotate(-135deg);
    box-shadow: 0 0 0 0.0625rem #fff;
  }
  
  .form-checkbox-button::after {
    top: 0.3rem;
    left: 0;
    transform: rotate(-45deg);
  }
  
  .form-checkbox-field:checked ~ .form-checkbox-button {
    color: var(--secondary-color);
  }
  
  .form-checkbox-field:checked ~ .form-checkbox-button::after,
  .form-checkbox-field:checked ~ .form-checkbox-button::before {
    opacity: 1;
    transition: height 0.28s ease;
  }
  
  .form-checkbox-field:checked ~ .form-checkbox-button::after {
    height: 0.5rem;
  }
  
  .form-checkbox-field:checked ~ .form-checkbox-button::before {
    height: 1.2rem;
    transition-delay: 0.28s;
  }
  
  .form-radio-button {
    position: absolute;
    left: 0;
    cursor: pointer;
    display: block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #999;
  }
  
  .form-radio-button::before,
  .form-radio-button::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    margin: 0.25rem;
    width: 1rem;
    height: 1rem;
    transition: transform 0.28s ease, color 0.28s ease;
    border-radius: 50%;
    border: 0.125rem solid currentColor;
    will-change: transform, color;
  }
  
  .form-radio-button::after {
    transform: scale(0);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
  }
  
  .form-radio-field:checked ~ .form-radio-button::after {
    transform: scale(0.5);
  }
  
  .form-radio-field:checked ~ .form-radio-button::before {
    color: var(--secondary-color);
  }
  
  .form-has-error .form-checkbox-button,
  .form-has-error .form-radio-button {
    color: #d9534f;
  }
  
  .form-card {
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.56s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-width: 500px;
    padding: 0;
    margin: 50px auto;
  }
  
  .form-card:hover,
  .form-card:focus {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  }
  
  .form-card:focus-within {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  }
  
  .form-actions {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    margin-top: 1.25rem;
  }
  
  .form-actions .form-btn-cancel {
    -ms-flex-order: -1;
    order: -1;
  }
  
  .form-actions::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #999;
    opacity: 0.3;
  }
  
  .form-actions > * {
    -ms-flex: 1;
    flex: 1;
    margin-top: 0;
  }
  
  .form-fieldset {
    padding: 0;
    border: 0;
  }
  
  .form-fieldset + .form-fieldset {
    margin-top: 15px;
  }
  
  .form-legend {
    padding: 1em 0 0;
    margin: 0 0 -0.5em;
    font-size: 1.5rem;
    text-align: center;
  }
  
  .form-legend + p {
    margin-top: 1rem;
  }
  
  .form-element {
    position: relative;
    margin-top: 1.55rem;
    margin-bottom: 2rem;
  }
  
  .form-element-hint {
    font-weight: 400;
    font-size: 0.6875rem;
    color: #a6a6a6;
    display: block;
  }
  
  .form-element-bar {
    position: relative;
    height: 1px;
    background: #999;
    display: block;
  }
  
  .form-element-bar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    height: 2px;
    display: block;
    transform: rotateY(90deg);
    transition: transform 0.28s ease;
    will-change: transform;
  }
  
  .form-element-label {
    position: absolute;
    top: 0.75rem;
    line-height: 1.5rem;
    pointer-events: none;
    padding-left: 0.125rem;
    z-index: 1;
    font-size: 1rem;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    color: #888;
    transform: translateY(-50%);
    transform-origin: left center;
    transition: transform 0.28s ease, color 0.28s linear, opacity 0.28s linear;
    will-change: transform, color, opacity;
  }
  
  .form-element-field {
    outline: none;
    height: 1.5rem;
    display: block;
    background: none;
    padding: 0.125rem 0.125rem 0.0625rem;
    font-size: 1rem;
    border: 0 solid transparent;
    line-height: 1.5;
    width: 100%;
    color: #333;
    box-shadow: none;
    opacity: 0.001;
    transition: opacity 0.28s ease;
    will-change: opacity;
  }
  
  .form-element-field:-ms-input-placeholder {
    color: #a6a6a6;
    transform: scale(0.9);
    transform-origin: left top;
  }
  
  .form-element-field::placeholder {
    color: #a6a6a6;
    transform: scale(0.9);
    transform-origin: left top;
  }
  
  .form-element-field:focus ~ .form-element-bar::after {
    transform: rotateY(0deg);
  }
  
  .form-element-field:focus ~ .form-element-label {
    color: #337ab7;
  }
  
  .form-element-field.-hasvalue,
  .form-element-field:focus {
    opacity: 1;
  }
  
  .form-element-field.-hasvalue ~ .form-element-label,
  .form-element-field:focus ~ .form-element-label {
    transform: translateY(-100%) translateY(-0.5em) translateY(-2px) scale(0.9);
    cursor: pointer;
    pointer-events: auto;
  }
  
  .form-has-error .form-element-label.form-element-label,
  .form-has-error .form-element-hint {
    color: #d9534f;
  }
  
  .form-has-error .form-element-bar,
  .form-has-error .form-element-bar::after {
    background: #d9534f;
  }
  
  .form-is-success .form-element-label.form-element-label,
  .form-is-success .form-element-hint {
    color: #259337;
  }
  
  .form-is-success .form-element-bar::after {
    background: #259337;
  }
  
  input.form-element-field:not(:placeholder-shown),
  textarea.form-element-field:not(:placeholder-shown) {
    opacity: 1;
  }
  
  input.form-element-field:not(:placeholder-shown) ~ .form-element-label,
  textarea.form-element-field:not(:placeholder-shown) ~ .form-element-label {
    transform: translateY(-100%) translateY(-0.5em) translateY(-2px) scale(0.9);
    cursor: pointer;
    pointer-events: auto;
  }
  
  textarea.form-element-field {
    height: auto;
    min-height: 3rem;
  }
  
  select.form-element-field {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
  }
  
  .form-select-placeholder {
    color: #a6a6a6;
    display: none;
  }
  
  .form-select .form-element-bar::before {
    content: "";
    position: absolute;
    height: 0.5em;
    width: 0.5em;
    border-bottom: 1px solid #999;
    border-right: 1px solid #999;
    display: block;
    right: 0.5em;
    bottom: 0;
    transition: transform 0.28s ease;
    transform: translateY(-100%) rotateX(0deg) rotate(45deg);
    will-change: transform;
  }
  
  .form-select select:focus ~ .form-element-bar::before {
    transform: translateY(-50%) rotateX(180deg) rotate(45deg);
  }
  
  .form-element-field[type="number"] {
    -moz-appearance: textfield;
  }
  
  .form-element-field[type="number"]::-webkit-outer-spin-button,
  .form-element-field[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
