
/* SmartMenus Core CSS (it's not recommended editing this)
===============================================================*/

.sm,.sm ul,.sm li{display:block;list-style:none;padding:0;margin:0;line-height:normal;direction:ltr;}
ul.sm li{position:relative;/* z-index:1000; */}
ul.sm a{position:relative;display:block;}
ul.sm a.disabled{cursor:default;}
ul.sm ul{position:absolute;top:-999999px;left:-800px;width:100px;}
ul.sm li{/* float: left; */display: inline-block;}
ul.sm-rtl{direction:rtl;}
ul.sm-rtl li{float:right;}
ul.sm ul li,ul.sm-vertical li{float:none;/* font-size: 13px; */display: block;text-align: left;/* border-top: 2px solid rgb(255, 255, 255); *//* padding-left: 20px; */margin-top: 2px;}
ul.sm a{white-space:nowrap;}
ul.sm ul a,ul.sm-vertical a{white-space:normal;}
* html ul.sm-vertical li{float:left;width:100%;}
* html ul.sm-vertical ul li{float:none;width:auto;}
*:first-child+html ul.sm-vertical>li{float:left;width:100%;}
ul.sm ul.sm-nowrap>li>a{white-space:nowrap;color: #003185;}
ul.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden;}
* html ul.sm{height:1px;}
*:first-child+html ul.sm{min-height:1px;}
ul.sm li *,ul.sm li *:before,ul.sm li *:after{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}
ul.sm{-webkit-tap-highlight-color:rgba(0,0,0,0);}


/* wrapper
===============*/

.navbar {
    /* background: #F1E6DC; */
    border-bottom: 2px solid #51924C;
}

section.navbar {}

section.navbar {}
#mainnav
{
    width: 100%;
    font-weight: 400;
    font-size: 14px;
 /*   padding: 0 30px;*/

    /* color: #000; */
    position: relative;
    z-index: 500;
}
#mainnav > a, .togglenav
{
    display: none;
}

/*common styles
=======================*/
.sm-side a
{
    color: #596165;
    display: block;
    text-decoration: none;
    padding: 0 1em;
}
.sm-side a:active
{
    -webkit-box-shadow: inset 1px 1px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: inset 1px 1px 3px rgba(0,0,0,0.3);
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.3);
    background-color: #1c8d98;
}
.sm-side li:hover > a {
	background-color: #06A7E2;
	/* color: #fff; */
	/* font-weight: 800; */
	/* border-radius: 3px; */
}
/*.sm-side .subs > a:after
{
    width: 0;
    height: 0;
    border: 0.313em solid transparent;
    border-bottom: none;
    border-top-color: #5B82AD;
    content: '';
    vertical-align: middle;
    display: inline-block;
    position: relative;
    right: -0.313em;
}*/
/* first level
==================*/
.sm-side {
    padding: 0;
    margin: 0;
    /* text-align: center; */
    z-index: 550;
    position: relative;
}
.sm-side > li
{
    height: 100%;
    /* padding-top: 2px; */
}
.sm-side > li > a
{
    height: 100%;
    line-height: 1em;
    /* text-align: center; */
    font-size: 15px;
    background: #003185;
    /* text-transform: uppercase; */
    color: #fff;
    padding: 7px 10px;
    font-weight: 600;
}
.sm-side a.has-submenu {
	padding-right: 20px;
}

.sm-side li.selected > a {
	background: #06A7E2;
}
.sm-side:not( :hover ) > li.active > a
{
    color: #fff;
    background: #51924C;

    /* border-bottom: 2px solid #14AEA5; */
    /* margin-bottom: -2px; */
}

/* second level
========================*/
.sm-side ul
{
    background-color: rgb(152, 210, 240);
    /* border-top: 2px solid rgb(160, 160, 160); */
    /* border-bottom: 2px solid rgb(182, 181, 180); */
    /* box-shadow: 2px 2px 3px rgba(0,0,0,0.2); */
    /* border-radius: 0 0 3px 3px; */
    z-index: 200;
}
.sm-side ul a
{
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
    padding: 0.5em 1em;
    /* color: #FFFFFF; */
    font-size: 15px;
}

