body {
background:#122447 url(/files/generic_png/1004/body%2Dbg.png);
font-family:verdana;
font-size:12px;
}

h1, h2, h3 {
font-family: 'Titillium Web', sans-serif;
font-weight:400;
}

h1 {
color:#122447;
font-size:24px;
text-transform:uppercase;
}

h2 {
color:#122447;
font-size:18px;
}

a {
cursor: pointer;
}

#header-bg {
background:url(/files/generic_png/1005/header%2Dbg.png) top center no-repeat;
height:700px;
position:absolute;
top:0;
left:0;
width:100%;
z-index:-1;
}

#content ol {
margin-left: 15px;
padding-left:15px;
}

#content ul {
list-style:none;
margin-left: 0;
padding-left:10px;
position:relative;
}

#content ul li {
position:relative;
padding-left:15px;
}

#content ul li:before {
content: "\00BB";
color: #BA171C;
line-height: 1.8;
margin-right:10px;
display:block;
float:left;
clear:left;
height:100%;
position:absolute;
top:0;
left:0;
}

#sponsors {
background: rgb(18,36,71); /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzEyMjQ0NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxMTE1MzUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, rgba(18,36,71,1) 0%, rgba(17,21,53,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(18,36,71,1)), color-stop(100%,rgba(17,21,53,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(18,36,71,1) 0%,rgba(17,21,53,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(18,36,71,1) 0%,rgba(17,21,53,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(18,36,71,1) 0%,rgba(17,21,53,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(18,36,71,1) 0%,rgba(17,21,53,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#122447', endColorstr='#111535',GradientType=0 ); /* IE6-8 */
-webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,1);
box-shadow: 0 0 30px 0 rgba(0,0,0,1);
}

#sponsors .container {
  width:1200px;
  max-width: 100%;
}
#sponsors .container .row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
#sponsors img {
max-width:100%;
}

.sponsor-wrapper {
margin-left: 25px;
width: 11%;
padding-top: 5px;
padding-bottom:5px;
}

.valtra {
padding-top: 15px;
padding-top: 0;
}
.mersu {
  max-width: 65px;
}

@media (max-width: 991px) {
  .sponsor-wrapper {
  margin-left: 10px;
  }
}
@media (max-width: 768px) {
  .sponsor-wrapper {
  margin-left: 0px;
  width: 20% !important;
  }
  .valtra {
  padding-top: 15px;
  padding-top:0;
  }
}

@media (max-width: 468px) {
  .valtra {
  padding-top: 7px;
  padding-top: 0;
  }
  .sponsor-wrapper {
    padding: 5px;
  }
}

#logo {
padding:80px 0 0 0;
position: relative;
}

#logo img {
max-width:100%;
}

#flags {
position: absolute;
top: 20px;
right: 20px;
}

#main-menu ul {
background:url(/files/generic_png/1006/menu%2Dbg.png);
list-style:none;
margin:0;
padding:0;
position:relative;
text-align:center;
z-index:2;
-webkit-box-shadow: 0 0 30px 0 rgba(0,0,0,1);
box-shadow: 0 0 30px 0 rgba(0,0,0,1);
}

#main-menu ul li {
display:inline-block;
}

#main-menu ul li a {
color:#FFF;
display:inline-block;
font-family: 'Titillium Web', sans-serif;
font-size:22px;
font-weight:400;
height:87px;
line-height:87px;
margin:0 15px;
text-transform:uppercase;
text-shadow: 0 0 5px #000000;
-webkit-transition: all 300ms ease-in-out;
-moz-transition: all 300ms ease-in-out;
-ms-transition: all 300ms ease-in-out;
-o-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
}

#main-menu ul li a:hover, #main-menu ul li a.act {
text-decoration:none;
text-shadow: 0 0 5px #FFFFFF;
}

#main-menu .col-sm-12 {
position:relative;
}

