:root {
  --first: #0073B5;
  --second: #CC0000;
  --third: #232323;
  --content: #232323;
  --instagram: #E1306C;
  --telegram: #0088cc;
  --facebook: #3b5998;
  --twitter: #1DA1F2;
  --vk: #4c75a3;
  --youtube: #FF0000;
  --rss: #ee802f;
}

@font-face {
    font-family: 'Ubuntu Regular';
    src: url('fonts/Ubuntu-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 12px 0;
	background-color: #EAEAEA;
	font-family: 'Ubuntu Regular';
	opacity: 1 !important;
}

@media (max-width: 1200px) {
	body {
		padding: 0;
	}
}

.content {
	font-size: 16px;
	line-height: 24px;
	color: var(--content);
}

.content p {
	padding: 0;
	margin: 12px 0 0 0;
}

.content p:first-child {
	margin: 0;
}

.content .gallery {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-column-gap: 10px;
	grid-row-gap: 1em;
	margin: 20px 0 0 0;
}

@media screen and (max-width: 1200px) {
	.content .gallery {
		grid-template-columns: repeat(5, 1fr);
	}
}

@media screen and (max-width: 992px) {
	.content .gallery {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media screen and (max-width: 768px) {
	.content .gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}

.content .gallery div:first-child {
	margin-left: 0;
}

.content .gallery div img {
	transition: all 0.3s ease;
}

.content .gallery div img:hover {
	transform: scale(1.25);
}

.responsive-iframe,
.responsive-video,
.responsive-object,
.responsive-embed {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background-color: #000;
	background-size: cover;
}

.responsive-image img {
	width: 100%;
}

.responsive-iframe iframe, 
.responsive-video video, 
.responsive-object object, 
.responsive-embed embed {
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%;
	min-height: 100%;
	height: auto;
}

.aspect-raito {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	overflow: hidden;
}

.aspect-raito img {
	height: 100%;
	object-fit: cover;
	position:  absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.w1-h1 {
	padding-top: 100%; /* 1:1 Aspect Ratio */
}

.w3-h2 {
	padding-top: 66.66%; /* 3:2 Aspect Ratio */
}

.w4-h3 {
	padding-top: 75%; /* 4:3 Aspect Ratio */
}

.w16-h9 {
	padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.w16-h10 {
	padding-top: 62.5%; /* 16:10 Aspect Ratio */
}

.w21-h9 {
	padding-top: 42.85%; /* 16:10 Aspect Ratio */
}

.banner-468х60 {
	width: 468px;
	height: 60px;
	background-color: #eceeef;
	box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
	display: inline-block;
	text-align: center;
	line-height: 60px;
	text-decoration: none;
}

.banner-468х60:before {
	content: "468х60";
	font-weight: bold;
	color: #777777;
	font-size: 16px;
}

.banner-300x250 {
	width: 300px;
	height: 250px;
	background-color: #eceeef;
	box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
	display: inline-block;
	text-align: center;
	line-height: 250px;
	text-decoration: none;
}

.banner-300x250:before {
	content: "300x250";
	font-weight: bold;
	color: #777777;
	font-size: 16px;
}

.wrapper {
	max-width: 1200px;
	margin: 0 auto;
	background-color: #FFFFFF;
	box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
	padding: 0 10px;
}

@media (max-width: 576px) {
	.wrapper {
		padding: 0;
	}
}

.grid {
	display: grid;
	grid-column-gap: 15px;
	grid-row-gap: 25px;
}

.widget h3 {
	border-bottom: 5px solid var(--first);
	font-size: 18px;
	padding: 0;
	margin: 0 0 15px 0;
}

.widget h3 span {
	background-color: var(--first);
	color: #FFF;
	display: inline-block;
	line-height: 28px;
	padding: 5px 15px 0 15px;
}

#masthead {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

#masthead .date {
	line-height: 38px;
	color: var(--third);
	padding: 0 15px;
	font-size: 14px;
	white-space: nowrap;
}

#masthead .latest {
	line-height: 38px;
	margin: 0 15px;
	font-size: 14px;
	flex-grow: 1;
	min-width: 320px;
	display: flex;
	overflow: hidden;
	height: 38px;
	position: relative;
	color: var(--third);
}

@media (max-width: 768px) {
	#masthead .latest {
		min-width: 290px;
	}
}

#masthead .latest-text {
	font-weight: bold;
	white-space: nowrap;
}

#masthead .latest-news {
	margin-left: 15px;
	white-space: nowrap;
}

