/*@import url(https://fonts.googleapis.com/css?family=Open+Sans);*/

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html,
html body,
button,
input,
select,
textarea,
body h1, body h2, body h3, body h4, body h5, body h6, body .h1, body .h2, body .h3, body .h4, body .h5, body .h6 {
    font-family: 'Open Sans', Arial, Helvetica, "黑體", "黑体", "Hei Ti", "微軟正黑體", "Microsoft JhengHei", "Microsoft YaHei", "微软雅黑", sans-serif !important;
}

html, body {
    font-size: 12px !important;
    line-height: 1.4;
    height: 100%;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
    background: #1C3240;
}

body {
    height: 100%;
}



body .box {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

body .box.round {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.loading_mask{
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    border: 1px solid #123456;
    background-color: #000000;
}

.loading_mask > div{
    position: fixed;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.jquery-overlay-progress{
    background-image: url('../images/share/loading_sm.gif');
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center center;
    height: 30px;
    width: 30px;
}

.spinner {
    margin: 100px auto;
    width: 50px;
    height: 30px;
    text-align: center;
    font-size: 10px;
}

.spinner > div {
    background-color: #FFF;
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
    animation: stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes stretchdelay {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
    20% { -webkit-transform: scaleY(1.0) }
}

@keyframes stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }  20% {
           transform: scaleY(1.0);
           -webkit-transform: scaleY(1.0);
       }
}

/**
 * Button / Input Styles
 */


input[type="text"]::-webkit-input-placeholder, input[type="password"]::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #CCC;
}
input[type="text"]:-moz-placeholder, input[type="password"]:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #CCC;
    opacity:  1;
}
input[type="text"]::-moz-placeholder, input[type="password"]::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #CCC;
    opacity:  1;
}
input[type="text"]:-ms-input-placeholder, input[type="password"]:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color:    #CCC;
}

input[type="text"]:focus, input[type="password"]:focus {
    border: 1px solid #1D87CC;
}

input[type="text"], input[type="password"] {
    border: 1px solid #BBB;
    color: #386480;
}


button, input {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

button, input[type="button"] {
    color: #FFFFFF;
    font-weight: bold;
    border: 1px solid #125580;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
    font-size: 1.2em;
    background: #125580;
    padding: 0.4em 0.8em;
}

.no-shadow:not(:active){
    box-shadow: 0 0 0 rgba(50, 50, 50, 0.5)!important;
}

.no-border {
    border: 0!important;
}

button[disabled], input[type="button"][disabled] {
    background: #555;
}

select.loading,span.loading,label.loading,a.loading, button.loading, input[type="button"].loading,input[type="submit"].loading,div.loading {
    background-image: url('../images/share/loading_sm.gif');
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: 10px center;
    padding-left: 30px;
    pointer-events: none;
    cursor: default;
}

.main-wrapper {
    padding: 40px 15px;
    text-align: center;
}

/**
 * actions
 */
ul.actions, ul.actions li {
    list-style: none;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#main #pwd_reset_form ul.actions {
    position:relative;
    right: 0;
    bottom: 0;
    float:right;
}

#main #pwd_reset_form ul.actions li {
    float: left;
}

#pwd_reset_form ul.actions li:not(:last-child) {
    margin-right: 1em;
}

#main ul.actions {
    position: absolute;
    right: 2em;
    bottom: -1em;
}

#main_content ul.actions {
    float: right;
    overflow: hidden;
    margin-top: -1px;
    margin-right: 2em;
    padding: 0 1em 0.7em;
    background: #FFF;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
}

#main_content ul.actions li {
    float: left;
}

#main_content ul.actions li:last-child button {
    margin-right: 0;
}

#main_content ul.actions li button, #main_content ul.actions li input[type="button"]
{
    border: 0;
    border-radius: 0;
    background-color: #386480;
    color: #FFF;
    margin-right: 1em;
    /*box-shadow: 2px 2px 2px rgba(0,0,0,0.9);*/
}

#main_content ul.actions li button:focus, #main_content ul.actions li button:hover {
    background-color: #00baf2;
}

#main_content ul.actions li button.cancel {
    background-color: #555;
}

#main_content ul.actions li button.cancel:focus, #main_content ul.actions li button.cancel:hover {
    background-color: #333;
}

#top-ribbon {
    position: relative;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
}


#top-ribbon, #top-ribbon li {
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    visibility: visible;
}

#top-ribbon li {
    float: left;
}


/* style for the blank screen */
body.layout_blank {
    background: #1D87CC;
    color: #125580;
}

body.layout_blank #main.box {
    /*height: 420px;*/
    /*position: absolute;
    left: 50%;
    top: 50%;*/

    /*margin-left: -210px;*/
    /* center different size of box */
    /*transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);*/
    /*margin-left: -200px;*/
    /*margin-top: -210px;*/
    /*background: rgba(222,238,255,1);
    box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.4);*/

    height: 100%;
    text-align: center;
}

body.layout_blank #main.box::before, body.layout_blank #main.box:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

body.layout_blank #main #content {
    width: 420px;
    display: inline-block;
    vertical-align: middle;
}

#main.login {
    /*padding: 20px 30px 30px;*/
}

#main.login .sep {
    margin-bottom: 0.8em;
    display: block;
    /*display: inline-block;*/
}

#main.login input[type="text"], #main.login input[type="password"] {
    width: 100%;
    padding: 0.5em 0.8em 0.5em 60px;
    font-size: 1.7em;
    color: #0072bc;
    background: #e5edf3;
}

#main.login .control-label {
    position: absolute;
    margin: 5px 0 0 5px;
}

#main.login #input_username {
    background: url('../images/img_login_user.png') 5px 50% #e5edf3 no-repeat;
}

#main.login #input_password {
    background: url('../images/img_login_pwd.png') 5px 50% #e5edf3 no-repeat;
}

#main.login #top-ribbon {
    position: absolute;
    top: -20px;
    height: 98px;
    width: 389px;
    left: -30px;
    /*background: #386480;*/
    background: #125580;
}

#main.login #top-ribbon .shadow {
    position: absolute;
    background: url('../images/ribbon_shadow_bg.png') top left no-repeat;
    width: 9px;
    height: 8px;
    display: block;
    bottom: -8px;
    right: 0;
}

#main.login #logo {
    /*margin-left: -50px;
    margin-top: -45px;
    !*margin-top: -34px;*!
    margin-bottom: 0;*/
    width: 65%;
    position: relative;
    margin: 0 auto;
}

