/* GENERAL */
span.required {
    color: red;
}

@media (min-width: 1200px) {
    .pull-right-lg {
        right: 0;
        left: auto;
    }
}

@media (min-width: 981px) {
    .container_all {
        padding-top: 30px;
    }
}

@media (min-width: 751px) and (max-width: 762px) {
    .header {
        margin-top: 0px;
    }
}

@media (min-width: 739px) and (max-width: 750px) {
    .header {
        margin-top: 0px;
    }
}

@media (max-width: 738px) {
    .container_all {
        padding-top: 0px;
    }

    .header {
        margin-top: 0px;
    }
    .btn-group, .btn-group-vertical {
        width: 100%;
    }
}

@media (max-width: 769px) {
    .top-navigation .navbar-default .navbar-toggle {
        background-color: #FFFFFF;
    }

    .subhead h2 {
        text-align: center;
    }

    .subhead .title-action .btn {
        width: 100% !important;
    }

    body .subhead .title-action .btn {
        margin-bottom: 5px !important;
    }

    body #page-wrapper .row > div {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .top-navigation .wrapper.wrapper-content {
        padding: 20px 10px 40px !important;
    }

    body #page-wrapper .wrapper-content .grid-view {
        padding: 0 !important;
    }
}

/* PAGE LOADER */
#debug {
    position: fixed;
    top: 10px;
    right: 10px;
    border: 1px solid black;
    z-index: 1031;
    padding: 5px;
    background: #fff;
    width: 500px;
    height: 300px;
    overflow-x: auto;

    display: none;
}

#page_loading, #page_saving {
    z-index: 1032;
    position: fixed;
    top: 43px;
    right: 10px;
    background-color: #f89406;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    padding: 5px 10px;
    font-size: 11.844px;
    font-weight: bold;
    line-height: 14px;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    vertical-align: baseline;
    display: none;
}

.main_content {
    margin-top: 0px;
    padding-top: 0px !important;
}

