@media screen and (max-width: 1200px) and (min-width: 991px) {
	 #t4-above-main h2 a {
   	font-size: 25px;    
  }
}

@media (min-width: 992px) {
  .nav-breakpoint-lg .header-wrap {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
      flex-wrap: nowrap;
      margin-right: -15px;
      margin-left: -15px;
  }
}

.navbar-nav li.parent {
	margin-left: 20px;
}

@media (min-width: 576px) {
	.header-block-1 .header-mid {
		flex: 0 0 55%;
		max-width: 55%;
		margin-left: 5%;
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.header-block-1 .header-r {
		flex: 0 0 30%;
		max-width: 30%;
		margin-left: 0%;
		padding-left: 0px;
		padding-right: 0px;
	}

	.header-block-1 .navbar-brand {
		flex: 0 0 10%;
		max-width: 10%;
		padding-left: 0px;
		padding-right: 0px;
	}
}

@media (max-width: 400px) {
	.header-block-1 .header-mid {
		flex: 0 0 50%;
		max-width: 50%;
		margin-right: 2%;
        margin-top: 6%;
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.header-block-1 .header-r {
		flex: 0 0 0%;
		max-width: 0%;
		margin-left: 0%;
		padding-left: 0px;
		padding-right: 0px;
	}

	.header-block-1 .navbar-brand {
		flex: 0 0 45%;
		max-width: 45%;
		padding-left: 0px;
		padding-right: 0px;
	}
  .nav-breakpoint-lg .header-wrap {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
      flex-wrap: nowrap;
      margin-right: -15px;
      margin-left: -15px;
      height: 165px;
  	}
    h1, .h1 {
      font-size: 1.4em;
	}
  
    h2, .h2 {
      font-size: 1.2em;
	}
  .t4-navbar .nav-item {
      position: relative;
      float: left;
      display: block;
      width: 100%;
	}
  	.navbar-nav li.parent {
        margin-left: 0px;
    }
  	.t4-megamenu .dropdown-menu li > a, .t4-megamenu .dropdown-menu li > .nav-link, .t4-megamenu .dropdown-menu li .dropdown-item {
        color: #ffffff;
        padding: 0.6666666667rem 1rem;
        white-space: normal;
    }
}

#t4-masthead h2 {
	font-size: 3em;
	margin: auto;
}

#t4-masthead .t4-masthead-detail {
	display: flex;
	flex-wrap: wrap;
}

#t4-masthead .t4-masthead-description {
	flex: 0 0 86%;
	max-width: 86%;
	margin-left: 7%;
	font-size: 1.4em;
}

.t4-masthead-inner {
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0;
}

.t4-masthead .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.t4-masthead .container {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.dropdown-menu-inner {
    background-color: #505493;
	border: 1px solid #505493;
}

.t4-palette-blue .nav li.active li.active > a {
	background-color: #f9c318;
	color: #000000;
}

.t4-palette-blue .t4-megamenu .navbar-nav > li a:hover, .t4-palette-blue .t4-megamenu .navbar-nav > li a:focus, .t4-palette-blue .t4-megamenu .navbar-nav > li a:active, .t4-palette-blue .t4-megamenu .navbar-nav > li .nav-link:hover, .t4-palette-blue .t4-megamenu .navbar-nav > li .nav-link:focus, .t4-palette-blue .t4-megamenu .navbar-nav > li .nav-link:active {
    background-color: rgba(80, 84, 147, 1);
	color: #000000 !important;
}

.t4-palette-blue .t4-megamenu .navbar-nav .parent > li a:hover {
	background-color: #f9c318;
}

.t4-megamenu .nav > .dropdown > .dropdown-toggle .item-caret {
    display: inline-block;
    border-top: 4px solid #ffffff;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    margin-left: 0.25rem;
    vertical-align: middle;
}

/* Nav Butons */

.navbar-nav.buttons li {
    background-color: rgba(249, 195, 24, 1);
    border: solid rgba(43, 104, 156, 1) 0px;
    cursor: pointer !important;
    margin: 0.2em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    width: 200px;
    line-height: 3px;
    text-align: center;
	transition: 0.5s;
}

.navbar-nav.buttons li:hover {
	background-color: #505493;
}

.navbar-nav.buttons {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    margin-top: 0.8em;
    list-style: none;
	font-weight: bold;
}

.navbar-nav.buttons a {
	color: #505493;
}

.navbar-nav.buttons a:hover {
	color: #ffffff;
}

/* Page Content Syles */

#t4-main-body .page-header, #t4-main-body .page-header h2, #t4-main-body .page-header h2 a {
	display: block;
	background-color: rgba(249, 195, 24, 1);
	-webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
	transition: 0.7s;
	font-size: 1em;
	text-align: center;
}

#t4-main-body .page-header:hover, #t4-main-body .page-header:hover h2, #t4-main-body .page-header:hover h2 a {
	display: block;
	background-color: #505493;
	color: #ffffff;
}

.item-content, .item-page {
	font-size: 1.5em;
}

/* .item-content ul, .item-page ul {
    display: flex;
    flex-wrap: nowrap;
} */

.item-content li, .item-page li {
	margin-right: 10%;
}

.item-content a, .item-page a {
	margin-left: 0.5em;
}

.item-content ul > li::marker, .item-page ul > li::marker {
#	content: "*";
    list-style-type: disc;
	position: relative;
	margin-left: -0.5em;
}

/* Slideshow */

#slideshow { 
  margin: 50px auto; 
  position: relative; 
  width: auto; 
  height: 350px; 
  padding: 10px; 
  box-shadow: 0 0 20px rgba(0,0,0,0.4); 
}

#slideshow > div { 
  position: absolute; 
  top: 10px; 
  left: 10px; 
  right: 10px; 
  bottom: 10px; 
}

.mega-4 .moduleborderBlue {
	margin-top: 10px;
	margin-bottom: 10px;
	border: 1px solid #505493;
}

.mega-4, .section-1 {
	margin-bottom: 10px;
}

.navbar-nav {
	font-size: 1.2em;
}

.header-mid h1 {
	margin-top: 0em;
}

div#t4-masthead {
    padding-top: 1em;
    padding-bottom: 1em;
}

.t4-footer .nav > li:before {
    content: "|";
    display: inline-block;
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-style: normal;
    color: #adb5bd;
    margin: 0 6px;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.navbar-nav.mobileNav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.t4-module .nav.mobileNav li {
    display: block;
    padding: 0;
    margin: 0;
    max-width: 250px;
}

.t4-offcanvas .t4-off-canvas-body .navbar .dropdown-menu .dropdown-item, .t4-offcanvas .t4-off-canvas-body .navbar .dropdown-menu .nav-link {
    padding: 0.5rem 0 0.5rem 1rem;
    max-width: 250px;
    white-space: normal;
}

.items-more .nav-tabs > li > a:hover, .items-more .nav-tabs > li > a:active, .items-more .nav-tabs > li > a:focus {
    background: #505493;
}

.page-item.active .page-link {
    background-color: #505493;
  	border-color: #505493;
}

.t4-palette-component h1 a:hover, .t4-palette-component h2 a:hover, .t4-palette-component h3 a:hover, .t4-palette-component h4 a:hover, .t4-palette-component h5 a:hover, .t4-palette-component h6 a:hover {
 	color: #000000; 
}
   