/** CSS Reset **/
* {
margin:0;
padding:0;
list-style:none;
vertical-align:baseline;
}

a{
    text-decoration: none;
}

a:not(.blue-link){
    color: #FFF;
}

a.blue-link{
    color: #002348;
}
/****/

html, body{
min-width: 780px;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
position: absolute;
color: #FFF;
background: #002348;
font-family: 'Open Sans', sans-serif;
}

input:not([type="hidden"]){
    display: inline-block;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: #FFF;
}

input[type="submit"], input[type="button"], button{
    padding: 10px 12px;
    background-color: #DDD;
}

input[type="file"]::-webkit-file-upload-button{
    display: inline-block;
    padding: 10px;
    border: none;
    background-color: ;
}

input[type="file"]::-ms-value{
    width: 200px;
    box-sizing: border-box;
    padding: 0 8px;
    border: 1px solid  ;
    background-color: #FFF;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

input[type="file"]::-ms-browse{
    padding: 10px;
    border: none;
    background-color: ;
}

::-webkit-scrollbar {
    width: 12px;
    float: left;
    opacity: 0.75;
}
::-webkit-scrollbar-track {
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background-color: #999;
}

.wait, .wait *{
    cursor: wait !important;
}

.light{
font-family: 'Open Sans', sans-serif;
font-weight: 300;
}

.coluna{
display: inline-block;
float: left;
height: 100%;
}

.column{
display: inline-block;
float: left;
}

.yellow{
color: #002348;
}

.holder{
    width: 100%;
    max-width: 1920px;
    margin: auto;
}

.triangle{
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.unselect{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sign{
    display: block;
    float: left;
    font-weight: bold;
    font-size: 20px;
}

.adm-box{
    min-width: 450px;
    padding: 5px;
    background-color: #EEE;
    border: 1px #333 solid;
}

.subtitle{
    color: #666;
    font-size: 70%;
    font-style: italic;
}


/* ----- */

#page, #overlay{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    position: absolute;
    overflow: hidden;
}

#overlay{
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    text-align: center;
}

#overlay #overlay-wrapper{
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

#overlay #overlay-wrapper:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#overlay #overlay-box{
    max-width: 85vw;
    max-height: 85vh;
    display: inline-block;
    /*top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;*/
    color: #000;
    background-color: #FFF;
    position: relative;
    border-radius: 15px;
    box-sizing: border-box;
    padding: 15px;
    vertical-align: middle;
}

#overlay #overlay-box h2{
    padding: 10px;
    color: #FFF;
    background-color: #333;
}

#overlay #overlay-box h3{
    font-weight: 300;
}

#overlay #overlay-box input:not([type="text"], [type="email"], [type="pswd"]){
    min-width: 80px;
    cursor: pointer;
}

#overlay #overlay-box .close{
    width: 32px;
    height: 32px;
    border: 3px solid #FFF;
    border-radius: 16px;
    box-sizing: border-box;
    background-color: #000;
    color: #FFF;
    font-size: 22px;
    line-height: 20px;
    text-align: center;
    position: absolute;
    top: -8px;
    right: -8px;
    cursor: pointer;
}

#overlay #overlay-box .close.small{
    width: 20px;
    height: 20px;
    font-size: 16px;
    line-height: 16px;
    top: 2px;
    right: 2px;
    border-radius: 0;
    border: none;
    background-color: transparent;
}
#overlay #overlay-box .close.small:hover{
    background-color: #999;
    color: #000;
}

#overlay #overlay-box .overlayImg{
    max-width: 75vw;
    max-height: 75vh;
}

#overlay #overlay-box .overlay-holder{
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 80vh;
    max-height: calc(85vh - 30px);
    position: relative;
}

/*** File Upload ***/
.js .inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    outline: none !important;
    position: absolute;
    top:initial;
    left:initial;
    z-index: -10;
}

.inputfile + label {
    padding: 10px 20px;
    box-sizing: border-box;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    color: #002348;
    background-color: #FFF;
    border: 1px solid #002348;
    margin: 0 auto 15px auto;
    text-align: center !important;
}

