@font-face {
  font-family: Roboto-Regular;
  src: url('../public/fonts/Roboto/Roboto-Regular.ttf'); 
}

@font-face {
  font-family: Roboto-Medium;
  src: url('../public/fonts/Roboto/Roboto-Medium.ttf'); 
}

@font-face {
  font-family: Roboto-Bold;
  src: url('../public/fonts/Roboto/Roboto-Bold.ttf'); 
}

@font-face {
  font-family: Roboto-Black;
  src: url('../public/fonts/Roboto/Roboto-Black.ttf'); 
}

@font-face {
  font-family: Lato-Regular;
  src: url('../public/fonts/Lato/Lato-Regular.ttf'); 
}

*::-webkit-scrollbar {
  height: 7px;
  width: 7px;
}
*::-webkit-scrollbar-track {
  border-radius: 6px;
  background-color: #e3e3e3;
}

*::-webkit-scrollbar-track:hover {  
  background-color: #cccccc;
}

*::-webkit-scrollbar-track:active {
  background-color: #e3e3e3;
}

*::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #5b970e;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #76bb1e;
}

*::-webkit-scrollbar-thumb:active {
  background-color: #76bb1e;
}

body {
	height: auto;
}

hr {
        border: none;
        border-top: 1px solid #76bb1e;
    }	

.main {
	width: 100%;
	height: 100%;
}

.dark {
	background-color: #000003;
	color: #fff;
}

.dark-m {
	background-color: #313131;
}

.dark a{
	color: #fff;
}

.light {
	background-color: #e3e3e3;
	color: #333333;
}

.light-m {
	background-color: #f1f1f1;
}

.light a{
	color: #333333;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #76bb1e;
}

input:focus + .slider {
  box-shadow: 0 0 1px #76bb1e;
}

.switch-icons {
	font-size:1.6rem;
	margin-left: 15px;
}

.switch-icons-l {
	font-size:1.6rem;
	margin-right: 15px;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.main-section {
	width: 100%;
	height: 100%;
}


.main-nav {
	width: 100%; 
	border: 2px solid;
	border-color: #76bb1e;
	border-radius: 9px; 
	margin: 15px 15px 15px 5px;
}

.main-logo {
	margin-top: 25px;
	text-align: center;
	
}

.main-logo img {
	border-radius: 6px;
	width: 50%;
    height: auto;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.menu {
	margin-top: 1.6rem;
}

.menu-link {
	margin-right: 3.5rem;
	margin-top: 25px !important;
}

.menu-link a{
	font-size: 1.2rem;
	font-weight: 500;
}

.menu-link span{
	margin-right: 0.6rem;
}

.menu-link a:hover {
  color: #76bb1e;
}

.menu-link-nav {
	margin-right: 0.8rem;
}

.menu-link-nav a{
	font-size: 1.2rem;
	font-weight: 500;
}

.menu-link-nav a:hover {
  color: #76bb1e;
}

.info-block {
	border: 2px solid;
	border-color: #76bb1e;
	border-radius: 9px;
	width: 100%;
	margin: 0.2rem;
}

.item-blocks-list {
	margin-top: 1.5rem;
}

.img-item {
	width: 100%;
	border-radius: 6px;
}

.img-item:hover{
	border-radius: 9px;
	box-shadow: #76bb1e 6px 2px 16px 0px, rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
}

.category-block{
	display: flex;
}

.main-category{
	width: 100%;
	padding: 5px 15px 15px 15px;
}	

.category{
	width: 100%;
	overflow-x: auto;
}

.category-title{
	font-size: 1.6rem;
	font-weight: 600;
	margin: 15px 15px 15px 15px;
}

.category-title:hover {
  color: #76bb1e;
}

.item-title{
	font-size: 1.1rem;
	font-weight: 400;
}

.item-title:hover {
  color: #76bb1e;
}

.btn-m{
	background-color: #76bb1e;
}

.btn-m:hover{
	background-color: #5b970e;
}

.btn-m-current{ 
	background-color: #ccc;
}

.btn-m-current:hover{
	background-color: #e3e3e3;
}

.item-rights{
	font-size: 0.7rem;
}

.item-rights:hover {
  color: #76bb1e;
}

.article-category{
	font-size: 0.8rem;
}

.article-category:hover {
  color: #76bb1e;
}

.article-date{
	font-size: 0.8rem;
}



.tags-title{
	font-size: 1.5rem;
	font-weight: 600;
}

.tags-badge {
	color: #e3e3e3;
	background-color: #76bb1e;
	padding: 10px;
}

@media (min-width: 980px) {
	.main-nav{
		display: none;
	}
	
	.item-blocks {
		width: 25%;
		margin: 7px;
		font-size: 24px;
		flex-shrink: 0;
		overflow: hidden; 
	}

	.main-block {
		width: 100%; 
		height: 92%; 
		overflow-y: auto;
		border: 2px solid;
		border-color: #76bb1e;
		border-radius: 9px; 
		margin: 15px 15px 15px 15px;
	}
	
}

@media (max-width: 979px) {
	.right-bar{
		display: none;
	}
	.item-blocks {
		width: 25%;
		margin: 7px;
		font-size: 24px; 
	}

	.main-block {
		width: 100%; 
		height: auto;
		border: 2px solid;
		border-color: #76bb1e;
		border-radius: 9px; 		
		margin: 15px 15px 15px 15px;
	}
	
}

@media (max-width: 540px) {
	.right-bar{
		display: none;
	}
	.item-blocks {
		width: 55%;
		margin: 7px;
		font-size: 24px;
		flex-shrink: 0;
		overflow: hidden; 
	}	
}