@import url('../fonts/template-fonts.css');

* {
	box-sizing: border-box;
}
html {
	height: 100%;
}
body {
	position: relative;
	height: 100%;
	margin: 0;
	background: #ffffff !important;
	font-family: 't-Proxima N W01 Reg' !important;
	font-size: 18px;
	color: #000000;
	line-height: 20px;
	overflow-x: hidden;
}
#template-page-wrapper {
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	height: 100%;
}
#template-page-wrapper #template-top-wrapper {
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	flex: 1 1 auto;
}
#template-page-wrapper #template-bottom-wrapper {
	flex: 0 0 auto;
}
#template-page-wrapper #template-mobile-menu {
	position: absolute;
	top: 0;
	left: -100px;
	transition: 0.5s left;
}
#template-page-wrapper #template-mobile-menu-wrapper {
	overflow-y: scroll;
}
#template-page-wrapper #template-top-wrapper,
#template-page-wrapper #template-bottom-wrapper {
	position: relative;
	top: 0;
	left: 0;
	transition: 0.5s left;
}
#template-header {
	position: fixed;
	top: 0px;
	left: 0;
	right: 0;
	padding: 10px 0 0;
	background-color: #eec718;
	border-bottom: 2px solid #ffffff;
	z-index: 100;
}
#template-header .template-wrapper,
#template-footer .template-wrapper {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: flex-start;
	width: 1170px;
	margin: auto;
}
#template-header .template-wrapper {
	padding: 0 10px;
}
#template-header .template-header-1 {
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-end;
	align-items: flex-end;
}
#template-header .template-toggle-wrapper {
	display: none;
	margin-top: 6px;
	margin-right: calc(9% - 19px);
}
#template-header .template-menu-toggle {
	margin-left: -20px;
	padding: 20px;
	cursor: pointer;
}
#template-header .template-menu-toggle .tog {
	background: #ffffff;
	height: 3px;
	width: 30px;
	margin: 0 0 5px;
	border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	opacity: 1;
	transform-origin: 0 50%;
	transition: 0.5s transform;
}
#template-header .template-logo a {
}
#template-header .template-logo img {
	display: inline-block;
	width: auto;
	height: 102px;
	max-width: 239px;
	margin: 10px 0px 20px 0px;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
	-ms-interpolation-mode: nearest-neighbor;
}
#template-header .template-contact {
	font-size: 35px;
	font-weight: 700;
	color: #034284;
	transition: color 0.25s ease;
}
#template-header .template-contact a {
	vertical-align: middle;
	text-decoration: none;
}
#template-header .template-icon-phone {
	display: inline-block;
	margin: 4px 0 13px;
	line-height: 20px;
	cursor: pointer;
}
#template-header .template-icon-phone:before {
	content: "";
	position: relative;
	top: 11px;
	left: 0;
	display: inline-block;
	width: 49px;
	height: 49px;
	margin-right: 14px;
	background: url(../images/phone_header_ic.png);
}
#template-mobile-menu {
	position: absolute;
	top: 0;
	right: 100%;
	height: 100%;
}
#template-mobile-menu .mobile-menu {
	position: relative;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start; 
	align-items: flex-start;
	margin: 0 0 20px 0;
	padding: 0;
	font-size: 14px;
	font-weight: 400;
	color: #034284;
	list-style: none;
}
#template-mobile-menu .template-mobile-menu-wrapper {
	position: absolute;
	top: 0;
	right: -17px;
	bottom: 0;
	left: 0;
	width: 317px;
	min-height: 100%;
	padding: 20px 5px 20px 35px;
	background-color: #222222;
	border-right: 2px solid #ffffff;
	overflow-y: scroll
}
#template-mobile-menu .mobile-menu .has-submenu {
	position: relative;
}
#template-mobile-menu .mobile-menu > li {
	position: relative;
	display: block;
	width: 100%;
}
#template-mobile-menu .mobile-menu > li.template-mobile-only {
	display: none;
}
#template-mobile-menu .mobile-menu > li:not(.template-menuitem-last):not(:last-child) {
}
#template-mobile-menu .mobile-menu li a {
	display: block;
	padding: 7px 0;
	font-size: 18px;
	color: #ffffff;
	text-decoration: none;
	transition: opacity 0.4s;
}
#template-mobile-menu .mobile-menu > li > a {
	text-transform: uppercase;
}
#template-mobile-menu .mobile-menu li.has-submenu > a {
	position: relative;
}
#template-mobile-menu .mobile-menu li.has-submenu > a.submenu-toggle {
	position: absolute;
	top: 6px;
	right: 0;
	height: auto;
	width: 64.5px;
	text-align: center;
}
#template-mobile-menu .mobile-menu li.has-submenu > a.submenu-toggle:after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-top: 8px solid #ffffff;
	border-right: 5px solid transparent;
	border-bottom: 0;
	border-left: 5px solid transparent;
	font-size: 16px;
	transform: rotate(180deg);
	transition: 0.2s transform;
}
#template-mobile-menu .mobile-menu li.has-submenu .submenu-wrapper {
	display: none;
}
#template-mobile-menu .mobile-menu .submenu {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0 0 15px 20px;
	list-style: none;
}
#template-mobile-menu .mobile-menu .submenu li {
	width: 100%;
}
#template-mobile-menu .mobile-menu .submenu li > a {
	display: block;
}
#template-mobile-menu .mobile-menu .submenu li > a {
	font-size: 16px;
}
#template-mobile-menu .mobile-menu li.has-submenu.mobile-submenu-opened > a.submenu-toggle {
	top: 7px;
	right: 1px;
}
#template-mobile-menu .mobile-menu li.has-submenu.mobile-submenu-opened > a.submenu-toggle:after {
	transform: rotate(0deg);
}
#template-page-wrapper.mobile-menu-opened {
	height: 100%;
	overflow: hidden;
}
#template-page-wrapper.mobile-menu-opened #template-mobile-menu {
	left: 0;
}
#template-page-wrapper.mobile-menu-opened #template-top-wrapper,
#template-page-wrapper.mobile-menu-opened #template-bottom-wrapper {
	left: 300px;
}
#template-page-wrapper.mobile-menu-opened #template-header .template-menu-toggle .tog:nth-child(1) {
	transform: rotate(45deg) translate(0, -3.5px);
}
#template-page-wrapper.mobile-menu-opened #template-header .template-menu-toggle .tog:nth-child(2) {
	opacity: 0;
}
#template-page-wrapper.mobile-menu-opened #template-header .template-menu-toggle .tog:nth-child(3) {
	transform: rotate(-45deg) translate(0, 3.5px);
}

