/* max-width: 420px ====================================================================================================================== */
@media (max-width: 420px) {

	* {
		margin: 0;	
	}

	a {
		color: #D40000;
		text-decoration: none;
	}

	ul { margin: 0; padding: 0; }
	

	html {
		margin:0;
		padding:0;
		height:100%;
		font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
		background: rgb(237,237,237); /* Old browsers */
		background: -moz-linear-gradient(left,  rgba(237,237,237,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(237,237,237,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* IE10+ */
		background: linear-gradient(to right,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ededed',GradientType=1 ); /* IE6-9 */
	}
	
	.strong {
		font-weight: bold;
	}

	/* header */

	#header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 120px;
		background-color: #fff;
		z-index: 1001;
	}

	#headerContent {
		height: 120px;
	}
	
	.width_70 {
		margin: 0 auto;
		position: relative;
	}

	.logo {
		position:absolute;
		width: 100%;
	}

	.logo img {
		max-width: 300px;
		display: table;
		margin: 0 auto;
	}

	.header_right {
		width: auto;
		padding: 0px;
		text-align: center;
		padding-top: 50px;
		display: table;
		margin: 0 auto;
	}

	.user_header {
	    width: 35px;
	    height: 35px;
	    border-radius: 50%;
	    background-repeat: no-repeat;
	    background-position: center center;
	    background-size: contain;
	    background-image: url('../images/unknown_user.png');
	    z-index: 3;
	  	margin: 5px 0 0 10px;
	  	float: right;
	}

	.username_header {
		float: right;
		line-height: 55px;
		color: #777;
		font-size: 20px;
	}

	.btn-login {
		position: relative;
		vertical-align: bottom;
		display: table;
		margin: 0 auto;
		top: -7px;
	}

	.btn-head {
		background-color: #D40000;
		border-color: #D40000;
		color: #FFF;
		font-weight: bold;
		font-size: 10px;
		width: 85px;
		outline: medium none;
		cursor: pointer;
		transition: background 0.55s ease 0s;
	}

	#searchBar {
		background-color: #D40000;
		height: 40px;
		line-height: 40px;
		text-align: center;
	}

	.search_bar {
		width: 100%;
		margin: 0px auto;
	}

	.search_box {
		height: 25px;
		padding: 0px 15px;
		background: #FFF none repeat scroll 0% 0%;
		border: 0px solid #DBDBDB;
		outline: medium none;
	}

	.search_button {
		position: relative;
		height: 25px;
		padding: 0px 15px;
		left: -7px;
		border: medium none;
		outline: medium none;
		background-color: #FBD217;
		color: #D40000;
		cursor: pointer;
		transition: background 0.55s ease 0s;
	}

	#panel {
		width: 100%;
		background: #FFF none repeat scroll 0% 0%;
		margin: 0px auto;
		display: none;
		border-top: 1px solid #D40000;
	}

	.regForm {
		display: table;
		margin: 0px auto;
		padding: 0 10px;
	}
	
	#registerForm, #loginForm {
		display: none;
	}

	#panel label {
		font-size: 18px;
		text-shadow: 0px 1px 2px #999;
	}

	#panel input.text {
		border-radius: 5px;
		border: medium none;
		font-size: 16px;
		width: 90%;
		padding: 5px 8px;
		box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.75);
		background-color: #FFF;
		color: #333;
		text-shadow: 0px 1px 0px #FFF;
		margin-top: 3px;
		margin-bottom: 3px;
		font-family: "Myriad Pro",Arial,Helvetica,sans-serif;
	}

	.btn-form {
		background-color: #D40000;
		border-color: #D40000;
		color: #FFF;
		font-weight: bold;
		font-size: 14px;
		display: table;
		margin: 10px auto 0px;
		outline: medium none;
		cursor: pointer;
		transition: background 0.55s ease 0s;
	}


	/* left side */

	#partLeft {
		width: 100%;
		margin-top: 160px;
		text-align: center;
		background-color: #FFF;
		z-index: 2;
		border-bottom: 1px solid #D40000;
		padding-top: 5px;
	}

	.partLeft_section {
		padding-bottom: 10px;
		display: inline-block;
		margin: 0 10px;
		vertical-align: top;
	}

	.partLeft_title {
		font-size: 15px;
		line-height: 25px;
		color: #555;	
		padding-left: 5px;
	}

	.menu_me ul {
		margin: 0px auto;
		padding-left: 10px;
		width: 120px;
		list-style-type: none;
	}
		

	.menu_me ul li {
		width: 100%;
	}

	.menu_me ul li a {
		font-size: 14px;
		width: 100%;
		display: block;
	}

	.menu_me ul li a:hover, .menu_me ul li .current {
		background: #D40000 none repeat scroll 0% 0%;
		color: #FFF;
	}

	.menu_me ul li a img {
		width: 20px;
	}

	.more_left {
		font-size: 12px;
		padding: 5px 0px 0px 2px;
	}
	.more_left a {
		color: #999;
	}


	/* body */

	#wrapper {
		background: transparent linear-gradient(to right, #EDEDED 0%, #F6F6F6 47%, #EDEDED 100%) repeat scroll 0% 0%;
		margin: 10px 0;
		height: 100%;
		padding: 5px 0 0 0;
	}

	#content {
		padding: 5px 0;
		margin: 0px 5px;
		overflow-x: hidden;
		/* overflow-y: hidden; */
		
	}
	
	.red {
		text-align: center;
		color: #D40000;
	}

	.video_row {
		display: table;
		margin: 0px auto;
		padding-bottom: 10px;
		text-align: center;
		
	}

	.thumb {
		background: #FFF none repeat scroll 0% 0%;
		padding: 10px;
		margin: 10px;
		width: 192px;
		height: 180px;
		vertical-align: top;
		display: inline-block;
		box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
		position: relative;
	}

	.thumb_img_bg {
		min-width: 192px;
		min-height: 108px;
		background-color: #000;
		position: relative;
	}

	.thumb_img {
		max-width: 192px;
		max-height: 108px;
		position: absolute;
		top: 50%;
		left: 50%;
		margin-right: -50%;
		transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
	}

	.video_duration {
		position: absolute;
		bottom: 5px;
		right: 5px;
		background: #000 none repeat scroll 0% 0%;
		color: #FFF;
		font-size: 12px;
		padding: 0px 3px;
	}

	.descr {
		text-align: center;
		font-weight: normal;
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
	}

	.upl_by {
		text-align: center;
		font-weight: normal;
		font-size: 14px;
		color: #767676;
	}

	.upl_by a {
		color: #767676;
		font-style: italic;
	}

	.upl_info {
		width: auto;
		font-size: 11px;
		text-align: right;
		list-style-type: none;
		position: absolute;
		bottom: 3px;
		right: 3px;
	}

	.upl_info li {
		display: inline-block;
	}



	/* right side */

	#partRight {
		display: none;
	}



	/* footer */

	.footer {
		height: 50px;
	}

	.width_70_footer {
		/* margin: 0px;   */
		display: none;
		bottom: 0px;
		position: fixed;
		/* background: transparent linear-gradient(to right, #EDEDED 0%, #F6F6F6 47%, #EDEDED 100%) repeat scroll 0% 0%;  */
	}

	.footer_social {
		padding: 0px;
		text-align: center;
	}

	.social {
		display: inline-block;
		width: 40px;
		height: 40px;
		margin: 0px 11px;
		line-height: 45px;
		font-size: 25px;
		text-align: center;
		color: #555;
		border-radius: 10px;
		background: #EEE none repeat scroll 0% 0%;
		overflow: hidden;
		cursor: pointer;
		box-shadow: 0px 0px 5px 0px #757575;
	}

	.social a {
		padding: 3px;
		color: #555;
		transition: color 0.55s ease 0s;
	}

	.social a:hover {
		color: #D40000;
	}

	.footerText {
		text-align: center;
		font-size: 18px;
		line-height: 50px;
	}

	.footer_small {
		font-size: 12px;
		text-align: center;
		color: #888;
	}


	/* mio account panel */

	.primary-nav {
		text-align: center;
		overflow: hidden;
	}

	.tabs_header {
		margin: 0px;
		padding: 0px;
		list-style: outside none none;
		display: table;
		table-layout: fixed;
	}

	.tabs__item {
		display: table-cell;
	}

	.tabs__link {
		display: block;
	}

	.primary-nav a {
		padding: 0.2em 1em;	
		font-weight: bold;
		text-decoration: none;
	}

	.primary-nav a:hover {
		background-color: #D40000;
		color: #fff;
	}

}

