html, body{
    margin: 0;
    padding: 0;
    background: #F2F2F7;
    
}

body, p, div, li, a, input, select, textarea{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.main-content{
    display: block;
    position: absolute;
    overflow-y: auto;
    top: 60px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    z-index: 5;
}

/*----------------------- CONTAINERS */
.flex-v{
    display: flex;
    position: relative;
    flex-direction: column;
    box-sizing: border-box;
}

.flex-h{
    display: flex;
    position: relative;
    box-sizing: border-box;
}

/*----------------------- TEXTOS */
h1{
    margin: 5px auto 10px auto !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px !important;
    font-weight: 600 !important;
}

h3{
    margin: 5px auto !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px !important;
    font-weight: 600 !important;
}

/*----------------------- IMAGENES */
.img-fluid-width{
    display: block;
    width: 100%;
    height: auto;
}

.img-fluid-height{
    display: block;
    width: auto;
    height: 100%;
    margin: 0 auto;
}

.img-fluid-scaled{
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.img-center{
    display: block;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

/*----------------------- SHADOW */
.box-shadow{
    -webkit-box-shadow: 0px 4px 10px -5px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 4px 10px -5px rgba(0,0,0,0.75);
    box-shadow: 0px 4px 10px -5px rgba(0,0,0,0.75);
}

/*----------------------- ONSEN */
ons-list-item{
    cursor: pointer;
}

.tost-panel{
    display: flex;
    flex-direction: row;
    gap: 20px;
    color: white;
    width: 100%;
    box-sizing: border-box;
    align-items: center;

    text-shadow: 1px 1px 4px #333;
}

.toast-icon{
    width: 32px;
    font-size: 28px;
}

.toast-content{
    flex: 1;
}

.toast-title{
    font-size: 14px;
}

.toast-message{
    font-size: 16px;
}

.toast-bg-ok{
    background-color: #038e11;
    background-image: linear-gradient(180deg, #038e11 0%, #44be5d 100%);
}

.toast-bg-warning{
    background-color: #FBAB7E;
    background-image: linear-gradient(180deg, #FBAB7E 0%, #F7CE68 100%);
}

.toast-bg-info{
    background-color: #0066c0;
    background-image: linear-gradient(180deg, #0066c0 0%, #317dd8 100%);
}

.toast-bg-error{
    background-color: #c6040b;
    background-image: linear-gradient(180deg, #c6040b 0%, #e55f61 100%);
}

ons-toast{
    z-index: 50000 !important;
}

a, abbr, acronym, address, applet, article, aside, audio,
b, big, blockquote, body,
canvas, caption, center, cite, code,
dd, del, details, dfn, div, dl, dt,
em, embed,
fieldset, figcaption, figure, footer, form,
h1, h2, h3, h4, h5, h6, header, hgroup, html,
i, iframe, img, ins,
kbd, label, legend, li, mark, menu, nav,
object, ol, output, p, pre, q, ruby,
s, samp, section, small, span, strike, strong, sub, summary, sup,
table, tbody, td, tfoot, thead, time, tr, tt, u, ul, var, video {
    -webkit-user-select: text !important;
    -moz-user-select:  text !important;
    -ms-user-select:  text !important;
    user-select:  text !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/*----------------------- MODALS */
.card{
    padding: 15px !important;
}

.modal-close-btn{
    color: rgba(51,51,51,0.5);
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    cursor: pointer;
    top: 10px;
    right: 10px;
    font-size: 20px;
    text-align: center;
    z-index: 10;
}

.modal-close-btn:hover{
    color: rgba(51,51,51,0.9);
}

.modal-content{
    max-height: 500px;
    overflow-y: auto;
}

/*----------------------- PAGES */
.page-bg{
    background-color: #333;
}

.page-header{
    display: flex;
    flex-direction: row;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    box-sizing: border-box;
    padding: 10px;
    background-color: #292929;
    z-index: 50;
}

.page-header-menu{
    width: 25px;
}

.page-header-title{
    flex:1;
}

.page-header-logo{
    display: block;
    position: relative;
    height: 30px;
    margin: 0 auto;
    cursor: pointer;
}

.page-header-menu{
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: -35px;
    left: 50%;
    width: auto;
    box-sizing: border-box;
    transform: translateX(-50%);
    z-index: 45;

    transition: all 0.5s ease;
}

.menu-open-state{
    top: 50px;
}

.flip-vertical{
    transform: scaleY(-1);
}

.page-header-menu-container{
    display: flex;
    flex-direction: row;
    width: 100%;
    box-sizing: border-box;
    gap: 15px;
    padding: 10px;
    background-color: #292929;
    justify-content: center;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.page-header-menu-item{
    color: white;
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    align-items: center;
    border-radius: 8px;
    min-width: 92px;
    box-sizing: border-box;
    cursor: pointer;

    transition: all 0.3s ease;
}

.page-header-menu-item:hover{
    background-color: #9E39C5;
}

.page-header-menu-item-active{
    background-color: #5855D6;
}

.page-header-menu-item-icon{
    font-size: 20px;
}

.page-header-menu-item-label{
    font-size: 13px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.page-header-menu-btn{
    display: block;
    position: relative;
    margin: 0 auto;
    width: 100px;
    padding: 2px;
    box-sizing: border-box;
    text-align: center;
    color: white;
    cursor: pointer;
    font-size: 18px;
    background-color: #292929;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.page-header-actionbar{
    display: flex;
    position: absolute;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);

    /*
    width: 250px;
    height: 30px;
    border: 1px dashed green;
    */
}

.link-style{
    display: inline-block;
    color: #5855D6;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}

.link-style:hover{
    color: #9E39C5;
}

.interactive{
    cursor: pointer;
}

.text-white-color{
    color: white;
}

.text-center{
    text-align: center;
}