/*
Theme Name: HMKLink
Theme URI: http://peachesandpie.net
Author: Peaches and Pie Sofwtare Developers
Author URI: http://peachesandpie.net
Version: 2.0
License: BSD 2-Clause
License URI: http://opensource.org/licenses/bsd-license.php
*/

/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

/* A Linux- and Windows-friendly sans-serif font stack: http://prospects.mhurrell.co.uk/post/updating-the-helvetica-font-stack */
:root {font: 400 calc(12px + 6 * ((100vw - 853px) / 1067)) Roboto, Helvetica, sans-serif;}

@media(max-width: 853px) {
	:root {font-size: 12px;}
}

@media(min-width: 1920px) {
	:root {font-size: 18px;}
}

/* Using local fonts? Check out Font Squirrel's webfont generator: http://www.fontsquirrel.com/tools/webfont-generator */
@font-face {
	font-family: 'Bon Voyage';
	src:
		local('MADE Bon Voyage'),
		local('MADE Bon Voyage Regular'),
		local('made_bon_voyage_regular'),
		url('assets/fonts/bon_voyage_regular.woff2') format('woff2'),
		url('assets/fonts/bon_voyage_regular.woff') format('woff'),
		url('assets/fonts/bon_voyage_regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Bon Voyage';
	src:
		local('MADE Bon Voyage Thin'),
		local('made_bon_voyage_thin'),
		url('assets/fonts/bon_voyage_thin.woff2') format('woff2'),
		url('assets/fonts/bon_voyage_thin.woff') format('woff'),
		url('assets/fonts/bon_voyage_thin.ttf') format('truetype');
	font-weight: 100;
	font-style: normal;
}

/* We like off-blue for text. */
:root {
	--text-color: #0b2540; /* rgb(11,37,64) */
	--accent-color: #061c30; /* rgb(6,28,48) */
	--side-padding: 5%;
	--gray-color: #cdd2d6;
	--highlight-hover: #485984;
}

@media (min-width: 750px){
	:root {
		--side-padding: 10%;
	}	
}

@media (min-width: 860px){
	:root {
		--side-padding: 15%;
	}	
}

body, select, input, textarea {color: var(--text-color);}

a {color: #FFF; text-decoration: none;}
a:hover {color: var(--gray-color);}
a.highlight{
    font-weight: 600;
    color: var(--accent-color);
}
a.highlight:hover{
	color: var(--highlight-hover);
    text-shadow: none;
}
a.highlight svg.external-link .fill{
	fill: var(--accent-color);
}
a.highlight svg.external-link .stroke{
	stroke: var(--accent-color);
}
a.highlight:hover svg.external-link .fill{
	fill: var(--highlight-hover);
}
a.highlight:hover svg.external-link .stroke{
	stroke: var(--highlight-hover);
}

/* Custom text-selection colors (remove any text shadows: http://twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #fcd700; color: #fff; text-shadow: none;}
::selection {background: #fcd700; color: #fff; text-shadow: none;}

/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #fcd700;}

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder { color:#FFF; }
textarea:-moz-placeholder { color:#FFF; }
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #FFF;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #FFF;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #FFF;
}

/* Forms
-------------------------------------------------------------------------------*/
.wpcf7-text, .wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"] {
	height: 2.5rem;
}

.wpcf7-text, .wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], textarea {
    width: 100%;
    background-color: #092947;
    border: 1px #436c92 solid;
    padding: 1rem;
    outline: none;
    color: #FFF;
	font-family: 'Roboto';
}

.wpcf7-submit{
	cursor: pointer;
    padding: 0.5rem 2rem;
    border-radius: 1rem;
    border: none;
    font-family: 'Roboto';
    font-size: 0.7rem;
    font-weight: bold;
}

.form-row {
    margin-bottom: 1rem;
}

.form-row.double-cell {
    display: flex;
	flex-direction: column;
}

.form-row.double-cell > div:first-child {
	margin-bottom: 1rem;
}

.form-cell {
    margin-right: 1rem;
}

.form-cell.right-align {
    text-align: right;
}

.form-row.double-cell > div:first-child {
	margin-bottom: 1rem;
}

@media(min-width: 650px){
	.form-row.double-cell {
		flex-direction: row;
	}
	
	.form-row.double-cell > div:first-child {
		margin-bottom: 0;
	}
	
	.form-row.double-cell > div {
		width: 50%;
	}
}


/* Navigation
-------------------------------------------------------------------------------*/


/**************** Menu Burger ******************/
.menu-burger{
    width: 50px;
    height: 50px;
	border: none !important;
	background: none;
	outline: none !important;
    display:flex;
    justify-content: center;
    align-items: center;
    position: absolute;
	right: 0;
	top: 0;
    cursor: pointer;
	margin: 10px auto;
	z-index: 100;
}