/* min-width: 420px, max-width: 900px===================================================================================================== */

@media (min-width: 420px) and (max-width: 900px) {

	* {
		margin: 0;	
	}

	a {
		color: #D40000;
		text-decoration: none;
	}

	ul { margin: 0; padding: 0; }
	

	html {
		margin:0;
		padding:0;
		height:100%;
		font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
		background: rgb(237,237,237); /* Old browsers */
		background: -moz-linear-gradient(left,  rgba(237,237,237,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(237,237,237,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* IE10+ */
		background: linear-gradient(to right,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ededed',GradientType=1 ); /* IE6-9 */
	}
	
	.strong {
		font-weight: bold;
	}

	/* header */

	#header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 120px;
		background-color: #fff;
		z-index: 1001;
	}

	#headerContent {
		height: 120px;
	}
	
	.width_70 {
		margin: 0 auto;
		position: relative;
	}

	.logo {
		position:absolute;
		width: 100%;
	}

	.logo img {
		max-width: 300px;
		display: table;
		margin: 0 auto;
	}

	.header_right {
		width: auto;
		padding: 0px;
		text-align: center;
		padding-top: 50px;
		display: table;
		margin: 0 auto;
	}

	.user_header {
	    width: 35px;
	    height: 35px;
	    border-radius: 50%;
	    background-repeat: no-repeat;
	    background-position: center center;
	    background-size: contain;
	    background-image: url('../images/unknown_user.png');
	    z-index: 3;
	  	margin: 5px 0 0 10px;
	  	float: right;
	}

	.username_header {
		float: right;
		line-height: 55px;
		color: #777;
		font-size: 20px;
	}

	.btn-login {
		position: relative;
		vertical-align: bottom;		
		display: table;
		margin: 0 auto;
		top: -7px;
	}

	.btn-head {
		background-color: #D40000;
		border-color: #D40000;
		color: #FFF;
		font-weight: bold;
		font-size: 10px;
		width: 85px;
		outline: medium none;
		cursor: pointer;
		transition: background 0.55s ease 0s;
	}

	#searchBar {
		background-color: #D40000;
		height: 40px;
		line-height: 40px;
		text-align: center;
	}

	.search_bar {
		width: 100%;
		margin: 0px auto;
	}

	.search_box {
		height: 25px;
		padding: 0px 15px;
		background: #FFF none repeat scroll 0% 0%;
		border: 0px solid #DBDBDB;
		outline: medium none;
	}

	.search_button {
		position: relative;
		height: 25px;
		padding: 0px 15px;
		left: -7px;
		border: medium none;
		outline: medium none;
		background-color: #FBD217;
		color: #D40000;
		cursor: pointer;
		transition: background 0.55s ease 0s;
	}

	#panel {
		width: 100%;
		background: #FFF none repeat scroll 0% 0%;
		margin: 0px auto;
		display: none;
		border-top: 1px solid #D40000;
	}

	.regForm {
		display: table;
		margin: 0px auto;
		padding: 0 10px;
	}
	
	#registerForm, #loginForm {
		display: none;
	}

	#panel label {
		font-size: 18px;
		text-shadow: 0px 1px 2px #999;
	}

	#panel input.text {
		border-radius: 5px;
		border: medium none;
		font-size: 16px;
		width: 90%;
		padding: 5px 8px;
		box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.75);
		background-color: #FFF;
		color: #333;
		text-shadow: 0px 1px 0px #FFF;
		margin-top: 3px;
		margin-bottom: 3px;
		font-family: "Myriad Pro",Arial,Helvetica,sans-serif;
	}

	.btn-form {
		background-color: #D40000;
		border-color: #D40000;
		color: #FFF;
		font-weight: bold;
		font-size: 14px;
		display: table;
		margin: 10px auto 0px;
		outline: medium none;
		cursor: pointer;
		transition: background 0.55s ease 0s;
	}


	/* left side */

	#partLeft {
		width: 100%;
		margin-top: 160px;
		text-align: center;
		background-color: #FFF;
		z-index: 2;
		border-bottom: 1px solid #D40000;
		padding-top: 5px;
	}

	.partLeft_section {
		padding-bottom: 10px;
		display: inline-block;
		margin: 0 10px;
		vertical-align: top;
	}

	.partLeft_title {
		font-size: 15px;
		line-height: 25px;
		color: #555;	
		padding-left: 5px;
	}

	.menu_me ul {
		margin: 0px auto;
		padding-left: 10px;
		width: 120px;
		list-style-type: none;
	}
		

	.menu_me ul li {
		width: 100%;
	}

	.menu_me ul li a {
		font-size: 14px;
		width: 100%;
		display: block;
	}

	.menu_me ul li a:hover, .menu_me ul li .current {
		background: #D40000 none repeat scroll 0% 0%;
		color: #FFF;
	}

	.menu_me ul li a img {
		width: 20px;
	}

	.more_left {
		font-size: 12px;
		padding: 5px 0px 0px 2px;
	}
	.more_left a {
		color: #999;
	}


	/* body */

	#wrapper {
		background: transparent linear-gradient(to right, #EDEDED 0%, #F6F6F6 47%, #EDEDED 100%) repeat scroll 0% 0%;
		margin: 10px 0;
		height: 100%;
		padding: 5px 0 0 0;
	}

	#content {
		padding: 5px 0;
		margin: 0px 5px;
		overflow-x: hidden;
		/* overflow-y: hidden; */
	}
	
	.red {
		text-align: center;
		color: #D40000;
	}

	.video_row {
		display: table;
		margin: 0px auto;
		padding-bottom: 10px;
		text-align: center;
	}

	.thumb {
		background: #FFF none repeat scroll 0% 0%;
		padding: 10px;
		margin: 10px;
		width: 192px;
		height: 180px;
		vertical-align: top;
		display: inline-block;
		box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
		position: relative;
	}

	.thumb_img_bg {
		min-width: 192px;
		min-height: 108px;
		background-color: #000;
		position: relative;
	}

	.thumb_img {
		max-width: 192px;
		max-height: 108px;
		position: absolute;
		top: 50%;
		left: 50%;
		margin-right: -50%;
		transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
	}

	.video_duration {
		position: absolute;
		bottom: 5px;
		right: 5px;
		background: #000 none repeat scroll 0% 0%;
		color: #FFF;
		font-size: 12px;
		padding: 0px 3px;
	}

	.descr {
		text-align: center;
		font-weight: normal;
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
	}

	.upl_by {
		text-align: center;
		font-weight: normal;
		font-size: 14px;
		color: #767676;
	}

	.upl_by a {
		color: #767676;
		font-style: italic;
	}

	.upl_info {
		width: auto;
		font-size: 11px;
		text-align: right;
		list-style-type: none;
		position: absolute;
		bottom: 3px;
		right: 3px;
	}

	.upl_info li {
		display: inline-block;
	}



	/* right side */

	#partRight {
		display: none;
	}



	/* footer */

	.footer {
		height: 50px;
	}

	.width_70_footer {
/*		  margin: 0px; 
		 position: relative;  
		
		background: transparent linear-gradient(to right, #EDEDED 0%, #F6F6F6 47%, #EDEDED 100%) repeat scroll 0% 0%; */
		
		/* margin: 0px;   */
		display: none;
		bottom: 0px;
		position: fixed;
		/* background: transparent linear-gradient(to right, #EDEDED 0%, #F6F6F6 47%, #EDEDED 100%) repeat scroll 0% 0%;  */
	}

	.footer_social {
		padding: 0px;
		text-align: center;
	}

	.social {
		display: inline-block;
		width: 40px;
		height: 40px;
		margin: 0px 11px;
		line-height: 45px;
		font-size: 25px;
		text-align: center;
		color: #555;
		border-radius: 10px;
		background: #EEE none repeat scroll 0% 0%;
		overflow: hidden;
		cursor: pointer;
		box-shadow: 0px 0px 5px 0px #757575;
	}

	.social a {
		padding: 3px;
		color: #555;
		transition: color 0.55s ease 0s;
	}

	.social a:hover {
		color: #D40000;
	}

	.footerText {
		text-align: center;
		font-size: 18px;
		line-height: 50px;
	}

	.footer_small {
		font-size: 12px;
		text-align: center;
		color: #888;
	}


	/* mio account panel */

	.primary-nav {
		text-align: center;
		overflow: hidden;
	}

	.tabs_header {
		margin: 0px;
		padding: 0px;
		list-style: outside none none;
		display: table;
		table-layout: fixed;
	}

	.tabs__item {
		display: table-cell;
	}

	.tabs__link {
		display: block;
	}

	.primary-nav a {
		padding: 0.2em 1em;	
		font-weight: bold;
		text-decoration: none;
	}

	.primary-nav a:hover {
		background-color: #D40000;
		color: #fff;
	}



}



