/************************************************
*	Desktop Grid								*
************************************************/

.row { 
	width: 100%; 
	margin: 0 auto; 
	}
.row .row { 
	min-width: 0; 
	}
.column, .columns { 
	float: left; 
	min-height: 1px; 
	position: relative; 
	}
[class*="column"] + [class*="column"]:last-child { 
	float: right; 
	}

.half, .third, .one-third, .fourth,
.one-fourth, .two-thirds, .three-fourths {
	float: left;
	}
.half.last, .third.last, .one-third.last, .fourth.last,
.one-fourth.last, .two-thirds.last, .three-fourths.last {
	float: right;
	}

.full	 		{ width: 100%; }
.half 			{ width: 49.9%; }
.third,
.one-third 		{ width: 33.3%; }
.fourth,
.one-fourth		{ width: 25%; }
.two-thirds 	{ width: 66.6%; }
.three-fourths	{ width: 75%; }

.row .one 		{ width: 6.25%; }
.row .two 		{ width: 12.5%; }
.row .three 	{ width: 18.75%; }
.row .four 		{ width: 25%; }
.row .five 		{ width: 31.25%; }
.row .six 		{ width: 37.5%; }
.row .seven 	{ width: 43.75%; }
.row .eight 	{ width: 50%; }
.row .nine 		{ width: 56.25%; }
.row .ten 		{ width: 62.5%; }
.row .eleven 	{ width: 68.75%; }
.row .twelve 	{ width: 75%; }
.row .thirteen 	{ width: 81.25%; }
.row .fourteen 	{ width: 87.5%; }
.row .fifteen 	{ width: 93.75%; }
.row .sixteen 	{ width: 100%; }

.row .centered { float: none; margin: 0 auto; }

/************************************************
*	Laptop Styles								*
************************************************/
/* Theme */
@media only screen and (max-width: 1366) {
	#header {
	line-height: 0;
	margin: 0px;
	position: relative;
	z-index: 8;
	}
#custom-header {
	display: block;
	position: relative;
	line-height: 0;
	background-color: #495150;
	background-position: center top;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: 100% auto;
	margin: 0px;
	padding: 0px;
	}
#custom-header.non-active {
	min-height: 320px;
	}
#header #custom-header.fixed-menu #masthead,
#header #custom-header.fixed-menu #logo {
	margin-top: 24px;
	}
.admin-bar #custom-header {
	background-position: center 32px !important;
	}
#logo {
	display: block;
	position: absolute;
	width: 100%;
	line-height: 0;
	top:20%;
	padding: 2px;
	}
#logo a {
	display: block;
	padding: 48px;
	}
#logo img {
	max-height: 150px;
	}
	
	#sponsor1{

height: 64px;

width: 100px;

background: url(http://localhost:81/wp/wp-content/uploads/2016/05/sp1.png) no-repeat;

position: absolute;

top: 17%;

left: 25%;

z-index:5;

}

#sponsor2{

height: 64px;

width: 111px;

background: url(../../../uploads/2016/05/sp2.png) no-repeat;

position: absolute;

top: 88%;

left: 35%;

z-index:5;

}

#sponsor3{

height: 64px;

width: 55px;

background: url(../../../uploads/2016/05/sp3.png) no-repeat;

position: absolute;

top: 17%;

left: 59%;

z-index:5;

}

#sponsor4{

height: 67px;

width: 70px;

background: url(http://www.highcountryrugby.com/wp-content/uploads/2016/05/sp41.png) no-repeat;

position: absolute;

top: 50%;

left: 67%;

z-index:5;

}
	}

/************************************************
*	Tablet Styles								*
************************************************/

@media handheld, only screen and (max-width: 1023px) {
	
	/* Typography */
	
	body {  
		font-size: 0.9rem; 
		line-height: 1.9; 
		}
	blockquote {
		font-size: 1.4rem;
		}
	
	/* Theme */
#header {
	line-height: 0;
	margin: 0px;
	position: relative;
	z-index: 8;
	}
#custom-header {
	display: block;
	position: relative;
	line-height: 0;
	background-color: #495150;
	background-position: center top;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: 100% auto;
	margin: 0px;
	padding: 0px;
	}
#custom-header.non-active {
	min-height: 320px;
	}
#header #custom-header.fixed-menu #masthead,
#header #custom-header.fixed-menu #logo {
	margin-top: 24px;
	}
.admin-bar #custom-header {
	background-position: center 32px !important;
	}
#logo {
	display: block;
	position: absolute;
	width: 100%;
	line-height: 0;
	top:30%;
	padding: 2px;
	}
#logo a {
	display: block;
	padding: 48px;
	}
#logo img {
	max-height: 150px;
	}

#sponsor1{

height: 64px;

width: 100px;

background: url(../../../uploads/2016/05/sp1.png) no-repeat;

position: absolute;

top: 6%;

left: 1%;

z-index:5;

}


#sponsor2{
background: url(../../../uploads/2016/05/sp2.png) no-repeat;
	position: absolute;
	top: 2%;
	left: 14%;
	z-index:4;
}