#template-mobile-menu .main-menu {
	flex-flow: column nowrap;
}
#template-menu .main-menu {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start; 
	align-items: center;
	position: relative;
	margin: 0;
	padding: 8px 0 0;
	list-style: none;
	font-size: 14px;
	font-weight: 700;
	color: #034284;
	line-height: 17px;
}
#template-menu .main-menu .has-submenu {
	position: relative;
}
#template-menu .main-menu > li {
	position: relative;
	display: block;
}
#template-menu .main-menu > li.template-mobile-only {
	display: none;
}
#template-menu .main-menu li a {
	display: inline-block;
	padding: 20px 13px;
	transition: opacity 0.4s;
	text-decoration: none;
	color: #034284;
}
#template-mobile-menu .main-menu li > a {
	padding: 7px 0;
	font-size: 18px;
}
#template-menu .main-menu li > a {
	padding: 20px 12px;
	font-size: 13px;
	transition: color .25s ease, background-color .25s ease;
}
#template-menu .main-menu li:last-child > a {
	padding: 20px 23px;
}
#template-menu .main-menu > li > a {
	text-transform: uppercase;
}
#template-menu .main-menu li.has-submenu > a {
	position: relative;
}
#template-menu .main-menu li.has-submenu > a:after {
	content: "\f107";
	position: relative;
	top: 1px;
	right: 0;
	display: inline-block;
	margin-left: 6.3667px;
	font-family: 't-FontAwesome';
	font-weight: 400;
	font-size: 16px;
}
#template-menu .main-menu > li > a.template-icon-search {
	vertical-align: top;
	line-height: 17px;
}
#template-menu .main-menu > li > a.template-icon-search img {
	float: left;
	margin-right: 10px;
}
#template-menu .main-menu > li:hover > a.template-icon-search img {
	content: url('../images/search_ic_white.png');
}
#template-menu .main-menu .submenu-wrapper {
	position: absolute;
	top: 100%;
	width: auto;
	display: none;
	padding: 0;
	background-color: #ffffff;
	z-index: 999;
	transition: opacity 0.5s ease;
}
#template-menu .main-menu .submenu {
	display: flex;
	flex-wrap: wrap;
	width: 179px;
	margin: 0;
	padding: 0;
	list-style: none;
}
#template-menu .main-menu .submenu li {
	width: 100%;
}
#template-menu .main-menu .submenu li > a {
	display: block;
	padding: 6px 20px;
	line-height: 2em;
	background-color: #034284;
	color: #ffffff;
}
#template-menu .main-menu > li:hover > a {
	background-color: #034284;
	color: #ffffff;
}
#template-menu .main-menu li.has-submenu:hover .submenu-wrapper {
	display: block;
}
#template-menu .main-menu .submenu li:hover > a {
	background-color: #eec718;
	color: #034284;
}

