body {
	padding: 0;
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	background-color: #ebebeb;
}
a {
	text-decoration: none;
	color: #000;
}
h1, h2, h3, h4, h5, h6, p {
	padding: 0;
	margin: 0;
}
ul, li {
	display: block;
	padding: 0;
	margin: 0;
}
header {
	background: url(../img/header-bg-first.png) no-repeat left top, 
				url(../img/header-bg-after.png) no-repeat 87.5% top;
}
.container {
	width: 1055px;
	margin: 0 auto;
	background: #fff;
	padding: 0 31px;
}
.menu__top h1 {
	color: #fff;
	font-size: 43px;
	padding-top: 28px;
}
.menu__top h1 span:nth-child(odd) {
	background: #00aedb;
}
.menu__top h1 span:nth-child(even) {
	background: #b5da06;
}
.menu__top h1 div {
	display: inline;
}
.menu__top h1 div span {
	padding-top: 10px;
}
.menu__top {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}
.search {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	padding-top: 10px;
}
.search input {
	width: 317px;
	height: 35px;
	outline: none;
	border: 1px solid #e5e5e5;
	transition: all 0.2s ease;
}
.search input:focus {
	border: 1px solid #5261AC;
}
.search .btn__seacrh {
	text-transform: uppercase;
	text-decoration: none;
	font-size: 19px;
	color: #fff;
	background: #00aedb;
	padding: 6px 18px;
	font-weight: bold;
	transition: all 0.2s ease;
}
.btn__seacrh:hover {
	color: #898989;
	background: #C9C9C9;
}
.socials {
	padding-top: 10px;
}
.socials a+a {
	margin-left: 6px; 
}

/* Menu for phones under 520px customize */
.hamburger-menu {
	position: relative;
	z-index: 100;
	display: none;
}
#menu__toggle {
  	opacity: 0;
}

#menu__toggle:checked ~ .menu__btn > span {
  	transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  	top: 0;
  	transform: rotate(0);
}
#menu__toggle:checked ~ .menu__btn > span::after {
  	top: 0;
  	transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  	visibility: visible;
  	left: 0;
}
.menu__btn {
  	display: flex;
  	/*align-items: center;*/
  	/*position: fixed;*/
  	/*top: 20px;*/
  	/*left: 20px;*/
  	width: 26px;
  	height: 26px;
  	cursor: pointer;
  	z-index: 1;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  	display: block;
  	position: absolute;
  	width: 26px;
  	height: 2px;
  	background-color: #616161;
  	transition-duration: .25s;
}
.menu__btn > span::before {
  	content: '';
  	top: -8px;
}
.menu__btn > span::after {
  	content: '';
  	top: 8px;
}
.menu__box {
  	display: block;
  	position: fixed;
  	visibility: hidden;
  	top: 0;
  	left: -100%;
  	width: 300px;
  	height: 100%;
  	margin: 0;
  	padding: 140px 0;
  	list-style: none;
  	background-color: #DFDFDF;
  	background-color: none;
  	box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
  	transition-duration: .25s;
}
.menu__item {
	display: block;
  	padding: 12px 24px;
  	color: #333;
  	font-size: 20px;
  	font-weight: 600;
  	text-decoration: none;
  	transition-duration: .25s;
  	color: #fff;
}
.menu__item:hover {
  	background-color: #CFD8DC;
}

/* Menu for phones under 520px customize */

.menu__bottom ul {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	margin: 20px 0 0 0;
}
.menu__bottom ul li {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
}
.menu__bottom ul a {
	text-decoration: none;
	text-transform: uppercase;
	color: #fff;
}

/* Menu buttons customize */

.btn__socials {
	padding: 7px 20px;
	transition: all 0.2s ease;
}
.btn__socials:hover {
	color: #000;
}
.socials__first {
	background: #00aedb;
}
.socials__second {
	background: #8cc63f;
}
.socials__third {
	background: #5261ac;
}
.socials__fourth {
	background: #00aedb;
}
.socials__fifth {
	background: #f78f1d;
}
.socials__sixth {
	background: #ff0000;
}
.socials__seventh {
	background: #898989;
	width: 100%;
	box-sizing: border-box;
}



