/*********************
Fontes
*********************/

@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Dosis:600,700');
@import url('https://fonts.googleapis.com/css?family=PT+Sans');


* {
    box-sizing: border-box;
    margin: 0 auto;
}

p {
	font-size: 16px;
	line-height: 1.4;
}

.container {
    width: 100%;
    margin: 0 auto;
    background-color: #F3F3F3;
}

.box-criar-campanha {
    width: 100%;
    margin: 0 auto;
    padding: 10px 220px;
    background-color: #F3F3F3;

    @media screen and (max-width: 768px) {
        padding: 20px 30px;
    }
}

.input-style() {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.5;
    color: #666666;
    height: 32px;
    border: none;
    border-radius: 25px;
    padding: 0 15px 0 30px;
    margin-top: 10px;  
}

.box-shadow(){
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.03);
}

.principal {
    display: flex;
    flex-direction: column;

    .bg-green {
        background-color: #335f2b;
    }

    .cabecalho {
        display: flex;
        align-items: center;
        width: 100%;
        height: 110px;
        padding: 10px 120px;
    
        a {
            margin-left: 0;
        }
        .imglogo {
            width: 80px;
        }
    }

}

.main-picture {

    background-image: url("../img/main-picture.png");
    background-size: cover;
    height: 100vh;

    .titulo {
        font-family: 'Dosis';
        color: ghostwhite;
        align-self: center;

        h1 {
            margin-top: 110px;
            font-size: 110px;
            font-weight: 700;
            letter-spacing: 5px;
            text-shadow: 0 1px 0 #CCCCCC, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2), 0 20px 20px rgba(0,0,0,.15);
        }

        h2 {
            font-size: 30px;
            text-align: center;
        }

    }


}

.painel-login{
    display: flex;
    padding: 10px 120px;

    .campo {
        .input-style;
        .box-shadow;
        border: 1px solid #797979;
        border-radius: 20px;
        margin-right: 15px;
        width: 200px;
        font-size: 16px;
        font-weight: 400;
    }

    button {
        font-size: 18px;
        background-color: #4da54a;
        border: none;
        border-radius: 50px;
        font-weight: 500;
        color: #fff;
        cursor: pointer;
        margin: 10px;
        padding: 1px 20px;
    }
}

.user-badge {
    margin: 0;
    font-weight: 600;
    display: none;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;    
    width: 420px;
    height: 38px;
    border-radius: 24px;
    background-color: #ffffff;
    padding-right: 10px;

    .picture {
        border-radius: 20px;
        height: 34px;
        width: 34px;
        margin: auto 5px;
    }

    span:nth-child(3){
        margin: 0;
    }

    .sair:hover{
        color:orangered;
    }

    .painel-adm:hover{
        color:orangered;
        text-decoration: none;
    }




}

.formulario-cadastro {
    
    display: flex;
    flex-wrap: wrap;
    -webkit-box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.1);
    background-color: #FFF;
    border-radius: 15px;
    justify-content: center;
    text-align: center;
    padding: 30px 0px;
    margin-top: 30px;

    @media screen and (max-width: 768px) {
        padding: 30px 20px;
    }

    .titulo{
        width: 100%;
        color: #6596cc;
        text-shadow: 1px 1px #5580ad;
        font-size: 32px;
        margin: 10px auto;
    }

    select {
        .input-style;
        .box-shadow;
        font-size: 16px;
        max-width: 200px;
        text-align: center;
        border: 1px solid #797979;
    }

    select:focus {
        color: #495057;
        background-color: #fff;
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    }
     

    .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 10px 10px;
        width: 100%;
        
        span{
            width: 100%;
            font-weight: 600;
        } select, input {
            width: 60%;
        }

        textarea{
            .input-style;
            .box-shadow;
            resize: none;
            border: 1px solid #797979;
            padding: 3px 10px;
            font-family: 'Arial';
            font-weight: 300;
            border-radius: 6px;
            height: 70px;
            width: 400px;
            font-size: 16px;
        }

        input{
            .input-style;
            .box-shadow;
            border: 1px solid #797979;
            border-radius: 6px;
            width: 400px;
            font-size: 16px;
        }

        .input-file {
            border: none;
        }

        input[type='file'] {
            display: none;
        }
        
        .input-money{
            width: 100px;
        }
        label {
            background-color: #3498db;
            border-radius: 5px;
            color: #fff;
            cursor: pointer;
            margin: 10px;
            padding: 6px 20px
        }


        #descricao-campanha{
            height: 80px;
        }

    }

    .row:last-child{
        flex-direction: row;
    }

    button{
        font-size: 18px;
        background-color: #30e02b;
        border: none;
        border-radius: 5px;
        color: #fff;
        cursor: pointer;
        margin: 10px;
        padding: 6px 20px;
    }


}

.header-campanha {
    background-color: #d9e0e4;
    padding: 20px 120px 25px;
    font-family: Roboto;
    color: #7d7c7c;

    h3 {
        font-style: italic;
    }

    select {
        .input-style;
        .box-shadow;
        padding-left: 16px;
        padding-right: 8px;
        width: 180px;
    }

    input {
        .input-style;
        .box-shadow;
        margin-left: 20px;
        width: 360px;
        
    }
}

