﻿/*
    DEMO STYLE
*/


html, body{
    height: 100%;
    overflow-y:hidden;
}


table {
    background: white;
}

.main {
    padding: 0;    
    height: 100%;
}

.navbar {
    padding: 15px 10px;
    background: #fefefe;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
}

.no-down::after {
    display: none !important;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

i,
span {
    display: inline-block;
}

#main-header {
    height: 60px;
    margin: 0;
    z-index: 0;
    width: 100%;
    background-color: #1b76AB;
}

#header {
    height: 60px;
    position:fixed;
    z-index: 999;
}

.header {
    height: 100%;
    box-shadow: 4px 3px 9px -2px rgba(0,0,0,0.24);
}

.main-header {
    height: 60px;
    margin: 0;
}

#header-lfcontent{
    background-color: #fefefe;
    width: 22%;
    max-width: 260px;
    height: inherit;
    float: left;
    white-space:nowrap;
    transition:all 0.3s linear;
}

#header-rtcontent {
    height: inherit;
    color: #fefefe;
    background-color: #1b76AB;
    width: 78%;
    float: right;
    transition:all 0.3s linear;
}

.header-rtcontent-body {
    height: 50px;
    width: 100%;
}

.Title {
    width: 70%; 
}

.login-parial {
    width: 30%;
    margin-left: -15px;
    transition:none;
}


.hideIcon {
    height: 40px;
    width: 40px;
    stroke: #4B4B4B;
}

#softName span{
    font-size: 34px;
    color: #4B4B4B;
    margin: 0;
    padding: 0px 0 0 5px;
    white-space: nowrap;
    transition:all 0.3s ease;
}

#TitlePage {
    padding-top: 10px;
    transition:all 0.3s linear;
}

#header-lfcontent.active-content {
    background-color: #1b76AB;
    color: #fff !important;
    margin: 0 auto;
    -webkit-transition: background 0.5s linear, color 0.3s linear;
    border-bottom: none;
    width:5%;
    transition:all 0.3s linear;
}
    #header-lfcontent.active-content div svg {
        stroke: #fff !important;
        transition: all 0.3s linear;
    }

    #header-lfcontent.active-content div{
        color: #fff !important;
        transition: all 0.3s linear;
    }
    #header-lfcontent.active-content #softName span {
        color: transparent;
        transition: none;
        display:none;
    }

#header-rtcontent.active-content {
    float: right !important;
    width:95%;
    padding-left:20px;
}

    #header-rtcontent.active-content #TitlePage {
        margin-left: 0;
        transition: all 0.3s linear;
    }
    #header-rtcontent.active-content.Title {
        padding-left:0;
        transition: all 0.3s linear;
    }

    .menu-hideIcon {
        margin: 9px 0 0 14px;
        width: 40px;
        cursor: pointer;
    }

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.burger {
    width: 24px;
    height: 24px;
    margin-left: 30px;
    margin-top: 18px;
}

.wrapper {
    height:100%;
    display: flex;
    align-items: stretch;
    padding-bottom: 65px;
}

#sidebar {
    height: 100%;
    width:260px;
    border-bottom: none;
    color: #fff;
    background-color: #FEFEFE;
    transition: all 0.3s linear;
    padding: 0 !important;
    max-height: 100%;
    overflow: auto;
    overflow-x: hidden;
    padding-bottom: 50px !important;
    overflow-x: hidden;
}

    #sidebar.active {
        width: 64px;
        box-shadow: 4px 3px 9px -2px rgba(0,0,0,0.24);
        overflow-x: hidden;
        transition: all 0.3s linear;
    }

        #sidebar.active .sidebar-header h3,
        #sidebar.active .CTAs {
            display: none;
        }

        #sidebar.active .sidebar-header strong {
            display: block;
        }

        #sidebar.active ul li a {
            padding: 14px 0px;
            text-align: center;
        }

        #sidebar.active ul li a i {
            margin-right: 0;
            display: block;
            font-size: 1.8em;
            margin-bottom: 5px;
        }
        #sidebar.active ul li a span {
            display: none;
        }
        #sidebar.active ul li a svg {
            width:25px;
            height:25px;
        }

    #sidebar.active ul ul a {
        padding: 10px !important;
    }

    #sidebar.active .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
        transition: all 0.1s;
    }

    #sidebar .sidebar-header {
        height: 64px;
        padding: 0px 16px;
        color: #000000;
        transition: all 0.1s;
    }

        #sidebar .sidebar-header strong {
            display: none;
            font-size: 1.8em;
        }

    #sidebar ul.components {
        padding: 20px 0;
        border-bottom: 1px solid #47748b;
    }

    #sidebar ul  {
        padding:0 !important;
    }
        #sidebar ul li{
            padding:0 !important;
            margin:0 !important;
            border:none !important;

        }
            #sidebar ul li a {
                padding: 15px 22px;
                font-size: 1.1em;
                display: block;
                color: #4B4B4B;
                white-space:nowrap;
            }

            #sidebar ul li a span {
                display:inline-block;
                transition:all 0.3s linear;
            }

    #sidebar ul li a svg {
        width: 20px;
        height: 20px;
        transition: all 0.3s linear;
    }

                #sidebar ul li a:hover {
                    color: #4B4B4B;
                    background: #EBECEC;
                    border: none !important;
                }

        #sidebar ul li a i {
            margin-right: 10px;
            transition: all 0.3s linear;
        }