.menu__bottom ul li:last-child {
	display: contents;
}
.stories h2 {
	font-size: 19px;
	text-transform: uppercase;
	color: #00aedb;
	margin-bottom: 10px;
}

/* Photos transform in block */

.carousel__image_wrapper {
	overflow: hidden;
	display: inline-block;
	width: 100%;
}
.carousel__image {
	display: block;
	transition: all 0.5s ease;
}
.carousel__image:hover {
	transform: scale(1.1);
}
.carousel__subtitles {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	align-items: center;
	color: #fff;
	text-transform: uppercase;
	padding: 8px 0px 8px 15px;
	transition: all 0.2s ease;
}
.carousel__subtitles:hover {
	color: #000;
}
.carousel__subtitles i {
	padding-right: 8px;
}
.carousel__subtitles_first {
	background: #00aedb;
}
.carousel__subtitles_second {
	background: #f78f1d;
}
.carousel__subtitles_third{
	background: #ec098d;
}
.item p {
	margin-top: 10px;
	margin-bottom: 20px;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.2em;
	color: #6a6666;
}
.owl-carousel {
	position: relative;
}
.disabled {
	display: block !important;
	position: absolute;
	top: 200px;
	left: -20px;
	font-size: 2.5em;
	outline: none;
	border: none;
	display: block;
}
.owl-prev {
	top: 15px;
	position: absolute;
}
.owl-next {
	position: absolute;
	left: 1080px;
	top: 15px;
}
section {
	box-sizing: border-box;
	background: url(../img/section-bg.png) no-repeat 87.5% 25%,
				url(../img/section-bg.png) no-repeat 87.5% 90%;
}
section .container {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
}
.film__description {
	position: relative;
}
.film__description h2 {
	font-size: 35px;
	font-weight: bold;
	width: 650px;
	word-spacing: 0.05em;
}
.film__date {
	position: absolute;
	top: 12px;
	left: -80px;
	color: #fff;
	text-transform: uppercase;
	text-align: right;
	font-weight: bold;
	padding: 0;
	margin: 0;
}
.film__date .film__date_first {
	font-size: 35px;
	background: #f78f1d;
	width: 68px;
	height: 46px;
	padding: 0 13px 0 16px;
}
.film__date .film__date_second {
	font-size: 19px;
	background: #00aedb;
	padding: 0 11px 0 13px;
}
.film__description p {
	font-size: 14px;
	color: #494949;
	margin-top: 10px;
	margin-bottom: 18px;
	text-align: justify;
}
.film__images {
	text-align: center;
	border: 1px solid #bfbfbf;
	padding: 12px;
}
.film__images .film__images_main {
	display: block;
	width: 100%;
}
.film__images_small {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	background: #fafafa;
}
.film__images_small img {
	display: block;
	padding-top: 11px
}
.film__images_small img+img {
	padding: 11px 0 0 11px;
}
.film__info {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	align-items: flex-end;
	font-size: 14px;
	font-weight: lighter;
	margin-top: 10px;
	margin-bottom: 30px;
	color: #6a6666;
}
.film__info .more {
	margin-left: auto;
}
.film__info_comments {
	margin-left: 25px;
}
.film__info_comments i {
	color: #f78f1d;
}
.previous-posts {
	font-size: 15px;
	font-weight: lighter;
	color: #6a6666;
	margin-bottom: 24px;
}
.first-col {
	max-width: 70%;
	box-sizing: border-box;
	margin-bottom: 24px;
	margin-right: 21px;
}
.second-col {
	max-width: 32%;
	box-sizing: border-box;
}
.sidebar__top-stories {
	text-align: left;
}
.main__story {
	display: block;
}
.categories {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	text-transform: uppercase;
	color: #fff;
	font-size: 17px;
	margin-top: 4px;
	margin-right: 31px;
	margin-bottom: 5px;
	max-width: 32%;
	font-weight: bold;
	cursor: pointer;
}
.categories .categories__item:first-child {
	background: #ec098d;
	padding: 8px 12px 8px 15px;
	position: relative;
}
.categories .categories__item:nth-child(2) {
	background: #f78f1d;
	padding: 8px 12px 8px 12px;
	position: relative;
}
.categories .categories__item:last-child {
	background: #00aedb;
	padding: 8px 28px 8px 10px;
	position: relative;
}