.inputfile:focus + label,
.inputfile.has-focus + label,
.inputfile + label:hover {
    background-color: #002348;
    color: #FFF;
}

.no-js .inputfile + label {
    display: none;
}

.inputfile:focus + label,
.inputfile.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label:after{
    content: " Selecione uma imagem a ser enviada…";
    display: inline;
}

.drag .inputfile + label:after{
    content: " Arraste uma imagem aqui para ser enviada…";
    display: inline;
}

.inputfile + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -4px;
    margin-right: 4px;
}

#file-upload-info{
    margin-bottom: 15px;
}

#file-upload-info #progress{
    width: 100%;
    height: 18px;
    background-color: #CCC;
    color: #FFF;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    position: relative;
}

#file-upload-info #progress:before{
    content: attr(progress);
    width: 50px;
    margin-left: -25px;
    display: block;
    z-index: 2;
    position: absolute;
    left: 50%;
}

#file-upload-info #progress .bar {
    height: 100%;
    background: green;
    z-index: -1;
}

#file-upload-info .up-info {
    transition: height 0.3s ease-in 0.3s;
    padding: 3px;
    border: 1px solid #002348;
    margin-top: 5px;
    color: #002348;
}

#file-upload-info .up-info.error{
    border-color: red;
    color:red;
}

/*** Color Picker ***/
.colorpicker{
    z-index: 100;
}

.colorPreviewer{
    width: 32px;
    height: 32px;
    float: right;
    margin-right: 10px;
    border-radius: 16px;
    display: block;
    margin-top: 3px;
}

.colorPreviewer .cor-holder{
    width: 32px;
    height: 100%;
    box-sizing: border-box;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

/*** MCE ***/
#overlay-box .coluna .mce-panel{
    margin-right: 10px;
}

input.mce-textbox:not([type="hidden"]){
    padding: inherit;
    height: 26px !important;
}

/*** TOP BAR ***/
#top-wrapper{
    margin-left: 25px;
}

#top-bar{
    height: 50px;
    line-height: 50px;
    background-color: #000;
}

#top-bar #title *{
    float: left;
}
#top-bar #title #title-text{
    display: inline-block;
    font-size: 22px;
    margin: 0 25px;
}

#top-bar #user-info{
    float: right;
    min-width: 150px;
    box-sizing: border-box;
    padding-left: 25px;
}

#top-bar #user-info .menu{
    min-width: 150px;
    box-sizing: border-box;
    margin-left: -25px;
    display: none;
    position: absolute;
    background-color: #000;
    z-index: 2;
}

#top-bar #user-info:hover .menu{
    display: block;
}

/*** SIDE MENU ***/
#side-menu{
    width: 300px;
    height: 100%;
    box-sizing: border-box;
    margin-bottom: 50px;
    background-color: #000;
    position: absolute;
    overflow: auto;
}

.menu li{
    height: 50px;
    line-height: 50px;
    cursor: pointer;
}

.menu li:hover{
    color: #EEE;
    background-color: #666;
}

.menu li li{
    height: 0;
}

.menu li:hover li:not(:hover){
    background-color: #333;
}

.menu li.dropdown{
    height: auto;
    min-height: 50px;
    overflow: hidden;
}

.menu li.dropdown .menu-button{
    margin-left: 25px;
}

#menu i.fa{
    margin: 0 5px !important;
}

.menu li .menu-icon{
    width: 24px;
    height: 24px;
    margin: 0 10px;
    display: inline-block;
    vertical-align: text-bottom;
    background-size: cover;
}
/*** SCREEN  ***/

#screen{
    width: 100%;
    height: 100%;
    margin: 25px 0 50px 325px;
    padding: 0 350px 100px 0;
    position: absolute;
    box-sizing: border-box;
}
#screen.login{
    position: static;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: auto;
    margin: 0;
    padding: 25px 25px 75px 25px;
    text-align: center;
}
#screen.login:before{
    content: "";
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}
#screen #painel{
    height: 100%;
    box-sizing: border-box;
    border-radius: 5px;
    color: #000;
    background-color: #FFF;
    padding: 15px;
    vertical-align: middle;
    overflow: auto;
}
#screen.login #painel{
    height: auto;
    display: inline-block;
}