#main-menu-left {
background:url(/files/generic_png/1007/menu%2Dbg%2Dleft.png) no-repeat;
width:27px;
height:118px;
position:absolute;
left:-12px;
top:-1px;
z-index:3;
}

#main-menu-right {
background:url(/files/generic_png/1008/menu%2Dbg%2Dright.png) no-repeat;
width:27px;
height:118px;
position:absolute;
right:-12px;
top:-1px;
z-index:3;
}

#sub-menu {
background: rgb(186,23,28); /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JhMTcxYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5MDFlMWMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, rgba(186,23,28,1) 0%, rgba(144,30,28,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(186,23,28,1)), color-stop(100%,rgba(144,30,28,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ba171c', endColorstr='#901e1c',GradientType=0 ); /* IE6-8 */
position:absolute;
left:40px;
top:69px;
}

#sub-menu ul {
background: transparent; /* Old browsers */
padding:0 10px;
}

#sub-menu ul li a {
color:#FFF;
display:inline-block;
font-size:13px;
height:45px;
line-height:45px;
margin:0 10px;
text-transform:uppercase;
text-shadow: none;
-webkit-transition: all 300ms ease-in-out;
-moz-transition: all 300ms ease-in-out;
-ms-transition: all 300ms ease-in-out;
-o-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
}

#sub-menu-left {
background:url(/files/generic_png/1010/sub%2Dmenu%2Dleft.png) no-repeat;
width:28px;
height:35px;
position:absolute;
left:-28px;
top:10px;
z-index:1;
}

.sub-menu-left-a {
top: 80px !important;
left: 27px !important;
}

.act {
font-weight: bold;
}

#atmos {
-webkit-box-shadow: 0 0 30px 0 rgba(0,0,0,1);
box-shadow: 0 0 30px 0 rgba(0,0,0,1);
position:relative;
z-index:1;
background: #FFF;
}

#atmos img {
max-width:100%;
}

#atmos-left {
float:left;
width:49.8%;
}

#atmos-right {
float:right;
width:49.8%;
}

#atmos-text {
background: rgb(186,23,28); /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JhMTcxYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5MDFlMWMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, rgba(186,23,28,1) 0%, rgba(144,30,28,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(186,23,28,1)), color-stop(100%,rgba(144,30,28,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ba171c', endColorstr='#901e1c',GradientType=0 ); /* IE6-8 */
color:#FFF;
font-family: 'Titillium Web', sans-serif;
font-size:20px;
line-height:50px;
padding:0 20px;
position:absolute;
bottom:-40px;
width:860px;
margin:0 40px;
-webkit-box-shadow: 0 0 30px 0 rgba(0,0,0,1);
box-shadow: 0 0 30px 0 rgba(0,0,0,1);
}

#atmos-text-left {
background:url(/files/generic_png/1011/atmos%2Dtext%2Dleft.png) no-repeat;
width:20px;
height:41px;
position:absolute;
left:-20px;
top:10px;
}

#content {
background:#FFF;
padding:40px;
-webkit-box-shadow: 0 0 50px 0 rgba(255,255,255,.40);
box-shadow: 0 0 50px 0 rgba(255,255,255,.40);
}

#content img {
display: block;
height: auto;
max-width: 100%;  
}

#atmos-wrapper + #content-wrapper #content {
padding:80px 40px 40px;
}

#footer-wrapper {
background: rgb(186,23,28); /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JhMTcxYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5MDFlMWMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, rgba(186,23,28,1) 0%, rgba(144,30,28,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(186,23,28,1)), color-stop(100%,rgba(144,30,28,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ba171c', endColorstr='#901e1c',GradientType=0 ); /* IE6-8 */
color:#FFF;
position:relative;
z-index:3;
-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,.75);
box-shadow: 0 0 5px 0 rgba(0,0,0,.75);
}

#social-media {
float:left;
}

#contact-info {
float:left;
margin:13px 0 12px 20px;
}

.customer-details tr td {
padding: 5px;
}


#copyrights {
margin:0;
padding:5px 0;
color:#808ea1;
text-align:right;
font-size:10px;
}