/* min-width: 920px, max-width: 1280px===================================================================================================== */

@media (min-width: 900px) and (max-width: 1280px) {

	* {
		margin: 0;	
	}

	ul { margin: 0; padding: 0; }

	html {
		margin:0;
		padding:0;
		height:100%;
		font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
		background: rgb(237,237,237); /* Old browsers */
		background: -moz-linear-gradient(left,  rgba(237,237,237,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(237,237,237,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* IE10+ */
		background: linear-gradient(to right,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ededed',GradientType=1 ); /* IE6-9 */
	}

	.strong {
		font-weight: bold;
	}


	/* Let's get this party started */
	::-webkit-scrollbar {
	    width: 12px;
	}
	 
	/* Track */
	::-webkit-scrollbar-track {
	    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
	}
	 
	/* Handle */
	::-webkit-scrollbar-thumb {
	    background: rgba(212, 0, 0, 1); 
	    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
	}
	::-webkit-scrollbar-thumb:window-inactive {
		background: rgba(255,0,0,0.4); 
	}

	::selection {
	  background: #FBD217; /* WebKit/Blink Browsers */
	}
	::-moz-selection {
	  background: #FBD217; /* Gecko Browsers */
	}


	a {
		color:#D40000;
		text-decoration:none;
	}
	a:hover {
		color:#A30000;	
		text-decoration:none;
	}

	select > option:hover{
	                box-shadow: 0 0 10px 100px #D40000 inset !important;
	}

	.red {
		margin-top: 15px;
		color: #D40000;
	}


	#header {
		top:0;
		left:0;
		position: fixed;
		width: 100%;
		height: 120px;
		background-color: white;
		min-width: 1024px;
		z-index: 1001;

	}
	#headerContent {
		height: 80px;
	}
	#searchBar {
		background-color: #D40000;
		height: 40px;
		line-height: 40px;
		text-align: center;
	}
	#partLeft {
		width: 140px;
		//min-width: 140px;
		top: 80px;
		left:0px;
		position: fixed;
		height: 100%;
		text-align: center;
		background-color: white;
		z-index: 2;
		border-top: 40px solid #d40000;
		border-right: 1px solid #d40000;
		padding-top: 5px;
	}
	#wrapper {
		/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ededed+0,f6f6f6+47,ededed+100 */
		background: rgb(237,237,237); /* Old browsers */
		background: -moz-linear-gradient(left,  rgba(237,237,237,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(237,237,237,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* IE10+ */
		background: linear-gradient(to right,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ededed',GradientType=1 ); /* IE6-9 */
		margin: 120px 140px 0px 140px;
		height: 100%;
		padding: 5px 0 15px 0;

	}
	#content {
		padding: 0 5px 15px 5px;
		margin: 0 5px;
		height: 100%;
		overflow-x: hidden;
		/* overflow-y: hidden;
		
	}
	#partRight {
		width: 140px;
		top:80px;
		right: 0px;
		position: fixed;
		height: 100%;
		background-color: white;
		text-align: center;
		z-index: 3;
		border-top: 40px solid #d40000;
		border-left: 1px solid #d40000;
		padding-top: 10px;
	}

	.width_70 {
		margin: 0 140px;
		position: relative;

	}

	.width_70_footer {
		margin: 0 140px;
		position: relative;
		background: rgb(237,237,237); /* Old browsers */
		background: -moz-linear-gradient(left,  rgba(237,237,237,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(237,237,237,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* IE10+ */
		background: linear-gradient(to right,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ededed',GradientType=1 ); /* IE6-9 */

	}

	.logo{
		position: absolute;
		float: left;
		top: 9.5px;
	}

	.line {

	}



	/* header user area */


	.header_right {
		float: right;
		width: auto;
	  	padding: 0;
	  	text-align: center;
	}


	.user_header {
	    width: 45px;
	    height: 45px;
	    border-radius: 50%;
	    background-repeat: no-repeat;
	    background-position: center center;
	    background-size: contain;
	    background-image: url('../images/unknown_user.png');
	    z-index: 3;
	  	margin: 5px 0 0 10px;
	  	float: right;
	}

	.username_header {
		float: right;
		line-height: 55px;
		color: #777;
		font-size: 20px;
	}



	/* login - register buttons */

	.btn-login{
		
		position: absolute;
		vertical-align: bottom;
		right: 0;
		top: 55px;
	}

	.btn-head {
		background-color: #D40000;
		border-color: #D40000;
		color: #ffffff;
		font-weight: bold;
		font-size: 11px;
		width: 95px;
		outline: none !important;
		cursor: pointer;
		-webkit-transition: background .55s ease;
	  	-moz-transition: background .55s ease;
	  	-ms-transition: background .55s ease;
	  	-o-transition: background .55s ease;
	  	transition: background .55s ease;
	}

	.btn-head:hover,
	.btn-head:hover,
	.btn-head:active,
	.open .dropdown-toggle.btn-head {
		background-color: #A30000;
		border-color: #A30000;
		outline: none !important;	
	}


	.btn-form {
		background-color: #D40000;
		border-color: #D40000;
		color: #ffffff;
		font-weight: bold;
		font-size: 14px;
		display: table;
		margin: 10px auto 0 auto;
		outline: none !important;
		cursor: pointer;
		-webkit-transition: background .55s ease;
	  	-moz-transition: background .55s ease;
	  	-ms-transition: background .55s ease;
	  	-o-transition: background .55s ease;
	  	transition: background .55s ease;
	}

	.btn-form:hover,
	.btn-form:hover,
	.btn-form:active,
	.open .dropdown-toggle.btn-form {
		background-color: #A30000;
		border-color: #A30000;
	;	outline: none !important;
	}




	/* reg panel */
	#panel {
		width: 100%;
		background: #fff;
		margin: 0 auto;
		display: none;
		border-top: 1px solid #d40000;
	}


	#panel input.text {
	    -webkit-border-radius: 5px;
	    -moz-border-radius: 5px;
	    border-radius: 5px;
	    border: none;
	    font-size: 16px;
	    width: 90%;
	    padding: 5px 8px 5px 8px;
	    -webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
		box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
		background-color: #fff;
	    color:#333;
	    text-shadow: 0px 1px 0px #FFF;
	    margin-top: 3px;
	    margin-bottom: 3px;
	    font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
	}	  

	#panel input.text:focus {

		outline: none !important;
	    box-shadow: inset 0 0 7px #D40000;
	}	  

	#panel label {
		font-size: 18px;
		text-shadow: 0px 1px 2px #999;
	}


	.regForm {
		display: table;
		margin: 0 auto;
	}


	#messageReg,
	#messageLog {
		font-size: 18px;
		color: #D40000;
		display: table;
		margin: 0 auto;
	}


	#registerForm,
	#loginForm {
		display: none;
	}


	.circle-icon {
		background: #D40000;
	    width: 30px;
	    height: 30px;
	    border-radius: 50%;
	    text-align: center;
	    line-height: 30px;
	    vertical-align: middle;
	   	padding: 10px;
	    margin: 10px 0px;
	}


	/**
	 * Tabs object.
	 *
	 * 1. Tables (kinda) for layout!
	 * 2. This is the magic bit; make all children occupy equal width.
	 * 3. Required to make the tabs fill their container.
	 * 4. Make each tab pack up horizontally.
	 * 5. Ensure the hit area covers the whole tab.
	 */

	.tabs_header {
	    margin:  0;
	    padding: 0;
	    list-style: none;
	    display: table; /* [1] */
	    table-layout: fixed; /* [2] */
	    max-width: 1280px; /* [3] */
	}

	    .tabs__item {
	        display: table-cell; /* [4] */
	    }

	        .tabs__link {
	            display: block; /* [5] */
	        }


	/**
	 * Primary nav. Extends `.tabs`.
	 *
	 * 1. Stop tabs’ corners leaking out beyond our 4px round.
	 */
	.primary-nav {
	    text-align: center;
	    overflow: hidden; /* [1] */
	}

	        .primary-nav a {
	            padding: 0.2em 1em;
	            color: #fff;
	            font-weight: bold;
	            text-decoration: none;
	        }

	        .primary-nav a:hover {
	            background-color: #D40000;
	        }

	        .primary-nav a:hover p {
	            color: #FFFFFF;
	           }

	        
	        .primary-nav p {
	        	color: #D40000;
	        }



	/* search bar */

	.search_bar {
	                width:60%;
	                margin:0 auto;
	}
	.search_box {
					width: 50%;
					height: 25px;
	                padding: 0 15px;
	                background: #fff;
	                border:0px solid #dbdbdb;
	                outline: none;
	}
	.search_button {
	                position:relative;
	                height: 25px;
	                padding: 0 15px;
	                left:-7px;
	                border:none;
	                outline: none;
	                background-color: #FBD217;
	                color:#D40000;
	                cursor: pointer;
	                -webkit-transition: background .55s ease;
				  	-moz-transition: background .55s ease;
				  	-ms-transition: background .55s ease;
				  	-o-transition: background .55s ease;
				  	transition: background .55s ease;
	}
	.search_button:hover  {				
	                background-color: #000;
	                color:#fafafa;
	}



	/* left side menu */

	.partLeft_title {
		font-size: 15px;
		line-height: 25px;
		color: #555;
		text-align: left;
		padding-left: 5px;
	}

	.partLeft_section {
		padding-bottom: 20px;
	}

	.menu_me ul {
	    margin: 0 auto;
	    padding-left: 10px;
	    width:120px;
	    list-style-type: none;
	    text-align: left;
	    

	}

	.menu_me ul li {
		width: 100%;
	}

	.menu_me ul li{
		width: 100%;
	}

	.menu_me ul li a {
		font-size: 14px;
		width: 100%;
		display:block;
		padding: 0 3px;
		/*
	    text-decoration: none;
	    color: white; 
	    background-color: #D40000;
	    padding: 1px 0;
	    display:block;
	    margin-bottom: 5px;
	    -webkit-box-shadow: inset 0px 0px 7px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: inset 0px 0px 7px 0px rgba(0,0,0,0.75);
		box-shadow: inset 0px 0px 7px 0px rgba(0,0,0,0.75); 

		-webkit-transition: background .55s ease;
	  	-moz-transition: background .55s ease;
	  	-ms-transition: background .55s ease;
	  	-o-transition: background .55s ease;
	  	transition: background .55s ease;
	  	*/
	}
	 
	.menu_me ul li a:visited {

	}
	 
	.menu_me ul li a:hover, .menu_me ul li .current {
		background: #d40000;
		color: #fff;
	}

	.more_left {
		font-size: 12px;
		padding: 5px 0 0 2px;
	}

	.more_left a {
		color: #999;
	}

	.more_left a:hover {
		color: #555;
	}



	/* mid content */

	.thumb {
		background: #fff;
		padding: 10px 10px;
		margin: 10px 10px;
		width: 192px;
		height: 180px;
		vertical-align: top;
		display: inline-block;
		-webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
		box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
		position: relative;
	}

	.thumb:hover {
		-webkit-box-shadow: 0px 0px 3px 2px rgba(212,0,0,1);
		-moz-box-shadow: 0px 0px 3px 2px rgba(212,0,0,1);
		box-shadow: 0px 0px 3px 2px rgba(212,0,0,1);
	}

	.thumb_img_bg {
		min-width: 192px;
		min-height: 108px;
		background-color: #000;
		position: relative;
	}

	.thumb_img {
		max-width: 192px;
		max-height: 108px;
		position: absolute;
		top: 50%;
		left: 50%;
		margin-right: -50%;
	    transform: translate(-50%, -50%);
	    -webkit-transform: translate(-50%, -50%);
	}

	.video_duration {
		position: absolute;
		bottom: 5px;
		right: 5px;
		background: #000;
		color: #fff;
		font-size: 12px;
		padding: 0 3px;
	}

	.thumb_img a {
		border: 1px solid #D40000;
	}

	.thumb_img a:hover {
		border: 1px solid #D40000;
	}

	.descr {
		font-weight: normal;
		text-overflow: ellipsis; 
		white-space: nowrap;
		overflow: hidden;
	}

	.upl_by {
		font-weight: normal;
		font-size: 14px;
		color: #767676;
	}

	.upl_by a {
		color: #767676;
		font-style: italic;
	}

	.upl_by a:hover {
		color: #000;
	}

	.upl_info {
		width: auto;
		font-size: 11px;
		text-align: right;
		list-style-type: none;
		position: absolute;
		bottom: 3px;
		right: 3px;
	}

	.upl_info li {
		display: inline-block;
	}


	.video_row {
		display: table;
		margin: 0 auto;
		padding-bottom: 10px;
		text-align: center;
	}

	.video_row_last {
		display: table;
		margin: 0 auto;
		text-align: center;
	} 


	/* footer */

	.wrapp {
		min-height: 100%;
		height: auto !important; /* This line and the next line are not necessary unless you need IE6 support */
		height: 100%;
		margin: 0 auto -50px; /* the bottom margin is the negative value of the footer's height */
	}


	.footer {
		height: 50px;
	}

	/* footer social icons */
	.footer_social {
	  	padding: 0;
	  	text-align: center;
	}

	.social {
	  	display: inline-block;
	  	width: 40px;
	  	height: 40px;
	  	margin: 0 11px;
	  	line-height: 45px;
	  	font-size: 25px;
	  	text-align: center;
	  	color: #555;
	  	border-radius: 10px;
	  	background: #eee;
	  	overflow: hidden;
	  	cursor: pointer;
	  	-webkit-box-shadow: 0px 0px 5px 0px rgba(117,117,117,1);
		-moz-box-shadow: 0px 0px 5px 0px rgba(117,117,117,1);
		box-shadow: 0px 0px 5px 0px rgba(117,117,117,1);

	}

	.social a{
		padding: 3px;
		color: #555;
		-webkit-transition: color .55s ease;
	  	-moz-transition: color .55s ease;
	  	-ms-transition: color .55s ease;
	  	-o-transition: color .55s ease;
	  	transition: color .55s ease;
	}

	.social a:hover {
		color: #D40000;
	}

	.footerText{
		text-align: center;
		vertical-align: center;
		font-size: 18px;
		line-height: 50px;
	}

	.footer_small {
		font-size: 12px;
		text-align: center;
		color: #888;
	}

	#shareButtons {
		text-align: center;

	}

	#namePhotoProfileToUpload {
		display: none;
	}

	#messageChangePhotoNameLastname {
		text-align: center;
	}

	.languageFlag {
		max-height: 12px;
	}

	.centerI {
		text-align: center;
	}

	.centerB {
		display: block;
		margin: 0 auto;
	}

}



