/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
}


a, a:visited {
	color:#fff;
}

a:hover {
	text-decoration:none;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */





  p {
	   margin-bottom:24px;
   }

   b {
	   font-weight:500;
   }


 .blue {
	 color:#8ed8f8 !important;
 }

 .red {
	 color:#cc3333 !important;
 }






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

h1 {
	color:#8ed8f8;
	font-size:22px;
}

h2 {
	color:#8ed8f8;
}


body {
	background:url(../img/bg.png) left top repeat-x #3b5168;
}

body.inner {
	background-image:url(../img/bg-inner.png);
}


#workarea-row > .rating {
	margin-top:150px;
}

.wrapper {
	width:1000px;
	margin:0 auto;
}

.outer-wrapper {
	background:url(../img/main-bg.png) center top no-repeat;
}
.outer-wrapper.--forsage--rules {
	background-image:url(../img/rulez-bg.png);
}

.outer-wrapper.--forsage--prizes,
.outer-wrapper.--forsage--photo,
.outer-wrapper.--forsage--photo_opp,
.outer-wrapper.--forsage--photo_orp,
.outer-wrapper.--forsage--prizes_orp,
.outer-wrapper.--forsage--prizes_opp,
.outer-wrapper.--forsage--rating
{
	background-image:url(../img/prizes-bg.png);
}

	.--forsage--rules  .rules,
	.--forsage--rules  .photo,
	.--forsage--prizes_opp  .rules,
	.--forsage--prizes_orp  .rules,
	.--forsage--rating  .rules,
	.--forsage--prizes_opp  .rules
	{
		padding-left:325px;
		padding-top:115px;
	}
	
	.--forsage--rating .rules {
		min-height:575px;
	}
	
.outer-wrapper.--forsage--register {
	background-image:url(../img/register-bg.png);
}
	.--forsage--photo  .register,
	.--forsage--register  .register,
	.--forsage--prizes_opp  .register,
	.--forsage--prizes_orp  .register,
	.--forsage--photo_opp  .register,
	.--forsage--photo_orp  .register,
	.--forsage--prizes_opp  .register,
	.--forsage--rating  .register,
	.--forsage--prizes  .register {
		padding-left:300px;
		padding-top:115px;
		margin-right:0px;
	}
	
.--forsage--prizes_opp h1,
.--forsage--prizes_orp h1
{

	margin-bottom:10px !important
}
	
header {
	height:68px;
	display:block;
	margin:0 0 25px 0;
	padding:26px 0 0 0;
}

	header .top-menu {
		margin:0;
		padding:0;
		font-size:16px;
		list-style:none;
	}

	header .top-menu li {
		display:block;
		height:35px;
		float:left;
		line-height:35px;
		font-weight:bold;
	}


	header .top-menu li  a {
		text-transform:uppercase;
		color:#fff;
		padding:0 16px;
		text-decoration:none;
	}

	header .top-menu li.active {
		background-color:#cc3333;
		
	}
	
	header .top-menu li:hover {
		background-color:#e94747;
		
	}

	header .top-menu li.active  a, header .top-menu li:hover  a{
		color:#fff;
	}

	header  .user-links {
		float:right;
		color:#fff;
		font-size:12px;
		line-height:16px;
		text-align:right;
	}
	
	header  .user-links  a {
		color:#fff;
	}

#main-logo {
	width:556px;
	height:559px;
	background:url(../img/main-logo.png) center center no-repeat;
	margin:70px auto 0 auto;
}

