/*
Theme Name: SIO Golf 2019
Description: Child Theme for Ramp
Author: Ramp Ventures
Author URI: https://myramp.co/
Template: ramp3
*/

/*******************
	General
*******************/

body .sm-clean ul {
	background: #000 !important;
}

h1 {
	font-family: 'Neuton', serif !important;
}

#footer {
	display: none !important;
}

@media (max-width: 767px) {
	
	body h1 {
	    font-size: 40px;
	    line-height: 50px;
	}
	
	.hide-mobile {
		display: none;
	}

}


/*******************
	HEADER
*******************/

#header {
	position: absolute !important;
	width: 100% !important;
}

.header-scroll {
	background: none !important;
}

#nav a {
	text-shadow: 0px 1px 2px rgba(0, 0, 0, .3);
}

@media (max-width: 991px) {

	.home #header {
		background: none !important;
	}

}

@media (max-width: 767px) {

	#nav a {
		text-shadow: none;
		color: #141414 !important;
	}
	
	.header-inner {
	    padding-right: 0 !important;
	}
	
	.logo {
	    margin: 0 auto !important;
	}
	
	#header {
    	background: none !important;
	}

}

/*******************
	FOOTER
*******************/

#footer {
	background: #141414;
	color: #fff;
}

#footer a,
#footer a:hover {
	color: #fff;
}

/***********************************
	Featured
***********************************/

@media only screen 
and (min-device-width : 1px)  
and (max-device-width : 1224px) {

	#background-video {
		display: none !important;	
	}

}

@media (max-width: 991px) {
	
	#background-video {
		display: none !important;	
	}
	
	.home .section-featured {
		height: 100vh !important;
	}

}


/***********************************
	Masters Picks
***********************************/

.score-row {
	background: rgba(255, 255, 255, .9);
	padding: 10px;
	border-top: 1px solid #000;
	position: relative;
	height: 60px;
	height: auto;
	overflow: auto;
	position: relative;
-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-ms-transition: all .3s ease;
-o-transition: all .3s ease;
transition: all .3s ease;
}

.score-row-total {
	font-weight: 700;
	border: none;
-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-ms-transition: all .3s ease;
-o-transition: all .3s ease;
transition: all .3s ease;
}

.picks-wrap {
	position: relative;
	cursor: pointer;
-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-ms-transition: all .3s ease;
-o-transition: all .3s ease;
transition: all .3s ease;
}

.picks-wrap:hover {
	box-shadow: 0px 5px 14px rgba(0, 0, 0, .7);
	z-index: 99999;
}

.picks-wrap.active {
	margin: 50px 0;
	box-shadow: 0px 5px 14px rgba(0, 0, 0, .7);
}

.picks-wrap.active .totals-row,
.picks-wrap.active .totals-row h3 {
	font-weight: 700;
}

.score-row-total {
	border-top: 3px solid rgba(0, 0, 0);
}

.picks-wrap.active .picks {
	height: auto;
}

.score-block {
	position: relative;
	/*box-shadow: 0px 0px 2px rgba(0, 0, 0, .2)inset;*/
	display: inline-block;
	line-height: 33px;
	margin: 0 5px 0 0;
	height: 33px;
	z-index: 1;
}

.score-block-pick {
	position: relative;
	height: 40px;
	width: 40px;
	text-align: center;
	display: block;
	float: left;
	overflow: hidden;
	letter-spacing: .0em;
}

.scores-right .score-block-pick:last-child {
	width: 50px;
}

.picks:first-child.active {
	margin-top: 0;
}

.score-block-pick:last-child {
	margin-right: 0;
}

.score-block-pick.name {
	width: 100%;
	text-align: left;
	padding: 0 10px;
	font-weight: 700;
}

.score-row-total .score-block-pick.name h3,
.score-row-header .score-block-pick.name h3,
.score-row-header .scores-right {
	font-weight: 700;
}

.score-block-logo {
	background: url("img/masters-logo.png") no-repeat scroll center center transparent;
	background-size: 80% 80%;
}

.scores-right {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 230px;
}

.scores-left {
	width: 100%;
	padding: 0 235px 0 45px;
	position: relative;
}