/*** Admin Menu ***/
.adm-menu{
    width: 100%;
    min-height: 24px;
    height: auto;
    box-sizing: border-box;
    display: -moz-box;
    -moz-box-orient: horizontal;
    -moz-box-pack: center;
    -moz-box-align: center;
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    display: box;
    box-orient: horizontal;
    box-pack: center;
    box-align: center;

}

    .adm-menu .menu-button{
        height: 18px;
        line-height: 18px;
        padding: 2px 8px;
        border: 1px solid #002348;
        display: inline-block;
        background-color: #FFF;
        color: #002348;
        font: normal 12px sans-serif;
        vertical-align: middle;
        cursor: pointer;
    
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .adm-menu .menu-button:hover {
        border: 1px solid #FFF;
        box-shadow: 0 0 0 1px #002348;
        background-color: #002348;
        color: #FFF !important;
    }
    .adm-menu .menu-button:hover span.sign[style]{
        color: #FFF !important;
    }

    .adm-menu .menu-button:active {
        padding: 2px 7px 3px 9px;
        border: 1px solid #002348;
        border-bottom: 0;
        box-shadow: 0 0 0 1px #002348;
    }

    .adm-menu .menu-button, x:-moz-any-link, x:default {
        margin-right: 4px;
    }
    
    .adm-menu .menu-button .button-content{
        height: 18px;
        line-height: 18px;
        overflow: hidden;
        float: left;
        margin-top: -1px;
    }
    
    .adm-menu .menu-button .button-content span{
        vertical-align: middle;
    }
    
    .adm-menu .adm-filler{
        -moz-box-flex: 1;
        -webkit-box-flex: 1;
        box-flex: 1;
    }
    .adm-menu .adm-sel-ctrl{
        display: inline-block;
        font-size: 12px;
        vertical-align: middle;
    }

    .adm-menu .adm-sel-ctrl .adm-sopt{
        text-decoration: underline;
        cursor: pointer;
    }

/*** Admin Viewer ***/
.adm-empty{
    text-align: center;
}

.adm-table-view .table{
    width: 100%;
    display: table;
}

.adm-table-view .row{
    display: table-row;
    box-sizing: border-box;
    position: relative;
}
    .adm-table-view .row:nth-child(odd){
        background-color: #FFF;
    }
    .adm-table-view .row:nth-child(even){
        background-color: #DDD;
    }
    .adm-table-view .row>*:not([type="hidden"]){
        display: table-cell;
        vertical-align: middle;
    }
    .adm-table-view .row .adm-icon{
        width: 112px;
        text-align: center;
    }
        .adm-table-view .row .adm-icon img{
            max-height: 48px;
            border: 1px solid #666;
            vertical-align: middle;
            margin: 5px auto;
            padding: 5px;
        }
    .adm-table-view .row .adm-cat{
        width: 25%;
        padding: 0 10px;
        font-size: 10px;
        text-align: center;
    }
    .adm-table-view .row .adm-select{
        width: 40px;
        text-align: center;
    }
        .adm-table-view .row .adm-select:before{
            content: "";
            height: 100%;
            display: inline-block;
            vertical-align: middle;
        }
        .adm-table-view .row .adm-select .adm-check{
            display: none;
            vertical-align: middle;
        }
            .adm-table-view .row:hover .adm-select .adm-check, .adm-table-view .row .adm-select .adm-check:checked{
                display: inline-block;
            }

    .adm-ctrl{
        width: 60px;
        box-sizing: border-box;
        line-height: 0;
        font-size: 28px;
        font-weight: bold;
        text-align: center;
        vertical-align: middle;
        cursor: default;
    }
        .adm-ctrl>*{
             display: inline-block;
        }

    .adm-ctrl .adm-edit:hover{
        color: #002348;
        cursor: pointer;
    }
    .adm-ctrl svg{
        fill: currentColor;
    }
    .adm-ctrl .adm-delete:hover{
        color: #F00;
        cursor: pointer;
    }
    .adm-ctrl .split{
        font-size: 17px;
        font-weight: 300;
        display: inline-block;
        position: relative;
        top: -3px;
    }

.adm-foto-holder .foto{
    display: inline-block;
    background-color: #FFF;
    border: 1px #000 solid;
    margin: 5px;
    padding: 5px;
    text-align: center;
    position: relative;
}
.adm-foto-holder .foto .foto-title{ text-align: center;}

.adm-foto-holder .foto .foto-img{
    width: 100px;
    height: 100px;
    margin: auto;
    background-position: center;
    background-size: cover;
    position: relative;
    cursor: zoom-in;
}
.adm-foto-holder .foto .foto-check{
    display: block;
    top:5px;
    right:5px;
    position: absolute;
    cursor: default;
}

.adm-foto-holder .foto .foto-ctrl>div{
    display: inline-block;
}

.adm-foto-holder .foto .foto-edit{
    vertical-align: middle;
}

.preview{
    width: 100%;
    height: 125px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/*** Admin Image Viewer ***/

.adm-img-holder .img-box{
    display: inline-block;
    background-color: #FFF;
    border: 1px #000 solid;
    margin: 5px;
    padding: 5px;
    text-align: center;
}
.adm-img-holder .img-box.img-item:hover{
    cursor: pointer;
    border-color: #002348;
    color: #002348;
}
.adm-img-holder .img-box .img-title{ text-align: center;}
.adm-img-holder .img-box .img{
    width: 100px;
    height: 100px;
    margin: auto;
    background-position: center;
    background-size: cover;
    position: relative;
    cursor: zoom-in;
}
.adm-img-holder .img-box .img.no-zoom{  cursor: inherit;}
.adm-img-holder .img-box .img-check{
    display: block;
    top:5px;
    right:5px;
    position: absolute;
    cursor: default;
}

.adm-text-editor{
    height: 300px;
}

.adm-text-editor textarea{
    width: 100%;
    min-height: 300px;
    resize: none;
}

#form-tag{
    margin-top: 5px;
}

#form-tag input#tag-conteudo{
    width: 375px;
    margin-right: 5px;
}

