/*
---------------------------------------------------------------
  Note that styles you apply to the main menu items are inherited by the sub menus items too.
  If you'd like to avoid this, you could use child selectors (not supported by IE6) - for example:
  .sm-default > li > a { ... } instead of .sm-default a { ... }
---------------------------------------------------------------*/


/* Menu box
===================*/
/*added by abrand*/
.MenuTopCenter {
    display: none;
}

.MenuBottomCenter {
    display: none;
}
/*@font-face {
    font-family: DroidArabicKufi;
    src: url(AddOn/fonts/DroidArabicKufi.eot?#) format('truetype'), url(AddOn/fonts/DroidArabicKufi.otf) format('truetype'), url(AddOn/fonts/DroidArabicKufi.ttf) format('truetype'), url(AddOn/fonts/DroidArabicKufi.woff) format('truetype');
    font-weight: bold;
    font-style: normal;
    
}*/


.sm-default > li > a {
    color: black;
    font-size: 15px;
}

@media (min-width: 768px) {
    .sm-default > li > a {
        border-right: 1px dotted white;
        padding: 0px 10px 10px;
        text-align: center;
        margin-top: 10px;
    }
	.sm.sm-rtl.sm-default.sm-default-rtl ul{
		border-top:4px solid #DA1108;
	}

    .sm-default > li:first-child > a {
        /*border-right: none;*/
        /*padding-right: 0px;*/
        border-right: none;
    }

    .sm-default ul {
        background-color: #b2ca52;
        background-color: rgba(18, 86, 135, 0.85) !important;
    }

        .sm-default ul li:last-child {
            border-bottom: none;
        }



    ul.sm-nowrap li {
        border-bottom: 1px solid white;
        margin: 2px;
        min-width: 180px;
    }


        ul.sm-nowrap li a {
            padding: 5px 0px;
            color: #efefef;
            padding-right: 2px;
            white-space: normal !important;
        }

    .mrg-Topmodule {
        /* margin-top:-16px; */
    }
}

.sm-default > li > a:hover, .sm-default > li > a:focus, .sm-default > li > a:active, .sm-default > li > a.highlighted {
    background-color: transparent;
    color: black;
    box-shadow: none;
}
/* .sm-default > li > a:focus{
	color:red;
	} */
.sm-default-vertical {
    border-right: 2px solid #8db863;
    border-bottom: 0;
}



/* Menu items
===================*/

.sm-default a {
    /* border-bottom:2px solid #fff; */
    padding: 0px 0px 0px 20px;
    color: #000;
    font-size: 16px;
    /* font-family:Arial,sans-serif; */
    text-decoration: none;
    /* -moz-border-radius:4px 4px 0 0;
		-webkit-border-radius:4px 4px 0 0;
		border-radius:4px 4px 0 0; */
}

    .sm-default a:hover, .sm-default a:focus, .sm-default a:active {
        border-bottom-color: #8db863;
        background-color: #68afc5;
        color: white;
    }

    .sm-default a.highlighted {
        border-bottom-color: #F6FFED !important;
        background: #F6FFED;
        color: #000;
        -moz-box-shadow: 0 4px 3px rgba(0,0,0,0.25);
        -webkit-box-shadow: 0 4px 3px rgba(0,0,0,0.25);
        box-shadow: 0 4px 3px rgba(0,0,0,0.25);
    }

.sm-default-vertical a {
    -moz-border-radius: 4px 0 0 4px;
    -webkit-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}

    .sm-default-vertical a:hover, .sm-default-vertical a:focus, .sm-default-vertical a:active,
    .sm-default-vertical a.highlighted {
        border-bottom-color: #8db863 !important;
        background: #8db863;
        color: #F6FFED;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.sm-default ul a {
    border-bottom: 0;
    /* padding:10px 20px; */
    font-size: 15px;
    line-height: normal;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

    .sm-default ul a:hover, .sm-default ul a:focus, .sm-default ul a:active,
    .sm-default ul a.highlighted {
        background: #f94b21;
        background: rgba(249,75,33,0.39);
        color: black;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }



/* current items - add the class manually to some item or check the "markCurrentItem" script option */
.sm-default a.current, .sm-default a.current:hover, .sm-default a.current:focus, .sm-default a.current:active {
    border-bottom-color: #8db863;
}

.sm-default-vertical a.current, .sm-default-vertical a.current:hover, .sm-default-vertical a.current:focus, .sm-default-vertical a.current:active {
    border-right: 2px solid #8db863;
    border-bottom-color: #fff;
}

.sm-default ul a.current, .sm-default ul a.current:hover, .sm-default ul a.current:focus, .sm-default ul a.current:active {
    border-right: 0;
    border-bottom: 0;
    font-weight: bold;
}

.sm-default a.has-submenu {
    padding-left: 20px;
}


/* Sub menu indicators
===================*/
.sm-default a span.sub-arrow {
    position: absolute;
    left: 6%;
    top: 38%;
    /*margin-top: -3px;*/
    /* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
    width: 0;
    height: 0;
    overflow: hidden;
    border-right: 4px solid transparent; /* tweak size of the arrow */
    border-top: 4px dashed #f43338;
    border-bottom: 0px dashed transparent;
    border-left: 4px solid transparent;
}

.sm-default ul a span.sub-arrow {
    position: absolute;
    left: 0px;
	/*left: 17px;*/
    top: 50%;
    margin-top: -3px;
    /* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
    width: 0;
    height: 0;
    overflow: hidden;
    border-top: 6px solid #00afbc; /* tweak size of the arrow */
    border-left: 4px dashed transparent;
    border-right: 4px dashed transparent;
}

.sm-default a:hover span.sub-arrow, .sm-default a:focus span.sub-arrow, .sm-default a:active span.sub-arrow {
    /* border-top-color:white; */
}

.sm-default a.highlighted span.sub-arrow {
    border-top-color: #white;
}

.sm-default-vertical a span.sub-arrow,
.sm-default ul a span.sub-arrow {
    right: 15px;
    margin-top: -4px;
    border-right: 6px solid #DA1108; /* tweak size of the arrow */
    border-top: 4px dashed transparent;
    border-bottom: 4px dashed transparent;
}

.sm-default-vertical a:hover span.sub-arrow, .sm-default-vertical a:focus span.sub-arrow, .sm-default-vertical a:active span.sub-arrow,
.sm-default-vertical a.highlighted span.sub-arrow,
.sm-default ul a:hover span.sub-arrow, .sm-default ul a:focus span.sub-arrow, .sm-default ul a:active span.sub-arrow,
.sm-default ul a.highlighted span.sub-arrow {
    /* border-left-color:#F6FFED;
		border-top-color:transparent; */
    border-right: 6px solid #F94B21; /* tweak size of the arrow */
}


/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." in the default download package
===================*/

.sm-default span.scroll-up, .sm-default span.scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: #F6FFED;
    height: 20px;
    /* width and position will be automatically set by the script */
}