/* min-width: 1280px ====================================================================================================================== */

@media (min-width: 1280px) {

* {
	margin: 0;	
}

ul { margin: 0; padding: 0; }

html {
	margin:0;
	padding:0;
	height:100%;
	min-width: 1024px;
	font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
	background: rgb(237,237,237); /* Old browsers */
	background: -moz-linear-gradient(left,  rgba(237,237,237,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(237,237,237,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* IE10+ */
	background: linear-gradient(to right,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ededed',GradientType=1 ); /* IE6-9 */
}

.strong {
	font-weight: bold;
}


/* Let's get this party started */
::-webkit-scrollbar {
    width: 12px;
}
 
/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(212, 0, 0, 1); 
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}
::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(255,0,0,0.4); 
}

::selection {
  background: #FBD217; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #FBD217; /* Gecko Browsers */
}

a {
	color:#D40000;
	text-decoration:none;
}
a:hover {
	color:#A30000;	
	text-decoration:none;
}

select > option:hover{
                box-shadow: 0 0 10px 100px #D40000 inset !important;
}

.red {
	margin-top: 15px;
	color: #D40000;
}


#header {
	top:0;
	left:0;
	position: fixed;
	width: 100%;
	height: 120px;
	background-color: white;
	min-width: 1024px;
	z-index: 1001;

}
#headerContent {
	height: 80px;
}
#searchBar {
	background-color: #D40000;
	height: 40px;
	line-height: 40px;
	text-align: center;
}
#partLeft {
	width: 140px;
	//min-width: 140px;
	top: 80px;
	left:0px;
	position: fixed;
	height: 100%;
	text-align: center;
	background-color: white;
	z-index: 2;
	border-top: 40px solid #d40000;
	border-right: 1px solid #d40000;
	padding-top: 5px;
}
#wrapper {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ededed+0,f6f6f6+47,ededed+100 */
	background: rgb(237,237,237); /* Old browsers */
	background: -moz-linear-gradient(left,  rgba(237,237,237,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(237,237,237,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* IE10+ */
	background: linear-gradient(to right,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ededed',GradientType=1 ); /* IE6-9 */
	min-width: 320px;
	margin: 90px 140px 0px 140px;
	/* height: auto; */
	padding: 5px 0 15px 0;
	/* overflow:scroll;*/

}
#content {
	padding: 0 10px 15px 10px;
	margin: 0 20px;
	height: 100%;
	overflow-x: hidden;
	/* overflow-y: hidden; */
}

#partRight {
	width: 140px;
	//min-width: 140px;
	top:80px;
	right: 0px;
	position: fixed;
	height: 100%;
	background-color: white;
	text-align: center;
	//-webkit-box-shadow: inset 3px -6px 7px 0px rgba(0,0,0,0.75);
	//-moz-box-shadow: inset 3px -6px 7px 0px rgba(0,0,0,0.75);
	//box-shadow: inset 3px -6px 7px 0px rgba(0,0,0,0.75);
	z-index: 2;
	border-top: 40px solid #d40000;
	border-left: 1px solid #d40000;
	padding-top: 10px;
}

.width_70 {
	margin: 0 140px;
	position: relative;

}

.width_70_footer {
	margin: 0 140px;
	position: relative;
	background: rgb(237,237,237); /* Old browsers */
	background: -moz-linear-gradient(left,  rgba(237,237,237,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(237,237,237,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* IE10+ */
	background: linear-gradient(to right,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ededed',GradientType=1 ); /* IE6-9 */

}

.logo{
	position: absolute;
	float: left;
	top: 9.5px;
}

.line {

}



/* header user area */


.header_right {
	float: right;
	width: auto;
  	padding: 0;
  	text-align: center;
}


.user_header {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-image: url('../images/unknown_user.png');
    z-index: 3;
  	margin: 5px 0 0 10px;
  	float: right;
}

.username_header {
	float: right;
	line-height: 55px;
	color: #777;
	font-size: 20px;
}



/* login - register buttons */

.btn-login{
	
	position: absolute;
	vertical-align: bottom;
	right: 0;
	top: 55px;
}

.btn-head {
	background-color: #D40000;
	border-color: #D40000;
	color: #ffffff;
	font-weight: bold;
	font-size: 11px;
	width: 95px;
	outline: none !important;
	cursor: pointer;
	-webkit-transition: background .55s ease;
  	-moz-transition: background .55s ease;
  	-ms-transition: background .55s ease;
  	-o-transition: background .55s ease;
  	transition: background .55s ease;
}

.btn-head:hover,
.btn-head:hover,
.btn-head:active,
.open .dropdown-toggle.btn-head {
	background-color: #A30000;
	border-color: #A30000;
	outline: none !important;	
}


.btn-form {
	background-color: #D40000;
	border-color: #D40000;
	color: #ffffff;
	font-weight: bold;
	font-size: 14px;
	display: table;
	margin: 10px auto 0 auto;
	outline: none !important;
	cursor: pointer;
	-webkit-transition: background .55s ease;
  	-moz-transition: background .55s ease;
  	-ms-transition: background .55s ease;
  	-o-transition: background .55s ease;
  	transition: background .55s ease;
}

.btn-form:hover,
.btn-form:hover,
.btn-form:active,
.open .dropdown-toggle.btn-form {
	background-color: #A30000;
	border-color: #A30000;
;	outline: none !important;
}




/* reg panel */
#panel {
	width: 100%;
	background: #fff;
	margin: 0 auto;
	display: none;
	border-top: 1px solid #d40000;
}


#panel input.text {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    width: 90%;
    padding: 5px 8px 5px 8px;
    -webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
	background-color: #fff;
    color:#333;
    text-shadow: 0px 1px 0px #FFF;
    margin-top: 3px;
    margin-bottom: 3px;
    font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
}	  

#panel input.text:focus {

	outline: none !important;
    box-shadow: inset 0 0 7px #D40000;
}	  

#panel label {
	font-size: 18px;
	text-shadow: 0px 1px 2px #999;
}


.regForm {
	display: table;
	margin: 0 auto;
}


#messageReg,
#messageLog {
	font-size: 18px;
	color: #D40000;
	display: table;
	margin: 0 auto;
}


