@font-face {
    font-family: Lobster;
    src: url('../fonts/lobster-webfont.eot');
    src: url('../fonts/lobster-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/lobster-webfont.woff2') format('woff2'),
         url('../fonts/lobster-webfont.woff') format('woff'),
         url('../fonts/lobster-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}



body {
background: url(../images/cream_pixels.png);
}

video {
    display: block;
    width: 100%;
    height: 300px;
}

header, footer
{

	width: 100%;
	background: rgba(255, 255, 255, .6);
	padding: 10px 0;

}

header
{
border-bottom: 2px solid #eee;
	padding-top: 10px;
}

.top_menu a
{
	color: white;
	font-size: 24px;
	text-decoration: none;


}


.top_menu a span
{
	font-size: 20px;
    margin: 0px 5px;
}

.top_menu
{
	width: 100%;
	background: rgba(0, 80, 151, .9);
	height: 36px;
    position: relative;

}

.right_form
{
    position: absolute;
    top:0;
    right:0;
    height: 36px;
    margin-right: 5px;

}

.right_form h5
{
    color: white;
    float: left;
   margin: 11px 5px;
}

a.btn_logout
{
   font-size: 16px;
   color: #7A7A7A;
    margin-top: 4px;
    padding: 0 6px;
}

.top_menu_fixed
{
    height: 50px;
    top: 0;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 5;
    display: none;
}

.top_menu_fixed a span
{
    color: rgb(0, 80, 151);
    font-size: 30px;
    margin: 7px 0 0 12px;
}

.top_menu_fixed a div
{
    color: rgb(0, 80, 151);
    font-size: 30px;
    position: absolute;
    top: 5px;
    left: 50px;
}

.right_block_fixed
{
    position: fixed;
    top: 5px;
    right: 12px;
}

.right_block_fixed img
{
    width: 40px;
    height: 40px;
    float: right;
}

.right_block_fixed h1
{

    color: rgba(0, 80, 151, 1);
	font-family: Lobster;
    font-size: 2em;
    line-height: 0;
    float: left;
    margin-right: 5px;
}

.admin_panel_button
{
   background-color: #fef279;
}



.my_profile_menu_button
{
    background-color: #7198b9;
   color: white;
}

.mm-page .top_menu
{
	padding:0;
}

footer
{

	border-top: 2px solid #eee;
	margin-top: 20px;
}

footer img
{
	margin: 0 5px;
}

.footer_text h5
{
margin-top: 20px;
}




header h1
{
	text-align: center;
	line-height: 0;
	color: rgba(0, 80, 151, 1);
	font-family: Lobster;
	letter-spacing: 1.8px;
	font-size: 4em;
    cursor: default;

	text-shadow: 0px 1px 2px rgba(200, 200, 200, 0.6);
}

h3, h4
{
    cursor: default;
}

.logo img
{
	width: 100%;
}

.header_img span {
    background-color: rgba(0, 80, 151, 1);
    color: #ffffff;
    padding: 1px 6px;
    font-size: 15px;
    position: absolute;
    bottom: -1px;
    right: 29px;
}

.header_img img
{
	width: 100%;
	max-width: 961px;

}

#slider div img
{
	float: left;
	width: 100%;
	position: relative;
}

.owl_title
{
	position: absolute;
	background: rgba(255, 255, 255, .7);
	width: 100%;
	bottom: 0;
	padding: 0 10px;
	color: #333;
}

.owl_title h3
{
	margin: 10px;
	font-size: 20px;
}

.margin_top
{
	margin-top: 20px;
}

.margin_top_small
{
	margin-top: 10px;
}

.last_results h3
{
	padding: 0;
	margin: 0;
	margin-top: 12px;
}



.competition
{
	border: 1px solid #9aaaa6;
	margin: 10px;
	margin-bottom: 0;
	border-radius: 4px;
	position: relative;
	height: 105px;
	padding-bottom: 5px;
}



.competition div h4
{
	color: #333;
    cursor: pointer;
}

.img_conteiner
{
top: 10px;
}

.img_conteiner img
{
width: auto;
max-width: 100%;
max-height: 50px;
}

.eye_counter
{
	line-height: 100%;
	color: #969696;

}


.eye_counter span
{
    font-size: 12px;
}

span.counter_text
{
    font-size: 14px;
}

.panel-heading div div h3
{

}

.rio
{
	position: relative;
	padding-top: 50px;
}

.rio img
{
	width: 100%;
}

.rio_title
{
	text-shadow: 2px 1px 4px rgba(150, 150, 150, 0.5);
	color: white;
	width: 370px;
	position: absolute;
	bottom: 40px;
	left: 80px;
	font-size: 2em;
}

.rio_title span
{
	font-weight: 700;
	font-size: 8em;
	float: left;
	display: block;
	line-height: 30%;
}

.icon_left
{
float: left;
height: 40px;
line-height: 0;
}

.gold
{
	margin-top: 12px;
}

.best_sportsmens
{
	margin-top: 20px;
	margin-bottom: 10px;
}

.next_logo img
{
	max-height: 64px;
}

.news_list
{
	list-style-type: none;
	padding: 0;
	margin: 0;
	margin-top: 15px;
}

.news_list li
{
	padding: 0;
	margin: 0;
}

.news_list li a
{
	text-decoration: none;
	color: #333;
}

.news_list li a:hover
{

	color: #23527c;
}

.news_list li h4
{
	margin-bottom: 3px;

}

.author
{
	text-align: center;
}

.author a
{
	text-decoration: none;
	font-size: 0.8em;
}

.trainer
{
    height: 330px;
}

.trainers_lost
{
    text-align: center;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
    padding-bottom: 5px;
    padding-top: 5px;
}

.slide_img img
{
    width: 150px;
}

.gallery_album
{
    position: relative;
}

.album_title
{
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    padding: 0 15%;

}

.white_res
{
    background-color: rgba(255, 255, 255, 0.7);
}


#image-preview
{
  width: 300px;
  height: 200px;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  color: #ecf0f1;
  }
#image-preview  input
{
    line-height: 200px;
    font-size: 200px;
    position: absolute;
    opacity: 0;
    z-index: 10;
  }
#image-preview  label
{
    position: absolute;
    z-index: 5;
    opacity: 0.8;
    cursor: pointer;
    background-color: #bdc3c7;
    width: 200px;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
    text-transform: uppercase;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
  }
.admin_form_table table
{
    vertical-align: middle;
    border-collapse: separate;
    border-spacing: 5px;
}

.crud_button
{
    margin: 3px;
}

.comment_username
{
    font-size: 16px;

}

.media-body
{
    position: relative;
}

.comment_delete
{
    color: #eee;
    position: absolute;
    top:0;
    right:0;
}

.comment_delete:hover
{
    color: #CC0000;
}

.ad_delete
{
    color: #7A7A7A;
    top:8px;
    right:5px;
}

.ad_update
{
    color: #7A7A7A;
    position: absolute;
    top:8px;
    right:26px;
}

.ad_update:hover
{
    color: #66CC00;
}

.panel-heading
{
    position: relative;
}

.info_block
{
    padding: 4%;
    text-align: center;
}

.applications_block 
{
    padding: 3%;
    font-size: 16px;
    border: 1px solid #9aaaa6;
}

.applications_block .btn 
{
    margin-top: 15px;
}

#scrollUp {
	bottom: -10px;
	right: 20px;
	width: 70px;
	height: 47px;
	padding: 10px 5px;
	font-family: sans-serif;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	text-shadow: 0 1px 0 #fff;
	color: #828282;
	-webkit-box-shadow: 0 0px 2px 1px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 0px 2px 1px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0px 2px 1px rgba(0, 0, 0, 0.2);
	background-color: #E6E6E6;
	background-image: -moz-linear-gradient(top, #EBEBEB, #DEDEDE);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#EBEBEB), to(#DEDEDE));
	background-image: -webkit-linear-gradient(top, #EBEBEB, #DEDEDE);
	background-image: -o-linear-gradient(top, #EBEBEB, #DEDEDE);
	background-image: linear-gradient(to bottom, #EBEBEB, #DEDEDE);
	background-repeat: repeat-x;
	-webkit-transition: bottom 150ms linear;
	-moz-transition: bottom 150ms linear;
	transition: bottom 150ms linear;
}
	#scrollUp:hover {
		bottom: 0px;
	}

  .team_tab_head
  {
    font-size: 15px;

    font-weight: bold;
  }

  .run_comp
  {
  	text-align: center;
  	background-color: white;
  	border-radius: 4px;
  	padding-bottom: 20px;
  	margin-top: 20px;
  	margin-bottom: 20px;
  	-webkit-box-shadow: inset 0px 1px 6px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: inset 0px 1px 6px 0px rgba(0,0,0,0.5);
	box-shadow: inset 0px 1px 6px 0px rgba(0,0,0,0.5);
  }

  .btn-run
  {
  	width: 100%;
  	margin-bottom: 6px;
  }

  .run_comp .img_conteiner
  {
  	top: 0;
  }

  .run_comp h2
  {
  	margin-bottom: 20px;
  	color: #d9534f;
  }

  .run_comp .up_counter
  {
  	text-align: left;
  }

@media (min-width: 993px) and (max-width: 1200px) {

header h1
{
	font-size: 3.7em;
	padding-bottom: 16px;
}

.competition
{
	height: 120px;
}

.news_list li:last-child
{
display: none;
}

.trainer
{
    height: 310px;
}

}

@media (min-width: 768px) and (max-width: 992px) {
header h1
{
	font-size: 3em;
	letter-spacing: 0;
	padding-bottom: 10px;
}

.competition
{
    height: 100%;
}

h3
{
	font-size: 20px;
}

.rio_title
{

	width: 250px;
	bottom: 45px;
	left: 55px;
	font-size: 1.2em;
}

.rio_title span
{
	font-size: 6em;
}



}

@media (min-width: 480px) and (max-width: 767px) {
header h1
{
	font-size: 3em;
	letter-spacing: 0;
	margin-top: 10px;
	padding-bottom: 0;
	line-height: 100%;
	text-align: left;
}

.competition
{
    height: 100%;
}


footer img
{
	margin: 7px;
}

.rio_title
{

	max-width: 370px;
	bottom: 40px;
	left: 80px;
	font-size: 2em;
}

.logo
{
	padding-right: 0;
}

.trainer
{
    height: auto;
}

.album_title
{
  padding: 0 24%;

}

}

@media (max-width: 479px) {
	.owl_title
	{
		padding: auto;
	}

		.owl_title h3
	{
		font-size: 12px;
	}

header h1
{
	font-size: 1.8em;
	letter-spacing: 0;
	margin-top: 10px;
	padding-bottom: 0;
	line-height: 100%;
	text-align: left;
}

h3
{
	font-size: 18px;
}

.competition
{
    height: 100%;
}



.comp_buttons a
{
	margin: 1px 0;
}


.rio_title span
{
	font-size: 5em;
}

.rio_title
{

	max-width: 210px;
	bottom: 40px;
	left: 65px;
	font-size: 1em;
}

.logo
{
	margin: 0;
	padding: 0;
	padding-left: 10px;
}

.album_title
{
  padding: 0 5%;

}

.album_title h5
{
  font-size: 12px;
  height: 100%;
}

.trainer
{
    height: auto;
}

.right_block_fixed
{

    }
.right_block_fixed h1
{
    text-align: right;
    width: 200px;
    line-height: 100%;
    font-size: 1.5em;
    margin: 0;
    margin-right: 5px;

}

}
