/*
Theme Name: Custom-Sites
Theme URI: http://underscores.me/
Author: Avraham Yoffe
Author URI: http://www.custom-sites.com
Description: Custom-Sites Parent Theme
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: customsites
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Custom-Sites is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

html {
    overflow-y: scroll;
}

body {
    overflow: hidden;
}

#content{
    position: relative;
}
/* ######################################### */

.navbar-header {
    z-index: 10000;
    height: 40px;
    /*margin:0 0 2px 0;*/
}

.navbar-collapse {
    /*float: left;*/
    padding-right: 0px;
    padding-left: 0px;
}

.collapsing, .navbar-collapse.in
/* open sub menu group bg */

{
    position: absolute;
    width: 100%;
    top: 40px;
    background: #f1eeeb;
    overflow: hidden;
    border-bottom: 3px solid #444444;
    z-index: 10000;
}

/*.menu-item>a {
    font-size: 18px;
    font-weight: 400;
    color: #000000;
}*/

.navbar-nav {
    padding: 0px;
    margin: 0px;
}

.navbar-nav>li {
    float: right;
    padding: 0 20px 3px 0;
}

.nav-en>li{
    float: left;
}

.navbar-nav>li>a {
    padding: 10px 5px 7px 5px;
    font-size: 15px;
    font-weight: 500;
	color:#ffffff;
    text-shadow: none;
}

.navbar-nav>li:first-child:before {
    display: none
}

.navbar-nav>li>a:hover {
    background: none;
    color: #444444;
}

.navbar-nav>li>a:active, .navbar-nav>li>a:focus {
    background: none;
    color: #444444;
}

.current-menu-item>a, .current-menu-parent>a, .current-page-ancestor>a {
    color: #ffffff;
}

.navbar-nav>.current-menu-item>a:hover, .navbar-nav>.current-menu-parent>a:hover {
    background: none;
    color: #444444;
}


/* sub menu */
/************/
/*more sub menu css in media screen*/

.sub-menu {
    padding: 0 0 0 0;
    background: #f2eeeb;
    /*overflow: hidden;*/
}

.sub-menu li {
    list-style: none;
    border-bottom: 1px solid #4e5253;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu li:last-child {
    margin-bottom: 0;
}

.sub-menu li a {
    display: inherit;
    color: #434340;
    text-decoration: none;
    text-align: right;
    padding: 5px 10px 5px 10px;
    white-space: nowrap;
}

.nav-en .sub-menu li a{
    text-align: left;
}


.sub-menu li a:hover {
    background: #444444;
    border-bottom: none;
    color: #ffffff;
}

.sub-menu .current-menu-item>a, .sub-menu .current-menu-item>a:hover {
    background: #444444;
    border-bottom: none;
    color: #ffffff;
}


/* mobile menu */


/************/

#mobile_page_name {
    position: relative;
    color: #ffffff;
    font-size: 18px;
    right: 10px;
    top: 8px;
    width: 75%;
    text-align: right;
}

.navbar-toggle {
    position: relative;
    top: -7px;
    right: 10px;
    margin-right: 0px;
    width: 60px;
    height: 39px;
}

#nav-toggle {
    position: relative;
    left: 0px;
    top: -3px;
}

#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
    cursor: pointer;
    border-radius: 3px;
    height: 6px;
    width: 40px;
    background: #ffffff;
    position: absolute;
    display: block;
    content: '';
    z-index: 10000;
}

#nav-toggle span:before {
    top: -10px;
}

#nav-toggle span:after {
    bottom: -10px;
}

#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
    transition: all 500ms ease-in-out;
}

#nav-toggle.active span {
    background-color: transparent;
}

#nav-toggle.active span:before, #nav-toggle.active span:after {
    background: #ffffff;
    top: 0;
}

#nav-toggle.active span:before {
    transform: rotate(45deg);
}

#nav-toggle.active span:after {
    transform: rotate(-45deg);
}

/* ######################################### */

#cs_scroll_top{
    display: none;
    position: fixed;
    right:10px;
    bottom: 10px;
    z-index: 1000;
    cursor: pointer;
}

/* ######################################### */

@media screen and (max-width:1300px) {}

@media screen and (max-width:767px) {
    .show_on_mobile, .nav>li.show_on_mobile {
        display: block;
    }
    .hide_on_mobile {
        display: none;
    }

    /**********************/
    /* ### Start Nav Menu ### */
    .navbar-header {
        background: #444444;
        overflow: hidden;
    }
    .navbar-nav>li>a {
        font-size: 16px;
        line-height: 30px;
        padding: 0 0 0 20px;
    }
    .collapse {
        /*border:1px solid #496e82;*/
    }
    .navbar-nav>li>a:active, .navbar-nav>li>a:focus, .current-menu-item>a, .current-menu-parent>a, .sub-menu .current-menu-item>a {
        border: none;
        background: #444444;
        color: #ffffff;
    }

    /* ### End Nav Menu ### */
    /***************************/
    .navbar-nav>li {
        width: 100%;
        border-top: 1px solid #525150;
        /*height:40px;*/
    }
    .navbar-nav>li:before {
        display: none;
    }
    .navbar-nav>li>a:hover, .navbar-nav>.current-menu-item>a:hover, .navbar-nav>.current-menu-parent>a:hover {
        color: #525150;
        background: none;
    }

    .navbar-nav>li {
        padding: 0px;
    }

    .navbar-nav>li>a {
        font-size: 18px;
        color: #525150;
        line-height: 50px;
        padding: 0 20px 0 20px;
    }
    .sub-menu {
        display: none;
        background: #e1dbd5;
        border-top: 1px solid #525150;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .sub-menu li {
        border-bottom: 1px solid #525150;
    }
    /*sub-menu>li>a:before {
content: url('images/general/main_menu_bullet_small.png');
position: relative;
top: -1px;
right: -10px;
}*/
    .sub-menu>li>a {
        font-size: 18px;
        line-height: 50px;
        padding: 0 20px 0 0;
        background: none;
    }
    .sub-menu>li>a:hover {
        color: #525150;
        background: none;
    }
    .sub-menu li:last-child {
        border-bottom: 1px solid #525150;
    }
    /**************************/
}

@media screen and (min-width:768px) {
    /* sub menu */
    .sub-menu {
        display: none;
        position: absolute;
        top: 40px;
        right: 15px;
        width: auto;
        min-width: 120px;
        z-index: 10000;
    }
    #mobile_page_name {
        display: none;
    }
    li:hover .sub-menu {
        /* show sub menu when hover */
        display: block;
    }
}