#registerForm,
#loginForm {
	display: none;
}


.circle-icon {
	background: #D40000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    vertical-align: middle;
   	padding: 10px;
    margin: 10px 0px;
}


/**
 * Tabs object.
 *
 * 1. Tables (kinda) for layout!
 * 2. This is the magic bit; make all children occupy equal width.
 * 3. Required to make the tabs fill their container.
 * 4. Make each tab pack up horizontally.
 * 5. Ensure the hit area covers the whole tab.
 */

.tabs_header {
    margin:  0;
    padding: 0;
    list-style: none;
    display: table; /* [1] */
    table-layout: fixed; /* [2] */
    max-width: 1280px; /* [3] */
}

    .tabs__item {
        display: table-cell; /* [4] */
    }

        .tabs__link {
            display: block; /* [5] */
        }


/**
 * Primary nav. Extends `.tabs`.
 *
 * 1. Stop tabs’ corners leaking out beyond our 4px round.
 */
.primary-nav {
    text-align: center;
    overflow: hidden; /* [1] */
}

        .primary-nav a {
            padding: 0.2em 1em;
            color: #fff;
            font-weight: bold;
            text-decoration: none;
        }

        .primary-nav a:hover {
            background-color: #D40000;
        }

        .primary-nav a:hover p {
            color: #FFFFFF;
           }

        
        .primary-nav p {
        	color: #D40000;
        }



