/*!
Theme Name: HamptonsFilm
Author: Michael Stoppay
Author URI: http://MichaelStoppay.com
Description: Wordpress Template Created from HTML Template

*/

@font-face {
	font-family: 'DIN';
	src: url('fonts/DINNextLTPro-Regular.eot');
  src: url('fonts/DINNextLTPro-Regular.eot?#iefix') format('embedded-opentype'),
  url('fonts/DINNextLTPro-Regular.woff') format('woff'),
  url('fonts/DINNextLTPro-Regular.ttf') format('truetype'),
  url('fonts/DINNextLTPro-Regular.svg') format('svg');
	font-weight: 500;
	font-style: normal;
}

@font-face {
    font-family: 'DIN';
		src: url('fonts//DINNextLTPro-Medium.eot');
    src: url('fonts/DINNextLTPro-Medium.eot?#iefix') format('embedded-opentype'),
    url('fonts/DINNextLTPro-Medium.woff') format('woff'),
    url('fonts/DINNextLTPro-Medium.ttf') format('truetype'),
    url('fonts/DINNextLTPro-Medium.svg') format('svg');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'DIN';
    src: url('fonts/DINNextLTPro-Bold.eot');
    src: url('fonts/DINNextLTPro-Bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/DINNextLTPro-Bold.woff') format('woff'),
    url('fonts/DINNextLTProDINNextLTPro-Bold.ttf') format('truetype'),
    url('fonts/DINNextLTProDINNextLTPro-Bold.svg') format('svg');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'DIN';
    src: url('fonts/DINNextLTPro-Black.eot');
    src: url('fonts/DINNextLTPro-Black.eot?#iefix') format('embedded-opentype'),
    url('fonts/DINNextLTPro-Black.woff') format('woff'),
    url('fonts/DINNextLTPro-Black.ttf') format('truetype'),
    url('fonts/DINNextLTPro-Black.svg') format('svg');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'DIN';
    src: url('fonts/DINNextLTPro-Heavy.eot');
    src: url('fonts/DINNextLTPro-Heavy.eot?#iefix') format('embedded-opentype'),
    url('fonts/DINNextLTPro-Heavy.woff') format('woff'),
    url('fonts/DINNextLTPro-Heavy.ttf') format('truetype'),
    url('fonts/DINNextLTPro-Heavy.svg') format('svg');
    font-weight: 1000;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Soft';
    src: url('fonts/ProximaNovaSoft-Regular.eot');
    src: url('fonts/ProximaNovaSoft-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/ProximaNovaSoft-Regular.woff2') format('woff2'),
        url('fonts/ProximaNovaSoft-Regular.woff') format('woff'),
        url('fonts/ProximaNovaSoft-Regular.svg#ProximaNovaSoft-Regular') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Soft';
    src: url('fonts/ProximaNovaSoft-Bold.eot');
    src: url('fonts/ProximaNovaSoft-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/ProximaNovaSoft-Bold.woff2') format('woff2'),
        url('fonts/ProximaNovaSoft-Bold.woff') format('woff'),
        url('fonts/ProximaNovaSoft-Bold.svg#ProximaNovaSoft-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
}

body, input, select, textarea, button { font-family: 'Proxima Nova Soft', sans-serif; font-weight: 500;}

/* GLOBAL */

* { margin: 0; padding: 0; border: none; text-decoration: none; box-sizing: border-box; font-weight: 500;}
body { font-size: 17px; color: #1C2854;}

/* STRUCTURE */

.headerRow, footer, section, .row { float: left; width: 100%; }
.container { margin: 0 auto; max-width: 1385px;}

/* GLOBAL */

input[type="search"], input[type="button"], input[type="submit"], button,
input[type="text"],input[type="datepicker"], .textarea {-webkit-appearance:none; border-radius: 0;}
select,input[type="text"],input[type="datepicker"] {border-radius: 0;}

img {max-width: 100%;}
h1,h2,h3,h4,h5,.h1,.h2,.h3,.h4,.h5 { font-weight: 400;}
h1, .h1 {font-size: 62px;}
h2, .h2 {font-size: 48px; font-weight: 100;}
h3, .h3 {font-size: 25px; font-weight: 500;}
h4, .h4 {font-size: 18px; font-weight: 300;}
h5, .h5 {font-size: 17px;}
p {margin-bottom: 15px;}
p:nth-last-child(1) { margin-bottom: 0;}
strong {font-weight: 700;}

a {color:#665546}
b, strong, strong * {font-weight: 700;}
:focus {outline: none !important;}

.left {float: left;}
.right {float: right;}
.relative {position: relative;}
.inline {display: inline-block;}
.clear {float: left; clear: both; width: 100%;}
.center {text-align: center;}
.hidden {display: none;}
.centerDiv {display: -ms-flexbox; display: -webkit-flex; display: flex; -ms-flex-align: center; -webkit-align-items: center; -webkit-box-align: center; align-items: center;}
.uppercase { text-transform: uppercase;}
.nouppercase { text-transform: none !important; }
.underline { text-decoration: underline;}
.cover { background-size: cover; background-position: center center; background-repeat: no-repeat;}

.subhead {font-family: 'DIN', sans-serif; font-size: 18px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px;}
.title { font-family: 'DIN', sans-serif; font-size: 57px; font-weight: 700; text-transform: uppercase;}
.subtitle { font-size: 20px; line-height: 1.5em;}

.blue {color: #1C2854;}
.light-blue {color: #63C8D0;}
.orange {color: #F4794C;}
.yellow {color: #FFD113;}
.white {color: #fff;}

.blue_back {background-color: #1C2854;}
.light-blue_back {background-color: #63C8D0;}
.orange_back {background-color: #F4794C;}
.yellow_back {background-color: #FFD113;}

/* BUTTONS */

.buttons-cont {float: left; clear: both; width: 100%; text-align: center;}
.button { display: inline-block; width: auto; font-size: 18px; font-family: 'DIN', sans-serif; font-weight: 700; letter-spacing: -1px; position: relative; color: #1C2854; padding: 0 0 5px 0;}
.button::before {content: ''; float: left; width: 100%; height: 5px; position: absolute; left: 0; bottom: 0; background: #1C2854; z-index: 1;}
.button span { position: relative; z-index: 2;}

.text-block.blue_back .button.light-blue {color: #63C8D0;}
.button.orange {color: #F4794C;}
.button.yellow {color: #FFD113;}

.button.light-blue::before {background: #63C8D0;}
.button.orange::before {background: #F4794C;}
.button.yellow::before {background: #FFD113;}

/*.button:hover {color: #FFD113 !important;}*/
.button:hover::before {background: #FFD113;}
/*.button.light-blue:hover {color: #1C2854 !important;}*/
.button.light-blue:hover::before {background: #1C2854;}

/* HEADER */

header {background: #fff; padding: 35px 0;}
.header__logo {float: left; width: 210px;}
.header__logo img { float: left; width: 100%; height: auto;}
.header__right { float: right; margin-top: 45px;}
.header__right nav { float: left;}
.header__right ul { float: left; list-style: none;}
.header__right ul li { float: left; margin-right: 20px;}
.header__right ul li::after { float: right; width: 8px; height: 20px; content: ''; background-image: url(images/nav-decoration.svg); background-size: contain; background-repeat: no-repeat; background-position: center center; margin: 0 0 0 20px;}
.header__right ul li a { float: left; font-family: 'DIN', sans-serif; font-size: 18px; text-transform: uppercase; font-weight: 700; color: #1C2854; position: relative;}
.header__right ul li a::before {content: ''; float: left; width: 100%; height: 3px; position: absolute; left: 0; bottom: -2px; background: #1C2854; z-index: 1; opacity: 0;}
.header__right ul li:nth-last-child(1) a,
.header__right ul li:nth-last-child(2) a { color: #63C8D0;}
.header__right ul li:nth-last-child(1) {margin-right: 0;}
.header__right ul li:nth-last-child(1) a::before,
.header__right ul li:nth-last-child(2) a:before { background: #63C8D0;}
.header__right ul li a:hover::before { opacity: 1 !important;}

.secondary-menu { position: fixed; top: 200px; right: 30px; z-index: 4; font-size: 10px; text-transform: uppercase; letter-spacing: 4px; font-family: 'DIN', sans-serif; font-weight: 700; padding: 0 !important;}
.secondary-menu a { float: right; width: auto; clear: both; line-height: 12px; margin-bottom: 15px;}
.secondary-menu a::after {content: ''; float: right; width: 12px; height: 12px; border: 1px solid #fff; margin-top: -2px; margin-left: 10px;}
.secondary-menu a span { opacity: 0; }
.secondary-menu a:hover,
body[section="about"] .secondary-menu a:nth-child(1) { color: #FFD113;}
.secondary-menu a:hover::after,
body[section="about"] .secondary-menu a:nth-child(1):after {background: #FFD113; border: 1px solid #FFD113;}
.secondary-menu a:hover span,
body[section="about"] .secondary-menu a:nth-child(1) span,
body[section="programs"] .secondary-menu a:nth-child(2) span,
body[section="initiatives"] .secondary-menu a:nth-child(3) span { opacity: 1; }

body[section="programs"] .secondary-menu a::after {border: 1px solid #1C2854;}
body[section="programs"] .secondary-menu a:hover,
body[section="programs"] .secondary-menu a:nth-child(2) { color: #63C8D0;}
body[section="programs"] .secondary-menu a:hover::after,
body[section="programs"] .secondary-menu a:nth-child(2):after {background: #63C8D0; border: 1px solid #63C8D0;}

body[section="initiatives"] .secondary-menu a::after {border: 1px solid #1C2854;;}
body[section="initiatives"] .secondary-menu a:hover,
body[section="initiatives"] .secondary-menu a:nth-child(3) { color: #F4794C;}
body[section="initiatives"] .secondary-menu a:hover::after,
body[section="initiatives"] .secondary-menu a:nth-child(3):after {background: #F4794C; border: 1px solid #F4794C;}

/* HERO */

.hero { padding-top: 50%; position: relative; z-index: 5;}
.hero__text {position: absolute; bottom: 100px; right: 0;}
.hero__text p { font-size: 18px; color: #fff; text-transform: uppercase; font-family: 'DIN', sans-serif; letter-spacing: 10px; line-height: 24px; padding-right: 250px;}
.hero__text p::before {content: ''; float: left; width: 240px; height: 24px; background-image: url(images/sprockets.svg); background-size: contain; background-repeat: no-repeat; background-position: center center; position: absolute; top: -3px; right: 0;}
.hero__arrow { position: absolute; bottom: 20px; left: 0; width: 100%; text-align: center; font-size: 25px; color: #fff;}

/* TEXT-BLOCK*/

.text-block { padding: 85px 0; position: relative; float: left;}
.text-block::before {content: ''; float: left; width: 132px; height: 12px; background-image: url(images/sprockets.svg); background-size: auto 100%; background-repeat: no-repeat; background-position: left center; position: absolute; bottom: 70px; left: 0;}
.text-block .container { width: 1160px;}
.text-block__text { margin-top: 40px;}
.text-block__text p { color: #fff; line-height: 1.5em;}
.text-block__column { float: left; width: 50%; text-align: left;}
.text-block__column--left { padding-right: 50px; border-right: 1px solid #fff;}
.text-block__column--right { padding-left: 50px;}
.text-block .buttons-cont { margin-top: 40px;}
/*.text-block .button.light-blue:hover {color: #FFD113 !important;}*/
.text-block .button.light-blue:hover::before {background: #FFD113;}

.page-text-block { padding-top: 10px; padding-bottom: 70px; padding-left: 40px; padding-right: 40px; position: relative; float: left;}
.page-text-block::before {content: ''; float: left; width: 132px; height: 12px; background-image: url(images/sprockets.svg); background-size: auto 100%; background-repeat: no-repeat; background-position: left center; position: absolute; bottom: 70px; left: 0;}
.page-text-block .container { width: 1160px;}
.page-text-block__text { margin-top: 40px;}
.page-text-block__text p { color: #fff; line-height: 1.5em;}
.page-text-block__column { float: left; width: 50%; text-align: left;}
.page-text-block__column--left { padding-right: 50px; border-right: 1px solid #fff;}
.page-text-block__column--right { padding-left: 50px;}
.page-text-block .buttons-cont { margin-top: 40px;}
/*.page-text-block .button.light-blue:hover {color: #FFD113 !important;}*/
.page-text-block .button.light-blue:hover::before {background: #FFD113;}

/* PROGRAMS */

.programs { padding: 110px 0;}
.programs__list { float: left; width: 100%; margin-top: 45px;}
.programs__item { float: left; width: calc(33.33% - 26.66px); margin-right: 40px;}
.programs__item:nth-child(3n) {margin-right: 0;}
.programs__title { font-size: 30px; float: left; width: 100%; margin-bottom: 10px;}
.programs__image { float: left; width: 100%; padding-top: 100%; margin-bottom: 40px; border-radius: 40px;}
.programs__item p { line-height: 1.5em; }
.programs__item .buttons-cont { margin-top: 25px; }

/* BANNER */

.banner { padding: 75px 0 0 0; position: relative; z-index: 5;}
.banner::before {content: ''; float: left; width: 132px; height: 15px; background-image: url(images/sprockets.svg); background-size: contain; background-repeat: no-repeat; background-position: center center; position: absolute; bottom: 80px; left: 0;}
.banner__column--left {float: left; width: calc(100% - 360px);}
.banner__image { float: left; width: 100%; padding-top: 65%; border-radius: 40px 40px 0 0;}
.banner__logo { float: left; width: 150px;}
.banner__logo img { float: left; width: 100%; height: auto;}
.banner__text-cont { float: left; width: calc(100% - 150px); padding-left: 60px;}
.banner__title { font-size: 44px; }
.banner__text-cont p { color: #fff;}
.banner__text-cont .buttons-cont { margin-top: 30px;}
.banner__text-cont .button {float: left;}
.banner__column--right {float: left; width: 360px;}

/* INITIATIVES */

.initiatives { padding: 110px 0;}
.initiatives__list { float: left; width: 100%; margin-top: 35px;}
.initiatives__item { float: left; width: calc(25% - 30px); margin-right: 40px;}
.initiatives__item:nth-child(4n) {margin-right: 0;}
.initiatives__title { font-size: 26px;}
.initiatives__image { float: left; width: 100%; padding-top: 100%; margin-bottom: 40px; border-radius: 40px;}
.initiatives__item p { line-height: 1.5em; font-size: 14px;}
.initiatives__item .buttons-cont { margin-top: 25px; }

/* SLIDER */

.slider {position: relative; z-index: 5;}
.slider__item {float: left; width: 100%; padding-top: 100vh; position: relative;}
.slider__text {position: absolute; top: 50%; right: 140px; width: 570px; transform: translate(0, -50%); padding: 100px 75px; border-radius: 40px;}
.slider__text .title { font-size: 44px; line-height: 1em; margin-bottom: 10px;}
.slider__text p { line-height: 1.7em; color: #fff; font-size: 14px;}
.slider__text .buttons-cont { margin-top: 10px;}
.slider__text .button {float: left;}

.slider .owl-nav button.owl-next,
.slider .owl-nav button.owl-prev {
position: absolute;
top: 50%;
left: 0;
transform: translate(0,-50%) !important;
width: 40px;
height: 60px;
font-size: 25px;
line-height: 68px;
border-radius: 0 5px 5px 0;
background: #1C2854;
color: #fff;}

.slider .owl-nav button.owl-next {
	left: auto;
	right: 0;
	border-radius: 5px 0 0 5px;
}

.slider .owl-nav button.owl-next:hover,
.slider .owl-nav button.owl-prev:hover {background: #FFD113;}

.slider .owl-dots { position: absolute; bottom: 30px; left: 0; width: 100%; z-index: 2; text-align: center;}
.slider .owl-dots button {display: inline-block; width: 14px; height: 14px; border-radius: 2px; color: #fff; margin: 0 7px; cursor: pointer; background: #fff;}
.slider .owl-dots button.active {background: #FFD113;}

/* NEWSLETTER */

.newsletter { padding: 85px 0 50px 0; position: relative; z-index: 5;}
.newsletter::before {content: ''; float: left; width: 230px; height: 24px; background-image: url(images/sprockets.svg); background-size: auto 100%; background-repeat: no-repeat; background-position: left center; position: absolute; bottom: 50px; right: 0;}
.newsletter__cont { display: inline-block; width: 455px; max-width: 100%;}
.newsletter__title { font-size: 33px;}
.newsletter__cont form {float: left; width: 100%; margin-top: 15px;}
.newsletter input {float: left; height: 52px; line-height: 48px; border: 2px solid #fff; font-size: 18px; color: #1C2854;}
.newsletter input[type=text] { width: calc(100% - 150px); border-radius: 5px 0 0 5px; background: none; padding: 0 10px; font-weight: 700;}
.newsletter .btn { display: inline-block; height: 52px; line-height: 48px; border: 2px solid #fff; font-size: 18px; color: #1C2854; width: 150px; background: #fff; border-radius: 5px; font-weight: 700; cursor: pointer;}
.newsletter input::-webkit-input-placeholder {color: #1C2854;}
.newsletter input:-ms-input-placeholder {color: #1C2854;}
.newsletter input::placeholder {color: #1C2854;}
.newsletter input:hover {border: 2px solid #1C2854;}
.newsletter .btn:hover { background: #1C2854; color: #fff;}
.socials { float: left; width: 100%; text-align: center; margin-top: 60px;}
.socials a { display: inline-block; vertical-align: middle; font-size: 30px; color: #fff; margin: 0 5px;}
.socials a:hover { color: #1C2854;}

.logos { padding: 40px 0; text-align: center;}
.logos a {display: inline-block; width: 200px; margin: 20px;}

.footer { background: #1C2854; padding: 30px 0;}
.footer__copyright { font-size: 12px;}

/* RESPONISVE */

.header__menu__btn { display: none; }

@media all and (max-width: 1425px) {
	.container { width: 100%; padding: 0 30px;}
}

@media all and (max-width: 1160px) {
	.text-block .container { width: 100%; padding: 0 30px;}
	.header {padding: 15px 0;}
	.header__right { margin-top: 0;}
	.header__menu__btn {float: right; display: block; position: relative; z-index: 11; margin-top: 20px;
	  width: 25px;
	  height: 25px;
	  position: relative;
	  -webkit-transform: rotate(0deg);
	  -moz-transform: rotate(0deg);
	  -o-transform: rotate(0deg);
	  transform: rotate(0deg);
	  -webkit-transition: .5s ease-in-out;
	  -moz-transition: .5s ease-in-out;
	  -o-transition: .5s ease-in-out;
	  transition: .5s ease-in-out;
	  cursor: pointer;}

	.header__menu__btn span {
	  display: inline-block;
	  background: #1C2854;
	  width: 100%;
	  height: 4px;
	  transition: all 0.5s ease;
	  border-radius: 2px;
	  position: absolute;
	  left:0;
	}

	.header__menu__btn span:nth-child(1) {
	  top: 0px;
	}

	.header__menu__btn span:nth-child(2),.header__menu__btn span:nth-child(3) {
	  top: 9px;
	}

	.header__menu__btn span:nth-child(4) {
	  top: 18px;
	}

	.header__menu__btn.open span:nth-child(1) {
	  top: 9px;
	  width: 0%;
	  left: 50%;
	}

	.header__menu__btn.open span:nth-child(2) {
	  -webkit-transform: rotate(45deg);
	  -moz-transform: rotate(45deg);
	  -o-transform: rotate(45deg);
	  transform: rotate(45deg);
	}

	.header__menu__btn.open span:nth-child(3) {
	  -webkit-transform: rotate(-45deg);
	  -moz-transform: rotate(-45deg);
	  -o-transform: rotate(-45deg);
	  transform: rotate(-45deg);
	}

	.header__menu__btn.open span:nth-child(4) {
	  top: 9px;
	  width: 0%;
	  left: 50%;
	}
	nav {
		position: absolute;
		top: 136px;
		right: 0;
		width: 320px;
		background: #fff;
		height: calc(100vh - 70px);
		z-index: 50;
		padding: 30px;
		display: none;
	}

	nav.open {

	}
	nav ul { float: left; width: 100%;}
	nav ul li { float: left; width: 100%; margin-bottom: 20px;}
	.header__right ul li::before {
    float: left;
    width: 8px;
    height: 15px;
    content: '';
    background-image: url(images/nav-decoration.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0 20px 0 0;
	}
	.header__right ul li::after { display: none; }
	.secondary-menu { display: none; }
}

@media all and (max-width: 1100px) {
	.hero__text { width: 100%; padding-right: 0; text-align: center; bottom: 50px;}
	.hero__text p { width: 100%; padding-right: 0; text-align: center;}
	.hero__text p::before {display: none;}
	.title { font-size: 40px; }
	.subtitle { font-size: 18px; }
	.text-block__column { width: 100%; text-align: center; border: none !important; padding: 0 !important;}
	.text-block__column--right { padding-top: 20px !important;}

	.programs__item {float: none; display: inline-block; vertical-align: top; width: 49%; margin: 0; padding: 0 30px; margin: 0 !important; margin-bottom: 30px !important; padding: 0 20px;}
	.programs__item:nth-child(2n+1) {clear: left;}
	.initiatives__item { float: none; display: inline-block; vertical-align: top; width: 49%; margin: 0; padding: 0 30px; margin: 0 !important; margin-bottom: 30px !important; padding: 0 20px;}
	.initiatives__item:nth-child(2n+1) {clear: left;}
	.banner { padding-top: 50px; }
	.initiatives,
	.programs,
	.text-block { padding: 50px 0;}
    .slider {background-color: #F4794C;}
    .slider__text { top: auto; bottom: 70px; right: auto; left: 0; width: calc(100% - 100px); transform: translate(50px,0); padding: 30px; border-radius: 20px;}
}

@media all and (max-width: 900px) {
	.banner__column--left { width: 100%; text-align: center;}
	.banner__logo { float: none; display: inline-block; margin-bottom: 20px;}
	.banner__text-cont { padding: 0; width: 100%;}
	.banner__text-cont .button { float: none; }
	.banner__column--right { width: 100%;}
	.banner__image { width: 100%; padding-top: 70%; margin-top: 30px;}
	.banner::before,
	.text-block::before,
	.newsletter::before { display: none; }
	.hero__arrow {bottom:10px;}
    .slider__item { height: auto; padding-top: 60%; background-size: auto 60%; background-position: top center;}
    .slider__text {position: static; width: 100%; transform: translate(0,0); margin: 0; padding-bottom: 70px; border-radius: 0; min-height: 400px;}
}

@media all and (max-width: 700px) {
   .slider__text .title { font-size: 30px; }
	 header {padding: 15px 0;}
	 .header__logo {width:auto;}
	  .header__logo img {height: 40px;width: auto;}
	 .header__menu__btn {margin-top:7px;}
	 nav.open {top:70px;}
    nav {top: 70px;}
}

@media all and (max-width: 600px) {
	.hero { padding-top: 100%;}
	.subhead,
	.subtitle { font-size: 16px;}
	.programs__item,
	.initiatives__item {width: 100%; padding: 0;}
	.slider__text .title,
	.title { font-size: 25px; }
	.header__logo { width: 150px; }
	header { padding: 15px 0;}
    nav ul li { margin-bottom: 10px; }
		nav { width:100%;padding: 10px 30px;}
    .slider__text { padding: 30px 50px 100px 50px; min-height: 610px;}
}

@media all and (max-width: 450px) {
	.newsletter input[type=text] { width: 100%; border-radius: 5px 5px 0 0;}
	.newsletter input[type=submit], .newsletter input[type=button] { width: 100%; border-radius: 0 0 5px 5px;}
    .hero { padding-top: 100%;}
    .hero__text p { font-size: 12px; letter-spacing: 3px;}
    .slider__item {height: auto; padding-top: 40%; background-size: 100% auto; background-position: top center;}
    .slider__text p { line-height: normal; }
}

@media all and (max-height: 500px) {
   .slider__item { padding-top: 150vh;}
   .slider__text p { line-height: normal; }
}