.active-link {
    color: #fff !important;
    background: #1b76AB !important;
    border: none !important;
}

a[data-toggle="collapse"] {
    position: relative;
}

.nav .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transition: all 0.3s linear;
    transform: translateY(-50%);
}


#fileDropDown .dropdown-item:hover {
    background: cyan;
    color: white;
    background-color: #28A745;
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

ul.CTAs {
    padding: 20px;
    transition: all 0.3s linear;
}

    ul.CTAs a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

.main-backgrooud {
    background: #1b76AB;
    color:#fff;
}

a.download {
    background: #fff;
    color: #1b76AB;
}

a.article,
a.article:hover {
    background: #1b76AB !important;
    color: #fff !important;
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
    color: #fff;
    background: #EBECEC;
}

#cardHeader ul li.active > a,
a[aria-expanded="true"] {
    color: #212529;
    background: #F7F7F7;
}

.collapse li a {
    white-space:normal !important;
}


.mainUserContent {
    width: 90%;
    max-width: 90%;
    height: 45px;
    max-height: 45px;
    background: #1B76AB;
    margin: 2px 0 0 0px;
}

.userContent {
    width: 100%;
    height: 100%;
}
    .userContent ul li a {
        text-decoration:none !important;
    }

.userInfo {
    margin-top: 10px;
}

.userRole {
    font-size: 11px;
    text-align: right;
    color: #fff;
}

.userName {
    font-size: 14px;
    text-align: right;
    color: #fff;
}

.userIcon {
    margin-top: 7px;
    float:right !important;
}

li {
    list-style-type: none;
}

.userOperations {
    background: #fefefe;
    color: #4B4B4B;
    border: 1px solid;
    border-left: none;
    border-top: none;
    border-color: rgba(0,0,0,0.15);
    margin-top:11px;
    margin-left:49px;
}

    .userOperations li {
        font-size:12px !important;
    }
    .userOperations a {
        text-decoration: none;
        padding: 3px;
        font-size: 14px !important;
        padding-left:15px !important;
        background-color:transparent !important;
    }

        .userOperations a span {
            color: #4B4B4B;
            padding: 8px 10px !important;
        }

text-link {
    font-size:1.2rem !important;
}
/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100%;
    padding: 20px;
    min-height: 88vh;
    height: 100%;
    max-height: 100%;
    overflow: auto !important;
    transition: all 0.3s;
}

#bodyContent {
    height:100%;
    width:100%;
}
@media (min-height: 1px) {
    #bodyContent {
        height: 90%;
        width: 100%;
    }
}