#sponsor3{
background: url(../../../uploads/2016/05/sp3.png) no-repeat;
	position: absolute;
	top: 2%;
	left: 91%;
	z-index:5;
	}

#sponsor4{
background: url(../../../uploads/2016/05/sp4.png) no-repeat;	
position: absolute;
	top: 73%;
	left: 80%;
	z-index:5;

}
	#nav-top {
		position: relative;
		}
	.admin-bar #nav-top,
	.admin-bar #navigation {
		margin-top: 0px;
		}
	#header #custom-header.fixed-menu #masthead,
	#header #custom-header.fixed-menu #logo {
		margin-top: 0px;
		}
	#custom-header {
		min-height: 280px;
		background-position: center center;
		background-attachment: scroll;
		background-size: cover;
		}
	.headline.img-headline {
		width: 88%;
		font-size: 2.8rem;
		letter-spacing: -1px;
		padding: 36px 6%;
		}
	.menu a {
		font-size: .9em;
		padding: 0px 10px;
		}
	.slideshow .loading {
		min-height: 260px;
		}
	.content.overlap {
		margin-top: -72px;
		}
	.article {
		padding: 36px 8%;
		}
	.postarea.full .article {
		padding: 48px 12%;
		}
	.postarea.middle .article {
		padding: 18px 8%;
		}
	.post-holder, 
	.page-holder, 
	.blog-holder, 
	.archive-holder {
		margin-bottom: 36px;
		}
	.format-video.blog-holder .feature-vid {
		padding: 18px;
		}
	#comments {
		padding: 36px 8%;
		}
	.postarea.full #comments {
		padding: 48px 12%;
		}
	.postarea.middle #comments {
		padding: 18px 8%;
		}
	.footer-information .content {
		text-align: center;
		}
	.footer-information .align-left {
		float: none;
		display: block;
		}
	.footer-information .align-right {
		float: none;
		display: block;
		text-align: center;
		margin-top: 18px;
		}
	
	}

	
/************************************************
*	Phone Styles								*
************************************************/

@media handheld, only screen and (max-width: 767px) {

	/* Typography */
	
	h1 { 
		font-size: 1.8rem; 
		line-height: 1.4; 
		}
	h2 { 
		font-size: 1.6rem; 
		line-height: 1.4; 
		}
	h3 {  
		font-size: 1.4rem; 
		line-height: 1.4; 
		}
	h4 {  
		font-size: 1.2rem; 
		line-height: 1.4; 
		}
	h5 { 
		font-size: 1.1rem; 
		line-height: 1.4; 
		}
	h6 { 
		font-size: 1.0rem; 
		line-height: 1.4; 
		}
	.headline {
		font-size: 1.8rem;
		padding-bottom: 6px;
		}
	.title {
		font-size: 1rem;
		}
	body, p {  
		font-size: 0.9rem; 
		line-height: 1.7; 
		}
	blockquote {
		padding: 12px 0px;
		border-left: none;
		}
	blockquote p {
		font-size: 1rem;
		line-height: 1.6;
		}
	.headline.img-headline {
		font-size: 2rem;
		}	

	/* Theme */
	
	#header {
		display: inline-block;
		width: 100%;
		height:20%;
		
		}
	#custom-header { 
	background-image: none !important;
	background-color: #182357 !important;
      background-repeat: no-repeat !important;
      background-position: center !important;
		background-position: center center !important;
		
		min-height: 240px;
		margin: 0px;
		height: 50%;
		
		}
#logo {display: block;
	position: absolute;
	width: 100%;
	line-height: 0;
	margin: 0px;
	top: 50%;
	padding: 0px;

}
#logo a {
	display: block;
	padding: 0px;
	}

#logo .logo-text {
	float: left;
	text-align: left;
	text-indent: -9999px;
	}

#sponsor1{
	
background: url(../../../uploads/2016/05/sp1.png) no-repeat;
	position: absolute;
	top: 1%;
	left: 2%;
	z-index:5;
}


#sponsor2{
background: url(../../../uploads/2016/05/sp2.png) no-repeat;
	position: absolute;
	top: 75%;
	left: 1%;
	width:50%
	
	z-index:4;
	
}


#sponsor3{
background: url(../../../uploads/2016/05/sp3.png) no-repeat;
	position: absolute;
	top: 2%;
	left: 75%;
	z-index:5;}