ul.sm ul li {
	margin: 0;
}

.sm-side ul li:last-child a
{
	border-radius: 0 0 3px 3px
}

/* Sub menu indicators - Smart Menu styles
===================*/
.sm-side a span.sub-arrow {
    position:absolute;
    top: 50%;
    right: 0;
    margin-top: -5px;/* 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-width:5px;/* tweak size of the arrow */
    border-style: solid;
    border-color: transparent transparent  transparent  rgba(255, 255, 255, 0.6);
}
.sm-side-vertical a span.sub-arrow,
.sm-side ul a span.sub-arrow {
    bottom:auto;
    top:50%;
    margin-top:-5px;
    right: 5px;
    left:auto;
    margin-left:0;
    border-style:dashed dashed dashed solid;
    border-color: transparent transparent transparent rgb(6, 167, 226);
}

/* Scrolling arrows containers for tall sub menus - test sub menu:
"Sub test" -> "more..." -> "more..." in the default download package
 - Smart Menu styles
===================*/
.sm-side span.scroll-up, .sm-side span.scroll-down {
    position:absolute;
    display:none;
    visibility:hidden;
    overflow:hidden;
    background:#ddd;
    height:20px;
    /* width and position will be automatically set by the script */
}
.sm-side span.scroll-up-arrow, .sm-side span.scroll-down-arrow {
    position:absolute;
    top:-2px;
    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-width:8px; /* tweak size of the arrow */
    border-style:dashed dashed solid dashed;
    border-color:transparent transparent #247eab transparent;
}
.sm-side span.scroll-down-arrow {
    top:6px;
    border-style:solid dashed dashed dashed;
    border-color:#247eab transparent transparent transparent;
}


@media screen and (max-width: 767px) {
.sm-side a
{
    font-size: 15px !important;
}
.sm-side a
{
    padding: 0 1em;
}
}


@media screen and (max-width: 767px) {

/* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these)
  - Smart Menu styles
==========================*/
	ul.sm-side{/* width:auto !important; *//* margin-right:0; *//* margin-bottom: 10px; */margin-top: 30px;/* background: lightblue; */}
	ul.sm-side 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;margin: 0 !important;/* background: none; */box-shadow: none;/* border-left: 10px solid #fff; *//* border-right: 10px solid #fff; */border: none;}
	ul.sm-side>li{float:none;/* background: #F1E6DC; */}
	ul.sm-side>li>a,
    ul.sm-side ul.sm-nowrap>li>a{white-space:normal;/* padding-left: 33px; *//* border-radius: 0; */}
	ul.sm-side iframe{display:none;}

	.closed {
		display: none;
	}

	/* Uncomment this rule to disable completely the sub menus for small screen devices */
	/*.sm-side ul, .sm-side span.sub-arrow, .sm-side iframe {
		display:none !important;
	}*/


/* Menu items  - Smart Menu styles
===================*/
    /* presume we have 4 levels max */
    .sm-side > li:last-child > a,
    .sm-side > li:last-child > ul > li:last-child > a,
    .sm-side > li:last-child > ul > li:last-child > ul > li:last-child > a,
    .sm-side > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a,
    .sm-side > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a,
    .sm-side > li:last-child > ul,
    .sm-side > li:last-child > ul > li:last-child > ul,
    .sm-side > li:last-child > ul > li:last-child > ul > li:last-child > ul,
    .sm-side > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul,
    .sm-side > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul {
    }
    /* highlighted items, don't need rounding since their sub is open */
    .sm-side > li:last-child > a.highlighted,
    .sm-side > li:last-child > ul > li:last-child > a.highlighted,
    .sm-side > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted,
    .sm-side > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted,
    .sm-side > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted {
    }