.feed-campanha {
    
    padding: 20px 120px;
    background-color: #efefef;

    @media screen and (max-width: 768px) {
        padding: 20px 20px;
      }

    .area-campanhas {

        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        


        .box-campanha {

            width: 340px;
            box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.03);
            border: solid 1px #efefef;
            border-radius: 5px;
            background-color: #ffffff;
            margin: 15px auto;
            //font-family: Roboto;
            color: #747474;

            .imagem {

                width: 100%;
                min-height: 155px;
                height: 244px;
                max-width: 100%;
                border-top-left-radius: 5px;
                border-top-right-radius: 5px;
            }

            .progresso {

                background-color: #fafafa;
                width: 100%;
                padding: 10px 15px;
                font-size: 13px;
                font-style: italic;
                text-align: center;
                color: #a7a7a7;

                .barra {
                    border: 1px solid #efefef;
                    background-color: #f7f7f7;
                    width: 80%;
                    height: 28px;
                    border-radius: 15px;
                    margin-bottom: 10px;

                    .concluido {
                        display: flex;
                        align-items: center;
                        color: #747474;
                        background-color: #4ee08b;
                        border-radius: 15px;
                        float: left;
                        width: 60%;
                        height: 100%;
                        justify-content: center;
                        font-size: 14px;
                        font-style: italic;
                        font-weight: 600;

                    }
                }

                .arrecadado {

                    font-size: 16px;
                    font-weight: bold;
                    color: #4ee08b;
                }
                
                .valor-total{
                    font-weight: bold;
                }
            }

            .informacoes {
                text-align: center;
                padding: 20px 15px 0px;

                .titulo {
                    font-size: 20px;
                    font-weight: bold;
                }

                .descricao {
                    font-size: 14px;
                    margin-top: 20px;
                }

                .area-patrocinio{
                    font-size: 16px;
                    font-weight: 500;
                    padding: 5px 10px 15px;
                    margin-top: 25px;

                    .patrocinio{
                        font-size: 12px;
                    }
        
                    .img-patrocinio{
                        padding: 10px 30px 0;

                        max-height: 90px;
                        max-width: 100%;
                        width: auto;
                    }
                }
            }

        }
        .box-campanha:hover{
            border: 1px solid #4ee08b;
            background-color: hsla(0,0%,90%,.5);
        }
    }
}

#myModal{

    font-family: Roboto;
    color: #7d7c7c;


    .modal-header {
        padding: 8px;
    }

    .modal-title {
        font-weight: 600;
        font-size: 28px;
        color: #40af6e;
    }

    .modal-body {
        padding-bottom: 0px;
    }

    .img-modal {
        padding: 7px;
        border: 1px #dcdcdc solid;
        border-radius: 3px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
        max-height: 280px;
        max-width: 330px;
    }

    .modal-row {
        display: flex;
        flex-direction: row;
        margin-bottom: 10px;
    }

    .valores {
        display: flex;
        flex-direction: column;
        justify-content: center;
        float: left;
        width: 330px;
        margin: 0;
        text-align: center;

        .title {
            font-size: 14px;
            font-style: italic;
            //font-weight: 600;
        }

        .total-arrecadado {
            font-size: 24px;
            color:  #4ee08b;
            font-weight: 600;
            font-style: italic;
        }

        .valor-total {
            font-size: 18px;
            font-weight: 600;
        }


        .progresso {
            margin-top: 5px;
            width: 260px;
            height: 22px;
            background-color: #f5f5f5;
            border: 1px solid #c3c3c3;
            border-radius: 4px;
            box-shadow: inset 0 1px 2px rgba(0,0,0,.1);

            .barra-progresso {
                color: white;
                border-top-left-radius: 4px;
                border-bottom-left-radius: 4px;
                background-color: #4ee08b;
                width: 50%;
                font-size: 14px;
                float: left;
            }
        }
    }

    .patrocinio {
        font-size: 13px;
        font-style: italic;
        font-weight: 600;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;

        #img-patrocinio {
            //padding: 10px 30px 0;
            max-height: 60px;
            max-width: 220px;
            width: auto;
        }

    }


    .text-content{
        flex-direction: column;
        text-align: justify;
        display: flex;
        justify-content: space-between;
        max-width: 350px;
        margin-left: 30px;
        margin-top: 5px;

        .responsavel {
            margin: 10px 0 0 0;

            img {
                height: 17px;
                margin-top: -5px;
            }

            .local {
                font-size: 12px;
            }
        }
    }

    .social {
        margin: 15px auto;
        height: 40px;
    }

    button {
        letter-spacing: 1px;
        color: #ffffff;
        padding: 5px;
        width: 100px;
        font-size: larger;
    }

    a {
        text-decoration: none;
        color: white;
    }

}

.body-bg {

    .logo {
        height: 60px;
    }
}


