/*
* CLOVER-SGM
*/


@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://example.com/MaterialIcons-Regular.eot); /* For IE6-8 */
  /* src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(https://example.com/MaterialIcons-Regular.woff2) format('woff2'),
    url(https://example.com/MaterialIcons-Regular.woff) format('woff'),
    url(https://example.com/MaterialIcons-Regular.ttf) format('truetype'); */
}

.text-l{
  text-align: left;
}
.text-r{
  text-align: right;
}
.text-c{
  text-align: center;
}
.text-j{
  text-align: justify;
}
.hidden {
  display: none;
}
.hidden.active {
  display: block;
}
.green {
  color: #8dc95d;;
}
.red {
  color: red;
}
.container > * {
  padding: 2em 0 0;
}
.container.index{
  max-width: 720px;
}
h1 {
  font-size: calc(1.66em + 1vw);
  margin-top: .6em;
}

section.login .acceder{
  max-width: 400px;
  margin: 0 auto;
  border: solid 1px;
  padding: 2em 4em;
  border-radius: .2em;
}

section.login form input.submit {
  display: block;
  width: 100%;
}
.bienvenida .button,
nav .button,
form .button {
  color: #FFF;
  background-color: #ed8600;
  border-color: #d57741;
  font-size: 1em;
}
.bienvenida .button:hover,
.bienvenida .button.active,
nav .button:hover,
nav .button.active,
form .button:hover,
form .button.active {
  color: #FFF;
  background-color: #9c055c;
  border-color: #d57741;
}

.btn.blue {
  color: #FFF;
  background-color: #005fa8;
  border-color: #005fa8;
}

.btn.blue:hover,
.btn.blue:focus {
  color: #FFF;
  background-color: #1473bd;
  border-color: #005fa8;
}
.btn.green {
  color: #FFF;
  background-color: #7eb750;
  border-color: #76b25e;
}
.btn.green:hover,
.btn.green:focus  {
  color: #FFF;
  background-color: #8dc95d;
  border-color: #76b25e;
}

section > form > article > blockquote {
  border: solid 1px #ed8600;
  margin: 0;
  padding: 4em 2em 2em;
  border-radius: 4px;
  margin-bottom: 1em;
  position: relative;
}
article > blockquote > h3 {
  color: #fff;
  font-weight: bold;
  position: absolute;
  top: 0px;
  left: 0px;
  background: #ed8600;
  padding: .2em .5em;
  border-radius: 0 0 .5em 0;
  font-size: 1.2em;
  letter-spacing: -.02rem;
}
article > blockquote > .bloque {
  margin: 0 0 2em;
}
article > blockquote > .bloque > h5{
  margin-bottom: .5em;
  font-size: 1.2em;
  text-align: justify;
  line-height: 1.5em;
}
article > blockquote > .bloque > h5 > span {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 85%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px;
  font-weight: bold;
}
article > blockquote > .bloque .content-radio{
  width: 2.5em;
  height: 2.5em;
  float: left;
  margin-right: 1em;
}
article > blockquote > .bloque .contents-radio .content-radio:nth-child(3){
  margin-right: 3em;
}
article > blockquote > .bloque .contents-radio .content-radio:nth-child(6){
  margin-right: 3em;
}
article > blockquote > .bloque label {
  position: relative;
  cursor: pointer;
}
article > blockquote > .bloque label img{
  pointer-events: none;
}
article > blockquote > .bloque input {
  opacity: 0;
  position: absolute;
  z-index: -1;
}
article > blockquote > .bloque input:checked + label {
  background-color: #a4c97c;
}
article > blockquote > .bloque .content-radio {
  overflow: hidden;
  border-radius: 50px;
  cursor: pointer;
}
article > blockquote > .bloque .contents-radio .content-radio:nth-child(1) input:checked + label{
  background-color: #f34a26;
}
article > blockquote > .bloque .contents-radio .content-radio:nth-child(2) input:checked + label{
  background-color: #ef6d36;
}
article > blockquote > .bloque .contents-radio .content-radio:nth-child(3) input:checked + label{
  background-color: #e79732;
}
article > blockquote > .bloque .contents-radio .content-radio:nth-child(4) input:checked + label{
  background-color: #dab21e;
}
article > blockquote > .bloque .contents-radio .content-radio:nth-child(5) input:checked + label{
  background-color: #d7e60f;
}
article > blockquote > .bloque .contents-radio .content-radio:nth-child(6) input:checked + label{
  background-color:#c3c800;
}
article > blockquote > .bloque .contents-radio .content-radio:nth-child(7) input:checked + label{
  background-color: #92c115;
}
article > blockquote > .bloque .contents-radio .content-radio:nth-child(8) input:checked + label{
  background-color:  #63d32b;
}
article > blockquote > .bloque .contents-radio .content-radio:nth-child(9) input:checked + label{
    background-color: #3ec515;
}

