/*
Theme Name: Bitstarz Blog
Theme URI: https://www.bitstarz.com/blog/
Author: bitstarz.com
Author URI: https://www.bitstarz.com/blog/
Description: Updated by Webprogramer
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: https://www.bitstarz.com/blog/
Tags:
*/
.cookie-popup, .cookie-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-popup {
    position: fixed;
    bottom: 48px;
    min-height: 40px;
    z-index: 101;
    background: #fafafa;
    color: #000;
    font-size: 16px;
	border: 1px solid #cfcfcf;
    border-radius: 25px;
    padding: 0 10px;
}

.cookie-popup__inner {
    display: flex;
	padding: 5px;
	text-align: center;
	line-height: 1.4;
}

.cookie-popup a {
    color: #4fa053;
    font-weight: 300;
    transition: color .3s ease;
    text-decoration: underline;
}

.cookie-popup__close--icon {
    margin-left: 10px;
    cursor: pointer;
}

.cookies-policy__button {
	margin-left: 0;
	padding: 0;
	background-color: transparent;
	border-radius: 0;
}

.cookies-policy__button:hover {
    background-color: transparent;
}

#cookies-policy.is-hidden {
    display: none;
}

[class*="b-icon"]::before, [class^="b-icon"]::before {
    font-family: icon;
    font-style: normal;
    font-weight: 300;
    display: inline-block;
    text-decoration: inherit;
    text-align: center;
    font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    color: #d5d5d5;
}

.cookie-popup__close--icon::before {
    content: "\e81d";
}

.hnav>li:first-child a {
	color: #fff;
	padding: 10px;
	background-color: #4fa053;
}

.hnav>li:first-child:hover>a {
	color: #4fa053;
	background-color: #fff;
}

.list-news__content p+p {
	display: block;
}

#related_posts_thumbnails {
	align-items: stretch;
	border-top: transparent;
}

#related_posts_thumbnails a {
	display: inline-block;
	color: #000;
	text-align: left;
}

#related_posts_thumbnails a + a {
	padding: 0 20px;
	color: #000;
	text-align: left;
	font-size: 16px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

#related_posts_thumbnails img {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.relpost-thumb-wrapper #related_posts_thumbnails li:hover {
	background-color: #fafafa;
}

#related_posts_thumbnails li:hover span {
	text-decoration: none;
}

#related_posts_thumbnails li span {
	display: inline-block;
	padding: 0;
}

#related_posts_thumbnails .rpth_list_content b {
	display: inline-block;
	margin-bottom: 5px;
}

.relpost-thumb-wrapper #related_posts_thumbnails li {
	padding: 0;
	border-radius: 5px;
	box-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.hidden-sm {
	display: none;
}

#main.site-main {
	padding-bottom: 20px;
}

#main .list-news {
	margin: 0;
}

#main .list-news + .list-news {
	margin-top: 7px;
}

.sm-wrapper .elm-wrapper {
	margin: -18px 0 0;
}

.footer-socials a.footer-vimeo {
	background-color: #00aef0;
}

.footer-socials .footer-vimeo:before {
    content: '\f27d';
    font-family: 'Font Awesome 5 Brands';
    font-size: 30px;
    font-size: 3rem;
    line-height: 54px;
    color: #fff;
    vertical-align: middle;
    margin-top: 5px;
    text-shadow: 3px 3px 12px rgba(0,0,0,0.3);
}

.footer-socials a.footer-vimeo:hover {
    opacity: 1;
}

@media only screen and (max-width: 767px) {
	#main {
		background-color: #e8eaed;
	}
	
	.list-news {
		padding: 0;
		background-color: #fff;
		border-radius: 10px;
		box-shadow: 0 0 5px rgba(0,0,0,.2);
	}
	
	.list-news__content {
		padding: 20px;
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 10px;
	}
	
	.list-news .list-news__link {
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
	}
	
	.list-news h2 {
		font-size: 22px;
		line-height: 1;
		text-transform: none;
	}
	
	.sm-wrapper .elm-wrapper {
		margin-top: 0;
	}
	
	.hidden-sm {
		display: block;
	}
	
	.hidden-xs {
		display: none;
	}
}

@media only screen and (max-width: 991px) {
	.list-news .list-news__link {
		height: auto;
		margin-bottom: 0;
	}
	
	.list-news .list-news__link img {
		display: block;
		object-fit: initial;
	}
	
	#related_posts_thumbnails {
		flex-direction: column;
		align-items: flex-start;
		align-items: center;
		border-top: none;
	}
	
	.relpost-thumb-wrapper #related_posts_thumbnails li {
		float: none;
		width: 100%;
		flex-direction: column;
		flex-wrap: nowrap;
		border-radius: 10px;
	}
	
	#related_posts_thumbnails li + li {
		margin-top: 20px;
	}
	
	#related_posts_thumbnails a + a {
		padding: 10px;
	}
	
	#related_posts_thumbnails .rpth_list_content {
		font-size: 15px;
		line-height: 1.5;
	}
	
	#related_posts_thumbnails .rpth_list_content b {
		margin-bottom: 10px;
		color: #c8494a;
		font-family: 'ProximaBold', 'Tahoma', 'Arial', sans-serif;
		font-size: 22px;
		font-weight: 600;
		line-height: 1;
	}
	
	#related_posts_thumbnails img {
		width: auto;
		max-height: 100%;
	}
}
