body {
    background: #DDDCE2 url(../img/bg.jpg) repeat left top;
}

#header{margin-top:20px;}
#page-container{margin-bottom:20px;}

#page-content
{
    padding: 0 10px;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 568px) {
	.standings table td, .standings table th {
		font-size: 9px;
		padding: 1px 2px;
	}
}

@media only screen and (min-device-width : 569px) and (max-device-width : 800px) {
        .standings table td, .standings table th {
                font-size: 10px;
                padding: 2px 4px;
        }
}

@media (max-width: 767px) {
  body {
    padding-left:2px;
    padding-right:2px;
  }
  #getstarted.span4 {
    margin-top:30px;
  }

  #intro h1 {
    font-size:20px !important;
  }

  #main-container .navbar .nav {
    float:none;
  }
}

#getstarted {
  margin-left:0;
}

#getstarted .gs-container {
  width:80%;
  margin:0 auto;
}

/** LANDSCAPE ONLY PLEASE */

#warning-message {
    display: none;
    padding-top: 60px;
}
/**
@media only screen and (orientation:portrait){
    #main-container { display:none; }
    #footer { display:none; }
    #warning-message { display:block; }
}
@media only screen and (orientation:landscape){
    #warning-message { display:none; }
}
*/

/** LANDSCAPE ONLY PLEASE */

#page-content .table {
    background: white;
}
#page-content .nav {
    background: white;
}
.breadcrumb {
    border: 1px solid #d4d4d4;
    background: #f7f7f7;
}
.content-box {
    background: white;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 5px;
}
.content-box.row, .content-box.row-fluid {
	padding: 8px 18px;
}

.competitions.index .content-box {
  padding: 5px 15px;
}

.bs-docs-sidenav {
	padding: 0;
	background-color: #fff;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0,0,0,.065);
	margin-bottom:20px;
}

.bs-docs-sidenav > li > a {
	display: block;
	padding: 8px 14px;
	border: 1px solid #e5e5e5;
	margin: 0 0 -1px;
}
.bs-docs-sidenav > li:first-child > a {
	border-radius: 6px 6px 0 0;
}
.bs-docs-sidenav > li:last-child > a {
	border-radius: 0 0 6px 6px;
}

.error-message
{
    color: #b94a48;
    background-color: #f2dede;
    border-color: #eed3d7;
    padding: 8px 35px 8px 14px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    border: 1px solid #fbeed5;
    border-radius: 4px;
}

#header .brand
{
    background: transparent url(../img/logo-nolight-24.png) no-repeat 8px 7px;
    padding-left: 38px;
}

.icon-cup
{
    background-position: 0 0;
    background-image: url(../img/icon-cup.png) !important;
}

a.active .icon-cup,a:hover .icon-cup
{
    background-position: 0 -14px;
}

.meta-row {
    color: #999;
    text-align: right;
}
.meta-row .meta-competition
{

}

.scrolltop {
  right: 2%;
	bottom: 20px;
	background-color: #fefefe;
	border: 1px solid darkGray;
	border-radius: 100px 100px 100px 100px;
	display: none;
	height: 36px;
	opacity: 0.6;
	filter: alpha(opacity=60);
	position: fixed;
	width: 36px;
	z-index: 33;
}
.scrolltop span {
	position: relative;
	top: 7px;
	left: 10px;
}

.scrolltop:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

#seasonPointsChart {
  height: 300px;
}

#seasonChart {
  height: 300px;
}

/* landing page desc */

#page-content.landing-page {
	padding-left: 1px;
	padding-right: 1px;
}
#desc {
	margin-top: 30px;
}
.landing-alternative-go {
	font-size: 16px;
	line-height: 22px;
}
/* intro */
#intro {
	text-align: justify;
}
#intro h1 {
	width: 80%;
	font-size: 24px;
	margin-left: auto;
	margin-right: auto;
	color: #252B34;
	font-weight: normal;
  text-shadow: white 2px 2px 1px;
  line-height: 36px;
}

h1 li {
  line-height: 32px;
}

.landing-main {
	width: 100%;
}

/* features section */
#features { }
#features .container { }
#features .feature img.thumb {

	box-shadow: 0px 0px 0px 1px #bcbcbc;
	display: block;
	margin: 0 auto;
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-ms-transition: all .2s linear;
	-o-transition: all .2s linear;
	transition: all .2s linear;
    border: 3px solid #fff;
	border-radius: 5px;
    width: 293px;
    height:212px;
}
#features .feature img.thumb:hover {
	box-shadow: 0px 0px 7px 1px #08c;
}
#features .feature h3 {
	font-size: 22px;
	font-weight: bolder;
	color: #252b34;
	margin-top: 25px;
	padding-left: 35px;
}
#features .feature h3 i {
	margin-right: 5px;
	position: relative;
	top: 5px;
}
#features .feature p.description {
	color: #44474D;
	width: 85%;
	padding-left: 35px;
}
#features .feature .btn {
	margin-top: 15px;
	margin-left: 35px;
}

