/*
	jBar v2.0.0
	URL: www.toddmotto.com
*/

/*------------------------------------*\
    jBar
\*------------------------------------*/
.header-with-jar{
	margin-top:0px;
	transition:margin-top .2s linear;
	-webkit-transition:margin-top .2s linear;
	-moz-transition:margin-top .2s linear;
}

.jbar {
	font-family:inherit; /* inherit your fonts */
	background:#D9D9D9;
	border-bottom:3px solid #FFF;
	position:fixed;
	top:60px !important;
	left:0;
	z-index:998; /* set high to avoid possible existing z-indexes */
	width:100%;
	height: 0px;
	transition:all .2s linear;
	-webkit-transition:all .2s linear;
	-moz-transition:all .2s linear;
}

.jbar,
.jbar-push {
	transition:all .5s linear;
	-webkit-transition:all .5s linear;
	-moz-transition:all .5s linear;
}
.jbar-wrap {
	padding:0 25px;
	margin:8px 0;
	text-align:center;
}
.jbar p {
	margin:0;
	padding:0;
	font-size:14px;
}
.jbar p,
.jbar-button {
	color:#FFF;
	display:inline-block;
	*display:inline;
	zoom:1;
}
.jbar-button {
	background:#333;
	text-decoration:none;
	margin:0 10px;
	padding:5px 15px;
	border-radius:3px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
}
.jbar-button:hover {
	background:#222;
}
.jbar-up-toggle {
	position:absolute;
	top:0;
	right:50px;
	display:block;
	padding:10px;
}
.jbar-down-toggle {
	visibility:hidden;
	position:fixed;
	top:0;
	right:50px;
	z-index:999;
	display:block;
	padding:10px 10px 5px;
	background:#DB5903;
	border:3px solid #FFF;
	border-top:none;
	border-radius:0 0 4px 4px;
	box-shadow:0 1px 4px rgba(0,0,0,0.3);
	-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.3);
	-moz-box-shadow:0 1px 4px rgba(0,0,0,0.3);
	transition:margin-top .15s linear;
	-webkit-transition:margin-top .15s linear;
	-moz-transition:margin-top .15s linear;
}
.jbar-up-arrow {
	width:17px;
	height:19px;
	background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAATCAMAAABBexbDAAAADFBMVEXu7u5JSUkAAAAAAABdVQ4zAAAABHRSTlOGfRIAX3wErQAAADtJREFUeNrNzrENACAMA8EH9t8ZKXrjFXDlXONwzEohsEMEdojAI4QSQgmhhFBCKDHxYjKLyvQfBPrbBQBhAvZmanT9AAAAAElFTkSuQmCC) no-repeat center center;
}
.jbar-down-arrow {
	width:21px;
	height:23px;
	background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAXCAMAAADTAfSvAAAAnFBMVEWgoKD///8PDw8RERH///+cnJyfn58rKyv///////////8mJib///////+ampr///+FhYX///////////////+Dg4P///////+Li4sGBgb///////////8hISGOjo7///////////+WlpaRkZH///////8vLy////////////////////8XFxf///8cHBz///8MDAwAAAAAAAAAAABgXTkEAAAANHRSTlNWJmUsKVVVMBsYOS8XGlMBSQUfMzVIBANLKjI4HS5NNx4vUE8tJDE6IzQrNiwhLQIrYSkAN4qAdAAAAIRJREFUeNrdz0UWwzAQA9ApMyVlprATt9b979bWjuH5CNVu/mYkgsxbR521Cp2/0qj5G2pUzaaSKuElzglRl3mYjAlodFou9pKB/NaeviyOhhNIneV3w6dDXzfjz0fN1eVo+/LbeSexuLor+H77RVaUcBWbbC5YptAq1stVmMJXLAKD+AAYmVm/0d4W0wAAAABJRU5ErkJggg==) no-repeat center center;
}


.jbar-content {
    max-width: 1088px;
    margin: 3px auto;
}



.jbar-content h1, .jbar-content h2 {
	color: #000;
    font-size: 16px;
    margin-top: 15px !important;
    display: inline-block;
    margin-bottom: 10px;
	margin-right: 6px;
    font-weight: normal;
}

.jbar svg {
    position: absolute;
    right: 10px;
    top: 10px;
	cursor: pointer;
}


.thanks-msg p{
	font-size: 18px;
    margin-left: 5px;
}


.jbar-content{
	display: none;
}

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


@media screen and (min-width: 992px){

	.body-with-jar .dd-sidebar .dd-sidebar__inner {
		height: calc(100% - 53px) !important;
		margin-top: 53px;
	}

}



.jbar-content fieldset.fieldset-2col {
    display: flex;
    flex-direction: row;
    margin-left: -1%;
}


.jbar-content .news--form-field {
    margin-left: 1%;
    margin-right: 1%;
}

.jbar-content .jbar-input-item {
    background: #fff !important;
    border: 0px;
    border-radius: 1px;
}


.jbar-content  #newsletterHBForm-submit,#newsletterHBForm-show {
    background-color: #0E1A2F;
    color: #ffffff;
    text-transform: uppercase;
}

.body-with-jar .dd-single-content-wrap {
    margin-top: 100px !important;
}

.body-with-jar #jarbtn {
	display: none;
}


form#jarform {
    display: inline-block;
}

@media screen and (max-width: 992px){
	form#jarform {
		display: block;
	}
	
	.body-hide-form #jarform {
		display: none;
	}
	
	.body-hide-form #jarbtn {
		display: block;
	}



	input[type=text], input[type=email], input[type=phone], input, textarea, select, select option {
		font-size: 13px !important;
	}

	.jbar-content #newsletterHBForm-submit,#newsletterHBForm-show {
		font-size: 13px !important;
	}
	
	
	.jbar-content h1 {
		font-size: 18px;
	}
	.jbar-content {
		max-width: 92%;
	}
	.jbar-content fieldset.fieldset-2col {
		display: flex;
		flex-direction: column;
		margin-left: -1%;
	}
	
		
	
	.jbar-content .news--form-field {
		margin-bottom: 7px;
	}
	
	.header-with-jar {
		margin-top: 0;
	}
	
	.body-with-jar .dd-single-content-wrap {
		margin-top: 235px !important;
	}
	
	.body-thanks-mobile-jar .jbar {
		height: 105px !important;
	}
	
	.body-thanks-mobile-jar .header-with-jar {
		margin-top: 0;
	}
	
	.body-thanks-mobile-jar .dd-single-content-wrap {
		margin-top: 18px !important;
	}
	
	.body-thanks-mobile-jar a.dd-sidebar-toggle {
		margin-top: 41px;
	}
	
	.body-with-jar .max-container {
		margin-top: 66px;
	}
	
	.body-with-jar .dd-sidebar-toggle {
		top: 321px;
	}


	.body-thanks-mobile-jar .dd-sidebar-toggle {
		top: 61px;
	}
	
	.body-with-jar .header--nav.is-active {
		top: 284px;
	}
	
	.body-thanks-mobile-jar .header--nav.is-active {
		top: 168px;
	}
	
	
	
	
	
	
	.body-hide-form .jbar {
		height: 160px !important;
	}
	
	.body-hide-form .header-with-jar {
		margin-top: 0;
	}
	
	.body-hide-form.body-with-jar .dd-sidebar-toggle {
		top: 172px;
	}
	
	.body-hide-form.body-with-jar .dd-single-content-wrap {
		margin-top: 102px !important;
	}
	
	.body-hide-form.body-with-jar .header--nav.is-active {
		top: 223px;
	}
}


.error.errorjar {
    top: 44px;
    position: absolute;
}