@import "common.css";

body {
    padding: 0;
    margin: 0;
    font-size: .85rem;
    color: #333;
    font-family: "Source Sans Pro";
    background: rgba(254, 254, 254, 1);
}

.top-menu {
    background: #2C544D;
    padding-right: 0;
    z-index: 2;
}

.top-menu .nav-item a {
    font-size: inherit;
    color: #aaa !important;
}

.navbar-brand {
    min-width: 222px;
    max-width: 222px;
}

.top-menu .menu-bar .nav-item:first-child .nav-link {
    padding-left: 0;
}

.top-menu .fa, .top-menu .fal {
    font-size: 1rem;
    margin-right: 3px;
    position: relative;
    bottom: -1px;
}

.top-menu .dropdown-menu {
    background: #F5F5F5;
    border: 0;
    opacity: 0.9;
    padding-top: 0 !important;
    margin-top: 12px !important;
    border-radius: 0;
}

.top-menu .dropdown-menu a {
    font-size: .85rem !important;
    color: #333 !important;
}

.top-menu .dropdown-menu a:hover {
    color: #fff !important;
    background: #2C544D;
}

.top-menu .dropdown-menu a .fa, .top-menu .dropdown-menu a .fal {
    font-size: 14px;
    margin-right: 3px;
    min-width: 20px;
    text-align: center;
}

.top-menu .dropdown-menu .dropdown-item:focus, .top-menu .dropdown-menu .dropdown-item:active {
    background: #2C544D !important;
    color: #fff !important;
}

.top-menu #calculator {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.top-menu .dropdown-menu .dropdown-item {
    border-bottom: 1px solid #aaa;
}

.top-menu .dropdown-menu .dropdown-item:last-child {
    border-bottom: 0;
}

.top-menu #notifications-holder {
    width: 350px;
    min-height: 350px;
    max-height: 350px;
    overflow-y: auto;
    opacity: 1;
}

.top-menu #notifications-holder a {
    color: #213345;
}

.top-menu #notifications-holder .list-group-item .right {
    float: right;
}

.sidebar {
    position: fixed;
    top: 0px;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 60px 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #2C544D;
    width: 222px;
    /* Scrollable contents if viewport is shorter than content. */
}

.sidebar a {
    text-decoration: none;
    color: whitesmoke !important;
    font-size: 0.8rem;
}

.sidebar .card {
    background-color: transparent;
    border-radius: 0;
    border: 0px;
    box-shadow: none;
}

.sidebar .card .fa, .sidebar .card .fal, #sidebar .divider .fal {
    font-size: 0.95rem;
    margin-right: 6px;
    width: 1rem;
    min-height: 1rem;
    position: relative;
    bottom: -1px;
    text-align: center;
}

#sidebar .divider {
    margin: 3px auto;
    padding-left: 1.3rem !important;
    font-size: 0.8rem !important;
    font-weight: bold;
    color: white !important;
    text-shadow: none !important;
}

#sidebar .card-header {
    box-shadow: none;
    background-color: transparent;
    border: 0;
    border-radius: 0 !important;
    padding: .28rem 1.25rem !important;

}

#sidebar .card-header:hover {
    background: rgba(254, 254, 254, 1);
    color: #555 !important;
}

.sidebar .tooltip {
    display: none;
}

#sidebar .card-header .fa-caret-down {
    float: right;
    margin-top: 2px;
}

.sidebar .card-body {
    padding: 5px 8px;
}

.sidebar .card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 0px;
}

.sidebar .card ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #f1f1f1;
}

.sidebar .card ul li:last-child {
    border: 0;
}

.sidebar .card ul li .fa {
    font-size: 14px;
    margin-right: 3px;
}

.main-content {
    margin-left: 222px;
    width: calc(100% - 222px);
    padding-bottom: 100px;
}

.main-content .nav-pills .nav-link {
    background: transparent !important;
    border-radius: 0 !important;
    border-bottom: 1px solid silver;
    font-size: .75rem;
}

.main-content .nav-pills .nav-link.active {
    background: #2C544D !important;
}

.main-content .nav-pills .nav-link:last-child {
    border: 0;
}

.module-menu .btn-primary {
    background: transparent !important;
    border-color: #dee2e6 !important;
    border-bottom: 0 !important;
    color: #007bff;
    font-size: .74rem !important;
}