#features {
	display:block;
	list-style:none;
	width:100%;
	margin:0;
	padding:0;
	text-align:center;
}

	#features  li {
		height:140px;
		width:200px;
		display:inline-block;
		text-align:left;
		padding-left:84px;
		font-size:20px;
		line-height:25px;
		color:#fff;
		vertical-align:top;
		
	}

	#features  li  i {
		display:block;
		height:136px;
		width:116px;
		background:url(../img/ico-sec.png) center center no-repeat;
		float:left;
		margin-left:-84px;
		display:inline-block;
		padding-top:30px;
		margin-top:-30px;
		margin-right:10px;
		
	}

	#features  li.item-2 i {
		height:136px;
		width:97px;
		background:url(../img/ico-med.png) center center no-repeat;
	}
	
	#features  li.item-3 i{
		height:136px;
		width:115px; 
		background:url(../img/ico-speed.png) center center no-repeat;
	}
	
	#features  li.item-2 b{
		font-size:59px;
		line-height:59px;
	}


section {
	position:relative;
}


#cars-wrapper {
	height:auto;
	margin-top:120px;
}

	.car-slide {
		position:relative;
		height:500px;
	}
	
	.car-slide img{
		position:absolute;
	}
		
		.car-slide .car{
			display:none;
		}
		
		.car-slide .text{
			display:none;
		}
		
		.car-slide .icon{
			display:none;
		}
	
	
		.car-slide.niagara .car{
			bottom:0;
			left:0;
		}
		
		.car-slide.niagara .text{
			top:80px;
			left:50px;
		}
		
		.car-slide.niagara .icon{
			bottom:53px;
			right:87px;
		}

		
		.car-slide.redmark .car{
			bottom:37px;
			left:60px;
		}
		
		.car-slide.redmark .text{
			left:154px;
			bottom:54px;
		}
		
		.car-slide.redmark .icon{
			bottom:86px;
			left:12px
		}
		
		.car-slide.volton .car{
			bottom:0px;
			left:60px;
		}
		
		.car-slide.volton .text{
			right:42px;
			bottom:54px;
		}
		
		.car-slide.volton .icon{
			bottom:225px;
			right:41px
		}
		
		
		.car-slide.riginal .car{
			bottom:60px;
			left:60px;
		}
		
		.car-slide.riginal .text{
			right:70px;
			top:90px;
		}
		
		.car-slide.riginal .icon{
			bottom:300px;
			left:167px
		}
		
	
.rating h1 {
	text-align:center;
	margin-bottom:0;
	margin-top:0;
	text-transform:uppercase;
}

	.rating .rating-tab {
		text-align:center;
	}

	.rating .rating-tab a {
		display:inline-block;
		height:32px;
		width:180px;
		line-height:32px;
		border:1px #fff solid;
		background:#fff;
		color:#8ed8f8;
		text-decoration:none;
	}
	
	.rating .rating-tab a.active {
		background:#ccedf2;
		color:#3b5167;
	}

.register {
	// background:url(../img/ico-reg.png) left top no-repeat;
	// padding-left:436px;
	min-height:560px;
}

.rating {
	min-height:560px;
}	

.register h1 {
	margin-bottom:60px;
	color:#8ed8f8;
	font-size:38px;
}

.button {
	display:block;
	width:100%;
	height:57px;
	line-height:57px;
	text-align:center;
	background:#cc3333;
	color:#fff !important;
	margin-bottom:15px;
	text-decoration:none;
	font-size:24px;
	font-weight:bold;
}

.button.auth {
	color:#fff;
	background:#2b3f54;
}

.register .button.reg {
	margin-top:60px;
}

.main_text {
	color:#fff;
	margin:20px 0 0 0;
	font-size:18px;
}

.rules h1 {
	margin-top:22px;
	margin-bottom:20px;
	text-align:center;
	color:#8ed8f8;
	text-transform:uppercase;
	font-size:38px;
	font-weight:normal;
}

.rules h2 {
	margin-bottom:20px;
	font-weight:normal
}



.price_table td {
	padding:10px;
	text-align:center;
	background:#fff;
	color:#3b5167;
}

.price_table .selected td {
	background:#fff;
}

.price_table  .head td {
	font-size:22px;
}


footer {
	margin-top:60px;
	margin-bottom:40px;
	border-top:2px solid #fff;
	padding:20px 0px;
	font-size:12px;
}

