﻿/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


nav {
    vertical-align:middle;
    height: 100px;
    width: 100%;
    /*background: #252122;*/
    /*font-size: 11pt;
	font-family: 'PT Sans', Arial, sans-serif;
	font-weight: bold;*/
    position: relative;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    text-align: center;
    font-size: 12pt;
}

    nav ul {
 justify-content: center;
  display: flex;
    }

    nav li {
        display: inline;
        float: left;
        position: relative;
    }

        nav li:hover {
            /*background: #19c589;*/
        }

    nav a {
        color: #333;
        display: inline-block;
        padding-left:10px;padding-right:10px;
        text-align: center;
        text-decoration: none;
        line-height: 70px;
        /*text-shadow: 1px 1px 0px #283744;*/
        border-bottom:4px solid #fff;
    }

    nav li a {
        /*border-right: 1px solid #fff;*/
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
            text-decoration: none;
    }

    nav li:last-child a {
        border-right: 0;
    }

    nav a:hover, nav a:active {
        /*background-color: #ededed;
        color: #212121;*/
        border-bottom: 4px solid #000;
        background-color: #fff;
        color: #2c2c2c;
        -webkit-transition: all 0.2s linear;
        -o-transition: all 0.2s linear;
        -moz-transition: all 0.2s linear;
        -ms-transition: all 0.2s linear;
        -kthtml-transition: all 0.2s linear;
        transition: all 0.2s linear;
    }

    nav a#pull {
        display: none;
        z-index: 5000;
    }


    nav ul li ul {
        display: none;
        width: auto;
        background-color: #fff;
        float: none;
        position: absolute;
    }

        nav ul li ul li {
            display: block;
            float: none;
            position: relative;
            border-right: 0;
            text-align: left;
        }

            nav ul li ul li a {
                color: #2c2c2c;
                display: inline-block;
                min-width: 120px;
                text-align: left;
                text-decoration: none;
                line-height: 40px;
                border-right: 0px solid #fff;
                /*     background-color:#fff;
	text-shadow: 1px 1px 0px #283744;*/
            }

             nav a.tab-sel {
            /*background-color: #39c792;
    color:#fff;*/
    border-bottom:4px solid #2c2c2c;
        }


/*nav ul li ul {
padding:8px;
position:absolute;
display:none;
width:12em;
top:2.1em;
background-color:#ffffff;


 -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    border-radius: 2px;

        	 -moz-box-shadow: 0 0 8px #888;
-webkit-box-shadow: 0 0 8px #888;
box-shadow: 0 0 8px #888;
}*/

#mobmenu {
    display: none;
}




@media screen and (max-width: 800px) {
/*nav {
		
        width:80px;
   position:fixed;
   top:0;
   right:0;
   
	}

    nav ul{
    display:none;
    background-color:#fff;
    }

    nav a {
       
        line-height: 50px;
     
    }

      nav a#pull {
        display: block;
        z-index: 5000;
        line-height: 70px;
    }

    .menudiv {
    
    }

    .logodiv {
    
    }*/

    #menu {
        display: none;
    }

    #mobmenu {
          width:130px;
   position:fixed;
   top:91px;
   right:0;
    display:block;
    height:40px;
    line-height:40px;
    }
     nav a#pull {
        display: block;
        z-index: 5000;
        line-height: 40px;
        height:66px;
        padding:0;
    }

    #mobmenu ul {
        display: none;
        background-color: #fff;
        padding: 0;
        -moz-box-shadow: 0 0 8px #ededed;
        -webkit-box-shadow: 0 0 8px #ededed;
        box-shadow: 0 0 8px #ededed;
   margin:0;
    }

    nav {
        height: 80px;
    }

    nav a {
        width: 130px;
        color: #333;
        display: inline-block;
        padding-left: 0px;
        padding-right: 0px;
        text-align: center;
        text-decoration: none;
        line-height: 40px;
        /*text-shadow: 1px 1px 0px #283744;*/
        border-bottom: 3px solid #fff;
    }


}