﻿footer {
	background: #004D4E;
	display: table;
	width: 100%;
}

#mobilestickyfooter {
	display: none;
	3
}

.footerblock {
	display: table;
	float: left;
	width: 90%;
	margin: 0 5%;
	padding: 50px 0;
	border-bottom: 3px solid #555555;
}

.footerblock .main {
	width: 230px;
	float: left;
	color: #FFF;
	text-transform: uppercase;
	margin: 0 100px;
	letter-spacing: 1px;
}

.footerblock .main li {
	padding: 10px 0;
}

.footerblock .main li:hover, #copyrsiteby a:hover {
	color: #F4E3D4;
}

.footerblock #contactbuttons {
	width: 375px;
	display: table;
	float: right;
}

.footerblock #contactbuttons > a {
	width: 100%;
	padding: 15px 0;
	margin-bottom: 25px;
	display: table;
	text-align: center;
	text-transform: uppercase;
}

.footerblock #contactbuttons > a:first-child {
	background: #986542;
	color: #FFF;
}

.footerblock #contactbuttons > a:first-child:hover {
	background: #000;
}

.footerblock #contactbuttons > a:nth-child(2) {
	background: #802210;
	color: #FFF;
	display: none;
}

.footerblock #contactbuttons > a:nth-child(2):hover {
	background-color: #64140e;
}


#threelogos {
	display: table;
	width: 100%;
	height: auto;
	text-align: center;
}

#threelogos img {
	width: 100%;
}

#copybar {
	width: 90%;
	margin: 0 5%;
	display: table;
	padding: 25px 0;
}

#copyrsiteby {
	width: 25%;
	color: #FFF;
	display: table;
	float: left;
}

#copyrsiteby p:first-child {
	margin-bottom: 10px;
}

#socialicons {
	width: 75%;
	color: #FFF;
	display: table;
	float: left;
}

#socialicons a {
	margin-left: 50px;
	margin-right: 10px;
	font-size: 28px;
	float: right;
}

#socialicons a:hover {
	color: #4B5D54;
}

#socialicons a:first-child {
	margin-right: 0px;
}

/*Cookies*/

#ctl00_Footer1_cookiepolicy {
	width: 100%;
	display: table;
	position: fixed;
	bottom: 0;
	left: 0;
	padding: 15px 120px;
	background-color: #2c2c34;
	z-index: 9991;
	font-family: OpenSans, Helvetica, Arial, Verdana, sans-serif;
}

.allcookies {
	display: table;
}

#ctl00_Footer1_cookiepolicy h3 {
	color: #fff;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	width: 175px;
	font-size: 16px;
	font-weight: 400;
	margin: 0 10px 0 0;
	letter-spacing: 0;
	display: table;
	float: left;
}

#textcookie {
	line-height: 16px;
	font-size: 16px;
	display: table;
	float: left;
	color: #FFF;
	margin: 0px 25px;
	width: calc(100% - 410px);
}

.buttomscookies {
	display: table;
}

.buttomshow {
	display: none;
}

#ctl00_Footer1_cookiepolicy a {
	background: #8a7445;
	transition: background .3s ease-in-out;
	min-height: 45px;
	min-width: 120px;
	border-radius: 2px;
	background: #986542;
	display: inline-block;
	vertical-align: top;
	padding: 0 10px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	line-height: 45px;
	text-decoration: none;
	display: table;
	float: left;
}

#footerformcontainerpopup {
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0px;
	left: 0px;
	background: rgba(0,0,0,0.5);
	display: none;
	z-index: 1000;
}

#footerformcontainerpopup .footerformsection {
	display: table;
	position: relative;
	width: auto;
	/*max-width: 550px;*/
	margin: 150px auto 0 auto;
	padding: 50px 5% 30px 5%;
	background: #f3f4f6;
}

.footerformsection {
	max-height: 80vh;
	overflow: scroll;
}

#footerbtnformclose {
	display: block;
	position: absolute;
	top: 10px;
	right: 10px;
}

#footerformcontainerpopup .footerformsection .footerleftform {
	max-width: 700px;
	width: 100%;
	margin-right: 0;
	float: none;
	margin: auto;
}

.footerleftform img {
	width: 100%;
	height: auto;
}

/*media queries*/

@media screen and (max-width:1400px) {
	.footerblock .main {
		margin: 0 0 0 100px;
	}
}

@media screen and (max-width:1200px) {
	.cookiepolicy {
		padding: 15px 20px;
	}

	.footerblock .main {
		margin: 0 0 0 50px;
	}
}

@media screen and (max-width:980px) {
	#textcookie, .cookiepolicy h3, .buttomscookies {
		width: 100%;
		padding: 5px 0 !important;
	}

	#textcookie {
		margin: 0;
	}
}

@media screen and (max-width:980px) {
	#ctl00_Footer1_cookiepolicy {
		padding: 10px 20px;
	}

	#ctl00_Footer1_cookiepolicy .allcookies h3 {
		padding: unset !important;
		padding-bottom: 5px !important;
	}

	#ctl00_Footer1_cookiepolicy .allcookies p {
		margin-bottom: 10px;
	}
}

@media screen and (max-width:999px) {

	#threelogos {
		margin-bottom: 25px;
	}

	.footerblock #contactbuttons {
		float: none;
		margin: auto;
		margin-top: 25px;
	}

	.footerblock .main {
		margin: 0 calc((100% - 375px) / 6);
	}

	.footerblock .main:last-child {
		width: 85px;
	}

	#socialicons {
		width: 325px;
		float: right;
	}

	#socialicons a:nth-child(4) {
		margin-right: 0;
	}
}

@media screen and (max-width:950px) {
	#footerformcontainerpopup .footerformsection {
		width: 90%;
		max-width: 550px;
	}

	.footerblock #contactbuttons a:nth-child(2) {
		display: table;
	}
}

@media screen and (max-width:495px) {

	#threelogos img {
		height: 55px !important;
	}

	#copyrsiteby {
		width: 100%;
		text-align: center;
		margin-bottom: 15px;
	}

	#socialicons {
		float: none;
		display: table;
		margin: auto;
	}

	#socialicons a {
		margin: 5px 15px;
	}

	#socialicons a:nth-child(4) {
		margin-right: 15px;
	}

	.footerblock .main {
		width: 225px;
		float: none;
		margin: auto;
		margin-bottom: 5px;
		padding-bottom: 5px;
		border-bottom: 1px solid #FFF;
		text-align: center;
	}

	.footerblock .main:last-child {
		width: 225px;
	}

	.footerblock #contactbuttons {
		width: 300px;
	}

	footer {
		padding-bottom: 75px;
	}

	#mobilestickyfooter {
		display: block;
		position: fixed;
		left: 0;
		bottom: 0;
		width: 100%;
		z-index: 9990;
		background-color: #fff;
		padding: 10px;
		text-align: center;
	}

	#mobilestickyfooter a.jpbttsmall {
		display: inline-block;
	}

	#mobilestickyfooter a:last-child {
		margin-left: 10px;
	}
}