footer a {
	color:#fff;
}

footer p {
	float:left;
}

footer .lcol {
	float:right;
}

.example {
	padding-left:20px;
	border-left:1px solid #fff;
}

.example p {
	font-size:12px;
}


#bitva-rating {
	list-style:none;
	margin:0;
	padding:0;
	color:#fff;
	position:relative;
}

	.rating-top-sep{
		height:24px;
		background: url('data:image/gif;base64,R0lGODlhAQATAIABAP///////yH5BAEAAAEALAAAAAABABMAAAIHRA6GeZFZAAA7') left top no-repeat;	
	}
	
	
	.rating-top-sep.top {
		background:none;
	}
	.rating-bottom-sep{
		height:19px;
		background: url('data:image/gif;base64,R0lGODlhAQATAIABAP///////yH5BAEAAAEALAAAAAABABMAAAIHhBF5GcZQAAA7') left top no-repeat;	
	}
	.rating-bottom-sep.bottom{
		background:none;
	}
	
	#bitva-rating .item{
		height:50px;
		padding-bottom:6px;
		vertical-align:top;
		padding-left:25px;
		background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAACRCAMAAAAB1OPkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRF////////VXz1bAAAAAJ0Uk5T/wDltzBKAAAAK0lEQVR42uzQoQEAAAjDsPH/01wwjSC1cU2mFEIIIeSp9NwhhBBCLmQFGABwZw2Bc77ilgAAAABJRU5ErkJggg==') left center no-repeat;
	}
	
	#bitva-rating .item.pos-1{
		background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAACgCAMAAADO8jfsAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRF////////VXz1bAAAAAJ0Uk5T/wDltzBKAAAALUlEQVR42uzLsQ0AAAjDMPj/aWaGcgByVivVqSKEEELIBznKDyGEEELIbgQYAOucDzd7YbF3AAAAAElFTkSuQmCC');
	}
	
	#bitva-rating .item.last{
		background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAACgCAMAAADO8jfsAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRF////////VXz1bAAAAAJ0Uk5T/wDltzBKAAAALUlEQVR42uzLQREAAAjDsOHfNApmANJvrsmUQgghhJDjUpv6EEIIIeSprAADAHR6DzmkWj8lAAAAAElFTkSuQmCC');
	}
	
	#bitva-rating .item.dummy{
		background:none;
		border-left:none;
	}
	
	#bitva-rating .rating-info {
		position:absolute;
		right:97px;
		bottom:0px;
		text-align:right;
	}
		#bitva-rating .rating-info  .first-line{
			font-size:18px;
		}
		
		#bitva-rating .rating-info  .first-line a{
			color:#fff;
		}
	
		#bitva-rating .rating-info  .second-line{
			font-size:30px;
			line-height:28px;
			font-weight:bold;
		}
		
		#bitva-rating .rating-info  .second-line i{
			font-size:14px;
			line-height:16px;
			font-weight:bold;
			display:block;
			color:#fff;
			font-weight:normal;
		}
		
	
	#bitva-rating .item .position{
		height:48px;
		border:1px solid #fff;
		background:#cc3333;
		color:#fff;
		font-size:18px;
		text-align:center;
		line-height:50px;
		display:block;
		width:55px;
		margin:0 6px 0 0;
		padding:0;
		float:left;
	}
		
	#bitva-rating .item .points{
		height:36px;
		border:1px solid #fff;
		background:#ccedf2;
		color:#3b5167;
		font-size:18px;
		line-height:50px;
		display:block;
		width:220px;
		margin:0 6px 0 0;
		padding:6px;
		overflow:hidden;
		line-height:20px;
		text-align:left;
		
	}
	
	#bitva-rating .item .points .point {
		line-height:20px;
		width:33%;
		display:block;
		font-size:24px;
		float:left;
		color:#3b5167;
		
	}
	

	
	#bitva-rating .item .points .inn {
		color:#cc3333;
		font-size:10px;
		display:block;
		width:100%;
	}
	
	#bitva-rating .item.active {
			height:120px;
			width:100%;
			position:relative;
		}
		
		#bitva-rating .item.active  .position{
			height:120px;
			line-height:120px;
			background:#ccedf1;
			color:#cc3333;
		}
	
		#bitva-rating .item.active  .points{
			height:108px;
			line-height:120px;
			width:800px
		}
		
		#bitva-rating .item.active .points .point{
			font-size:60px;
			text-align:center;
			line-height:60px;
			 margin-top: 12px;
		}
		
		#bitva-rating .item .points .point u {
			text-decoration:none;
			font-weight:bold;
		}
		
		#bitva-rating .item.active .points .point i {
			font-size:18px;
			line-height:18px;
			color:#d0bcb0;
			font-style:normal;
			display:block;
			text-align:center;
			text-transform:uppercase;
		}
		
		#bitva-rating .item .points .total,
		#bitva-rating .item.active .points .point.total i {
			color:#cc3333;!important;
		}
		
		#bitva-rating .item.active  .tab-control {
			text-align:left;
			position:absolute;
			right:123px;
			top:-26px;
		}
		
		
		#bitva-rating .item.active  .tab-control a {
			display:block;
			height:26px;
			line-height:26px;
			font-size:14px;
			color:#fff;
			padding:0  16px;
			background:#9d9d9d;
			margin:0;
			text-decoration:none;
			border-top:1px solid #fff;	
			border-top:1px solid #fff;	
			border-right:1px solid #fff;	
			float:left;
		}
		
		#bitva-rating .item.active  .tab-control a:first-child {
			border-left:1px solid #fff;	
		}
		
		#bitva-rating .item.active  .tab-control a.active {
			background:#ccedf2;
			color:#3b5167;
		}
		