#main.login h1  {
    margin: 0 auto;
}

#main.login h1 a {
    height: auto;
    width: 100%;
    display: block;
    /*
    background: url('../images/logo/logo_with_text_light.png') 50% 50% no-repeat;
    */
}

#main.login h1 a img {
    width: 100%;
}

#main.login #logo span.caption {
    font-size: 0.5em;
    position: absolute;
    top: 125px;
    left: 40px;
    /* padding-left: 40px; */
    color: #FFF;
    display: block;
}

#main.login h2 {
    position: relative;
    /*margin: 1.4em 0 0.2em 3.8em;*/
    font-size: 2.3em;
    color: #0072bc;
    font-weight: 300;
    text-align: left;
    margin: -0.5em auto 0.5em;
    /*text-shadow: 2px 2px 3px rgba(100,100,100,0.5);*/
}

#main.login #login_form, #main.login #secure_form, #pwd_reset_form {
    /*position: absolute;*/
    /*padding-top: 80px;*/
    bottom: 0;
    /*width: 100%;*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 2em;
    border-radius: 5px;
    margin: 1em 2em 0;
    background: #FFF;
    position: relative;
}


#main.login #login_form #general, #main.login #secure_form #general {
    display: block;
    border: solid 1px #FF0000;
    /*padding: 0.2em 0.5em;*/
    text-align: justify;
    background: rgba(255,204,204,0.5);
    margin-bottom: 1em;
    display: none;
}

#main.login #login_form #general.has-error, #main.login #secure_form #general.has-error {
    display: block;
}

#main.login #login_form #general .error-item, #main.login #secure_form #general .error-item {
    text-align: justify;
}

#main.login input[type="button"], #main.login button {
    font-size: 1.5em;
}

#main.login .actions {
   /* margin-top: -10px;*/
}

#main.login .actions button {
    border-radius: 0;
}

#main.login .actions button:hover {
    /*background-color: #00baf2;*/
    background-color: #FFF;
    color: #125580;
}

#main.login .checkbox label {
    display: block;
    float: left;
    padding-right: 10px;
    white-space: nowrap;
}
#main.login .checkbox input {
    vertical-align: middle;
}
#main.login .checkbox label span {
    vertical-align: middle;
}

#main.login .enterprise-switch-wrapper {
    position: absolute;
    top: 20px;
    right: 25px;
}

#inner_wrapper #logo {
    position: absolute;
    left: 1em;
    bottom: -13px;
}

#inner_wrapper #logo img {
    width: 205px;
}

#logo {
    /*position: absolute;*/
    /*left: 1em;*/
}

/**
 * Error
 */
.has-error {
    color: #FF0000;
}

ul.errors{
    margin: 4px 0 0 0;
    /*border: 1px solid rgb(169, 68, 66);*/
    background-color: rgb(242, 222, 222);
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

ul.errors, ul.errors li {
    list-style: none;
    list-style-type: none;
    padding: 2px 5px
}

ul.errors li {
    line-height: 1.2em;
    margin: 0;
    color: #C00000;
}

ul.info{
    margin: 4px 0 0 0;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

ul.info, ul.info li {
    list-style: none;
    list-style-type: none;
    padding: 2px 5px
}

ul.info li {
    line-height: 1.2em;
    margin: 0;
    color: #386480;
}

.has-error input {
    border: 1px solid #FF0000;
}

.row.no-gutters {
    margin-right:0;
    margin-left:0;
}
.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"]  {
    padding-right:0;
    padding-left:0;
}

/**
 * Main Layout
 */
#outer_wrapper {
    display: block;
    position:relative;
    height: 100%;
    background: #1C3240;
}

#inner_wrapper {
    padding: 0;
    height: 100%;

    -webkit-transition: padding-left 500ms ease-in-out;
    -moz-transition: padding-left 500ms ease-in-out;
    -o-transition: padding-left 500ms ease-in-out;
    transition: padding-left 500ms ease-in-out;
}

.expand #inner_wrapper {
    -webkit-transition: padding-left 500ms ease-in-out;
    -moz-transition: padding-left 500ms ease-in-out;
    -o-transition: padding-left 500ms ease-in-out;
    transition: padding-left 500ms ease-in-out;
    padding-left: 225px;
}

#inner_wrapper .top-ribbon {
    margin-top: 25px;
}

#top-infobar {
    height: 25px;
    display: block;
    position: fixed;
    z-index: 1050;
    width: 100%;
    left: 0;
    padding: 0.5em 1em;
    /*background: #6EA8CC;*/
}

#top-infobar-bg {
    height: 25px;
    background: #EEE;
    display: block;
    position: fixed;
    z-index: 100;
    width: 100%;

}

#top-infobar .pull-left {
    padding-right: 150px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#top-infobar .pull-left .breadcrumb {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0;
    background: none;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
}

#top-infobar .pull-right {
    position: absolute;
    right: 1em;
}

#inner-wrapper .current-time {

}

#main_content {
    position: relative;
    background: #EEEEEE;
    padding: 80px 15px 35px 15px;
    box-shadow: -2px 0 10px 1px rgba(0,0,0,0.7);
    min-height: 100%;
	overflow: auto;
    font-size: 1em;
}

#main_content .copyright {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top: 1px dashed #DDD;
    padding: 0.2em 1em 0.2em 0;
    width: 100%;
    text-align: right;
    background: rgba(255,255,255, 0.5);
}

#top-infobar .breadcrumb {
    margin: 0 0 1em 225px;
    line-height: 1.5em;
}

#main_nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 225px;
    margin-top: 75px;
}

