/* =================== BASE ========================= */
html{
    font-size:10px;
}
body{
    font-family: "Open Sans", Arial;
    font-size:1.2rem;
    min-height: 100vh;
    min-width:360px;
    overflow-x: auto;
}

a:focus, a:active, button,
input[type="reset"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner,
select::-moz-focus-inner, input[type="file"] > input[type="button"]::-moz-focus-inner {
    outline: none !important;
}
*{outline: none;}
*:focus {outline: 0;}
*::-ms-clear {display: none;}

a, a:hover, a:active, a:focus{
    cursor:pointer;
    text-decoration: none;
}

h1,.h1 {font-size: 3.0rem;}
h2,.h2 {font-size: 2.4rem;}
h3,.h3 {font-size: 1.8rem;}
h4,.h4 {font-size: 1.6rem;}
h5,.h5 {font-size: 1.4rem;}
h6,.h6 {font-size: 1.2rem;}

.btn{
    border-radius: 5px;
    font-size: 1.6rem;
    padding: 7px 16px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}

.btn > .fa{
    margin-right:16px;
}

@media (max-width: 991px){
    .container{width:100%;}
}

/* =================== ERROR ========================= */
.error-page h1{font-size:14rem}
.error-page p{font-size:5rem}

/* =================== HEADER ========================= */
#header{
    height: 85px;
    position: fixed;
    width: 100%;
    z-index: 997;
}

#header .logo-moebius > img{
    height:53px;
    margin-top:16px;
}

#header #header-nav{
    float:right;
    height: 85px;
}

#header #header-nav > ul.menu_main{
    line-height: 64px;
    list-style: none;
    margin:0;
    padding:0;
}

#header #header-nav > .menu_main > li{
    display: inline-block;
    margin:0;
}

#header #header-nav > .menu_main > li > a{
    display: block;
    font-size:1.8rem;
    padding:10px 15px;
}
@media (min-width: 992px){
    #header #header-nav > .menu_main > li > ul{
        display:none;
    }
    #header #header-nav > .menu_main > li:hover{
        position:relative;
    }
    #header #header-nav > .menu_main > li:hover > ul{
        display:block;
        position:absolute;
        list-style: none;
        margin: 0;
        max-width:320px;
        padding: 0;
        right: 0;
        top: 65px;
        z-index:998;
    }
    #header #header-nav > .menu_main > li > ul > li{
        display:block;
        margin:0;
    }
    #header #header-nav > .menu_main > li > ul > li > a{
        display: block;
        font-size: 1.6rem;
        padding: 5px 25px;
        line-height: 32px;
        min-width: 200px;
    }

    #header #header-nav > .menu_main > li > ul li  ul{
        display:none;
    }
    #header #header-nav > .menu_main > li > ul li:hover{
        position:relative;
    }
    #header #header-nav > .menu_main > li > ul li:hover > ul{
        display:block;
        position:absolute;
        left: 100%;
        list-style: none;
        margin: 0;
        max-width:320px;
        padding: 0;
        top: 0;
        z-index:998;
    }
    #header #header-nav > .menu_main > li > ul > li  ul li{
        display:block;
        margin:0;
    }
    #header #header-nav > .menu_main > li > ul > li  ul li > a{
        display: block;
        font-size: 1.6rem;
        padding: 5px 25px;
        line-height: 32px;
    }
}

@media (max-width: 1199px){
    #header #header-nav > .menu_main > li > a{
        font-size:1.6rem;
    }
}
@media (max-width: 991px){
    #header{
        height: 55px;
        text-align: center;
    }

    #header .logo-moebius > img{
        height:40px;
        margin:7px auto 0;
    }

    #header #header-nav{
        height: 55px;
    }
    #header #header-nav > ul.menu_main{
        display: none;
        line-height: 20px;
        max-width: 320px;
        position: absolute;
        right: 15px;
        z-index:999;
    }
    #header #header-nav > ul.menu_main.open{
        display:block;
    }

    #header #header-nav > .menu_main > li{
        display: block;
    }
    #header #header-nav > .menu_main > li > a{
        padding:12px 20px;
        text-align: left;
    }
    #header #header-nav > .menu_main > li > a > .glyphicon{
        margin: 0 10px 0 0;
        display: inline-block;
    }


    #header #header-nav > .menu_main > li ul{
        list-style: none;
        margin: 0;
        padding: 0 0 0 10px;
    }
    #header #header-nav > .menu_main > li ul > li{
        display:block;
        margin:0;
    }
    #header #header-nav > .menu_main > li ul li > a{
        display:block;
        font-size: 1.6rem;
        padding:12px 20px;
        text-align: left;
    }

    #header #header-nav .menu_mob_button{
        display: inline-block;
        font-size: 2.1rem;
        height: 44px;
        line-height: 32px;
        margin: 7px 5px 0px 0px;
        padding: 10px;
        text-align: center;
        cursor:pointer;
    }
}

