.nav1 {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 10000;
}
/** 
* Nav container 
* 1. Ensure this slides in below parent
* 2. Hide by default
* 3. Smoother scrolling experience on iOS
*/

.nav-container1 {
position: fixed;
top: 50px; /* 1 */
left: 0;
z-index: 9999;
overflow-y: auto;
visibility: hidden; /* 2 */
width: 100%;
height: 100%;
min-height: 100%;
margin: 0;
padding: 0;
-webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
-webkit-transform: translateX(-100%);
-ms-transform: translateX(-100%);
transform: translateX(-100%); /* 2 */
background-color: #none;
-webkit-overflow-scrolling: touch; /* 3 */
}
/* 1. Show when `.is-visible` class is added */

.nav-container1.is-visible {
visibility: visible; /* 1 */
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0); /* 1 */
}
/* Nav toggle */

.nav-toggle1 {
line-height: 1;
display: inline-block;
padding: 1.25rem 1rem;
border: 0;
background-color: #e74c3c;
float: right;
}
/* Nav toggle icon */

.nav-toggle1 .icon-menu1 {
position: relative;
display: inline-block;
width: 28px;
height: 20px;
vertical-align: middle;
fill: none;
}
/* Nav toggle icon lines */

.icon-menu1 .line {
position: absolute;
left: 0;
display: block;
width: 100%;
height: 4px;
-webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1.000);
transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1.000);
-webkit-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
background-color: #fff;
}
/* Nav toggle icon line 1 */

.icon-menu1 .line-1 {
top: 0;
}
/* When active, rotate line 1 to be lefthand part of X */

.is-active .icon-menu1 .line-1 {
-webkit-transform: translateY(8px) translateX(0) rotate(45deg);
-ms-transform: translateY(8px) translateX(0) rotate(45deg);
transform: translateY(8px) translateX(0) rotate(45deg);
}
/* Nav toggle icon line 2 */

.icon-menu1 .line-2 {
top: 50%;
margin-top: -2px;
}
/* When active, hide line 2 */

.is-active .icon-menu1 .line-2 {
opacity: 0;
}
/* Nav toggle icon line 3 */

.icon-menu1 .line-3 {
bottom: 0;
}
/* When active, rotate line 3 to be righthand part of X */

.is-active .icon-menu1 .line-3 {
-webkit-transform: translateY(-8px) translateX(0) rotate(-45deg);
-ms-transform: translateY(-8px) translateX(0) rotate(-45deg);
transform: translateY(-8px) translateX(0) rotate(-45deg);
}
/* Remove default list styles for menus */

.menu1 {
list-style: none;
margin: 0;
padding: 0px;
}
/** 
* 1. Give menu a lighter background than its container 
* 2. Prevent menu text from being accidentally highlighted
*/

.nav-menu1 {
background-color: #fff; /* 1 */
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
font-size: 14px;
font-family: Arial, Helvetica, sans-serif;
margin-top: 0px;
color: #0b0909;      /* 2 */
}
/* Give menu items a top border */

.nav-menu1 .menu-item1 {
border-top: 1px solid #bbb;
}
/* Give last menu item a bottom border */

.nav-menu1 > .menu-item1:last-child {
border-bottom: 1px solid #bbb;
}
/* Darker background color on hover, and when toggled */

.nav-menu1 > .menu-item1:hover, {
color: #fff;
}
.nav-menu1 > .menu-item1.is-active {
background-color: #fe100a;
color: #fff;
}
/* 1. Menu links are block level, by default */

.nav-menu1 .menu-link1 {
display: block; /* 1 */
text-decoration: none;
color: #444;
padding: 0.75rem 1rem;
}
/* 1. Menu items with dropdowns appear clickable */

.has-dropdown1 {
position: relative;
cursor: pointer; /* 1 */
}
/* 1. Parent menu links inlined so you can toggle the dropdown */

.has-dropdown1 > .menu-link1 {
display: inline-block;
}
/* 1. Add an icon to menu items that have sub menus */

.has-dropdown1:after {
font-size: 32px;
position: absolute;
top: 0;
right: 1rem;
bottom: 0;
content: "+"; /* 1 */
color: #222;
}
/* 1. Switch icon to n-dash when toggled */

