#sub-menu{
	z-index: 7;
	background-image: url(../tpl/1/content.jpg);
	background-size: 100% auto;
	height: auto;
	padding: 7px 0;
	width: 80%;
	margin: 0 auto;
	position: relative;
	color: #444;
	display: block;
	overflow: hidden;
	top: 20px;
}

#sub-menu div.template-section{
	text-align: left;
	float: left;
	vertical-align: top;
	width: 240px;
	min-height: 100px;
	margin: 0 0 0 30px;
	font-size: 16px;
}

#sub-menu div.template-section.is_new_item{
	display: none;
}

#sub-menu div.template-section ol{
	margin: 0 0 0 25px;
	padding: 0;
	font-size: 16px;
	line-height: 1.5em;
	list-style-type: circle;
	color: #000;
}

#sub-menu div.template-section ol a{
	color: #333;
    line-height: 1.7em;
}

#sub-menu div.template-section ol a:hover{
	color: #e00;
	text-decoration: underline;
}

#sub-menu div.template-section ol a.selected{
	background: #526ca0;
	padding: 5px;
	color: #fff;
	text-decoration: none;
}

#sub-menu h1{
	font-size: 1.6em;
	margin-bottom: 0;
}

#sub-menu h2#how-to-edit{
	font-size: 1.1em;
}

#sub-menu div.template-section h3{
	font-size: 1em;
	margin: 10px 7px 5px;
	color: #526ca0;
}
/*
h2#how-to-edit {
    position: relative;
    width: calc(90% - 60px);
    max-width: 360px;
    background-color: #fff;
    padding: 20px 30px;
    font-size: 1.25em;
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, .3), 0 0.0625rem 0.125rem rgba(0, 0, 0, .2);
    margin: 15px auto 10px;
    line-height: 1.3em;
}
h2#how-to-edit::before {
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	bottom: 100%;
	left: 1.5em;
	border: .75rem solid transparent;
	border-top: none;
	border-bottom-color: #fff;
	filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, .1));
}
*/
.how-to-edit .d3-button{
	margin: 13px 0 3px;
}

.letter_footer {
	position:relative;
}

.width-100{
	clear: both;
}

.main-title{
	font-size: 1.6em;
	margin-bottom: 0;
}

.sub-title{
	font-size: 1.1em;
	text-align: center;	
	margin: 14px 0;
}

.mobile-only{
	display: none;
}

@media (max-width: 1200px) {
	#sub-menu{
		width: 100%;
	}
}

@media (max-width: 800px) {
	#sub-menu div.template-section{
		float: none;
		width: auto;
		min-height: auto;
	}
	#sub-menu div.template-section h3{
		color: #fff;
		background: #526ca0;
		padding: 3px 0 3px 17px;
		border-radius: 3px;
	}
	#sub-menu div.template-section ol a{
		line-height: 2em;
	}
	.mobile-only{
		display: block;
	}
}