﻿.table > tbody > tr > td {
    vertical-align: middle;
}

.table > tfoot > tr > td {
    vertical-align: middle;
    padding: 8px 10px;
}

.table > thead > tr > th {
    vertical-align: middle;
    padding: 8px 10px 8px 10px;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.container-fluid {
    padding-top: 5px;
    padding-bottom: 5px;
}

    .container-fluid > border {
        border: 1px solid #cecece;
    }

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    background-color: #f8f9fa;
    border: 1px solid #0366d6;
    border-radius: 1px;
    color: #0366d6;
}

.btn-success {
    background-color: #f8f9fa;
    border: 1px solid #2ea44f;
    border-radius: 1px;
    color: #2ea44f;
}

.btn-danger {
    background-color: #f8f9fa;
    border: 1px solid #e62143;
    border-radius: 1px;
    color: #e62143;
}

.btn-secondary {
    background-color: #f8f9fa;
    border: 1px solid #6E6D70;
    border-radius: 1px;
    color: #6E6D70;
}

.btn-warning {
    background-color: #f8f9fa;
    border: 1px solid #ffbf00;
    border-radius: 1px;
    color: #ffbf00;
}

    .btn-warning:hover {
        color: white;
    }

.btn-info {
    background-color: #f8f9fa;
    border: 1px solid #36A9AE;
    border-radius: 1px;
    color: #36A9AE;
}

.bg-table-thead {
    /*background-color: #8e8d8d;*/
    background-color: #565656;
    color: white;
    border: 1px solid #6E6D70;
}

.bg-table-thead-sub {
    /*background-color: #8e8d8d;*/
    background-color: #938f8f;
    color: white;
    border: 1px solid #6E6D70;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .vertical-center {
        min-height: 100%; /* Fallback for browsers do NOT support vh unit */
        min-height: calc(100vh - 65px); /* These two lines are counted as one :-)       */

        display: flex;
        align-items: center;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    background-image: url('/img/fundo.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

#loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgb(249,249,249);
    color: #563d7c;
    flex: 0 0 120px;
}

.order-card {
    color: #fff;
}

.bg-c-blue {
    background: linear-gradient(45deg,#4099ff,#b9d8fc);
}

.bg-c-green {
    background: linear-gradient(45deg,#2ed8b6,#3dedca);
}

.bg-c-yellow {
    background: linear-gradient(45deg,#FFB64D,#ffd800);
}

.bg-c-brown {
    background: linear-gradient(45deg,#402015,#ffd800);
}

.bg-c-red {
    background: linear-gradient(45deg,#ff2b44,#ff6072);
}

.bg-c-pink {
    background: linear-gradient(45deg,#FF5370,#faa0af);
}

.bg-c-purple {
    background: linear-gradient(45deg,#563d7c,#ff869a);
}

.bg-c-silver {
    background: linear-gradient(45deg, #979696, #cbc7c7 );
}

.bg-c-orange {
    background: linear-gradient(45deg, #FF851B, #f7caa1 );
}

.bg-c-blue2 {
    background: linear-gradient(45deg, #072D59, #1F7DDB );
}

.bg-c-carbon {
    background: linear-gradient(45deg, #000000, #808080 );
}

.card {
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 2.94px 0.06px rgba(4,26,55,0.16);
    box-shadow: 0 1px 2.94px 0.06px rgba(4,26,55,0.16);
    border: none;
    border-radius: 0px;
    margin-bottom: 30px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

    .card .card-block {
        padding: 25px;
    }

.order-card i {
    font-size: 26px;
}

.f-left {
    float: left;
}

.f-right {
    float: right;
}

.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -9px;
    }

/* rotate caret on hover */
.dropdown-menu > li > a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
}


.expand-button {
    position: relative;
}

.accordion-toggle .expand-button:after {
    content: '-';
    font-size: 22px;
}

.accordion-toggle.collapsed .expand-button:after {
    content: '+';
    font-size: 22px;
}


.float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    font-size: 20px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    padding-left: 15px;
    padding-right: 15px;
}

.wpp-float {
    margin-top: 16px;
}

@media (max-width: 768px) {
    /*.btn, .btn-group {
        width: 100%;
        margin-bottom:5px;
    }*/
}



/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #563d7c;
    color: #fff;
    /*transition: all 0.3s;*/
}

    #sidebar.active {
        margin-left: -250px;
    }

    #sidebar .sidebar-header {
        padding-top: 10px;
        padding-bottom: 10px;
        background: #fff;
    }

    #sidebar ul.components {
        border-bottom: 1px solid #47748b;
    }

    #sidebar ul p {
        color: #fff;
        padding: 10px;
    }

    #sidebar ul li a {
        padding: 10px;
        font-size: 1.1em;
        display: block;
        color: #fff;
    }

        #sidebar ul li a:hover {
            color: #fff;
            background: #ff684d;
        }

        #sidebar ul li a:focus {
            color: #fff;
            background: #ff684d;
        }

    #sidebar ul li.active > a,
    a[aria-expanded="true"] {
        color: #fff;
        background: #7659a1;
    }

a[data-toggle="collapse"] {
    position: relative;
}


.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 1.0em !important;
    padding-left: 30px !important;
    background: #7659a1;
}

ul ul ul a {
    font-size: 1.0em !important;
    padding-left: 60px !important;
    background: #7659a1;
}


/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%; /*calc(100% - 250px);    */
    min-height: 100vh;
    transition: all 0.3s;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

    #content {
        width: 100%;
        min-height: 100vh;
        transition: all 0.3s;
    }

    #sidebar.active {
        margin-left: 0;
    }

    #sidebarCollapse span {
        display: none;
    }
}

.dataTables_scrollHeadInner, .table {
    width: 100% !important;
}

.modal-body {
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}
