/* @override 
	https://haigh38press.com/css/styles.css */

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html, button, input, select, textarea {
	color: #222;
}

html {
	font-size: 1em;
	line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio, canvas, img, video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
    /* IE 6/7 fallback */
    *
	text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
	display: none !important;
	visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before, .clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}
	
	a, a:visited {
		text-decoration: underline;
	}
	
	a[href]:after {
		content: " (" attr(href) ")";
	}
	
	abbr[title]:after {
		content: " (" attr(title) ")";
	}

    /*
     * Don't show links for images, or javascript/internal links
     */
	
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
		content: "";
	}
	
	pre, blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	
	thead {
		display: table-header-group; /* h5bp.com/t */
	}
	
	tr, img {
		page-break-inside: avoid;
	}
	
	img {
		max-width: 100% !important;
	}
	
	    @page {
	margin: 0.5cm;
	}
	
	    p, h2, h3 {
		orphans: 3;
		widows: 3;
	}
	
	h2, h3 {
		page-break-after: avoid;
	}
}



@-webkit-keyframes BGgradientAnimation {
0% {
	background-position: 0% 50%
}

50% {
	background-position: 100% 50%
}

100% {
	background-position: 0% 50%
}
}
@-moz-keyframes BGgradientAnimation {
0% {
	background-position: 0% 50%
}

50% {
	background-position: 100% 50%
}

100% {
	background-position: 0% 50%
}
}
@keyframes BGgradientAnimation {
0% {
	background-position: 0% 50%
}

50% {
	background-position: 100% 50%
}

100% {
	background-position: 0% 50%
}
}

textarea:focus, input:focus{
    outline: none;
}
::selection {
  color: #3A3E42;
  background: #BAB4BE; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #BAB4BE; /* Gecko Browsers */
}
input {
    -webkit-appearance: none;
	-webkit-border-radius:0; 
	    border-radius:0;
}
a:hover, a:active, a:focus {
   outline: 0 !important;
   border: 0 !important;
}
body {
	background-color: #3A3E42;
	font: 16px/24px 'Montserrat', sans-serif;
	color: #fff;
	background: linear-gradient(270deg, #3a3e42, #bab4be, #61657b);
	background-size: 600% 600%;
	-webkit-animation: BGgradientAnimation 20s ease infinite;
	-moz-animation: BGgradientAnimation 20s ease infinite;
	animation: BGgradientAnimation 20s ease infinite;
	width: 100vw;
	height: 100vh;
	position: relative;
}
body.active {
	overflow: hidden;
}
a, a:link {
	color: #fff;
	text-decoration: none;
}

.text-left {
	text-align: left;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

#wrapper {
	margin: 0;
	padding: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
}


#main-footer {
	flex-grow: 0;
}

.container {
	max-width: 1270px;
	margin: 0 auto;
	display: inline-block;
	padding-right: 40px;
	padding-left: 40px;
}

.w100 {
	width: 100%;
}

#top-navigation {
	width: 100%;
	text-align: center;
	padding-top: 40px;
	padding-bottom: 20px;
}

#top-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

#top-navigation ul li {
	display: inline-block;
	width: 30%;
}

#top-navigation ul li a {
	text-transform: uppercase;
	font-weight: 500;
	font-size: 14px;
}
#main-logo {
	flex-grow: 1;
	display: flex;
	align-items: center;
	text-align: center;
	max-width: 370px;
	margin: 0 auto;
}

#main-logo .logo-img img {
	max-width: 100%;
	pointer-events: none;
	max-height: inherit !important;
	
}

/*#btn-request {
	font-size: 18px;
	color: #FFFFFF;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
	display: inline-block;
	padding: 10px 40px;
	margin-top: 40px;
	font-weight: 500;
	border: 2px solid rgba(53, 53, 53, 0.2);
	background-color: rgba(53, 53, 53, 0);
	-webkit-transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
}

#btn-request:hover {
	border: 2px solid #fff;
}*/

