@font-face {
    font-family: ImpactFace;
    src: url(../images/impact.ttf);
}

body {
    background-color: black;
    color: white;
    margin: 0;
    font-family: "Trebuchet MS", Calibri, Arial, sans-serif;
	line-height: 1.3;
}
h1 {
    color: #c20e1a;
    font-family: Impact, ImpactFace, sans-serif;
    font-size: 200%;
    font-weight: normal;
    margin: .5em 0 .3em 0;
}
h2 {
    font-size: 130%;
    margin: 1.5em 0 0.5em 0;
    font-weight: 800;
}
p {
    font-size: 100%;
    margin: 0.8em 0;
}
a,
a:visited {
    color: #c20e1a;
}
a:hover,
a:active {
    color: #a20e19;
}
pre {
	overflow: hidden;
	overflow-x: auto;
	display: block;
	margin-left: -1em;
	padding-left: 1em;
	margin-right: -1em;
	padding-right: 1em;
}

.page-header {
    overflow: hidden;
    line-height: 200px;
    min-height: 200px;
    text-align: center;
}
.page-header .logo {
    vertical-align: middle;
    outline: 0 none;
    border: 0 none;
}
.page-header a:hover .logo,
.page-header a:focus .logo,
.page-header a:active .logo {
    opacity: .75;
    outline: 0 none;
    border: 0 none;
}
.page-header .title {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    font-family: Impact, ImpactFace, sans-serif;
    width: 385px;
    white-space: nowrap;
}
.page-header .title.left {
    font-size: 75px;
    transform: scale(1, 1.1) ;
}
.page-header .title.right {
    font-size: 37px;
}
.page-header .title.right .second{
    font-size: 73%;
}
.page-header .title.right.double {
	font-size: 30px;
}
.wrapper {
    position: relative;
    width: 960px;
    max-width: 100%;
    margin: 0 auto;
    padding: 1px 0;
}
.wrapper .barbwire {
    background: transparent url(../images/barbwire.png) repeat-x;

    position: absolute;
    top: 88px;
    width: 100%;
    height: 36px;
}
.wrapper .barbwire.left {
    right: 100%;
    background-position: right;
}
.wrapper .barbwire.right {
    left: 100%;
    background-position: left;
}


.main-menu {
    border-top: 4px solid #c20e1a;
    text-align: center;
    line-height: 38px;
}
.main-menu a,
.main-menu a:visited {
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0 .15em;
}
.main-menu a:hover,
.main-menu a:active {
    color: #c20e1a;
}


.page-footer {
    border-top: 4px solid #c20e1a;
    padding: 0 2em;
}
.page-footer .copyrights {
    padding: 0 0 0 72px;
    margin: 26px 240px 0 0;
    min-height: 63px;
    line-height: 63px;
    background: transparent url(../images/bisonrace-logo.png) left 2px no-repeat;
    background-size: 62px 61px;
    font-size: 80%;
}
.copyrights .text {
    display: inline-block;
    line-height: normal;
    vertical-align: middle;
}
a.inherit {
    color: inherit;
    text-decoration: inherit;
}
a.inherit:hover {
    text-decoration: underline;
}
.page-footer .social-buttons {
    position: absolute;
    top: 26px;
    right: 0;
}
.social-button {
    width: 61px;
    height: 63px;
    margin: 0 0 0 9px;
    display: inline-block;

    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-decoration: none;

    background: transparent url(../images/social.png) no-repeat;
}
.social-button:hover {
    opacity: 0.7;
}
.social-button.facebook {
    background-position: 0 0;
}
.social-button.youtube {
    background-position: 0 -63px;
}
.social-button.vk {
    background-position: 0 -126px;
}
.social-button.mail {
    background-position: 0 -189px;
}
.social-button.twitter {
    background-position: 0 -252px;
}
.social-button.instagram {
    background-position: 0 -315px;
}
.page-footer .menu {
    clear: right;
    text-align: right;
    font-size: 80%;
    margin: 2em 5px 2em 0;
    text-transform: uppercase;
}
.page-footer .menu a {
    color: white;
    text-decoration: none;
}
.page-footer .menu a:hover,
.page-footer .menu a:active {
    color: #c20e1a;
    text-decoration: underline;
}

.bottom-logos {
    float: left;
    margin: 1em 0 1em 0;
	max-width: 50%;
}
.bottom-logos .white-plate {
    background: white;
    display: inline-block;
    border-radius: 4px;
    padding: 2px;
    line-height: 1px;
}


.main-image {
    position: relative;
    overflow: hidden;
    border-top: 4px solid #c20e1a;
    border-bottom: 4px solid #c20e1a;
    line-height: 0;
}
.main-image + .main-image {
    border-top: 0;
}
.main-image .wrapper {
    padding: 0;
}
.clear-fix {
    clear: both;
}
.main-image .image {
    margin: 0 -50%;
    width: 200%;
    height: auto;
}
.vignette {
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: transparent url(../images/vignette.png) repeat-y center;
    background-size: 100%;
}
.main-image.width1600 .image {
	width: 166%;
	margin: 0 -33%;
}
.width1600 .vignette {
	width: 166%;
	left: -33%;
}