#main_nav .nav_top_bg {
    height: 75px;
    position: absolute;
    top: -75px;
    left: 0;
    width: 100%;
    z-index: 100;
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzFjMzI0MCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijg1JSIgc3RvcC1jb2xvcj0iIzFjMzI0MCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxYzMyNDAiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(28,50,64,1) 0%, rgba(28,50,64,1) 85%, rgba(28,50,64,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(28,50,64,1)), color-stop(85%,rgba(28,50,64,1)), color-stop(100%,rgba(28,50,64,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(28,50,64,1) 0%,rgba(28,50,64,1) 85%,rgba(28,50,64,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(28,50,64,1) 0%,rgba(28,50,64,1) 85%,rgba(28,50,64,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(28,50,64,1) 0%,rgba(28,50,64,1) 85%,rgba(28,50,64,0) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(28,50,64,1) 0%,rgba(28,50,64,1) 85%,rgba(28,50,64,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1c3240', endColorstr='#001c3240',GradientType=0 ); /* IE6-8 */
}

ul.menu, ul.menu li {
    padding: 0;
    margin: 0;
    list-style: none;
    list-style-type: none;
}

ul.menu {
    font-size: 1.2em;
}

ul.menu li {
    line-height: 1.2em;
}

ul.menu ul.menu {
    font-size: 0.9em;
}

ul.menu li.item {
    position: relative;
}

ul.menu li.item span.menu-arrow {
    float: right;
    padding-right: 10px;
    padding-top: 0.5em;
}

ul.menu li.item span.fa.menu-arrow-rotate {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=-1);
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

ul.menu li.item span.fa {
    -webkit-transition: -webkit-transform 300ms ease-in-out;
    -moz-transition: -moz-transform 300ms ease-in-out;
    -o-transition: -o-transform 300ms ease-in-out;
    transition: transform 300ms ease-in-out;
}

ul.menu li.item span {
    display: block;
    padding: 0.2em 0;

}

ul.menu li.item span.item_text.lv0 {
    cursor: pointer;
}

ul.menu li.item span.item_text.lv0:hover, ul.menu li.item.active span.item_text.lv0 {
    color: #00baf2;
}

ul.menu li.item span.item_text {
    padding-left: 20px;
    margin-left: 30px;

}

ul.menu li.item span.menu-icon {
    padding-left: 30px;
    background-position: 0 50%;
    background-repeat: no-repeat;
    padding-top: 30px;
    display: inline-block;
    vertical-align: middle;
}

ul.menu li.item .separator {
    display: none;
}

ul.menu li.item .arrow {
    position: absolute;
    right: 0;
    height: 15px;
    width: 15px;
    top: 50%;
    margin-top: -7px;
    background: url('../images/menu_pointer_right_arrow.png') transparent 0 100% no-repeat;
    display: none;
}

ul.menu li.item .selected .arrow {
    display: block;
}

ul.menu li.item.lv0:not(:last-of-type) .separator {
    display:block;
    padding: 0;
    height: 1px;
    margin: 5px 10px 0;
    background: -moz-linear-gradient(left,  rgba(0,0,0,0) 0%, rgba(206,206,206,1) 50%, rgba(0,0,0,0) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,0)), color-stop(50%,rgba(206,206,206,1)), color-stop(100%,rgba(0,0,0,0)));
    background: -webkit-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(206,206,206,1) 50%,rgba(0,0,0,0) 100%);
    background: -o-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(206,206,206,1) 50%,rgba(0,0,0,0) 100%);
    background: -ms-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(206,206,206,1) 50%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(206,206,206,1) 50%,rgba(0,0,0,0) 100%);

    border: 0;


    /*border-width: 0 0 3px 0;*/
    /*-moz-border-image: -moz-linear-gradient(left,  rgba(0,0,0,0) 0%, rgba(206,206,206,1) 50%, rgba(0,0,0,0) 100%);*/
    /*-webkit-border-image: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,0)), color-stop(50%,rgba(206,206,206,1)), color-stop(100%,rgba(0,0,0,0)));*/
    /*-webkit-border-image: -webkit-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(206,206,206,1) 50%,rgba(0,0,0,0) 100%);*/
    /*-o-border-image: -o-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(206,206,206,1) 50%,rgba(0,0,0,0) 100%);*/
    /*-ms-border-image: -ms-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(206,206,206,1) 50%,rgba(0,0,0,0) 100%);*/
    /*border-image: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(206,206,206,1) 50%,rgba(0,0,0,0) 100%);*/

}
.menu-icon.icon-dashboard {
    background-image: url('../images/icons/dashboard.png');
}

.menu-icon.icon-corporate-dashboard {
    background-image: url('../images/icons/corporate_dashboard.png');
}

.menu-icon.icon-restaurant-dashboard {
    background-image: url('../images/icons/restaurant_dashboard.png');
}

.menu-icon.icon-restaurant-settings {
    background-image: url('../images/icons/restaurant_settings.png');
}

.menu-icon.icon-table-settings {
    background-image: url('../images/icons/tables.png');
}

.menu-icon.icon-table-features {
    background-image: url('../images/icons/table_features.png');
}

.menu-icon.icon-table-combinations {
    background-image: url('../images/icons/combine_tables.png');
}

.menu-icon.icon-period-settings {
    background-image: url('../images/icons/period_settings.png');
}

.menu-icon.icon-new-reservation {
    background-image: url('../images/icons/new_reservation.png');
}

.menu-icon.icon-new-party-rsvn {
    background-image: url('../images/icons/new_party_rsvn.png');
}

.menu-icon.icon-search-reservation {
    background-image: url('../images/icons/reservation_search.png');
}

.menu-icon.icon-reservation-list {
    background-image: url('../images/icons/reservation_list.png');
}

.menu-icon.icon-recent-reservations {
    background-image: url('../images/icons/recent_reservation.png');
}

.menu-icon.icon-reservation-history {
    background-image: url('../images/icons/reservation_history.png');
}

.menu-icon.icon-analytic-common {
    background-image: url('../images/icons/analytic_common.png');
}

.menu-icon.icon-sections {
    background-image: url('../images/icons/sections.png');
}

.menu-icon.icon-guest-crm {
    background-image: url('../images/icons/guest_crm.png');
}

.menu-icon.icon-guest-search {
    background-image: url('../images/icons/guest_search.png');
}

.menu-icon.icon-guest-list {
    background-image: url('../images/icons/target_guest_list.png');
}

.menu-icon.icon-message-template {
    background-image: url('../images/icons/message_template.png');
}

.menu-icon.icon-internal-message {
    background-image: url('../images/icons/internal_message.png');
}

.menu-icon.icon-eshop {
    background-image: url('../images/icons/e_shop.png');
}

.menu-icon.icon-users {
    background-image: url('../images/icons/users.png');
}

.menu-icon.icon-user-roles {
    background-image: url('../images/icons/user-roles.png');
}

.menu-icon.icon-logs {
    background-image: url('../images/icons/logs.png');
}

.menu-icon.icon-security {
    background-image: url('../images/icons/security_on.png');
    -webkit-background-size: cover;background-size: cover;
}

.menu-icon.icon-app-whitelist {
    background-image: url('../images/icons/app_whitelist.png');
}

.menu-icon.icon-license-control {
    background-image: url('../images/icons/license_control.png');
}

.menu-icon.icon-floor-plan {
    background-image: url('../images/icons/floor_plan.png');
}

