:root {
    --rgb-purple: 113, 33, 87;
    --color-purple: rgb(var(--rgb-purple));
    --color-purple-07: rgba(var(--rgb-purple), 0.7);

    --rgb-purple-md: 155, 99, 137;
    --color-purple-md: rgb(var(--rgb-purple-md));
    --color-purple-md-03: rgba(var(--rgb-purple-md), 0.3);

    --rgb-purple-trans: 240, 232, 238;
    --color-purple-trans: rgb(var(--rgb-purple-trans));
    --color-purple-trans-07: rgba(var(--rgb-purple-trans), 0.7);

    --color-lemon: #bed600;
    --color-lemon-md: #d0e24c;
    --color-lemon-trans: #f8fbe5;

    --color-cian: #77c3b4;
    --color-cian-md: #9fd5ca;
    --color-cian-md-2: #e4f3f0;
    --color-cian-trans: #f1f9f7;

    --color-black: #5d6770;
    --color-black-md: #8d949a;
    --color-black-trans: #eeeff0;

    --color-grey-1: #d7d7d7;
    --color-grey-2: #f1f1f1;

    --color-error: #ed8c7d;
}

@font-face {
    font-family: Nunito-Regular;
    src: url(../fonts/Nunito-Regular.ttf);
}

@font-face {
    font-family: Nunito-Bold;
    src: url(../fonts/Nunito-Bold.ttf);
}

@font-face {
    font-family: NunitoSans-Regular;
    src: url(../fonts/NunitoSans-Regular.ttf);
}

@font-face {
    font-family: NunitoSans-Bold;
    src: url(../fonts/NunitoSans-Bold.ttf);
}

@font-face {
    font-family: NunitoSans-Light;
    src: url(../fonts/NunitoSans-Light.ttf);
}


body {
    font-family: Nunito-Regular;
    color: var(--color-black);
    font-size: 0.9rem;
}

main {
}

#ue hr {
    border-top: 1px solid rgba(0, 0, 0, 0);
    margin-top: 1px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: NunitoSans-Regular;
}

h1, h3, h5 {
    margin-bottom: 0px;
}

h6 {
    font-size: 18px;
    color: #5D6770;
}

a {
    outline: none;
}

.color-black{
    color: var(--color-black);
}

.color-cian-md{
    color: var(--color-cian-md);
}

.bg-cian-md{
    background: var(--color-cian-md);
}

.color-verde {
    background-color: #77C3B4;
}

.color-blanco {
    color: #F2F2F2;
}

.color-morado {
    color: rgba(114,34,87,0.80);
}

.color-cian {
    color: #77C3B4;
}

.bg-morado {
    background: #722257;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.30);
}

.bg-verde {
    background-color: #BED600;
}

.bg-cian {
    background-color: var(--color-cian);
}
/*---------------------------- UE table   ----------------------------------------------------------------------------*/
#ue table.subtable td{
    padding: 2px 10px;
}
/*---------------------------- UE forms   ----------------------------------------------------------------------------*/
#ue  .form-control.is-invalid{
    border-color: var(--color-error);
}
#ue .invalid-feedback {
    color: var(--color-error);
}

#ue .invalid-feedback a {
  color: var(--color-error);
  font-weight: bold;
}


#ue input[type='file']{
    height: auto;

}

#ue [type="submit"]{
  width: auto;
}

#ue [type="file"]{
  padding: 1px;
}

#ue select{
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#ue .select2-container--bootstrap4 .select2-selection {
  border: 0px !important;
}

#ue .form-control {
    border: 1px solid var(--color-grey-1);
    height: 40px;
    font-size: 1.3em;
    padding: 0 10px;
    color: var(--color-black);
    border-radius: 0;
    font-family: NunitoSans-Light;
}

#ue .input-group-text{
    border-radius: 0;
}

#ue .select:after {
    content: "\f107";
    font-family: 'Font Awesome 5 Free';
    margin-right: 15px;
    right: 15px;
    bottom: 5px;
    font-weight: 600;
    position: absolute;
    font-size: 20px;
    color: var(--color-grey-1);
    z-index: 3;
    pointer-events: none;
}

#ue input[type="checkbox"] {
    height: auto;
    width: auto;
}

/*---------------------------- UE botones ----------------------------------------------------------------------------*/
#ue .btn {
    border-radius: 0px;
    font-family: Nunito-Regular;
}

#ue .btn:not(:disabled):not(.disabled).active:focus,
#ue .btn:not(:disabled):not(.disabled):active:focus,
#ue .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: none;
}
#ue .btn:focus {
    box-shadow: none;
}
#ue .btn-primary:not([disabled]):hover{
    background-color: var(--color-purple-07);
    border: 1px solid var(--white);
}
#ue .btn-primary-light:not([disabled]):hover{
    background-color: var(--color-purple-md-03);
    border: 1px solid var(--color-purple-md-03);
}
#ue .btn-primary {
    color: var(--white);
    background-color: var(--color-purple);
    border: 1px solid var(--color-purple);
}
#ue .btn-primary-light {
    border: 1px solid var(--color-purple);
    color: var(--color-purple);
    background-color: var(--white);
}


