@charset "UTF-8";

* {
	box-sizing: border-box;
	margin: 0;
}

html {
	font-size: 16px;
}

body {
	background-image: url(../img/background.jpg);
	background-attachment: fixed;
	background-size: 50% 50%;
}

#banner_popup {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: rgba(255, 128, 128, 0.3);
	z-index: 1;
}

#banner_popup.hide {
	opacity: 0;
	pointer-events: none;
	transition: opacity 3s;
}

#banner_popup #banner_popup_delete {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 30px;
	color: #ffffff;
	background-color: #ff5050;
	cursor: pointer;
}

.nav {
	width: 100%;
	background: linear-gradient(#ffffff, #ffe5e5);
	box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.nav ul {
	display: flex;
	align-items: center;
	list-style: none;
	border-bottom: 1px dotted #303030;
	padding: 0;
}

.nav ul li {
	flex: 1;
}

.nav ul li a {
	display: block;
	color: #3030c0;
	text-align: center;
	text-decoration: none;
	transition: background 0.5s;
	padding: 0.3rem 0;
}

.nav ul li a::before {
	content: "";
	display: inline-block;
	width: 1rem;
	height: 1rem;
	background-image: url("../img/nav_before.png");
	background-repeat: no-repeat;
	background-size: cover;
}

.nav ul li a:hover {
	background: rgba(255, 200, 200, 0.8);
}

.banner_728_90 {
	display: flex;
	justify-content: center;
	padding: 0.6rem 0;
}

#container {
	max-width: 1200px;
	margin: 0 auto;
}

header {
	width: 100%;
}

header #title {
	width: 100%;
}

header #title a {
	text-decoration: none;
}

header #title a h2 {
	display: flex;
	align-items: center;
	color: #f58686;
	background: linear-gradient(#ffffff, #ffe5e5);
	font-size: 1.3rem;
	text-shadow: 1px 1px 6px rgba(255,255,255,1);
	box-shadow: 0 2px 6px rgba(0,0,0,0.4);
	padding: 1rem;
}

header #title a img {
	display: block;
	width: 100%;
	box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

#main {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
	margin: 0.3rem 0;
}

#main #side-cta-wrap {
	width: 25%;
}

#main #side-cta {
	width: 100%;
	background-color: #ffffff;
	box-shadow: 0 2px 6px rgba(0,0,0,0.4);
	border: 1px dotted #303030;
}

#main #side-cta h2 {
	text-align: center;
	color: #303030;
	background: linear-gradient(#ffffff, #d0d0e0);
	font-size: 1rem;
	box-shadow: 0 2px 6px rgba(0,0,0,0.4);
	border-radius: 0.3rem;
	padding: 0.3rem;
}

#main #side-cta .post {
	position: relative;
	width: 100%;
	height: 180px;
	border: #ffffff solid 2px;
	border-radius: 0.3rem;
	overflow: hidden;
}

#main #side-cta .post img {
	object-fit: cover;
}

#main #side-cta .post img:hover {
	opacity: 0.7;
}

#main #side-cta .post .text {
	position: absolute;
	bottom: 0;
	left: 0;
	text-align:center;
	width: 100%;
	height: calc(2rem * 0.9 * 1.5);
	color: #ffffff;
	background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.9));
	font-size: 0.9rem;
	line-height: 1.5;
	font-weight: 700;
	text-shadow: 1px 1px #303030,1px -1px #303030,-1px 1px #303030,-1px -1px #303030;
	padding: 0 0.3rem;
}

#main #side-cta .box {
	width: 100%;
	padding: 0.5rem;
}

#main #side-cta .box form {
	width: 100%;
}

#main #side-cta .box form select {
	width: 100%;
	height: 2.5rem;
	font-size: 1rem;
	border-radius: 0.3rem;
}

#main #content {
	width: 74%;
	background-color: #f5f5f5;
	box-shadow: 0 2px 6px rgba(0,0,0,0.4);
	border: 2px solid #303030;
}

#main #content .rss {
	width: 100%;
	background-color: #ffffff;
	border-bottom: #303030 dotted 1px;
	padding: 0.3rem 0.6rem;
}

#main #content .rss p {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#main #content .rss p::before {
	content: "";
	display: inline-block;
	width: 1rem;
	height: 1rem;
	background-image: url("../img/rss_before.png");
	background-repeat: no-repeat;
	background-size: cover;
}

#main #content #primary {
	width: 100%;
	padding: 0.3rem 0.6rem;
}