#form-item label, #form-item input, #form-foto label, #form-foto input{
    display: block;
    width: 100%;
    box-sizing: border-box;
}

#form-item input[type="submit"], #form-foto input[type="submit"]{
    width: auto;
    margin: auto;
}

#form-item .preview{
    height: 40px;
    background-size: contain;
}
/*** BSR  ***/
#overlay-box label{
    width: 100%;
    min-width: 400px;
    min-height: 37px;
    line-height: 37px;
    box-sizing: border-box;
    margin: 10px 0;
    display: block;
    text-align: left;
}
#overlay-box input:not([type="submit"]):not(.img-check), #overlay-box select{
    width: 255px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    float: right;
}
#overlay-box .coluna input:not([type="submit"]):not(.img-check), #overlay-box .coluna select{
    margin-right: 10px;
}
#overlay-box input[type="file"]{
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
    float: none !important;
}
#overlay-box .coluna input[type="file"]{
    margin-right: 10px;
}
#overlay-box input.color{
    width: 213px;
}
#overlay-box input.cancel,  #overlay-box input.adm-delete-button{
    float: none !important;
    margin: 0 5px;
    cursor: pointer;
}
#overlay-box .preview{
    background-color: rgba(0, 0, 0, 0.05);
    margin-top: 5px;
}

#overlay-box .button.add-color{
    font-size: 12px;
    margin-bottom: 20px;
    cursor: pointer;
}
#overlay-box .button.add-color:hover{
    text-decoration: underline;
}
/*** LOGIN ***/
#adm-login{
    width: 460px;
    margin: auto;
    text-align: left;
}
#adm-login-form{
    width: 95%;
    margin: auto;
}
#adm-login-form label{
    display: block;
}
#adm-login-form label span{
    display: inline-block;
    vertical-align: middle;
    padding: 7px;
    margin-bottom: 1px;
}
#adm-login-form input{
    width: 300px;
    vertical-align: middle;
}
#adm-login-form input:not([type="submit"]){
    float: right;
}
#adm-login-form input[type="submit"]{
    display: block;
    padding: 10px 12px;
    margin: auto;
}