/* Tringles customize on hover */

.categories__item_first::after {
	content: '';
	border: 12px solid transparent;
	border-top: 12px solid #ec098d;
   	position: absolute;
   	left: 50%;
   	margin-left: -12px;
   	bottom: -24px;
   	width: 0;
   	margin-bottom: 5px;
   	opacity: 0;
   	transition: all 0.5s ease;
}
.categories__item_first:hover::after {
	opacity: 1;
}
.categories__item_second::after {
	content: '';
	border: 12px solid transparent;
	border-top: 12px solid #f78f1d;
   	position: absolute;
   	left: 50%;
   	margin-left: -12px;
   	bottom: -24px;
   	width: 0;
   	margin-bottom: 5px;
   	opacity: 0;
   	transition: all 0.5s ease;
}
.categories__item_second:hover::after {
	opacity: 1;
}
.categories__item_third::after {
	content: '';
	border: 12px solid transparent;
	border-top: 12px solid #00aedb;
   	position: absolute;
   	left: 50%;
   	margin-left: -12px;
   	bottom: -24px;
   	width: 0;
   	margin-bottom: 5px;
   	opacity: 0;
   	transition: all 0.5s ease;
}
.categories__item_third:hover::after {
	opacity: 1;
}
.stories__info {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	align-items: center;
	margin-top: 19px;
	margin-bottom: 19px;
}
.stories__info_text {
	padding-left: 11px;
}
.stories__info_text h4 {
	font-size: 15px;
	color: #00aedb;
}
.stories__info_text p {
	font-size: 13px;
	color: #494949;
}
.stories__info_mid {
	border-top: 1px solid #dedddd;
	border-bottom: 1px solid #dedddd;
	padding: 19px 0;
}
.heading {
	text-transform: uppercase;
	color: #fff;
	background: #5261ac;
	padding: 9px 0 9px 16px;
	margin-bottom: 16px;
}
.interesting__item {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	align-items: center;
	margin-bottom: 16px;
}
.interesting__item_text {
	font-size: 13px;
	padding-left: 11px;
}
.interesting__item_text a {
	margin-top: 9px;
	color: #00aedb;
	display: block;
}
.archives__item {
	font-size: 13px;
	font-weight: lighter;
	color: #494949;
}
.archives__item p {
	padding: 9px 0 9px 11px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	align-items: flex-start;
}
.archives__item p+p {
	border-top: 1px solid #dedddd;
}
.archives__item .archives__item_tringle {
	color: #5261ac;
	font-size: 1.5em;
	padding-right: 5px;
}
.sidebar__tag_cloud .heading {
	margin-top: 11px;
	margin-bottom: 15px;
}
.sidebar__tags {
	word-wrap: break-word;
	font-size: 15px;
	margin-left: 16px;
	margin-right: 9px;
	color: #5261ac;
	text-align: justify;
	padding-bottom: 20px;
}
.sidebar__tags h4 {
	font-size: 25px;
	color: #f78f1d;
	font-weight: bolder;
	display: inline;
}
.sidebar__tags span {
	display: inline;
	font-size: 19px;
	font-weight: bold;
}
.footer_bg {
	margin: 0 auto;
	display: block;
	width: 100%;
	max-width: auto;
}
.trapezoid {
	border-bottom: 36px solid #5261ac;
	border-right: 30px solid transparent;
	height: 0;
	width: 150px;
	padding: 10px 0;
	color:#fff;
	text-align:center;
	line-height:56px;
	font-size: 17px;
	font-weight: bold;
	text-transform: uppercase;
}
.trapezoid__left {
	width: 200px;
}

/* Media queries */


