@import "default";

hr{
    width:100%;
    display:block;
    position:relative;
    border:none;
    clear:both;
    margin:0;
    padding:0;
    float:left;
    &.box-10{
        height:10px;
    }
    &.box-20{
        height:20px;
    }
    &.box-30{
        height:30px;
    }
    &.box-40{
        height:40px;
    }
    &.box-50{
        height:50px;
    }
    &.box-60{
        height:60px;
    }
    &.box-70{
        height:70px;
    }
    &.box-80{
        height:80px;
    }
    &.box-90{
        height:90px;
    }
    &.box-100{
        height:100px;
    }
}

.title.grid_16,.title.grid_11{
    margin-bottom: 20px;
}

.galleries{
    .title.grid_16,.title.grid_11{
        margin-top:30px;
        margin-bottom: 10px;
    }
}

.images,.videos{
    a{
        float:left;
        margin: 14px;
    }
}

.files{
    a{
        float:left;
        width:30%;
        display:block;
        background:#F5F5F5;
        margin:10px;
        padding:20px;
        padding-left:70px;
        .border-radius;
        border:1px solid #DDD;
        color:#777;
        .font;
        text-decoration:none;
        &:hover{
            background-color:@blue;
            color:#FFF;
        }
        span{
            display:block;
            &.title{
                font-size:18px;
            }
            &.size{
                font-size:12px;
            }
        }
        background-image:url(../painel/img/extensions/empty.png);
        background-repeat:no-repeat;
        background-position:10px center;
        &.pdf{ background-image:url(../painel/img/extensions/pdf.png); }
        &.xls{ background-image:url(../painel/img/extensions/xls.png); }
        &.xlsx{ background-image:url(../painel/img/extensions/xlsx.png); }
        &.rar{ background-image:url(../painel/img/extensions/rar.png); }
        &.xml{ background-image:url(../painel/img/extensions/xml.png); }
        &.zip{ background-image:url(../painel/img/extensions/zip.png); }
    }
}

.content{
    margin-top:30px;
    .form-box{
        .input{
            text-align:center;
            margin-top:20px;
            label{
                .open(14px,@blue,700);
                display:block;
                position:relative;
                line-height:2.4;
                text-align:center;
                margin:auto;
            }
            input[type='text'],input[type='password'],input[type='email']{
                display:block;
                position:relative;
                width:calc(100% - 10px);
                text-align:center;
                padding:6px 20px;
                .open(14px,@gray,700);
            }
        }
        .submit{
            text-align:center;
            margin-top:20px;
            input[type='submit']{
                border:none;
                background:@yellow;
                cursor:pointer;
                text-align:center;
                .open(14px,@blue,700);
                padding:10px 20px;
                &:hover{
                    background:@blue;
                    color:@white;
                }
            }
        }
    }
}