#btn-request {
	font-size: 16px;
	color: #FFFFFF;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
	display: inline-block;
	padding: 0;
	margin-top: 40px;
	font-weight: 500;
	background-color: rgba(53, 53, 53, 0);
	-webkit-transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
	position: relative;
}
#btn-request:after {
	content: "";
	position: absolute;
	bottom: -3px;
	left: 0;
	height: 2px;
	width: 100%;
	background-color: #fff;
	transition: all .3s;
}

#btn-request:hover {
}

#main-footer {
	font-size: 11px;
	line-height: 18px;
	padding-top: 40px;
	padding-bottom: 40px;
	/*	opacity: .9;*/
}

#main-footer .container {
	display: flex;
	justify-content: space-between;
}

.footer-column {
	flex: 1;
}

.footer-title {
	font-size: 12px;
}

.footer-column h3 {
	font-size: 14px;
	font-weight: 500;
	margin: 0;
}
.hr-line {
	width: 5px;
	height: 1px;
	background-color: #fff;
	display: block;
	margin: 7px auto 0;
	display: none;
}
.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li {
	padding-bottom: 2px;
}

.footer-menu li a {
	text-transform: uppercase;
	transition: all .3s;
	opacity: 1;
	position: relative;
}

#main-footer a {
	position: relative;
	transition: all .3s;
}

#main-footer a:after {
	content: "";
	position: absolute;
	bottom: -3px;
	left: 0;
	height: 2px;
	width: 0;
	background-color: #fff;
	transition: all .3s;
}

.no-touch #main-footer a:hover:after, .no-touch #main-footer a.active:after {
	width: 100%;
}
#main-footer a.active:after  {
	width: 100%;
}
 
 /* MODAL*/


.modal {
	display: none;
	max-width: 800px;
	width: 70%;
}


.modal-inner {
	padding: 0px;
	margin: 0 auto;
	max-height: calc(100vh - 100px);
	 overflow: auto;
}

.modal-title {
	/* About Us: */
	font-weight: 400;
	text-transform: uppercase;
	font-size: 20px;
	color: #000000;
	letter-spacing: 0;
	text-align: center;
	margin: 0 0 20px;
}

.modal-content {
	font-family: 'Muli', sans-serif;
	font-size: 18px;
	color: #333333;
	letter-spacing: 0;
	text-align: center;
	line-height: 26px;
	font-weight: 300;
}

.modal-close {
	position: absolute;
	top: 0;
	right: 0;
	padding: 20px;
}

.modal-close a {
	opacity: .2;
	transition: all .3s;
}

.modal-close a:hover {
	opacity: 1;
}


.modal .intro {
	font-family: 'Muli', sans-serif;
	font-size: 16px;
	letter-spacing: 0;
	text-align: center;
	line-height: 24px;
	margin:30px 0;
}

.modal-form {
	margin-top: 40px;
}
.form-row-split {
	display: flex;
}
.form-row-split .form-row {
	flex: 1;
}
.form-row-split .form-row:first-child {
	margin-right: 10px;
}
.form-row-split .form-row:last-child {
	margin-left: 10px;
}

.success {
	display: none;
}

.form-actions-row div{
	display: inline-block;
	margin-right: 20px;
	margin-left: 20px;
}