.module-menu .btn:first-child {
    margin-left: 6px;
}

.module-menu .btn:last-child {
    margin-right: 6px;
}

footer {
    background: #2C544D;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 12px;
}

footer a {
    color: #FFAB1F;
}

footer a:hover {
    color: #FFF;
}

.btn-success, .btn-primary {
    background: #2C544D !important;
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid #2C544D !important;
}

/** POS **/

.cart-count {
    position: absolute;
    right: 15%;
    background: #293241;
    width: 50px;
    height: 50px;
    border-radius: 45px;
    color: #f1f1f1;
    text-align: center;
    padding: 10px 8px !important;
    border: 2px solid #293241;
    opacity: 0.85;
}

.cart-count:focus {
}

.cart-count:hover {
    background: firebrick;
}

.cart-count span:hover {
    background: #293241;
}

.cart-count .fa-shopping-cart {
    font-size: 24px !important;
}

.cart-count span {
    position: absolute;
    border-radius: 45px;
    padding: 5px 8px !important;
    text-align: center;
    background: firebrick;
    font-size: 12px;
    top: -11px;
    right: -22px;
    min-width: 36px;
    max-height: 36px;
    min-height: 36px;
    border: 4px solid #293241;
    opacity: 0.98;

}

.dropdown-menu {
    background: #F5F5F5;
    border: 0;
    opacity: 0.9;
    padding-top: 0 !important;
    margin-top: 12px !important;
    border-radius: 0;
}

.dropdown-menu a {
    font-size: .85rem !important;
    color: #333 !important;
}

.dropdown-menu a:hover {
    color: #fff !important;
    background: #2C544D;
}

.dropdown-menu a .fa, .dropdown-menu a .fal {
    font-size: 14px;
    margin-right: 3px;
    min-width: 20px;
    text-align: center;
}

.dropdown-menu .dropdown-item:focus, .dropdown-menu .dropdown-item:active {
    background: #2C544D !important;
    color: #fff !important;
}

.ribbon-wrapper {
    height: 70px;
    overflow: hidden;
    position: absolute;
    right: -2px;
    top: -2px;
    width: 70px;
    z-index: 10;
}

.ribbon-wrapper.ribbon-lg {
    height: 120px;
    width: 120px;
}

.ribbon-wrapper.ribbon-lg .ribbon {
    right: 0px;
    top: 26px;
    width: 160px;
}

.ribbon-wrapper.ribbon-xl {
    height: 180px;
    width: 180px;
}

.ribbon-wrapper.ribbon-xl .ribbon {
    right: 4px;
    top: 47px;
    width: 240px;
}

.ribbon-wrapper .ribbon {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    font-size: 0.8rem;
    line-height: 100%;
    padding: 0.375rem 0;
    position: relative;
    right: -2px;
    text-align: center;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    top: 10px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 90px;
}

.ribbon-wrapper .ribbon::before, .ribbon-wrapper .ribbon::after {
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 3px solid #9e9e9e;
    bottom: -3px;
    content: '';
    position: absolute;
}

.ribbon-wrapper .ribbon::before {
    left: 0;
}

.ribbon-wrapper .ribbon::after {
    right: 0;
}

.btn {
    box-shadow: none !important;
}

.editor-wrapper, .editor-wrapper2 {
    min-height: 250px;
    background-color: white;
    border-collapse: separate;
    border: 1px solid #ccc;
    padding: 4px;
    box-sizing: content-box;
    box-shadow: rgba(0, 0, 0, 0.07451) 0px 1px 1px 0px inset;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    overflow: scroll;
    outline: none
}

.editor.btn-toolbar {
    zoom: 1;
    margin: 5px 0px 0px 0px;
    padding: 0;
    border-bottom: 2px solid #2C544D;
}

.editor.btn-toolbar .btn {
    border-radius: 0px !important;
    background: #2C544D;
    color: #fff;
    font-size: inherit;
    border-bottom: 0;

}

.editor.btn-toolbar .btn-info {
    background: #3A465C;
    border-color: #3A465C;
}

.editor.btn-toolbar .btn-info:focus {
    background: #3A465C !important;
}

.editor.btn-toolbar .btn:hover {
    color: #aaa;
}

div[data-role="editor-toolbar"] {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