.score-block-number {
	float: left;
	width: 40px;
	text-align: center;
	position: absolute;
	left: 0;
	top: 0;
}

.icon {
    font-size: 18px;
    line-height: 19px;
    margin: 14px 0;
-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-ms-transition: all .3s ease;
-o-transition: all .3s ease;
transition: all .3s ease;
}

.picks-wrap.active .icon {
	margin: 10px 0 0;
-moz-transform: rotate(-180deg);
-webkit-transform: rotate(-180deg);
-o-transform: rotate(-180deg);
-ms-transform: rotate(-180deg);
transform: rotate(-180deg);
}

@media (max-width: 767px) {

.score-wrap {
	padding: 0;
	margin: 0;
}

.score-block-pick {
	width: 30px;
}

.scores-right .score-block-pick:last-child {
	width: 50px;
}

.scores-right {
	width: 190px;
}

.scores-left {
	padding: 0 195px 0 0;
}

.score-block-number {
	display: none;
}

}

/****************************
	SIO SCORES
**************************/

.score-row-header,
.course-title {
	color: #141414;
	border-color: #019877;
	background: none;
}

.score-row-title {
	background: #019877;
	color: #fff;
}

.score-row-bold,
.score-row-bold h3 {
	font-weight: 700;
}

.course-title {
	border-top: none;
}

.score-row-header-last {
	border-bottom: 3px solid #019877;
}

.scores-nine {
	width: 50%;
	display: block;
	float: left;
	position: relative;
}

.front-nine {
	padding: 0 0 0 215px;
	width: 620px;
}

.back-nine {
	padding: 0 300px 0 0;
	width: 500px;
}

.score-block-name {
	text-align: left;
	padding: 0 10px 0 0;
	width: 210px;
	position: absolute;
	left: 0;
	overflow: hidden;
}

.score-block-score {
	width: 33px;
	text-align: center;
	display: block;
	float: left;
	margin: 0 5px 0 0;
}

.score-holes {
	width: 342px;
}

.score-block-in-out {
	width: 58px;
	text-align: center;
	position: absolute;
	top: 0;
	right: 0;
}

.score-block-in-out h3,
.score-block-total h3 {
	font-weight: 700;
}

.score-block-total {
	position: absolute;
	top: 0;
	right: 45px;
	text-align: center;
	width: 45px;
}

.score-block-net {
	right: 0;
}

.score-block-net h3 span {
	background: #000;
	color: #fff;
	display: block;
}

.score-row-header .score-block-net {
	border: none;
}

.score-block-total-net:nth-child(1) {
	right: 45px;
}

.score-block-in-out.in {
	right: 95px;
}

.score-row-link {
	display: block;
	box-shadow: 0px 8px 5px rgba(0, 0, 0, 0);
	z-index: 1;
	position: relative;
-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-ms-transition: all .3s ease;
-o-transition: all .3s ease;
transition: all .3s ease;
}

.score-row-link:hover {
	box-shadow: 0px 2px 8px rgba(0, 0, 0, .5);
	z-index: 9999;
}

@media (max-width: 1200px) {

	.score-row {
		min-height: 60px;
	}
	
	.score-holes {
		display: none;
	}
	
	.back-nine {
		float: right;
	}
	
	.score-block-total {
		width: 45px;
	}
	
	.score-block-in-out {
		width: 45px;
	}
	
	.score-block-in-out.in {
		right: 90px;
	}
	
	.front-nine {
		width: 100%;
		padding: 0 130px 0 0;
	}
	
	.back-nine {
		position: absolute;
		top: 10px;
		right: 5px;
	}
	
	.front-nine-inner {
		position: relative;
		padding: 0 50px 0 0;
	}
	
	.score-block-name {
		width: 100%;
		position: relative;
		float: left;
	}

}

/****************************
	SIO LEADERBOARD
**************************/

.leaderboard-left {
	position: relative;
	padding: 0 300px 0 45px;
}

.leaderboard-right {
	position: absolute;
	right: 10px;
	top: 10px;
}

.leaderboard-title {
	background: #019877;
	color: #fff;
}

