/*
Theme Name: AMET
Theme URI: 
Author: the 
Author URI: https://wordpress.org
Version: 1.0
*/

@font-face {
  font-family: FeijoaMedium;
  src: url('/wp-content/themes/amet/fonts/Feijoa-Medium.ttf');
}

html {
	background: #f0f0f0;
}

body {
	background: #fff;
	margin: 0 auto;
	font-family: "Open Sans", sans-serif;
	line-height: 1.44;
	max-width: 1360px;
	box-shadow: 0px 0px 30px rgba(0,0,0,0.03);
	font-size: 1.1rem;
}

@media(max-width: 730px) {
	body {
		font-size: 0.9rem;
	}
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

img.circle {
	border-radius: 50%;
}

h1,h2,h3,h4,h5,h6, .subnav {
	font-family: 'FeijoaMedium', georgia;
	color: #176567;
	font-weight: 500;
}

h1,h2,h3 {
	line-height: 1.3;
}

a {
	color: #176567;
	font-weight: 600;
}

.btn {
	display: inline-block;
	border: 1px solid #05D6C0;
	background: #01818C;
	padding: 9px 16px 12px 16px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 5px;
	color: #fff !important;
}

.wrap {
	padding-left: 20px;
	padding-right: 20px;
	max-width: 1040px;
	margin: 0 auto;
}

.cuHead {
	background-color: #000;
	color: #fff;
	font-size: 14px;
}

.cuHead-logo {
	padding: 15px 0;
}

@media(max-width: 830px) {
	.cuHead-logo {
		max-width: 130px;
	}
}

.cuHead-wrap {
	max-width: 1130px;
	margin: 0 auto;
	padding: 0 25px;
	display: flex;
	gap: 25px;
	justify-content: space-between;
/*	padding: 20px 0;*/
}

@media(max-width: 830px) {
.cuHead-menu {
	display: none;
}	
}

.cuHead-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 1px solid #2e2e2e;
}

.cuHead-menu ul li {
	display: inline-block;
	border-right: 1px solid #2e2e2e;
}

.cuHead-menu ul li a {
	display: block;
	padding: 24px 20px;
	color: #fff;
	text-decoration: none;
}

.cuHead-menu ul li a:hover {
	background: #171717;
}

header .wrap {
	padding-top: 20px;
	padding-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 25px;
	justify-content: space-between;
	max-width: 1140px;
}

@media(max-width: 730px) {
	header .wrap {
		flex-wrap: wrap;
		gap: 15px;
	}
}

.header-logo {
	max-width: 294px;
}

@media(max-width: 730px) {
	.header-logo {
		max-width: 234px;
	}
}

.mobile-toggle {
display: none;
}

@media(max-width: 730px) {
.mobile-toggle {
 display: inline-block;
 max-width: 44px;
 cursor: pointer;
}
}

.header-menu {
/*	flex: 1;*/
	margin-left: auto;
	white-space: nowrap
}

@media(max-width: 730px) {
	.header-menu {
		display: none;

		width: 100%;
		margin-left: 0;
		padding-bottom: 5px;
		background: #01818C;
	}

	.header-menu.visible {
		display: block;
	}
}

.header-nav ul {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
	font-size: 1.07rem;
}

@media(max-width: 730px) {
	.header-nav ul {
		flex-direction: column;
		font-size: 0.9rem;
	}
}

.header-nav li {
	display: inline-block;
	margin-left: 30px;
}

@media(max-width: 730px) {
	.header-nav li {
		margin-left: 0px;
		border-bottom: 1px dotted #ccc;
	}
}

.header-nav li:first-child {
	margin-left: 0;
}


.header-nav a {
	display: block;
	border-bottom: 3px solid transparent;
	text-decoration: none;
	padding-bottom: 1px;
}

@media(max-width: 730px) {
	.header-nav a {
		color: #fff;
		padding: 12px 14px;
	}
}

.header-nav li:hover > a,
.header-nav li.current-page-ancestor > a,
.header-nav li.current_page_item > a {
	border-bottom-color: #01818C;
}