/*** ADM TEXT ***/
.adm-text-editor{
    max-width: 600px;
    margin: auto;
}
.adm-text-editor-label{
    height: auto;
    display: block;
    margin: 15px 0;
    overflow: auto;
}
.adm-text-editor-input, .adm-text-editor-textarea{
    width: 250px;
    color: #333;
    border: 1px solid rgba(0,0,0,0.2) !important;
    float:right;
}
.adm-text-editor-textarea{
    width: auto;
    max-width: 250px;
    padding: 10px;
}

.xml-editor-lang-holder{
    margin-bottom: 10px;
    padding: 0 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.xml-editor-lang-title{
    margin: 0 -10px;
    padding: 10px;
    color: #FFF;
    background-color: #333;
}

/*** ADM COR ***/
.cor-view{
    height: 32px;
}
.cor-view .cor-holder{
    width: 28px;
    height: 100%;
    box-sizing: border-box;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.adm-cor.vazio{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 16px;
    border: 2px solid #F00;
    box-sizing: border-box;
}

.adm-cor.vazio:after{
    display: inline-block;
    width: 32px;
    height: 2px;
    position: absolute;
    content: "";
    top: 9px;
    left: -3px;
    background: #F00;
    transform: rotateZ(-57.29577951308232deg);
}

.adm-cor.unica{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 16px;
}

.adm-cor.dupla{
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 16px 0 0 16px;
}
.adm-cor.dupla:last-child{
    left: 50%;
    border-radius: 0 16px 16px 0 ;
}

.adm-cor.tripla{
    width: 100%;
    height: 33.3333%;
    position: relative;
    top: 0;
    left: 0;
}

.adm-cor.quadrupla{
    width: 50%;
    height: 50%;
    position: absolute;
    top: 0;
    left: 0;
}
.adm-cor.quadrupla:nth-child(2){
    left: 50%;
}
.adm-cor.quadrupla:nth-child(3){
    top: 50%;
}
.adm-cor.quadrupla:last-child{
    top: 50%;
    left: 50%;
}
/******************/
/*** BSR BALOES ***/
/******************/
.adm-holder{
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    overflow: auto;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

#overlay-box .adm-holder{
    margin-right: 10px;
    width: inherit;
}

#tamanhos-holder .tamanho, #pacotes-holder .pacote{
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px 20px 10px 10px;
    color: #FFF;
    display: inline-block;
    position: relative;
    margin-bottom: 5px;
}

#tamanhos-holder .tamanho .tamanho-close, #pacotes-holder .pacote .pacote-close{
    position: absolute;
    top: -3px;
    right: 4px;
    font-size: 14px;
    cursor: pointer;
}
#tamanhos-holder .tamanho .tamanho-close:hover, #pacotes-holder .pacote .pacote-close:hover{
    color: #F00;
}

.adm-plus {
    width: 32px;
    height: 32px;
    float: right;
    margin-right: 10px;
    display: block;
    margin-top: 3px;
    background-color: rgba(0, 0, 0, 0.2);
    color: #FFF;
    font-size: 32px;
    text-align: center;
    line-height: 32px;
    cursor: pointer;
}

#overlay-box #bal-tamanho, #overlay-box #bal-pacote{
    width: 175px;
}

.adm-image-info{
    border: 1px solid  rgba(0, 0, 0, 0.2);
    margin: 10px 10px 10px 0;
    padding: 10px;
}
.adm-image-info .img{
    width: 128px;
    height: 128px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    float: left;
}

#overlay-box #imagem-info select{
    width: 185px;
}

#overlay-box #imagem-info .bal-img-delete{
    font-size: 10px;
    text-decoration: underline;
    cursor: pointer;
}

#overlay-box #imagem-info .bal-img-delete:hover{
    color: #F00;
}

#overlay-box #form-blog input:not([type="submit"]):not(.img-check), #overlay-box  #form-blog select{
    width: 355px;
}
