@import "compass/reset";
@import "compass/css3";
@import "compass/utilities";
@import "compass/css3/user-interface";
*, *:before, *:after {
    @include box-sizing(border-box);
    padding: 0;
    margin: 0;
}

$preto: #191718;
$branco: #ffffff;
$laranja: #d66c20;
$verde:#66A500;


$colunas: 12;
@for $i from  1 through $colunas {
    %coluna-#{$i} { 
        width: percentage(($i / $colunas));
        float: left;
        display: block;
        padding-left: 15px;
        padding-right: 15px;
        //width: 100% / 12 * $i;
    }
}

html{
    min-height: 100%;
    background: image-url('bg.jpg') no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
body{ 
    font-size: 14px; 
    color:#333;
    min-height: 100%;
    font-family: 'Work Sans', sans-serif;
}

a{
    text-decoration: none;
}
.container{
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    background: rgba(25,23,24,1);
    background: -moz-linear-gradient(top, rgba(25,23,24,1) 0%, rgba(25,23,24,0) 95%, rgba(25,23,24,0) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(25,23,24,1)), color-stop(95%, rgba(25,23,24,0)), color-stop(100%, rgba(25,23,24,0)));
    background: -webkit-linear-gradient(top, rgba(25,23,24,1) 0%, rgba(25,23,24,0) 95%, rgba(25,23,24,0) 100%);
    background: -o-linear-gradient(top, rgba(25,23,24,1) 0%, rgba(25,23,24,0) 95%, rgba(25,23,24,0) 100%);
    background: -ms-linear-gradient(top, rgba(25,23,24,1) 0%, rgba(25,23,24,0) 95%, rgba(25,23,24,0) 100%);
    background: linear-gradient(to bottom, rgba(25,23,24,1) 0%, rgba(25,23,24,0) 95%, rgba(25,23,24,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#191718', endColorstr='#191718', GradientType=0 );
    &:after{
        clear: both;
        content: "";
        display: block;
    }
    display: table;
}

.row{
    display: table-row;
}

.logo{
    /*    @extend %coluna-12; */
    /*    margin-top: 30px;*/
    /*    margin-bottom:30px;*/
    padding-top: 40px;
    padding-bottom: 15px;
    display: table-cell;
    vertical-align: top;
    a{
        display: block;
        margin:0 auto;
        text-align: center;
        max-width: 280px;
    }
    img{
        height: auto;
        max-width: 100%;
    }
}

.formTitle{
    @extend %coluna-12; 
    h1{
        color: $laranja;
        font-weight: 700;
        font-size: 30px;
        text-align: center;
        font-family: 'Work Sans', sans-serif;
    }  
}

.formulario{
    @extend %coluna-12; 
    margin-top: 35px;
    padding-bottom: 15px;
    form{
        @extend %coluna-11; 
        float: none;
        margin: 0 auto;
    }
    .campo{
        float: left;
        width: 100%;
        height: 45px;
        border: none;
        background: rgba($branco, 0.2);
        color: $branco;
        outline: none;
        font-size: 14px;
        @include border-radius(20px);
        margin-bottom: 25px;
        padding: 15px;
        @include transition(all 0.4s ease);
        @include input-placeholder {
            color: $branco;
            font-family: 'Work Sans', sans-serif;
        }
        &:focus{
            @include input-placeholder {
                color:transparent;;
            }
        }
    } 
    .entrar{
        width: 120px;
        height: 45px;
        border: none;  
        font-size: 14px;
        background: $laranja;
        color: $branco;
        @include border-radius(20px);
        font-family: 'Work Sans', sans-serif;
        font-weight: 700;
        outline: none;
        cursor: pointer;
        @include transition(all 0.4s ease);
        display: block;
        margin:0 auto;
        &:hover{
            background: lighten($laranja, 15%);
        }
    }
    .reenviar_senha{
        width: 140px;
    }
} 

.perfil{
    float: left;
    width: 100%;  
    margin-bottom: 15px;
    text-align: center;
    color: $branco;
}

.perfilDados{
    float: left;
    width: 100%; 
    margin-top: 20px;
    margin-bottom: 20px;
    color: $branco;
    display: none;
    h3{
        margin-bottom: 20px;
        font-size: 18px;
    }
    .selected-flag{
        width: 80px;
        padding-left: 15px;
    }
    .intl-tel-input{
        width: 100%;
        float: left;
        margin-bottom: 20px;
        .selected-flag{
            width: 55px;
        }
        .country-name{
            color: $preto;
        }
        .selected-dial-code{
            border-right: solid 1px rgba($branco, 0.2);
            color: $branco;
        }
        .country-list{
            max-width: 354px;   
        }
    }
    .pais{
        color: $preto;
        -webkit-appearance: none;
        background:  image-url("seta") no-repeat right 13px center rgba($laranja, 0.95);
        color: $branco;
    }
}

.miolo{
    display: table-cell;
    vertical-align: middle;
}
.links{
    @extend %coluna-12; 
    margin-top: 15px;
    a{
        color: $laranja;
        display: block;
        font-size: 14px;
        font-family: 'Work Sans', sans-serif;
        font-weight: 400;
        margin-bottom: 15px;
        text-align: center;
    }
    .esquecerSenha{
        color: lighten($laranja, 9%); 
        font-weight: 500;
    }
}

.cadastro{
    @extend %coluna-12; 
    margin-top: 20px;
    margin-bottom: 15px;
    p{
        @extend %coluna-8; 
        float: none;
        margin: 0 auto;
        text-align: center;
        /*        border-top: solid 1px $laranja;
                border-bottom: solid 1px $laranja;
        */
        padding-top: 20px;
        padding-bottom: 20px;
        span{
            font-family: 'Work Sans', sans-serif;
            font-weight: 400;
            color: $branco;
            position:relative;
            &:before{
                position: absolute;
                left: 0;
                top: -20px;
                width: 100%;
                display: block;
                content: "";
                border-top: solid 1px $laranja;
            }
            &:after{
                position: absolute;
                left: 0;
                bottom: -20px;
                width: 100%;
                display: block;
                content: "";
                border-bottom: solid 1px $laranja;
            }
            a{
                color: $laranja;
                font-weight: 500;
            }
        }

    }
}

.rodape{
    /*    @extend %coluna-12; */
    /*    margin-top: 40px;*/
    /*    margin-bottom: 15px;*/
    display: table-cell;
    vertical-align: bottom;
    padding-bottom:10px;
    a{
        display: block;
        margin:0 auto;
        text-align: center;
        max-width: 75px;
    }
    img{
        height: auto;
        max-width: 100%;
    }
}

.modal{
    border: solid 3px $verde;
    background: $branco;
    max-width: 300px;
    padding: 5px;
}




@media (max-width:500px) {
    .formulario{
        .entrar{
            width: 70%;  
        }
    }
    .cadastro{
        p{
            width: 100%;;    
        }
    }
}