﻿.menu-box {
    height: 45px;
    width: 180px;
    float: left;
    background-color: #ed262a;
    background: linear-gradient(135deg, #ed262a 0%, #DC2E31 90%);
    position: relative;
    z-index: 800;
}

.top-sub-box {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 2px rgba(0,0,0,0.04);
    opacity: 0.97;
    padding-left: 20px;
    z-index: 1000;
    position: relative;
    float: left;
    z-index: 700;
    width: calc( 100% - 180px);
}

    .top-sub-box .title-box .h3 .doc-type {
        margin-left: 15px;
        padding-top: 6px;
        margin-right: 10px;
    }

    .top-sub-box .title-box .h3 .document-title {
        padding-top: 6px;
    }

.menu-items {
    height: calc(100% - 45px);
    position: relative;
    float: left;
    width: 180px;
    clear: both;
}

    .menu-items .menu-body {
        min-height: 100vh;
        width: 180px;
        z-index: 999;
        background-color: #DD282C;
        background: -moz-linear-gradient(-45deg, #ed262a 0%, #b51e21 100%);
        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #ed262a), color-stop(100%, #b51e21));
        background: -webkit-linear-gradient(-45deg, #ed262a 0%, #b51e21 100%);
        background: -o-linear-gradient(-45deg, #ed262a 0%, #b51e21 100%);
        background: -ms-linear-gradient(-45deg, #ed262a 0%, #b51e21 100%);
        background: linear-gradient(135deg, #ed262a 0%, #b51e21 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ed262a', endColorstr='#b51e21', GradientType=1 );
    }

    .menu-items li {
        font-size: 12px !important;
    }

        .menu-items li:hover, .menu-items li:hover a, .menu-items li:hover i:before {
            background-color: white;
            color: #ED262A;
        }

        .menu-items li a {
            padding: 13px 15px;
            display: block;
            height: 40px;
            width: 175px;
            font-weight: 400 !important;
            font-size: 13px;
            text-align: left;
            text-decoration: none;
            color: white;
        }



.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background-color: white;
}

.menu-items li a:hover,
.menu-items .open .menu-hover-ajuste, .menu-items .open .menu-hover-ajuste i:before {
    color: #ED262A;
    background-color: white;
}

.menu-items li a i {
    width: 30px;
}

.menu-items li i:before {
    opacity: 0.89;
}

.menu-items li a i:before {
    color: white;
}

.menu-items li a i:before {
    font-size: 14px;
}

/* TOOLTIP
.menu-items {
	transform: none !important;
	-ms-transform: none !important;
    -webkit-transform: none !important;
	opacity: 1 !important;
}
.tooltip {
	opacity: initial !important;	
}*/
.menu-items .menu-actions {
    margin-bottom: 10px
}

.menu-items li.active a, .menu-items li.active a i:before {
    color: #ED262A;
    font-weight: 400;
}

.menu-items li.active {
    background: #FFFFFF;
    box-shadow: 0px 1px 0px rgba(0,0,0,0.06);
}
/* hover */

.menu-items li a:hover {
    margin-right: 0px;
    margin-left: 0px;
}

.menu-box a.menu-btn-toggle {
    cursor: pointer;
    text-decoration: none;
}

.menu-box .icon-reorder:before {
    cursor: pointer;
}

.menu-box .appbrand {
    display: block;
    padding: 0;
    text-align: center;
    margin: 0px 0px;
    height: 45px;
    width: 120px;
    margin-right: 10px;
    overflow: hidden;
}

    .menu-box .appbrand img {
        width: 85px !important;
        height: auto !important;
    }

.menu-box .icon-reorder {
    font-size: 30px;
    color: #FFF;
    display: block;
    position: relative;
    z-index: 1000;
}

.menu-items .profile {
    padding: 10px 0px 20px;
    text-align: center;
}

    .menu-items .profile a.logo-top {
        margin-top: 10px;
        text-decoration: none;
        width: 74px;
        height: 74px;
        border-radius: 80px;
        border: 5px solid #FFF;
        background: #FFF;
        padding: 5px;
        background-size: contain;
        background-repeat: no-repeat;
        border-radius: 80px !important;
        -moz-border-radius: 80px !important;
        -webkit-border-radius: 80px !important;
        -o-border-radius: 80px !important;
        background-position: 50%;
        display: inline-block;
        box-shadow: inset 0px 2px 3px rgba(0,0,0,.12), 0px 2px 5px rgba(0,0,0,0.22) !important;
    }

.menu-collapsed .search-box .input-append input {
    border-bottom: none;
}

    .menu-collapsed .search-box .input-append input:focus {
        border-bottom: none;
    }

.menu-collapsed .menu-box {
    height: 45px;
    z-index: 999;
    border-bottom: 1px solid #ECECEC;
    background: #ed262a;
}

.menu-collapsed .menu-body, .menu-collapsed .menu-items {
    display: none;
}

.menu-collapsed .top-sub-box {
    width: 100%;
}

.menu-collapsed .content-wrapper {
    display: block;
}

.menu-collapsed .main-content-container {
    width: 100%;
    margin-left: 0;
}

.menu-collapsed .top-box {
    width: 100%;
    float: none;
    clear: both;
    padding-right: 0;
}

.menu-collapsed .top-box .menu-config .menu-config-wrapper a, .menu-collapsed .menu-config i:before {
    color: #FFF;
}

.menu-collapsed .sub-menu-config i:before {
    color: #808080 !important;
}



.top-sub-box .title-box .h3 {
    white-space: nowrap;
    font-size: 14px;
    min-height: 20px !important;
    color: #474747;
    font-weight: 400;
}

.sub-menu-box .btn {
    height: 40px !important;
    line-height: 30px !important;
}

    .sub-menu-box .btn, .sub-menu-box .btn.disabled, .sub-menu-box a.btn.btn-default, .sub-menu-box div.btn.btn-default, .sub-menu-box .btn.btn-default.link, .sub-menu-box .btn.btn-default.link span {
        border-left: 1px solid #ECECEC;
        border-radius: 0px !important;
        border-right: none;
        border-top: none;
        border-bottom: none;
    }



.search-box .input-append {
    margin-top: 5px !important;
    height: 37px;
    border-bottom: 1px solid #ccc;
    background-color: white;
}

    .search-box .input-append > div {
        float: left;
        width: 3%;
        min-width: 20px;
        left: 20px;
    }

    .search-box .input-append .icon {
        font-size: 24px;
        margin-top: 5px;
        position: relative;
        z-index: 1010;
    }

        .search-box .input-append .icon .icon-search {
            color: #B5B5B5;
        }

    .search-box .input-append input[type=text] {
        height: 35px;
        border: 1px solid transparent;
        padding: 5px 3px 5px 38px;
        background: #FEFEFE;
        position: absolute;
        z-index: 1000;
        box-shadow: none;
        margin-right: 15px;
        float: left;
        width: calc(100% - 130px);
    }

    .search-box .input-append input:focus {
        border-bottom: 1px solid rgba(66, 133, 244, 1);
        height: 36px;
    }

    .search-box .input-append input::-webkit-input-placeholder {
        color: #ccc;
    }

    .search-box .input-append input[type=submit] {
        height: 30px;
        margin: 3px;
    }

    .search-box .input-append input:-moz-placeholder {
        color: #ccc;
        opacity: 1;
    }

    .search-box .input-append input::-moz-placeholder {
        color: #ccc;
        opacity: 1;
    }

    .search-box .input-append input:-ms-input-placeholder {
        color: #ccc;
    }

    .search-box .input-append .btn {
        border: none !important;
        background: #4285f4 !important;
        padding: 0px 10px !important;
        text-transform: capitalize;
        line-height: 32px;
        float: right;
    }

.top-box {
    height: 45px;
    background-color: rgb(254, 254, 254);
    border-bottom: 1px solid #ECECEC;
    float: right;
    width: calc(100% - 180px);
    padding-left: 20px;
    position: relative;
    z-index: 800;
}

.top-box-expire {
    float: none;
    width: 100%;
}

.menu-collapsed .top-box {
    background-color: #ED262A;
    background: -moz-linear-gradient(-45deg, #ed262a 0%, #b51e21 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #ed262a), color-stop(100%, #b51e21));
    background: -webkit-linear-gradient(-45deg, #ed262a 0%, #b51e21 100%);
    background: -o-linear-gradient(-45deg, #ed262a 0%, #b51e21 100%);
    background: -ms-linear-gradient(-45deg, #ed262a 0%, #b51e21 100%);
    background: linear-gradient(135deg, #ed262a 0%, #b51e21 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ed262a', endColorstr='#b51e21', GradientType=1 );
    margin-top: 0 !important;
}

.top-box .menu-config {
    list-style: none;
}

    .top-box .menu-config .menu-config-wrapper {
        float: right;
        line-height: 24px;
        margin-right: 20px;
        margin-top: 10px;
    }

        .top-box .menu-config .menu-config-wrapper a {
            color: #808080;
            border: none;
            font-size: 10px;
            text-transform: uppercase;
            font-weight: bold;
        }

    .top-box .menu-config i {
        font-size: 12px;
        margin-right: 4px;
        position: relative;
        top: 2px;
    }

    .top-box .menu-config li a {
        color: #808080;
        border: none;
        text-transform: uppercase;
        font-size: 10px;
    }

        .top-box .menu-config li a:hover {
            text-decoration: none;
        }

        .top-box .menu-config li a i:before {
            color: #808080;
            font-size: 15px;
            margin: 7px;
            padding-right: 5px;
        }

.top-sub-box .balance-box .account a span {
    color: #808080;
}

.balance-box {
    border-left: 1px solid #F1F1F1;
}

    .balance-box .account .dropdown-menu {
        margin: 0;
    }

    .balance-box table a {
        color: rgb(102, 140, 204);
    }

    .balance-box .open, .balance-box .open > .dropdown-menu {
        background: #fafafa;
        border: 0px solid #fafafa;
    }

        .balance-box .open > .dropdown-menu {
            -webkit-animation: moveFromBottom 300ms ease;
            -moz-animation: moveFomBottom 300ms ease;
            -ms-animation: moveFromBottom 300ms ease;
            overflow-y: scroll;
            max-height: 750px;
            width: 100%;
        }

    .balance-box .account a {
        text-decoration: none;
        padding: 0 15px;
        line-height: 43px;
        font-weight: 600;
        border: none !important;
    }

    .balance-box .hideSmall {
        float: left;
        margin-right: 10px;
    }

.sub-menu-box .btn {
    background-color: transparent;
    line-height: 13px;
}

    .sub-menu-box .btn.strong {
        background: transparent;
        font-weight: 400 !important;
    }

.ListRecords .company {
    background: #fff none repeat scroll 0 0;
    border-radius: 50px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    height: 70px;
    text-align: center;
    width: 72px !important;
    display: inline-table !important;
    margin-bottom: 10px;
    position: relative;
    left: 10px;
    margin-left: 0px;
    margin-top: 0px;
}

    .ListRecords .company.expired:after {
        background: url("https://d385xxgpk8p5zy.cloudfront.net/bg_subscriptionexpired.png");
        background-size: 76px;
        background-repeat: no-repeat;
        background-position: 0px 2px;
        margin-left: -5px;
        bottom: -2px;
        color: #fff;
        content: "Subscrição Expirada";
        font-size: 9px;
        left: 3px;
        line-height: 12px;
        position: absolute;
        text-align: center;
        text-transform: uppercase;
        z-index: 20;
        width: 78px;
        height: 29px;
        padding-top: 2px;
        box-sizing: border-box;
    }

/*@media all and (max-height: 500px) {

.ListRecords .company {
    float: left;
    height: 44px;
    margin: 10px 3px;
    overflow: hidden;
    width: 44px;
}
.ListRecords br {
    display: none;
}

.ListRecords .company.expired::after {
   background: rgba(237, 28, 36, 0.4) none repeat scroll 0 0;
    border-radius: 50px;
    bottom: 0;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    width: auto;
}
}*/

/*STYLE MENU - SCROLL
.popover-content.row-fluid .ListRecords {

}
.popover-content.row-fluid {
    max-height: 450px;
    overflow-x: hidden;
    overflow-y: auto;
}
*/


.top-sub-box select[disabled] {
    -webkit-appearance: none;
    -moz-appearance: none;
}

.ss-menu ul {
    list-style: none;
    padding-left: 0px;
}
/* switch company */


.popover-action {
    display: none;
    position: absolute;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    top: -14px;
    left: 20px;
    transition: opacity 0.3s ease-in-out;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
}

    .popover-action.active {
        display: block;
        padding: 15px 6px 6px 0px;
        opacity: 1;
        -webkit-opacity: 1;
        -moz-opacity: 1;
        transition: opacity 0.3s ease-in-out;
        -webkit-transition: opacity 0.3s ease-in-out;
        -moz-transition: opacity 0.3s ease-in-out;
        -o-transition: opacity 0.3s ease-in-out;
        z-index: 10;
    }

.popover {
    max-width: 500px;
    border-color: #efefef;
    background: #F1F1F1;
    box-shadow: 0px 0px 25px rgba(0,0,0,0.2);
    border: 1px solid #CCC;
    border-color: lightgray;
    text-align: center;
}

    .popover.bottom .arrow {
        display: block;
        width: 0;
        height: 0;
        margin-top: -10px;
        margin-left: -58px !important;
        margin-left: -11px;
        border-top-width: 0;
        border-bottom-color: #999;
        border-bottom-color: #ccc;
        border-width: 11px;
        border-color: transparent;
        border-style: solid;
        position: absolute;
        top: -12px;
        left: 50%;
    }

        .popover.bottom .arrow:after {
            top: 1px;
            margin-left: -10px;
            border-top-width: 0;
            border-bottom-color: #F1F1F1;
        }


.menu-items .popover {
    position: absolute;
    width: 215px;
    margin-top: 125px;
    margin-left: 10px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.2);
}

    .menu-items .popover .popover-content {
        width: 220px !important;
        padding: 0px;
    }

        .menu-items .popover .popover-content img {
            max-height: 45px !important;
            max-width: 45px !important;
            margin: auto;
        }

.popover .popover-content a {
    display: table-cell;
    padding: 0 !important;
    vertical-align: middle;
    margin: auto;
}

.popover .popover-content .client-search {
    height: 25px;
    padding: 10px 0px 25px 0px;
    margin-bottom: 30px;
    font-size: 15px;
    display: inline-block;
}

    .popover .popover-content .client-search input {
        width: 130px !important;
        height: 30px;
        margin-left: 5px;
        padding-left: 10px;
        border-radius: 10px;
    }

    .popover .popover-content .client-search button {
        padding: 5px 10px 5px 10px;
        margin-top: -4px;
        font-weight: bold;
    }

#menu-config-text a {
    color: #808080 !important;
}

#menu-config-text h3 {
    color: #808080 !important;
}

.force-align-bottom {
    position: fixed;
    top: calc(100% - 40px);
    left: 0;
    width: 180px;
    margin-left: 0px;
}

.shortcut-menu-style, .shortcut-menu-style:hover {
    width: 180px !important;
    font-size: 12px !important;
    display: grid !important;
    grid-template-columns: 25px 1fr !important;
}




@media only screen and (max-width: 992px) {
    .top-sub-box {
        padding-left: 20px !important;
    }

    .top-sub-box {
        min-width: 650px;
        width: 100%;
    }

    .force-align-bottom {
        display: none !important;
    }
}

.bottom-ul-style li {
    list-style-type: none;
}

    .bottom-ul-style li:hover {
        background-color: transparent !important;
    }

.bottom-ul-style .shortcut-menu-style {
}

/* Backoffice menu styles */
#menu-config-full {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1100;
    width: 400px;
    padding: 20px;
    font-size: 13px;
}

#menu-config-full.active {
    display: flex;
    flex-direction: column;
}

#menu-config-full .menu-header {
    position: relative;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

#menu-config-full .close-btn {
    position: absolute;
    top: -4px;
    right: 0;
    cursor: pointer;
    font-size: 16px;
    color: #999;
}

#menu-config-full h2 {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

#menu-config-full .menu-columns {
    display: flex;
    width: 100%;
}

#menu-config-full .menu-column {
    flex: 1;
    padding: 0 10px;
}

#menu-config-full .menu-section {
    margin-bottom: 20px;
}

#menu-config-full .menu-section-title {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

#menu-config-full .menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

#menu-config-full .menu-links a {
    color: #666;
    text-decoration: none;
    display: block;
}

#menu-config-full .menu-links a:hover {
    color: #ed262a;
}
