.main-content {
	background: #50d791 url(../png/email-pattern-white2.png) center top repeat;
	margin-top: -30px;
}
.main > h1 {
	font-family: "Montserrat", Arial, sans-serif;
	font-weight: 400;
	font-weight: bold;
	font-size: 40px;
	line-height: 48px;
	color: #ffffff;
	width: 635px;
	height: 96px;
	padding-top:8vh;
	text-align: left;
}
.main > .description {
	font-size: 16px;
	line-height: 28px;
	font-family: "Montserrat", Arial, sans-serif;
	font-weight: 400;
	color: #ffffff;
	width: 755px;
	height: auto;
	min-height: 200px;
	max-width: 42rem;
	margin-bottom: 30px;	
	text-align: left; 
}
.instruction {
	height: 60px;
}
.instruction > p {
	color: #34495e;
	font-size: 18px;
	font-weight: bold;
	line-height: 2.67;
	height: 48px;
	text-align: center;
	vertical-align: middle;
	margin: 10px auto;
}
.tags {
	background-color: #eee7e7;
	display: flex;
	align-items: center;
}
.tags > .tag-box-container {
	width: 90%;
	margin: auto;
	padding: 1rem 0 1rem 0;
	position: relative;
	display: flex;
}
.tags > .tag-box-container > .tag-dropdown-content {
	width: 60%;
	position: relative;
	margin: auto;
	display: flex;
}
.tags > .tag-box-container > .tag-dropdown-content > .dropdown-holder {
	position: absolute;
	width: 93%;
	height: 300px;
	left: 0;
	overflow-x: hidden;
	overflow-y: auto;
	display: none;
	margin: 1px;
	z-index: 2;
	margin-top: 50px;
}
.tags > .tag-box-container > .tag-dropdown-content > input {
	width: calc(100% - 20px);
	font-size: 1.2rem;
	background-color: rgb(255, 255, 255);
	padding: 10px;
	border: 1px solid #dddddd;
	border-radius: 2px;
	line-height: 1.5;
	box-shadow: 1px 1px 3px #a08686;
	moz-box-shadow: 1px 1px 3px #a08686;
	-webkit-box-shadow: 1px 1px 3px #a08686;
}
.tags > .tag-box-container > .tag-dropdown-content > .dropdown-holder > .tag-list {
	list-style: none;
	padding-left: 0; 
	margin-top: 0;
	margin-bottom: 0;
}
.tags > .tag-box-container > .tag-dropdown-content > .dropdown-holder > .tag-list > li > a {
	background-color: #f6f6f6;
    border: 1px solid #ddd;
    color: black;
	padding: 0.7rem;
	text-decoration: none;
	display: block;
}
.tags > .tag-box-container > .tag-dropdown-content > .dropdown-holder > .tag-list > li > a:hover {
	background-color: #ddd;
}
.content {
	background-color: #fafafa;
}
.content > .template-box-container {
	width: 80%;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 3rem 0 3rem 0;
}
.content > .template-box-container > .template-box {
	width: 30%;
	margin: 1rem;
	border: 1px solid #dddddd;
	border-radius: 6px;
	-webkit-transition: box-shadow .3s linear;
	transition: box-shadow .3s linear;
	background-color: #ffffff;
}
.content > .template-box-container > .template-box:hover {
	box-shadow: 0 12px 22px 0 rgba(0, 0, 0, 0.24);
	opacity: 1;
	-webkit-transition: box-shadow .3s linear;
	transition: box-shadow .3s linear;
}
.content > .template-box-container > .template-box > a > .template-image-wrapper > img {
	width: 100%;
	border-radius: 6px;
	vertical-align: middle;
}
.content > .template-box-container > .template-box > .template-text {
	background-color: #ffffff;
	padding: 1rem;
	border-radius: 6px;
	line-height: 1.5;
} 
.content > .template-box-container > .template-box > .template-text > a {
	color: #34495e;
	text-decoration: none;
	-webkit-transition: color .3s linear;
	transition: color .3s linear;
}
.content > .template-box-container > .template-box > .template-text > a:hover {
	color: #00c0e7;
}
.content > .template-box-container > .template-box > .template-text > a > h4 {
	font-size: 27px;
	line-height: 32px;
	font-weight: bold;
	margin: 0;
}
.content > .template-box-container > .template-box > .template-text > span {
	color: #34495e;
	font-size: 16px;
}
.content > .template-box-container > .template-box > .template-text > .author > a {
	color: #34495e;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	-webkit-transition: color .3s linear;
	transition: color .3s linear;
}
.content > .template-box-container > .template-box > .template-text > .author > a:hover {
	color: #00c0e7;
}
.content > .template-box-container > .template-box > .template-text > hr {
	margin: 0.5rem 0 0.5rem 0;
	border: 0;
	height: 1px;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
}
.content > .template-box-container > .template-box > .template-text > .tag-box {
	margin: .5rem 0 .5rem 0;
}
.content > .template-box-container > .template-box > .template-text > .tag-box > .tag {
	font-size: 16px;
	font-weight: bold;
	display: inline-flex;
	color: #34495e;
	text-decoration:none;
	margin: .5rem .5rem 0 0;
	border:1px solid #34495e;
	border-radius:6px;
	padding: .3rem .5rem .3rem .5rem;
	-webkit-transition: color .3s linear, border-color .3s linear;
	transition: color .3s linear, border-color .3s linear;
}
.content > .template-box-container > .template-box > .template-text > .tag-box > .tag:hover {
	color: #00c0e7;
	border:1px solid #00c0e7;
}