@media (min-height: 800px) {
    #bodyContent {
        height: 95%;
        width: 100%;
    }
}
@media (min-height: 750px) {
    #bodyContent {
        height: 93%;
        width: 100%;
    }
}
@media (min-height: 900px) {
    #bodyContent {
        height: 99%;
        width: 100%;
    }
}
@media (min-height: 1000px) {
    #bodyContent {
        height: 95%;
        width: 100%;
    }
}
@media (min-height: 1080px) {
    #bodyContent {
        height: 99% !important;
        width: 100%;
    }
}
    /* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

    @media (min-width:1400px) {
        #TitlePage {
            margin-left: -30px;
        }

        .userOperations {
            margin-left: 87px;
        }
    }

    @media (max-width:1300px) {
        #TitlePage {
            margin-left: 0;
        }

        @media (max-width: 1024px) {
            #sidebar {
                min-width: 80px;
                max-width: 80px;
                text-align: center;
                margin-left: -80px !important;
                transition: all 0.3s linear;
            }

            .dropdown-toggle::after {
                top: auto;
                bottom: 10px;
                right: 50%;
                -webkit-transform: translateX(50%);
                -ms-transform: translateX(50%);
                transform: translateX(50%);
            }

            #sidebar.active {
                margin-left: 0 !important;
            }

            #sidebar .sidebar-header h3,
            #sidebar .CTAs {
                display: none;
            }

            #sidebar .sidebar-header strong {
                display: block;
            }

            #sidebar ul li a {
                padding: 20px 10px;
            }

                #sidebar ul li a span {
                    font-size: 0.85em;
                }

                #sidebar ul li a i {
                    margin-right: 0;
                    display: block;
                }

            #sidebar ul ul a {
                padding: 10px !important;
            }

            #sidebar ul li a i {
                font-size: 1.3em;
            }

            #sidebar {
                margin-left: 0;
            }

            #sidebarCollapse span {
                display: none;
            }

            #sidebar.active {
                display: none;
                transition: all 0.3s linear;
            }

            .header {
                position: fixed;
                z-index: 999;
            }

            #sidebar {
                min-width: 260px !important;
                max-width: 260px !important;
                text-align: left !important;
                margin-left: 0 !important;
                z-index: 999;
            }

            #header-rtcontent {
                width: 91% !important;
                padding-left: 20px;
            }

                #header-rtcontent.active-content {
                    background-color: #1b76AB;
                    width: 91% !important;
                }

                    #header-rtcontent.active-content #TitlePage {
                        margin-left: 0;
                    }

            #header-lfcontent {
                background-color: #1b76AB;
                width: 9% !important;
            }

                #header-lfcontent.active-content {
                    background-color: #1b76AB;
                    width: 9% !important;
                }

                #header-lfcontent div svg {
                    stroke: #fff !important;
                }

            .softName {
                display: none;
            }

            .userInfoRow {
                padding-right: 5px;
            }

            .userIcon {
                margin-top: 7px;
                float: none !important;
            }

            .link-drop {
                max-height: 60px !important;
            }

            .userOperations {
                margin-left: 102px;
                float: right !important;
            }

            .dropdown-toggle::after {
                display: block;
                position: absolute;
                top: 60% !important;
                right: 20px;
                transition: all 0.3s linear;
                transform: translateY(-50%);
            }

            .Title {
                margin-right: 15px;
                width: 48%;
            }

            .login-parial {
                margin-left: -30px;
                width: 52%;
            }

            #TitlePage {
                font-size: 1.7rem;
                margin-left: 0px;
                padding-top: 13px;
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
            }

            .userName {
                max-width: 146px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .userRole {
                max-width: 146px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
        }

        @media (max-width:768px) {
            .userOperations {
                margin-left: 27px;
                float: right !important;
            }
        }

        @media (max-width:560px) {
            .userOperations {
                margin-left: -140px;
                float: right !important;
            }

            #content {
                padding: 10px;
            }

            #sidebar {
                transition: all 0.3s linear;
            }

                #sidebar.active {
                    transition: all 0.3s linear;
                }

            #header-lfcontent {
                width: 13% !important;
            }

                #header-lfcontent.active-content {
                    width: 13% !important;
                }

            #header-rtcontent {
                width: 87% !important;
            }

                #header-rtcontent.active-content {
                    width: 87% !important;
                }

                    #header-rtcontent.active-content #TitlePage {
                        max-width: 200px !important;
                    }

            .login-parial {
                margin-left: -50px;
                width: 22%;
            }

            .Title {
                margin-right: 15px;
                width: 80%;
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
            }

            #TitlePage {
                font-size: 1.3rem;
                padding-top: 18px;
                max-width: 200px !important;
                margin-left: 0px;
            }

            .hideIcon {
                width: 35px;
                height: 35px;
            }

            .menu-hideIcon {
                margin: 12px 0 0 8px;
                width: 40px;
                cursor: pointer;
            }
        }

        @media (max-width:428px) {
            .userOperations {
                margin-left: -153px;
                float: right !important;
            }
        }

        @media (max-width:320px) {
            #sidebar {
                transition: all 0.3s linear;
            }

                #sidebar.active {
                    transition: all 0.3s linear;
                }

            #header-lfcontent {
                width: 13% !important;
            }

                #header-lfcontent.active-content {
                    width: 13% !important;
                }

            #header-rtcontent {
                width: 87% !important;
            }

                #header-rtcontent.active-content {
                    width: 87% !important;
                }


            .hideIcon {
                width: 35px;
                height: 35px;
            }

            .menu-hideIcon {
                margin: 12px 0 0 8px;
                width: 40px;
                cursor: pointer;
            }
        }
    }
.close-border-none:focus, .btn:active {
    outline: none !important;
    box-shadow: none;
}