/*---------------------------- UE links ------------------------------------------------------------------------------*/
.purple, .purple:hover {
    color: var(--color-purple);
}
.purple-md {
    color: var(--color-purple-md);
}
.purple-md:hover {
    color: var(--color-purple);
}
.link-unstyled {
    color: inherit;
    text-decoration: inherit;
}
.link-unstyled:hover {
    color: inherit;
}
.link-active {
    text-decoration: underline;
}

/*---------------------------- UE Progres bar ------------------------------------------------------------------------*/

#ue .progress-bar{
    background-color: var(--color-purple-md);
}

/*------------------------------------ UE ----------------------------------------------------------------------------*/


/*---------------------------- UE navbar -----------------------------------------------------------------------------*/
#ue .navbar{
  line-height: 2em;
}

#ue .navbar-toggler-icon {
    margin: 3px 0;
    height: 2px;
    background-image: linear-gradient(-126deg, #BED600 0%, #77C3B4 54%, #722257 100%);
}

#ue .navbar-toggler{
    border: none;
}

/*----------------------------------UE  ------------------------------------------------------------------------------*/


.border-left-right {
    border-left: 1px solid;
    border-right: 1px solid;
}

.columna-cms {
    min-height: 400px;
}

#cont-lang {
    display: flex;
    justify-content: center;
}

#cont-lang > p{
    font-family: NunitoSans-Regular;
    color: #F2F2F2;
    font-size: 16px;
    line-height: 27px;
}

.laguage-chooser {
  display: inline;
  color: #722257;
  margin-left:12px;
  margin-right:10px;
}

.laguage-chooser a {
  color: #722257;
}

.rm-chil-margin > * {
    margin-bottom: 0;
}

.rm-margin {
    margin: 0;
}

#logo-brand {
    width: 50px;
}

.navbar-nav > .nav-item > .nav-link, .dropdown-item > .nav-link {
    color: rgba(114,34,87,0.80);
}

.navbar-nav > .nav-item > .nav-link:hover, .dropdown-item > .nav-link:hover {
    text-decoration: underline;
}

.dropdown-menu > .dropdown-item:hover {
    background-color: white;
}

.title-gris-borde-verde {
  background-color: #fafafa;
  padding: 10px 0px;
  margin: 10px 0px 20px 0px;
  border-bottom: 4px solid #77C3B4;
}

.title-gris-borde-verde h3 {
  color: #555555;
}

#content-nav {
    position: relative;
    padding: 0;
}

#nav {
    padding: 0;
}

#nav ul{
    padding-left: 20px;
}

#content-btn {
    position: absolute;
    right: 15px;
    z-index: 1;
    display: none;
}

#content-btn a {
  font-size:14px;
}

#btn-service-menu {
    padding-top: 4px;
}

.b-morado {
    border: 1px solid #722257;
}

.btn:hover:enabled {
    opacity: 0.7;
    border: 1px solid;
}

#cont-icon-toggle{
    display: flex;
    flex-direction: column;
}

.navbar-toggler-icon {
    margin-bottom: 5px;
    height: 2px;
    background-image: linear-gradient(-126deg, #BED600 0%, #77C3B4 54%, #722257 100%);
}


.row-style {
    padding-left: 15px;
    padding-right: 15px;
    justify-content: center;
    align-content: space-between;
}

.small-card {
    border-radius: 0px;
    padding: 0;
    max-width: 322px;
    height: 297px;
    position: relative;
    bottom: 40px;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.20);
    margin-bottom: 20px;
}

.small-card, .small-card > * {
    border: 0;
}

/*------------------------------------------- Cards b4 -----------------------------------------------------------*/

#ue .card-body label {
    font-family: Nunito-Regular;
    font-size: 24px;
    color: #5D6770;
    text-align: center;
}

#ue .card-body .form-group button {
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.30);
    padding-top: 0;
    padding-bottom: 0;
    font-family: Nunito-Regular;
}

#ue .card-body #myCups {
    position: relative;
    top: 15px;
}

/*--------------------------------------------------------------------------------------------------------------------*/


/*------------------------------------------- Cabeceras sin menú -----------------------------------------------------*/
#uenergiaHeader {
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center center;
    height:300px;
    margin-bottom:-10px;
    text-align:center;
    color:#fff;
}
#uenergiaHeader img {
    max-height:60%;
    margin-top:4rem;
}
/*--------------------------------------------------------------------------------------------------------------------*/


/*------------------------------------------- Error 404 / 500---------------------------------------------------------*/
#ue .specialPageContent{
    padding: 10% 0 20% 0;
}
#ue .specialPageContent h1{
    font-weight: bold;
    font-size: 2.8rem;
}
#ue .specialPageContent .infoError{
    width: 40%;
    margin: 0 auto;
}
#ue .specialPageContent .infoError .titles{
    padding-left: 10px;
    border-left: 3px solid;
}