.bills-box{
    margin-top:40px;
    .dataTables_wrapper{
        .dataTables_length{
            label{
                .open(14px,@blue,400);
            }
        }
        .dataTables_filter{
            label{
                .open(14px,@blue,400);
            }
        }
        .bill-table-box{
            display:table;
            border-bottom:1px solid @gray;
            thead{
                width:100%;
                display:table;
                position:relative;
                margin-top:20px;
                tr{
                    display:table;
                    text-align:left;
                    border-bottom:1px solid @gray;
                    th{
                        padding:15px 0;
                        .open(14px,@blue,700);
                        line-height:1;
                        text-transform:uppercase;
                        background:none !important;
                        border:none;
                    }
                }
            }
            tbody{
                width:100%;
                display:table;
                position:relative;
                tr{
                    width:100%;
                    display:table;
                    padding:25px 0;
                    border-bottom:1px dotted @gray;
                    &.disabled{
                        td{
                            opacity:.4;
                        }
                    }
                    &:last-child{
                        border:none;
                    }
                    td{
                        .open(14px,@gray,400);
                        line-height:1.4;
                        padding:0;
                    }
                }
            }
        }
        .dataTables_info{
            display:table;
            position:relative;
            .open(14px,@gray,400);
        }
        .dataTables_paginate{
            display:table;
            position:relative;
            .open(14px,@gray,400);
        }
        .bill-checkbox{
            width: 20px;
            position: relative;
            display:block;
            float:left;
            label {
                width: 20px;
                height: 20px;
                cursor: pointer;
                position: relative;
                float:left;
                display:block;
                background: #fcfff4;
                background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
                border-radius: 4px;
                box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
                &:after {
                    content: '';
                    width: 9px;
                    height: 5px;
                    position: absolute;
                    top: 4px;
                    left: 4px;
                    border: 3px solid #333;
                    border-top: none;
                    border-right: none;
                    background: transparent;
                    opacity: 0;
                    transform: rotate(-45deg);
                }
                &:hover::after {
                    opacity: 0.5;
                }
            }
            label{
                text-indent:30px;
            }
            input[type=checkbox] {
                display:none;
                &:checked + label:after {
                    opacity: 1;
                }
            }
        }
    }
    .bills-total{
        margin-top:40px;
        span{
            .open(24px,@blue,700);
            line-height:1;
        }
    }
    .bills-icons{
        float:right;
        margin-top:45px;
        .lock-icon{
            display:block;
            position:relative;
            float:left;
            svg{
                path{
                    fill:@blue;
                }
            }
        }
        .cielo-icon{
            display:block;
            position:relative;
            float:left;
            margin-top:2px;
            margin-left:10px;
        }
    }
    .checkall{
        position: relative;
        display:block;
        text-align:right;
        margin-top:50px;
        label {
            width: 20px;
            height: 20px;
            cursor: pointer;
            position: relative;
            float:right;
            display:block;
            background: #fcfff4;
            background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
            border-radius: 4px;
            box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
            white-space: nowrap;
            .open(14px,@gray,400);
            line-height:1.4;
            right:160px;
            img{
                margin-left:10px;
            }
            &:after {
                content: '';
                width: 9px;
                height: 5px;
                position: absolute;
                top: 4px;
                left: 4px;
                border: 3px solid #333;
                border-top: none;
                border-right: none;
                background: transparent;
                opacity: 0;
                transform: rotate(-45deg);
            }
            &:hover::after {
                opacity: 0.5;
            }
        }
        label{
            text-indent:30px;
        }
        input[type=checkbox] {
            display:none;
            &:checked + label:after {
                opacity: 1;
            }
        }
    }
    input[type="submit"]{
        border:none;
        background:@yellow;
        cursor:pointer;
        text-align:center;
        .open(14px,@blue,700);
        padding:10px 20px;
        margin-top:40px;
        float:right;
        &:hover{
            background:@blue;
            color:@white;
        }
    }
}

.g-recaptcha{
    margin-top:20px;
    div{
        margin:auto;
    }
}

.error-message{
    display:none;
}
.alert {
    display: block;
    position: relative;
    margin-top:30px;
    border: 1px solid #d00000;
    background-color: rgba(209,0,0,0.15);
    padding: 15px 35px 15px 20px;
    margin-bottom: 20px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    opacity: 1;
    visibility: visible;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    .close {
        width:initial;
        font-weight: bold;
        color: #000;
        text-shadow: 0 1px 0 #fff;
        opacity: .2;
        cursor: pointer;
        background: transparent;
        border: 0;
        -webkit-appearance: none;
        position: absolute;
        top: 10px;
        right: 10px;
        line-height: 20px;
        font-size: 30px;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
        &:hover {
            opacity: .5;
        }
    }
    h4 {
        display: block;
        position: relative;
        margin: 0;
        /*font-family: 'Exo 2', sans-serif;*/
        font-size: 30px;
        font-weight: 200;
        font-style: italic;
        color: #d00000;
        line-height: 1;
        text-rendering: optimizelegibility;
        border: 0;
        padding: 0;
        margin-bottom: 15px;
    }
    p {
        display: block;
        position: relative;
        /*font-family: 'Exo 2', sans-serif;*/
        font-size: 15px;
        font-weight: 400;
        font-style: italic;
        color: #d00000;
        line-height: 1.8;
        margin: 0;
        padding: 0;
    }
    &.hide {
        opacity: 0;
        visibility: hidden;
    }
    &.alert-success {
        border-color: #00ac10;
        background-color: rgba(0,173,17,0.15);
        h4 {
            color: #00ac10;
        }
        p {
            color: #00ac10;
        }
    }
    &.alert-info {
        border-color: #E6E6E6;
        background-color: rgba(230,230,230,0.15);
        h4 {
            color: #858585;
        }
        p {
            color: #858585;
        }
    }
}

.bill-top-button{
    display:block;
    position:relative;
    float:left;
    background:@blue;
    font-family: 'Open Sans';
    font-size:15px;
    color:@white;
    font-weight:400;
    line-height:1;
    text-transform:uppercase;
    text-align:center;
    text-decoration:none;
    padding:10px 0;
}