/*
Theme Name: Plan B
Description: Тема для сайта planbmedia.io
Version: 1.0
License: GNU General Public License, version 3 (GPLv3)
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
*/

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

body{
	font-family: 'Rubik';
}

a{
	text-decoration: none;
}

menu ul{
	padding: 0;
	margin: 0;
}

menu a:hover, menu ul.pages a:hover{
	color: #ec0000;
	transition: 0.4s;
}

menu ul.pages a{
	color: #888;
}

menu ul.pages a.alarm{
	color: #ec0000;
}
menu ul.pages a.alarm:hover{
	opacity: 0.6;
	transition: 0.4s;
}

.header{
	border-bottom: 1px solid #e7e7e7;
}

@media(min-width:992px){
	header{
		padding: 25px 0;
		margin-bottom: 35px;
	}
	menu{
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	menu ul, menu ul li{
		display: inline;
	}
	menu a{
		text-transform: uppercase;
		font-weight: 700;
		padding: 0 15px;
		color: #000;
		display: inline-block;
	}
	menu li a:after{
		display: block;
		content: '';
		height: 4px;
		width: 0%;
		background-color: #ec0000;
		transition: width .5s ease-in-out;
		margin-top: 7px;
	}

	menu li a:hover:after, menu li a:focus:after{
		width: 100%;
	}
	
}

@media(max-width:992px){
	header{
		padding: 10px 0 20px;
	}
	.logo{
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-bottom: 15px;
	}
	menu{
		padding: 0;
		margin: 20px auto;
	}
	.menu{
		text-align: center;
		display: none;
	}
	menu ul li{
		list-style: none;
		margin-bottom: 15px;
	}
	menu a{
		text-transform: uppercase;
		font-weight: 700;
		padding: 0 15px;
		color: #000;
		line-height: 1.3em;
		font-size: 1.375rem;
	}
	.mobile-menu{
		width: 50px;
		height: 40px;
		cursor: pointer;
		display: inline-block;
		background-repeat: no-repeat;
	}
	.mobile-menu-close{
		background-image: url("img/menu.png");
		background-position: 0px 0px
	}
	.mobile-menu-close:hover{
		background-image: url("img/menu.png");
		background-position: 0px -40px
	}
	.mobile-menu-open{
		background-image: url("img/menu.png");
		background-position: -50px 0px
	}
	.mobile-menu-open:hover{
		background-image: url("img/menu.png");
		background-position: -50px -40px
	}
}

@media(min-width:1200px) and (max-width:1400px){
	menu{
		padding-left: 0;
	}
}
@media(min-width:992px) and (max-width:1200px){
	menu{
		padding-left: 0;
	}
	menu a{
		padding: 0 10px;
		font-size: 0.875rem;
	}
}

.main-section{
	display: flex;
	flex-wrap: wrap;
}

.main-section-category{
	margin-bottom: 15px;
}

.main-section-category a{
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.75rem;
	line-height: 1.3em;
	background-color: #ec0000;
	padding: 1px 6px 2px;
	white-space: nowrap;
}
.main-section-category a:hover{
	transition: 0.4s;
	background-color: #1c1c1c;
}

.main-section-left{
	background-position: center center !important;
	background-size: cover;
}

.main-section-left h3{
	line-height: 1.4em;
}

.main-section a{
	color: #fff;
	font-weight: 700;
	text-shadow: black 0.1em 0.1em 0.3em;
}

.main-section-second{
	background-size: cover;
	background-position: center center !important;
}

.main-section-meta{
	color: #fff;
	text-shadow: #000 1px 0 10px;
	font-size: 1.0rem;
	line-height: 1.3em;
}

.main-section-right h4{
	line-height: 1.4em;
}


@media(min-width: 992px){
	.main-section{
		margin-bottom: 60px;
	}
	.main-section-left{
		flex: 0 0 67%;
		border-right: 5px solid #fff;
		padding: 30px;
		display: flex;
		flex-wrap: wrap;
		align-items: flex-end;
		flex-direction: row;
	}
	.main-section-right{
		flex: 0 0 33%;
	}
	.main-section-left h3{
		margin-bottom: 20px;
	}
	.main-section-second{
		padding: 25% 25px 25px;
		border-bottom: 5px solid #fff;
		display: flex;
		flex-wrap: wrap;
		align-items: flex-end;
		flex-direction: row;
	}
	.main-section-second:last-child{
		border-bottom: none;
	}
	.main-section-right h4{
		font-size: 1.25rem;
	}
}

@media(max-width:992px){
	.main-section{
		margin-bottom: 32px;
	}
	.main-section-left{
		flex: 0 0 100%;
		display: flex;
		border-bottom: 5px solid #fff;
		padding: 20% 30px 30px;
		height: 320px;
		flex-wrap: wrap;
		align-items: flex-end;
		flex-direction: row;
	}
	.main-section-right{
		flex: 0 0 100%;
	}
	.main-section-second{
		padding: 15% 25px 25px ;
		border-bottom: 5px solid #fff;
		height: 280px;
		display: flex;
		flex-wrap: wrap;
		align-items: flex-end;
		flex-direction: row;
	}
	.main-section-second:last-child{
		border-bottom: none;
	}
}

.main-layer-silver{
	background-color: #f7f7f7;
}

.main-layer h2{
	font-weight: 700;
	color: #000;
}

.main-layer-box{
	display: flex;
	flex-wrap: wrap;
}

.main-layer-item a{
	color: #fff;
	text-shadow: black 0.1em 0.1em 0.3em;
	font-weight: 700;
	line-height: 1.3em;
}

.main-layer-item{
	background-size: cover!important;
	background-position: center center !important;
	background-repeat: no-repeat;
	text-align: center;
}

@media(min-width: 992px){
	.main-layer{
		margin-bottom: 25px;
		padding: 15px 0 40px;
	}
	.main-layer h2{
		margin-bottom: 15px;
	}
	.main-layer-item{
		flex: 0 0 33.33333%;
		border-right: 3px solid #fff;
		padding: 7% 25px 3%;
	}
	.main-layer-item:last-child{
		border-right: 0;
	}
	.main-layer-item h4{
		font-size: 1.25rem;
	}
	.main-layer-item:nth-child(n+4){
		display: none;
	}
}

@media(max-width: 992px){
	.main-layer{
		margin-bottom: 25px;
		padding: 10px 0 0;
	}
	.main-layer h2{
		margin-bottom: 10px;
	}
	.main-layer-item{
		flex: 0 0 100%;
		border-bottom: 1px solid #303030;
		padding: 15% 25px 10%;
	}
	.main-layer-item:first-child{
		border-bottom: 0;
	}
	.main-layer-item:nth-child(2){
		border-top: 1px solid #303030;
		margin-top: 25px;
	}
	.main-layer-item:last-child{
		border-bottom: 0;
	}
	.main-layer-item h4{
		font-size: 1.0rem;
	}
	.main-layer-item:nth-child(n+2){
		background: none!important;
		padding: 25px;
	}
	.main-layer-item:nth-child(n+2) h4 a, .main-layer-item:nth-child(n+2) .main-section-meta{
		color: #111;
		text-shadow: #fff 1px 0 10px;
	}
	.main-layer-item:nth-child(n+2) h4 a:hover{
		color: #ec0000;
		transition: 0.4s;
	}
}

footer{
	background-color: #111;
	color: #fff;
}

footer h3{
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.3em;
	font-size: 1.25rem;
}

.footer-post{
	display: flex;
	margin-bottom: 25px;
}
.footer-post:last-child{
	margin-bottom: 0;
}

.footer-post-img{
	flex: 0 0 80px;
	margin-right: 25px;
}

.footer-post-img img{
	width: 80px;
	height: 70px;
	object-fit: cover;
}

.footer-post-content{
	color: #a3a3a3;
}

.footer-post-content a{
	color: #fff;
}

.footer-post-content h4{
	font-weight: 500;
	line-height: 1.3em;
	font-size: 1.0rem;
	margin-bottom: 4px;
}

.footer-post-content span{
	line-height: 1.0em;
	font-size: 0.875rem;
}

footer ul{
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	line-height: 1.3em;
}

footer ul li{
	margin-bottom: 20px;
}
footer ul li:last-child{
	margin-bottom: 0;
}

footer ul li a{
	color: #a3a3a3;
}
footer ul li a:hover{
	transition: 0.4s;
	color: #ec0000;
}

.footer-hr{
	border-bottom: 1px solid #a3a3a3;
}

.footer-social a{
	display: inline-block;
	width: 32px;
	height: 32px;;
	background-color: #282828;
	margin: 0 5px;
	background-image: url("img/social.png");
	background-repeat: no-repeat;
}
.footer-social a:first-child{
	margin-left: 0;
}
.footer-social a:last-child{
	margin-right: 0;
}

.footer-social a.fb{
	background-position: 0px 0px;
}
.footer-social a.fb:hover{
	background-position: 0px -32px;
}

.footer-social a.tw{
	background-position: -32px 0px;
}
.footer-social a.tw:hover{
	background-position: -32px -32px;
}

.footer-social a.ig{
	background-position: -64px 0px;
}
.footer-social a.ig:hover{
	background-position: -64px -32px;
}

.footer-social a.tg{
	background-position: -96px 0px;
}
.footer-social a.tg:hover{
	background-position: -96px -32px;
}

.footer-social a.yt{
	background-position: -128px 0px;
}
.footer-social a.yt:hover{
	background-position: -128px -32px;
}

@media(min-width: 992px){
	footer{
		padding: 80px 0 60px;
	}
	footer h3{
		margin-bottom: 40px;
	}
	.footer-hr{
		margin: 60px 0;
	}
	.footer-credits img{
		margin-bottom: 20px;
	}
	footer ul.footer-pages{
		margin-top: 50px;
	}
}

@media(max-width: 992px){
	footer{
		padding: 0 0 35px;
	}
	footer h3{
		margin-bottom: 25px;
		margin-top: 35px;
	}
	footer ul li{
		display: inline-block;
		white-space: nowrap;
		margin-right: 25px;
	}
	footer ul li:last-child{
		margin-right: 0;
	}
	.footer-hr{
		margin: 30px 0;
	}
	.footer-credits img{
		margin-bottom: 15px;
	}
	footer ul.footer-pages{
		margin-top: 30px;
	}
}

.cat-title h1{
	font-weight: 700;
	line-height: 1.4em;
}

.cat-data{
	display: flex;
	justify-content: space-between;
	align-content: flex-start;
	flex-wrap: wrap;
}

.cat-item-thumbnail{
	padding: 25px;
	height: 270px;
	background-repeat: no-repeat;
	background-size: cover;
}

.cat-item h2{
	font-weight: 700;
	line-height: 1.4em;
	font-size: 1.25rem;
	margin-bottom: 15px;
}

.cat-item h2 a{
	color: #111;
}
.cat-item h2 a:hover{
	color: #ec0000;
	transition: 0.4s;
}

.cat-item-meta{
	color: #a3a3a3;
	font-size: 0.875rem;
	margin-bottom: 10px;
}

@media(min-width:992px){
	.cat-title{
		margin-top: -40px;
	}
	.cat-item{
		flex: 0 0 49%;
		margin-bottom: 45px;
	}
	.cat-item-thumbnail{
		margin-bottom: 30px;
	}
}

@media(max-width:992px){
	.cat-item{
		flex: 0 0 100%;
		margin-bottom: 25px;
	}
	.cat-item-thumbnail{
		margin-bottom: 15px;
	}
}

.sidebar-item:last-child{
	margin-bottom: 0;
}

.sidebar-item h3{
	border-bottom: 2px solid #272727;
	font-size: 0.875rem;
	line-height: 1.3em;
	text-transform: uppercase;
	font-weight: 700;
}

.sidebar-item h3 span{
	color: #fff;
	background-color: #1c1c1c;
	padding: 8px 15px 0;
	display: inline-block;
}
.sidebar-item h3 span::after{
	position: relative;
	display: block;
	bottom: -10px;
	content: '';
	background: url("img/sidebar-label.png") center top no-repeat;
	height: 10px;
}

.sidebar-item a.sidebar-tag{
	margin-right: 2px;
	margin-bottom: 4px;
	padding: 6px 10px;
	color: #fff;
	background-color: #ec0000;
	border: 1px solid #dedede;
	display: inline-block;
	line-height: 1.3em;
	font-size: 0.875rem;
	white-space: nowrap;
	font-weight: 500;
}
.sidebar-item a.sidebar-tag:hover{
	transition: 0.4s;
	background-color: #272727;
}

.sidebar-social{
	margin-bottom: 10px;
}
.sidebar-social:last-child{
	margin-bottom: 0;
}

.sidebar-social a{
	padding: 12px;
	display: flex;
}
.sidebar-social a:hover{
	transition: 0.4s;
	opacity: 0.7;
}

.sidebar-social-logo{
	flex: 0 0 48px;
	height: 48px;
	margin-right: 20px;
	background-color: rgba(0,0,0,0.2);
	background-image: url("img/sidebar-social.png");
	background-repeat: no-repeat;
}

.sidebar-social-content{
	color: #fff;
}

.sidebar-social-content h4{
	line-height: 1.0em;
	font-size: 1.0rem;
	margin-bottom: 14px;
}

.sidebar-social-content h5{
	line-height: 1.0em;
	font-size: 0.875rem;
}

.social-rss{
	background-color: #FA9B39;
}
.social-fb{
	background-color: #3B5998;
}
.social-tw{
	background-color: #00aced;
}
.social-ig{
	background-color: #c50c7b;
}
.social-tg{
	background-color: #007bb6;
}
.social-yt{
	background-color: #dd4b39;
}

.social-rss-logo{
	background-position: 0px 0px;
}
.social-fb-logo{
	background-position: -48px 0px;
}
.social-tw-logo{
	background-position: -96px 0px;
}
.social-ig-logo{
	background-position: -144px 0px;
}
.social-tg-logo{
	background-position: -192px 0px;
}
.social-yt-logo{
	background-position: -240px 0px;
}

@media(min-width:992px){
	.sidebar-item{
		margin-bottom: 50px;
	}
	.sidebar-item h3{
		margin-bottom: 30px;
	}
}

@media(max-width:992px){
	.sidebar-item{
		margin-bottom: 30px;
	}
	.sidebar-item h3{
		margin-bottom: 20px;
	}
}

.sidebar-popular-top{
	padding: 40% 25px 25px;
	background-size: cover;
	margin-bottom: 25px;
	background-position: center center !important;
}

.sidebar-popular-top h4{
	line-height: 1.4em;
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.sidebar-popular-top a{
	color: #fff;
	text-shadow: #000 1px 0 10px;
}

.sidebar-post-meta{
	color: #fff;
	text-shadow: #000 1px 0 10px;
	line-height: 1.3em;
	font-size: 0.75rem;
}

.sidebar-popular{
	display: flex;
	margin-bottom: 20px;
}
.sidebar-popular:last-child{
	margin-bottom: 0;
}

.sidebar-popular-thumbnail{
	flex: 0 0 100px;
	margin-right: 20px;
}

.sidebar-popular-thumbnail img{
	width: 100px;
	height: 80px;
	object-fit: cover;
}

.sidebar-popular-content h4{
	font-size: 0.875rem;
	line-height: 1.3em;
	font-weight: 700;
	max-height: 56px;
	overflow: hidden;
}

.sidebar-popular-content a{
	color: #1c1c1c;
}
.sidebar-popular-content a:hover{
	transition: 0.4s;
	color: #ec0000;
}

.sidebar-popular-meta{
	color: #888;
	font-size: 0.75rem;
}

.single{
	color: #333;
}

.single h1{
	color: #1c1c1c;
	font-weight: 700;
	line-height: 1.3em;
	margin-bottom: 15px;
}

.post-thumbnail img{
	width: 100%;
}

.post-meta{
	color: #888;
	font-size: 0.75rem;
	margin-bottom: 20px;
}

.post-meta a{
	color: #888;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}
.post-meta a:hover{
	transition: 0.4s;
	color: #ec0000;
}

.post-meta span{
	margin-right: 25px;
}
.post-meta span:last-child{
	margin-right: 0;
}

.wp-caption img{
	max-width: 100%;
}

.single p.wp-caption-text{
	font-size: 0.875rem;
}

blockquote{
	text-align: center;
	line-height: 1.5em;
	background-color: #f7f7f7;
}
blockquote:before {
	position: relative;
  	content: '';
  	padding: 8px 25px;

  	color: #fff;
	background: url("img/quotes.png") center center no-repeat #EC0000;
}

.single h2, .single h3{
	font-weight: 700;
	margin: 50px 0 30px;
}

.single ul, .single ol{
	padding-left: 16px;
}

.single ul li, .single ol li{
	margin-bottom: 10px;
}

.single p a, .single blockquote a{
	color: #333;
	text-decoration: underline;
	text-decoration-color: #ec0000;
	text-underline-offset: 0.2em;
}
.single p a:hover, .single blockquote a:hover{
	color: #ec0000;
	text-decoration: none;
	transition: 0.4s;
}

.single-tags span, .single-tags a{
	display: inline-block;
}

.single-tags span{
	color: #fff;
	background-color: #1c1c1c;
	padding: 2px 8px;
	text-transform: uppercase;
	margin-right: 5px;
}

.single-tags{
	margin: 40px 0 50px;
}

.single-tags a{
	color: #1c1c1c;
	border: 1px solid #888;
	padding: 2px 8px;
	margin-right: 5px;
	margin-bottom: 10px;
	white-space: nowrap;
}
.single-tags a:hover{
	color: #fff;
	background-color: #1c1c1c;
	border: 1px solid #1c1c1c;
	transition: 0.4s;
}
.single-tags a:last-child{
	margin-right: 0;
}

@media(min-width: 992px){
	.single{
		padding-bottom: 60px;
	}
	.single h1{
		font-size: 2.0rem;
	}
	.post-thumbnail{
		margin-bottom: 45px;
	}
	.post-thumbnail p{
		font-size: 1.0rem!important;
	}
	.single p, .single ul, .single ol{
		font-size: 1.25rem;
		line-height: 1.5em;
	}
	blockquote{
		font-size: 1.5em;
		padding: 45px 50px 30px;
		margin-top: 60px;
		margin-bottom: 1.0em;
	}
	blockquote::before {
		top: -60px;
	}
	blockquote p{
		font-size: 1.5rem!important;
	}
	.single h2{
		font-size: 1.75rem;
	}
	.single h3{
		font-size: 1.5rem;
	}
}

@media(max-width: 992px){
	.single{
		padding-bottom: 32px;
		font-size: 1.125rem;
	}
	.single h1{
		font-size: 1.75rem;
	}
	.post-thumbnail{
		margin-bottom: 25px;
	}
	.post-thumbnail p{
		font-size: 0.875rem!important;
	}
	blockquote{
		font-size: 1.25em;
		padding: 20px 25px 15px;
		margin-top: 30px;
		margin-bottom: 1.0em;
	}
	blockquote::before {
		top: -30px;
	}
	blockquote p{
		font-size: 1.25rem!important;
	}
	.single h2{
		font-size: 1.375rem;
	}
	.single h3{
		font-size: 1.25rem;
	}
}

.single-related h3{
	border-bottom: 2px solid #272727;
	font-size: 1.125rem;
	line-height: 1.3em;
	text-transform: uppercase;
	font-weight: 700;
}

.single-related h3 span{
	color: #fff;
	background-color: #272727;
	padding: 8px 15px 0;
	display: inline-block;
}
.single-related h3 span:after{
	position: relative;
	display: block;
	bottom: -10px;
	content: '';
	background: url("img/sidebar-label.png") center top no-repeat transparent;
	height: 10px;
}

.single-related-posts{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.single-related-item img{
	width: 100%;
	height: 20vh;
	object-fit: cover;
	margin-bottom: 15px;
}

.single-related-item h4{
	font-weight: 700;
	font-size: 1.125rem;
}

.single-related-item a{
	color: #1c1c1c;
}
.single-related-item a:hover{
	color: #ec0000;
	transition: 0.4s;
}

.single-related-meta{
	font-size: 0.875rem;
	color: #888;
}

@media(min-width: 992px){
	.single-related-item{
		flex: 0 0 32%;
	}
}

@media(max-width: 992px){
	.single-related-item{
		flex: 0 0 100%;
		margin-bottom: 35px;
	}
	.single-related-item:last-child{
		margin-bottom: 0;
	}
}

.searchform{
	margin-bottom: 15px;
	padding-bottom: 20px;
}

input.search-field{
	border: 1px solid #ec0000;
	outline: none;
	color: #272727;
	font-size: 1.125rem;
	line-height: 1.4em;
	padding: 5px 15px;
}

input.search-button{
	color: #fff;
	background-color: #ec0000;
	border: 1px solid #ec0000;
	font-size: 1.125rem;
	line-height: 1.4em;
	padding: 5px 15px;
}
input.search-button:hover{
	transition: 0.4s;
	background-color: #272727;
	border: 1px solid #272727;
}

@media(min-width: 992px){
	input.search-field{
		width: 85%;
	}
}

@media(max-width: 992px){
	input.search-field, input.search-button{
		width: 100%;
	}
}

.privacy-policy{
	position: fixed;
	bottom: 0;
	background-color: #fff;
	width: 100%;
	color: #111;
	border-top: 1px solid #ec0000;
	border-radius: 20px 20px 0 0;
	display: none;
}

.privacy-policy a{
	color: #ec0000;
}
.privacy-policy a:hover{
	color: #111;
	transition: 0.4s;
}

.privacy-policy span{
	background-color: #ec0000;
	border: 1px solid #ec0000;
	display: block;
	text-align: center;
	font-weight: 700;
	padding: 10px 0;
	cursor: pointer;
}
.privacy-policy span:hover{
	transition: 0.4s;
	background-color: #111;
	border: 1px solid #fff;
}

.privacy-policy-button{
	align-self: center;
	color: #fff;
}

@media(min-width: 992px){
	.privacy-policy{
		padding: 20px 0;
		font-size: 1.125rem;
	}
}
@media(max-width: 992px){
	.privacy-policy{
		padding: 10px 0;
		font-size: 1.0rem;
	}
	.privacy-policy-button{
		margin-top: 15px;
	}
}

.single-wrap{
	background-color: #f7f7f7;
	margin-bottom: 1.0em;
	border-radius: 5px;
}
.single-wrap p:last-child{
	margin-bottom: 0;
}

.single-spoiler{
	border: 1px solid #ec0000;
	margin-bottom: 1.0em;
	border-radius: 5px;
}
.single-spoiler-title{
	text-align: center;
	font-weight: 700;
	cursor: pointer;
	background-color: rgba(236, 0, 0, 1.0);
	color: #fff;
}
.single-spoiler-title:hover{
	background-color: rgba(236, 0, 0, 0.8);
	transition: 0.4s;
}

.single-spoiler-title-close span{
	background: url("img/white-label.png") left 6px no-repeat;
	background-size: 8px 14px;
	padding-left: 20px;
}
.single-spoiler-title-open span{
	background: url("img/white-label1.png") left 9px no-repeat;
	background-size: 14px 8px;
	padding-left: 20px;
}

.single-spoiler-content{
	display: none;
}
.single-spoiler-content p:last-child{
	margin-bottom: 0;
}

.single-links{
	margin-bottom: 1.0em;
	border: 1px solid #ec0000;
	border-radius: 5px;
}

.single-links-title{
	font-weight: 700;
	margin-bottom: 10px;
}

.single-links-content a{
	display: table;
	color: #111;
	margin-bottom: 10px;
	text-decoration: underline;
	text-decoration-color: #ec0000;
	text-underline-offset: 0.25em;
}
.single-links-content a:hover{
	color: #ec0000;
	text-decoration: none;
	transition: 0.4s;
}
.single-links-content a:last-child{
	margin-bottom: 0;
}

.single-speaker{
	display: flex;
	margin-bottom: 1.0em;
}

.single-speaker-photo, .single-speaker-info{
	align-self: center;
}

.single-speaker-photo img{
	width: 80px;
	height: 80px;
	border-radius: 40px;
	object-fit: cover;
	margin-right: 20px;
}

.single-speaker-info b{
	display: block;
}

.single-toc{
	margin-bottom: 1.0em;
	border: 1px solid #ec0000;
	border-radius: 5px;
}

.single-toc h4{
	font-weight: 700;
	margin-bottom: 15px;
}

.single-toc ul, .single-toc ul li:last-child{
	margin-bottom: 0;
}

.single-toc ul li{
	list-style-image: url("img/black-label.png");
}
.single-toc ul li:hover{
	cursor: pointer;
	color: #ec0000;
	transition: 0.4s;
	list-style-image: url("img/red-label.png");
}

@media(min-width: 992px){
	.single-wrap{
		padding: 20px;
		font-size: 1.25rem;
	}
	.single-spoiler-title{
		font-size: 1.25rem;
		padding: 10px 0;
	}
	.single-spoiler-content{
		padding: 20px;
		font-size: 1.25rem;
	}
	.single-spoiler-title-close span{
		background: url("img/white-label.png") left 8px no-repeat;
		background-size: 8px 14px;
		padding-left: 20px;
	}
	.single-spoiler-title-open span{
		background: url("img/white-label1.png") left 13px no-repeat;
		background-size: 14px 8px;
		padding-left: 20px;
	}
	.single-links{
		font-size: 1.25rem;
		padding: 20px;
	}
	.single-speaker{
		font-size: 1.125rem;
	}
	.single-toc{
		padding: 20px;
	}
}

@media(max-width: 992px){
	.single-wrap{
		padding: 10px;
		font-size: 1.125rem;
	}
	.single-spoiler-title{
		font-size: 1.125rem;
		padding: 6px 0;
	}
	.single-spoiler-content{
		padding: 10px;
		font-size: 1.125rem;
	}
	.single-spoiler-title-close span{
		background: url("img/white-label.png") left 7px no-repeat;
		background-size: 6px 12px;
		padding-left: 15px;
	}
	.single-spoiler-title-open span{
		background: url("img/white-label1.png") left 10px no-repeat;
		background-size: 12px 6px;
		padding-left: 18px;
	}
	.single-links{
		font-size: 1.15rem;
		padding: 10px;
	}
	.single-speaker{
		font-size: 1.0rem;
	}
	.single-toc{
		padding: 10px;
	}
}

.pagination{
  	display: flex;
	width: 100%;
  	flex-direction: row;
  	align-items: center;
 	justify-content: center;
}

@media(min-width:992px){
	.pagination{
		margin-top: 10px;
		margin-bottom: 30px;
	}
}

@media(max-width:992px){
	.pagination{
		margin: 20px 0;
	}
}

.pagination a, .pagination span{
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000;
	font-weight: 500;
	font-size: 1.25rem;
	line-height: 1.2em;
	width: 40px;
	height: 40px;
	margin: 0 8px;
	border-radius: 20px;
}

.pagination a:hover, .pagination a.next:hover, .pagination a.prev:hover{
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #ec0000;
}

.pagination span.current{
	background-color: #fff;
	border: 1px solid #ec0000;
	cursor: default;
}

.pagination a.next{
	background: url("img/pagination-arrow.svg") center center no-repeat;
	background-size: 16px 14px;
}
.pagination a.prev{
	background: url("img/pagination-arrow.svg") center center no-repeat;
	background-size: 16px 14px;
	transform: rotate(180deg);
}

.single-read-next-news{
	padding: 70px 0 60px;
	margin-bottom: 50px;
	color: #303030;
	text-align: center;
	font-size: 2.0rem;
	font-weight: 700;
	background: url("img/next-news-arrow.png") center bottom no-repeat;
}