/* search bar */

.search_bar {
                width:60%;
                margin:0 auto;
}
.search_box {
				width: 50%;
				height: 25px;
                padding: 0 15px;
                background: #fff;
                border:0px solid #dbdbdb;
                outline: none;
}
.search_button {
                position:relative;
                height: 25px;
                padding: 0 15px;
                left:-7px;
                border:none;
                outline: none;
                background-color: #FBD217;
                color:#D40000;
                cursor: pointer;
                -webkit-transition: background .55s ease;
			  	-moz-transition: background .55s ease;
			  	-ms-transition: background .55s ease;
			  	-o-transition: background .55s ease;
			  	transition: background .55s ease;
}
.search_button:hover  {				
    background-color: #000;
    color:#fafafa;
}



/* left side menu */

.partLeft_title {
	font-size: 15px;
	line-height: 25px;
	color: #555;
	text-align: left;
	padding-left: 5px;
}

.partLeft_section {
	padding-bottom: 20px;
}

.menu_me ul {
    margin: 0 auto;
    padding-left: 10px;
    width:120px;
    list-style-type: none;
    text-align: left;
    

}

.menu_me ul li{
	width: 100%;
}

.menu_me ul li a {
	font-size: 14px;
	width: 100%;
	display:block;
	padding: 0 3px;
	/*
    text-decoration: none;
    color: white; 
    background-color: #D40000;
    padding: 1px 0;
    display:block;
    margin-bottom: 5px;
    -webkit-box-shadow: inset 0px 0px 7px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: inset 0px 0px 7px 0px rgba(0,0,0,0.75);
	box-shadow: inset 0px 0px 7px 0px rgba(0,0,0,0.75); 

	-webkit-transition: background .55s ease;
  	-moz-transition: background .55s ease;
  	-ms-transition: background .55s ease;
  	-o-transition: background .55s ease;
  	transition: background .55s ease;
  	*/
}
 
