/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 16-Mar-2015, 11:25:49 AM
    Author     : josephzhao
*/

.leftsidebar3 {
    padding: 10px 10px;
    min-width: 100%;
    margin: 10px 10px 10px 0;
    /* leftsidebar3's are stacked vertically with 10px margin */
    /* the total height should be the same as main_content (96vh - 50px) */
    height: calc(48vh - 30px);
    border: 1px solid lightgray;
    border-radius: 5px;
    background-color: lightgray;
    overflow-y: auto;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.leftsidebar4 {
    padding: 10px 10px;
    min-width: 100%;
    margin-top: 10px;
    height: calc(96vh - 50px);
    border: 1px solid lightgray;
    border-radius: 5px;
    background-color: lightgray;
    overflow-y: auto;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}


.leftsidebar5 {padding:10px 10px;min-width:100%;margin-top: 10px;height: auto; overflow-y: auto;}


div#leftsidebar_pane.dropdown:hover .dropdown-menu{
    display: block;
}
.main_leftsidebar a {
    color: black;
}
div#leftsidebar_pane.dropdown ul.dropdown-menu {
    width:206px; 
    margin-top:0px;
}
ul#leftsidebar_menu {
    padding-left: 0;
    list-style: none;
}
ul#leftsidebar_menu li a{
    font-size: 14px;
    font-weight: 500;
}

ul#leftsidebar_menu li{
    margin: 2px;
    padding:5px 5px;
    border-bottom: 1px dotted gainsboro;
    /*background-color: darkgray; */
    color: black;
    border-radius: 5px;
}

ul#leftsidebar_menu li.project-disabled{
    margin: 2px;
    padding:5px 5px;
    border-bottom: 1px dotted gainsboro;
    /*background-color: darkgray; */
    color: darkgrey;
    border-radius: 5px;
}

ul#leftsidebar_menu li.project-disabled:hover {
    background-color: lightgrey;
}

ul#leftsidebar_menu li:hover {
    background-color: lightblue;
}

.main_leftsidebar h5#title {
    margin: 2px;
    background-color: sandybrown;
    color: black;
    padding: 6px 0px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
}

.main_leftsidebar a.active,
.main_leftsidebar i.active,
ul#leftsidebar_menu a.leftsidebar.active li span.expandedText,
ul#leftsidebar_menu a.leftsidebar.active span {
    color: #FF0000;
}

@media screen and (max-width:960px) {
    .main_leftsidebar ul#leftsidebar_menu {
        >a{
            &:hover {
                > li > .expandedText {
                    display: unset;
                    position: absolute;
                    background: lightblue;
                    border: none;
                    z-index: 1;
                    padding: 6px 10px;
                    margin-top: -5px;
                    box-sizing: border-box;
                    margin-left: 5px;
                    border-radius: 0 5px 5px 0;
                }
                >li:focus {
                    outline: none;
                }
                ul.submenu {
                    display: unset;
                }
            }
        }
    }
}

/* ----------added by Mehrnoush   2017/06/06  For Targeting----------*/
/* ---------left navbar--------------*/
ul#targeting_leftnavbar_ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 220px;
    background-color: #f1f1f1;
  /*--  position: fixed; --*/*/
    height: 81%;
    overflow: auto;
    
}
ul#targeting_leftnavbar_ul li a{
    display: block;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;   
}
ul#targeting_leftnavbar_ul li a:hover{
    background-color: #555;
    color: white; 
}
ul#targeting_leftnavbar_ul li a.targetingleftmenue_active {
    background-color: #4CAF50;
    color: white;
}
/*ul#targeting_leftnavbar_ul li a:hover:not(.targetingleftmenue_active) {
    background-color: #555;
    color: white;
}*/
/* ---------top navbar--------------*/
ul#targeting_topnavbar_ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f3f3f3;
}
ul#targeting_topnavbar_ul li {
    float: left;
    border-right:1px solid #bbb;
}
ul#targeting_topnavbar_ul li:last-child {
    border-right: none;
}
ul#targeting_topnavbar_ul li a {
    display: block;
    color: #000;
    text-align: center;
    padding: 10px 12px;
    text-decoration: none;
}
ul#targeting_topnavbar_ul li a:hover{
    background-color: #555;
    color: white; 
}
/*ul#targeting_topnavbar_ul li a:hover:not(.targetingtopftmenue_active) {
      background-color: #555;
    color: white;
}*/

/*.active {
    background-color: #4CAF50;
}*/
/*----------------------------------------------------------------------*/

/*----------------------------------------------------------------------*/
/* Collapsable menu*/
/* last updated january 13, 2021*/
/*----------------------------------------------------------------------*/

i.collapsedSidebar {
    display: none;
}

.main_leftsidebar {
    width: 230px;
}

.wSidebar {
    margin-left: 250px;
}
@media screen and (max-width:960px) {
    .main_leftsidebar {

        span.expandedText {
            display: none;
        }
        ul#leftsidebar_menu {

            text-align: center;

            >li{
                margin: 5px 2px;
                &:hover {
                    > a > .expandedText {
                        display: unset;
                        position: absolute;
                        background: lightblue;
                        border: none;
                        z-index: 1;
                        padding: 6px 10px;
                        margin-top: -5px;
                        box-sizing: border-box;
                        margin-left: 5px;
                        border-radius: 0 5px 5px 0;
                    }
                    ul.submenu {
                        display: unset;
                    }
                }

                ul.submenu {
                    display: none;
                    list-style: none;
                    padding: 0;

                    li:hover .expandedText{
                        display: unset;
                        position: absolute;
                        background: lightblue;
                        border: none;
                        z-index: 1;
                        padding: 6px 10px;
                        margin-top: -5px;
                        box-sizing: border-box;
                        margin-left: 5px;
                        border-radius: 0 5px 5px 0;
                    }
                }
            }
            i.fa-angle-right {
                display: none;
            }

            i.collapsedSidebar {
                width: 100%;
                display: unset;
                font-size: 20px;
            }

        }

        width: 70px;
    }


    .wSidebar {
        margin-left: 90px;
    }
}