/*
 * Cerberus  Copyright (C) 2013  vertigo17
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This file is part of Cerberus.
 *
 * Cerberus is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Cerberus is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Cerberus.  If not, see <http://www.gnu.org/licenses/>.
 *//*
    Created on : May 18, 2015, 2:18:04 PM
    Author     : Ronpiche
*/

/*remove the border and set the z-index*/
.navbar {
    border: 0px;
}

#burger-item{
    width:30px;
}

/* side navbarbar */
.nav-second-level>li>a,
.nav-second-level>li>a,
#side-menu>li>a,
#side-menu>li>a,
.sidebar ul li a.active {
    font-family: "Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-weight: 600;
    padding: 14px 20px 14px 18px;
}

/*title padding style*/
#side-menu>li>a.titleCase{
    padding: 10px 20px 45px 18px;
}
.navbar-default.collapsed #side-menu>li>a.titleCase{
    padding: 10px 20px 45px 10px;
}

#logo {
    margin-top:-5px;
    max-height: 42px;
}

.navbar-right a {
    cursor:pointer
}

/* glyphicon position */
.navbar-right .marginRight3px{
    margin-left: 3px;
}
/*form display */
.navbar-right .form-group{
    display: inline-block;
}

/* generic setting */

/* display  all the way to the top and set the z layer at 0*/
.sidebar {
    margin-top: 0px;
    z-index: 200;/* z-index equal to 100 in testCaseScript*/
    top: 0;
}
@media screen and (min-width: 768px) {
    .sidebar {
        position: fixed;/*follow the user if the screen is wide enought*/
    }
}


/*make the title fit the crossing of the side navbar and the top navbar */
.titleCase{
    position: absolute;
    display: block;
    left: 0px;
    bottom:0;
    width: 100%;
    padding: 8px 0;
    font-size: 20px;
    height: 42px;
}

/* =side navbar config= */
.navbar-default{
    height: 100%;
}

/* change size when collapsing*/
.navbar-default.collapsed{
    width: 60px;
}
/*enlarge the icon when collapsing side bar */
.navbar-default.collapsed i.fa,
.navbar-default.collapsed .glyphicon {
    font-size: 20px;
    display: block;
}

/*hidde text */
.navbar-default.collapsed .nav-text {
    display: none;
}
/*hide dropdow arrow*/
.navbar-default.collapsed .fa{
    display: none;
}
/* toggle button style */
.navbar-default .navbar-toggle {
    margin-left: 15px;
}

/* screen IS NOT width enought to display the side-navbar at the left of the screen*/

.navbar-static-top {
    margin: 0 0 0 250px;
    font-size: 16px;
}
.navbar-static-top.collapsed{
    margin: 0 0 0 60px;
}


/*left part topbar style */
.navbar-toggle {
    position: relative;
    float: right;
    padding: 8px 8px;
    margin-top: 5px;
    margin-right: 15px;
    margin-bottom: 5px;
    background-color: transparent;
    border: 1px solid transparent;
}
/*mouse over dropdown */
.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}
/* override bootstrap to always display this button */
.navbar-toggle {
    display: block;
}
/* button to toggle navbar style */
.navbar-default .controlToggle {
    text-align: center;
    padding: 0;
    width: 36px;
    height: 28px;
    display: none;
    /*position: absolute;
    right: -3px;*/
    position: fixed;
    left: 220px;
    bottom: 5%;

    border-radius: 5px 5px 5px 5px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 19px;

    border-bottom: 1px solid black;
    /*transition: all .1s linear 0s;*/
}
/*display the button if the screen is width enought*/
@media screen and (min-width: 768px) {
    .navbar-default .controlToggle {
        display: block;
    }
}

.navbar-default .controlToggle:hover {
    /*right: -3px;*/
    left:217px;
    width: 40px;
}
.navbar-default.collapsed .controlToggle {
    left: 28px;
}
.navbar-default.collapsed .controlToggle:hover {
    left: 25px;
}
.navbar-default.collapsed .controlToggleIcon{
    margin-top: 5px;
    display: block;
}