/* section header */
.section_header {
	text-align: center;
	font-weight: bolder;
	color: #252b34;
	margin-top: 80px;
	position: relative;
	margin-bottom: 40px;
}
.section_header.left span {
	margin-left: 0px;
	text-align: left;
}
.section_header hr {
	border-top: 1px solid #BEC0C3;
	border-bottom: 2px solid white;
	width: 36%;
	position: absolute;
}
.section_header hr.left { }
.section_header hr.right {
	right: 0px;
	top: 0px;
}
.section_header span {
	/**width: 27%;*/
	display: block;
	margin: 0 auto;
}
.section_header small {
	margin-left: 20px;
	font-size: 16px;
	color: #7f8387;
	display: none;
}

/* Facebox */

#facebox.large {
    width: 90%;
}

#facebox.large .content
{
    width: 100%;
}

#facebox.medium {
    width: 60%;
}

#facebox.medium .content
{
    width: 100%;
}

.img-diploma
{
    width: 640px;
    height: 399px;
}

.winswall .img-diploma
{
    width: 100%;
    height: auto;
}

.winswall .row-fluid {
  margin-bottom: 15px;
}

/* footer */

#footer {
    background-color: #e6e6e6;
    height: 60px;
}

#footer .container .credit {
    margin: 20px 0;
    text-align: center;
}

/* event */

.event-diploma {
	text-align:center;
	position: relative;
}

.event-name-mini {
	text-transform: uppercase;
	font-size: 7px;
	overflow: hidden;
    white-space: nowrap;
}

/* competition */

.standings .table th {
	vertical-align: middle;
}

/* next/prev btn */

.nextprevBtn {
	top: 45%;
	background-color: #FFF;
	border: 1px solid darkGray;
	border-radius: 5px 5px 5px 5px;
	height: 36px;
	opacity: 0.6;
	filter: alpha(opacity=60);
	position: absolute;
	width: 45px;
	z-index: 33;
}
.nextprevBtn:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}
.nextBtn {
	right: 2%;
}
.prevBtn {
	left: 2%;
}
.nextprevBtn span {
	position: relative;
	top: 7px;
	left: 0;
}

#footer .FlattrButton {
	vertical-align: middle;
}

.chart-labels {
    text-align: center;
    font-size: 12px;
}

.label.chart-label {
    margin-right: 5px;
    margin-left: 5px;
    cursor: pointer;
}

.label.chart-label.not-visible {
    background: #ccc !important;
}

.tour .carousel-caption {
	position: static;
}
.tour .item h2, .tour .item h3 {
	font-size: 24px;
	line-height: 28px;
}

#main-container .navbar .nav>li>a {
	font-size: 16px;
	font-weight: 200;
}

#main-container .navbar .nav>li>a.brand {
	font-size: 20px;
}

.share {
    vertical-align: top;
}

.share-item {
    display: inline-block;
    width: 160px;
    vertical-align:top;
}
.share-item.share-twitter {
    width: 100px;
}

.share-facebook {

}

.share-gplus {

}

.follow-twitter {
    display: inline-block;
    width: 136px;
    vertical-align: middle;
    height: 20px;
    overflow: hidden;
}

.eventImages.slider #bx-pager {
    text-align: center;
    margin: 15px 0;
}

.eventImages.slider #bx-pager a {
    margin: 0 3px;
}

.eventImages.slider #bx-pager a img {
    padding: 3px;
    border: 1px solid #CCC;
    border-radius: 6px;
}

.eventImages.slider .bx-wrapper {
    text-align: center;
}

.eventImages.slider .bx-wrapper img {
    margin: 0 auto;
}

.eventImages.slider .bx-wrapper .bx-caption {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    left: 20%;
    background: rgba(80, 80, 80, 0.65);
}

.eventImages.slider .bx-wrapper ul.bxslider {
    margin: 0;
}

.eventImages.slider .bx-wrapper img {
  max-height: 500px;
}

.eventImages.competitionImages.slider .bx-wrapper img {
  max-height: 700px;
}

/** Bootstrap color for cells */

.table tbody tr > td.success {
  background-color: #dff0d8 !important;
}

.table tbody tr > td.error {
  background-color: #f2dede !important;
}

.table tbody tr > td.warning {
  background-color: #fcf8e3 !important;
}

.table tbody tr > td.info {
  background-color: #d9edf7 !important;
}

.table-hover tbody tr:hover > td.success {
  background-color: #d0e9c6 !important;
}

.table-hover tbody tr:hover > td.error {
  background-color: #ebcccc !important;
}

.table-hover tbody tr:hover > td.warning {
  background-color: #faf2cc !important;
}

.table-hover tbody tr:hover > td.info {
  background-color: #c4e3f3 !important;
}
/** /Bootstrap color for cells */

.accordion-group {
  background: #fff;
}
table.tournamentTbl {
  table-layout: fixed;
  background: #fff;
}

.tournamentTbl.table-bordered {
  border-collapse: collapse;
}

.roundWrapper {
  page-break-inside: avoid;
}

td.roundRobinName {

}

td.singleElimName {

}

td.roundRobinNum, td.roundRobinVs {
  width: 20px;
  text-align: center;
}

td.roundRobinScore {
  width: 40%;
}
.matrix th {
  overflow-wrap: break-word;
  word-break: break-word;
}
td.sum {
  background-color: #f9f9f9;
}

td.notapplicable {
  background-color: #ddd !important;
}