.caution.main-content {
	padding: 1em 0;
}
.caution .wrapper {
    background: url(../images/bg-caution.png) top left;
    background-size: 3em 3em;
    padding: 1em;
    width: auto;
    max-width: 992px;
}
.caution .content {
    background-color: white;
    color: black;
    padding: 1px 1em;
}
.main-menu + .caution {
	border-top: 4px solid #c20e1a;
}

.main-content {
    background: #f5f5f5 url("../images/bg-light.jpg") center;
    color: black;
    padding: 1px 1em 1em 1em;
}
.page-header + .main-content,
.main-map + .main-content,
.main-menu + .main-content{
    border-top: 4px solid #c20e1a;
}
.caution + .main-content {
    /*border-top: 0 none;*/
}
.main-content img {
    max-width: 100%;
    height: auto;
}
.main-content.main-form {
    background: white url("../images/vignette.png") center;
}

.field label {
	font-weight: bold;
	display: block;
	margin-bottom: .2em;
}
.field input[type="radio"] + label,
.field input[type="checkbox"] + label {
	display: inline;
	margin-left: 0.3em;
}
.field input[type=text],
.field input[type=date],
.field textarea {
    width: 458px;
    max-width: 90%;
	font-family: "Trebuchet MS", Calibri, Arial, sans-serif;
    font-size: 120%;
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    padding: 1px 0 1px .5em;
}
.field select {
	min-width: 8em;
	font-family: "Trebuchet MS", Calibri, Arial, sans-serif;
	font-size: 120%;
	border: 1px solid #b5b5b5;
	border-radius: 3px;
	padding: 1px 0 1px .5em;
}
.field {
    margin: .3em 0;
}
.field input[type=submit],
a.button,
.button.small {
    background: #c20e1a;
    color: white;
    border: 0 none;
    border-radius: 5px;
    padding: 1em 6em;
    cursor: pointer;
    text-transform: uppercase;
    max-width: 100%;
	font-size: 85%;
}
a.button {
	display: inline-block;
	text-decoration: none;
}
.field input[type=submit]:active,
.field input[type=submit]:hover,
a.button:active,
a.button:hover,
.button.small:hover {
    opacity: .7;
}

.button.small {
	padding: 0.4em 2em;
}
input[disabled] + label {
	opacity: 0.4;
}


.partners-content {
    background: #90908b url("../images/bg-grey.jpg") center;
    padding: 1px 1em 1em;
    text-align: center;
}
.partners-content h2 {
    font-family: Arial, sans-serif;
    font-size: 140%;
    text-transform: uppercase;
    font-weight: 100;
    color: white;
    opacity: .5;
    margin: .8em 0 .2em 0;
}
.partners-content .logo,
.main-content .logo {
    display: inline-block;
    vertical-align: middle;
    margin: .5em .6em;
    line-height: 1px;
    max-width: 80%;
}
.partners-content .white-plate,
.main-content .white-plate {
    background-color: white;
    border-radius: 5px;
    padding: 4px;
}
.partners-content .transparent-plate,
.main-content .transparent-plate {
	background-color: white;
	border-radius: 5px;
	overflow: hidden;
}
.partners-content .logo img,
.main-content .logo img {
    max-width: 100%;
    height: auto;
}
.main-content table {
    width: 100%;
    border-collapse: collapse;
}
.main-content th {
    text-transform: uppercase;
}
.main-content td,
.main-content th {
    border-top: 1px solid #b5b5b5;
    border-bottom: 1px solid #b5b5b5;
    padding: .3em 1em;
}
.main-content table .index,
.main-content table .start,
.main-content table .place,
.main-content table .result {
    text-align: center;
}
.main-content table .index {
	width: 10%;
}
.main-content table .name,
.main-content table .team,
.main-content table .city,
.main-content table .class {
    text-align: left;
}
.main-content table .empty {
    text-align: center;
    padding: 1em 1em;
}

.main-map {
	height: 500px;
	border-top: 4px solid #c20e1a;
}

.adaptive-narrow {
    display: none;
}

@media only screen and (max-width: 992px) {
    .page-header {
        line-height: 140px;
        min-height: 140px;
    }
    .page-header .wrapper {
        width: 650px;
    }
    .wrapper .barbwire {
        top: 55px;
    }
    .page-header .logo {
        width: 110px;
        height: 109px;
    }
    .page-header .title {
        width: 230px;
        white-space: nowrap;
    }
    .page-header .title.left {
        font-size: 43px;
    }
    .page-header .title.right {
        font-size: 22px;
    }
    .page-header .title.right.double{
        font-size: 18px;
    }
}