.net-score-1,
.net-score-2,
.net-score-3,
.net-score-4,
.net-score-5,
.net-score-6,
.net-score-7,
.net-score-8,
.net-score-9,
.net-score-10,
.net-score-11,
.net-score-12,
.net-score-13,
.net-score-14,
.net-score-15,
.net-score-16,
.net-score-17,
.net-score-18,
.net-score-19,
.net-score-20,
.net-score-21,
.net-score-22,
.net-score-23,
.net-score-24,
.net-score-25,
.net-score-26,
.net-score-27,
.net-score-28,
.net-score-29,
.net-score-30 {
	color: red;
}

/****************************
	SCORES Highlights
**************************/

.par3::before,
.par4::before,
.par5::before {
	content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    margin-left: -14px;
    width: 27px;
    height: 27px;
    background: none;
    border: 1px solid rgba(0, 0, 0, 0);
    display: block;
    z-index: -1;
}

/*** Eagle ***/

.par3.score1:before,
.par4.score2:before,
.par5.score3:before {
	border-radius: 50%;
	border-color: #e74c3c;
}

/*** Birdie ***/

.par3.score2:before,
.par4.score3:before,
.par5.score4:before {
	border-radius: 50%;
	border-color: #b3b3b3;
}

/*** Bogey ***/

.par3.score4:before,
.par4.score5:before,
.par5.score6:before {
	outline: 1px solid #b3b3b3;
	outline-offset: 2px;
}

/*** Double Bogey ***/

.par3.score5:before,
.par4.score6:before,
.par5.score7:before {
	border-color: #b3b3b3;
	outline: 1px solid #b3b3b3;
	outline-offset: 2px;
}

/*** Tripple Bogey ***/

.par3.score6,
.par4.score7,
.par5.score8 {
	color: #fff;
}

.par3.score6:before,
.par4.score7:before,
.par5.score8:before {
	background: #b3b3b3;
	outline: 3px solid #b3b3b3;
}

/*** Quad Bogey ***/

.par4.score8,
.par5.score9 {
	color: #fff;
}

.par4.score8:before,
.par5.score9:before {
	background: #6b6b6b;
	outline: 3px solid #6b6b6b;
}

/*** 5 Bogey ***/

.par5.score10 {
	color: #fff;
}

.par5.score10:before {
	background: #141414;
	outline: 3px solid #141414;
}

/****************************
	SCORING AVERAGES
**************************/

.table-title {
	padding: 0 0 5px;
	margin: 0;
	border-bottom: 2px solid #141414;
	text-align: center;
}

table {
	line-height: 26px;
	width: 100%;
}

tr {
	border-bottom: 1px solid #eaeaea;	
}

td {
	padding: 5px 10px;
}

td.day {
	width: 85%;
}

tfoot {
	font-weight: 600;
}

tfoot tr {
	border-bottom: none;
	border-top: 2px solid #141414;
}

/****************************
	SIO SCores
**************************/

.section-hero {
	background: url("img/") no-repeat fixed center center transparent;
	background-size: cover;
	padding: 200px 0 200px;
	text-align: center;
	color: #019877;
	height: auto !important;
}

.section-hero-small {
	padding: 90px 0;
}

a .score-row,
a .score-row:hover {
	color: #141414;
}

@media (max-width: 767px) {

	.section-hero {
		background-attachment: scroll;
		padding: 150px 0;
	}

}

/****************************
	SCORE BREAKDOWN
**************************/

.section-score-breakdown {
	text-align: left;
}

.graph-wrap-outer {
	width: 100%;
	padding-left: 100px;
}

.graph-wrap {
	display: block;
	width: 100%;
}

.stats-wrap {
	position: relative;
	display: block;
	width: 16.6666666%;
	height: 50px;
	background: rgba(255, 255, 255, .65);
	box-shadow: 0px 0px 2px rgba(0, 0, 0, .2);
	margin: 0 0 30px;
}

.stat-title,
.stat-score {
	height: 50px;
	line-height: 50px;
	top: 0;
	position: absolute;
	font-weight: 600;
}

.stat-title {
	left: -100px;
	width: 100px;
}

.stat-score {
	left: 100%;
    margin-left: 10px;
}