.has-dropdown1.is-active:after {
content: "\2013"; /* 1 */
}
/**
* Dropdowns
* 1. Hide dropdowns by default
*/

.nav-dropdown1 {
display: none; /* 1 */
background-color: #fff;
}
/* 1. Show dropdown when toggled */

.has-dropdown1.is-active > .nav-dropdown1 {
display: block; /* 1 */
}
/* 2nd level dropdown */

.nav-dropdown1 .nav-dropdown1 {
background-color: #fff;
}
.nav-dropdown1 .menu-item1 {
border-color: #a0a0a0;
}
.nav-dropdown1 .nav-dropdown1 .menu-item1 {
background-color: #fff;
border-color: #909090;
}
/* Main content area */

.content {
margin-top: 60px;
}
.content .wrapper {
padding: 1rem 0;
}
@media (min-width: 960px) {
.nav1 {
background-color: #dedede;
}
.nav1,  .nav-container1,  .nav-container1.is-visible {
position: static;
top: auto;
left: auto;
z-index: auto;
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
}
.nav-container1,  .nav-container1.is-visible {
visibility: visible;
height: auto;
min-height: 0;
overflow-y: visible;
}
.nav-toggle1 {
display: none;
}
/* 1. Display menu items inline */

.nav-menu1 > .menu-item1,  .nav-menu1 > .menu-item1.is-active {
display: inline-block; /* 1 */
background-color: transparent;
border: 0;
}
/* Remove bottom border on last child */

.nav-menu1 > .menu-item1:last-child {
border: 0;
}
.nav-menu1 .menu-item1 {
-webkit-transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}
/* Remove +/- icons */

.has-dropdown1:after {
content: "" !important;
}
/* Add a caret to top-level menu items that have dropdowns */

.nav-menu1 > .has-dropdown1:after {
position: absolute;
top: 50%;
right: 1rem;
width: 0;
height: 0;
margin-top: -2px;
margin-left: -4px;
content: "";
border-width: 5px 5px 0 5px;
border-style: solid;
border-color: #444 transparent transparent transparent;
}
/* Increase padding to compensate for caret */

.has-dropdown1 > .menu-link1 {
padding-right: 2rem;
}
/* Re-style dropdowns for larger screens */

.nav-dropdown1 {
display: block;
opacity: 0;
position: absolute;
top: 100%;
width: 300px;
margin: 0;
padding: 0.5rem 0;
background-color: #fff;
visibility: hidden;
-webkit-transition: visibility 0s linear 0.25s, opacity 0.25s linear;
transition: visibility 0s linear 0.25s, opacity 0.25s linear;
}
.has-dropdown1:hover > .nav-dropdown1 {
visibility: visible;
opacity: 1;
-webkit-transition-delay: 0s;
transition-delay: 0s;
}
.nav-dropdown1 .menu-item1 {
border: 0;
}
.nav-dropdown1 .menu-item1:hover,  .nav-dropdown1 .nav-dropdown1 .menu-item1:hover {
background-color: #f2f2f2;
color: #fff;
}
.nav-dropdown1 .nav-dropdown1,  .nav-dropdown1 .nav-dropdown1 .menu-item1 {
background-color: #f2f2f2;
color: #fff;
}
.nav-dropdown1 .nav-dropdown1 {
z-index: 9998;
top: 0;
left: 100%;
}
.content {
margin-top: 0;
}
}


.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	z-index:9999;
}
/* Modal Content */
.modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	width: 40%;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
 from {
top:-300px;
opacity:0
}
to {
	top: 0;
	opacity: 1
}
}
 @keyframes animatetop {
 from {
top:-300px;
opacity:0
}
to {
	top: 0;
	opacity: 1
}
}
/* The Close Button */
.close {
	color:#000;
	float: right;
	font-size: 20px;
	font-weight: bold;
}
.close:hover, .close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}
 .modal-header h2, h3, {
 padding: 2px 6px;
 background-color: #f3620f;
 color: white;
}
.modal-body {
	padding: 2px 16px;
}
.modal-footer {
	padding: 2px 6px;
	background-color: #0055a5;
	color: white;
}