/* Sub menu indicators  - Smart Menu styles
===================*/
    .sm-side a span.sub-arrow,
    .sm-side ul a span.sub-arrow {
        /* top:50%; */
        /* margin-top:-9px; */
        /* right:auto; */
        /* left:6px; */
        /* margin-left:0; */
        /* width:17px; */
        /* height:17px; */
        /* font:bold 16px/16px monospace !important; */
        /* text-align:center; */
        /* border:0; */
        /* text-shadow:none; */
        /* background:rgba(0,0,0,0.1); */
        -moz-border-radius:100px;
        /* -webkit-border-radius:100px; */
        /* border-radius:100px; */
        /* color: rgb(255, 255, 255); */
        /* position: relative; */
        border-color: rgba(255, 255, 255, 0.6) transparent transparent transparent;
        right: 5px;
        margin-top: -2px;
}
    .sm-side a.highlighted span.sub-arrow {
        display:none !important;
    }

	.navbar .columns {
		padding: 0;
	}

/* wrapper
===============*/
    #mainnav
    {
        width: 100%;
        position: static;
        margin: 0;

        /* padding-bottom: 10px; */
        /* max-height: 100%; */
        /* overflow: scroll; */
      /*  padding-top: 3.125em;*/
}
/*menu icon
===============*/
header {
	/* margin: 5px 50px; */
	/* height: 50px; */
	/* text-align: left; */
	/* padding: 5px 0 5px 35px; */
	/* border-bottom: 1px solid red; */
	/* line-height: 50px; */
}
   #mainnav > a, .togglenav {
        width: 50px;
        height: 60px;
        text-align: left;
        /* background-color: #727B80; */
        left: 0;
        top: 0;
        color: rgb(177, 184, 187);
        text-align: center;
        vertical-align: middle;
        line-height: 60px;

        display: block;
        position: absolute;
        font-size: 2em;
}
.togglenav:hover {
	color: #C0362E;
	cursor: pointer;
}

/*
    #mainnav > a:before,
    #mainnav > a:after
    {
        position: absolute;
        border: 2px solid #fff;
        top: 35%;
        left: 25%;
        right: 25%;
        content: '';
    }
    #mainnav > a:after
    {
        top: 60%;
    }
    #mainnav:not( :target ) > a:first-of-type,
    #mainnav:target > a:last-of-type
    {
        display: block;
    }
    #mainnav:not( :target ) > .sm-side
    {
        display: none;
    }
    #mainnav:target > .sm-side
    {
        display: block;
    }*/
/* first level
===================*/
    .sm-side > li
    {
        width: 100%;
        float: none;
    }
    .sm-side > li > a
    {
        /* height: auto; */
        /* text-align: left; */
        /* padding: 0 0.833em; */
        /* border-radius: 3px */
}
    .sm-side > li:not( :last-child ) > a
    {
        border-right: none;
        /* border-bottom: 1px solid rgba(255, 255, 255, 0.4); */

    /*    margin-bottom: -1px;*/
}
/* second level
===================*/
    .sm-side ul
    {
        position: static;
        padding-top: 0;
    }
    .sm-side ul li > a {
    	/* background: #FFFFFF; */
    	/* color: #fff; */
    	margin-top: 2px;
}
    .sm-side:not( :hover ) > li.active > a:after {
        display: none;
    }
    .sm-side ul li a:hover,
    .sm-side ul:not( :hover ) li.active a
    {
        /* background-color: #1c8d98; */
    }
/* third level
===================*/
    .sm-side ul ul
    {
        border-left: 8px solid #EEEEEE;
    }

	.fixed {
		max-height: 100%;
		overflow: auto;
	}

}


.sm .but {
	float: right;
}

.sm .but > a {
    background: #EF4543;
    line-height:2em;
    /* padding: 0; */
    margin:2px;
    height: 28px;
    color: #fff;
    border-radius: 20px;
    font-weight: 800;
}

#menu-button {
  background: #fff;
  border: 4px solid #003185;
  padding: 15px 4px 1px;
  color: #003185;
  display: inline-block;
  border-radius: 0 0 5px 5px;
  font-size: 2em;
  line-height: 1;
  border-top: none;
}

#main-menu.collapsed {
  display: none;
}
@media (min-width: 768px) {
  /* hide the button in desktop view */
  #menu-button {
    display: none;
  }
  /* always show the menu in desktop view */
  #main-menu.collapsed {
    display: block;
  }
}