#masthead .latest-news > div {
	position: absolute;
}

#masthead .latest-news a {
	color: var(--first);
	text-decoration: none;
}

#masthead .latest-news a:hover {
	color: var(--second);
}

#masthead .social {
	padding: 0 15px;
	line-height: 38px;
	display: flex;
	white-space: nowrap;
}

#masthead .social a {
	font-size: 6px;
	margin-left: 5px;
}

#masthead .social a:first-child {
	margin-left: 0;
}

#masthead .social a:hover {
	color: var(--second);
}

#masthead .social a .fa-stack {
	width: 2em;
}

#masthead .social .twitter {
	color: var(--twitter);
}

#masthead .social .facebook {
	color: var(--facebook);
}

#masthead .social .telegram {
	color: var(--telegram);
}

#masthead .social .vk {
	color: var(--vk);
}

@media (max-width: 992px) {
	#masthead .social {
		clear: both;
	}
}

#header {
	display: flex;
	flex-wrap: wrap;
}

@media (max-width: 768px) {
	#header {
		align-items: center;
		justify-content: center;
	}
}

#header .logo {
	height: 100px;
	width: 100px;
	background: url(images/logo.png);
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
	margin: 0 15px;
	padding: 15px 0;
}

#header .slogan {
	margin: 0 15px;
	padding: 15px 0;
	color: var(--third);
}

@media (max-width: 576px) {
	#header .slogan {
		text-align: center;
	}
}

#header .slogan h1 {
	padding: 0;
	margin: 0;
	font-size: 28px;
}

#header .slogan h1 a {
	color: var(--first);
	text-decoration: none;
}

#header .slogan h1 a:hover {
	color: var(--second);
}

#header .slogan p {
	margin: 5px 0 0 0;
	font-size: 16px;
}

#header .banner {
	flex-grow: 1;
	margin: 0 15px;
	padding: 15px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 576px) {
	#header .banner {
		display: none;
	}
}

#header .qrcode {
	margin: 0 15px;
	padding: 15px 0;
}

@media (max-width: 1200px) {
	#header .qrcode {
		display: none;
	}
}

#topnav {
	background-color: var(--third);
	display: flex;
	line-height: 48px;
}

@media (max-width: 992px) {
	#topnav {
		display: block;
	}
}

#topnav .tools {
	display: flex;
}

#topnav .tools a {
	display: block;
	color: #FFF;
	height: 48px;
	width: 48px;
	text-align: center;
	text-decoration: none;
	font-size: 20px;
}

#topnav .tools a:hover {
	background-color: var(--second);
}

#topnav .tools label {
	color: #FFF;
	height: 48px;
	width: 48px;
	text-align: center;
	text-decoration: none;
	font-size: 20px;
}

#topnav .tools label:hover {
	background-color: var(--second);
	cursor: pointer;
}

#topnav-toggle {
	display: none;
}

#topnav-toggle:checked ~ .menu {
	display: flex;
}

@media (max-width: 992px) {
	#topnav-toggle:checked ~ .menu {
		display: block;
	}
}

#topnav-button {
	display: none;
}

@media (max-width: 992px) {
	#topnav-button {
		display: block;
	}
}

#topnav .menu {
	display: flex;
	padding: 0;
	margin: 0;
	flex-grow: 1;
	text-transform: uppercase;
}

@media (max-width: 992px) {
	#topnav .menu {
		display: none;
	}
}

#topnav .menu li {
	display: block;
	padding: 0;
	margin: 0;
	list-style-type: none;
}

#topnav .menu li a {
	color: #FFF;
	height: 48px;
	padding: 0 15px;
	text-decoration: none;
	font-size: 16px;
	display: block;
}

#topnav .menu li a:hover {
	background-color: var(--second);
	cursor: pointer;
}

#main {
	display: flex;
}

@media (max-width: 768px) {
	#main {
		display: block;
	}
}

#primary {
	flex-grow: 1;
	padding: 25px 15px;
}

@media (max-width: 576px) {
	#primary {
		padding: 15px;
	}
}

#primary .breadcrumbs ul {
	line-height: 28px;
	list-style: none;
	background-color: #eceeef;
	font-size: 14px;
	padding: 5px 15px;
	margin: 0;
}

