/* top header notice */
.header_notice {
	background: red;
	color: #fff;
	font-size: 16px;
}
.header_notice .w3-row {
	max-width: 1200px;
	margin: auto;
	padding: 0 15px;
}
.header_notice .w3-col {
	padding-top: 0;
	padding-bottom: 0;
}
.header_notice .notice_title {
	text-align: center;
}
.header_notice .notice_text {
	display: none;
}
#notice_collapse, #notice_expand {
	float: right;
	cursor: pointer;
	font-size: 20px;
}
#notice_collapse {
	padding-top: 5px;
}

/* title colors */
.ps_title_big a, .ps_title_medium a {
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	margin-left: 5px;
}
.s1c1 a {
	background: rgba(255, 51, 155, 0.5);
	box-shadow: 5px 0 0 rgba(255, 51, 155, 0.5), -5px 0 0 rgba(255, 51, 155, 0.5);
	line-height: 1.24;
}
.s1c2 a {
	background: rgba(51, 205, 51, 0.8);
	box-shadow: 5px 0 0 rgba(51, 205, 51, 0.8), -5px 0 0 rgba(51, 205, 51, 0.8);
}
.s1c3 a {
	background: rgba(0, 174, 255, 0.7);
	box-shadow: 5px 0 0 rgba(0, 174, 255, 0.7), -5px 0 0 rgba(0, 174, 255, 0.7);
}
.s2c1 a {
	background: rgba(238, 131, 51, 0.6);
	box-shadow: 5px 0 0 rgba(238, 131, 51, 0.6), -5px 0 0 rgba(238, 131, 51, 0.6);
	line-height: 1.24;
}
.s2c2 a {
	background: rgba(204, 38, 11, 0.5);
	box-shadow: 5px 0 0 rgba(204, 38, 11, 0.5), -5px 0 0 rgba(204, 38, 11, 0.5);
}
.s2c3 a {
	background: rgba(255, 192, 0, 0.7);
	box-shadow: 5px 0 0 rgba(255, 192, 0, 0.7), -5px 0 0 rgba(255, 192, 0, 0.7);
}
.s2c4 a {
	background: rgba(44, 100, 78, 0.7);
	box-shadow: 5px 0 0 rgba(44, 100, 78, 0.7), -5px 0 0 rgba(44, 100, 78, 0.7);
}
.s2c5 a {
	background: rgba(255, 10, 135, 0.7);
	box-shadow: 5px 0 0 rgba(255, 10, 135, 0.7), -5px 0 0 rgba(255, 10, 135, 0.7);
}

/* ------------ Modal (Image Viewer) ----------- */
#myImg {
  cursor: pointer;
  transition: 0.3s;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

/* --------------- Gallery Archive --------- */
.gallery-arch-thumb {
	padding: 5px;
	background: #000;
}
.gallery-arch-thumb img {
	padding: 5px;
	background: #000;
}
.galleryPagination {
	background: #f1f1f1;
}
.galleryPagination span, .galleryPagination a {
	padding: 5px;
	border: 1px solid #bbb;
	margin-right: 5px;
}
.galleryPagination span.current {
	background: green;
	color: #fff;
}

/* --------------- Slider ------------- */
/* Slideshow container */
.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
  cursor: pointer;
  height: 575px;
  overflow: hidden;
  background: #aaa;
}

.mySlides {
	width: 100%;
	height: 575px;
}

.gallery-thumb-container {
	background: #3c3c3c;
	padding: 10px !important;
	height: 605px;
	overflow: hidden;
}

img.gallery-small-thumb {
	border: 1px solid #555;
	margin-bottom: 5px;
	margin-top: 5px;
}
.gallery-thumb-title {
	color: #ccc;
	line-height: 1.3;
	display: block;
	font-size: 12px;
	margin-bottom: 5px;
	height: 48px;
	overflow: hidden;
}

/* Caption text */
.slideTitle {
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  padding: 8px 12px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  text-align: left;
  text-shadow: 2px 2px 2px black;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .8) 100%);
}
.slideTitle a {
	color: #f4c408;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .slideTitle {font-size: 11px}
}

/* ---- Poll ---- */
.poll_archive .question {
	font-size: 18px;
	color: #006699;
	margin-bottom: 5px;
}
.poll_archive .poll_single {
	margin-bottom: 20px;
	padding: 10px;
	box-shadow: 0px 0px 5px #888888;
}
.poll_archive .date {
	color: #566b52;
	margin-bottom: 5px;
}
.poll_archive .total_count {
	color: red;
	margin-bottom: 5px;
}
table.bar_chart {
	border-spacing: 0;
	border-collapse: collapse;
}
table.bar_chart tr td {
	border-top: 1px solid #ddd;
}
.voteProgress {
    width: 100%;
    background-color: #ddd;
}
.progressBar {
    height: 20px;
    background-color: #b97e56;
}
.poll_archive .footer {
	text-align: center;
}
a.nav_link {
	background-color: #812C3D;
	width: 50px;
	cursor: pointer;
	padding: 5px 20px;
	line-height: 1.5;
	border-radius: 3px;
	color: #fff;
}
.pagination {
	text-align: center;
}
.pagination span, .pagination a.inactive {
	border: 1px solid #ccc;
	padding: 3px 10px;
	margin-right: 10px;
}
.pagination span.current {
	background: green;
	color: #fff;
}