.hero {
	background-color: #015B64;
	background-image: url('/wp-content/themes/amet/img/hero.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	padding: 38px 0 65px 0;
	color: #fff;
}

.hero h1, 
.hero a {
	color: #fff;
}

.hero h1 {
	font-size: 2.6rem;
	margin-bottom: 24px;
}

@media(max-width: 730px) {
	.hero h1 {
		font-size: 1.8rem;
		margin-bottom: 20px;
	}
}

.hero p {
	font-size: 1.12rem;
}

@media(max-width: 730px) {
	.hero p {
		font-size: 1rem;
	}
}

.hero-txt {
	max-width: 64%;
}

@media(max-width: 730px) {
.hero-txt {
	max-width: 100%;
}	
}

.hero-btn {
	margin-top: 35px;
}

@media(max-width: 730px) {
	.hero-btn {
		margin-top: 25px;
	}
}

main {
	display: grid;
	gap: 40px;
	grid-template-columns: 6fr 3fr;
	padding-top: 55px;
	padding-bottom: 55px;
}

@media(max-width: 730px) {
	main {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-top: 24px;
		padding-bottom: 24px;
	}
}

.subnav {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 22px;
}

@media(max-width: 730px) {
	.subnav {
		font-size: 18px;
	}
}

.subnav li {
	display: inline-block;
	margin-right: 20px;
}

.subnav li a {
	color: #727272;
	font-weight: 500;
	text-decoration: none;
	display: block;
	border-bottom: 3px solid transparent;
}

.subnav li:hover > a,
.subnav li.active a {
	border-bottom: 3px solid #01818C;
	color: #01818C;
}

article ul {
	padding: 0;
	margin: 20px 0 20px 18px;
}

article li {
	margin: 16px 0;
}

article  li::marker {
  color: #00C0C9;
  font-size: 24px;
  line-height: 1.2;
}

article table {
	border: 1px solid #ccc;
	border-collapse: collapse;
	table-layout: fixed;
	text-align: left;
	width: 100%;
	margin: 25px 0;
}

article table tr {
	border-bottom: 1px solid #ccc;
}

article table th, table td {
	border: 1px solid #ccc;
	padding: 1rem;
}

/*article table tr:nth-child(even) {
	background: #f2f2f2;
}*/

article table th {
	background: #f0f0f0;
}

article h1:first-child,
article h2:first-child,
article h3:first-child {
	margin-top: 0;
}


.slideshow-wrap {
		margin-bottom: 30px;
}

.slideshow {
	position: relative;
}

.slideshow_nav {
	position: absolute;
	top: calc(50% - 19px);
	left: 0;
	right: 0;
	z-index: 999;
	display: flex;
	justify-content: space-between;
}

.slideshow_nav > div {
	cursor: pointer;
}

.featImg {
/*	position: sticky;
	top: 20px;
	*/
	padding-bottom: 30px;
}

.featImg img {
	display: block;
/*	aspect-ratio: 1/1;
	object-fit: cover;*/
}

footer {
	background-color: #015B64;
	background-image: url('/wp-content/themes/amet/img/footer.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	color: #fff;
	padding: 40px 0;
	font-size: 14px;
	line-height: 1.55;
}

@media(max-width: 730px) {
	footer {
		font-size: 13px;
	}
}

footer a {
	color: inherit;
	text-decoration: none;
}

.footer-group1 {
	display: flex;
	align-items: center;
	gap: 40px;
	justify-content: space-between;
	padding-bottom: 30px;
}

@media(max-width: 730px) {
	.footer-group1 {
		flex-wrap: wrap;
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 25px;
	}
}

.footer-group2 {
	display: flex;
	gap: 40px;
}

@media(max-width: 730px) {
	.footer-group2 {
		flex-direction: column;
		gap: 0px;
	}
}

.footer-group2 > div {
	width: 35%;
}

@media(max-width: 730px) {
	.footer-group2 > div {
		width: 100%;
	}
}

.footer-menu {
	margin-left: auto;
	width: auto !important;
}

@media(max-width: 730px) {
.footer-menu {
	margin-left: 0;
}
}

@media(max-width: 730px) {
	.footer-logo {
		max-width: 230px;
	}
}

.footer-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu ul li a {
	color: #fff;
	text-decoration: none;
}


section.staff {
	padding: 40px 0 50px 0;
	background: #fafafa;
}

.staffGroup {
	padding-top: 35px;
}

.staffGroup:first-child {
	padding-top: 0;
}

.staffGroup-list {
	display: grid;
	grid-gap: 25px 66px;
	grid-template-columns: repeat(4, 1fr);
	text-align: center;
}

@media(max-width: 730px) {
.staffGroup-list {
	display: grid;
	grid-gap: 25px 26px;
	grid-template-columns: repeat(2, 1fr);
	text-align: center;
}
}

.cuFoot {
	background: #000;
	color: #fff;
	padding: 30px 0;
}

.cuFoot .wrap {
	display: flex;
	gap: 40px;
	align-items: center;
	font-size: 15px;
}

@media(max-width: 730px) {
	.cuFoot .wrap {
		font-size: 13px;
		gap: 10px;
		align-items: flex-start;
		flex-direction: column;
	}
}

@media(max-width: 830px) {
	.cuFoot-logo {
		max-width: 130px;
	}
}

.cuFoot a {
	color: #fff;
	text-decoration: none;
}

.cuFoot-credit {
	margin-left: auto;
}

@media(max-width: 730px) {
.cuFoot-credit {
	margin-left: 0;
}
}

.social {
	display: flex;
	gap: 15px;
	align-items: center;
	font-weight: 600;
	font-size: 16px;

}

.social img {
	max-height: 20px;
}

/*Ninja*/

.nf-form-fields-required {
	padding-bottom: 15px;
}

.nf-form-content input[type="submit"] {
	background: #01818C !important;
	padding-left: 18px !important;
	padding-right: 18px !important;
	font-weight: 500;
	color: #fff !important;
	cursor: pointer;
}

.caption,
#adv-custom-caption {
	padding-top: 11px;
  font-size: 16px;
}