#primary .breadcrumbs ul::after {
	display: block;
	content: "";
	clear: both;
}

#primary .breadcrumbs ul li {
	float: left;
	padding-right: 0.5rem;
}

#primary .breadcrumbs ul li + li::before {
	display: inline-block;
	padding-right: 0.5rem;
	color: #777777;
	content: ">";
}

#primary .breadcrumbs ul li a {
	color: var(--first);
	text-decoration: none;
}

#primary .breadcrumbs ul li a:hover {
	color: var(--second);
}

#primary .breadcrumbs ul li a.active {
	color: #232323;
}

.item {
	display: flex;
}

.item .featured {
	width: 100%;
	margin-right: 15px;
}

.item .featured img {
	transition: all 0.3s ease;
}

.item .featured img:hover {
	transform: scale(1.25);
}

.item .entry {
	flex-grow: 1;
	padding-right: 15px;
}

.item .entry .title h2 {
	line-height: 24px;
	font-size: 20px;
	color: var(--content);
	padding: 5px 15px;
	border-left: 5px solid var(--first);
	margin: 0;
	font-weight: normal;
}

.item .entry .title a {
	text-decoration: none;
}

.item .entry .title a:hover h2 {
	color: var(--second);
}

.item .entry .meta {
	padding-top: 15px;
}

.item .entry .meta ul {
	margin: 0;
	padding: 0;
	overflow: auto;
}

.item .entry .meta ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	float: left;
	margin-right: 15px;
	font-size: 13px;
	color: #777777;
}

.item .entry .meta ul  li i {
	padding-right: 8px;
}

.item .entry .description p {
	font-size: 16px;
	line-height: 24px;
	color: var(--content);
}

#primary .blog .item {
	display: block;
}

#primary .blog .item .title {
	margin-top: 15px;
}

#primary .journal {
	display: grid;
	grid-row-gap: 25px;
}

#primary .journal .item {
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 10%);
}

#primary .journal .item .featured {
	max-width: 320px;
}

#sidebar {
	padding: 25px 15px;
}

@media (max-width: 768px) {
	#sidebar {
		padding: 0 15px 25px 15px;
	}	
}

@media (max-width: 576px) {
	#sidebar {
		padding: 15px;
	}
}

#sidebar .grid {
	width: 300px;
}

@media (max-width: 768px) {
	#sidebar .grid {
		width: auto;
	}
}

#footer {
	background-color: var(--third);
}

#footer .copyright {
	color: #FFF;
	padding: 0 15px;
}

#footer .copyright a {
	color: #FFF;
	text-decoration: none;
	font-size: 16px;
	line-height: 48px;
}

#footer .copyright a:hover {
	color: var(--second);
}

#scroll-up {
	bottom: 20px;
	position: fixed;
	right: 20px;
	opacity: 0.5;
	filter:alpha(opacity=50);
}

#scroll-up i {
	font-size: 40px;
	color: #289dcc;
	padding: 10px;
}

#scroll-up:hover {
	opacity: 1;
	filter:alpha(opacity=100);
}

.glowing-button {
    position: relative;
    display: inline-block;
    padding: 15px 20px;
    color: var(--first);
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    letter-spacing: 4px;
    overflow: hidden;   
}

.glowing-button:hover {
    background: var(--first);
    color: #FFF;
}

.glowing-button span{
    position: absolute;
    display: block;
}

.glowing-button span:nth-child(1){
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,transparent,var(--first));
    animation: glowing-animate1 1s linear infinite;
}

@keyframes glowing-animate1{
    0%{
        left: -100%;
    }
    50%,100%{
        left: 100%;
    }
}

.glowing-button span:nth-child(2){
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,transparent,var(--first));
    animation: glowing-animate2 1s linear infinite;
    animation-delay: 0.25s;
}

@keyframes glowing-animate2{
    0%{
        top: -100%;
    }
    50%,100%{
        top: 100%;
    }
}

.glowing-button span:nth-child(3){
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg,transparent,var(--first));
    animation: glowing-animate3 1s linear infinite;
    animation-delay: 0.50s;
}

@keyframes glowing-animate3{
    0%{
        right: -100%;
    }
    50%,100%{
        right: 100%;
    }
}

.glowing-button span:nth-child(4){
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg,transparent,var(--first));
    animation: glowing-animate4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes glowing-animate4{
    0%{
        bottom: -100%;
    }
    50%,100%{
        bottom: 100%;
    }
}