.navigation {
	text-align: center;
	margin-top: 20px;
}
.navigation > .arrow-prev,
.navigation > .arrow-next {
	display: inline-block;
	vertical-align: top;
	margin-top: .5rem;
	color: #bbbcbc;
	position: absolute;
}
.navigation > .arrow-prev {
	margin-right: 45px;
	left: 42%;
}
.navigation > .arrow-next {
	margin-left: 45px;
	right: 42%;
}

.navigation > .arrow-prev:hover,
.navigation > .arrow-next:hover {
	color: #34495e;
}
.navigation > .nav-pages {
	list-style: none;
	display: inline-block;
	padding-left: 0;
	margin-bottom: 0;
}
.navigation > .nav-pages > .page > a {
	text-decoration: none;
	color: #bbbcbc;
}
.navigation > .nav-pages li {
	color: #bbbcbc;
	display: inline-block;
	width: 15px;
	font-size: 20px;
	margin-right: 5px;
	margin-left: 5px;
}
.navigation > .nav-pages li.active-page {
	color: #34495e;
}
.navigation > a > i {
	margin-top: 5px;
}

#footbar > .site > #footsocials > .follow-title {
	font-size: 18px;
}
#footbar > .site > #footsocials > a {
	width: 80px;
	height: 80px;
	background-size: 36px;
}
#footer > .site > .footlinks > ul {
	margin-left: 0;
}
#footer > .site > .footlinks > ul > li {
	display: inline-block;
	font-size: 17px;
	margin-bottom: 1.5rem;
}
#footer > .site > .footlinks > ul > li > a {
	-webkit-transition: color .3s linear;
	transition: color .3s linear;
}
#footer > .site > .footlinks > ul > li > a:hover {
	color: #34495e;
}
#footer .footlinks li:after {
	content: " \2022";
	padding:0px 3px;
}

#footer .footlinks ul li:last-of-type:after {
    content: "";
}