.rate_messge {
	margin-top:40px;
	margin-bottom:40px;
	text-align:center;
}

.formula-wrapper {
	border:2px solid #a6222f;
	text-align:center;
}

.slogan {
	color:#fff;
	font-size:22px;
	font-weight:bold;
}

.division_wrapper {
	background-color:#baffff;
	padding-top:20px;
	padding-left:20px;
	border:3px solid #fff;
}

.tab-content {
	display:none;
}

.tab-content.active {
	display:block;
}


/*Effects*/
/* Buzz Out */
@-webkit-keyframes buzz-out {
  10% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  20% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }

  30% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  40% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }

  50% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }

  60% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }

  70% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }

  80% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }

  90% {
    -webkit-transform: translateX(1px) rotate(0);
    transform: translateX(1px) rotate(0);
  }

  100% {
    -webkit-transform: translateX(-1px) rotate(0);
    transform: translateX(-1px) rotate(0);
  }
}

@keyframes buzz-out {
  10% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  20% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }

  30% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  40% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }

  50% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }

  60% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }

  70% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }

  80% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }

  90% {
    -webkit-transform: translateX(1px) rotate(0);
    transform: translateX(1px) rotate(0);
  }

  100% {
    -webkit-transform: translateX(-1px) rotate(0);
    transform: translateX(-1px) rotate(0);
  }
}

.buzz-out {
  display: inline-block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.buzz-out:hover, .buzz-out:focus, .buzz-out:active {
  -webkit-animation-name: buzz-out;
  animation-name: buzz-out;
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

a:hover .buzz-out, a:focus  .buzz-out,a:active  .buzz-out:active {
	  -webkit-animation-name: buzz-out;
  animation-name: buzz-out;
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}


.grow {
  display: inline-block;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.grow:hover, .grow:focus, .grow:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.rotate:hover, .rotate:focus, .rotate:active{
    z-index: 100;
 
    -webkit-animation-name: spin;
    -webkit-animation-duration: 600ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 600ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 600ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
 
    animation-name: spin;
    animation-duration: 600ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@-ms-keyframes spin {
    from { -ms-transform: rotate(0deg); }
    to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}