#copyrights a {
color:#808ea1;
}

.news-wrapper {
margin-bottom:30px;
}

.news-abstract h2 {
margin-top:0;
}

.news-image img {
-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,.75);
box-shadow: 0 0 5px 0 rgba(0,0,0,.75);
}

.add-margin-top {
margin-top:20px;
}

.competitor-name {
font-size:10px;
margin-top: 5px;
}

.competitor-group-name {
font-size: 12px;
font-weight: bold;
}

.competitor-list img {
-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,.75);
box-shadow: 0 0 5px 0 rgba(0,0,0,.75);
}

.card-blue-area {
width: 310px;
height: 50px;
background: #0e2040;
margin-top: 30px;
margin-left: 20px;
-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,.75);
box-shadow: 0 0 5px 0 rgba(0,0,0,.75);
color: #FFF;
padding-top: 10px;
padding-left: 10px;
}

.comp-card {
line-height: 0.8;
overflow: visible !important;
padding-top: 20px;
}

.comp-card .comp-line {
line-height: 1.5;
}

.comp-card .col-sm-4{
left: 25px;
z-index: 10;
}

.comp-card .col-sm-8 {
margin-top: 40px;
width: 60% !important;
margin-left: 15px;
}

.comp-card img {
-webkit-box-shadow: 8px 8px 9px -3px rgba(0,0,0,0.75);
-moz-box-shadow: 8px 8px 9px -3px rgba(0,0,0,0.75);
box-shadow: 0px 8px 9px -3px rgba(0,0,0,0.75);
margin-bottom: 25px;
}

.comp-line img {
-webkit-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
-moz-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
}

.comb-card-name {
background: rgb(186,23,28); /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JhMTcxYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5MDFlMWMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, rgba(186,23,28,1) 0%, rgba(144,30,28,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(186,23,28,1)), color-stop(100%,rgba(144,30,28,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(186,23,28,1) 0%,rgba(144,30,28,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ba171c', endColorstr='#901e1c',GradientType=0 ); /* IE6-8 */
color:#FFF;
-webkit-box-shadow: 8px 8px 9px -3px rgba(0,0,0,0.75);
-moz-box-shadow: 8px 8px 9px -3px rgba(0,0,0,0.75);
box-shadow: 8px 8px 9px -3px rgba(0,0,0,0.75);
height: 30px;
width: 539px;
right: -12px;
position: absolute;
z-index: 5;
}

.comb-card-name p {
font-size: 20px;
margin-top: 5px;
margin-left: 208px;
}

.comb-card-name-left {
background: url('/files/generic_png/1146/card%2Dleft.png') no-repeat;
height: 25px;
width: 16px;
position: absolute;
top: 30px;
right: 529px;
z-index: 0;
}

.card-name-right {
background: url('/files/generic_png/1147/card%2Dright.png') no-repeat;
height: 25px;
width: 16px;
position: absolute;
top: 30px;
left: 529px;
z-index: 0;
}

.prev-text {
float: left;
margin-left: 42px;
font-size: 10px;
}

.next-text {
float:right;
margin-right: 42px;
font-size: 10px;
}

#games .cal-header {
float: left;
width:95%;
}

#games h2 {
margin-top: 0;
}

#games .leftarrow {
margin-top: 4px;
color: #BA171C;
}

#games .rightarrow {
margin-top:4px;
}

#games .leftarrow a {
color: #BA171C;
}

#games .rightarrow a {
color: #BA171C;
}

#games .prev-name {
font-size: 12px;
margin-top: 7px;
margin-left: 6px;
}

#games .next-name {
font-size: 12px;
margin-top: 7px;
}

#games .month-now {
width: 100%;
position: relative;
left: 30%;
}

#games .month-nows {
-webkit-appearance: none;
border: 0px;
padding: 5px;
background: transparent;
border: 0;
border-radius: 0;
overflow: hidden;
-moz-appearance: none;
text-indent: 0.01px;
text-overflow: '';
appearance: none;
cursor: pointer;
width: 120px;
//height: 34px;
vertical-align: middle;
}

