/*
    Theme Name: myTheme
    Theme URI: https://www.hamiltrowebsitedesign.com
    Description: BASE THEME
    Version: 1.
    Author: hamiltro
*/

/* Breakpoints: 600 - 768/769 - 992 - 1200 w side-pad 4% */

/* HTML / FONTS
------------------------------------------------------------------------------------*/
html, body	{
	width: 100%;
}
html {
  font-size: 24px;
}
@media (max-width: 2048px) {
  html { font-size: 17px;}
}

@media (max-width: 900px) {
  html { font-size: 15px; }
}
@media (max-width: 400px) {
  html { font-size: 13px; }
}
/* From here on, use rems (or % or vh) for divs and ems for font-sizes within divs) */

html .clamp {font-size: 16px;}

@font-face {
    font-family: 'DIN Condensed';
    src: url('./fonts/DINCondensed-Bold.woff2') format('woff2'),
        url('./fonts/DINCondensed-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


@font-face {
	font-family: 'FuturaPT';
	src: url('./fonts/FuturaPT-Light.eot');
	src: url('./fonts/FuturaPT-Light.eot?#iefix') format('embedded-opentype'),
		url('./fonts/FuturaPT-Light.woff') format('woff'),
		url('./fonts/FuturaPT-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display:swap;
}

/* PALETTE / VARIABLES
*****************************************/
:root {
	--color: #666;
	--color-a: #18345e;;
	--color-a-button: BLACK;
	--color-a-button-background: WHITE;
	--color-a-button-border: GREY;
	--color-a-button-hover: WHITE;
	--color-a-button-background-border-hover: BLACK;
	--color-a-button-border-hover: BLACK;
	--color-a-hover: #3271ce; /*BLUE*/
	--color-accent1: #3271ce; /*BLUE*/
	--color-accent2: #18345e; /*dark blue */
	--color-background: WHITE;
	--color-banner-background:#3271ce; /*BLUE*/
	--color-border-subtle: TRANSPARENT;
	--color-currentPageLink: BLACK;
	--color-editLink: #000000;
	--color-footer: #CCC;
	--color-footer-a: #DDD;
	--color-footer-a-hover:#FFF;
	--color-footer-background: #18345e; /*dark blue */
	--color-footer-border: #888;
	--color-footer-credit: #999;
	--color-footer-credit-a:#FFF;
	--color-footer-credit-a-hover:#FFF;
	--color-form-input-border: TRANSPARENT;
	--color-form-button-background: TRANSPARENT;
	--color-form-button-text: TRANSPARENT;
	--color-form-button-bg-hover: TRANSPARENT;
	--color-hero-span-line1: grey;
	--color-hero-span-line2: #3271ce; /*BLUE*/
	--color-mainNav-text-link: #3271ce; /*BLUE*/
	--color-mainNav-text-link-hover: #111;
	--color-mob-menu-li-background-color:TRANSPARENT;
	--color-mob-menu-li-border: TRANSPARENT;
	--color-navbar-wrapper-background: TRANSPARENT;
	--color-outline: #DDD; /* tabbing */
	--color-overBanner: #FFFFFF;
	--color-pageRowHeader: BLACK;
	--color-pageTitle: BLACK; 
	/*--color-readMore-a: #666666; - in case it needs to be different from other buttons
	--color-readMore-a-background: #DBE9F3;
	--color-readMore-a-border: #DBE9F3;
	--color-readMore-a-hover: #616161!important;
	--color-readMore-a-hover-background: #CDDBE5;
	--color-readMore-a-hover-border: #CDDBE5;*/
	--color-row-border: #EEE;
	--color-siteSlogan: BLACK; 
	--color-siteTitle: BLACK; 
	--color-siteTitle-hover: #3271ce; /*BLUE*/
	--color-siteTitle-shadow-hover: TRANSPARENT;
	--color-icon-style: #744b37;
	--color-icon-style-hover: rgba(116,56,27, 1.0); /* #74381b */
	--color-sub-menu-li-background: rgba(238,238,238,0.98);
	--color-sub-menu-li-background-hover: rgba(243,243,243,0.98);
	--color-sub-menu-li-border: rgba(209, 209,209,0.25);
	--color-wpcf7-sent: GREY; /* GREY */

	--font-body: 'Open Sans', sans-serif; 
	--font-nav:   'DIN Condensed','FuturaPT', 'Open Sans', sans-serif;
	--font-quote: 'Playfair Display', Baskerville, 'Palatino Linotype','Century Schoolbook L', 'Times New Roman', serif;
	--font-readMore:  'Open Sans', sans-serif;
	--font-siteTitle:  'DIN Condensed','FuturaPT', Georgia, 'Open Sans', sans-serif;
}



/* SCREENSIZE TESTER (for: template-parts/screensize.php; change breakpoints as needed)
*****************************************/
p.screensize {display: none;} /* BLOCK FOR TESTING; NONE FOR LIVE */
p.screensize	{font-size: .5em; padding: 4px 10px;margin:0;max-width: 100%;text-align: right; background-color: #fff;}
@media (max-width: 768px) {p.screensize	{color: red;}}
@media (max-width: 992px) {p.screensize	{color: orange;}}
@media (min-width: 993px) {p.screensize	{color: green;}}


/* BREAKPOINTS: 600 - 768/769 - 991/992 - 1200 w side-pad 4%
****************************************/

@media (min-width:769px) {
	.flexContainer {flex-direction: row;}
	.mobileOnly {display:none;}
	.desktopOnly {display:block;}
	.flex-col-11 {width: 91.7%;padding: 0 1%;}
	.flex-col-10 {width: 83.3%;padding: 0 1%;}
	.flex-col-9 {width: 75%;padding: 0 1%;}
	.flex-col-8 {width: 66.7%;padding: 0 1%;}	
	.flex-col-7 {width: 58.3%;padding: 0 1%;}
	.flex-col-6 {width: 50%;padding: 0 1%;}
	.flex-col-5 {width: 41.7%;padding: 0 1%;}
	.flex-col-4 {width: 33.3%;padding: 0 1%;}
	.flex-col-3 {width: 25%;padding: 0 1%;}
	.flex-col-2 {width: 16.7%;padding: 0 1%;}
	.flex-col-1 {width: 8.3%;padding: 0 1%;}
	
	.thumb.flex-col-3,
	.thumb.flex-col-4	{padding-left: 0;}
	.excerpt.flex-col-8,
	.excerpt.flex-col-9	{padding-right: 0;}
}

 /* Styles for mobile view */
 @media (max-width: 767px) {
	.desktopOnly {
		display: none;
	}
}

/* Styles for desktop view */
@media (min-width: 768px) {
	.mobileOnly {
		display: none;
	}
}



/* LAYOUT (site specific)
***********************************************/
section.subpageBannerImage .sectionInner	{
	padding: 0;
}

section.footer {min-height: 120px;}
section.footer .sectionInner { padding: 3rem 4% 1rem 4%; }

.mainContent	{min-height: calc(100% - 60px);}

.row.nothingHere	{ /*404*/
	width: 700px;
	max-width: 100%;
	margin: 10% auto 0;
	text-align: center;
}

.one-col, .two-col,.row	{
	margin: 0 auto;
	width: 100%;
	max-width: 55rem;
}

.two-col, .row {max-width: 70rem;}

.row.narrow	{
	max-width: 52rem;
}

.row	{
	margin: 0 auto 6vh;
	padding-bottom: 6vh;
	border-bottom: 1px solid var(--color-row-border);
}

.row:last-child	{
	border-bottom: 1px solid transparent;
	padding-bottom: 1vh;
}



/* NAVBAR / Wrapper
------------------------------------------------------ */
.navbar-wrapper { 
	min-height: 60px;
	padding: calc(1vh + 1.8rem) 0 1vh 0;  
}

.navbar-wrapper .container	{
	max-width: 92%;
}

#navbar{}
.navbar{}
.navbar.flexContainer {}


/* NAVBAR / Site Title 
------------------------------------------------------ */
.siteTitle.flexItem {
	width: 85%;
}

@media only screen and (min-width:992px)	{
	.siteTitle.flexItem { width: 45%; }
	.mainNavigation.flexItem { width: 55%;}
}

.siteTitle .mainSiteTitle	{
	font-size: 2.2em;
	font-weight: bold;
	line-height: calc(1em + 0.5rem);
    /* line-height: 1.5rem; */
}
  
.siteTitle .siteSlogan{
	color: var(--color-siteSlogan);
}

/* NAVBAR / Main Navigation
------------------------------------------------------ */
.mainNavigation {}
.mainNavigation.flexItem {

}

.navbar-icon {}
.navbar-toggle {}
span.icon-bar {}


.navbar-collapse {}
.menu-main-navigation-container ul.nav.navbar-nav>li.menu-item>a{
    font-size: 1.1em;
    letter-spacing: 0.09em;
    padding: 0 10px 0 0.4em;
    text-transform: uppercase;
}

.sub-menu {
	font-size: 1em;	
	text-transform: uppercase;
	width: 180px;
}

@media (max-width: 992px)	{
	.sub-menu	{width: 100%;}
}


/* HTML / headers in general
------------------------------------------------------ */
/*h1,h2,h3,h4,h5,h6,*/h3, p,figure,figure.wp-block-image {
	/* line-height: 1.4em; */
	line-height: calc(1em + 0.5rem);
	max-width: 52rem;

}

.noImage p,
p.readMore	{
	max-width: 100%;
}

p.readMore	{
	padding-right: 10px;
}	

.pageTitle,
.sectionHeader,
.sectionTitle h2,
.rowHeader {
	font-size: 2.6rem;
	font-weight: normal;
	padding: 1.5em 0;	
	font-family: var(--font-siteTitle);
	text-transform: none;
	line-height: 1.4em;
	max-width: 52rem;
}

.sectionInner .sectionHeader	{
	padding-top: 0;
}

.postTitle	{
	font-size: 1.6em;
	font-weight: normal;
	/*margin-top: -.3em;*/
	max-width: 100%;
	margin-bottom: 20px;
	line-height: calc(1em + 0.5rem);
}

.pageTitle,
.sectionHeader {text-align: center; }

a.button     {
	padding: 8px 20px;
	border-radius: 2px;
  }
  
.wp-block-image figcaption 	{
	font-size: .8em;
	margin-top: .1em !important;
}

.mainContent ul,
.mainContent ol {
	margin: 1.8rem auto;
	max-width: 44rem;
	padding-left: 1.4rem;
	width: 90%;
}

.mainContent ul li,
.mainContent ol li {
	margin-bottom: 1.5rem;
}

p.entry-date	{
	font-size: .9em;
	margin-top: -16px;	
}

h1, h3	{
	font-weight: normal;
	color: BLACK;
}

h2 {
	color: var(--color-accent1);
}
h2	{
	font-family: var(--font-siteTitle);
		font-size:2.2em;
		margin: 0 auto 1.7vw;
		line-height: calc(1em + 0.5rem);
		/* line-height: 1.2em; */
}

h3	{
	font-size:1.6em;
	/* line-height: 1.4em; */
	line-height: calc(1em + 0.5rem);
	margin: 0 auto 1.5vh;
}
h3.catName {
	margin: 3vw auto 1vw;
}

.pageIntro	{
	font-size: 1.1em;
	font-style: italic;
	padding-bottom: 0;
}

.thumbnail img	{
	border: 1px solid #ccc;
	margin-bottom: 1.5vh;
}

/* SEARCH
------------------------------------------------------------------------------------*/
.page-search .one-col	{
	width: 100%;
	max-width: 52rem;
}
.page-search .row	{
	margin: 0 auto;
	padding-bottom: 2vh;
	border-bottom: 0px solid var(--color-row-border);
	font-size: .9rem;
}

.page-search .row.newssearch	{
	width: 100%;
}

.page-search .readMore	{
	font-size: .8rem;
	margin-top: -1.1em;
}

.searchPostTitle	{
	font-weight: normal;
}

.top_search{
	margin: 10px auto;
}

.top_search .gmsearch{
	text-align: right;
}
.top_search .searchbox{
	/* width: 180px; */
    border-radius: 4px;
    height: 34px;
    padding: 4px 8px;
}
/* .top_search .search-btn-bg{
	width: 70px;
    height: 34px;
    padding: 4px 10px;
} */
.top_search .search-btn-bg {
    width: 52px;
    padding: 4px 10px;
    vertical-align: middle;
	cursor: pointer;
}

/* full cover background images, carousels
------------------------------------------------------------------------------------*/

.bannerImage {
	width: 100%;
    height: 50vh;
}

.news_slide a img{
	max-height: 560px;
}

/* FOOTER
------------------------------------------------------------------------------------*/

section.footer	{
	line-height: 1.2rem;
	padding: 30px 15px 0px;
	text-align: center;
	background-image: url('./images/one-ocean-BG-01.png');
	background-position: center center;
	background-repeat: no-repeat;
	-o-background-size: contain;
	-webkit-background-size: contain;
	-moz-background-size: contain;
	background-size: contain;
	background-attachment: scroll;
	overflow-x: hidden;
	min-height: 400px;
}

.social-icons,
div.footerLinks,
p.copyright,
p.credit	{
	justify-content: left;
	max-width: 400px;
	margin: 1em auto;
}

@media (max-width: 600px){
	.footer .flexContainer {flex-direction: column;}
	.footer .flexContainer .flexItem1 {order: 2; text-align: center;  width: 98%; padding-top: 70px;}
	.footer .flexContainer .flexItem2 {order: 3; text-align: center; width: 98%; }
	.footer .flexContainer .flexItem3 {order: 1; text-align: center; width: 98%; }
	.social-icons {justify-content: center;}
}


div.footerLinks p	{
	line-height: 1.8em;
	margin-bottom: 30px;
}
div.footerLinks p a	{
	color: #ddd;
	border-bottom: 1px solid #bbb;
	padding-bottom: 1px;
}

div.footerLinks p a:hover	{
	color: white;
}
.social-icons	{
	max-width: 420px;
}

.footer h4,
.footer form	{
	max-width: 450px;
	margin: 1em auto 20px;
}
p.copyright,
p.credit	{
	font-size: .8rem;
}

.text-center{
	text-align: center;
}
.center-items{
	justify-content: center;
    align-items: center;
}
.text-center p{
	text-align: justify;
}

.news_pagination{
	text-align : center;
}
.news_pagination .left.carousel-control{
	margin-right: 8px;
}
.news_pagination .right.carousel-control{
	margin-left: 8px;
}
.sort_by{
	float: left;
}
.right{
	float: right;
    margin-left: 15px;
    margin-bottom: 8px;
    padding: 3px;
    border: 0px dotted #525665;
}
.left {
    float: left;
    margin-right: 15px;
    margin-bottom: 8px;
    padding: 3px;
    border: 0px dotted #525665;
}
.featuredImageTop{
	margin:0 auto 20px;
	max-width: 52rem;
}
.slick-slider {
	margin:20px 0;
}
iframe {
	margin:20px 0;
}
.pagination{
	margin-bottom: 10px;
    text-align: center;
}
.pub_row{
	margin-bottom: 20px;
}
.rel_col{
	position: relative;
	padding: 0px 20px;
}
button.accordion{
	background-color: transparent;
    color: #444;
    cursor: pointer;
    position: relative;
    top: -68px;
    position: absolute;
    top: 0;
    padding-right: 0px;
    padding-left: 0px;
    padding-bottom: 0px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}
button.accordion:after {
    background-color: #FFF;
    content: '\002B';
    font-size: 20px;
    color: #000;
    float: right;
    margin-left: 5px;
    padding: 0 9px 1px;
}
button.accordion.active:after {
    content: "\002D";
    font-size: 18px;
    color: #000;
    background-color: #3271ce80;
    float: right;
    margin-left: 5px;
    border: 1px solid #3271ce;
    padding: 0 9px 1px;
    border-radius: 50%;
}
div.abstract {
    padding-bottom: 0px;
    position: relative;
    top: -50px;
    background-color: transparent;
    max-height: 0;
    overflow: hidden;
    transition: 0.6s ease-in-out;
    opacity: 0;
}
.abstract_title {
    font-weight: bold;
    padding-bottom: 10px;
}
div.abstract.show {
    opacity: 1;
    max-height: 800px;
	padding-top: 50px;
}