/* =================== MAIN ========================= */
#main{
    min-height: calc(100vh - 35px);
    min-height: -webkit-calc(100vh - 35px);
    min-height: -moz-calc(100vh - 35px);
    min-height: -ms-calc(100vh - 35px);
    padding-top: 85px;
}

#main #main-wrapper{
    border-radius: 5px;
    margin: 50px 0px;
    padding: 15px;
    display:table;
    width: 100%;
}

#main #main-wrapper .card-header h1,
#main #main-wrapper .title{
    border-bottom:1px solid;
    margin:0 0 7px;
    padding:0 0 7px;

}
@media (min-width: 1200px){
    #main .container {
        min-width: 1170px;
    }

    #main .container.container-wide{
        width: 100%;
        max-width:1800px;
    }
}
@media (max-width: 991px){
    #main{
        padding-top: 25px;
    }
}
/* =================== FOOTER ========================= */
#footer{
    height: 30px;
    font-weight: bold;
    line-height: 30px;
    text-align: center;
    font-size: 1.2rem;
}
#footer img{
    left: 5px;
    position: relative;
    top: -3px;
}
/* =================== FORM ========================= */
.form-group  label{
    font-weight: normal;
    font-size:1.4rem;
}

.form-group .form-control{
    border-radius:5px;
    padding: 0px 10px;
}
.checkbox-label,
.radio-label{
    cursor:pointer;
    padding-left:25px;
    margin-right:15px;
}

.checkbox-label:before,
.radio-label:before{
    border-radius:5px;
    content:" ";
    height:20px;
    line-height: 20px;
    margin-left: -25px;
    position:absolute;
    text-align: center;
    width:20px;
}


.radio-label:before{
    border-radius:50%;
    font-size: 2.4rem;
}

.checkbox-label > input,
.radio-label > input{display:none !important;}

.checkbox-label.checked:before{
    content:"✓"
}

.radio-label.checked:before{
    content:"•";
}

.form-group .input-group-btn > .btn{
    padding: 5px 15px;
}

.form-group .input-group-btn > .btn > .fa{
    margin:0;
}

.form-group .checkbox-label{
    margin-top:30px;
}

.form-group .select2 .select2-selection{

}

.form-group .hint-block{
    margin:-5px 0 6px;
}

.form-group-hint{
    border-radius: 15px;
    cursor: pointer;
    display: block;
    font-size: 19px;
    line-height: 26px;
    position: absolute;
    right: 15px;
    text-align: center;
    width: 30px;
}
.panel-heading .form-group-hint{
    right: 25px;
    top: 5px;
}

.moeb-boolean .form-group-hint{
    margin-top: 24px;
}

.form-group .form-group-hint + .form-control,
.form-group .form-group-hint + .input-group,
.form-group .form-group-hint + .mce-tinymce,
.form-group .tooltip + .form-control,
.form-group .tooltip + .input-group,
.form-group .tooltip + .mce-tinymce{
    width: calc(100% - 40px);
    width: -moz-calc(100% - 40px);
    width: -ms-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
}

.file-input .file-caption-name{
    height: auto;
    line-height: 32px;
}

.file-input .btn{
    height:34px;
}

/* =================== TABLE ========================= */
.grid-tools{
    margin-bottom: 15px;
    margin-top: -10px;
}
.kv-grid-container + .grid-tools{
    margin-bottom: 15px;
    margin-top: 0px;
}
.grid-tools .summary{
    display: inline-block;
}
.grid-tools .pagination{
    float: right;
    margin: -7px 0 0 0;
}
.grid-tools .pagination > li{
    display: inline-block;
    margin: 0 -1px 0 0;
}
.grid-view-header{
    margin-bottom: 25px;
}
.grid-view-header .grid-header-btns{
    float: right;
    margin-top: -50px;
}

.table{
    font-size: 1.4rem;
}

.table > thead {
    background-color: #ccc;
}

.table > thead >tr > th {
    text-transform: uppercase;
}

.grid-view tr th,
.table > tbody > tr > td{
    vertical-align: middle;
}

.grid-view tr th:last-of-type,
.grid-view tr td:last-of-type{
    min-width: 100px;
    font-size: 1.6rem;
}