#template-body {
	flex: 1 1 auto;
	padding-top: 144px;
	padding-bottom: 42px;
	background: #ffffff;
}
#template-bottom-wrapper {
}
#template-footer a {
	color: #ffffff;
	text-decoration: none;
}
#template-footer .template-footer-1 {
	background-color: #192f67;
}
#template-footer .template-footer-1 .template-wrapper {
	padding: 60px 0;
	color: #ffffff;
}
#template-footer .template-footer-1 .template-footer-menu {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}
#template-footer .template-footer-menu > li {
	width: 20.833333%;
	padding: 0 10px;
}
#template-footer .template-footer-menu > li:last-child {
	width: 37.5%;
	padding: 0;
} 
#template-footer .template-footer-menu > li > a {
	position: relative;
	display: block;
	border-bottom: 1px solid #ffffff;
	font-weight: bold;
	line-height: 56px;
	text-transform: uppercase;
}
#template-footer .template-footer-menu .submenu {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	width: 100%;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}
#template-footer .template-footer-menu .submenu li {
	margin-bottom: 16px;
}
#template-footer .template-footer-menu li:hover > a {
	color: #dfbd1d;
	border-bottom-color: #dfbd1d;
}
#template-footer .template-footer-menu2 .template-footer-menu {
	flex-flow: row nowrap;
	align-items: flex-start;
}
#template-footer .template-footer-menu2 .template-footer-menu > li {
	width: 55.5555%;
}
#template-footer .template-footer-menu2 .template-footer-menu > li:last-child {
	width: 44.4445%;
	padding-left: 10px;
}
#template-footer .template-footer-2 .template-footer-terms {
	display: flex;
	flex-flow: row wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}
#template-footer .template-footer-2 .template-footer-terms li {
	display: inline;
}
#template-footer .template-footer-2 .template-footer-terms a {
	display: inline;
	border-bottom: 1px solid #565656;
	line-height: 21px;
}
#template-footer .template-footer-terms li:not(:last-child):after {
	content: '|';
	display: inline-block;
	margin: 0 8.667px;
}
#template-footer .template-footer-2 {
	padding: 15px 0;
	background-color: #203e70;
	font-size: 14px;
	color: #ffffff;
}
#template-footer .template-footer-2 a {
	color: #ffffff;
}
#template-mobile-menu .template-social-wrapper {
	align-self: flex-start;
	margin-top: 2px;
	margin-left: 7px;
	list-style: none;
}
#template-mobile-menu .template-social-wrapper a {
	font-size: 21px;
	color: #ffffff;
}
#template-footer .template-footer-2 .template-social-wrapper {
	align-self: flex-start;
	margin-top: 2px;
}
#template-mobile-menu .template-social-icon {
	padding: 0 7.5px;
}
#template-footer .template-social-icon:not(:last-child) {
	margin-right: 15px;
}
#template-mobile-menu .template-social-icon:before,
#template-footer .template-social-icon:before {
	display: inline-block;
	font-family: 't-FontAwesome';
	font-size: 18px;
	line-height: 1;
}
#template-mobile-menu .template-social-icon:before {
	font-size: 21px;
}
#template-mobile-menu .template-social-1:before,
#template-footer .template-social-1:before {
	content: "\f09a";
}
#template-mobile-menu .template-social-2:before,
#template-footer .template-social-2:before {
	content: "\f16d";
}
#template-mobile-menu .template-social-3:before,
#template-footer .template-social-3:before {
	content: "\f099";
}
#template-mobile-menu .template-social-4:before,
#template-footer .template-social-4:before {
	content: "\f0d5";
}
#template-mobile-menu .template-social-5:before,
#template-footer .template-social-5:before {
	content: "\f0e1";
}
#template-mobile-menu .template-social-6:before,
#template-footer .template-social-6:before {
	content: "\f167";
}

