/*Para centralizar verticalmente com display flex eu dependo dessa classe .height-100 na tag <main>*/
html,body, .height-100{
    height: 100%;
}
body{
    background-image: url("../images/background/background.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.main-flex{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.div-form{
    position: relative;
    background: rgba(0, 0, 0, 0.73);
    border-radius: 20px;
    width: 96%;
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 3px;
    padding-bottom: 3px;
    max-height: 510px;
}
.div-form .quadro{
    margin-bottom: 0;
}
.div-form .quadro .img-quadro{
    width: 200px;
    height: 60px;
}
.div-form .quadro .img-legend{
    position: relative;
    color: #fff;
}
.div-form .quadro .img-legend::after{
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    width: 264px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 2px;
    background: -webkit-gradient(linear, left top, right top, color-stop(41.3%, #7F7B40), color-stop(84%, #DC673F));
    background: linear-gradient(to right, #7F7B40 41.3%, #DC673F 84%);
}
/* Paises */
.lista-paises{
    bottom: -6px;
} 
.lista-paises li{
    display: inline-block;
}
.lista-paises .br{
    background-image: url(../images/paises/brazil.svg);
}
.lista-paises .us{
    background-image: url(../images/paises/united-states.svg);
}
.lista-paises .es{
    background-image: url(../images/paises/spain.svg);
}
.lista-paises .br,
.lista-paises .us,
.lista-paises .es{
    position: relative;
    margin-right: 0.5rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.br-style::after,
.us-style::after,
.es-style::after{
    content: '';
    position: absolute;
    bottom: -4px;
    width: 100%;
    height: 4px;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 3px rgba(255,255,255,.2);
    box-shadow: 0 0 0 3px rgba(255,255,255,.2);
}
.br-style::after{    
    background: #73AF00;
}
.us-style::after{    
    background: #41479B;
}
.es-style::after{    
    background: #FFD250;
}
.form-group label{
    color: #fff;
    margin-top: .5rem;
}
.div-form .input-group-prepend{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.div-form .input-group-text{
    background: #DC673F;
}
.div-form .icon-login{
    color: #fff;
}
.div-form .user,
.div-form .pass{
    padding: .175rem .75rem;
}
.div-form .pass{
    padding-right: 2rem !important;
    border-top-right-radius: .25rem !important;
    border-bottom-right-radius: .25rem !important;
}
.div-form .icon-visibility{
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 8px;
    z-index: 10;
    cursor: pointer;
}
.div-form .icon-visibility:hover{
    color: rgba(0,0,0,.8);
}
.div-form .btn-login{
    background: none;
    border: 2px solid #6EB531;
    color: #6EB531;
    -webkit-transition: .3s;
    transition: .3s;
    width: 100%;
    padding: .4rem 1rem;
    font-size: 1.25rem;
}
.div-form .btn-login:focus{
	-webkit-box-shadow: none;
	box-shadow: none;
}
.div-form .btn-login:hover{
    background: #6EB531;
    color: #fff;
}
.div-form .endereco{
    font-size: .9rem;
    color: #fff;
}
.div-form .icon-address{
    font-size: 1.5rem;
}
.div-form .location,
.div-form .phone{
    font-size: 20px;
}
.div-form .icon-facebook-squared:hover{
    color: #3b5998;
}
.div-form .icon-linkedin-squared:hover{
    color: #007bb6;
}
.div-form .icon-instagram-1:hover{
    color: #5851db;
}
.div-form .icon-linkedin-squared:hover,
.div-form .icon-facebook-squared:hover,
.div-form .icon-instagram-1:hover{
    -webkit-box-shadow: 0 0 10px #fff;
    box-shadow: 0 0 10px #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 1);
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}
.div-form .icon-facebook-squared,
.div-form .icon-linkedin-squared,
.div-form .icon-instagram-1{
    display: inline-block;
    color: #fff;
    -webkit-transition: .3s;
    transition: .3s;
    -webkit-transition-property: color, -webkit-transform;
    transition-property: color, -webkit-transform;
    transition-property: transform, color;
    transition-property: transform, color, -webkit-transform;
}

/*Sobrescrevendo Bootstrap*/
.form-control:focus {
    color: #495057;
    background-color: #fcfdd8 !important;
    border-color: transparent;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.alert {
    padding: 0; 
    border: none; 
}
@media (min-width: 375px){
    
    .div-form{
        max-height: 100%;
    }
    .div-form .endereco{
        font-size: .95rem;
    }
    .div-form .location,
    .div-form .phone{
        font-size: 23px;
    }
    .div-form .icon-address{
        font-size: 1.7rem;
    }
    .lista-paises .br,
    .lista-paises .us,
    .lista-paises .es{
        width: 33px;
        height: 33px;
    }
}
@media (min-width: 500px){
    .div-form .endereco{
        font-size: 1rem;
    }
    .div-form .location,
    .div-form .phone{
        font-size: 24px;
    }
    .div-form .icon-address{
        font-size: 1.8rem;
    }
    .lista-paises .br,
    .lista-paises .us,
    .lista-paises .es{
        width: 35px;
        height: 35px;
    }
}
@media (min-width: 575px){
    .div-form .user,
    .div-form .pass{
        padding: .375rem .75rem;
    
    }
    .div-form .btn-login{
        padding: .5rem 1rem;
        font-size: 1.25rem;
        line-height: 1.5;
        border-radius: .3rem;
    }
}
@media(min-width: 768px){
    .div-form{
        width: 526px;
    }
}




/* CSS TELENSAT */
/* Classes Gerais */
.flex {display: flex; flex-flow: wrap; justify-content: center; align-items: center;}
.height {min-height: 100vh;}
/**/

/* Login */
#login {}
#login .box {padding: 10px; background: rgba(255, 255, 255, 0.85); border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px;}
#login .box img {width: 100%; max-height: 100px; object-fit: contain; margin: 20px 0; padding: 0 10px;}
#login .box .btn-login {margin: 10px 0 0 0; width: 100px; text-transform: uppercase; font-weight: 600; color: #FFF; background: linear-gradient(to top, #00152C 0%, #003E80 100%); border: 2px outset #003E80; transition: all 0.4s ease-in-out; -webkit-transition: 0; -moz-transition: all 0.4s ease-in-out;}
#login .box .btn-login:hover {background: linear-gradient(to top, #003E80 0%, #00152C 100%); color: #FFF; border-color: #003E80; border-style: inset;}
#login .box .btn-login:focus {outline: none; box-shadow: none;}
#login .box .btn-login:active {outline: none; box-shadow: none;}
#login .box .input-group:nth-child(1n) {margin: 0 0 10px 0;}
#login .box .input-group:nth-child(2n) {margin: 0;}
#login .box .input-group input:focus {outline: none; box-shadow: unset; z-index: 2;}
#login .box .input-group .input-group-text {border-radius: unset; width: 40px;}
#login .box .input-group .absolute {position: absolute; right: 0; top: 0; z-index: 2; cursor: pointer; width: 35px; height: 100%; display: flex; align-items: center; justify-content: center;}
#login .box .flex p {width: 100%; text-align: right; margin: 10px 0 0 0;}
#login .box .flex p a {color: #000; text-transform: uppercase; font-size: 14px; font-weight: 600;}
#login .box .flex p a:hover {color: #0000A3;}
#login .box .social {width: 100%; position: relative; display: flex;}
#login .box .social a {display: flex; align-items: center; width: auto; height: 35px; float: right; color: #000;}
#login .box .social a svg {margin: 0 5px -4px 5px; font-size: 22px;}
#login .box .social a:hover {color: #0000A3;}
#login .box .social .facebook {font-size: 25px; margin: 0 5px 0 0; color: #080835;}
#login .box .social .facebook:hover {color: #3B5998;}
#login .box .social .instagram {font-size: 25px; margin: 0 0 0 5px; color: #080835;}
#login .box .social .instagram:hover {color: #BC2A8D;}
#login .box .social .column {display: flex; justify-content: center;}
#login .box .social .column:nth-child(1n) {width: 35%; flex: 0 0 35%;}
#login .box .social .column:nth-child(2n) {width: 35%; flex: 0 0 35%; justify-content: flex-end;}
#login .box .social .column:nth-child(3n) {width: 30%; flex: 0 0 30%; justify-content: flex-end;}

#login .box .social #countrylist {padding: 0; margin: 0;}
#login .box .social #countrylist li {display: inline-block;}
#login .box .social #countrylist li .icone {width: 30px; height: auto; margin: 0 5px; padding: 0; cursor: pointer;}
#login .box .social #countrylist li:hover .icone {transform: translateY(-5px);}
#login .box .social #countrylist .active {position: relative;}
#login .box .social #countrylist .active::before {content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 90%; height: 4px; border-radius: 100%; box-shadow: 0 0 1px 1px #101010; -webkit-box-shadow: 0 0 1px 1px #101010; -moz-box-shadow: 0 0 1px 1px #101010; -ms-box-shadow: 0 0 1px 1px #101010; -o-box-shadow: 0 0 1px 1px #101010;}
#login .box .social #countrylist .active img {position: relative; transform: translateY(-5px);}
#login .box .social #countrylist .active.br::before {background: #73AF00;}
#login .box .social #countrylist .active.es::before {background: #FFD250;}
#login .box .social #countrylist .active.en::before {background: #41479B}
/**/

@media screen and (min-width: 576px) and (max-width: 1199px) {
	#login .box .social {flex-flow: wrap; flex-direction: row;}
	#login .box .social .column:nth-child(1n) {width: 100%; flex: 0 0 100%;}
	#login .box .social .column:nth-child(2n) {width: 50%; flex: 0 0 50%; justify-content: center;}
	#login .box .social .column:nth-child(3n) {width: 50%; flex: 0 0 50%; justify-content: center;}
}

@media screen and (max-width: 438px) {
	#login .box .social {flex-flow: wrap; flex-direction: row;}
	#login .box .social .column:nth-child(1n) {width: 100%; flex: 0 0 100%;}
	#login .box .social .column:nth-child(2n) {width: 50%; flex: 0 0 50%; justify-content: center;}
	#login .box .social .column:nth-child(3n) {width: 50%; flex: 0 0 50%; justify-content: center;}
}

@media screen and (max-width: 322px) {
	#login .box .social .left {width: 52%; flex: 0 0 52%;}
	#login .box .social .right {width: 48%; flex: 0 0 48%;}
}