.menu_me ul li a:visited {

}
 
.menu_me ul li a:hover, .menu_me ul li .current {
	background: #d40000;
	color: #fff;
}

.more_left {
	font-size: 12px;
	padding: 5px 0 0 2px;
}

.more_left a {
	color: #999;
}

.more_left a:hover {
	color: #555;
}



/* mid content */

.thumb {
	background: #fff;
	padding: 10px 10px;
	margin: 10px 10px;
	width: 192px;
	height: 180px;
	vertical-align: top;
	display: inline-block;
	-webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
	position: relative;
}

.thumb:hover {
	-webkit-box-shadow: 0px 0px 3px 2px rgba(212,0,0,1);
	-moz-box-shadow: 0px 0px 3px 2px rgba(212,0,0,1);
	box-shadow: 0px 0px 3px 2px rgba(212,0,0,1);
}

.thumb_img_bg {
	min-width: 192px;
	min-height: 108px;
	background-color: #000;
	position: relative;
}

.thumb_img {
	max-width: 192px;
	max-height: 108px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-right: -50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.video_duration {
	position: absolute;
	bottom: 5px;
	right: 5px;
	background: #000;
	color: #fff;
	font-size: 12px;
	padding: 0 3px;
}

.thumb_img a {
	border: 1px solid #D40000;
}

.thumb_img a:hover {
	border: 1px solid #D40000;
}

.descr {
	text-align: left;
	font-weight: normal;
	text-overflow: ellipsis; 
	white-space: nowrap;
	overflow: hidden;
}

.upl_by {
	text-align: left;
	font-weight: normal;
	font-size: 14px;
	color: #767676;
}

.upl_by a {
	color: #767676;
	font-style: italic;
}

.upl_by a:hover {
	color: #000;
}

.upl_info {
	width: auto;
	font-size: 11px;
	text-align: right;
	list-style-type: none;
	position: absolute;
	bottom: 3px;
	right: 3px;
}

.upl_info li {
	display: inline-block;
}


.video_row {
	display: table;
	margin: 0 auto;
	padding-bottom: 10px;
	text-align: center;
}

.video_row_last {
	display: table;
	margin: 0 auto;
	text-align: center;
} 


/* footer */

.wrapp {
	min-height: 100%;
	height: auto !important; /* This line and the next line are not necessary unless you need IE6 support */
	height: 100%;
	margin: 0 auto -50px; /* the bottom margin is the negative value of the footer's height */
}


.footer {
	height: 50px;
}

/* footer social icons */
.footer_social {
  	padding: 0;
  	text-align: center;
}

.social {
  	display: inline-block;
  	width: 40px;
  	height: 40px;
  	margin: 0 11px;
  	line-height: 45px;
  	font-size: 25px;
  	text-align: center;
  	color: #555;
  	border-radius: 10px;
  	background: #eee;
  	overflow: hidden;
  	cursor: pointer;
  	-webkit-box-shadow: 0px 0px 5px 0px rgba(117,117,117,1);
	-moz-box-shadow: 0px 0px 5px 0px rgba(117,117,117,1);
	box-shadow: 0px 0px 5px 0px rgba(117,117,117,1);

}

.social a{
	padding: 3px;
	color: #555;
	-webkit-transition: color .55s ease;
  	-moz-transition: color .55s ease;
  	-ms-transition: color .55s ease;
  	-o-transition: color .55s ease;
  	transition: color .55s ease;
}

.social a:hover {
	color: #D40000;
}

.footerText{
	text-align: center;
	vertical-align: center;
	font-size: 18px;
	line-height: 50px;
}

.footer_small {
	font-size: 12px;
	text-align: center;
	color: #888;
}

#shareButtons {
	text-align: center;

}

#namePhotoProfileToUpload {
	display: none;
}

#messageChangePhotoNameLastname {
	text-align: center;
}

.languageFlag {
	max-height: 12px;
}

.centerI {
	text-align: center;
}

.centerB {
	display: block;
	margin: 0 auto;
}

}

/* ads */
#slideshow {
    position:relative;
    width: 100%;
    height: 600px;
    cursor: pointer;
}

#slideshow img {
    position:absolute;
    width: 100%;
    top:-10px;
    left:0;
    z-index:8;
}

#slideshow img.active {
    z-index:10;
}

#slideshow img.last-active {
    z-index:9;
}