#games .month-nows:focus {
border: 0px;
outline: none;
}

#games .month-select {
max-width: 110px;
top: -10px;
position: absolute;
left: 40%;
background: url('/files/generic_png/2313/select%2Darrow2.png') no-repeat right;
background-size: 8%;
background-position: right 55%;
cursor: pointer;
}

.months-select {
margin-bottom: 10px;
}

#games .month-now, .prev-name {

}

#games table {
width: 100%;
}

#games tr:nth-child(even) {
    background-color: #cee7fc;
}

#games th {
padding-top: 10px;
padding-bottom: 5px;
border-top: 1px solid #BA171C;
border-bottom: 1px solid #BA171C;
}

#games td {
padding: 5px;
}

/* Kilpailija */

#kilpailijaid .comp-card {
margin-left: 35px;
border: 2px solid #000;
width: 370px;
padding-top: 10px;
}

#kilpailijaid .comb-card-name {
width: 390px;
left: 40px;
}

#kilpailijaid .col-sm-12 {
margin-top: 20px;
width: 60% !important;
margin-left: 30px;
line-height: 1.5;
}

#kilpailijaid .comb-card-name p {
font-size: 20px;
text-align:left;
margin-top: 6px;
margin-left: 30px;
}

#kilpailijaid .comb-card-name-left {
top: 30px;
left: -5px;
}

#kilpailijaid .card-name-right {
left: 379px;
}

.race-card .prev-text {
margin-top: 30px;
margin-left: 19px;
}

.race-card .prev-text p img { 
margin-top: -5px !important;
}

.race-card .next-text { 
margin-right: 19px;
margin-top: 30px;
}

.race-card .next-text p img {
margin-top: -5px !important;
}

.race-card-content {
line-height: 1.0 !important;
}

/* Galleria */

#gallery img {
-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,.75);
box-shadow: 0 0 5px 0 rgba(0,0,0,.75);
}

#gallery .col-sm-2 {
padding-left: 0px !important;
padding-right: 0px !important;
max-width: 14.7% !important;
margin-left: 15px !important;
}

/* Queryt */

@media (max-width:991px) {

body {
word-wrap:break-word;
}

#logo {
padding:0;
}

#main-menu ul li a {
font-size:15px;
margin:0 15px;
}

#sub-menu ul li a {
font-size:13px;
margin:0 10px;
}

#atmos-text {
font-size:18px;
width:640px;
margin:0 40px;
-webkit-box-shadow: 0 0 30px 0 rgba(0,0,0,1);
box-shadow: 0 0 30px 0 rgba(0,0,0,1);
}


#contact-info {
clear:both;
float:left;
margin:10px 0;
}

#games .month-now, .prev-name {
margin-right: 65px;
margin-left: 5px;
}
#games .cal-header {
float: left;
width:95%;
}


/* Kilpailija */

#kilpailijaid .comp-card {
margin-left: 0px;
border: 2px solid #000;
width: 100%;
padding-top: 10px;
}

#kilpailijaid .comb-card-name {
width: 98%;
left: 5px;
}

#kilpailijaid .comb-card-name-left {
top: 30px;
left: -5px;
}

#kilpailijaid .card-name-right {
left: 315px;
}

#games .month-now {
left: 0%;
}

.card-blue-area {
width: 260px;
}

#gallery .col-sm-2 {
padding-left: 0px !important;
padding-right: 0px !important;
max-width: 14.1% !important;
margin-left: 15px !important;
}

#games .month-select {
width: 114px;
top: -10px;
position: absolute;
left: 37%;
}

}

@media (max-width:767px) {

#gallery .col-sm-2 {
padding-left: 0px !important;
padding-right: 0px !important;
max-width: 100% !important;
margin-left: 15px !important;
}

#gallery img {
margin-top: 10px;
}