@media screen and (min-width: 2270px) {
	html {
		font-size: 28px !important;
	}
	header {
		background-position: left top,
							 86.5% top;
	}
	section {
		background: url(../img/section-bg.png) no-repeat 86.5% 25%,
					url(../img/section-bg.png) no-repeat 86.5% 90%;
	}
	.footer_bg {
		padding: 0;
		margin: 0;
	}
	.menu__bottom ul {
		margin-bottom: 0;
		padding-bottom: 0;
	}
	.container {
		width: 70%;
		margin: 0 auto;
		background: #fff;
		padding: 0 31px;
	}
	.owl-carousel {
		padding-bottom: 20px;
	}
	.menu__top h1 {
		font-size: 1.5em;
	}
	.search input{
		height: 45px;
		width: 550px;
	}
	.search .btn__seacrh {
		font-size: 24px;
	}
	.socials img {
		height: 45px;
	}
	.btn__socials {
		padding: 9px 30px;
	}
	.stories h2{
		font-size: 1.1em;
		padding: 10px 0;
	}
	.item p {
		font-size: 0.9em;
	}
	.owl-prev, .owl-next {
		display: none;
	}
	.carousel__subtitles {
		padding: 8px 0px 8px 25px;
		font-size: 1.05em;
	}
	.film__description h2{
		width: auto;
	}
	.film__description h2{
		font-size: 1.5em;
	}
	.film__description p{
		font-size: 1em;
	}
	.film__info, .previous-posts{
		font-size: 0.9em;
		padding-bottom: 25px;
	}
	.film__info_comments {
		margin-left: 65px;
	}
	.film__images_small {
		display: none;
	}
	.second-col {
		padding-left: 20px;
		padding-bottom: 40px;
	}
	.trapezoid__left {
		width: 60%;
		font-size: 1.3em;
		border-bottom: 60px solid #5261ac;
		line-height: 60px;
		padding: 0;
		margin-top: -10px;
		margin-bottom: 10px;
	}
	.categories {
		font-size: 1.05em;
	}
	.stories__info .stories__info_text > *{
		font-size: 0.75em;
	}
	.interesting__item_text > * {
		font-size: 1.4em;
	}
	.archives__item p {
		font-size: 1.5em;
	}
	.sidebar__tags {
		font-size: 1em;
	}
	.sidebar__tags h4 {
		font-size: 1.3em;
	}
	.sidebar__tags span {
		font-size: 1.3em;
	}
}

@media screen and (min-width: 1550px) {
	header {
		background-position: left top,
							 86.7% top;
	}
	section {
		background-position: 86.7% 25%,
							 86.7% 90%;
	}
	.container {
		width: 70%;
		margin: 0 auto;
		background: #fff;
		padding: 0 31px;
	}
	.film__images_small {
		display: none;
	}
	.owl-next, .owl-prev {
		display: none;
	}
}

@media screen and (max-width: 1496px) {
	header {
		background: url(../img/header-bg-first.png) no-repeat left top, 
					url(../img/header-bg-after.png) no-repeat 88% top;
	}
	section {
		background: url(../img/section-bg.png) no-repeat 88% 25%,
					url(../img/section-bg.png) no-repeat 88% 90%;
	}
}

@media screen and (max-width: 1220px) {
	header {
		background: none;
	}
	section {
		background: none;
	}
	.film__date {
		display: none;
	}
	.footer_bg {
		display: none;
	}
}

@media screen and (max-width: 690px) {
	.btn__socials {
		font-size: 1.3em;
	}
	.item p {
		font-size: 1.1em;
	}
	.film__description p {
		font-size: 1.2em;
	}
	.film__info {
		font-size: 1.2em;
	}
	.stories__info_text h4 {
		font-size: 1.2em;
	}
	.stories__info_text p {
		font-size: 1.02em;
	}
	.interesting__item_text {
		font-size: 1.1em;
	}
	.archives__item p {
		font-size: 1.3em;
	}
	.sidebar__tag_cloud {
		display: none;
	}
	.previous-posts {
		font-size: 1.3em;
	}
	.owl-prev, .owl-next {
		display: none;
	}
}