/*topbar right part style */
.navbar-right>li>a {
    padding: 10px;
    min-height: 40px;
}
.navbar-right select{
    height: 28px;
    padding: 5px 5px;
    font-size: 12px;
    cursor: pointer;
}
.navbar-right .form-group {
    margin-bottom: 0px;
}
.navbar-right .language-icon{
    font-size: 18px;
    top:4px;
}
.navbar-top-links li {
    padding-left: 20px;
}
/*space */
.navbar-header{
    margin-left: 15px;
}
.sidebar .nav-second-level li a.active {
    padding-left: 37px;
}
/*display dropdow menu when navbar is collaspe*/
.collapsed .nav-second-level li a {
    padding-left: 10px;
}
.collapsed .nav-second-level li a.active {
    padding-left: 10px;
}
.navbar-default.collapsed .nav-second-level {
    position: absolute;
    left: 54px;
    min-width: 220px;
    top: 0;
    font-size: 12px;
    padding-left: 0px;
    padding: 10px 10px 10px 10px;
    border-radius: 0px 4px 4px 0px;
}
/* fix a display bug */
.nav nav-second-level{
    overflow: hidden;
}
/* remove border */
#page-layout {
    height: 100%;
    border-top: 1px solid #e7e7e7;
}

#burger{
    display: none;
}

@media (min-width: 768px){
    #page-layout.extended{
        margin: 0 0 0 60px;
    }
}

.sidebar ul li {
    border-bottom: 0px;
}



/* overide sb-admin.css for the style of the toggle button for the subnavlist */
.sidebar .fa.arrow:before {
    content: "\f107";/*angle down*/
}
.sidebar .active>a>.fa.arrow:before {
    content: "\f105";/*angle right*/
}


/*==Color setting==*/

/* set the color for everything exept the page-layout and the topbar*/

.navbar,
.navbar-default{
    background-color: #1e2124;
}

/* side navbarbar text color */
.nav-second-level>li>a,
.nav-second-level>li>a,
#side-menu>li>a,
#side-menu>li>a,
.navbar-default .controlToggle {
    color: #ddd;
}

/* side navbarbar background color when hover*/
.nav-second-level>li>a:focus,
.nav-second-level>li>a:hover,
#side-menu>li>a:focus,
#side-menu>li>a:hover{
    background-color: rgba(79,84,92,.6);
    color: #FFF;
}
/* title color */
.titleCase{
    color: whitesmoke !important;
}
/* current link */
.sidebar ul li a.active{
    background-color: rgba(79,84,92,.6) !important;
    color: whitesmoke;
}

.navbar-side-choice.active,
.navbar-default.collapsed .nav-second-level,
.navbar-default .controlToggle{
    background: #282b30;
}

.navbar-side-choice.active{
    border-left: 4px solid whitesmoke;
}

/*  button to toggle style when hover */
.navbar-default .controlToggle:hover {
    color: whitesmoke;
}

/* color topbar */
.navbar-static-top {
    background-color: #fff;
    height: 50px;
    box-shadow: 0 7px 14px 0 rgba(65, 69, 88, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
    -webkit-box-shadow: 0 7px 14px 0 rgba(65, 69, 88, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
}
/* color text topbar */
.navbar-static-top ,
.navbar-right a {
    color: #1e2124;
}

@media (max-width: 768px){
    .navbar-static-top{
        margin-left:0px;
        z-index:99;
    }

    #side-menu li:not(.MainItem){
        display:none;
    }

    .navbar-header,.nav.navbar-top-links.navbar-right{
        display:none;
    }

    #tabsScriptEdit{
        background-color:white;
    }

    #burger{
        display:inline-block;
        position:absolute;
        right:20px;
        top:6px;
        background-color:white;
    }

    #burger-setting{
        display:inline-block!important;
        position:absolute;
        right:100px;
        width:56px;
        height:44px;
        top:6px;
        background-color:white;
    }

    .titleCase{
        color: whitesmoke !important;
        width:50%;
        display:inline-block!important;
    }

    #steps{
        overflow-y:initial!important;
    }
}