#sub-menu-left {
display: none;
}

#main-menu {
background:url(/files/generic_png/1006/menu%2Dbg.png) 50% 50%;
padding:15px;
position:relative;
z-index:3;
-webkit-box-shadow: 0 0 30px 0 rgba(0,0,0,1);
box-shadow: 0 0 30px 0 rgba(0,0,0,1);
}

#atmos-text {
display:none;
}

#content {
padding:20px;
}
.next-text {
display: none;
}
.prev-text {
display: none;
}

.comb-card-name {
height: 30px;
width: 326px;
right: -12px;
position: absolute;
z-index: 5;
}

.comb-card-name p {
font-size: 20px;
margin-top: 5px;
text-align: center;
margin-left: 0px;
}

.comb-card-name-left {
background: url('/files/generic_png/1146/card%2Dleft.png') no-repeat;
height: 25px;
width: 16px;
position: absolute;
z-index: 0;
right: 314px;
}

.card-name-right {
background: url('/files/generic_png/1147/card%2Dright.png') no-repeat;
height: 25px;
width: 16px;
position: absolute;
z-index: 0;
left: 315px;
}

.comp-card .col-sm-4{
left: 75px;
z-index: 10;
top: 50px;
margin-bottom: 5px;
}
.comp-card p {
text-align: center;
margin-left: -20px;
}

/* Kilpailija */

#kilpailijaid {
margin-top: 20px;
}

#kilpailijaid .comp-card {
margin-left: 0px;
border: 2px solid #000;
width: 390px;
padding-top: 10px;
}

#kilpailijaid .comb-card-name {
width: 410px;
left: 5px;
}

#kilpailijaid .col-sm-12 {
width: 80% !important;
}

#kilpailijaid .comb-card-name p {
font-size: 20px;
text-align:left;
margin-top: 6px;
margin-left: 30px;
}

#kilpailijaid .comb-card-name-left {
top: 30px;
left: -5px;
}

#kilpailijaid .card-name-right {
left: 398px;
}

#games .month-now {
left: 25%;
}

.card-blue-area {
width: 310px;
}

#games .month-select {
width: 114px;
top: -10px;
position: absolute;
left: 40%;
}

}

@media (max-width:478px) {
/* Kilpailija */

#kilpailijaid .comp-card {
margin-left: 0px;
border: 2px solid #000;
width: 300px;
padding-top: 10px;
}

#kilpailijaid .comb-card-name {
width: 320px;
left: 5px;
}

#kilpailijaid .comb-card-name-left {
top: 30px;
left: -5px;
}

#kilpailijaid .card-name-right {
left: 310px;
}
#games .month-now {
left: 3%;
}
.card-blue-area {
width: 255px;
}

#games .month-now, .prev-name {
margin-right: 25px;
margin-left: 5px;
}

#games .month-select {
width: 114px;
top: -10px;
position: absolute;
left: 30%;
}

}

#fb-root {
    display: none;
}

/* To fill the container and nothing else */

.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}

.ie .month-select {
width: 107px;
top: -10px;
position: absolute;
left: 40%;
background: #FFF !important;
background-size: 11%;
background-position: right 13px;
}

#extranet-form p {
vertical-align: middle;
}

#extranet-form table {
width: 100%;
max-width: 350px;
}

#extranet-form input[type="text"],#extranet-form input[type="password"] {
margin-bottom: 10px;
padding: 3px;
width: 100%;
}

.account-information {
position: absolute;
top: 50px;
right: 20px;
text-align: left;
line-height: 1;
background: #FFFFFF;
padding: 10px;
padding-bottom: 0px;
opacity: 0.7;
 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"
}

@media (max-width:767px) { 
.account-information {
float: right;
position: relative;
top: 50px;
right: 20px;
margin-bottom: 70px;
text-align: left;
line-height: 1;
background: #FFFFFF;
padding: 10px;
padding-bottom: 0px;
opacity: 0.7;
 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"
}
}