.menu-burger > div{
    position: absolute;
    height: 2px;
    background-color:#FFF;
	transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, background-color 0.5s ease-in-out;
	width: 25px;
}

/* positioning the top and bottom lines */
.menu-burger > div:first-child{
    transform: translateY(-5px);
}

.menu-burger > div:nth-child(3){
    transform: translateY(5px);
}

/**** STATE: ON HOVER ****/
.menu-burger:hover > div:first-child{
    transform: translateY(-10px);
}

.menu-burger:hover > div:nth-child(3){
    transform: translateY(10px);
}

/**** ON OPEN ****/
.main-navigation.toggled .menu-burger > div:nth-child(2){
    transform: translateX(-10px);
    opacity: 0;
}

.main-navigation.toggled .menu-burger > div:first-child{
	transform: rotate(45deg); /* translate(-5px, 4px); */
	background-color:#FFF;
}

.main-navigation.toggled .menu-burger > div:nth-child(3){
	transform: rotate(-45deg); /*  translate(-4px, -4px); */
	background-color:#FFF;
}

.main-navigation.toggled #header-menu {
    position: fixed;
    width: 100%;
    left: 0;
    background-color: rgb(6,28,48, 0.8);
    top: 0;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.main-navigation.toggled #header-menu > li{
    font-size: 1.2em;
	margin: 1em;
}

/* And here begins the WordPress fun.
-------------------------------------------------------------------------------*/

body {
	text-shadow: rgba(11,37,64,0.2) 0 0 2px;
}

@media(min-width: 650px){
	body {
		/* text-shadow: none; */
	}
}

body > * {
	padding: 0 var(--side-padding);
}

img{
	display: block;
}

nav {
	position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1rem 2.5rem 2.5rem;
    font-size: 1.2em;
	font-weight: 100;
}

h1, h2 {
	font-family: 'Bon Voyage', 'Garamond', serif;
	line-height: 1.2em;
}

h1{
	font-size: 2.5em;
	font-weight: 100;
}

h2 {
	font-size: 2em;
	font-weight: 400;
	color: var(--accent-color);
}

h5{
	font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
    overflow-wrap: normal !important;
}

section {
	margin: 4.5rem 0;
}

footer {
	background-color: var(--accent-color);
    color: #FFF;
    display: flex;
	flex-direction: column;
    padding: 2rem;
    height: auto;
	align-items: center;
}

@media(min-width: 535px){
	footer {
		flex-direction: row;
		height: 10rem;
		max-height: 30vh;
		align-items: stretch;
	}
}

@media(min-width: 650px){
	footer {
		padding: 2rem 5rem;
	}
}

ul.menu {
    display: flex;
    justify-content: space-evenly;
    flex-grow: 1;
}

nav > .logo img{
	width: 12rem;
}

nav .menu {
	display: none;
}

nav .menu-burger{
	display: block;
}

@media(min-width: 1040px){
	nav {
		width: 50%;
	}
	
	nav .menu {
		display: flex;
	}
	
	nav .menu-burger{
		display: none;
	}
}