.menu-icon.icon-table-assignment {
    background-image: url('../images/icons/table_assignment.png');
}

.menu-icon.icon-table-block {
    background-image: url('../images/icons/table_blocking.png');
}

.menu-icon.icon-metadata {
    background-image: url('../images/icons/metadata.png');
}

.menu-icon.icon-benefit {
    background-image: url('../images/icons/benefit.png');
}

.menu-icon.icon-promotion {
    background-image: url('../images/icons/promotion.png');
}

.menu-icon.icon-promotion-analytics {
    background-image: url('../images/icons/promotion-analytics.png');
}

.menu-icon.icon-corporate-settings {
    background-image: url('../images/icons/corporate_settings.png');
}
.menu-icon.icon-deposit-report {
    background-image: url('../images/icons/deposit.png');
}

ul.menu li.item span.item_text.lv0 {
    margin-left: 20px;
    padding: 0;
    margin-top: 0.5em;
    font-weight: normal;
    line-height: 2.5em;
    margin-bottom: 0.2em;
    /*color: #00baf2;*/
    color: #a1d9ee;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

ul.menu li.item span a {
    color: #FFFFFF;
    display: block;
    line-height: 2em;
}


ul.menu li.item span.selected {
    /*background: url('../images/menu-item-left-round.png') #009ad3 left 50% no-repeat;*/
    background: #386480;
}

ul.menu li.item span.selected a {
    /*color: #c4ebff;*/
    color: #ffffcc;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.tile_box {
    font-size: 1.3em;
    position: relative;
    padding: 0;
}

.tile_box h3 {
    font-size: 1.8em;
    margin: 0;
}

.tile_box.blue {
    background: #0099cc;
}

.tile_box.text_light {
    color: #FFF;
}

.navbar {
    /*padding-left: 50px;*/
}

.navbar .container {
    width: auto;
    display: block;
    background: #386480;
    box-shadow: 1px 2px 3px rgba(50,50,50,0.9);
}

.navbar a {
    color: #FFF;
}

.navbar .top-ribbon {
    padding-left: 240px;
}

.navbar .top-ribbon #menu-toggle {
    margin-top: 2px;
    float: left;
    background: url('../images/menu_btn_bg.png') 50% 50% no-repeat;
    width: 30px;
    height: 30px;
    padding: 0;
    line-height: 0;
    box-shadow: 0 0 0;
}

.navbar .top-ribbon a {
    padding: 5px 15px;
    line-height: 1.8em;
}

.nowrap {
    white-space: nowrap;
}


#error_panel {
    text-align: left;
}

#error_panel #logo {
    /*margin-top: -110px;*/
    /*margin-left: -1em;*/
}

#error_panel h1 {
    font-size: 12em;
    text-align: center;
    margin-top: 25%;
    margin-bottom: 5%;
    color: #cc0000;
    font-weight: 700;
}

#error_panel h2 {
    font-size: 3em;
    background: #2a6496;
    color: #FFF;
    border-radius: 0 3em 3em 0;
    padding: 0.2em 1em 0.2em 1.2em;
    margin-left: -0.6em;
    box-shadow: -3px 3px 8px rgba(0,0,0,0.8);
}


body.error-page {
    background: #FFF;
}


body.error-page #error_panel {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}

body.error-page #main #content #error_panel {
    width: auto;
    display: block;
    vertical-align: unset;
}

body.error-page #main #content #error_panel h1 {
    font-weight: 100;
    color: #2a6496;
    margin: 0;
    font-size: 10rem;
}

body.error-page #main #content #error_panel h2 {
    font-size: 2em;
    color: #FFF;
    border-radius: 40px 0;
    padding: 0.2em 1em 0.2em 1.2em;
    margin-left: 0;
    box-shadow: none;
    /*margin-left: -0.6em;*/
    /*box-shadow: -3px 3px 8px rgba(0,0,0,0.8);*/
}

#content .two_cols {
    background: rgba(255, 255, 255, 0.9) url('../images/two_cols_sep.png') center center no-repeat;
    border-radius: 10px;
    padding: 1em;
    width: 800px;
    height: 450px;
    margin: -225px 0 0 -400px;
    position: absolute;
    top: 50%;
    left: 50%;
}

#content .two_cols .message_wrapper {
    position: relative;
    height: 450px;
    padding: 5em 1em;
    font-size: 1.2em;
}


#content .two_cols .message {
    overflow-y: auto;

}

.upload-input-wrapper {
    border: 1px solid #CCC;
    border-radius: 5px;
    overflow: hidden;
}

.upload-input-wrapper dl.upload-input-info, .upload-input-wrapper dl.upload-input-info dt, .upload-input-wrapper dl.upload-input-info dd {
    margin: 0;
    padding: 0;
}

.upload-input-wrapper dl.upload-input-info {
    display: block;
    overflow: hidden;
    position: relative;
}

.upload-input-wrapper dl.upload-input-info.hidden {
    display: none;
}

.upload-input-wrapper dl.upload-input-info dt {
    width: 120px;
    margin-right: 20px;
    float: left;
}

.upload-input-wrapper dl.upload-input-info dt img {
    width: 100%;
}

.upload-input-wrapper dl.upload-input-info dd {
    margin: 1.5em 0;
}

.upload-input-wrapper dl.upload-input-info dd ul, .upload-input-wrapper dl.upload-input-info dd ul li {
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-type: none;
}

.upload-input-wrapper button {
    width: 100%;
    border: 0;
    background: #386480;
    color: #FFF;
    border-radius: 0 0 5px 5px;
    padding: 10px 0;
}

.upload-input-wrapper button:hover {
    background: #00baf2;
    color: #FFF;
}

/* ==========================================================================
   Adaptive layout
   ========================================================================== */
