/*
Theme Name: NDK
Author: SeaMoor Creative
Author URI: https://www.weareseamoor.co.uk/
Description: 
Version: 2019.1
*/

html body {
    margin: 0;
    top: 0;
    background-color: #f7f7f7;

}

@font-face {
    font-family: 'melbourne';
    src: url('fonts/Melbourne_bold_basic.otf');
    font-weight: normal;
    font-style: normal;
  }



.button {
width: fit-content;
padding: 0px 20px;
border: none;
}

.wp-block-columns{
  background-color: #f7f7f7;
	padding: 0 100px;
	margin: 0;
}

.button-label {
    color: #162933;
    font-size: 16px;
    font-family: proxima-nova, Arial;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 2;
}



/* Content Blocks */

  /* NDK Header */

  .ndkHeaderContainer {
    width: 100vw;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    display: inline-block;
    padding-top: 15vh;
	padding-bottom: 15vh;
  }

  .ndkHeaderH1 {
    margin: 10px auto;
    width: 50%;
    text-align: center;
    font-family: futura-pt-bold;
    font-size: 80px;
    letter-spacing: 1px;
	 line-height: 0.9;
  }

  .ndkHeaderH2 {
    margin: 10px auto;
    width: 50%;
    text-align: center;
    font-family: melbourne;
    font-size: 30px;
    letter-spacing: 1px;
    font-weight: 300;
	
  }

  .ndkHeaderP {
    margin: 10px auto;
    width: 50%;
    text-align: center;
    font-family: futura-pt;
    font-size: 40px;
	line-height: 1;
	font-weight: 300;
  }

  .ndkHeaderButton {
    margin: 20px auto;
    width: max-content;
    text-align: center;
    font-family: futura-pt-bold;
    font-size: 20px;
    display: block;
    letter-spacing: 1px;
    padding: 5px 10px;
    text-decoration: none;
  }

  .ndkHeaderButton :hover{
    cursor: pointer;
  }

  /* NDK Timeline */

  .ndkTimelineContainer {
    width: auto;
    height: 325px;
    margin: 0;
    padding: 0 20%;
    background-color: #f7f7f7;
  }

  .timelineCol1 {
    width: calc(50% - 25px);
    height: 100%;
    display: inline-block;
    float: left;
  }

  .timelineCol2 {
    width: 50px;
    height: 100%;
    display: inline-block;
    float: left;
    overflow: hidden;
  }

  .timelineCol3 {
    width: calc(50% - 25px);
    height: 100%;
    display: inline-block;
    float: left;
  }

  .timelineImage {
    width: 100%;
    height: auto;
	max-width: 500px;
  }

  .timelineYear {
    color: #db2626;
    font-family: futura-pt;
    font-size: 27px;
    margin: 0;
    font-weight: 300;
  }

  .timelineText {
    color: black;
    font-family: futura-pt;
    font-size: 18px;
    font-weight: 300;
  }

  .circle {
    height: 24px;
    width: 24px;
    border: 2px solid #db2626;
    border-radius: 50%;
    display: inline-block;
    margin: 0 12px -5px;
  }

  .line {
    width: 50%;
    border-right: 2px solid #db2626;
    height: 300px

  }

/* NDK Product Block */

  .ndkProductContainer {
    border: 2px #db2626 solid;
	border-bottom: none;
    margin: 12px 5px;
    overflow: hidden;
    background-color: #f7f7f7;
  }
  
@media (min-width: 782px) {
	.wp-block-column:not(:first-child) {
    	margin-left: 12px;
	}
}

	@media (min-width: 600px) {
	.wp-block-column:nth-child(2n) {
    	margin-left: 12px;
		}
}


    .ndkSingleProductContainer {
    border: 2px #db2626 solid;
	border-bottom: none;
    margin: 12px 105px;
    padding: 0;
    background-color: #f7f7f7;

    overflow: hidden;
    background-color: #f7f7f7;
  }

  .ndkProductImageContainer {
    height: 300px;
    overflow: hidden;
  }

  .ndkProductImage {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .ndkProductLabel {
    width: calc(100% - 10px);
    color: #ffffff;
    background-color: #db2626;
    font-family: futura-pt;
    font-size: 25px;
    height: 35px;
    position: relative;
    bottom: 0px;
    margin: 0;
    padding: 10px;
    font-weight: 300;
  }

  .ndkModalProductLabel {
    width: calc(100% - 20px);
    color: #ffffff;
    background-color: #db2626;
    font-family: futura-pt;
    font-size: 25px;
    position: relative;
    bottom: 0px;
    margin: 0;
    padding: 10px;
    font-weight: 300;
  }
  
    .ndkModalProductLabel a {
    width: calc(100% - 20px);
    color: #ffffff;
    background-color: #db2626;
    font-family: futura-pt;
    font-size: 25px;
	text-decoration: none;
    position: relative;
    bottom: 0px;
    margin: 0 0 10px;
    padding: 0px;
    font-weight: 700;
    
  }

  .ndkModalProductImage {
    height: 60vh;
    overflow: scroll;
  }

  .ndkModalDescription {
    font-size: 20px;

  }




  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: scroll; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }

  /* Modal Content */
  .modal-content {
    background-color: #ffffff;
    margin: 0 auto 200px;
    border: 2px solid #db2626;
    width: fit-content;
    
  }

  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }


/* NDK Map Block */

  .ndkMapContainer {
    width: 100vw;
    height: 100%;
    background-color: #f7f7f7;
  }

  .ndkMapHeader {
    width: 100%;
    text-align: center;
    font-family: futura-pt-bold;
    font-size: 40px;
  }

  .ndkMapImage {
    width: 60%;
    margin: 0 20% 30px;
    border: 2px solid #db2626;

  }

  .ndkMapAddressHeader {
    width: 100%;
    text-align: center;
    font-family: futura-pt;
    font-size: 20px;
    margin: 0px 0 5px;
    font-weight: 300;
  }

  .ndkMapAddress {
    width: 100%;
    text-align: center;
    font-family: futura-pt-bold;
    font-size: 26px;
    padding-bottom: 20px;
    margin: 5px 0 5px;
  }

/* NDK Contact Block */

  .ndkContactContainer {
    width: 100vw;
    height: 100%;
    background-color: #f7f7f7;
  }

  .ndkContactHeader {
    width: 100%;
    text-align: center;
    font-family: futura-pt-bold;
    font-size: 40px;
  }

  input[type=submit] {
    background-color: #db2626;
    color: white;
    font-family: futura-pt;
    font-size: 20px;
    padding: 12px 20px;
    width: 40%;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    margin: 10px 30% 0;
    border: 2px solid #db2626;
  }

  input[type=text] {
    width: 40%;
    padding: 12px;
    border: 2px solid #db2626;
    border-radius: 0px;
    box-sizing: border-box;
    margin: 0px 30% 20px 0;
    resize: vertical;
    background-color: #ffffff;
    color: #db2626;
    display: inline-block;
    float: right;
}

input[type=textarea] {
  width: 40%;
padding: 12px;
border: 2px solid #db2626;
border-radius: 0px;
box-sizing: border-box;
margin: 0px 30% 20px 0;
resize: vertical;
background-color: #ffffff;
color: #db2626;
height: 200px;
display: inline-block;
float: right;
}

label {
  font-family: futura-pt;
font-size: 20px;
color: #db2626;
text-align: right;
display: inline-block;
width: 100px;
margin: 0 0 30px;
padding: 10px 0 0 20%;
font-weight: 300;
}

    /* Header */


header {

    height: 75px;
    width: 100vw;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100000;
    background-color: white ;
}



#branding {
    position: fixed;
    left: 0;
    top: 0;
    width: 30%;
}

#site-logo{
margin: 12.5px;
height: 50px;
width: auto;
}

#site-links {
    position: fixed;
    right: 0;
    top: 0;
    margin: 19px 25px;
    width: 70%;
}

.headerLink {
    display: block;
    float: right;
    margin: 0 15px;
}

.site-links-font {
    margin: 0;
}


.site-links-font a {
    margin: 0;
    font-family: futura-pt;
    font-size: 23px;
    text-decoration: none;
    color: #000000;
    letter-spacing: 1px;
    font-weight: 300;
}

.site-links-font :hover {
  color: #db2626;
  transition: 0.5s;
}

/* Footer */

footer {
    background-color: #000000;
    height: 60px;
    width: 100vw;
    left: 0;
    bottom: 0;
    z-index: 100000;
	position: relative;

}

footer h5 {
    color: white;
    font-family: futura-pt, Arial;
    font-size: 16px;
    text-align: center;
    margin-top: 22px;
    margin-bottom: 0;
    font-weight: 300;

}

.footerBranding {
  width: 20%;
  float: left;
}

#footer-site-logo{
margin: 17.5px 17.5px 0;
height: 25px;
width: auto;
}

.footerCopyright {
  width: 60%;
  float: left;
}

.footerSocialColumn {
  width: 20%;
  float: left;
}

.footerSocial {
    width: 30px;
    margin: 15px 10px 10px 0px;
    float: right;

}

/* Appear on scroll */


section {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 1s;
  height: 100%;

}

section.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Mobile Menu */

/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: #db2626;

  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #ffffff;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
  font-family: futura-pt;
}


/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

.mobileMenu {
	display:none;
}

@media screen and (max-width: 813px) {

	#site-links {
	display:none;
	}
	.mobileMenu {
	display: block;
	position: absolute;
    right: 10px;	
	
	}


}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

@media screen and (max-width: 813px) {
	.ndkHeaderH1 {
		width: 90%;
		font-size: 45px;
	}
	
	.ndkHeaderH2 {
		width: 90%;
	}
	
	.ndkHeaderP {
		width: 90%;
		font-size: 28px;
	}
	
	.ndkTimelineContainer {
	padding: 0 2%;		
	}
	
	.timelineText {
    color: black;
    font-family: futura-pt;
    font-size: 13px;
	margin-top: 2px;
	}
	
	.timelineYear {
	font-size: 22px;
	}
	
	.ndkSingleProductContainer {
    margin: 25px 5px;
	}
	
	.wp-block-columns {
    background-color: #f7f7f7;
    padding: 0 5px;
    margin: 0;
	}	
	
	.ndkModalProductImage {
    height: auto;
    overflow: scroll;
    width: 90%;
	}
	
	.ndkMapImage {
    width: 80%;
    margin: 0 10%;
	}
	
	input[type=text] {
    width: 80%;
    margin: 0px 10% 0px 0;
	}
	
	input[type=textarea] {
    width: 80%;
    margin: 0px 10% 0px 0;
	}
	
	label {
    width: auto;
    margin: 10px 40px 5px;
    padding: 0;
	}
	
	footer {
		height: 160px;
	}
	
	.footerBranding {
		width: 100%;
	}
	
	#footer-site-logo {
    margin: 17.5px 0 0;
    width: 60px;
    height: auto;
    padding-left: calc(50vw - 30px);
}
	
	.footerCopyright{
		width: 100%;
	}
	
	.footerSocialColumn {
		width: 100%;
		text-align: center;
	}
	
	.footerSocial {
	float: unset;
	}
		}