.extranet-contentmenu ul li a {
background:rgb(186,23,28);
padding: 8px;
color: #FFF;
text-decoration: none;
}

.extranet-contentmenu ul li a:hover {
background:rgb(140,28,28);
}

.extranet-contentmenu ul li:before {
content:"" !important;
}

.extranet-contentmenu ul li {
float: right;
padding: 5px !important;
height: 30px;
margin-bottom: 6px;
}

.extranet-btn {
background:rgb(186,23,28);
padding: 5px;
color: #FFF;
text-decoration: none;
border: 0;
}

.extranet-btn:hover {
background:rgb(140,28,28);
text-decoration: none;
color: #FFF;
}

.extranet-profile-form input[type="text"] {
width: 100%;
}

.extranet-profile-form table tr td {
padding-bottom: 5px;
padding-right: 10px;
}

.extranet-sidebar-menu ul {
padding-left: 0 !important;
}

.extranet-sidebar-menu ul li:before {
content:"" !important;
}

.extranet-sidebar-menu ul li {
background:rgb(186,23,28);
padding: 5px;
}

.extranet-sidebar-menu ul li:hover {
background:rgb(140,28,28);
}

.extranet-sidebar-menu ul li a {
color: #FFF;
display: block;
text-decoration:none;
}

.extranet-menu-act {
background:rgb(120,28,28) !important;
}

.extranet-gallery {
word-wrap: break-word;
height: 200px;
text-align: center;
margin-bottom: 15px;
border:1px solid #d4d4d4;
}

.extranet-gallery img {
display: block;
margin: 0 auto;
padding-top: 8px;
padding-bottom: 5px;
border:5px solid #FFFFFF;
}

.extranet-material h2 {
margin-top: 0 !important;
}

.extranet-material-load {
margin-top: 10px;
}

.extranet-material-load img {
display: inline-block !important;
width: 18px;
padding-bottom: 3px;
}

.extranet-material-load a {
text-decoration: none;
}

.extranet-card #testi {
border: 1px solid #000;
position: relative;
width: 518px !important;
}

.extranet-card #comp-card {
border: 1px solid #000;
position: relative;
width: 518px !important;
}

.extranet-card .comb-card-name {
width: 538px !important;
}

.extranet-card .card-name-right {
left: 527px;
}

.extranet-card .comb-card-name-left {
right: 528px;
}

.extranet-profile-a:visited {
color: #2a6496;
}

@media (max-width:991px) {

  .extranet-card #testi {
  width: 400px !important;
  }
  
  .extranet-card #comp-card {
  width: 400px !important;
  line-height: 1 !important;
  }
  
  .extranet-card .comb-card-name {
  width: 421px !important;
  }
  
  .extranet-card .card-name-right {
  left: 410px;
  }
  
  .extranet-card .comb-card-name-left {
  right: 410px;
  }
  
  .extranet-card p {
  line-height: 1.4 !important;
  }
  
  .extranet-card .comb-card-name p {
  margin-top: 0px;
  margin-left: 170px;
  }

}

@media (max-width:768px) {

  .extranet-card #testi {
  width: 260px !important;
  }
  
  .extranet-card #comp-card {
  width: 260px !important;
  }
  
  .extranet-card .comb-card-name {
  width: 281px !important;
  }
  
  .extranet-card .card-name-right {
  left: 270px;
  }
  
  .extranet-card .comb-card-name-left {
  right: 270px;
  }
  
  .extranet-card .comp-card .col-sm-8 {
  margin-left: 70px;
  margin-top: 75px;
  }
  
  .extranet-card p {
  line-height: 1.4 !important;
  }
  
  .extranet-card .comp-card .col-sm-4 {
  left: 55px;
  }
  
  .coach-4 {
  position: relative;
  }
  
  .coach p {
  word-wrap: break-word !important;
  }
  
  .extranet-card .comb-card-name p {
  margin-top: 0px;
  margin-left: 20px;
  }

}
