h1 {
	font-size: 44px;
	top: 3px;
	padding-bottom: 0;
	margin-bottom: 50px;
	}

img {
	max-width: 100%;
	}

#media_menu {
	float: right;
    margin-bottom: 35px;
	}

#media_menu li {
    float: right;
    padding: 8px 0;
    border: 1px solid rgb(0, 0, 0);
    background-color: transparent;
    transition: all .3s;
    text-transform: uppercase;
    font-size: 19px;
    margin-left: 19px;
    text-align: center;
    width: 100px;
    cursor: pointer;
	}

#media_menu li.active {
	background-color: rgb(249, 192, 0);
	border-color: rgb(249, 192, 0);
	}

#media_menu li:not(.active):hover {
	background-color: rgb(249, 192, 0);
	border-color: rgb(249, 192, 0);
	}

#media_menu li.active:hover {
	background-color: rgb(224, 172, 0);
	border-color: rgb(224, 172, 0);
	}

#media_menu li:active {
	background-color: rgba(249, 192, 0, .5);
	}

/* =================== */

#media_data {
	margin-bottom: 40px;
	}

#media_data .img_elem,
#media_data .video_elem {
	margin-bottom: 32px;
	}

.video {
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	}

.video_elem iframe {
	position: absolute;
	top: 0 !important;
	left: 0 !important;
	width: 100%;
	height: 100%;
	}

#media_data .img, #media_data .video {
	width: 100%;
	height: 316px;
	margin-bottom: 5px;
	}

.img {
	background-size: cover;
	}

.half_left {
	padding-right: 10px;
	}

.half_right {
	padding-left: 10px;
	}

#media_data p {
	font-family: Roboto-Light;
	font-size: 18px;
	}

.zoom_wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: table;
	cursor: pointer;
	}

.zoom_inner {
	display: table-cell;
	width: 100%;
	height: 100%;
	text-align: center;
	vertical-align: middle;
	}

.zoom_wrap button {
    width: 80px;
    height: 80px;
    background-image: url(../img/media/zoom.png);
    background-color: transparent;
    border: none;
	}

.half .col_left {
	padding-right: 7px;
	}

.half .col_right {
	padding-left: 7px;
	}

.zoom_wrap {
	opacity: 0;
	transition: all .2s;
	cursor: pointer;
	}

.img:hover .zoom_wrap {
	opacity: 1;
	}

/* =================== */

#images_demo {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 4;
	background-color: rgba(0, 0, 0, .5);
	transition: .6s;
	}

#images_demo.active {
	opacity: 1;
	}

#images_demo .inner_1 {
	display: table;
	width: 100%;
	height: 100%;
	}

#images_demo .inner_2 {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	}

#player {
	opacity: 0;
	max-width: calc(100% - 50px);
	max-height: calc(100% - 50px);
	margin: 0 auto;
	transform: scale(.8);
	border: 2px solid white;
	transition: transform .6s, opacity .6s;
	}

#player.default {
	width: 100%;
	height: 100%;
	}

#player.active {
	opacity: 1;
	transform: scale(1);
	}

#player img {
	display: none;
	}

#player img.active {
	display: block;
	}

#close_player {
	position: absolute;
	top: 0;
	right: 0;
	border: 0;
	background-image: url(../img/media/close_player.png);
	width: 36px;
	height: 36px;
	padding: 0;
	cursor: pointer;
	z-index: 5;
	}

.arrow_wrap {
	position: absolute;
	top: 0;
	width: 36px;
	height: 100%;
	display: table;
	z-index: 1;
	}

.arrow_wrap > .inner {
	display: table-cell;
	width: 100%;
	height: 100%;
	vertical-align: middle;
	}

.arrow_left {
	left: 0;
	}

.arrow_right {
	right: 0;
	}

.arrow_wrap button {
	border: 0;
	width: 36px;
	height: 36px;
	}

.arrow_left button {
	background-image: url(../img/media/mp_arrow_left.png);
	}

.arrow_right button {
	background-image: url(../img/media/mp_arrow_right.png);
	}

@media screen and (max-width: 1000px)
{

	.container {
	    width: 100%;
	    padding: 0 30px;
		}

}


@media screen and (max-width: 650px)
{

	h1 {
		margin-bottom: 33px;
		}

	#media_menu {
    	float: none;
    	margin: 0 auto 39px;
    	width: 357px;
		}

	#media_menu li:nth-child(3) {
		margin-left: 0;
		}

	#content .col {
		width: 440px;
		margin-right: auto;
		margin-left: auto;
		padding: 0;
		max-width: 100%;
		float: none;
		}

	.half .col {
		width: 206px;
		}

	.half .col_left {
	    padding-right: 0;
		}

	.half .col_right {
	    padding-left: 0;
		}

	#media_data .img,
	#media_data .video {
	    height: 290px;
		}

	#media_data .img_elem,
	#media_data .video_elem {
	    margin-bottom: 13px;
		}

}

@media screen and (max-width: 510px)
{

	h1 {
	    font-size: 23px;
	    top: 5px;
	    padding-top: 0;
	    padding-bottom: 0;
	    margin-bottom: 29px !important;
	    margin-top: 30px;
		}

	#media_menu {
	    float: none;
	    margin: 0 auto 20px;
	    width: 100px;
	}

	#media_menu a:not(:last-child) li {
	    margin-bottom: 9px;
	}

	#media_data .col {
		width: 260px;
		}

	#media_data .img,
	#media_data .video {
	    height: 165px;
		}

	#media_data .img_elem,
	#media_data .video_elem {
	    margin-bottom: 19px;
		}


}