@media screen and (max-width: 520px) {
	html {
		font-size: 1.2em;
	}
	.menu__bottom {
		display: none;
	}
	.hamburger-menu {
		display: block;
	}
	.stories h2 {
		padding: 10px 0;
		font-size: 1.5em;
	}
	.owl-prev, .owl-next {
		display: none;
	}
	.trapezoid {
		margin: 10px 0;
		font-size: 1.3em;
		border-bottom: 60px solid #5261ac;
		line-height: 60px;
		width: 65%;
		padding: 0;
	}
	.categories__item {
		font-size: 1.1em;
	}
	.categories__item_third {
		padding-right: 15px !important;
	}
	.stories__info {
		flex-direction: column;
		font-size: 1.1em;
		text-align: center;
	}
	.stories__info img {
		width: 50%;
	}
	.interesting__item {
		flex-direction: column;
		font-size: 1.1em;
		text-align: center;
	}
	.interesting__item img {
		width: 50%;
	}
	.sidebar__archives {
		display: none;
	}
	.previous-posts {
		font-size: 1.2em;
	}
	.carousel__subtitles {
		margin: 10px 0;
		font-size: 1.5em;
	}
	.carousel__subtitles i {
		padding-left: 20px;
	}
	.carousel__subtitles h3 {
		padding-left: 10px;
	}
	.item p {
		font-size: 1.5em;
		text-align: center;
		padding: 7px 0;
	}
}

@media screen and (max-width: 380px) {
	html {
		font-size: 1.8em;
	}
	section .container {
		flex-direction: column;
	}
	.hamburger-menu {
		top: -7px;
	}
	.menu__btn > span,
	.menu__btn > span::before,
	.menu__btn > span::after {
		width: 36px;
		height: 4px;
	}
	.menu__btn > span::before {
  		content: '';
  		top: -14px;
	}
	.menu__btn > span::after {
  		content: '';
  		top: 14px;
	}
	.first-col {
		max-width: 100%;
	}
	.second-col {
		max-width: 100%;
	}
	.menu__top {
		align-items: flex-end;
	}
	.menu__top h1 {
		font-size: 2em;
	}
	.search input{
		height: 50px;
	}
	.search .btn__seacrh {
		font-size: 1.1em;
		text-align: center;
	}
	.socials a img{
		height: 45px;
	}
	.film__images_small {
		display: none;
	}
	.film__description h2 {
		width: 100%;
		text-align: center;
		margin-top: 20px;
		font-size: 1.8em;
	}
	.categories {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		max-width: 100%;
		text-align: center;
		font-size: 1.2em;
		padding: 20px 0;
	}
	.categories__item {
		width: 100%;
		display: block;
		padding: 15px 0 !important;
	}
	.stories__info {
		flex-direction: row;
		text-align: left;
		font-size: 1.2em;
	}
	.stories__info img {
		max-width: 90%;
		margin-right: 10px;
		padding: 10px 0;
	}
	.heading {
		font-size: 1.8em;
		text-align: center;
		margin: 30px 0;
	}
	.interesting__item {
		flex-direction: row;
		text-align: left;
		font-size: 1.2em;
	}
	.interesting__item img {
		margin-right: 10px;
		width: 30%;
		margin: 10px 0;
	}
	.sidebar__archives, .sidebar__tag_cloud {
		display: block;
	}
	.sidebar__archives p {
		font-size: 2.5em;
		padding: 10px 0;
	}
	.sidebar__tag_cloud .sidebar__tags {
		font-size: 1.25em;
	}
	.sidebar__tag_cloud .sidebar__tags > * {
		font-size: 1.4em;
	}
	.trapezoid {
		width: 45%;
		font-size: 1.4em;
		border-bottom: 80px solid #5261ac;
		line-height: 80px;
	}
	.item p {
		font-size: 1.5em;
		text-align: left;
		padding: 7px 0;
		font-weight: normal;
	}
	.hamburger-menu {
		font-size: 1.4em;
	}
	.menu__box {
		width: 40%;
	}
	.menu__item {
		padding: 16px 24px;
	}
}