@media all and (max-device-width: 767px) {
	.main-head > .main-content {
		height: 30rem;
		margin-top: 10px;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.main-head > .main-content > .site > .main > h1 {
		height: auto;
		margin: 0 auto;
		width: 100%;
		font-size: 2rem;
	}
	.main-head > .main-content > .site {
		width: 100%;
	}
	.main > .description {
		margin-top: 10px;
		width: 100%;
		max-width: 22rem;
	}
	.instruction {
		height: 160px;
	}
	.instruction > p {
		margin: 40px auto;
		line-height: 1.5;
		width: 100%;
		font-size: 1rem;
	}
	.content > .template-box-container {
		margin: unset;
		width: 86%;
	}
	#templates > .template-box-container > .template-box {
		width: 90%;
		padding: 0;
		margin: 2rem auto 2.5rem;
		height: 600px;
	}
	#templates > .template-box-container > .template-box > a > .template-image-wrapper {
		height: 320px;
	}
	.content > .template-box-container > .template-box > .template-text {
		padding: 0 1rem;
	}
	.content > .template-box-container > .template-box > .template-text > a > h4 {
		font-size: 1.5rem;
		line-height: 30px;
		margin-bottom: 1.5rem;
		padding-top: 2rem;
	}
	.content > .template-box-container > .template-box > .template-text > span,
	.content > .template-box-container > .template-box > .template-text > .author > a {
		font-size: 1rem;
	}
	.content > .template-box-container > .template-box > .template-text > .tag-box {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		line-height: 1rem;
	}
	.content > .template-box-container > .template-box > .template-text > .tag-box > .tag {
		font-size: 1rem;
		margin: .5rem 1.5rem .5rem 0;
		padding: .5rem 1rem .5rem 1rem;
	}
	.navigation > .arrow-prev {
		left: 10%;
	}
	.navigation > .arrow-next {
		right: 10%;
	}
	.navigation > .nav-pages li {
		font-size: 30px;
		width: 30px;
		margin-right: 10px;
		margin-left: 10px;
	}
	.content {
		width: 100%;
		display: flex;
		justify-content: center;
	}
	.main {
		width: 100%;
	}
	#tags{
		width: 100%;
		height: 150px;
		height: 4rem;
		align-items: center;
		justify-content: space-between;
		display: flex;
	}
	#tags > .tag-box-container {
		height: 100%;
		width: 75%;
		display: flex;
		justify-content: space-between;
	}
	#tags > .tag-box-container > .tag-dropdown-content {
		height: 100%;
		width: 100%;
	}
	#tags > .tag-box-container > .tag-dropdown-content > #tagInput {
		height: 50%;
		font-size: 1rem;
	}
	.navigation {
		width: 100%;
	}
	#footbar {
		width: 100%;
	}
	#footer {
		width: 100%;
	}
	.tags > .tag-box-container > .tag-dropdown-content > input {
		padding: 0 10px;
	}
	.content > .template-box-container > .template-box > .template-text > span, .content > .template-box-container > .template-box > .template-text > .author > a {
		font-size: 1rem;
	}
	#nav-toggle span {
		height: .2rem;
	}
	#nav-toggle {
		width: 30px;
		height: 21px;
		top: 28px;
		right: -71px;
	}
	#top-menu-holder > #top-menu > .site > #nav-toggle {
		height: 45px;
	}
	#top-menu-holder > #top-menu > .site > #logo svg {
		display: none;
	}
	#footlogo ul {
		padding: 0;
	}
}

@media all and (max-device-width: 1279px) and (min-device-width: 768px) {
	.main-content {
		margin-top: -25px;
	}
	.main > h1 {
		padding: 11vh 0 0 0;
		text-align: center;
		margin: 0 auto;
	}
	.main > .description {
		min-height: 200px;
		margin: 0 auto 30px auto;
		padding-top: 2rem;
		font-size: 20px;
		text-align: center;
	}
	.content > .template-box-container > .template-box {
		width: 45%;
		margin: 1rem 1rem 2rem 1rem;
	}
	.navigation > .arrow-prev {
		left: 39%;
	}
	.navigation > .arrow-next {
		right: 39%;
	}
	.content > .template-box-container {
		width: 100%;
		justify-content: center;
	}
}

@media all and (max-width: 1499px) and (min-width: 1280px) {
	.content > .template-box-container {
		width: 92%;
		max-width: 1170px;
	}
}

@media all and (max-width: 1919px) and (min-width: 1500px) {
	.main-content {
		margin-top: -35px;
	}
	.main > h1 {
		padding-top: 7vh;
		width: 800px;
		max-width: 900px;
		height: auto;
	}
	.main > .description {
		width: 850px;
		min-height: 150px;
		max-width: 900px;
	}
	.instruction > p {
		margin: 15px auto;
	}
	.content > .template-box-container {
		padding: 2.5rem 0 3rem 0;
		max-width: 1170px;
	}
	.content > .template-box-container > .template-box {
		width: 30%;
		margin: 1rem;
	}
}

.content > .template-box-container > .template-box > a > .template-image-wrapper {
    overflow: hidden;
    height: 250px;
}
.dropbtn {
	background-color: #7c8495;
	color: white;
	padding: 8px;
	font-size: 1.2rem;
	border: none;
	cursor: pointer;
	width: 50px;
	height: 45px;
	line-height: 1.5;
	border-radius: 3px;
	margin-top: 2px;
  }

  .dropbtn > * {
	pointer-events: none;
  }
  
  .dropbtn:hover, .dropbtn:focus {
	background-color: #7c8495;
  }
  
  .dropdown {
	position: relative;
	display: inline-block;
	margin-left: 10px;
  }
  
  .dropdown-content {
	display: none;
	position: absolute;
	background-color: #7c8495;
	min-width: 160px;
	overflow: auto;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	border-radius: 3px;
	margin-top: -3px;
  }
  
  .dropdown-content a {
	color: white;;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
  }
  
  .dropdown a:hover {background-color: #ddd;}
  
  .show {display: block;}

  .dropbtn svg {
	  width: 30px;
	  height: 30px;
	  fill: white;
  }
  ul {
	list-style-type: none;
	padding-inline-start: 0;
  }
  li > a
  {
	  color: white;
  }
