/*
 * EXTREMANET CONSULTORES TECNOLOGICOS S.L.
 */

/* Cambios en el estilo de la app */
.page__background {
    background: #FFFFFF;
}
.back-button {
    color: #FFFFFF;
}
.bg-ventana-azul .page__background {
    background: #31A2C6;
}
.bg-cinta .page__background {
    background-image: url('../img/cinta.png');
    background-size: 300% auto;
    background-position: center 7em;
    background-repeat: no-repeat;
    overflow: hidden;
}
.bg-cinta .page__content {
    overflow: hidden;
}

/* Estilos propios */
.bg-ppal {
    background: #31A2C6;
}
.bg-ppal div {
    color: #FFFFFF;
}
.bg-ppal2 {
    background: #B90039;
}
.bg-ppal2 div {
    color: #FFFFFF;
}
.img-80 {
    width: 80%;
    height: auto;
}
.width-30 {
    width: 30%;
    height: auto;
    margin: auto;
}
.width-40 {
    width: 40%;
    height: auto;
    margin: auto;
}
.width-50 {
    width: 50%;
    height: auto;
    margin: auto;
}
.width-60 {
    width: 60%;
    height: auto;
    margin: auto;
}
.width-70 {
    width: 70%;
    height: auto;
    margin: auto;
}
.width-80 {
    width: 80%;
    height: auto;
    margin: auto;
}
.width-85 {
    width: 85%;
    height: auto;
    margin: auto;
}
.width-90 {
    width: 90%;
    height: auto;
    margin: auto;
}
.width-100 {
    width: 100%;
    height: auto;
    margin: auto;
}
.width-auto {
    width: auto;
    display: inline-block;
}
.padding-5 {
    padding: 5px;
}
.padding-10 {
    padding: 10px;
}
.padding-15 {
    padding: 15px;
}
.margin-2 {
    margin: 2px !important;
}
.bg-azul {
    background: #31A2C6;
}
.bg-azul:active {
    background: #31A2C6;
    opacity: 0.7;
}
.bg-naranja {
    background: #F37F1E;
}
.bg-naranja:active {
    background: #F37F1E;
    opacity: 0.7;
}
.bg-verde {
    background: #39AB3A;
}
.bg-verde:active {
    background: #39AB3A;
    opacity: 0.7;
}
.bg-rojo {
    background: #CD0C49;
    color: #FFF;
}
.bg-rojo:active {
    background: #CD0C49;
    opacity: 0.7;
}
.bg-gris {
    background: #909090;
}
.bg-gris:active {
    background: #909090;
    opacity: 0.7;
}
.bg-gris-claro {
    background: #E6E6E6;
    color: #505050;
}
.bg-gris-claro:active {
    background: #E6E6E6;
    opacity: 0.7;
}
.bg-azul-mensaje {
    background: #31A2C6;
    color: #FFFFFF;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.bg-azul-mensaje:active {
    background: #31A2C6;
    opacity: 0.7;
}
.bg-gris-mensaje {
    background: #f3f3f4;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.bg-gris-mensaje:active {
    background: #f3f3f4;
    opacity: 0.7;
}

.btn-acceso {
    border: none;
    background: transparent;
    background-image: url('../img/cajaroja.png');
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    color: #FFF;
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 220px;
    height: 90px;
    line-height: 100px;
    margin-left: -110px;
    vertical-align: middle;
    text-align: center;
}
.btn-acceso:active {
    border: none;
    background: transparent;
    background-image: url('../img/cajaroja.png');
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.7;
}
.btn-metodo, .btn-contacta, .btn-revision {
    position: absolute;
    right: -10px;
    width: auto !important;
    padding-left: 25px !important;
    padding-top: 4px;
    min-width: 80px;
}