.alert > h4 {
  font-weight: bold;
  border-radius: .5em;
  border: solid 2px #8dc95d;
  padding: .5em;
}

.bienvenida p,
.bienvenida li,
.bienvenida .form-control,
.bienvenida .form-group label {
  font-size: 1.5em;
}

.bienvenida ul {
  list-style: none;
  margin-left: 1em;
}

.bienvenida ul img{
  vertical-align: text-bottom;
  width: 18px;
}
.resumen table img.puntos {
  width: 30px;
}
.resumen h5 {
  font-weight: bold;
}
.resumen h6 {
  background-color: #ed8600;
  padding: .4em 1em;
  border-radius: .4em;
  font-weight: bold;
}
.resumen table tbody tr td:nth-child(3) {
  text-align: center;
}
.container > footer {
  text-align: center;
  padding-bottom: 2em;
}
footer a {
  color: #9c055c;
}
footer a:hover,
footer a:focus {
  text-decoration: none;
  color: #9c055c;
}

/* MODAL
–––––––––––––––––––––––––––––––––––––––––––––––––– */


.modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.65);
	visibility: hidden;
	backface-visibility: hidden;
  opacity: 0;
  transition: opacity .15s ease-in-out;
}
.modal.modal-open {
  visibility: visible;
  backface-visibility: visible;
  opacity: 1;
  z-index: 1;
}

.modal .modal-inner {
  position: relative;
  height: 100%;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.modal .modal-content {
  background-color: white;
  max-width: 35em;
  padding: 1em 1.2em 1em 1.5em;
  position: relative;
  margin: 2em;
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.35);
}
.modal .modal-close-icon {
  position: absolute;
  right: 0.9em;
  top: .9em;
}
.modal .modal-close-icon a {
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5em;
  border: solid 1px #9f9f9f;
  border-radius: .2em;
  color: #9f9f9f;
  width: 1.5em;
  height: 1.5em;
  display: block;
  text-align: center;
  line-height: 1.5em;
}
.modal .modal-content-inner {
  padding-right: 2em;
  overflow-x: auto;
  max-height: 480px;
  border-top: solid 1px #dfdfdf;
  border-bottom: solid 1px #dfdfdf;
}
.modal h1,
.modal h2,
.modal h3,
.modal h4,
.modal h5,
.modal h6 {
  margin-bottom: 0.25em;
}

.modal  p {
  margin-bottom: 1em;
  text-align: justify;
}

.modal .modal-buttons-seperator {
  margin: 1.5em 0;
  margin-top: 0;
}

.modal .modal-buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding-top: 1em;
}
.modal  button {
  margin-left: 0;
  margin-bottom: 0;
}



/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/


/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {
  nav > .button.one-third.column {
    width: 100%;
    margin-left: 0;
  }
}

/* Larger than tablet */
@media (min-width: 750px) {
  nav .button.one-third.column {
    width: 30.6666666667%;
    margin-left: 4%;
  }
  nav .button.one-third.column:first-child {
    margin-left: 0;
  }
}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}



.content-radio:hover label img{
	-webkit-animation: heartbeat 1.5s ease-in-out infinite both;
	        animation: heartbeat 1.5s ease-in-out infinite both;
}
.content-radio:hover input:checked + label img {
  -webkit-animation: none;
  animation: none;
}

.bloques.seccion.hidden.active {
	-webkit-animation: swing-in-top-fwd 1s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
	        animation: swing-in-top-fwd 1s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
}


/**
 * ----------------------------------------
 * animation heartbeat
 * ----------------------------------------
 */
 @-webkit-keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}

/**
 * ----------------------------------------
 * animation swing-in-top-fwd
 * ----------------------------------------
 */
 @-webkit-keyframes swing-in-top-fwd {
  0% {
    -webkit-transform: rotateX(-100deg);
            transform: rotateX(-100deg);
    -webkit-transform-origin: top;
            transform-origin: top;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
    -webkit-transform-origin: top;
            transform-origin: top;
    opacity: 1;
  }
}
@keyframes swing-in-top-fwd {
  0% {
    -webkit-transform: rotateX(-100deg);
            transform: rotateX(-100deg);
    -webkit-transform-origin: top;
            transform-origin: top;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
    -webkit-transform-origin: top;
            transform-origin: top;
    opacity: 1;
  }
}
.err{
	text-align: center;
    color: red;
}