@media screen and (max-width: 767px) {

    html, body {
        font-size: 14px !important;
        background: #1D87CC;
    }

    #outer_wrapper {
        background: #1D87CC;
    }

    body.layout_blank .box#main {
        width: auto;
        position: relative;
        margin: 0 auto;
        left: inherit;
        top: inherit;
        background: none;
        box-shadow: none;
        min-height: 100%;
        padding: 0 2.5%;
        transform: translate(0);
        -ms-transform: translate(0);
        -moz-transform: translate(0);
        -webkit-transform: translate(0);
    }

    body.layout_blank .box#main p {
        text-align: left;
    }


    body.layout_blank .login #content {
        /*background: rgba(222,238,255,1);*/
        background: #0072bc;
        box-shadow: 2px 2px 4px rgba(30,30,30,0.6);
    }

    body.layout_blank #main #content {
        width: 100%;
        max-width: 420px;
        box-sizing: border-box;
        position: relative;
    }

    body.layout_blank #main.box::before, body.layout_blank #main.box:before {
        display: none;
    }

    .login#main #top-ribbon {
        height: auto;
        overflow: visible;
        background: none;
        box-shadow: none;
    }

    .login#main #top-ribbon .shadow {
        position: absolute;
        width: 100%;
        background: #125580;
        height: 90%;
        /*-ms-transform: translateY(-50%); *//* IE 9 *//*
        -webkit-transform: translateY(-50%); *//* Chrome, Safari, Opera *//*
        transform: translateY(-50%);*/
        top: 0;
        bottom: 0;
        z-index: 0;
        box-shadow: 0 2px 3px rgba(0,0,0,0.6);
    }

    .login#main #top-ribbon #logo {
        margin: 0;
        z-index: 10;
        width: 50%;

    }

    .login#main #top-ribbon #logo h1 {
        margin: 0;
    }


    .login#main #logo h1 a {
        width: 100%;
        padding: 0.5em 0 ;
    }

    .login#main #top-ribbon #logo h1 a {
        /*margin: 0;*/
        margin-bottom: 15px;
        background-size: contain;
        width: 100%;
        height: inherit;
        overflow: hidden;
        white-space: nowrap;
        line-height: 90px;
        background-position: 0 50%;
        display:inline-block;
    }

    .login#main #top-ribbon #logo h1 a span {
        visibility: hidden;
    }

    .login#main #top-ribbon #logo h1 span.caption {
        width: 180px;
        top: 88px;
        left: 0;
        text-align: center;
        font-size: 0.4em;
    }

    .login#main #top-ribbon .title {
        z-index: 10;
        position: relative;
    }

    .login#main #top-ribbon .title h2 {
        margin: 35px 0.5em 0;
        font-size: 2em;
    }

    .login#main #top-ribbon:after {
        content: "";
        display: table;
        clear: both;
    }


    .login#main #top-ribbon {
        position: relative;
        width: 100%;
        padding: 0 2.5%;
        top: inherit;
        left: inherit;
        z-index: 10;
        margin-left: -2.5%;
    }

    .login#main #logo {
        /*left: 0;
        margin-left: 0;*/
    }

    .login#main #login_form, .login#main #secure_form, #pwd_reset_form {
        position: relative;
        width: auto;
        display: block;
        /*background: rgba(222,238,255,1);*/
        padding: 20px;
        /*margin: -80px 2.5% 0;*/
        z-index: 0;
        box-shadow: none;
        margin: 0;
        border-radius: 0;
    }

    .login#main #login_form ul.actions, .login#main #secure_form ul.actions, #pwd_reset_form ul.actions {
        position: relative;
        float: right;
        right: 0;
        bottom: 0;
    }


    /**
    * main
    ****/
    #inner_wrapper {
    }

    #inner_wrapper #main_content {
        min-height: 200px;
        width: 97%;
        border: 1px solid #AAA;
        border-top: 0;
        border-radius: 0 0 5px 5px;
        margin: 0 auto 1em;
    }

    #inner_wrapper .top-ribbon {
        margin-top: 0;
    }

    #inner_wrapper .navbar {
        margin: 0 !important;
        padding: 0.2em 1em 0.2em 0.5em;
        min-height: 0;
    }

    .navbar .top-ribbon #menu-toggle {
        position: absolute;
        top: 50%;
        margin-top: -15px;

    }

    .navbar .navbar-toggle {
        margin: 0;
        width: 50px;
        height: 30px;
        background: url('../images/more.png') center center no-repeat;
        padding: 0;
        box-shadow: none;
        border: 0;
    }

    .navbar .top-ribbon {
        padding: 0;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        padding-left: 55%;

        -webkit-transition: padding-left 500ms ease-in-out;
        -moz-transition: padding-left 500ms ease-in-out;
        -o-transition: padding-left 500ms ease-in-out;
        transition: padding-left 500ms ease-in-out;
    }

    #inner_wrapper .navbar #logo {
        position: relative;
        left: 0;
        z-index: 10;
        top: 0;
    }

    #inner_wrapper .navbar #logo img {
        width: 50%;

        -webkit-transition: width 500ms ease-in-out;
        -moz-transition: width 500ms ease-in-out;
        -o-transition: width 500ms ease-in-out;
        transition: width 500ms ease-in-out;
    }

    .navbar .top-ribbon .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 1em;
        background: #8b8b8b;
        margin: 0;
        border: 1px solid #666666;
        border-top: 0;
        box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
        border-radius: 0 0 5px 5px;
        overflow: visible;
    }

    #inner_wrapper .navbar.sm-nav-bar #logo img {
        width: 30%;

        -webkit-transition: width 500ms  ease-in-out;
        -moz-transition: width 500ms ease-in-out;
        -o-transition: width 500ms ease-in-out;
        transition: width 500ms ease-in-out;
    }

    .navbar.sm-nav-bar .top-ribbon {
        padding-left: 35%;

        -webkit-transition: padding-left 500ms ease-in-out;
        -moz-transition: padding-left 500ms ease-in-out;
        -o-transition: padding-left 500ms ease-in-out;
        transition: padding-left 500ms ease-in-out;
    }

    #inner_wrapper .navbar .navbar-header {
        margin: 0;
        top: 50%;
        margin-top: -15px;
        position: absolute;
        right: 1em;
    }

    #main_nav {
        position: relative;
        top: 0;
        left: 0;
        width: auto;
        z-index: 10;
        padding: 0;
        padding-top: 16.5%;
        margin-top: 0;
        /*background: #345d76;*/
        /*background: rgba(237, 237, 237, 1);*/
        max-height: 0;
        overflow: hidden;

        -webkit-transition: max-height 500ms ease-in-out;
        -moz-transition: max-height 500ms ease-in-out;
        -o-transition: max-height 500ms ease-in-out;
        transition: max-height 500ms ease-in-out;
    }

    #main_nav .menu.lv0, .expand #main_nav {
        background: #345d76;
    }

    .expand #main_nav {
        -webkit-transition: max-height 500ms ease-in-out;
        -moz-transition: max-height 500ms ease-in-out;
        -o-transition: max-height 500ms ease-in-out;
        transition: max-height 500ms ease-in-out;
        max-height: 999px;
    }

    #outer_wrapper.expand #inner_wrapper {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        overflow: hidden;
        position: absolute;
        top: 0;
    }

    #main_content {
        padding-top: 0.5em;
    }

    .top-infobar-wrapper {
        display: none;
    }

    ul.menu {
        font-size: 1.2em;
    }

    ul.menu.collapse {
        display: block!important;
    }

    ul.menu li.item span.fa {
        display: none;
    }

    ul.menu li.item span.item_text {
        text-align: center;
        padding: 0;
        margin: 0;
    }

    ul.menu li.item {
        border-bottom: 1px solid rgba(39,69,88,1);
    }

    ul.menu li.item .arrow, ul.menu li.item .selected .arrow {
        display: none;
    }

    ul.menu li.item:last-child, ul.menu li.item.lv0 {
        border-bottom: 0;
    }

    ul.menu li.item span.item_text a {
        color: #FFFFFF;
        padding: 0 1em;
        vertical-align: middle;
        line-height: 2.5em;
        padding-left: 30px;
        position: relative;
    }

    ul.menu li.item span.menu-icon {
        position: absolute;
        top: 50%;
        left: 2em;
        margin-top: -15px;
        margin-right: 1em;

    }

    ul.menu li.item.lv0:not(:last-of-type) .separator {
        display: none;
    }

    ul.menu li.item span.item_text a:hover, ul.menu li.item span.item_text.selected a {
        background: rgb(52,93,118); /* Old browsers */
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzM0NWQ3NiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iIzFjMzAzYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzNDVkNzYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
        background: -moz-linear-gradient(left,  rgba(52,93,118,1) 0%, rgba(28,48,60,1) 50%, rgba(52,93,118,1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(52,93,118,1)), color-stop(50%,rgba(28,48,60,1)), color-stop(100%,rgba(52,93,118,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(left,  rgba(52,93,118,1) 0%,rgba(28,48,60,1) 50%,rgba(52,93,118,1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(left,  rgba(52,93,118,1) 0%,rgba(28,48,60,1) 50%,rgba(52,93,118,1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(left,  rgba(52,93,118,1) 0%,rgba(28,48,60,1) 50%,rgba(52,93,118,1) 100%); /* IE10+ */
        background: linear-gradient(to right,  rgba(52,93,118,1) 0%,rgba(28,48,60,1) 50%,rgba(52,93,118,1) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#345d76', endColorstr='#345d76',GradientType=1 ); /* IE6-8 */

    }

    ul.menu li.item span.item_text.lv0 {
        padding: 0.2em 1em;
        margin: 0;
        font-weight: bold;
        line-height: 1.5em;
        border: 0;
        color: #BEF8FF!important;
        /*background: #274558;*/
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzI3NDU1OCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUxJSIgc3RvcC1jb2xvcj0iIzY2YjRlNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyNzQ1NTgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
        background: -moz-linear-gradient(left,  rgba(39,69,88,1) 0%, rgba(102,180,229,1) 51%, rgba(39,69,88,1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(39,69,88,1)), color-stop(51%,rgba(102,180,229,1)), color-stop(100%,rgba(39,69,88,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(left,  rgba(39,69,88,1) 0%,rgba(102,180,229,1) 51%,rgba(39,69,88,1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(left,  rgba(39,69,88,1) 0%,rgba(102,180,229,1) 51%,rgba(39,69,88,1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(left,  rgba(39,69,88,1) 0%,rgba(102,180,229,1) 51%,rgba(39,69,88,1) 100%); /* IE10+ */
        background: linear-gradient(to right,  rgba(39,69,88,1) 0%,rgba(102,180,229,1) 51%,rgba(39,69,88,1) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#274558', endColorstr='#274558',GradientType=1 ); /* IE6-8 */
        cursor: auto;
        text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
    }

    ul.menu ul.submenu {
        box-shadow: 0 2px 3px rgba(0,0,0,0.5) inset;

    }


    #inner_wrapper {
        height: auto;
        -webkit-transition: none;
        -moz-transition: none;
        -o-transition: none;
        transition: none;
    }

    .expand #inner_wrapper {
        -webkit-transition: none;
        -moz-transition: none;
        -o-transition: none;
        transition: none;
        padding-left: 0;
    }

    #content .two_cols {
        width: auto;
        height: auto;
        margin: 1em;
        position: relative;
        top: 0;
        left: 0;
        background: rgba(255, 255, 255, 0.9);
    }

    #content .two_cols .message_wrapper {
        height: auto;
        padding: 1em;
    }

    #error_panel {
        text-align: center;
    }

    #error_panel h1 {
        margin: 0;
    }

    #error_panel #logo {
        margin: 0;
        position: relative;
    }
}

@media screen and (max-width: 480px) {
    /**
         * notification box
         */
    #main .notify {
        margin: 0;
        border-radius: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        box-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        min-height: 100%;
        width: 100%;
        min-width: 100%;
        /*position: absolute;*/ /* fix bug on child cannot inherit parent min-height */
    }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.main_header {
    /*color: #0072bc;
    font-weight: bold;
    text-shadow: 1px 1px 2px #FFF;
    *//*font-style: italic;*//*
    margin-top: 0;
    margin-bottom: 10px;
    *//*border-bottom: 1px solid #D5D5D5;*//*
    padding-bottom: 0;
    padding-left: 30px;
    position: relative;
    overflow: hidden;
    height: 36px;
    background: url('../images/icons/ttl_icon_left.png') left 50% no-repeat;*/
}

h3.main_header {
    color: #386480;
    text-shadow: 1px 1px 2px #FFF;
    /*font-style: italic;*/
    margin-top: 0;
    margin-bottom: 10px;
    /*border-bottom: 1px solid #D5D5D5;*/
    position: relative;
    overflow: hidden;
    height: 36px;
    background: url('../images/icons/ttl_icon_pointer_db.png') left 50% no-repeat;
    font-size: 2.2em;
    line-height: 30px;
    font-weight: 500;
    padding: 5px 10px 0 45px;
    display: inline-block;

}

h3.main_header span {
    display: block;
}


h4.section_header {
    color: #0072bc;
    text-shadow: 1px 1px 2px #FFF;
    /*font-style: italic;*/
    margin-top: 0;
    margin-bottom: 10px;
    /*border-bottom: 1px solid #D5D5D5;*/
    position: relative;
    overflow: hidden;
    height: 36px;
    background: url('../images/icons/ttl_icon_left.png') left 50% no-repeat;
    font-size: 1.5em;
    line-height: 30px;
    font-weight: 700;
    padding: 5px 10px 0 35px;
    display: inline-block;
}

h4.section_header span {
    display: block;
    padding: 0 5px;
    border-bottom: 1px solid #00baf2;
}

h4.section_header button.btn {
    padding: 0 1em;
    line-height: 30px;
    height: 28px;
    border: 0;
    background-color: #00baf2;
    color: #FFF;
    margin-top: -2px;
    border-radius: 0;
    box-shadow: none;
}

h4.section_header button.btn:hover {
    background-color: #0072bc;
}

/*
.form-bg{
    padding: 15px 15px 15px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
*/

.form-outside-button{
    padding-top: 15px;
    text-align: center;
}

.text-align-left{
    text-align: left;
}

.content .panel-default > .panel-h {
    background-color: #386480;
    color: #FFF;
    text-shadow: 1px 1px 1px #000;
}

.animate {
    -moz-animation: spin .7s infinite linear;
    -webkit-animation: spin .7s infinite linear;
    -animation: spin .7s infinite linear;
    -ms-animation: spin .7s infinite linear;
}

@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

.margin-top-bottom{
    margin-top: 5px;
    margin-bottom: 5px;
}

/*style of span in button*/
.add-btn{
    color:green;
}

.save-btn{
    color: yellowgreen;
}

.edit-btn{
    color: #9B410E;
}

.remove-btn{
    color: red;
}

.panel-item{

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.panel{
    /*-moz-box-shadow:1px 1px 2px #999!important;*/
    /*-webkit-box-shadow:1px 1px 2px #999!important;*/
    /*box-shadow: 1px 1px 2px #999!important;*/
}

.panel-title{
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.5em !important;
    /*font-weight: bold;*/
}
.error-item{
    /*text-align: center;*/
}
.table {
    border: 1px solid #CCC;
}

.panel > .table {
    border-top: 0;
}

.table-pagination{
    text-align: left;
}

.table td.fit-width, .table th.fit-width {
    width: 1px;
}

.table-pagination .pagination {

}

/* HTML table style*/

.panel-special{
    border: 1px solid #e5e5e5!important;
    box-shadow: 0 0 0!important;
    border-radius: 0!important;
}

.table-head, .panel-special-head-text, .smt-panel-header{
    padding: 8px 10px;
    font-size: 1.2em;
    background-color: #386480;
    color: #FFF;
    font-weight: 600;
    border-bottom: 0;
    display: block;
    line-height: 22px;
    margin: 0;
    width: 100%;
}

.smt-panel-header button.close {
    box-shadow: 0 0 0;
    color: #FFF;
    opacity: 0.8;
    text-shadow: 1px 1px 1px #000;
    font-weight: bold;
}

.smt-panel-header button.close:hover {
    opacity: 1;
}

/*.table-head, .panel-special-head-text{*/
    /*display: block;*/
    /*color: #fff;*/
    /*line-height: 22px;*/
    /*margin: 0;*/
    /*font-weight: bold;*/
    /*width: 100%;*/
/*}*/

.table-striped > thead > tr > th.onSelect{
    background-color: #FDFFA9;
    color: #000077!important;
}

.table-striped > thead > tr > th.onSelect > a{
    color: #5987FF !important;
}

.table-responsive .table > thead > tr > th,
.table-responsive .table > tbody > tr > th,
.table-responsive .table > tfoot > tr > th,
.table-responsive .table > thead > tr > td,
.table-responsive .table > tbody > tr > td,
.table-responsive .table > tfoot > tr > td {
    white-space: nowrap;
    vertical-align: middle;
}

.table-responsive{
    overflow-x: auto !important;
    /*border: 1px solid #ddd;*/
    border: 0 !important;
}

.table-responsive > .table_wrapper {
    overflow-x: auto!important;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
}

.smt_table .table-responsive > .table_wrapper{
    border-top: 0;
}

.table-responsive table th {
    word-break: keep-all;
    white-space: nowrap;
}

.td-button{
    white-space: nowrap;
}

span.button-label{
    display: none;
}

/**
 * Override bootstrap
 *
 */
.content .pagination {
    margin: 0;
    margin-top: -1px;
    padding: 0.5em;
    border-left: 1px solid #DDD;
    border-right: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    background: #f9f9f9;
    border-radius: 0;

}

.btn-default.disabled, .btn-default[disabled] {
    border-color: #EEE!important;
}

.content .pagination a {
    color:  #2a6496;
}


.content ul.pagination > .active > a, .content ul.pagination > .active > span, .content ul.pagination > .active > a:hover, .content ul.pagination > .active > span:hover, .content ul.pagination > .active > a:focus, .content ul.pagination > .active > span:focus {
    background-color: #2a6496;
    border-color: #2a6496;
}

.smt_table {
    position: relative;
    margin-bottom: 1em;
    /*box-shadow: 1px 1px 2px #999;*/
}

.smt_table .table {
    margin-bottom: 0;
}

.btn .caret {
    margin-left: 5px!important;
}

.table .table-sorting-icon{
    padding-left: 5px;
}

.table .th-sortable:hover{
    cursor: pointer;
}

.table .un-sort{
    color: #BBB;
}

/*.table-pagination{*/
    /*text-align: center;*/
/*}*/

.empty-table-wrapper {
    padding: 20px;
    background-color: #FFF;
    border: 1px solid #DDD;
}

.table-responsive .dropdown-menu{
    position:fixed;
}

/*.smt-panel-header{*/
    /*line-height: 35px;*/
    /*background-color: #4B7792;*/
    /*color: white;*/
    /*border-top-left-radius: 3px;*/
    /*border-top-right-radius: 3px;*/
    /*padding-left: 10px;*/
    /*font-size: 1.2em;*/
    /*font-weight: bold;*/
    /*text-shadow: 1px 1px 1px #000;*/
    /*background: url("../images/texture/table-head.jpg") left top repeat-x;*/
    /*background-clip: padding-box;*/
    /*width: auto;*/
/*}*/

.smt-panel-body{
    padding: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #eee;
    border: 1px solid #386480;
}

.tab-pane, .form-bg {
    padding: 15px;
    background: #FFF;
    border: 1px solid #ccc;
    /*display: inline-block;*/
    overflow: hidden;
    /*-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;*/
}

.tab-pane > .table {
    border-top: 0;
    border-bottom: 0;
    border-radius: 0;
    box-shadow: none;
}

.tab-pane > :first-child.table, .tab-pane > :first-child.table-responsive > :first-child.table {
    border-radius: 0;
}

.tab-pane > .panel.full-width > .table, .tab-pane > .panel.full-width > :first-child.table-responsive > :first-child.table, .tab-pane > .panel.full-width, .tab-pane > .panel.full-width > :first-child.table > thead:first-child > tr:first-child td:first-child, .tab-pane > .panel.full-width > :first-child.table-responsive > :first-child.table > thead:first-child > tr:first-child td:first-child, .tab-pane > .panel.full-width > :first-child.table > tbody:first-child > tr:first-child td:first-child, .tab-pane > .panel.full-width > :first-child.table-responsive > :first-child.table > tbody:first-child > tr:first-child td:first-child, .tab-pane > .panel.full-width > :first-child.table > thead:first-child > tr:first-child th:first-child, .tab-pane > .panel.full-width > :first-child.table-responsive > :first-child.table > thead:first-child > tr:first-child th:first-child, .tab-pane > .panel.full-width > :first-child.table > tbody:first-child > tr:first-child th:first-child, .tab-pane > .panel.full-width > :first-child.table-responsive > :first-child.table > tbody:first-child > tr:first-child th:first-child {
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
    margin-bottom: 0;
}

.nav-tabs > li > a {
    color: #FFF;
    background-color: #386480;
    position: relative;
    top: 2px;
}

.nav.nav-tabs > li > a:hover, .nav.nav-tabs > li > a:focus {
    background-color: #00baf2;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    border-bottom: 0;
    padding-top: 12px;
    padding-bottom: 10px;
}

/*Timeline*/

.timeline {
    position: relative;
    padding: 20px 0 20px;
    list-style: none;
}

.timeline:before {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    margin-left: -1.5px;
    background-color: #eeeeee;
}

.timeline > li {
    position: relative;
    margin-bottom: 20px;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li > .timeline-panel {
    float: left;
    position: relative;
    width: 46%;
    padding: 20px;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.175);
    box-shadow: 0 1px 6px rgba(0,0,0,0.175);
}

.timeline > li > .timeline-panel:before {
    content: " ";
    display: inline-block;
    position: absolute;
    top: 26px;
    right: -15px;
    border-top: 15px solid transparent;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #ccc;
}

.timeline > li > .timeline-panel:after {
    content: " ";
    display: inline-block;
    position: absolute;
    top: 27px;
    right: -14px;
    border-top: 14px solid transparent;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    border-left: 14px solid #fff;
}

.timeline > li > .timeline-badge {
    z-index: 1;
    position: absolute;
    top: 16px;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    border-radius: 50% 50% 50% 50%;
    text-align: center;
    font-size: 1.4em;
    line-height: 50px;
    color: #fff;
    background-color: #999999;
}

.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}

.timeline-badge.success {
    background-color: #3f903f !important;
}

.timeline-badge.warning {
    background-color: #f0ad4e !important;
}

.timeline-badge.danger {
    background-color: #d9534f !important;
}

.timeline-badge.info {
    background-color: #5bc0de !important;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
    font-weight: bold;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

.timeline-body > p + p {
    margin-top: 5px;
}

@media(max-width:767px) {
    ul.timeline:before {
        left: 40px;
    }

    ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }

    ul.timeline > li > .timeline-badge {
        top: 16px;
        left: 15px;
        margin-left: 0;
    }

    ul.timeline > li > .timeline-panel {
        float: right;
    }

    ul.timeline > li > .timeline-panel:before {
        right: auto;
        left: -15px;
        border-right-width: 15px;
        border-left-width: 0;
    }

    ul.timeline > li > .timeline-panel:after {
        right: auto;
        left: -14px;
        border-right-width: 14px;
        border-left-width: 0;
    }
}

/* End of Timeline style*/


/* bootstrap tooltip */
.tooltip-inner {
    white-space: pre-wrap;
}

.no-padding {
    padding: 0 !important;
}

.smt_table > .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.smt_table > .overlay{
    z-index: 50;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
}
.smt_table > .overlay > .fa{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000;
    font-size: 30px;
}

.mw-1200 {
    max-width: 1200px;
    margin: 0 auto;
}

/*region special style panel*/
.panel.sp-panel {
    border: 0;
    border-radius: 0;
}

.sp-panel .panel-heading {
    border-top: 3px solid #0072bc;
    border-bottom: 1px solid #f4f4f4;
    font-size: 18px;
    line-height: 1;
}

.sp-panel-section-heading {
    position: relative;
    border-bottom: 2px solid #0072bc;
    color: #0072bc;
    font-size: 1.4em;
    padding-bottom: 5px;
}

.sp-panel-section-heading .btn {
    position: absolute;
    right: 0px;
    top: -7px;
    border-radius: 0;
}

/*endregion*/

/* region object items */
.object-items-wrapper {
    background-color: #EFEFEF;
    padding: 10px;
}

.object-item {
    position: relative;
    background-color: #FFF;
    min-height: 50px;
    box-shadow: 1px 1px 1px #ddd;
    padding: 10px;
    border-radius: 2px;
}

.object-item:not(:last-child) {
    margin-bottom: 10px;
}
/*endregion*/

.toggle-checkbox + .btn-box {
    display:inline-block;
    vertical-align:middle;
    text-align: left;
    width: 40px;
    height: 20px;
    border-radius:100px;
    background-color: #ccc;
    box-shadow: 0 3px 0 rgba(0,0,0,.13) inset;
    cursor: pointer;
}
.toggle-checkbox + .btn-box .btn {
    display:inline-block;
    width: 20px;
    height: 20px;
    border-radius:50%;
    background-color: #fff;
    margin-left: 0;/*動畫從ml為0開始*/
    transition: .5s;
    box-shadow:1px 2px 5px rgba(0,0,0,.3);
}
.toggle-checkbox +* + span.text {
    position: relative;
    top: 1px;
    font-weight: bold;
}
.toggle-checkbox:not(:checked) +* + span.text{
    opacity: 0.5;
}
.toggle-checkbox {
    position:absolute;
    opacity:0;
}
.toggle-checkbox:checked + .btn-box {
    background-color: #0072bc;
}
.toggle-checkbox:checked + .btn-box .btn {
    margin-left: 20px;
}

/*
    Style of smt/img/preload.js
    hide this wrapper to prevent screen flickering when loading image
*/

.img-loader-wrapper {
     visibility: hidden;
}

.img-loader-wrapper {
    visibility: hidden;
}