.poll_title {
	background-color: #E18719;
	padding: 10px 10px;
	margin-bottom: 0px;
	color: #FFF;
	border: 1px solid #E18719;
	font-size: 18px;
	text-align: center;
}
.poll_body {
	background: #e9e9e9;
    padding: 10px;
}
.poll_form {
	background: #ccc;
	padding: 10px;
}
.poll_form .left {
	width: 49%;
	float: left;
	text-align: left;
}
.poll_form .right {
	width: 49%;
	float: right;
}
.poll_form .btn_submit {
	background-color: #E18719;
	border-color: #E18719;
	padding: 5px;
	color: #fff;
	width: 100%;
	margin-bottom: 15px;
}
.poll_form a.btn_result {
	background-color: #fff;
	border-color: #E18719;
	padding: 5px;
	color: #E18719;
	width: 100%;
	display: block;
	text-align: center;
}
.poll_footer {
	text-align: center;
	background: #e9e9e9;
    padding: 10px;
}

/* ----------- */
#theme-header {
	background: #f1f1f1;
}

.main_date {
	text-align: center;
	padding: 5px;
	color: green;
	font-size: 14px;
}

.stream-item {
    margin: 0;
}

.slide-img .post-thumb {
    height: 150px;
    overflow: hidden;
}

slide-img .post-thumb img {
    min-height: 150px;
}

img.fill {
	width: 100%;
	min-height: 350px;
}

img.fill2 {
	width: 100%;
	min-height: 200px;
}

img.fill3 {
	width: 100%;
	min-height: 300px;
}

img.fill4 {
	width: 100%;
	min-height: 130px;
}

img.fill5 {
	width: 100%;
	min-height: 175px;
}

img.small {
	width: 100px;
	min-height: 77px;
	float: left;
	margin-right: 10px;
}

.medium_thumb {
	height: 180px;
	overflow: hidden;
}

.medium_thumb2 {
	height: 130px;
	overflow: hidden;
}

.big_thumb {
	height: 300px;
	overflow: hidden;
}

.w3-col {
	padding: 5px;
}

.thumb_wrap {
	position: relative;
}

.big_date {
	color: #fff;
	font-size: 14px;
}

.ps_big, .ps_big3 {
	width: 100%;
	height: 350px;
	overflow: hidden !important;
	cursor: pointer;
	position: relative;
}

.ps_big2 {
	width: 100%;
	height: 480px;
	overflow: hidden;
	cursor: pointer;
	position: relative;
}

.ps_title_big {
	text-shadow: 2px 2px 2px black;
	padding: 10px 5px;
	font-size: 24px;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .5) 100%);
}

.ps_title_big2 {
	padding: 10px 5px;
	font-size: 20px;
}


.ps_title_big2 a {
	color: #000;
}

.ps_medium {
	width: 100%;
	height: 175px;
	overflow: hidden;
	cursor: pointer;
	position: relative;
}

.ps_medium2 {
	width: 100%;
	height: 170px;
	overflow: hidden;
	cursor: pointer;
	position: relative;
}

.ps_title_medium {
	text-shadow: 2px 2px 2px black;
	padding: 10px 5px;
	font-size: 22px;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .8) 100%);
}

.ps_small {
	height: 78px;
	overflow: hidden;
	background: #f1f1f1;
}

.ps_title_small {
	font-size: 16px;
}

.ps_title_small a {
	color: #000;
}

.ps_title_big a, .ps_title_medium a {
	color: #fff;
}

.ps_cat_head {
	background: #f1f1f1;
	padding-top: 6px;
}

.ps_cat_head span {
	font-size: 22px;
	padding: 5px 10px;
	color: #fff;
}

.ps_list {
	padding: 5px 0px;
	border-top: 1px dotted #808080;
}

.ps_excerpt {
	font-size: 17px;
	padding: 0px 5px;
	text-align: justify;
	position: relative;
}

.ps_card {
	background: #f1f1f1;
	height: 255px;
}

.ps_card2 {
	background: #f1f1f1;
	height: 232px;
}

.ps_title_card {
	font-size: 20px;
	padding: 10px 5px;
}

.ps_title_card a {
	color: #000;
}