/* -------- 0. RESET -------- */ /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; /* font-size: 100%;*/ /* font: inherit;*/ vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } * { box-sizing:border-box;} /* -------- 1. LAYOUT -------- */ html { font-size: 1rem; } body{ font-family: 'Roboto', sans-serif!important; position: relative } p{ font-weight: 400; font-size: 1rem; line-height: 1.5; letter-spacing: 0px; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{ font-family: 'Exo 2', sans-serif; font-weight: 600; } /*CSS*/ /*Contenedor global*/ .content-global-login{ display: flex; flex-flow: column nowrap; align-items: center; justify-content: center; padding: 10%; width: 100%; height: 100vh; background:url(images/Geros-Login-texture-background.png) no-repeat right top; transition: all 0.5s ease-in-out; } /*Contenedor del gradiente*/ .content-global-login:after{ content: ''; position: absolute; z-index: -1; width: 100%; height: 100vh; /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#025230+0,027847+100 */ background: #025230; /* Old browsers */ background: -moz-linear-gradient(45deg, #025230 0%, #027847 100%); /* FF3.6-15 */ background: -webkit-linear-gradient(45deg, #025230 0%,#027847 100%); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(45deg, #025230 0%,#027847 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#025230', endColorstr='#027847',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ } /*Contenedor login centrado*/ .content-login{ display: flex; align-items: center; justify-content: center; width: 100%; height: 500px; background-color: white; border-radius: 20px; transition: all 0.5s ease-in-out; } /*Contenedor internos*/ .content-logo, .content-input{ height: inherit; display: flex; flex-flow: column nowrap; align-items: center; justify-content: center; transition: all 0.5s ease-in-out; } /*Contenedor de los input*/ .content-input{ width: 100%; border-radius:18px; padding: 15px; transition: all 0.5s ease-in-out; /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#025230+1,04b86d+100 */ background: #025230; /* Old browsers */ background: -moz-linear-gradient(45deg, #025230 1%, #04b86d 100%); /* FF3.6-15 */ background: -webkit-linear-gradient(45deg, #025230 1%,#04b86d 100%); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(45deg, #025230 1%,#04b86d 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#025230', endColorstr='#04b86d',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ } /*Content inputs*/ .content-input form{ width: 100%; } /*Input fondo verde*/ .form-control, .form-control-white {; color: #04B86D; background-color: #025230; transition: all .2s ease-in-out; border: 2px solid #04B86D; } .form-control:hover{ color: #04B86D; border-color: #05F792; background-color:#025230; } .form-control:focus, .form-control-white:focus { border-color: #04B86D; color: black; background-color: white; outline: 0px auto -webkit-focus-ring-color; /*Eliminar outline y sombra al dar click*/ box-shadow:none; /*Eliminar outline y sombra al dar click*/ } /*PARA CAMBIAR EL COLOR DEL PLACEHOLDER*/ .form-control::placeholder { color: #04B86D;} /* Chrome, Firefox, Opera*/ :-ms-input-placeholder.form-control { color: #04B86D; } /* Internet Explorer*/ .form-control::-ms-input-placeholder { color: #04B86D; } /* Microsoft Edge*/ /*PARA CAMBIAR EL COLOR DEL PLACEHOLDER EN ESTADO FOCUS*/ .form-control:focus::placeholder { color: #025230;} /* Chrome, Firefox, Opera*/ :-ms-input-placeholder.form-control:focus { color: #025230; } /* Internet Explorer*/ .form-control:focus::-ms-input-placeholder { color: #025230; } /* Microsoft Edge*/ /*Enlaces en contacto*/ a { color: #027847; transition: all 0.3s ease-in-out; font-weight: 500; display: block; position: relative; } a:hover{ color: #027847; text-decoration: none; } a:before, a:after { content: ''; position: absolute; transition: transform .5s ease; } /*Efecto hover de links*/ .effect-1 { padding-top: 10px; } a.text-white.effect-1:before, a.text-green.effect-1:before { left: 0; bottom: 0px; width: 100%; height: 2px; background: #fff; transform: scaleX(0); } a.text-green.effect-1:before { background: #027847!important; } a.text-white.effect-1:hover:before, a.text-green.effect-1:hover:before { transform: scaleX(1); } /*Campo select*/ select { color: white; width: 100%; background: #025230; border: 2px solid #04B86D; padding: .41rem .75rem; border-radius: .25rem; cursor:pointer; outline: 0px auto -webkit-focus-ring-color; /*quitar online en estado focus*/ } select option:nth-child(even) { background-color:#026B40;} select option:nth-child(odd) { background-color:#027847;} option:checked { color: #BDC7D8; } /*Estilos botón enviar fondo verde*/ .btn-white-success, .btn-green-success { padding: 6px 28px; background-color: #fff; border-radius: 50px; color: #027847; font-weight: 600; border: 2px solid #04B86D; /* width: 100%;*/ } .btn-white-success:hover{ background-color: #025230; color: white; } .btn-white-success:focus { outline: 0px auto -webkit-focus-ring-color; /*Eliminar outline y sombra al dar click*/ box-shadow:none; /*Eliminar outline y sombra al dar click*/ } /*Estilos botón enviar fondo blanco*/ .btn-green-success { background-color: #025230; color: white; } .btn-green-success:hover{ background-color: #fff; color: #027847; } .btn-green-success:focus { outline: 0px auto -webkit-focus-ring-color; /*Eliminar outline y sombra al dar click*/ box-shadow:none; /*Eliminar outline y sombra al dar click*/ } /*========== Mobile First Method ==========*/ /*Extra small devices (portrait phones, less than 576px)*/ /* No media query for `xs` since this is the default in Bootstrap*/ /*Small devices (landscape phones, 576px and up)*/ @media (min-width: 576px) { /*Contenedor de los input*/ .content-input, .content-login{ width: 100%; max-width: 400px; transition: all 0.5s ease-in-out; } } /*Medium devices (tablets, 768px and up)*/ @media (min-width: 768px) { /*Contenedor global*/ .content-global-login{ width: 100%; height: 100vh; } /*Contenedor login centrado*/ .content-login{ max-width: 800px; } /*Contenedor internos*/ .content-logo, .content-input{ width: 50%; } /*Contenedor de los input*/ .content-input{ border-radius: 0px 18px 18px 0px; padding: 60px; } } /*Large devices (desktops, 992px and up)*/ @media (min-width: 992px) { } /*Extra large devices (large desktops, 1200px and up)*/ @media (min-width: 1200px) { }