header.banner {
    padding: 0;
    color: #FFF;
    min-height: 50vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

header div,
header p,
nav li,
footer li,
footer div,
.dark-section p,
#contact-form p
{
	font-weight: 100;
}

.address-header{
	font-weight: 400;
}

header.banner > .left{
    width: 100%;
    min-height: 50vh;
    background-color: rgba(6,28,48,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
	padding: 1rem;
}

@media(min-width: 680px){
	header.banner > .left{
		width: 50%;
	}
}

@media(min-width: 1010px){
	header.banner {
		min-height: 70vh;
	}

	header.banner > .left{
		min-height: 70vh;
	}
}

header.banner .banner-text.horizontal-style{
    display: flex;
	flex-direction: row;
	margin: 0 auto;
}

@media(min-width: 680px) and (max-width: 785px){
	header.banner .banner-text.horizontal-style{
		flex-direction: column;
	}	
}

header.banner .banner-text.horizontal-style > :first-child{
    text-align: right;
    width: 42%;
}

header.banner .banner-text.horizontal-style > :nth-child(2){
    width: 20em;
    line-height: 1.8em;
	padding-left: 2rem;
}

@media(min-width: 680px) and (max-width: 785px){
	header.banner .banner-text.horizontal-style > :first-child{
		text-align: right;
		width: auto;
	}
	
	header.banner .banner-text.horizontal-style > :nth-child(2){
		padding-top: 1rem;
		padding-left: 0;
		text-align: right;
	}
}

@media(min-width: 785px){
	header.banner .banner-text.horizontal-style > :nth-child(2){
		max-width: calc(50vw - 41% - 2rem);
	}	
}


header.banner .banner-text.left-style{
	display: flex;
    margin: 0 auto;
}

header.banner .banner-text.left-style > :first-child{
    text-align: right;
}

@media(min-width: 680px){
	header.banner .banner-text.left-style{
		margin: 0;
		width: 100%;
	}	
	
	header.banner .banner-text.left-style > :first-child{
		width: 50%;
	}
}

header.banner .banner-text.vertical-style{
    text-align: center;
}

header.banner .anchors a {
    display: block;
}

footer a {
	color: #FFF;
	text-decoration: none;
}

footer > .logo {
	width: 50%;
    /* display: flex; */
    align-items: center;
}

footer > .menu-column {
	width: 80%;
	font-size: 1.2em;
	margin: 2rem 0;
}

footer > .legal {
	text-align: center;
    align-self: center;
}

footer > .logo img {
    max-width: 100%;
    max-height: 100%;
}

footer ul.menu {
    align-items: center;
    height: 100%;
}

footer .legal-links{
	font-size: 1.2em;
	margin-bottom: 0.8rem;
}

footer .legal-links > a:first-child{
	display: block;
	margin-bottom: 1rem;
}

@media(min-width: 535px){
	footer > .logo {
		width: 22%;
		padding-right: 1em;
	}
	
	footer > .logo img {
    	margin: 0 auto;
    	transform: translateX(-2.5rem);
	}

	footer > .menu-column {
		width: 45%;
		margin: 0;
		border-left: 1px solid white;
	}
	
	footer > .legal {
		width: 33%;
		text-align: right;
		align-self: flex-end;
	}
}

@media(min-width: 860px) {
	footer .legal-links > a:first-child{
		display: inline;
		margin-right: 1rem;
		margin-bottom: 0;
	}
}

footer .copyright{
    font-weight: bold;
    font-size: 0.8em;
}

.imagetextsection,
.textsection{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.imagetextsection > div,
.textsection > div{
	width: 90%;
}

.imagetextsection > div:first-child {
	margin-bottom: 2rem;
}

.imagetextsection > div:nth-child(2) {
	
}

.mobile-reversible.imagetextsection > div:first-child {
	margin-bottom: 0;
}

.mobile-reversible.imagetextsection > div:nth-child(2){
	margin-bottom: 2rem;
	order: -1;
}

@media(min-width: 650px){
	.imagetextsection{
		flex-direction: row;
		align-items: stretch;
	}
	
	.imagetextsection > div {
		width: 50%;
	}
	
	.imagetextsection > div:first-child {
		padding-right: 1rem;
		margin-bottom: 0;
	}
	
	.textsection {
		display: block;
	}
	
	.textsection > div{
		width: 100%;
	}
	
	.imagetextsection > div:nth-child(2) {
		padding-left: 1rem;
	}
	
	.mobile-reversible.imagetextsection > div:first-child {
		margin-bottom: 0;
	}

	.mobile-reversible.imagetextsection > div:nth-child(2){
		margin-bottom: 0;
		order: 1;
	}
}

@media(min-width: 1190px){
	.imagetextsection > div:first-child {
		padding-left: 7%;
	}

	.imagetextsection > div:nth-child(2) {
		padding-right: 7%;
	}
	
	.textsection > div {
		padding-left: 7%;
		padding-right: 7%;
	}	
}

.section-title {
    margin-bottom: 0.5rem;
	width: 50%;
}

.section-subtitle {
    margin-bottom: 0.4rem;
}

p.section-content {
    margin-bottom: 1em;
	text-align: justify;
}

.imagetextsection > div > img {
	box-shadow: 0px 0px 16px 3px rgba(6,28,48,10%);
}

@media(min-width: 650px){
	body.home .imagetextsection .section-title{
		margin-top: 2rem;
	}
}

.imagetextsection.dark-section, .imagetextsection.gray-section {
	padding: 5rem var(--side-padding);
}

.imagetextsection.dark-section {
	background-color: var(--accent-color);
}

.imagetextsection.gray-section {
	background-color: var(--gray-color);
}

.imagetextsection.dark-section, .imagetextsection.dark-section h2 {
	color: #FFF;
}

#contact-section{
	margin-bottom: 0;
}

#contact-section .section-title {
	width: auto;
}

#contact-section > div > img {
	box-shadow: none;
}

#join-iaea-section > div:nth-child(2) img{
	box-shadow: none;
	height: auto;
	width: 50%;
    margin: 0 auto;
}

@media(min-width: 650px){
	#contact-section .section-title {
		margin-top: 4rem;
	}

	#join-iaea-section > div:first-child{
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	
	#join-iaea-section > div:nth-child(2){
		max-height: 20rem;
	}
	
	#join-iaea-section > div:nth-child(2) img{
		height: 100%;
		width: auto;
	}
}
	

/* Print styles!
-------------------------------------------------------------------------------*/
@media print {

}


/* Media queries!
-------------------------------------------------------------------------------*/

/* Always do mobile-first, and consider using em units: http://blog.cloudfour.com/the-ems-have-it-proportional-media-queries-ftw

@media screen and (min-width: 480px) {

} */