.grid-view tr td .checkbox,
.grid-view tr td .radio{
    margin: 10px auto 0px;
    width: 20px;
}
.grid-view tr td .checkbox .checkbox-label{
    padding:0;
    width:20px;
    margin: 0 auto;
}
.grid-view tr td .checkbox .checkbox-label:before{
    margin-left: -10px;
}

.grid-view .not-set{
    font-size:1.2rem;
    font-style:italic;
}

.grid-view tr td .input-group.date{
    min-width:185px
}

.grid-view tr th[data-col-seq="ID"]{width:20px;}
/*========================== MOEB UPDATE ==========================*/
.moeb-card-update .col-lg-11 {
    width: 100%;
}

.moeb-card-update .card-footer,
.moeb-card-view .card-footer{
    text-align: right;
}




/*========================== NAV-TAB ==========================*/
.nav-tabs{}
.nav-tabs li{}
.nav-tabs li a{
    border-radius: 0px;
    bottom: -1px;
    font-size:1.6rem;
    margin: 0px;
    position: relative;
}

/*========================== TREE VIEW ==========================*/
.treeview{}
.treeview ul{
    margin:0px;
}
.treeview ul li{
    font-size:1.6rem;
}
.treeview ul li .treeButtons{
    font-size:1.6rem;
}
.treeview ul li .treeButtons > a{
    margin-left:6px;
}
.treeview ul li .treeVisibility{
    font-size:1.6rem;
}

/*========================== USER START ==========================*/

.start-menu-item{
    border-radius:5px;
    display: inline-block;
    font-size: 2.2rem;
    margin: 15px;
    min-width: 230px;
    padding: 15px 15px 15px 75px;
    text-align: left;
    transition: all 0.3s ease-in-out;
}
.start-icon{
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    height: 45px;
    margin-left: -60px;
    margin-top: -8px;
    position: absolute;
    width: 45px;
}
@media (max-width: 991px){
    .start-menu-item{
        font-size: 1.8rem;
        min-width: 200px;
        padding: 15px 15px 15px 50px;
    }
    .start-icon{
        height: 30px;
        margin-left: -40px;
        margin-top: -3px;
        width: 30px;
    }
}
@media (max-width: 767px){
    .start-menu-item{
        height: 75px;
        margin: 5px 10px;
        min-width: 75px;
        padding: 15px;
        width: 75px;
    }
    .start-icon{
        height: 45px;
        margin: 0;
        position: static;
        width: 45px;
    }
}

.start-icon.icon-home{
    background-image:url('../img/moeb3_icon_01_main.png');
}
.start-icon.icon-menu{
    background-image:url('../img/moeb3_icon_02_menu.png');
}
.start-icon.icon-page{
    background-image:url('../img/moeb3_icon_03_page.png');
}
.start-icon.icon-meta{
    background-image:url('../img/moeb3_icon_04_metadata.png');
}
.start-icon.icon-static-page{
    background-image:url('../img/moeb3_icon_05_staticpage.png');
}
.start-icon.icon-lang{
    background-image:url('../img/moeb3_icon_06_translate.png');
}
.start-icon.icon-logout{
    background-image:url('../img/moeb3_icon_07_logout.png');
}

/*========================== CONTEXT ==========================*/
.moebBackContext{ }
.moebBackContext .backContent{
    background: white;
    border-radius: 5px;
    overflow: hidden;
}

.moebBackContext .backContent > div:first-child > .btn{
    float: right;
}
.moebBackContext .backContent h3{
    display: block;
    float: left;
}
.moebBackContext .backContent .small{
    line-height: 46px;
    font-size: 12px;
    margin-left: 20px;
}
.moebBackContext .backContent > div{
    margin: 10px;
    overflow: hidden;
}

.moebBackContext .backContent > div:nth-child(2), .moebBackContext .backContent:nth-child(2), .moebBackContext .whiteContent{
    border-top: 2px solid #e3e4e8;
    border-bottom: 2px solid #e3e4e8;
    border-right: 1px solid #e3e4e8;
    border-left: 1px solid #e3e4e8;
    border-radius: 5px;
    margin: 10px;
    padding: 5px 10px;
}

.large, .moebBackContext .backContent .large {
    color: #000;
    font-size: 30px;
    line-height: 34px;
    margin: 0 0 5px;
}

/* =================== moebius ========================*/
.moebInteger {
    text-align: right;
}

.moebDecimal {
    text-align: right;
}

.new-export {
    margin-bottom: 15px;
    float: right;
}

#main .container{
    margin: 0;
    width: 100%;
}