.form-row {
	position: relative;
	margin-top: 10px;
	margin-bottom: 20px;
}
.form-row label {
	font: 14px/24px 'Montserrat', sans-serif;
	font-weight: 400;
	color: #4A4A4A;
	letter-spacing: 0;
	text-transform: uppercase;
	position: absolute;
	top: 0;
	left: 0;
}
.required {
	color: #999;
}
.form-row label.error {
	color: #ff0000;
	left: inherit;
	right: 0;
	text-transform: inherit;
/*	position: relative;
	text-align: left;
	margin: 0;*/
}
.input-text {
	border: none;
	border-bottom: 1px solid #333;
	width: 100%;
	box-sizing: border-box;
	padding-top: 30px;
	height: 60px;
	font-size: 18px;
	line-height: 18px;
	font-weight: 200;
	transition: all .3s;
}
.input-text:focus {
	border-bottom: 1px solid #ccc;
}
.row-submit {
	margin-top: 40px;
}
textarea.input-text {
	margin-top: 20px;
	padding: 0;
	height: 170px;
	background-attachment: local;
	    background-image:
	        linear-gradient(to right, white 0px, transparent 0px),
	        linear-gradient(to left, white 0px, transparent 0px),
	        repeating-linear-gradient(white, white 40px, #000 40px, #000 41px, white 41px);
	    line-height: 41px;
		border: none !important;
}
textarea.input-text:focus {
	background-image:
	    linear-gradient(to right, white 0px, transparent 0px),
	    linear-gradient(to left, white 0px, transparent 0px),
	    repeating-linear-gradient(white, white 40px, #eee 40px, #eee 41px, white 41px);
	
}
.submit-link {
	font: 18px/24px 'Montserrat', sans-serif;
	color: #000 !important;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
	display: inline-block;
	padding: 0;
	font-weight: 500;
	background-color: rgba(53, 53, 53, 0);
	-webkit-transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
	position: relative;
	border: none;
}
.submit-link:after {
	content: "";
	position: absolute;
	bottom: -3px;
	right: 0;
	height: 2px;
	width: 100%;
	background-color: #000;
	transition: all .3s;
}
.btn-cancel {
	opacity: .3;
}

.submit-link:hover:after {
	width: 0;
}






    /*

    Styles for animated modal
    =========================

    */
     .animated-modal {
            transform: translateY(250px);
    		-webkit-transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
    		transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
    		opacity: 0;
        }
    
        /* Final state */
        .fancybox-slide--current .animated-modal
        {
            transform: translateY(0);
            opacity: 1;
        }
    

    /*.animated-modal {
        transform: translateY(250px);
		-webkit-transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
		transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
		opacity: ;
    }

    .animated-modal h2,
    .animated-modal form, .animated-modal .intro, .animated-modal .modal-content {
        transform: translateY(40px);
        opacity: 0;
        transition-property: transform, opacity;
        transition-duration: .3s;
    }

    .fancybox-slide--current .animated-modal,
    .fancybox-slide--current .animated-modal h2,
    .fancybox-slide--current .animated-modal .intro, .fancybox-slide--current .animated-modal form, .fancybox-slide--current .animated-modal .modal-content  {
        transform: translateY(0);
        opacity: 1;
    }

    .fancybox-slide--current .animated-modal h2 {
        transition-delay: .1s;
    }

    .fancybox-slide--current .animated-modal .intro, .fancybox-slide--current .animated-modal .modal-content {
        transition-delay: .11s;
    }

    .fancybox-slide--current .animated-modal form {
        transition-delay: .12s;
    }*/






@media only screen 
and (max-width : 536px) {
	#wrapper {
		display: block;
	}
	
	
/*
	#main-logo {
		padding: 0 20px;
		display: block;
		text-align: center;
		margin-top: 60px;
		margin-bottom: 40px;
	}
	
	#main-logo .logo-img {
		max-width: 60vw;
		margin: 0 auto;
	}*/
	
	#main-logo {
		flex-grow: inherit;
	}
	#main-logo .logo-img{
		max-width: 55%;
		margin: 40px auto 30px;
	}
	.modal {
		max-width: 96%;
		width: inherit;
		padding-right: 20px;
		padding-left: 20px;
	}
	
	.modal-inner {
		padding: 0;
		max-width: 100%;
		margin: 0 auto;
	}
	.form-row-split {
		display: block;
	}
	.form-row-split .form-row {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
	#main-footer {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	#main-footer .container {
		display: flex;
		flex-direction: column;
	}
	.submit-link:after, #main-footer a:after {
		display: none !important;
	}
	.footer-column {
		width: 100%;
		text-align: center !important;
/*		border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
		padding-top: 5px;
		padding-bottom: 5px;
	}
	.footer-column:after {
		content: "";
		width: 50px;
		height: 1px;
		background-color: #fff;
		display: inline-block;
		margin: 0 auto;
		opacity: .2;
	}
	.footer-column:last-child:after {
		display: none;
	}
	.footer-title {
		order: -1;
	}
	.footer-column:last-child {
		border-bottom: none;
	}
	
	.footer-menu li {
		text-align: center;
	}
	.form-row {
		position: relative !important;
	}
	
	.form-actions-row div{
		margin-bottom: 100px;
	}
	
	
}
 
 