
body {
	font-size: 14px;
	max-width: 480px;
	min-width: 380px;
	-webkit-text-size-adjust: 100%;
}

h2.subtitle {
	font-size: 24px;
}

h2.img {
	font-size: 26px;
}

.df {
	display: none;
}

.sp {
	display: inline;
}

div.sp {
	display: block;
}

img.spwideimg {
	height: auto;
	width: 100%;
}

span.img-left,
span.img-right {
	display: block;
	float: none;
	margin: 0;
	padding-bottom: 10px;
	text-align: center;
}

p.spjustify {
	text-align: justify;
}

a.link-btn,
div.page span.next a,
div.page a.next {
	background-position: right 15px center;
	display: block;
	line-height: 1.5em;
	margin: 5px 0;
	padding: 10px 35px 10px 30px;
	text-align: center;
}

a.link-btn:hover,
div.page span.next a:hover,
div.page a.next:hover {
	background-position: right 10px center;
}

a.link-btn-prev,
div.page span.prev a,
div.page a.prev {
	background-position: left 15px center;
	display: block;
	margin: 5px 0;
	padding: 10px 30px 10px 35px;
	text-align: center;
	text-align: center;
}

a.link-btn-prev:hover,
div.page span.prev a:hover,
div.page a.prev:hover {
	background-position: left 10px center;
}

/***********************************************************************/

table.list-table th {
	display: block;
	padding: 10px;
	white-space: normal;
	width: auto;
}

table.list-table td {
	border: none;
	display: block;
	padding: 10px 15px 20px 15px;
}

table.list-table td table th {
	display: table-cell;
	padding: 5px;
}

table.list-table td table td {
	border-bottom: 1px solid #d2d2d2;
	border-top: 1px solid #d2d2d2;
	display: table-cell;
	padding: 5px;
}

div.news {
	display: block;
}

div.news div.title {
	width: auto;
}

div.news ul.news-list {
	padding-left: 0;
	width: auto;
}

/***********************************************************************/

table.form-table tr {
	display: block;
	position: relative;
}

table.form-table th {
	border: none;
	display: block;
	padding: 10px 20px;
	text-align: left;
	width: auto;
}

table.form-table td {
	border: none;
	clear: both;
	display: block;
	line-height: 1.5em;
	margin-bottom: 15px;
	padding: 10px 20px;
}

table.form-table td.m {
	background-color: #7dbc76;
	border: none;
	display: block;
	float: right;
	height: 30px;
	padding: 2px;
	position: absolute;
	right: 10px;
	top: 5px;
	width: 30px;
}

table.form-table td.m span {
	display: table-cell;
	font-size: 12px;
	line-height: 1em;
	vertical-align: middle;
}

table.form-table td input.size500,
table.form-table td input.size400,
table.form-table td input.size300,
table.form-table td input.size200,
table.form-table td textarea {
	width: 95%;
}

table.form-table td table th,
table.form-table td table td {
	display: table-cell;
}

input.submit {
	display: block;
	font-size: 20px;
	margin: 0 auto;
	padding: 20px 0;
	width: 90%;
}

body#form p.error {
	padding: 30px 20px;
}

body#form table.form-table th {
	padding: 8px 20px;
}

body#form table.form-table td {
	padding: 10px 20px 20px 20px;
}

/***********************************************************************/

ul.news-list li a {
	background-position: right 20px center;
	flex-wrap: wrap;
	padding: 15px 50px 15px 30px;
}

ul.news-list li a:hover {
	background-position: right 15px center;
}

ul.news-list li a span.date {
	width: 100px;
}

ul.news-list li a span.category {
	margin-right: 0;
	width: auto;
}

ul.news-list li a strong {
	display: block;
	margin-top: 10px;
	width: 100%;
}

p.category span a,
ul.news-list li a span.category span,
ul.footercategory span a {
	width: 85px;
}

div.page a.next {
	display: inline;
	padding: 8px 50px 8px 30px;
}

div.page a.prev {
	display: inline;
	padding: 8px 30px 8px 50px;
}

body#archive h1 {
	font-size: 22px;
}

body#single h1 {
	background-image: none;
	font-size: 22px;
	line-height: 1.5em;
	padding-top: 20px;
}

body#single div.body {
	border: 3px solid #f8f0e3;
	padding: 10px 20px;
	width: auto;
}

body#single div.body h2 {
	font-size: 120%;
}

body#single div.body figure {
	height: auto;
	margin: 10px 0;
	padding: 0;
	width: auto;
}

body#single div.body figure img {
	height: auto;
	width: 100%;
}

body#single div.body figure figcaption {
	font-size: 14px;
	line-height: 1.5em;
}

/***********************************************************************/

header {
	border-width: 5px;
	padding: 12px 0 10px 0;
}

#header {
	display: flex;
	justify-content: space-between;
	padding-top: 0;
	position: relative;
	width: 100%;
}	

#header-logo {
	margin-left: 20px;
}

#header-logo img {
	width: 180px;
}