@media only screen and (max-width: 599px) {
    .adaptive-narrow {
        display: inherit;
    }
    .adaptive-wide {
        display: none;
    }

    .page-footer {
        padding: 0 1em;
    }
    .page-footer .copyrights {
        padding: 0 0 0 72px;
        margin: 26px 0 0 0;
    }
    .page-footer .social-buttons {
        position: static;
        margin: 2em 0 0 0;
        text-align: center;
    }
    .page-footer .bottom-logos {
        position: static;
        margin: 2em 0 0 0;
        text-align: center;
        float: none;
		max-width: none;
    }
    .page-footer .menu {
        text-align: center;
        margin: 2em 0;
    }

    .page-header .title {
        display: block;
        width: auto;
    }
    .page-header .wrapper {
        padding: 40px 0 14px 0;
    }
    .wrapper .barbwire {
        top: 141px;
    }
    .wrapper .barbwire.left {
        left: -75%;
        right: auto;
    }
    .wrapper .barbwire.right {
        right: -75%;
        left: auto;
    }

	.page-header .title.right.double {
		display: flex;
		justify-content: space-around;
	}
	.page-header .title.double a {
		margin-top: .5em;
	}
}

.soon-panel {
	background: transparent url(../images/bg75.png);
	width: 350px;
	max-width: 40%;
	position: absolute;
	right: 0;
	top: 83px;
	line-height: normal;
	text-align: center;
	padding: 2em 0;
}
.soon-panel.left {
	position: absolute;
	left: 0;
	top: 83px;
}
.soon-panel .date {
	color: #c20e1a;
	font-weight: bold;
	font-size: 310%;
	text-align: center;
}
.soon-panel .date.small {
	font-size: 200%;
}
.soon-panel .place {
	display: inline-block;
	color: white;
	font-weight: bold;
	font-size: 210%;
	text-align: center;
	background: url(../images/marker.png) no-repeat left center;
	line-height: 57px;
	padding-left: 40px;
}
.soon-panel .place.small {
	font-size: 120%;
	padding-left: 30px;
	background: url(../images/marker.png) no-repeat left / 1.2em;
	line-height: 40px;
}
.soon-panel .label {
	text-transform: uppercase;
	font-size: 240%;
	font-weight: bold;
}
.soon-panel .twins-buttons {
	margin: 1em 0;
}
.soon-panel .to-form {
	border-radius: 5px 0 0 5px;
	padding: 1em 1.5em 1em 2em;
}
.soon-panel .more-info {
	border-radius: 0 5px 5px 0;
	padding: 1em 2em 1em 1.5em;
	border-left: 1px solid #ce888d;
}
.soon-panel .title2 {
	color: white;
	font-weight: bold;
	font-size: 180%;
	text-align: center;
}
.soon-panel .partner {
	margin: 2em 0 0 0;
}

@media only screen and (max-width: 750px) {
    .adaptive-narrow {
        display: inherit;
    }
    .adaptive-wide {
        display: none;
    }

	.soon-panel,
	.soon-panel.left {
		float: left;
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		padding: 1em 0;
		width: 100%;
		max-width: none;
	}
	.soon-panel .date {
		display: inline-block;
		font-size: 250%;
		margin: 0 .2em;
		line-height: 57px;
	}
	.soon-panel .date.small {
		font-size: 200%;
	}
	.soon-panel .place {
		text-transform: none;
	}
}

form .messages,
.warning {
	background: url(../images/bg-caution.png) top left;
	background-size: 3em 3em;
	padding: 1em;
	width: auto;
	margin: 1em -1em;
}
form .messages .item,
.warning > div {
	background: white;
	padding: 1em;
}
form .messages .item.error {
	color: red;
}
form .messages .item.success {
	color: green;
}

.column2 .wrapper {
	width: 1066px;
}
.column2 .column {
	width: 40%;
	float: left;
	margin: 0 5%;
}
.all-width {
	width: 100%;
	height: auto;
}

@media only screen and (max-width: 599px) {
	.column2 .wrapper {
		width: auto;
	}
	.column2 .column {
		width: auto;
		float: none;
		margin: .5em 0;
	}
}


.lang-panel {
	position: absolute;
	top: 0;
	right: 0;
	line-height: normal;
	z-index: 1000;
}
.lang-panel a	{
	display: block;
	float: left;
	text-transform: uppercase;
	padding: .5em .5em .3em;
	color: white;
	text-decoration: none;
}
.lang-panel a.active {
	border-radius: 0 0 .5em .5em;
	border: 2px solid white;
	border-top: 0 none;
}
.lang-panel a:hover {
	color: #c20e1a;
}
@media only screen and (max-width: 599px) {
	.lang-panel {
		right: 5%;
	}
}

.page-header .title a	{
	color: inherit;
	text-decoration: none;
	margin: 1em 0;
	display: block;
}
.page-header .title a:hover,
.page-header .title a:active {
	color: #c20e1a;
}
.page-header .title.double a {
	margin-bottom: .5em;
}
.page-header .title.double a + a {
	margin-top: .5em;
}
.wide-table {
	overflow-x: auto;
	margin-left: -1em;
	padding-left: 1em;
	margin-right: -1em;
	padding-right: 1em;
}