#template-footer .template-footer-menu .submenu li {
	line-height: 16px;
	margin-bottom: 20px;
}
@media only screen and (max-width: 1199px) and (min-width: 1024px) {
	#template-header .template-wrapper,
	#template-footer .template-wrapper {
		max-width: 1008px;
	}
	#template-header  .template-logo {
		width: 20.833333333333%;
	}
	#template-menu .main-menu li > a {
		padding: 20px 13px;
	}
	#template-menu .main-menu li.has-submenu:nth-child(4) > a {
		padding-right: 13px;
	}
	#template-header .template-icon-phone:before {
		margin-right: 15px;
	}
}
@media only screen and (max-width: 1023px) and (min-width: 768px) {
	#template-header .template-wrapper,
	#template-footer .template-wrapper {
		max-width: 750px;
	}
	#template-header  .template-logo {
		width: 29.166666666667%;
	}
	#template-menu .main-menu li > a {
		padding: 20px 4px;
		font-size: 12px;
	}
}
@media only screen and (max-width: 1023px) {
	#template-header .template-wrapper {
		width: 750px;
	}
	#template-footer .template-footer-2 .template-wrapper {
		flex-flow: column nowrap;
		justify-content: center;
	}
	#template-footer .template-footer-2 .template-footer-menu {
		width: 100%;
		padding-right: 10px;
		text-align: center;
	}
	#template-footer .template-footer-2 .template-copyright, 
	#template-footer .template-footer-2 .template-footer-terms {
 		margin-bottom: 10px;
	}
	#template-footer .template-footer-2 .template-footer-terms {
		justify-content: center;
	}
	#template-footer .template-footer-2 .template-social-wrapper {
		width: 100%;
		text-align: center;
		justify-content: center;
		margin-top: 2px;
		padding-left: 10px;
	}
}
@media only screen and (max-width: 767px) {
/*	#template-header {
		position: relative;
		padding-top: 0;
	}*/
	#template-header .template-wrapper,
	#template-footer .template-wrapper {
		justify-content: flex-start;
		max-width: 90%;
	}
	#template-header .template-toggle-wrapper {
		display: block;
	}
/*	#template-header .template-logo img {
		height: 55px;
		width: 123px;
		margin-bottom: 0;
	}*/
	#template-header .template-header-1 {
		position: absolute;
		top: 72px;
		left: 0;
		width: 100%;
		height: auto;
		padding: 10px 0 8px;
		background-color: #0053a6;
	}
	#template-header .template-contact {
		display: block;
		width: 100%;
		font-size: 22px;
		font-weight: 400;
		color: #ffffff;
		text-align: center;
	}
/*	#template-header .template-contact:hover {
		color: #27a9e1;
	}
	#template-header .template-icon-phone {
		margin: 0;
		font-size: 22px;
		font-weight: 400;
		line-height: 1;
	}
	#template-header .template-icon-phone:before {
		content: "\f095";
		position: relative;
		top: 2px;
		left: 0;
		width: auto;
		height: auto;
		margin: 0 11px 1px 0;
		background: none;
		font-family: 't-FontAwesome';
	}*/
	#template-menu .main-menu {
		display: none;
	}
	#template-body {
		padding-top: 42px;
	}	
	#template-footer .template-footer-1 .template-wrapper {
		padding: 40px 0 10px;
	}
	#template-footer .template-footer-2 {
		padding: 25px 0;
	}	
	#template-footer .template-footer-menu > li {
		width: 50%;
		margin-bottom: 30px;
		text-align: center;
	}
	#template-footer .template-footer-menu > li > a {
		line-height: 48px;
	}
	#template-footer .template-footer-menu .submenu li {
		line-height: 15px;
	}
	#template-footer .template-footer-menu > li:last-child {
		width: 50%;
	}
	#template-footer  .template-footer-menu2 .template-footer-menu {
		flex-flow: column nowrap;
		align-items: center;
	}
	#template-footer .template-footer-menu2 .template-footer-menu > li,
	#template-footer .template-footer-menu2 .template-footer-menu > li:last-child {
		width: 100%;
		padding-right: 10px;
	}
	#template-footer .template-footer-menu2 .template-footer-menu > li a {
		margin-bottom: 18px;
	}
	#template-footer .template-footer-2 .template-footer-terms {
 		margin-bottom: 15px;
	}
}

	#template-header {
		flex: 0 0 auto;
		position: relative;
		padding-top: 0;
	}
	#template-header .template-logo img {
		height: 55px;
		width: 123px;
		margin-bottom: 0;
	}
	#template-header .template-icon-phone {
		margin: 0;
		font-size: 22px;
		font-weight: 400;
		line-height: 1;
	}
	#template-header .template-icon-phone:before {
		content: "\f095";
		position: relative;
		top: 2px;
		left: 0;
		width: auto;
		height: auto;
		margin: 0 11px 1px 0;
		background: none;
		font-family: 't-FontAwesome';
		font-weight: 400;
		color: #034284;;
	}


/* MODIFIED */
#template-header .template-wrapper,
#template-footer .template-wrapper {
	max-width: 90%;
}
#template-header .template-wrapper {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: center;
}
#template-header .template-header-1 {
	position: static;
	width: 100%;
	padding: 0;
	background: none;
}
#template-header .template-toggle-wrapper {
	display: block;
}
#template-header .template-logo {
	align-self: flex-start;
}
#template-header .template-contact {
	text-align: right;
	color: #034284;
}
#template-header .template-contact a {
	color: #034284;
	font-size: 22px;
	line-height: 22px;
}
#template-menu .main-menu {
	display: none;
}
#template-body {
	padding-top: 42px;
}
#template-footer .template-footer-1 {
	display: none;
}

