/* CSS Document */

body {
	

	line-height: 22px;
	color: #ededed;
	background-color: #ededed;
	margin: 0;
	padding: 0;
	word-wrap:break-word !important;
	font-family: 'Lato Regular',arial,sans-serif;
	}

.selectd .arrow{
color:#fff;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}


.header_logo {
  display: -webkit-box;      
  display: -moz-box;         
  display: -ms-flexbox;      
  display: -webkit-flex;     
  display: flex;             
  
  padding: 0.8em 1.4em 0.8em 1.4em;
  margin: auto auto auto 1.3em;
  -webkit-flex-flow: row ;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
#logo_small {
  padding:0 0.5em 0 0;
  margin:0px;
  border:0px;
}
#logo_text{
  display: -webkit-box;      
  display: -moz-box;         
  display: -ms-flexbox;      
  display: -webkit-flex;     
  display: flex;             
  -webkit-align-items:center;
  align-items:center;
  font-weight:bold;
  -webkit-flex-flow: column ;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
#company{
  height:auto;
  width:auto;
  color:#a01b2a;
  margin-top:9px;
  padding-left:2px ;
  font-family: Fjalla, arial, sans-serif;
}
#name{
  letter-spacing:0px; 
  font-size:2.0em; 
  color:#000000
;#a01b2a;
}
#subname{
  font-size:1.3em;
  font-weight: semibold;
  color:#2e333c;
  vertical-align: middle;
  letter-spacing:0px;
  padding-top:7px;
}	

a {
	color: #FFFFFF;
}

.tlink{
color: #a01b2a;
text-decoration:none;
}


.arrow {
    font-size:11px;
    line-height:0%;
}


#container {
	margin: 0 auto;
	max-width: 890px;
}
.message {
	line-height:14px;
}
.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav { 
	  list-style: none;
	  margin: 0;
	  background: linear-gradient(to bottom, #fff, #e1e1e1);
	  display: -webkit-box;
	  display: -moz-box;
	  display: -ms-flexbox;
	  display: -webkit-flex;
	  display: flex;
	  flex-flow: row wrap;
	  -webkit-flex-flow: row wrap;
	  -webkit-justify-content: space-between;
	  justify-content: space-between;
}



/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	float: right;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	background-color: transparent;
	}

/* Styling the links */
nav a {
	display:block;
	padding:35px 15px 25px 15px;	
	color:#2e333c;
	font-size:0.8em;
	font-weight:bold;
	text-decoration:none;
}
nav ul li ul li {
	background-color: #ebeaea;
	line-height: 15px;
	
}

nav ul li ul li:hover { background: #000000; }

/* Background color change on Hover */
nav a:hover { 
	background-color: #a01b2a;
    color:#fff;
	border-radius: 0 0 5px 5px;
}
.selectd { 
	background-color: #a01b2a;
    color:#fff;
	border-radius: 0 0 5px 5px;
}
/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 60px;
    	
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
	padding:35px 5px 25px 5px;
	
	
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:170px;
	float:none;
	display:list-item;
	position: relative;
	
}
nav ul ul li a:hover{
	background-color: #d4d4d4;
	border-radius:0;
}
nav ul li ul li a{
	padding:10px 15px 5px 10px;
	font-size: 0.75em;
}

	
/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ' '; }
li > a:only-child:after { content: ' '; }

.hidden-desktop {
  display: none !important;
  }
 .visible-desktop, .hidden-desktop {
  width:100%;
  height:auto;
  }
  
 /* Hamburger menu icon */
.hamburger {
    display: inline-block;
    cursor: pointer;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
    transform: rotate(-45deg) translate(-9px, 6px) ;
}

.change .bar2 {opacity: 0;}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
    transform: rotate(45deg) translate(-8px, -8px) ;
} 
  
/* Media Queries
--------------------------------------------- */

@media all and (max-width : 768px) {

	#logo {
		display: block;
		padding: 0;
		width: 100%;
		text-align: center;
		float: none;
	}
	.header_logo {
		margin: auto 0 auto 0;
		
	}
	nav {
		margin: 0;
		
	}

	.selectd a { 
	border-radius: 0;
}
	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}
    .hamburger {
		margin-top:10px;
		
	}
	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background-color: transparent;
		padding:10px 20px 10px 20px;	
		color:#2e333c;
		font-size:0.8em;
		font-weight:bold;
		text-decoration:none;
		border:none;
		text-align: center;
		
	}
	.toggle:not( :last-child ) {
		border-top: 1px solid #a8a7a7;
	}
	nav a {
		text-align: center;
		padding:10px 20px 10px 20px;	
		border-top: 1px solid #a8a7a7;
	}
	.toggle:hover {
		background-color: #d4d4d4;
		
	}
	.toggle:hover {
		color:#fff ;
	}
	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}
	
	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
	}

	nav ul ul ul a {
		padding: 0 80px;
	}

	nav a:hover,
 	nav ul ul ul a {
		background-color: #d4d4d4;
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
		padding:14px 20px;	
		color:#FFF;
		font-size:17px; 
	}
  
    nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #d4d4d4; 
	}
nav ul li ul li a{
	padding:10px 15px 10px 10px;
	font-size: 0.8em;
}	
nav ul ul a {
		background-color: #bababa !important; 
	}
	nav ul ul a:hover {
		background-color: #d4d4d4 !important; 
	}
	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
	nav ul li:hover > ul {
	
	padding:0;
	}
	
	
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 

	}
	.hidden-desktop {
			display: inline !important;
			width:100%;
		  }

		  .visible-desktop {
			display: none !important;
		  }

}

@media all and (max-width : 480px) {

	nav ul li {
		display:block;
		width: 100%;
	}
.toggle {
		
		padding:10px 10px 10px 10px !important;	
				
	}
.header_logo{
	padding: 0.8em !important;
}
}
