/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 95%;
    line-height: 1.4;
}

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

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

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

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

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

textarea {
    resize: vertical;
}

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


body {
	background: #bfd255; /* Old browsers */
	background: -moz-linear-gradient(top,  #bfd255 0%, #8eb92a 50%, #72aa00 51%, #9ecb2d 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bfd255), color-stop(50%,#8eb92a), color-stop(51%,#72aa00), color-stop(100%,#9ecb2d)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #bfd255 0%,#8eb92a 50%,#72aa00 51%,#9ecb2d 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #bfd255 0%,#8eb92a 50%,#72aa00 51%,#9ecb2d 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #bfd255 0%,#8eb92a 50%,#72aa00 51%,#9ecb2d 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #bfd255 0%,#8eb92a 50%,#72aa00 51%,#9ecb2d 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfd255', endColorstr='#9ecb2d',GradientType=0 ); /* IE6-9 */
	color: #fff;
    font-family: 'Merriweather Sans', sans-serif;
	min-width: 320px;
}

a, a:hover, a:visited {
    color: #FAFF48;
	text-decoration: underline;
}

a:hover {
    text-decoration: bolder;
}

h1 {
	font-size: 1.3em;
}

h2 {
	font-size: 1.2em;
}

h3, h4{
	font-size: 1.1em;
}
ul li {
	font-size: 0.8em;
}


input[type="radio"] {
    display:none;
	padding-right: 20px;
}
input[type="radio"] + label span {
    display:inline-block;
    width:19px;
    height:19px;
    margin:-1px 4px 0 0;
    vertical-align:middle;
    background:url(images/check_radio_sheet.png) left top no-repeat;
    cursor:pointer;
}

input[type="radio"] + label {
	padding-right: 40px;
}

input[type="radio"]:checked + label span {
    background:url(images/check_radio_sheet.png) -19px top no-repeat;
}

.wrapper {
	width: 96%;
	margin: 0 2%;
}

.header-container {
    border-bottom: 20px solid #12329b;
}

.logo-container {
	width: 55%;
}

.logo-container, .logo-container  a, .logo-container a:visited {
	color: #1F3A95;
	float: left;
	text-shadow: 1px 1px 0 #fff, 
                2px 2px 0 black;
	text-decoration: none;
}

.logo-container h1 {
	font-size: 1.1em;
	margin: .5em 0;
}

.menu-icon {
	content: "";
	background: url('/img/menu.png') no-repeat;
	display: inline-block;
	height: 60px;
	position: absolute;
	right: 8%;
	top: 4px;
	width: 60px;
}

.menu-icon:hover {
	background: url('/img/menu-hover.png') no-repeat;
	cursor: pointer
}

.footer-container {
    border-top: 20px solid #12329b;
}

.header-container,
.footer-container {
	background-color: rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.7);
	color: rgba(255, 255, 255, 0.7);
	min-height: 63px;
}

.title {
    color: white;
}

.ui-dialog-content h3 {
	margin: 0;
}

footer a, footer a:hover, footer a:visited {
    color: #12329b;
	text-decoration: underline;
}

footer h4, p {
	font-size: 0.8em;
}
/* ==============
    MOBILE: Menu
   ============== */

nav ul {
	margin: 72px 0 0 0;
    padding: 0;
	width: 100%;
}

