/*
 * NOT TO CHANGE OR DELETE THE COPYRIGHT AND FILE HEADER
 *
 * Copyright (c) 2010-2019, COMPUPROJECT and/or subsidiaries.
 * ALL RIGHTS RESERVED.
 * WEB SITE: <https://compuproject.com>.
 * E-MAIL: <info@compuproject.com>.
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 * this list of conditions and the following disclaimer in the documentation
 * and/or other materials provided with the distribution.
 * 3. Neither the name of COMPUPROJECT nor the names of its contributors may be
 * used to endorse or promote products derived from this software without
 * specific prior written permission.
 * 4. The distribution and/or modification of source code must be made 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. You should have received a copy of the GNU General public license
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 * USE OF THIS SOURCE CODE MEANS THAT YOU WERE INTRODUCED TO ALL THE RIGHTS,
 * STANDARDS AND CONDITIONS MENTIONED ABOVE, WE AGREE THEREWITH AND UNDERTAKE
 * TO COMPLY WITH THEM.
 *
 * IF YOU DISAGREE WITH THE ABOVE RIGHTS, STANDARDS AND CONDITIONS, YOU MAY
 * REFUSE THE USE OF THIS SOURCE CODE.
 *
 */
.top_restyle_dropdown_wrapper .sections_wrapper.section_restyle .list .item {
    padding: 10px;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
}

.top_restyle_dropdown_wrapper .sections_wrapper.section_restyle .list .item:not(.section_item) .img {
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin: 0;

}

.top_restyle_dropdown_wrapper .sections_wrapper.section_restyle .list .item:not(.section_item) .img{
    min-width: 60px !important;
    max-width: 60px;
}


.top_restyle_dropdown_wrapper .sections_wrapper.section_restyle .list .item .name {
    font-weight: 600;
    font-size: 1em;
    line-height: 20px;
    text-align: left;
    padding-left: 10px;
}


.top_restyle_dropdown_wrapper .sections_wrapper.section_restyle .list .item .name span {
    font-size: 12px;
    line-height: 14px;
    white-space: normal;
}

.top_restyle_dropdown_wrapper .dropdown-menu.menu.dropdown li:not(.dropdown_lvl2) a{
    font-size:  14px;
}

.top_restyle_dropdown_wrapper .dropdown-menu.menu.dropdown li:not(.dropdown_lvl2){
    display: block;
}




.menu-row .mega-menu .top_restyle_dropdown_wrapper  table td.wide_menu>.wrap>.dropdown-menu>li:not(.dropdown_lvl2){
    display: block;
    float: left;
    clear:both;
    margin-bottom: 5px;
    width: 234px;
    padding-right: 30px;
}

.menu-row .mega-menu .top_restyle_dropdown_wrapper  table td.wide_menu>.wrap>.dropdown-menu>li:not(.dropdown_lvl2) a.knockout-around:after{
    content: "";
    top:55% !important;
    border: 21px solid transparent;
    transform: translate(0,-50%);
    border-right-color: #fff;
    position: absolute;
    right: -1.5px;
    z-index: 1000;
}
.menu-row .mega-menu .top_restyle_dropdown_wrapper  table td.wide_menu>.wrap>.dropdown-menu>li:not(.dropdown_lvl2) a.knockout-around:before{
    content: "";
    top:55% !important;
    border: 21px solid transparent;
    transform: translate(0,-50%);
    border-right-color: #f2f2f2;
    position: absolute;
    right: 0px;
}



.menu-row .mega-menu .top_restyle_dropdown_wrapper  table td.wide_menu>.wrap>.dropdown-menu.menu.dropdown{
    padding-left: 0px;
}

.menu-row .mega-menu .top_restyle_dropdown_wrapper table td.wide_menu>.wrap>.dropdown-menu>li:not(.dropdown_lvl2)>a{
    display: flex;
    align-items: center;
    width: 234px;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    padding-left: 20px !important;
    padding-right: 5px !important;
}

.menu-row .mega-menu .top_restyle_dropdown_wrapper table td.wide_menu>.wrap>.dropdown-menu>li:not(.dropdown_lvl2)>a .name{
    padding-left: 20px;
    font-weight: 600;
    width: 150px;
}


.menu-row .mega-menu .top_restyle_dropdown_wrapper table td.wide_menu>.wrap>.dropdown-menu>li:not(.dropdown_lvl2) .img{
    min-width: 30px;
    min-height: 30px;
}

.menu-row .mega-menu .top_restyle_dropdown_wrapper table td.wide_menu>.wrap>.dropdown-menu>li>.dropdown_lvl2{
    position: absolute;
    left: 234px;
    top: 0;
    bottom: 0;
    margin-bottom: 10px;
    margin-top: 25px;
    font-size: 12px;
    width: calc(100% - 234px);
    /*border-left:1px solid rgba(0,0,0,.1);*/
    border-left:1px solid #f2f2f2;
    display: none;
}

.menu-row .mega-menu .top_restyle_dropdown_wrapper table td.wide_menu.hover>.wrap>.dropdown-menu, .menu-row .mega-menu table td.wide_menu>.wrap>.dropdown-menu.menu.dropdown{
    min-height: 200px;
    max-height: 660px;
}



.knockout-around {
}
.mega-menu .top_restyle_dropdown_wrapper table .dropdown-menu.menu.dropdown  li:not(.dropdown_lvl2) a.knockout-around{
    color:#ff9000;
}

.menu-row .mega-menu .top_restyle_dropdown_wrapper table td.wide_menu>.wrap>.dropdown-menu>li>.dropdown_lvl2{
    padding-left: 10px;
    z-index: 999;
}

.menu-row .mega-menu .top_restyle_dropdown_wrapper table td.wide_menu>.wrap>.dropdown-menu>li>.dropdown_lvl2 .list .item:hover{
    /*box-shadow:inset 1px 1px 3px 1px rgba(100,100,100,.5) ;*/
    /*border: 1px solid rgba(0,0,0,.1);*/
    border: 1px solid #f2f2f2;
    box-shadow: none;
    cursor: pointer;
}

.mega-menu table .dropdown-menu div.dropdown_lvl2 a{
    border-top:none;

}

