@media (max-width: 992px) {


html, body, ul, ol, li, nav, main, article, span, footer, p {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

body {
  background: #f5f5f5;
  font-family: 'Encode Sans Semi Expanded', sans-serif;
}
.animate {
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
nav ul li ul li {
    width: 100%;
    text-align: left;
    padding: 5px 10px;
}
nav ul {
  color: #3e5874; }

nav ul li ul li:hover a {
    color: #000 ;
}
nav li:hover {
    background: #ffffff;
}
  nav ul li {
    background: none;
}
nav li a {
    margin: 0px;
    display: block;
    width: 100%;
    height: 100%;
}
.header {
  width: 100%;
  display: flex;
	display: -ms-flexbox;
	flex: 1 1 auto;
  align-items: baseline;
}
.header .logo {
  text-align: center;
}
nav {
  width: 100%;
	margin-left: 20%;
  height: 35px;
  display: flex;
	display: -ms-flexbox;
	flex: 1 1 auto;
  flex-direction: row;
  background-color: none;
  justify-content: flex-end;
	z-index: 1000;
	cursor: pointer;
}
nav ul li {
  font-size: 18px;
  padding: 5px 0;
  width: inherit;
  font-weight: bold;
  background: none;
  text-align: center;
}
nav ul ul {
  padding: 0 0 5px 0;
  margin-top: 5px;
  background: #3e5874;
  box-shadow: 0px 0px 19px -6px black;
}
nav li {
  list-style: none;
  font-size: 14px;
  text-align: left;
  padding: 4px 10px;
}
nav ul li:first-child {
  padding-top: 5px;
  border: 0;
  background: none;
}
nav ul li ul li:first-child:hover {
    background: #fcac23;
}
nav a {
    color: white;
    text-decoration: none;
}
nav li:hover a {
    color: #fff;
}
nav li:hover {
    background: #fcac23;
}
.fluidImg {
  max-width: 100%;
}

.sect1 ul, .sect2 ul, .sect3 ul, .sect4 ul, .sect5 ul, .sect6 ul {
  transform: rotateY(90deg);
  width: calc(100% + 70px) !important;
    margin-left: -35px !important;
}

.sect1:hover li, .sect2:hover li, .sect3:hover li, .sect4:hover li, .sect5:hover li, .sect6:hover li, .sect1:hover ul, .sect2:hover ul, .sect3:hover ul, .sect4:hover ul, .sect5:hover ul, .sect6:hover ul {
  transform: rotateY(0deg);
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
  height: unset;
}
.nav-button {
  position: fixed;
  top: 8px; 
  right: 8px;
  border-radius: 0;
  border: 0;
  background: white;
  width: 40px;
  height: 40px;
  display: none;
	z-index: 10001;
	-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.25);
	-moz-box-shadow: 0 0 5px 0 rgba(0,0,0,0.25);
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.25);
}
.nav-button:hover {
  background: #620003;
  color: #fff;
}
.nav-button:hover i {
    color: #fff;
}
.nav-button:hover span {
    color: white;
}
.hide {
    display: none;
 }
.mob-button {
	display: none;
}
.modal-nav {
    width: 100vw;
    margin: 0 auto;
}
.navback {
	height: 100vh;
    background: linear-gradient(90deg, #620003, #750004);
}
.nav a {
    color: white;
    text-decoration: none;
}
.dropdown-menu a {
    font-size: 20px;
    color: #fff !important;
}
a.dropdown-toggle {
    font-size: 25px;
}

}


@media (min-width: 992px) {
  .nav-button {
    display: none;
  }
}










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

	nav ul li {
		background: none;
		height: 0;
	}
	nav {
        
        width: 100vw !important;
        height: unset;
        display: flex;
		display: -ms-flexbox;
		flex: 1 1 auto;
        flex-direction: column;
        background: linear-gradient(90deg, #016ad0, #00BCD4);
        justify-content: center;
        position: fixed;
        height: 100vh;
        top: 0;
		left: 0;
		z-index: 10000;
		display: none;
    opacity: 0;
			}
    nav.open {

        
        width: 100vw !important;
        height: unset;
        display: flex;
		display: -ms-flexbox;
		flex: 1 1 auto;
        flex-direction: column;
        background: linear-gradient(90deg, #004990, #2570B5);
        justify-content: center;
        position: fixed;
        height: 100vh;
        top: 0;
		left: 0;
		z-index: 10000;
        overflow: scroll;
        opacity: 1;
		margin: 0;
	}
	nav ul li {
		height: unset;
	}
	nav ul li {
		font-size: 30px;
		padding: 5px 0;
		width: inherit;
		text-align: left;
		color: #fff;
	}
      
    nav ul {
      width: unset;
      font-size: 30px;
      text-align: left;
      margin: 0 10vw;
	  color: #fff;
    }
    nav ul ul {
      margin: 0;
	  box-shadow: none;
    }
    nav li {
      font-size: 25px;
      padding: 5px 0px;
      
      border-bottom: 1px solid white;
      -webkit-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }
	nav ul li ul li:first-child:hover {
		background: none;
	}
    nav ul ul li:hover a {
      -webkit-transition: all .3s ease-in-out;
      transition: all .3s ease-in-out;
      color: #FFC107;
      padding-left: 10px;
    }
	nav li:hover a {
		color: #FFC107 !important;
	}
	nav li a {
		margin: 0px;
		display: block;
		width: unset;
		height: unset;
	}
  nav ul ul li:hover a::before {
    content: '> ';
    color: #FFC107;
    -webkit-transition: all .1s ease-in-out;
      transition: all .1s ease-in-out;
  }
    .sect1 ul, .sect2 ul, .sect3 ul, .sect4 ul, .sect5 ul, .sect6 ul {
		transform: rotateY(90deg);
		height: 0;
		-webkit-transition: unset;
		transition: unset;
		width: 100% !important;
		margin-left: 10px !important;
	  }
    .sect1:hover li, .sect2:hover li, .sect3:hover li, .sect4:hover li, .sect5:hover li, .sect6:hover li, .sect1:hover ul, .sect2:hover ul, .sect3:hover ul, .sect4:hover ul, .sect5:hover ul, .sect6:hover ul {
      -webkit-transition: unset;
      transition: unset;
	  background: none;
    }
    nav a {
      color: white;
      text-decoration: none;
	  font-size: 24px;
    }
  .nav-button {
    display: block;
  }
.mob-button {
	display: block;
}
	.modal-header-nav {
    	padding: 28vh 10vw;
		background: linear-gradient(90deg, #620003, #750004);
	}
	.dropdown-menu a:hover {
		color: #fff !important;
    font-weight: bold;
		background: transparent !important;
	}
	.nav>li>a:focus, .nav>li>a:hover {
		background-color: transparent !important;
	}
	.dropdown-menu li {
		border-bottom: 1px solid white;
		width: calc(100% - 40px);
		margin: 0 0 0 25px;
    color: #fff;
	}
  .dropdown-menu .h {
    padding: 10px;
    background: rgba(0,0,0,.5);
  }
	.dropdown-menu>li>a {
		padding-left: 0 !important;
		padding-bottom: 10px !important;
		padding-top: 10px !important;
	}
	li.dropdown:hover {
		border-bottom: unset;
		-webkit-box-shadow: unset;
		-moz-box-shadow: unset;
		box-shadow: unset;
	}


}
@media only screen and (max-height: 415px) {
	nav.open {
	    justify-content: flex-start;
		padding-top: 25px;
	}
	nav ul {
		font-size: 25px;
	}
	nav a {
		font-size: 18px;
	}
	nav li {
		padding: 2px 0px;
	}
	.modal-header {
    	padding: 15px;
	}
}

@media only screen and (max-width: 820px) {
  .navbar-nav>li>a {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .dropdown-menu>li>a {
    padding-bottom: 12px !important;
    padding-top: 12px !important;
  }
  .navbar-nav .open .dropdown-menu>li>a {
    line-height: 1.3;
  }
}