nav a {
    background: #12329b;
	color: white;
    display: block;
    margin-bottom: 5px;
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

nav a.current {
	color: #FAFF48;
	font-weight: 800;
}
	
/* ==============
    MOBILE: Main
   ============== */

.main {
	background: rgba(255, 255, 255, 0.4);
    padding: 0;
}

.main-container {
	min-height: 72vh; /* view height with the footer stops the small pages looking strange */
}

.main article {
    float: left;
    width: 100%;
}
.main article h1 {
    font-size: 1.5em;
}

.footer-container footer {
    color: #1F3A95;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
.rounded-top {
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px 8px 0 0;
}   
.section-header {
	background: #404040;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	height: auto;
	margin: 30px 0 10px 0;
	padding: 2px 10px;
	position: relative;
}

.section {
	background-color: rgba(18, 50, 155, 0.9);
	background: rgba(18, 50, 155, 0.9);
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	height: auto;
	margin: 30px 1.5% 10px 1.5%;
	padding: 10px 2% 20px 2%;
	position: relative;
}
 
aside {
	background: #000;
}

.img-left {
	float: left;
	height:auto;
	margin-right: 2%;
	max-width: 500px;
}

.img-right {
	float: right;
	height:auto;
	margin-right: 2%;
	max-width: 500px;
}

.news-content {
	border-top: 2px white solid;
	padding: 10px 1%;
	border-bottom: 2px white solid;
}

.details-header {
	background: #404040;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	height: auto;
	line-height: 10px;
	padding: 2px 10px;
	position: relative;
	top: -6px;
}

.details-contents {
	background: #303030;
	margin: -18px 6px -1px 6px;
	padding: 2% 10px;
	-webkit-border-radius: 0 0 9px 9px;
	-moz-border-radius: 0 0 9px 9px;
	border-radius: 0 0 9px 9px;;
}

.clubs {
	background: rgba(250, 255, 72, 0.54);
	padding: 10px 0;
}

.club-mask {
	background: #000;
	display: none;
	filter: alpha(opacity=85);
	-moz-opacity: 0.75;
	-khtml-opacity: 0.75;
	height: 100%;
	left: 0;
	opacity: 0.75;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1000;
}

.club {
	background-color: rgba(18, 50, 155, 0.9);
	background: rgba(18, 50, 155, 0.9);
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: 5px 5px 3px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    5px 5px 3px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         5px 5px 3px 0px rgba(50, 50, 50, 0.75);
	height: auto;	
	margin: 10px 1.5%;
	padding: 10px 2%;
	position: relative;	
	overflow: hidden;	
}

.club-results {
	display: none;
	margin: 0 1.5% 10px 1.5%;
}

.score {
	display: none;
}
.disabled {
	background-color: rgba(0, 0, 0, 0.3);
	background: rgba(0, 0, 0, 0.3);
	color: #333;
}

.disable-img {
    opacity: 0.4;
    filter: alpha(opacity=40); /* msie */
}
.club-logo {
	float: left;
	height:auto;
	margin-right: 2%;
	max-width: 100px;
}

.club-head {
	float: left;
	padding-top: 10px;
	width: 100%;
}

.club-head h2 {
	margin: 0;
}

.club-head h3 {
	font-size: 1em;
	margin: 0;
}

.club-head h4 {
	margin: 0.8em;
}

ul.hilights{
	line-height: 2.6em;
    list-style-type: none;
	padding: 0;
	text-align: center;
}

ul.hilights li{
	background: #6565f8;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: white;
	display: inline;
	list-style-type: none;
	padding: 5px 10px;
	margin-right: 2%;
	white-space: nowrap;
}
ul.hilights span{
	font-weight: bold;
	margin-right: 1%;
}


ul.contact{
	line-height: 3.5em;
    list-style-type: none;
	padding: 0;
	text-align: center;
}

ul.contact li{
	background: #6565f8;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: white;
	display: inline;
	list-style-type: none;
	padding: 5px 10px;
	margin-right: 2%;
	white-space: nowrap;
}

ul.contact li:hover {
	background: #65657D;
}

ul.contact span{
	font-weight: bold;
	margin-right: 1%;
}

.contact-icon {
	border: 1px #392EED solid;
	cursor: pointer;
	display: inline-block;
	width: 47px;
	height: 48px;
	margin: -1px 4px 0 0;
	vertical-align: middle;	
}

.contact-email {
	background: url(images/contact-icons.png) -232px -68px no-repeat;
}

.contact-website {
	background: url(images/contact-icons.png) -116px 0 no-repeat;
}

.contact-twitter {
	background: url(images/contact-icons.png) -58px 0 no-repeat;
}

.contact-facebook {
	background: url(images/contact-icons.png) 0 0 no-repeat;
}

.read-more {
	text-align: center;
}

.club-details {
	display: none;
	float: left;
}

/* slider */
.slider {
	width: 100%;
	overflow: hidden;
	float: left;
	margin-left: 0px;
}

.ei-slider{
	position: relative;
	width: 100%;
	max-width: 1920px;
	height: 550px;
	margin: 0 auto;
}
.ei-slider-loading{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index:999;
	background: rgba(0,0,0,0.9);
	color: #fff;
	text-align: center;
	line-height: 400px;
}
.ei-slider-large{
	height: 100%;
	width: 100%;
	position:relative;
	overflow: hidden;
}
ul.ei-slider-large {
	margin-top: 0px;
}
.ei-slider-large li{
	position: absolute;
	top: 0px;
	left: 0px;
	overflow: hidden;
	height: 100%;
	width: 100% !important; /* important hack to make chrome resize fluid */
}
.ei-slider-large li img{
	padding: 0px;
	width: 100%;
}
.ei-title{
	background: rgba(18, 50, 155, 0.8);	
	margin-left: 3%;
	margin-right: 13%;	
	padding: 0 2% 1% 2%;
	position: absolute;
	right: 30%;
	top: 9%;
	width: 50%;
}
.ei-title h2 {
	text-align: right;
}
.ei-title h2 {
	font-size: 1.5em;
	line-height: 1em;
}
.ei-title h3, .ei-title p{
	font-size: 1em;
	line-height: 1.4em;
	text-align: right;
}

.ei-slider-thumbs{
	height: 13px;
	height: 0px\9;  /* hide in ie 8 or lower hack */
	margin: 0 auto;
	padding: 0;
	position: relative;
}

ul.ei-slider-thumbs {
	list-style-type: none;
}

.ei-slider-thumbs li{
	position: relative;
	float: left;
	height: 100%;
	margin-bottom: 20px;
}
.ei-slider-thumbs li.ei-slider-element{
	top: 0px;
	position: absolute;
	height: 100%;
	z-index: 10;
	text-indent: -9000px;
	background: #000;
	background: rgba(18, 50, 155, 0.9);
}
.ei-slider-thumbs li a{
	display: block;
	text-indent: -9000px;
	background: rgba(255,255,255,0.8) ;
	width: 100%;
	height: 100%;
	cursor: pointer;
	-webkit-box-shadow: 
		0px 1px 1px 0px rgba(154, 169, 255, 0.6), 
		0px 1px 0px 1px rgba(135, 100, 243, 0.5);
	-moz-box-shadow: 
		0px 1px 1px 0px rgba(154, 169, 255, 0.6), 
		0px 1px 0px 1px rgba(135, 100, 243, 0.5);
	box-shadow: 
		0px 1px 1px 0px rgba(154, 169, 255, 0.6), 
		0px 1px 0px 1px rgba(135, 100, 243, 0.5);
	-webkit-transition: background 0.2s ease;
    -moz-transition: background 0.2s ease;
    -o-transition: background 0.2s ease;
    -ms-transition: background 0.2s ease;
    transition: background 0.2s ease;
}
.ei-slider-thumbs li a:hover{
	background-color: #f0f0f0;
}
.ei-slider-thumbs li img{
	position: absolute;
	bottom: 50px;
	opacity: 0;
	z-index: 999;
	max-width: 100%;
	-webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
	-webkit-box-reflect: 
        below 0px -webkit-gradient(
            linear, 
            left top, 
            left bottom, 
            from(transparent), 
            color-stop(50%, transparent), 
            to(rgba(255,255,255,0.3))
            );
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	height: 0px\9;  /* hide in ie 8 or lower hack */
}
.ei-slider-thumbs li:hover img{
	opacity: 1;
	bottom: 13px;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	
}
/* Slider has it's own responsive fix */
@media screen and (max-width: 830px) {
	.ei-title{
		position: absolute;
		right: 0px;
	/*	margin-right: 0px;
		width: 100%;*/
		text-align: center;
		top: auto;
		bottom: 10px;
	/*	background: #fff;
		background: rgba(255,255,255,0.9); */
	}
	.ei-title h2, .ei-title h3{
		text-align: center;
	}
	.ei-title p{
		text-align: right;
	}
	
	.ei-title h2{
		font-size: 20px;
		line-height: 24px;
	}
	.ei-title h3{
		font-size: 30px;
		line-height: 40px;
	}
}
/* EOF Slider */


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */
   
   body {
		filter: none;
		background-image: url('/img/background.jpg');
		background-size: 100% 100%;
		background-repeat: no-repeat;
		background-position: top left;
		background-attachment: fixed;
   }
   
	h1 {
		font-size: 1.8em;
	}

	h2 {
		font-size: 1.5em;
	}

	h3, h4{
		font-size: 1.3em;
	}
   
	nav ul {
		display: block;
		margin: 0;
		width: auto;
	}

    nav a {
		-webkit-border-radius: 8px;
		-moz-border-radius: 8px;
		border-radius: 8px 8px 0 0;
		border-bottom: 1px #D7D7D7 solid;
        float: left;
        margin: 0 1.7%;
        padding: 10px 2%;
        width: 27%;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }
		
	.wrapper {
		width: 90%;
		margin: 0 5%;
}

	.logo-container {
		width: 100%;
	}
	.logo-container h1 {
		font-size: 1.3em;
		margin: .5em 0;
	}

	.menu-icon {
		display: none;
	}
	
	.club-logo {
		max-width: 150px;
	}
	
/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

	.site-logo {
		width: 100%;
	}
	
	.logo-container{
		width: 60%;
	}
	
	.logo-container h1{
		font-size: 1.6em;
	}
	
    .header-container{
        -webkit-box-shadow: 0 5px 10px #aaa;
        -moz-box-shadow: 0 5px 10px #aaa;
        box-shadow: 0 5px 10px #aaa;
    }

	.slider {
		width: 96%;
		margin: 0 2%;
	}
/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }
	
	nav a {
	    margin: 16px 1.7% 0 1.7%;
        padding: 15px 2%;
	}

/* ============
    WIDE: Main
   ============ */
/*    .main article {
		min-height: 700px;
    } */

    .main aside {
        float: right;
        width: 28%;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */
	.main {
		padding-top: 20px;
	}
	.logo-container h1{
		font-size: 1.8em;
	}
	
    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

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

    thead {
        display: table-header-group;
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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

.lt-ie9 .main, .lt-ie9 .header-container, .lt-ie9 .footer-container {
	background:rgb(255,255,255);
	filter:alpha(opacity=70);
}

.lt-ie9 .section, .lt-ie9 .clubs, .lt-ie9 .club, .lt-ie9 .ei-title  {
	background:rgb(18,50,155);
	filter:alpha(opacity=85);
}

.lt-ie9 .club-selector {
	display: none;
}

.lt-ie9 nav a {
	width: 100px;
}