

#templatenavigation {
	background:url(/uploads/shared/images/signup_wizard/1px_ddd.gif) repeat-x 0 19px;
}

ul#templateOptionsUL{
	list-style-type: none;
	list-style: none;
	padding:0 0 0 20px;
	margin:0;
	position:relative;
}

	ul#templateOptionsUL > li{
		float:left;
		margin-right:8px;
		padding:0;
		height: 30px;
	}

	ul#templateOptionsUL > li:hover a{
		background-color:#fff;
	}

	ul#templateOptionsUL li.cmsActiveTab.dropDown{
			height:80px;
	}

		ul#templateOptionsUL li .subNav{
			display:none;
		}

			ul#templateOptionsUL li .subDesc{
				font-size:10px;
				text-transform:uppercase;
				color: #585858;
			}

		ul#templateOptionsUL li select{
			width:200px;
		}

		ul#templateOptionsUL li option{
			padding-top:1px;
			padding-bottom:1px;
			color:#333;
		}

	ul#templateOptionsUL a{
		padding:3px 10px;
		text-decoration:none;
		background-color:#EEE;
		border: 1px solid #DDD;
		color: black;
		font-size: 80%;
	}


	ul#templateOptionsUL li.cmsActiveTab a{
		background-color: #fff;
		border-bottom:1px solid white;
	}

	ul#templateOptionsUL li.cmsActiveTab .subNav{
			display:block;
	}

@media (min-width: 600px) {
		ul#templateOptionsUL li.cmsActiveTab .subNav{
			position:absolute;
			left:0;
			width:100%;
			padding-top:15px;
		}
}


		.tPreview:hover, .tChoose:hover, .tMore:hover {
    background-color: white;
    color: black;
    border: 1px solid #DDD;
}

			.subNav .subItem{
				float:left;
			/*	min-height:150px; */
			}




/*TEMPLATE ITEM FORMATTING------------------*/
#templateselection{
	overflow: auto;
}
#selectionset{
	padding:0;
	margin:0;
	grid-gap: max(1rem ,2vw);
	grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
}

#selectionset li.template{
	width:200px;
	overflow: hidden;
	height:220px;
	float:left;
	padding:0;
	margin: 0 15px 20px 0;
}

.tDetails{
	width:200px;
	height:15px;
	overflow: hidden;
	font-size: 11px;
	color: #999;
}

.tDesc{
		float:right;
}


#selectionset li .cmsImage, .tImage{
	overflow: hidden;
	border:0;
	height:240px;
	display:block;
	background: url(/uploads/shared/images/signup_wizard/ajax-loader.gif) no-repeat 49% 49% #dddddd;
	margin-bottom: 5px;
}

#selectionset li .cmsImage{
	height: 100%;
  aspect-ratio: 7/5;
  min-height: 300px!important;
}
#selectionset li .cmsImage img{
	height:auto;
	max-height:none;
}

#selectionset li .templateName {
	max-height: 12px;
	overflow: hidden;
}


#selectionset li .cmsItem {
	margin: 2%;
	border: 1px solid #dddddd;
	line-height: 110%;
}
#selectionset li .cmsItem .cmsText {
	margin: 2%;
	font-size: 70%;
	line-height: 110%;
}

#selectionset li .cmsImage img,.tImage img{
		border:none;
		width:100%;
}

.tMag{
		display:none;
		position: absolute;
		z-index:1;
		bottom:4px;
		right:4px;
		height:32px;
		width:32px;
		background-image: url(/uploads/shared/images/signup_wizard/magnify.png) ;
		background-size: contain;
}

.tImage:hover .tMag{display:block;}

div.tActions {
	text-align: center;
}
	.tActions a{
		background-color:#999;
		color:#fff;
		border:1px solid #ddd;
		text-decoration: none;
		margin-right:1%;
		display: inline-block;
		text-align: center;
		width:15%;
		line-height: 30px;
		font-size: 75%;
	}

	a.tZoom {
		background-color: #DBA901;
		border:1px solid #DBA901;
	}

	a.tMore {
		background-color:orange;
		border:1px solid orange;
	}
	a.tPreview{
		background-color:#4193E9;
		border:1px solid #4193E9;
	}
	a.tMobile{
		background-color:#8356bd;
		border:1px solid #8356bd;
	}

	a.tChoose{
		background-color:#00C802;
		border:1px solid #00C802;
	}

	.tActions a:hover {
		background-color:#fff;
		border:1px solid #ddd;
		color:#000;
	}




.clear{
	clear:both;
}


#altLink{
	display:inline-block;
	margin:20px 0;
}



#templateSearch {
	display:inline;
}


#TemplateMenu ul { margin: 0; padding: 0; }
#TemplateMenu li { position: relative; list-style-type: none; margin: 2px; text-indent: 0; padding: 0; border: solid 1px; border-color:#CCCCCC; width: 180px; }
#TemplateMenu a { text-decoration: none; display: block; padding: 0; margin: 3px; width: 180px; }
#TemplateMenu li.sfhover, #TemplateMenu ul li:hover  { background-color: #EEEEEE; border-color:#666666;  }



#colorSelector  {
	 padding: 0; margin: 0;  width: 100%;

}

#colorSelector ul {
    list-style-type: none;
	position:relative;
	 padding: 0; margin: 0;  float: none;
      text-indent: 0;
}
#colorSelector li {
 float: left;
 display: block;
  width: 22px;
   height: 22px;
      border:  0;
      margin: 5px;
      padding: 5px;
}

#colorSelector A {
      border: solid 1px;
       border-color:#CCCCCC;
 display: block;
  width: 20px;
   height: 20px;
    text-decoration: none;
     padding: 0; margin: 0;
}


@media (max-width: 600px) {

	#templatenavigation{margin-bottom:2rem;}

ul#templateOptionsUL li.cmsActiveTab .subNav{
	position: relative;
	top: 0;
	z-index: 1;
}
ul#templateOptionsUL {min-height:150px;}
ul#templateOptionsUL li.cmsActiveTab.dropDown {
    height:30px!important	;
}

ul#templateOptionsUL li.cmsActiveTab.dropDown {
  min-height: 38px !important;
	height:auto!important;
}


ul#templateOptionsUL li.cmsActiveTab .subNav .subItem,
ul#templateOptionsUL li select{
	width:100%!important;

}
ul#templateOptionsUL li select{
	margin:4px 0;
	height: 38px;
}
ul#templateOptionsUL {
    padding: 0;
}

ul#templateOptionsUL > li {
    height: auto;
    min-height: 30px;
    float: none;
		margin-right:0;
		margin-bottom:3px;
		position: relative;
		border:1px solid #ccc;
}

ul#templateOptionsUL a {
    width: 100%;
    display: block;
    box-sizing: border-box;
		line-height:38px;
		border:none;
}

#selectionset {
    grid-template-columns: 1fr;
}

#selectionset.list-style-2col li {
    width: 100%;
}

#selectionset li .cmsImage {
    height: auto;
		min-height: 0!important;
}

div.tActions {
margin: 16px;
display:flex;
}

div.tActions a {
    width: 100%;
}

#selectionset li .cmsItem .cmsText {
    text-align: center;
}

ul#templateOptionsUL .subNav{

}
.navTab,ul#templateOptionsUL .dropDown.cmsActiveTab a{background-color:white;}

.subNav .subItem{
	float:none;
	padding: 0px 8px 4px;
	box-sizing: border-box;
}
.subNav:after,
.navTab:after {
  content: "";
  clear: both;
  display: table;
}


}