/*--------------------------------------------------------------------------------------------------------------------*/



#myCups {
    display: block;
    text-align: center;
    color: #77C3B4;
}

.form-control::placeholder {
    font-family: NunitoSans-Light;
    font-size: 16px;
    color: #9A9A9A;
}

.custom-select.is-valid, .form-control.is-valid, .was-validated .custom-select:valid, .was-validated .form-control:valid {
    border-color: #9A9A9A !important;
}

ul.errorlist {
  color: #721c24;
  list-display: none;
  margin-top: 10px;
}

.card-header:first-child {
    border-radius: 0px;
}

#promo-content .card-body {
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
}

#mobile-card {
    margin-top: 25px;
    margin-bottom: 30px;
}

.card-body > img {
    max-width: 100%;
    height: auto;
}

#small_logo {
    width: 60px;
    height: 53px;
}

#big-card {
    border-radius: 0px;
    padding: 0;
    max-width: 608px;
}

#big-card, #big-card > * {
    border: 0;
    background-color: white;
}

#big-card .card-body > p {
    font-family: NunitoSans-Regular;
    font-size: 16px;
    color: #002B2E;
    line-height: 22px;
}

#big-card .card-body > p > strong {
    font-family: NunitoSans-Bold;
    font-size: 16px;
    color: #5D6770;
}

#lang, .nav-item, #lang-menu, #myCups {
    font-family: Nunito-Bold;
    font-size: 15px;
}

#lang-menu, #btn-service-menu {
    margin-right: 10px;
}

#h1-habla {
    font-family: Nunito-Regular;
    font-size: 36px;
    color: #5D6770;
    margin-left: 5px;
}

#h2-unirte {
    font-size: 36px;
}

#descripcion {
    padding-top: 0;
}

#btn-info, h2 {
    font-family: Nunito-Regular;
}

.promo-title {
    font-family: Nunito-Regular;
    font-size: 30px;
}

#btn-tarifa {
    font-family: Nunito-Regular;
    font-size: 16px;
}

#gradient, #menu-gradient {
    width: 100%;
    height: 10px;
    background-image: linear-gradient(-126deg, #BED600 0%, #77C3B4 54%, #722257 100%);
}

#menu-gradient {
    height: 5px;
}

#footer-row-style {
    text-align: center;
    line-height: 20px;
    margin-bottom: 25px;
}

.list-footer{
    font-family: Nunito-Bold;
    font-size: 15px;
    color: rgba(114,34,87,0.80);
}

.visible {
    display: inline-block;
}

.hidden, #desktop-img, #lang {
    display: none;
}

#loginmenu {
  display: block-inline;
}

.carousel-item img {
    margin: auto;
}

.desktop-place-text.social .icon-social{
   margin: 10px 3px;
   display: inline-block;
}

.desktop-place-text.social .icon-social:hover {
    text-decoration: none !important;
}

@media screen and (max-width: 992px){
    #ue .specialPageContent .infoError{
        width: 100%;
    }
}

@media screen and (min-width: 760px){

    #lang {
        display: inline-block;
    }

    #loginmenu {
        display: none;
    }

    #lang-menu, #extra-menu, #menu-gradient, #btn-service-menu {
        display: none;
    }

    #cont-lang {
        justify-content: flex-end;
    }

    #content-btn {
        display: inline-block;
    }

    #logo-brand {
        width: auto;
    }

    #logo-brand img {
        max-width: 80%;
    }

    #content-nav {
        position: relative;
        padding-left: 15px;
        padding-right: 15px;
    }

    #nav {
        padding: 8px 0px;
    }

    #nav ul{
        padding-left: 0;
    }

    .row-style {
        justify-content: space-around;
    }

    #mobile-card {
        margin-top: 0;
        margin-bottom: 0;
    }

    .align-bottom-content {
        flex-wrap: wrap;
        align-items: flex-end;
    }

    #desktop-img {
        display: inline-block;
    }

    .desktop-place-text {
        text-align: right;
    }

    #footer-row-style {
        text-align: left;
        line-height: 20px;
    }
}

#h1-habla :nth-child(1){
    margin: 0 0 0 0;
    line-height: 1em;
}


@media screen and (max-width: 649px){
  #slide-img-mobile {
    display: block !important;
  }

  #slide-img {
    min-height: 0;
    display: none !important;
  }
}

@media screen and (min-width: 650px){
    #slide-img-mobile {
        display: none !important;
    }

    #slide-img {
        display: block  !important;
    }
}

.filer_image {
  max-width: 100%
}

h3.text-white{
   font-weight: inherit;
   margin-bottom: 0;
}

.container-cian{
  background-color: var(--color-cian);
  padding: 15px 35px;
}

.line-purple{
  background-color: var(--color-purple);
  margin-bottom: 20px;
  padding: 8px 20px;
}

select.form-control {
    color: #9A9A9A;
}

.cups-info-wrapper {
  margin-bottom: 30px;
}

main > div.container {
    margin-bottom: 40px;
}
