﻿/* Set Color */

#ga-layout-login,
#ga-layout-login .campos input[type=submit],
.campos h1 + .field-validation-error,
.ga-signature {
    color: #FFF;
}

body,
#ga-layout-login .campos h1,
#ga-layout-login input[type=text],
#ga-layout-login input[type=password],
.ga-span-login,
.ga-a-login:hover {
    color: #333;
}

.ga-a-login,
.ga-span-login {
    color: #777;
}

.ga-editor-field .field-validation-error,
#ResetPasswordArea {
    color: #900;
}

/* End Set Color */

* {
    box-sizing: border-box;
}

.ga-align-center {
    text-align: center;
}

html, body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

body {
    background: url(/Content/img/default/bg-login.jpg) #263c4d;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(20px);
    font-family: Helvetica, Arial, Verdana;
    background-size: cover;
    background-blend-mode: screen;
    font-family: Helvetica, Arial, Verdana;
}

form {
	position: absolute;
	width: 640px;
    height: 344px;
	top: 50%;
	left: 50%;
	margin: -175px 0 40px -320px;
}

.logo-top {
    display: none;
    position: relative;
}

.beta .logo-top:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    background: url(/Content/img/custom/version-stamp-login.png) no-repeat center;
}

#ga-layout-login {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 25px 35px;
	background-color: #FFF;
    border-radius: 4px;
	text-align: center;
}

#ga-layout-login .logo-right {
    float: right;
    background-size: contain;
	width: 245px;
    height: 100%;
}

#ga-layout-login .campos {
    float: left;
    width: 320px;
    height: 100%;
    padding: 0 30px 0 0;
	position: relative;
    border-right: 1px solid var(--primary-dark);
}

#ga-layout-login .campos h1 {
    display: block;
    width: 180px;
    line-height: 32px;
    margin: 0 auto;
    padding: 30px 0;
    font-size: 18px;
    color: var(--primary)
}

#ga-layout-login .campos h1 i {
    float: left;
    font-size: 32px;
}

#ga-layout-login input[type=text],
#ga-layout-login input[type=password] {
    display: block;
    position: relative;
    width: 100%;
    height: 40px !important;
    padding: 0 50px 0 10px;
    border: none;
    background: #DDD;
    border-radius: 8px;
}

#ga-layout-login input[type=text]:focus,
#ga-layout-login input[type=password]:focus {
    outline: none;
    background-color: #EFEFEF;
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.2);
}

#ga-layout-login input[type=text].input-validation-error,
#ga-layout-login input[type=password].input-validation-error {
    border: 1px solid #900;
}

#ga-layout-login .campos input[type=submit] {
    display: block;
 	width: 100%;
	height: 36px;
	margin: 30px auto 0;
    background: var(--features);
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 8px;
}

#ga-layout-login .campos input[type=submit]:hover {
	background: var(--features-hover);
}

.campos h1 + .field-validation-error {
    position: absolute;
    top: 0;
    left: 0;
    width: 290px;
    padding: 20px 10px;
    background: rgba(188,0,0,0.8);
    border: 1px solid rgba(188,0,0,0.6);
    font-size: 12px;
}

.input {
    position: relative;
}

.ga-editor-field .field-validation-error {
    position: absolute;
    top: -13px;
    right: 0;
    font-size: 12px;
}

.input {
    display: block;
    margin-bottom: 20px;
}

.input .fas {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: var(--primary);
    border-radius: 8px;
}

.ga-editor-field i.fa:before {
    opacity: 0.7;
}

.ga-editor-field .field-validation-error + i.fa {
    background: #900;
}

.ga-a-login,
.ga-span-login {
    display: inline-block;
    line-height: 27px;
    font-size: 11px;
    text-decoration: none;
}

.ga-span-login {
    padding: 0 10px;
}


#ResetPasswordArea {
    display: none;
    padding: 10px;
    margin-top: 10px;
}

.ga-signature {
    padding: 10px 10px 0 0;
    text-align: right;
    font-size: 10px;
    line-height: 16px;
}

.ga-signature a {
    display: inline-block;
    float: right;
    width: 79px;
    height: 25px;
    margin-left: 5px;
    margin-top: -1px;
    background: url('/Content/img/Custom/logo-gatec-signature.png') no-repeat center;
    opacity: 0.7;
}

.ga-signature a:hover {
    opacity: 1;
}

.ga-version {
    float: left;
}

/*Custom Client*/

form.client {
    margin: -207px 0 112px -320px;
}

.client .logo-top {
    display: block;
    height: 72px;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    padding-top: 15px;
    background-color: var(--features);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    color: #ffffff;
}

.client .logo-top svg{
    max-width: 90%;
}

.client #ga-layout-login .logo-right {
	display: flex;
    justify-content:center;
    align-content: center;
}

.client #ga-layout-login .logo-right svg{
    max-width: 90%;
}

.client #ga-layout-login .logo.client
{
	background: url('/Content/img/custom/logo-client.png') no-repeat center;
}

.client #ga-layout-login {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/*End Custom Client*/

@media screen and (max-width: 680px) {
    form {
        width: 420px;
        height: 470px;
        top: 50%;
        left: 50%;
        margin: -235px 0 40px -210px;
        padding: 0 20px;
    }

    form.client {
        margin: -271px 0 112px -210px;
    }
    
    #ga-layout-login .logo-right {
        float: initial;
        width: 100%;
        height: 80px;
        margin: 0;
    }

    #ga-layout-login .campos {
        float: initial;
        width: 100%;
        height: initial;
        padding: 0;
        border: none;
    }

    .campos h1 + .field-validation-error {
        width: 100%;
    }

    #ga-layout-login .campos input[type=submit] {
        width: 100%;
        height: 40px;
        margin-bottom: 35px;
    }
}

@media screen and (max-width: 480px) {
    body{
        height: initial;
    }
    form,
    form.client {
        position: initial;
        top: initial;
        left: initial;
        width: 100%;
        height: initial;
        margin: 20px 0;

    }
}