#hamburger {
	display: block;
	height: 50px;
	position: absolute;
	right: 0;
	top: -8px;
	width: 50px;
	z-index: 999;
}

#hamburger:hover {
	cursor: pointer;
	opacity: .7;
}

#hamburger span,
#hamburger span:before,
#hamburger span:after {
	background: #24ac74;
	display: block;
	height: 3px;
	position: absolute;
	transition-duration: .3s;
	transition-property: transform;
	width: 30px;
}

#hamburger span {
	right: 0;
	top: 50%;
	transform: translate( -50%, -50% );
}

#hamburger span:before {
	content: "";
	transform: translateY( -10px ) rotate( 0deg );
}

#hamburger span:after {
	content: "";
	transform: translateY( 10px ) rotate( 0deg );
}

#hamburger.open span {
	background: transparent !important;
}

#hamburger.open span:before {
	transform: rotate( 45deg ) !important;
}

#hamburger.open span:after {
	transform: rotate( -45deg ) !important;
}

nav#globalnav {
	background-color: white;
	border-top: 1px solid #24ac74;
	box-shadow: 0 2px 3px 1px #bfbfbf;
	display: none;
	margin-right: 0;
	padding: 0;
	position: absolute;
	top: 48px;
	width: 100%;
	z-index: 5;
}

nav#globalnav ul {
	display: block;
	padding-top: 0;
}

nav#globalnav ul li {
	border-left: none;
	display: block;
	text-align: center;
}

nav#globalnav ul li {
	background-color: #24aa74;
	border-bottom: 1px solid #24ac74;
	display: block;
	padding: 0;
}

nav#globalnav ul li a {
	background: white url(images/link_btn_gray.svg) no-repeat right 20px center;
	background-size: 15px;
	display: block;
	padding: 12px 0;
}

nav#globalnav ul li:last-child {
	background-color: white;
}

nav#globalnav ul li:last-child a,
nav#globalnav ul li:last-child a:hover {
	background-position: center top 3px;
	border-radius: 0;
	margin-left: 0;
	padding: 25px 0 10px 0;
}

nav#globalnav ul li a:hover {
	background-position: right 15px center;
	opacity: .6;
	transition: all .3s;
}

#title {
	background-size: cover;
	padding: 40px 0 20px 0;
}

#title h1 {
	font-size: 32px;
	font-weight: 500;
	line-height: 1em;
}

#title h1 em {
	font-size: 14px;
	padding-top: 10px;
}

#title-s {
	background-size: cover;
}

#title-s h1 {
	font-size: 35px;
}

#title-s h1 a {
	font-size: 18px;
}

#title-s h1 strong {
	font-size: 38px;
}

#title-news {
	background-size: cover;
	padding: 10px 0 5px 0;
}

#title-news p {
	font-size: 26px;
}

#title-news p a em {
	font-size: 14px;
}

div.main,
div.main-s,
div.spmain {
	padding: 0 15px;
	width: auto;
}

nav#footernav {
	display: block;
	padding: 0;
}

nav#footernav ul {
	display: block;
	padding: 0;
	width: auto;
}

nav#footernav ul:first-child {
	border-bottom: none;
	padding-right: 0;
	width: 100%;
}

nav#footernav ul li {
	background-color: white;
	border: none;
	border-bottom: 1px solid white;
	display: block;
	padding: 0;
}

nav#footernav ul li a {
	background: #24aa74 url(images/link_btn.svg) no-repeat right 20px center;
	background-size: 15px;
	display: block;
	font-size: 14px;
	padding: 13px 0;
	text-align: center;
}

nav#footernav ul li a:hover {
	background-position: right 15px center;
}

nav#footernav ul li ul {
	display: block;
	margin: 0;
	padding: 0;
}

nav#footernav ul li ul li,
nav#footernav ul li ul li:last-child {
	border-top: 1px solid #84b698;
	display: block;
}

nav#footernav ul li ul li a {
	padding: 7px 0;
}

nav#footernav ul li ul li a::before {
	content: "";
	margin-right: 0;
}

nav#footernav ul li ul li a {
	background-image: none;
}

#footer {
	display: block;
	padding: 30px 0 0 0;
	text-align: center;
	width: 100%;
}

#footer h3 {
	margin: 0 auto;
	width: 260px;
}

#footer h3 img {
	height: auto;
	width: 100%;
}

#footer address {
	border: none;
	line-height: 1.5em;
	margin: 0;
	padding: 10px 0;
}

p#footer-contact {
	margin-bottom: 0;
}

p#footer-contact a {
	margin: 0 10px;
	padding: 12px 40px 12px 20px;
}

p#copyright {
	font-size: 11px;
	line-height: 1.5em;
	padding: 15px 0;
}

#pagetop {
	right: 10px;
}

#pagetop a {
	background-position: center top 10px;
	background-size: 9px;
	font-size: 12px;
	margin-bottom: -18px;
	padding: 25px 0 10px 0;
	width: 50px;
}

#pagetop a:hover {
	background-position: center top 5px;
}
