/*------------------------Crest Finder*/
#crestContainer{
	display:block;
	z-index: 1002;
	background:#fff;
	padding:40px;
	position: fixed;
	top:0;
	right:calc(-100% - 320px);
	bottom:0;
	width: 100%;
	margin:auto;
	transition: right ease-in-out 0.9s;
	overflow-y: auto;
	/*border-left:4px solid #CEAD74;*/
}
body.catalog-product-view .loading-mask{
	left:320px;
	top:40px;
}
body.catalog-category-view .loading-mask .loader > img,
body.catalog-product-view .loading-mask .loader > img{
	left:320px;
}
#crestartworkmmessage{
	color:red;
}
#crestContainer.active{
	right:0;
}
#crestContainer .btn-close{
	top:20px;
	right:20px;
}
#Option-initials_or_date_plate_a,#Option-initials_or_date_plate_b,#Option-initials_or_date_pendant,#Option-engraving_style {
	display:none;
}
#Option-Crest, #Option-CrestA,#Option-CrestB, #Option-font_type, #Option-Motto, #Option-MottoA, #Option-MottoB, #Option-artwork_position, #Motto_Crest_Container{
	display:none;
}
#Motto_Crest_Input_Note label.chk_Motto span{
	font-weight: bold;
}
.crest-search{
	display: block;
	max-width: 500px;
	margin: 0 auto 30px;
}
.crest-search label span,
.crest-search input[type="radio"]{
	vertical-align: middle;
	display: inline-block;
}
.crest-search label span{
	color: #3C4145;
}

.crest-search label{
	margin: 5px 0;
	padding: 0 20px 0 0;
	font-size: 13px;
	line-height: 16px;
	text-transform: uppercase;
}
.crest-search p.submit{
	text-align: right;
}
.crest-search p.submit input[type="text"]{
	height: 50px;
	margin: 0 0 5px;
	display: inline-block;
	vertical-align: top;
	width:70%;
	border-color:#3C4145;

}
.crest-search p.submit input:focus{
	outline: none;
	box-shadow: none;
}
.crest-search p.submit .button{
	width:30%;
	float: right;
	text-align: center;
	padding: 12px 15px;
	height: 50px;
}

#crestContainer ul#search-results {
	list-style: none;
    padding: 0 2px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
}

#crestContainer ul#search-results li {
	display: inline-block;
	vertical-align: top;
	border:1px solid #e6e5e6;
	width:24%;
	margin: 0 0.5% 20px;
	padding: 10px 10px 30px 140px;
	position: relative;
	min-height: 140px;
}
ul#search-results li a{
	display: block;
	color: inherit;
}

ul#search-results li img{
	position: absolute;
	top:5px;
	left:5px;
	max-width: 120px;
}

p.err {
	color: #D00;
}

p.err.hidden {
	display: none;
}

ul#search-results li h4 {
	margin: 0 0 10px 0;
}
ul#search-results li p{
	font-size: 13px;
	line-height: 18px;
	margin: 5px 0;
}
ul#search-results li p span{
	color:#5E676F;
}
ul#search-results li .select-crest{
	display: inline-block;
	text-align: right;
	text-transform: uppercase;
	margin: 0;
	color: #CEAD74;
	position: absolute;
	right:10px;
	bottom:10px;
}
/*Hidden Crest submissions that should be hiiden*/
.product-add-form .crest,
.product-add-form .cresta,
.product-add-form .crestb,
.product-add-form .crestc,
.product-add-form .crestd{
	display: '' ;
}

body.contentmanager-content-3 #ddSidebar,
body.contentmanager-content-4 #ddSidebar,
body.contentmanager-content-6 #ddSidebar,
body.contentmanager-content-7 #ddSidebar,
body.contentmanager-content-8 #ddSidebar {
	display: none !important;
}

body.contentmanager-content-10 #ddSidebar {
	border: 0;
    background: transparent;
}

body.contentmanager-content-10 #ddSidebar #MyCrest {
    display: none;
}

/*----------------------------------------------------------------------------------------------------------------------- Begin Responsive Queries*/
/* ----------------------------------------------------------------------- Min Withs Smallest to largest */
@media only screen and (min-width: 768px) {

}
@media only screen and (min-width: 1024px) {

}
@media only screen and (min-width: 1280px) {

}
@media only screen and (min-width: 1680px) {

}

/* ----------------------------------------------------------------------- MAX Withs Largest to smallest

@media only screen and (max-width: 1679px) {
	#crestContainer ul#search-results li {
		width: 49%;
	}
}

@media only screen and (max-width: 1279px) {
	#crestContainer{
		top:40px;
		right:calc(-100% - 280px);
		width:calc(100% - 280px);
		padding:20px;
	}
	body.catalog-product-view .loading-mask{
		left:280px;
		top:40px;
	}
	body.catalog-category-view .loading-mask .loader > img,
	body.catalog-product-view .loading-mask .loader > img{
		left:280px;
	}

}
@media only screen and (max-width: 1023px) {
	#crestContainer{
		top:90px;
		right:-200%;
		width:100%;
		border-left:none;
	}
	body.catalog-product-view .loading-mask{
		left:0;
		top:90px;
	}
	body.catalog-category-view .loading-mask .loader > img,
	body.catalog-product-view .loading-mask .loader > img{
		left:0;
	}
}
@media only screen and (max-width: 767px) {
	#crestContainer ul#search-results li {
		width: 100%;
		min-height: 132px;
		margin: 0 0 20px;
	}
} */
@media only screen and (max-width: 599px) {

}
/*iphone6 + regular android*/
@media only screen and (max-width: 479px) {
	/* #crestContainer{
		top:65px;
		padding: 20px 15px;
	} */
}
/*Iphone 4&5*/
@media only screen and (max-width: 359px) {

}

/* Size and Orientation */
@media only screen and (max-width: 479px) and (orientation: portrait){

}
/* Landscape Orientation */
@media screen and (orientation: landscape) {

}

/* Portrait Orientation */
@media screen and (orientation: portrait) {

}

/*--------------------------------------------------------------------- End Responsive Queries*/