.page-title, legend {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

legend {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 20px;
    padding: 0 0 10px 0;
}

.help-block,
.help-inline {
    font-style: italic;
    color: #999;
    font-size: 12px;
    line-height: 15px;
    margin-top: 5px;
}

.help-block.error,
.help-inline.error {
    color: red;
}

div.help-block.ptb10 {
    padding: 10px 0;
}

.container-content {
    margin-top: 15px;
}

.navbar-brand .navbar-brand-logo {
    white-space: nowrap;
}

.navbar-brand .navbar-brand-logo img {
    height: 100%;
}

.navbar-inverse .active > a {
    color: #fff;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzE4NGE3ZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3ZGI5ZTgiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, rgba(24, 74, 125, 1) 0%, rgba(125, 185, 232, 0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(24, 74, 125, 1)), color-stop(100%, rgba(125, 185, 232, 0)));
    background: -webkit-linear-gradient(top, rgba(24, 74, 125, 1) 0%, rgba(125, 185, 232, 0) 100%);
    background: -o-linear-gradient(top, rgba(24, 74, 125, 1) 0%, rgba(125, 185, 232, 0) 100%);
    background: -ms-linear-gradient(top, rgba(24, 74, 125, 1) 0%, rgba(125, 185, 232, 0) 100%);
    background: linear-gradient(to bottom, rgba(24, 74, 125, 1) 0%, rgba(125, 185, 232, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFCB72', endColorstr='#007db9e8', GradientType=0);
}

.navbar-inverse .nav li > ul li.active > a,
.navbar-inverse .nav li > ul li.active > a:hover,
.navbar-inverse .nav li > ul li.active > a:focus {
    color: #fff;
    background: #FFCB72;
}

.alert {
    text-shadow: none;
    font-size: 12px;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.alert .close {
    position: relative;
    top: 0;
    right: 0;
    line-height: 18px;
}

/*.grid-view {
    padding-top: 0px;
}

.grid-view table.items th a {
    display: block;
    position: relative;
}

.grid-view table.items th a .caret {
    display: none;
    position: absolute;
    right: 5px;
    top: 7px;
}

.grid-view table.items th a.asc .caret {
    border-top: none;
    border-bottom: 4px solid #000000;
    display: block;
}

.grid-view table.items th a.desc .caret {
    border-top: 4px solid #000000;
    border-bottom: none;
    display: block;
}

.grid-view table.items tr.selected td {
    background: #eeeeee;
}

.grid-view .filters .filter-container {
    padding: 0 15px 0 0;
}

.grid-view .filters input, .grid-view .filters select {
    margin-bottom: 0;
    width: 100%;
}

.grid-view .button-column {
    text-align: center;
    width: 50px;
}

.grid-view .checkbox-column {
    width: 15px;
}

.grid-view .summary {
    margin-bottom: 5px;
    text-align: right;
}

.grid-view .pager {
    margin-top: 5px;
}

.grid-view .empty {
    font-style: italic;
}

.grid-view-loading {
    background: url(../img/loading.gif) no-repeat;
}*/

.img-roundTop {
    -webkit-border-top-right-radius: 5px;
    -webkit-border-top-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-topleft: 5px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

/* BUTTONS */
.btn i {
    margin-right: 3px;
}

.btn-alone i {
    margin-right: 0px;
}

.btn-small i, .btn-mini i {
    font-size: 12px;
}

.btn-cancel i {
    color: #bd362f;
}

.btn-add i {
    color: #FFCB72;
}

.btn-primary.btn-add i {
    color: #fff;
}

/* FORMS & LABELS */
label {
    cursor: pointer;
    display: block;
}

.label.label-important a:link,
.label.label-important a:active,
.label.label-important a:hover,
.label.label-important a:visited {
    color: #fff;
    text-decoration: none;
}

.forms {
    margin-top: -10px;
}

.forms fieldset {
    margin-top: 0px;
}

.forms fieldset:first-child {
    margin-top: 0px;
}

fieldset legend {
    margin-bottom: 10px;
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    margin-bottom: 0;
}

.input-checkbox {
    margin-left: -20px !important;
    margin-right: 5px !important;
    float: none !important;
}

.label-checkbox {
    display: inline;
}

i.expand-right {
    margin-right: 5px;
}

i.expand-left {
    margin-left: 5px;
}

.clear {
    clear: both;
    line-height: 0;
}

.table-fancy-info {
    width: 100%;
    color: #666;
}

.table-fancy-info .help-block, .table-fancy-info label {
    margin: 0;
}

.table-fancy-info .header {
    color: #666;
    text-align: left;

    background-color: #f0f0f0;
    background-image: -moz-linear-gradient(top, #ffffff, #f0f0f0);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f0f0f0));
    background-image: -webkit-linear-gradient(top, #ffffff, #f0f0f0);
    background-image: -o-linear-gradient(top, #ffffff, #f0f0f0);
    background-image: linear-gradient(to bottom, #ffffff, #f0f0f0);
    background-repeat: repeat-x;

    border: 1px solid #dddddd;
    border-collapse: separate;
    vertical-align: middle;
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 10px 12px;
    text-transform: uppercase;
}

.table-fancy-info tr th, .table-fancy-info tr td {
    text-align: left;
    border: 1px solid #dddddd;
    padding: 5px 10px;
}

.table-fancy-info tr:nth-child(odd) {
    background-color: #f9f9f9;
}

a.external {
    background-position: center right;
    background-repeat: no-repeat;
    background-image: url('../img/external-link-ltr-icon.png');
    padding-right: 15px;
}

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

.ajax-process {
    min-height: 100px;
    background: url(../img/ajax-loader2.gif) center no-repeat;
}

.text-right {
    text-align: right !important;
}

.clicked_language {
    cursor: pointer;
}

.language-icon {
    margin-right: 3px;
    max-width: 25px;
}

.another-language {
    vertical-align: top !important;
}

.wyswyg-multilang {
    margin-left: 160px;
}

/* NEW */
#salespitch_states {
    margin-top: 10px
}

#salespitch_target {
    margin-top: -3px;
    border-radius: 5px;
    padding: 5px 10px;
    background: #0A0;
    font-size: 14px;
    color: #FFF;
    box-shadow: 2px 2px 5px #999
}

.stocktake_image {
    width: 100px;
    height: 100px;
    margin: 0 5px 0 5px;
    float: left;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #ddd;
    position: relative;
}

.stocktake_image > .del-image {
    color: red;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 1em;
    height: 1em;
    line-height: 1;
    text-align: center;
}

.del-image:hover {
    cursor: pointer;
}

.profile_page {
    background: #FFFFFF;
    margin-bottom: 20px;
}

.profile_page .profile {
    border-top: 5px solid lightskyblue;
    background: #fcfcfc;
}

.profile_page .profile .cover {
    border: 1px solid #efefef;
    padding: 20px;
}

.profile_page .profile_nb .cover_nb {
    padding: 20px;
}

.profile_page .profile .cover .data,
.profile_page .profile_nb .cover_nb .data {
    padding: 0;
    margin: 0;
    /*display: inline-block;*/
    vertical-align: top;
}

.profile_page .profile .cover .data .space table,
.profile_page .profile_nb .cover_nb .data .space table {
    width: 100%;
}

.profile_page .profile .cover .data .space table tr:first-child td:first-child {
    text-align: right;
}

.profile_page .profile .cover .data .space table tr td,
.profile_page .profile_nb .cover_nb .data .space table tr td {

}

.profile_page .profile .cover .data .space .profile_picture {
    vertical-align: top;
    text-align: right;
}

.profile_page .profile .cover .data .space .profile_picture img {
    /*border: 1px solid #efefef;*/
    max-width: 150px;
}

.profile_page .profile .cover .data .space .content {
    vertical-align: top;
    padding-left: 20px;
    z-index: 55;
    padding-top: 10px;
    padding-bottom: 5px;
}

.profile_page .profile .cover .data .space .content i {
    min-width: 15px;
    background: transparent;
}

.profile_page .profile .cover .data .space .content i.active_account,
.profile_page .profile .cover .data .space .content i.inactive_account,
.profile_page .profile .cover .data .space .content i.blacklisted_account {
    margin-left: 0px;
}

.profile_page .profile .cover .data .space .content.secondlayer,
.profile_page .profile_nb .cover_nb .data .space .content.secondlayer {
    border-top: 1px solid #efefef;
}

.profile_page .profile .cover .data .space .even {
    background: #f9f9f9;
}

.profile_page .profile .cover .data .space .content h1 {
    font-size: 3em;
    color: #665;
    font-family: arial;
    margin-top: 0px;
    padding-bottom: 5px;
}

.profile_page .profile .cover .data .space .content .description,
.profile_page .profile_nb .cover_nb .data .space .content .description {
    color: #999;
}

.profile_page .profile .cover .data .space .content .description ul {
    margin: 0;
}

.profile_page .profile .cover .data .space .content .description ul:first-child {
    margin-bottom: 5px;
}

.profile_page .profile .cover .data .space .content .description ul li {
    list-style: none;
    display: inline-block;
    margin: 0;
}

.profile_page .profile .cover .data .space .content .description ul li {
    padding-right: 15px;
}

.profile_page .profile .cover .data .space .content .description ul li:first-child {
    margin: 0;
}

.profile_page .profile .cover .data .space .content .description ul li i {
    color: rgb(50, 205, 50);
    margin-right: 5px;
}

.profile_page .profile .cover .data .space .content .description ul li a:link,
.profile_page .profile .cover .data .space .content .description ul li a:active,
.profile_page .profile .cover .data .space .content .description ul li a:visited {
    color: #999;
    text-decoration: none;
    /*border-bottom: 1px dashed #ccc;*/
}

.profile_page .profile .cover .data .space .content .description ul li a:hover {
    color: #184a7d;
    text-decoration: underline;
    /*border-bottom: 1px dotted #184a7d;*/
}

.profile_page .links {
    text-align: left;
    border-bottom: 1px solid #efefef;
    border-right: 1px solid #efefef;
    border-left: 1px solid #efefef;

    background: rgb(255, 255, 255); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmY2ZjZmMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(252, 252, 252, 1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(252, 252, 252, 1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(252, 252, 252, 1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(252, 252, 252, 1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(252, 252, 252, 1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(252, 252, 252, 1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#fcfcfc', GradientType=0); /* IE6-8 */

}

.profile_page .links ul {
    list-style: none;
    padding: 0;
    margin: 0 10px;
}

.profile_page .links ul li {
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
}

.profile_page .links ul li a:link,
.profile_page .links ul li a:active,
.profile_page .links ul li a:visited {
    font-weight: normal;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 14px;
    color: #999;
    text-decoration: none;
    padding: 10px;
}

.profile_page .links ul li a.active {
    font-weight: bold;
    color: #555;
    border-bottom: 3px solid lightskyblue;
}

.profile_page .links ul li:hover a {
    color: #555;
    border-bottom: 3px solid lightskyblue;
}

.profile_page .links .pull-right {
    padding: 10px 5px;
}

.profile_page .links .pull-right a:link,
.profile_page .links .pull-right a:active,
.profile_page .links .pull-right a:visited,
.profile_page .links .pull-right a:hover {
    font-weight: normal;
    margin-left: 5px;
    margin-right: 5px;
    color: #ccc;
    text-decoration: none;
    padding: 10px;
}

.profile_page .links .pull-right a:hover {
    text-decoration: underline;
    color: #555;
}

.profile_page .ajax_content {
    padding: 10px;
    border-bottom: 1px solid #efefef;
    border-right: 1px solid #efefef;
    border-left: 1px solid #efefef;
}

.profile_page .ajax_content .stats_container {
    border-bottom: 1px solid #efefef;
    padding-bottom: 10px;
}

.profile_page .ajax_content .stats {
    margin-top: 0px;
}

.profile_page .ajax_content .stats .spans {
    /*border: 1px solid #ccc;*/
}

.profile_page .ajax_content .stats .spans .box_ico {
    margin-left: 50px;
    text-align: left;
    padding: 0 20px;
}

.profile_page .ajax_content .stats .spans .box_stat {
    background: #f7f7f7;
    border: 1px solid #d3d3d3;
    min-height: 60px;
    position: relative;
    text-align: left;
}

.profile_page .ajax_content .stats .spans .box_stat .stat_ico {
    height: auto;
    width: 51px;
    display: block;
    position: absolute;
    left: -51px;
    right: 0;
    bottom: -1px;
    top: -1px;
    border: 1px solid #f6f6f6;
    text-align: center;
}

.profile_page .ajax_content .stats .spans .box_stat .stat_ico i {
    color: #fff;
    font-size: 28px;
    position: relative;
    top: 17px;
}

.profile_page .ajax_content .stats .spans .stat_ico.stat_ico_1 {
    background-color: #0892cd;
    border-color: #0892cd
}

.profile_page .ajax_content .stats .spans .stat_ico.stat_ico_2 {
    background-color: #7baf42;
    border-color: #7baf42
}

.profile_page .ajax_content .stats .spans .stat_ico.stat_ico_3 {
    background-color: #efa91f;
    border-color: #efa91f
}

.profile_page .ajax_content .stats .spans .stat_ico.stat_ico_4 {
    background-color: #f04b51;
    border-color: #f04b51
}

.profile_page .ajax_content .stats .spans .box_stat h4 {
    font: 300 22px/24px 'Roboto', sans-serif;
    margin: 8px 0 2px;
}

.profile_page .ajax_content .stats .spans .box_stat small {
    font-size: 11px;
    display: block;
    color: #999;
}

.profile_page .ajax_content table {
    width: 100%;
    margin: 0px;
}

.profile_page .ajax_content table td {
    vertical-align: middle;
    /*width: 75%;*/
}

/*.profile_page .ajax_content table td:last-child {
    width: 25%;
}*/

.profile_page .ajax_content .box {
    border-radius: 3px;
    padding: 15px 20px;
    color: #fff;
    margin-top: 10px;
}

.profile_page .ajax_content .box:first-child {
    margin-top: 0px;
}

.profile_page .ajax_content .box .small_caption {
    color: #ccc;
}

.profile_page .ajax_content .box1,
.profile_page .ajax_content .stats .spans .icon.icon1 {
    background-color: rgb(215, 61, 50);
}

.profile_page .ajax_content .box2,
.profile_page .ajax_content .stats .spans .icon.icon2 {
    background-color: rgb(228, 147, 7);
}

.profile_page .ajax_content .box3,
.profile_page .ajax_content .stats .spans .icon.icon3 {
    background-color: rgb(17, 169, 204);
}

.profile_page .ajax_content .box4,
.profile_page .ajax_content .stats .spans .icon.icon4 {
    background-color: rgb(152, 27, 72);
}

.profile_page .ajax_content .box5,
.profile_page .ajax_content .stats .spans .icon.icon5 {
    background-color: rgb(126, 55, 148);
}

.profile_page .ajax_content .box1 .small_caption,
.profile_page .ajax_content .box2 .small_caption,
.profile_page .ajax_content .box3 .small_caption {
    color: #fff;
}

.profile_page .ajax_content #lvastats,
.profile_page .ajax_content #lvastats text {
    font-size: 12px !important;
}

.profile_page .ajax_content #lvastats {
    margin-top: 50px;
}

@media only screen and (max-width: 767px) {
    .profile_page .profile .cover .data .space .content h1 {
        /* font-size: 2em;*/
        line-height: 35px;
    }

    .profile_page .profile .cover .data .space .content .description ul li {
        display: block;
        line-height: 20px;
    }
}

@media (max-width: 480px) {
    .profile_page .profile .cover .data .space .content h1 {
        /* font-size: 2em;*/
        line-height: 35px;
    }

    .profile_page .profile .cover .data .space .content .description ul li {
        display: block;
        line-height: 20px;
    }
}

#user-icon {
    width: 150px;
    height: 150px;
    background-size: 100%;
    margin-right: 15px;
    background-repeat: no-repeat;
    background-position: center;
}

/* TEMPLATE */
.modal-open .dropdown-menu {
    z-index: 2050
}

.modal-open .popover {
    z-index: 2060
}

.modal-open .tooltip {
    z-index: 2080
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000
}

.modal-backdrop.fade {
    opacity: 0
}

.modal-backdrop, .modal-backdrop.fade.in {
    opacity: .8;
    filter: alpha(opacity=80)
}

div.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1050;
    overflow: hidden;
    width: 560px;
    margin: -250px 0 0 -280px;
    background-color: #fff;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .3);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, .3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, .3);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box
}

div.modal.fade {
    -webkit-transition: opacity .3s linear, top .3s ease-out;
    -moz-transition: opacity .3s linear, top .3s ease-out;
    -o-transition: opacity .3s linear, top .3s ease-out;
    transition: opacity .3s linear, top .3s ease-out;
    top: -25%
}

div.modal.fade.in {
    top: 50%
}

.modal-header {
    padding: 9px 15px;
    border-bottom: 1px solid #eee
}

.modal-header .close {
    margin-top: 2px
}

.modal-header h3 {
    margin: 0;
    line-height: 30px
}

.modal-body {
    overflow-y: auto;
    max-height: 400px;
    padding: 15px
}

.modal-form {
    margin-bottom: 0
}

.modal-footer {
    padding: 14px 15px 15px;
    margin-bottom: 0;
    text-align: right;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
    -webkit-box-shadow: inset 0 1px 0 #fff;
    -moz-box-shadow: inset 0 1px 0 #fff;
    box-shadow: inset 0 1px 0 #fff
}

.modal-footer:after, .modal-footer:before {
    display: table;
    content: "";
    line-height: 0
}

.modal-footer:after {
    clear: both
}

.modal-footer .btn + .btn {
    margin-left: 5px;
    margin-bottom: 0
}

.modal-footer .btn-group .btn + .btn {
    margin-left: -1px
}

/* GRID */
.column-action-header {
    width: 10%;
    text-align: center;
}

.column-action {
    width: 10%;
    text-align: center;
}

.column-action .btn {
    margin-top: 5px;
    margin-right: 5px;
}

/*.column-action .btn:first-child {
    margin-left: 0;
}*/

@media (min-width: 1200px) {

}

@media (max-width: 1200px) {
    .column-action {
        line-height: 1px;
    }

    .column-action .btn {
        display: block;
        margin-left: 0;
        width: auto;

        padding: 1px 5px;
        font-size: 12px;
        line-height: 1.5;
        border-radius: 3px;
    }
}

@media (max-width: 768px) {
    .column-action {
        line-height: 1px;
    }

    .column-action .btn {
        display: block;
        margin-left: 0;
        width: auto;

        padding: 1px 5px;
        font-size: 12px;
        line-height: 1.5;
        border-radius: 3px;
    }
}

/* STORE VISIT */
table.table.table-rating {
    width: 100%;
    margin-bottom: 0;
}

table.table.table-rating th {
    font-weight: bold;
}

.big-star {
    font-size: 24px;
    color: red;
}

.big-star:hover {
    cursor: pointer;
}

.red-star {
    color: red;
}

.dropfile {
    height: 100px !important;
    width: 80px !important;
    background-color: #58C7F6;
    border-color: #fff;
    opacity: 0;
    overflow: hidden !important;
    cursor: pointer;
}

.uploadfile {
    border: 1px solid #ccc;
    width: 80px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: 17%;
    overflow: hidden;
    background-position: center;
    float: left;
    margin-right: 5px;
}

.del-field:hover {
    cursor: pointer;
}

.image-thumbnail {
    width: 100px;
    margin-right: 15px;
}

.small-image {
    width: 100%;
}

.fancybox-overlay {
    z-index: 5000 !important;
}

.select2-input.select2-default {
    background-color: #fff !important;
    border-radius: 3px;
    min-height: 30px !important;
    /*border: 1px solid #ccc !important;*/
}

.select2-choices {
    background: #fff;
    min-height: 30px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding-top: 2px;
}

.label-recipient {
    margin: 0;
    text-align: right;
    color: #8E8E90;
}

.main-box {
    background: #F3F3F4;
    margin-bottom: 10px;
}

.box-header {
    border-top: 3px solid #ccc;
    border-bottom: 1px solid #fff;
}

.box-content {
    border-left: 1px solid #fff;
    padding-left: 10px;
    padding-bottom: 10px;
    margin-left: 0 !important;
}

.underline {
    border-bottom: 1px solid #fff;
}

.label-date {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

.label-icon-date {
    text-align: right;
    margin-bottom: 0;
    margin-right: -6px;
}

.space-bottom {
    margin-bottom: 10px;
}

.label-unread {
    float: right;
    margin-top: 12px;
    margin-right: 10px;
    background-color: #d9534f;
}

@media (max-width: 767px) {
    .navbar .btn-navbar {
        margin: 3px 3px 3px 6px !important;
    }

    /* .btn,
     a.btn {
         font-size: 14px;
         padding: 10px;
         text-align: left;
     }*/
    .btn i.fa,
    a.btn i.fa {
        width: 20px !important;
        text-align: center;
    }

    .grid-view table tr td a.btn {
        font-size: 11px;
        padding: 8px;
        width: auto;
    }
}

.fa.fa-2 {
    font-size: 2em;
}

.fa.fa-3 {
    font-size: 4em;
}

.fa.fa-4 {
    font-size: 7em;
}

.fa.fa-5 {
    font-size: 12em;
}

.fa.fa-6 {
    font-size: 20em;
}

/* PAGE LOADER */
#debug {
    position: fixed;
    top: 10px;
    right: 10px;
    border: 1px solid black;
    z-index: 1031;
    padding: 5px;
    background: #fff;
    width: 500px;
    height: 300px;
    overflow-x: auto;

    display: none;
}

#page_loading, #page_saving {
    z-index: 1032;
    position: fixed;
    top: 43px;
    right: 10px;
    background-color: #f89406;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    padding: 5px 10px;
    font-size: 11.844px;
    font-weight: bold;
    line-height: 14px;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    vertical-align: baseline;
    display: none;
}

/* FORM FIELD */
legend + .control-group {
    margin-top: 18px;
    -webkit-margin-top-collapse: separate;
}

.form-horizontal .control-group {
    margin-bottom: 18px;
    *zoom: 1;
}

.form-horizontal .control-group:before,
.form-horizontal .control-group:after {
    display: table;
    content: "";
    line-height: 0;
}

.form-horizontal .control-group:after {
    clear: both;
}

.form-horizontal .control-label {
    float: left;
    width: 140px;
    padding-top: 5px;
    text-align: right;
}

.form-horizontal .controls {
    *display: inline-block;
    *padding-left: 20px;
    margin-left: 160px;
    *margin-left: 0;
}

.form-horizontal .controls:first-child {
    *padding-left: 160px;
}

.form-horizontal .help-block {
    margin-top: 9px;
    margin-bottom: 0;
}

.form-horizontal .form-actions {
    padding-left: 160px;
}

.form-horizontal .control-label {
    /* width: auto; */
    padding-right: 5px;
    text-align: left;
}

.another-language {
    vertical-align: top !important;
}

.language-icon {
    margin-left: 5px;
}

.language-icon:first-child {
    margin-left: 0;
}

.clicked_language {
    cursor: pointer;
}

.current-image-thumbnail {
    width: 100px;
    height: 100px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.delete-image {
    color: red;
    position: absolute;
    right: 5px;
    cursor: pointer;
}

.select-control {
    background-color: #FFFFFF;
    background-image: none;
    border: 1px solid #e5e6e7;
    border-radius: 1px;
    color: inherit;
    display: block;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    font-size: 14px;
}

/*Added by heru3 for view order / view invoice / view creditnote / view po */
.orange-heading {
    background-color: #2F4050 !important;
    background-image: -moz-linear-gradient(top, #2F4050 0%, #2F4050 100%) !important;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2F4050), color-stop(100%, #2F4050)) !important;
    background-image: -webkit-linear-gradient(top, #2F4050 0%, #2F4050 100%) !important;
    background-image: -o-linear-gradient(top, #2F4050, #2F4050) !important;
    background-image: linear-gradient(to bottom, #2F4050, #2F4050) !important;
    background-repeat: repeat-x;
    border-color: #a7bac5 !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff9844', endColorstr='#ff7400', GradientType=0) !important;
    color: white;
    font-size: 13px !important;
    text-transform: none !important;
}

/* Logistic Section */
.logistic-content .clearfix {
    height: auto;
    line-height: normal;
}

.logistic-content select.delivery_person {
    display: inline-block !important;
}

.logistic-content .checkbox-list input[type=checkbox] {
    display: inline-block !important;
}

.logistic-content .checkbox-list label {
    display: inline-block !important;
}

.logistic-content .popover-content select {
    display: inline-block;
}

/* Two Step Verification */
.two-step-verification-container h4 {
    margin-top: 16px;
}

.two-step-verification-container fieldset {
    margin-bottom: 16px;
}

.textarea-input {
    width: 100%;
    border-color: rgb(229, 230, 231);
    padding: 10px;

}

.postal-modal-form{
    padding: 15px;

}

.postal-modal-form label{
    display: block;
    width: 100%;
    margin: 0 0 5px 0;
}

.table tbody tr.error td {
    background-color: #f2dede;
}

.control-group.error .help-block, .control-group.error .help-inline {
    color: #b94a48;
}

.control-group.error .checkbox, .control-group.error .radio, .control-group.error input, .control-group.error select, .control-group.error textarea {
    color: #b94a48;
    border-color: #b94a48;
}

.warp-text {
    word-wrap: break-word !important;
    max-width: 200px !important;
    padding-left: 0px;
    padding-right: 0px;
    text-align: justify;
}

/*PAGE REVISION / History */
.page_history .panel .panel-heading .panel-title{
    border: 1px solid #dedede !important;
    background-color: #f1f1f1;
    position:relative;
    padding:0px;
}
.page_history .panel .panel-heading .panel-title a{
    width: 100%;
    display: block;
    padding: 15px 12px;
}
.page_history .panel .panel-heading .panel-title .right_icon{
    position:absolute;
    font-size: 16px;
    right:20px;
}
.page_history .panel .panel-collapse .panel-body{
    border:1px solid #dedede;
    border-top:0px !important;
    max-height: 200px;
    overflow: hidden;
    overflow-y: auto;
}
.page_history .panel .panel-collapse .panel-body ul{
    padding-left:0px;
    margin-bottom:0px;
}
.page_history .panel .panel-collapse .panel-body ul li{
    list-style-type: none;
    margin-bottom:5px;
    color:#000;
}
/*END PAGE REVISION*/

/* LOGIN */
.login-page {
	align-items: center;
    background-color: #899702;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    -ms-flex-pack: center;
    justify-content: center;
}

.login-box {
	width: 95%;
	max-width: 938px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	background-color: #F8F1E0;
	border-radius: 8px;
    align-items: center;
}

.login-card-body {
    background-color: #fff;
    border-top: 0;
    color: #666;
    padding: 20px;
}

.login-box-msg{
    margin: 0;
    padding: 0 20px 20px;
    text-align: center;
    font-size: 16px;
}

.login-page .login-logo {
	margin-inline: auto;
	text-align: center;
}

.login-page .login-logo a {
	display: inline-block;
}

.login-page .login-logo img {
	height: 65px;
	width: auto;
	margin-inline: auto;
}

.login-page .login-logo h2 {
	margin-top: 16px;
	margin-bottom: 0;
	text-align: center;
	text-wrap-style: balance;
	max-width: 300px;
	font-weight: 600;
}

.login-box .card {
	box-shadow: none;
	border-top-left-radius: 0;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 0;
}

.login-page .card .card-body .btn-primary {
	background-color: #4845d2;
	border-color: #4845d2;
}

.login-page .card .card-body a:not(.btn) {
	color: #4845d2;
}

@media (max-width: 767px) {
	.login-box {
		grid-template-columns: 1fr;
	}

	.login-box .card {
		border-top-right-radius: 0;
		border-bottom-right-radius: 8px;
		border-bottom-left-radius: 8px;
	}
}