@import url(reset.css);

/* --------------- Подключения шрифтов ---------*/

/*@font-face{  

	font-family: 'MyriadProRegular';

	src: url('../fonts/MyriadProRegular.ttf');

	src: url('../fonts/MyriadProRegular.ttf') format('truetype');

	font-weight: normal;

	font-style: normal;
}*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

/* --------------- Подключения шрифтов ---------*/


/* --------------- базовые настройки ---------*/

body {
	color: #606060;
	font-size: 1em; 
	font-family: 'Open Sans', sans-serif;
}

a, a:visited {
	color: #339933;
	text-decoration: underline;
}
a:hover {
	color: #339933;
	text-decoration:none;
}
a:focus, a:active {
	color: #339933;
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6{
	font-weight:normal;
}

img{
	max-width:100%;
}

.clr{
	clear:both;
}
.clearfix:after {
    clear: both;
    content: "";
    display: table;
}

/* --------------- /базовые настройки ---------*/


/* Шапка сайта - начало */

body > header{
	background: #292929;
	position: relative;
}

body > header::before{
	content: '';
	position: absolute;
	width: 100%;
	height: 6px;
	background: #1e1e1e;
	left: 0;
	bottom: 0;
	z-index: 1;
}

	header > .center-block-main{
		max-width: 980px;
		margin: 0 auto;
		overflow: hidden;
	}

		header > .center-block-main .logo{
			margin: 46px 0 0 0;
		}

			header > .center-block-main > nav{
				float: right;
			}

				header > .center-block-main > nav > ul{
					font-weight: 600;
					overflow: hidden;
					position: relative;
					z-index: 2;	
				}

					header > .center-block-main > nav > ul li{
						float: left;
					}

						header > .center-block-main > nav > ul li a{
							display: block;
							padding: 50px 32px;
							border: solid #1e1e1e;
							border-width: 0 0px 6px 1px;
							color: #fff;
							text-decoration: none;
							letter-spacing: 0.065em;
							transition: all 0.15s;
						}

						header > .center-block-main > nav > ul li a:hover{
							border-bottom: 6px solid #339933;
							color: #339933;
						}

						header > .center-block-main > nav > ul li:last-child a{
							border-right: 1px solid #1e1e1e;
						}

/* Шапка сайта - конец */

/* Основной контент - начало */

main{
	max-width: 980px;
	margin: 0 auto;
	overflow: hidden;
	border: solid #e1e0e0;
	border-width: 0 1px 0 1px;
}

	/* Статьи - начало */
	.content{
		margin: 80px 0 0 0;
		float: left;
		width: 63.16%;
	}

		.content article{
			margin: 0 0 80px 0;
		}

			.content article header{
				position: relative;
				overflow: hidden;
			}

				.content article header img{
					width: 100%;
				}

				.content article header p{
					width: 100%;
					padding: 15px;
					box-sizing: border-box;
					background: rgba(0,0,0,0.4);
					position: absolute;
					bottom: -70px;
					left: 0;
					color: #fff;
					font-size: 0.87em;
					letter-spacing: 0.07em; 
					transition: bottom 0.5s;
				}

				.content article header:hover p{
					bottom: 0px;
				}

			.content article h2{
				font-weight: 600;
				font-size: 1.75em;
				letter-spacing: 0.0357em;
				text-transform: uppercase;
				color: #4f4e4e;
				margin: 10px 0 45px 20px;
			}

			.content article > p{
				margin: 0 0 20px 20px;
				line-height:1.4;
				letter-spacing: 0.03em;
			}

			.content article > a{
				display: inline-block;
				margin: 0 0 0 20px;
				padding: 8px 15px;
				border: 2px solid #c2c2c2;
				border-radius: 20px;
				color: #c2c1c1;
				text-decoration: none;
				letter-spacing: 0.03em;
				transition: all 0.15s;
			}

			.content article > a:hover{
				border: 2px solid #339933;
				color: #339933;
			}
	/* Статьи - конец */

	/* Сайдбар - начало */
	main > aside{
		margin: 80px 0 0 0;
		float: right;
		width: 28.57%;
	}

		aside > section{
			margin: 0 0 65px 0;
			overflow: hidden;
		}
			aside > section > h3{
				background: #f8f8f8;
				border-left: 3px solid #58c93a;
				padding: 15px 20px 18px 20px;
				margin: 0 0 20px 0;
				font-weight: 600;
				text-transform: uppercase;
				color: #6c6969;
				letter-spacing: 0.06em;
			}

			/* -------------1---------------- */
				aside > section .search{
					width: 100%;
					border: solid #e1e0e0;
					border-width: 1px 0 1px 1px;
					padding: 0 18px;
					font-size: 0.75em;
					line-height: 48px;
					font-family: 'Open Sans', sans-serif;
					color: #b9b9b9;
				}

				aside > section .search:focus{
					color: #000;
				}
			/* -------------1---------------- */

			/* -------------2---------------- */
			aside > section .categories{
				margin: 0 0 0 18px;
				list-style-type: none;
			}
				aside > section .categories li{
					margin: 0 0 8px 0;
					letter-spacing: 0.04em;
				}
			/* -------------2---------------- */

			/* -------------3---------------- */
			aside > section .form_email{
				position: relative;
				height: 55px;
			}
				aside > section .form_email > .email{
					position: absolute;
					width: 100%;
					padding: 0 55px 0 15px;
					border: solid #e1e0e0;
					border-width: 1px 0 1px 1px;
					box-sizing: border-box;
					font-size: 0.75em;
					line-height: 48px;
					font-family: 'Open Sans', sans-serif;
					color: #b9b9b9;
				}

				aside > section .form_email > .email:focus{
					color: #000;
				}
				aside > section .form_email > .sab_image{
					position: absolute;
					top: 14px;
					right: 20px;
				}
			/* -------------3---------------- */

			/* -------------4---------------- */

			/* -------------4---------------- */
	/* Сайдбар - конец */

	/* Постраничная навигация - начало */
	.pager{
		border-top: 1px solid #e1e0e0;
		padding: 33px 23px;
		overflow: hidden;
	}
		.pager span{
			font-weight: 600;
			font-size: 1.125em;
			text-transform: uppercase;
			letter-spacing: 0.05em;
		}

		.pager span:first-child{
			float: left;
		}

		.pager span:last-child{
			float: right;
		}

			.pager span a{
				color: #818181;
				text-decoration: none;
			}

			.pager span a:hover{
				text-decoration: underline;
			}
	/* Постраничная навигация - конец */

/* Основной контент - конец */

/* Подвал - начало */
body > footer{
	background: #f8f8f8;
	border-top: 1px solid #e1e0e0;
}
	
	footer > .center-block-main{
		max-width: 980px;
		margin: 0 auto;
		padding: 75px 0 155px 0;
		overflow: hidden;
		text-align: center;
	}

		footer .center-block-main .logo_footer{
			margin: 0 0 25px 0;
		}

		footer .center-block-main p{
			color: #a6a6a6;
			font-size: 0.8125em;
		}
			footer .center-block-main p a{
				text-decoration: none;
			}

			footer .center-block-main p a:hover{
				text-decoration: underline;
			}
/* Подвал - конец */


/* Адаптив - начало */

	/* от 600 до 768 - Start */

	@media screen and (min-width:600px) and (max-width:768px){
		
		/* Шапка сайта - начало */

		header > .center-block-main .logo{
			margin: 22px 0 0 0;
		}

		header > .center-block-main > nav > ul li a{
			padding: 30px 22px;
		}

		/* Шапка сайта - конец */

		/* Статьи - начало */

		.content{
			margin: 30px 0 0 0;
			float: none;
			width: 100%;
			box-sizing: border-box;
		}

			.content article{
				margin: 0 0 50px 0;
			}

			.content article h2{
				margin: 10px 10px 30px 10px;
			}

			.content article > p{
				margin: 0 10px 20px 10px;
				line-height:1.3;
			}

			.content article > a{
				margin: 0 10px;
				padding: 8px 15px;
			}

		/* Статьи - конец */

		/* Сайдбар - начало */
		
		main > aside{
			margin: 30px 0 0 0;
			float: none;
			width: 100%;
			box-sizing: border-box;
		}

			aside > section{
				margin: 0 0 30px 0;
			}

			aside > .banner{
				text-align: center;
			}

			aside > .banner img{
				margin: 10px 0 40px 0;
			}

		/* Сайдбар - конец */

		/* Подвал - начало */
		
		footer > .center-block-main{
			padding: 60px 0 80px 0;
		}

		/* Подвал - конец */
		
	}

	/* от 600 до 768 - End */

	/* от 480 до 599 - Start */

	@media screen and (min-width:480px) and (max-width:599px){
		
		/* Шапка сайта - начало */

	
			header > .center-block-main .logo{
				display: block;
				margin: 10px auto 10px auto;
			}
	
				header > .center-block-main > nav{
					float: none;
				}
	
					header > .center-block-main > nav > ul{
						width: 100%;
						box-sizing: border-box;
					}
	
						header > .center-block-main > nav > ul li{
							float: left;
							width: 25%;
						}
	
							header > .center-block-main > nav > ul li a{
								padding: 15px 0;
								text-align: center;
								border-width: 1px 0 6px 1px;
							}

		/* Шапка сайта - конец */

		/* Статьи - начало */

		.content{
			margin: 20px 0 0 0;
			float: none;
			width: 100%;
			box-sizing: border-box;
		}

			.content article{
				margin: 0 0 50px 0;
			}

			.content article h2{
				margin: 10px 10px 30px 10px;
			}

			.content article > p{
				margin: 0 10px 20px 10px;
				line-height:1.3;
			}

			.content article > a{
				margin: 0 10px;
				padding: 8px 15px;
			}

		/* Статьи - конец */

		/* Сайдбар - начало */
		
		main > aside{
			margin: 30px 0 0 0;
			float: none;
			width: 100%;
			box-sizing: border-box;
		}

			aside > section{
				margin: 0 0 30px 0;
			}

			aside > .banner{
				text-align: center;
			}

			aside > .banner img{
				margin: 10px 0 40px 0;
			}

		/* Сайдбар - конец */

		/* Постраничная навигация - начало */

		.pager{
			padding: 23px 13px;
		}
			.pager span{
				font-size: 1.1em;
			}
				
		/* Постраничная навигация - конец */

		/* Подвал - начало */
		
		footer > .center-block-main{
			padding: 40px 0 60px 0;
		}

			footer .center-block-main p{
				line-height: 1.5;
			}

		/* Подвал - конец */
		
	}

	/* от 480 до 599 - End */

	/* от 320 до 479 - Start */

	@media screen and (min-width:320px) and (max-width:479px){
		
		/* Шапка сайта - начало */

	
			header > .center-block-main .logo{
				display: block;
				margin: 10px auto 10px auto;
			}
	
				header > .center-block-main > nav{
					float: none;
				}
	
					header > .center-block-main > nav > ul{
						width: 100%;
						box-sizing: border-box;
					}
	
						header > .center-block-main > nav > ul li{
							float: left;
							width: 25%;
						}
	
							header > .center-block-main > nav > ul li a{
								padding: 10px 0;
								text-align: center;
								letter-spacing: 0.05em;
								border-width: 1px 0 6px 1px;
							}

		/* Шапка сайта - конец */

		/* Статьи - начало */

		.content{
			margin: 20px 0 0 0;
			float: none;
			width: 100%;
			box-sizing: border-box;
		}

			.content article{
				margin: 0 0 50px 0;
			}

			.content article h2{
				margin: 10px 10px 30px 10px;
			}

			.content article > p{
				margin: 0 10px 20px 10px;
				line-height:1.3;
			}

			.content article > a{
				margin: 0 10px;
				padding: 8px 15px;
			}

		/* Статьи - конец */

		/* Сайдбар - начало */
		
		main > aside{
			margin: 30px 0 0 0;
			float: none;
			width: 100%;
			box-sizing: border-box;
		}

			aside > section{
				margin: 0 0 30px 0;
			}

			aside > .banner{
				text-align: center;
			}

			aside > .banner img{
				margin: 0 0 30px 0;
			}

		/* Сайдбар - конец */

		/* Постраничная навигация - начало */

		.pager{
			padding: 23px 13px;
		}
			.pager span{
				font-size: 1.1em;
			}
				
		/* Постраничная навигация - конец */

		/* Подвал - начало */
		
		footer > .center-block-main{
			padding: 30px 0 50px 0;
		}

			footer .center-block-main p{
				line-height: 1.5;
				margin: 0 10px;
			}

		/* Подвал - конец */
		
	}

	/* от 320 до 479 - End */

	/* от 200 до 319 - Start */

	@media screen and (min-width:240px) and (max-width:319px){
		
		/* Шапка сайта - начало */

	
			header > .center-block-main .logo{
				display: block;
				margin: 10px auto 10px auto;
			}
	
				header > .center-block-main > nav{
					float: none;
				}
	
					header > .center-block-main > nav > ul{
						width: 100%;
						box-sizing: border-box;
					}
	
						header > .center-block-main > nav > ul li{
							float: left;
							width: 50%;
						}
	
							header > .center-block-main > nav > ul li a{
								padding: 10px 0;
								text-align: center;
								letter-spacing: 0.05em;
								border-width: 1px 0 6px 1px;
								font-size: 0.75em;
							}

								header > .center-block-main > nav > ul li:nth-child(-n+2) a{
									border-width: 1px 0 1px 1px;
								}

		/* Шапка сайта - конец */

		/* Статьи - начало */

		.content{
			margin: 10px 0 0 0;
			float: none;
			width: 100%;
			box-sizing: border-box;
		}

			.content article{
				margin: 0 0 30px 0;
			}

			.content article h2{
				margin: 10px 10px 20px 10px;
				font-size: 1.2em;
			}

			.content article > p{
				margin: 0 10px 20px 10px;
				font-size: 0.85em;
				line-height:1.2;
			}

			.content article > a{
				display: block;
				margin: 0 10px;
				border: 2px solid #c2c2c2;
				border-radius: 0;
				text-align: center;
			}

		/* Статьи - конец */

		/* Сайдбар - начало */
		
		main > aside{
			margin: 10px 0 0 0;
			float: none;
			width: 100%;
			box-sizing: border-box;
		}

			aside > section{
				margin: 0 0 20px 0;
			}

				aside > section > h3{
					padding: 10px 20px 13px 20px;
					margin: 0 0 20px 0;
					font-size: 0.85em;
					letter-spacing: 0.06em;
				}

					aside > section .search{
						padding: 0 18px;
						line-height: 38px;
					}

					aside > section .categories li{
						margin: 0 0 8px 0;
						font-size: 0.85em;
					}

				aside > section .form_email{
					height: 40px;
				}
					aside > section .form_email > .email{
						line-height: 38px;
					}

					aside > section .form_email > .sab_image{
						top: 8px;
					}

			aside > .banner{
				text-align: center;
			}

			aside > .banner img{
				margin: 0 0 20px 0;
				width: 80%;
			}

		/* Сайдбар - конец */

		/* Постраничная навигация - начало */

		.pager{
			padding: 10px 5px;
		}
			.pager span{
				font-size: 0.75em;
			}
				
		/* Постраничная навигация - конец */

		/* Подвал - начало */
		
		footer > .center-block-main{
			padding: 15px 0 20px 0;
		}

			footer .center-block-main .logo_footer{
				margin: 0 0 10px 0;
			}

			footer .center-block-main p{
				line-height: 1.3;
				margin: 0 5px;
			}

		/* Подвал - конец */
		
	}

	/* от 320 до 479 - End */

/* Адаптив - конец */