#sponsor4{
background: url(../../../uploads/2016/05/sp4.png) no-repeat;	
position: absolute;
	top: 73%;
	left: 70%;
	z-index:5;

}
	#nav-top {
		display: none;
		}
	#navigation {
		position: relative;
		top: auto;
		margin: 0px;
		padding: 0px;
		
		}
	.mobile-menu {
		margin: 0px;
		padding: 0px;

		}
	.menu-toggle,
	.main-small-navigation ul.mobile-menu.toggled-on {
		display: block;
		}
	.navigation-main ul.menu,
	.sf-sub-indicator {
		display: none;
		}
	.menu {
		display: block;
		}
	.menu-toggle {
		color: #666666;
		color: rgba(0, 0, 0, .4);
		font-size: 24px;
		text-align: left;
		line-height: 1.2;
		margin: 0;
		padding: 12px 18px;
		}
	.menu-toggle:hover {
		color: rgba(0, 0, 0, .8);
		}
	.menu ul{display:none;}
 
	.mobile-menu ul.sub-menu,
	.mobile-menu ul.children {
		display: block !important;
		visibility: visible !important;
		left: auto;
		margin: 0;
		padding: 0;
		}
	.mobile-menu ul,
	.mobile-menu li {
		list-style: none;
		margin: 0;
		padding: 0;
		}
	.mobile-menu li {
		display: block;
		text-align: center;
		line-height: 30px;
		}
	.mobile-menu li li a:before {
		content: '- ';
		}
	.mobile-menu li li li a:before {
		content: '-- ';
		}
	.mobile-menu li li li li a:before {
		content: '--- ';
		}
	.mobile-menu a {
		display: block;
		color: rgba(0, 0, 0, .4) !important;
		font-size: 1.2em;
		text-decoration: none;
		text-transform: uppercase;
		padding: 6px 0px;
		border-top: 1px solid rgba(0, 0, 0, .12);
		}
	.mobile-menu a:hover {
		background: rgba(0, 0, 0, .04);
		color: rgba(0, 0, 0, .8) !important;
		text-decoration: none;
		}
	.slideshow.gallery-slideshow .flexslider {
		padding: 12px;
		}
	.slideshow .information .content {
		padding: 24px 12%;
		}
	.slideshow .information .excerpt {
		display: none;
		}
	.slideshow .information .more-link {
		margin-top: 24px;
		margin-bottom: 0px;
		}
	.slideshow .loading {
		min-height: 180px;
		}
	.flex-direction-nav .flex-next {
		right: 18px;
		}
	.flex-direction-nav .flex-prev {
		left: 18px;
		}
	.flex-control-nav, 
	.slideshow .excerpt, 
	.slideshow .button { 
		display: none;
		}
	.homepage .page-banner {
		max-height: none;
		min-height: none;
		}
	.homepage .vertical-center {
		position: relative;
		width: auto;
		top: auto;
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
		}
	.homepage .page-banner img.wp-post-image {
		display: none;
		}
	.portfolio .one-half,
	.portfolio .one-third {
	    width: 100%;
		}
	.content {
		padding: 12px 4%;
		}
	.content.overlap {
		margin-top: -48px;
		}
	.postarea, 
	.postarea.middle,
	.postarea.right, 
	.postarea.full {
		padding: 12px 0px;
		}
	.article,
	.postarea.full .article,
	.postarea.middle .article {
		padding: 24px 6%;
		}
	.post-holder, 
	.page-holder, 
	.blog-holder, 
	.archive-holder {
		margin-bottom: 24px;
		}
	.format-video.blog-holder .feature-vid {
		padding: 12px;
		}
	i.format-icon {
		display: none;
		}
	#comments,
	.postarea.full #comments,
	.postarea.middle #comments {
		padding: 24px 6%;
		}
	.pagination {
		margin-bottom: 12px;
		}
	.archive-column {
		width: 100%;
		padding-right: 0;
		}
	.sidebar {
		padding: 24px;
		}
	.sidebar.left {
		display: none;
		}
	.overlap .sidebar {
		padding-top: 24px;
		}
	.sidebar .widget:last-child {
		margin-bottom: 12px;
		}
	.container form input[type='url'],
	.container form input[type='tel'],
	.container form input[type='email'],
	.container form input[type='text'],
	.container form input[type='password'],
	.container form input[type='number'],
	.container form textarea {
		width: 94%;
		padding: 8px 2%;
		}
	.footer-widgets {
		width: 100%;
		margin: 0px;
		padding: 0px;
		}
	.footer-widgets .widget {
		width: 100% !important;
		margin: 0px;
		padding: 0px;
		}
		
	/* Grid */
	
	body { 
		-webkit-text-size-adjust: none; 
		-ms-text-size-adjust: none; 
		width: 100%; 
		min-width: 0; 
		margin-left: 0; 
		margin-right: 0; 
		padding-left: 0; 
		padding-right: 0; 
		}
	.row { 
		width: 100%; 
		min-width: 0; 
		margin-left: 0; 
		margin-right: 0;
		overflow: visible !important;
		}
	.half, .third, .one-third, .fourth,
	.one-fourth, .two-thirds, .three-fourths {
		float: none;
		width: 100%;
		}
	.row .row .column, .row .row .columns { 
		padding: 0; 
		}
	.column, .columns { 
		width: auto !important; 
		float: none; 
		margin-left: 0; 
		margin-right: 0; 
		}
	.column:last-child, .columns:last-child { 
		margin-right: 0; 
		float: none; 
		}
	[class*="column"] + [class*="column"]:last-child { 
		float: none; 
		}
	[class*="column"]:before, [class*="column"]:after { 
		content:''; 
		display:table; 
		}
	[class*="column"]:after { 
		clear: both; 
		}
	}