.radio-azul {
    border-color: #31A2C6;
    color: #31A2C6;
}
.text-left {
    text-align: left;
}
.text-left-input input {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-justify {
    text-align: justify !important;
}
.text-white, .text-white .tab-bar__label {
    color: #FFFFFF;
}
.text-azul {
    color: #31A2C6;
}
.text-gris {
    color: #989898;
}
.image-cropper {
    width: 150px;
    height: 150px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    text-align: center;
}
.image-cropper img {
    display: inline;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.img-lg {
    width: 150px !important;
    height: 150px !important;
}
.img-md {
    width: 90px !important;
    height: 90px !important;
}
.img-sm {
    width: 70px !important;
    height: 70px !important;
}
.img-xs {
    width: 50px !important;
    height: 50px !important;
}
.img-perfil {
    /*width: 35%;*/
    width: 90%;
    height: auto;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.img-perfil-especialista {
    /*width: 35%;*/
    width: 90%;
    height: auto;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    max-width: 80px;
    max-height: 80px;
}
.img-circle {
    width: 40px;
    height: 40px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
.img-responsive {
    width: 100%;
    height: 100%;
}
.circulo {
    width: 30px;
    height: 30px;
    display: inline-block;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    vertical-align: middle;
}
.Lato {
    font-family: Lato;
}
.font-small {
    font-size: 8pt !important;
}
.font-medium {
    font-size: 10pt !important;
}
.font-large {
    font-size: 13pt !important;
}
.font-xlarge {
    font-size: 20pt !important;
}
.font-xxlarge {
    font-size: 28pt !important;
}
.border-right {
    border-right: 1px solid #979797;
}
.border-bottom {
    border-bottom: 1px solid #979797;
}

.cargando-view {
    display: block;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    z-index: 99999;
    position: relative;
    text-align: center;
}
.cargando-view ons-progress-circular {
    margin-top: 85% !important;
}
.cargando-view ons-progress-circular .progress-circular__primary {
    stroke: #FFFFFF !important;
}
.caja-peso {
    width: 90%;
}
.caja-peso input {
    height: 50px;
    font-size: 25pt;
    text-align: right;
}
.caja-peso.text-white input {
    color: #FFFFFF;
}
.scroll-vertical {
    overflow-x: hidden;
}
.scroll-vertical .page__content {
    overflow-x: hidden;
}
.ampliar-view {
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    text-align: center;
    vertical-align: middle;
}
.ampliar-view img {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    margin:auto;
    width: 100%;
}
.textarea {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  line-height: normal;
  font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  font-size: 17px;
  vertical-align: top;
  resize: none;
  outline: none;
  padding: 5px 5px 5px 5px;
  font-size: 15px;
  font-weight: 400;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  color: #1f1f21;
  letter-spacing: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-appearance: none;
}
.textarea:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.textarea::-webkit-input-placeholder,
.textarea::-moz-placeholder,
.textarea:-ms-input-placeholder {
  color: #999;
}

.badge-mensajes {
    background-color:#00BBD3;
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    border-radius:50%;
    color:white;
    font-weight: bold;
    width:22px;
    height:22px;
    line-height:22px;
    text-align:center;
    display:block;
    margin-right:5px;
    vertical-align: middle;
}
.badge-mensajes-seleccion {
    background-color:#00BBD3;
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    border-radius:50%;
    color:white;
    font-weight: bold;
    width:28px;
    height:28px;
    line-height: 28px;
    text-align:center;
    display:block;
    margin-right: 5px;
}
#chat_mensajes {
    position: relative !important;
    margin-bottom: 20px;
}
.btn-calculadora {
    text-align: center;
    font-weight: 500;
    color: #FFFFFF;
    font-size: 17pt !important;
    text-decoration: none;
}
.btn-calculadora img {
    width: 97%;
}
.btn-permitido {
    height:100px !important;
    line-height:100px !important;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 17pt !important;
    font-weight: 500;
}

#el_metodo_content ons-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10px;
}
#el_metodo_content ons-col h4 {
    font-weight: bold;
    white-space: nowrap;
}
.version {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-weight: bold;
    font-size: 12px;
    color: #31A2C6;
}

/*VERSION WEB APP 2024*/

::-webkit-scrollbar{
	width: 5px;
	height: 5px;
}
::-webkit-scrollbar-thumb{
	background: #31A2C6;
	border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover{
	background: #B3AFB3;
}
::-webkit-scrollbar-track{
	background: #F2F2F2;
	border-radius: 5px;
	box-shadow: inset 0px 0px 0px 0px #F0F0F0;
}

.search-input {
    height: 39px;
    border: none;
    margin-top: -3px;
    padding-left: 39px;
}
#chat_titulo {
    padding-bottom: 10px;
}
#chat_titulo small {
    font-weight: normal;
    font-size: 11px;
    opacity: .7;
}
.img-chat {
    object-fit: cover;
}
#curso_actual, #curso_actual_evo {
    background: #F37F1E !important;
    border-radius: 15px !important;
    padding: 8px 22px !important;
    margin: 15px 24px !important;
}
@media (min-width: 769px) {
    .page__content {
        max-width: 900px;
        margin: auto;
    }
    .button {
        cursor: pointer;
    }
    .bg-cinta .page__background {
        /* background-size: 100%;
        background-position: center bottom; */
        background-image: none;
    }
    img[src="img/logo.jpg"] {
        width: 290px;
    }
    #index .page__content {
        max-width: unset;
        margin: unset;
    }
    #index .navigation-bar {
        display: none;
    }
    #index .btn-acceso {
        background-image: none;
        bottom: unset;
        top: 200px;
        background-color: #D00053;
        border-radius: 10px;
        height: auto;
        padding: 12px 30px;
        line-height: 1.2em;
        box-shadow: 0 0 10px #565656;
        cursor: pointer;
    }
    #login div.width-60 {
        text-align: center;
    }
    #login ons-button {
        float: none;
        width: 200px;
    }
    #perfil_especialista ons-list {
        display: flex;
        flex-wrap: wrap;
    }
    #perfil_especialista ons-list ons-list-item:not(.paging_next) {
        width: 50%;
        border: 1px solid #F1F1F1;
    }
    #perfil_especialista ons-list ons-list-item:not(.paging_next) {
        width: 50%;
        border: 1px solid #F1F1F1;
        box-shadow: none;
        margin: 0;
    }
    .btn-calculadora img {
        width: 60%;
        margin: auto;
        display: block;
    }
    #imagen_calcular {
        width: 200px;
    }
    #curso_actual, #curso_actual_evo {
        display: inline-block;
    }
}
