/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/***** Sub Menu Changes - Dec 16, 2016 - Ken Chase *****/

/*** Title ***/

.widget_ec_nav_menu .widget-title {
    color: #333 !important;
    font: 20px/27px "Open Sans",Helvetica,Arial,Verdana,sans-serif;
}

.widget_ec_nav_menu .widget-title a{
    color: #333 !important;
    text-decoration: none;
}

/*** Menu ***/

.widget_ec_nav_menu li a {
    color: #5E5E5E;
    display: block;
    font-weight: 400;
    text-decoration: none;
    text-transform: capitalize;
}

.widget_ec_nav_menu li.current-menu-item a,
.widget_ec_nav_menu li a:hover {
    background: #fff;
}

/*** Price ***/

.widget_ec_nav_menu .wc-price {
    border-radius: 2px 0 0 2px;
    color: #fff;
    display: inline-block;
    font: 16px / 22px "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    margin: 0;
    padding: 10px 15px;
    background-color: #676767;
    text-align: center;
}

.widget_ec_nav_menu .wc-price .woocommerce-Price-amount,
.widget_ec_nav_menu .wc-price .woocommerce-Price-currencySymbol {
    color: #fff !important;
    line-height: 22px;
}
    
.widget_ec_nav_menu .wc-price .woocommerce-Price-amount {
    font-weight: 600;
    line-height: 22px;
    padding-right: 0;
}
    
.widget_ec_nav_menu .wc-price .woocommerce-Price-amount::before {
    color: #d4d4d4;
    //content: 'From ';
    font-weight: 400;
    line-height: 22px;
}

/*** Buy Now Button ***/
    
.widget_ec_nav_menu .buy-now-button {
    border-radius: 0 2px 2px 0;
    display: inline-block;
    font: 16px / 22px "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    font-weight: 400;
    float: none;
}

@media screen and (max-width: 767px) {
    .ep-custom-nav-wrap {
        margin: 0 auto;
        max-width: 344px;   
    }
}

@media screen and (max-width: 1119px) {
    
    .stripe-style-1.sub-menu-ep-custom {
        background: url('./images/bg-mobile-nav.png') 0 0 no-repeat transparent !important;
        background-size: 100% 100% !important;
        margin-bottom: 24px !important;
    }
    
    .widget_ec_nav_menu {
        margin-bottom: 16px !important;
        padding-bottom: 0 !important;
        position: relative;
        text-align: left;
    }
    
    /***** Title *****/
    
    .widget_ec_nav_menu .title-wrap {
        text-align: center;
    }
    
    /***** Price / Buy *****/
    
    .widget_ec_nav_menu .wc-price-buy-wrap { 
        margin-bottom: 27px;
        text-align: center;
    }
    
    /***** Menu *****/
    
    .widget_ec_nav_menu .ep-custom-nav {
        font-size: 18px;
        line-height: 24px;
        margin-top: 20px;
        width: 100%;
    }
    
    .widget_ec_nav_menu li a {
        background-color: #f6f6f6;
        border: 1px solid #e3e3e3;
        border-bottom: 0;
        padding: 12px 16px 12px 17px;
    }

    .widget_ec_nav_menu li:last-child a{
        border-bottom: 1px solid #ddd; 
    }
    
    .widget_ec_nav_menu li a:hover {
        background-color: #ececec;
        color: #2B2B2B !important;
    }
    
    .widget_ec_nav_menu li.current-menu-item a {
        background-color: #fff;
        color: #8cbe3f !important;
    }
    
    .widget_ec_nav_menu li.current-menu-item a::after {
        content: "\f105";
        font-family: FontAwesome;
        font-style: normal;
        font-size: 24px;
        font-weight: 400;
        text-decoration: inherit;
        float: right;
    }
    
    /***** Expand and Show Menu *****/
    
    .stripe-style-1.sub-menu-closed {
        background-color: #fafafa !important;
        background-image: none !important;
    }
    
    .widget_ec_nav_menu li:not(.current-menu-item) {
        display: none;
    }
    
    .nojs .widget_ec_nav_menu li,
    .widget_ec_nav_menu .open li{
        display: block;
    }
    
    .widget_ec_nav_menu .closed li.current-menu-item a {
        border-bottom: 1px solid #ddd;
    }
}

@media screen and (min-width: 768px) and (max-width: 1119px) { 
     .widget_ec_nav_menu {
        margin: 0 auto;
        max-width: 681px;   
    }
    
    .widget_ec_nav_menu .title-wrap {
        float: left;
        text-align: left;
        width: 50%;
    }
    
    .widget_ec_nav_menu .wc-price-buy-wrap {
        float: right;
        text-align: right;
        width: 50%; 
    }
    
    .widget_ec_nav_menu .ep-custom-nav-wrap {
        clear: both;
    }
}

@media screen and (min-width: 1120px) { 

    .stripe-style-1 .subnav,
    .stripe-style-1 .subpage-menu {
        margin-top: 0 !important;
    }
    
    .stripe-style-1.sub-menu-old-custom .subnav,
    .stripe-style-1.sub-menu-old-custom .subpage-menu{
        margin-top: 25px !important;
    }
    
    .stripe-style-1.sub-menu-ep-custom {
        border-bottom: 1px solid #e3e3e3;
    }
    
    .widget_ec_nav_menu {
        font-size: 14px !important;
        line-height: 19px !important;
        margin-bottom: 0 !important;
        position: relative;
        padding-bottom: 0 !important;
    }
    
    /***** Title *****/
    
    .widget_ec_nav_menu .title-wrap {
        float: left;
    }
    
    .widget_ec_nav_menu .widget-title {
        display: inline-block;
        line-height: 27px;
        margin: 0;
        padding: 19px 20px 20px 0;
        vertical-align: middle;
    }
    
    /***** Menu *****/
    
    .widget_ec_nav_menu .ep-custom-nav-wrap {
        float: left;
    }
    
    .widget_ec_nav_menu li {
        float: left;
        padding: 0;
    }
    
    .widget_ec_nav_menu li a {
        border-right: 1px solid #e3e3e3;
        padding: 23px 20px 24px 20px;
    }
    
    .widget_ec_nav_menu li a:hover,
    .widget_ec_nav_menu li.current-menu-item a{
      color: #8cbe3f !important;
    }
    
    .widget_ec_nav_menu li:first-child a {
        border-left: 1px solid #e3e3e3;
    }
    
    /***** Price / Buy *****/
    
    .widget_ec_nav_menu .wc-price-buy-wrap {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
}