.sm-default span.scroll-up-arrow, .sm-default span.scroll-down-arrow {
    position: absolute;
    top: 6px;
    left: 50%;
    margin-left: -8px;
    /* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
    width: 0;
    height: 0;
    overflow: hidden;
    border-bottom: 8px solid white; /* tweak size of the arrow */
    border-left: 6px dashed transparent;
    border-right: 6px dashed transparent;
}

.sm-default span.scroll-down-arrow {
    border-top: 8px solid #003d9f; /* tweak size of the arrow */
    border-bottom: 0;
}


/*
---------------------------------------------------------------
  Responsiveness
  These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/
@media screen and (max-width: 767px) {
    .navbar {
        margin-bottom: 0px !important;
    }

    ul.sm-rtl li {
        float: none !important;
        text-align: right;
    }

    ul.sm li {
        float: none !important;
    }
}
/* decrease horizontal main menu items left/right padding to avoid wrapping */
@media screen and (max-width: 850px) {
    /*.sm-default:not(.sm-default-vertical) > li > a {
        padding-left: 12px;
        padding-right: 12px;
        color: white;
    }*/

    .sm-default a span.sub-arrow {
        left: 1px;
    }
}
/*  */

@media screen and (max-width: 767px) {

    /* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
    ul.sm-default {
        width: auto !important;
    }

        ul.sm-default ul {
            display: none;
            position: static !important;
            top: auto !important;
            left: auto !important;
            margin-left: 0 !important;
            margin-top: 0 !important;
            width: auto !important;
            min-width: 0 !important;
            max-width: none !important;
        }

        ul.sm-default > li {
            float: none;
        }

            ul.sm-default > li > a, ul.sm-default ul.sm-nowrap > li > a {
                white-space: normal !important;
            }

        ul.sm-default iframe {
            display: none;
        }

    .sm-default li a {
        background-color: #68afc5;
        color: #125687 !important;
        font-size: 13px;
    }

    .sm-default > li > a:hover, .sm-default > li > a:focus, .sm-default > li > a:active, .sm-default > li > a.highlighted {
        background-color: 4e982c !important;
        color: white;
    }

    /* Uncomment this rule to disable completely the sub menus for small screen devices */



    /* Menu box
===================*/

    .sm-default {
        /* border-top:2px solid #00afbc; */
        /* border-bottom:2px solid #00afbc; */
        border-right: 0;
    }

        .sm-default ul {
            border: 0;
            padding: 0;
            /* darken the background of the sub menus */
            background: rgba(141,184,99,0.2);
            -moz-border-radius: 0 !important;
            -webkit-border-radius: 0 !important;
            border-radius: 0 !important;
            -moz-box-shadow: none;
            -webkit-box-shadow: none;
            box-shadow: none;
        }


        /* Menu items
===================*/

        .sm-default a {
            border: 0 !important;
            padding: 13px 23px !important;
            background: transparent !important;
            color: #000 !important;
            -moz-border-radius: 0 !important;
            -webkit-border-radius: 0 !important;
            border-radius: 0 !important;
            -moz-box-shadow: none !important;
            -webkit-box-shadow: none !important;
            box-shadow: none !important;
        }

            .sm-default a.current {
                font-weight: bold;
            }
        /* add some text indentation for the 2+ level sub menu items */
        .sm-default ul a {
            border-left: 8px solid transparent !important;
        }

        .sm-default ul ul a {
            border-left: 16px solid transparent !important;
        }

        .sm-default ul ul ul a {
            border-left: 24px solid transparent !important;
        }

        .sm-default ul ul ul ul a {
            border-left: 32px solid transparent !important;
        }

        .sm-default ul ul ul ul ul a {
            border-left: 40px solid transparent !important;
        }


        /* Sub menu indicators
===================*/

        .sm-default a span.sub-arrow {
            right: auto !important;
            margin-top: 0px !important;
            margin-left: 5px !important;
            border-right: 4px solid transparent !important; /* tweak size of the arrow */
            border-top: 5px dashed #125687 !important;
            border-bottom: 4px dashed transparent !important;
            top: 50%;
        }
        /* Hide sub indicator when item is expanded - we enable the item link when it's expanded */
        .sm-default a.highlighted span.sub-arrow {
            display: none !important;
        }




        /* Items separators
===================*/

        .sm-default li {
            border-top: 1px solid rgba(51, 122, 184, 0.89);
        }

            .sm-default li:first-child {
                border-top: 0;
            }
}

*/
