/*
 Theme Name:   Tucson Marathon
 Theme URI:    http://gliffen.com
 Description:  Custom Child Theme of Twenty Thirteen developed for the Tucson Marathon
 Author:       Gliffen Designs
 Author URI:   http://gliffen.com
 Template:     twentythirteen
 Version:      1.0.0
 Tags:         custom
 Text Domain:  TucsonMarathon
*/


@import url("../twentythirteen/style.css");
@font-face {
    font-family: Hoefler;
    src: url(fonts/HoeflerText-Black.otf);
}
@font-face {
    font-family: Tungsten;
    src: url(fonts/Tungsten-Semibold.otf);
}

/* =Theme customization starts here
-------------------------------------------------------------- */

html, button, input, select, textarea {
	font-family: 'Open Sans', sans-serif;
	background-color:#373737;
}
body {
		
}
.site {
	border:none;
	max-width:100%;
}
a, .entry-content a {
	color:#2E2728;	
}
a:hover, .entry-content a:hover {
	color:#734000;
	text-decoration:none;
}
a:visited {
	color:#FF6700;
}
h1, h2, h3, h4, h5 {
	font-family:Tungsten, 'sans-serif';	
	clear:none;
}
h1 {
	font-size:50px;
	
}
h2 {
	font-size:44px;
}
h3 {
	font-size:40px;
}
h4 {
	
}
h5 {
	
}
img {
	max-width:100%;
	height:auto;	
}
.push {
	clear:both;	
}
input, textarea {
	border:2px solid;
	border-color:transparent;
	transition:border-color ease 200ms;	
	background-color:#ffffff;
}
input:focus, textarea:focus {
	border-color:#37a7cd;
}
button, input[type="submit"], input[type="button"], input[type="reset"] {
	border:none;
	border-radius:0px;
	background:none;
	background-color:#2d2e2b;
	color:#ffc522;
	text-transform:uppercase;
	padding:8px 16px;
	font-weight:700;
	font-size:16px;
	transition:all ease 200ms;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:focus, input[type="button"]:focus, input[type="reset"]:focus {
	background:none;
	background-color:#37a7cd;
	border:none;
	color:#ffffff;
}
button:active, input[type="submit"]:active, input[type="button"]:active, input[type="reset"]:active {
	border:none;
	padding:8px 16px;
	color:#ffffff;
	background-color:#37a7cd;
}
.marathon-menu-item {
	font-family:Tungsten, 'sans-serif';	
}
.marathon_header_title {
	font-family:Tungsten, 'sans-serif';		
}

/* Header
-------------------------------------------------------------- */

.site-header {
	background-size:cover !important;
	padding-top:10%;
	min-height:120px;
}
.header_con {
	position:relative;
	max-width:1200px;
	margin:0 auto;
	color:#ffffff;
}
.site_header_left {
	position:absolute;
	left:20px;
	bottom:10px;	
}
.site_header_left img {
	max-height:44px;	
}
.site_header_right {
	bottom: 10px;
    position: absolute;
    right: 20px;
    text-transform: uppercase;
	line-height:.9;
	cursor:default;
}
.site_header_right div:first-of-type {
	font-size:15px;	
}
.site_header_right div:last-of-type {
	font-size:20px;
	font-weight:600;	
}

/* Navbar
-------------------------------------------------------------- */

#navbar {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.6+100 */
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#99000000',GradientType=0 ); /* IE6-9 */
	background-color:#373737;
	max-width:100%;
	border:none;
	min-height:0px;
	border-radius:none;
}
.nav_border {
	border-top:2px solid #ffffff;
	width:100%;
	border-bottom:2px solid #ffffff;
}
.sponsor_con {
	text-align:center;	
}
.sponsor_con p {
	margin:0px;	
}
.sponsor_con img {
	margin:20px 30px;	
}
.navigation {
	width:100%;
	min-height:0px;
	max-width:100%;
}
.menu-generalmenu-container {
	display:table;
	width:100%;	
}
ul.nav-menu, div.nav-menu > ul {
	padding:0;	
	display:table-row;
}
.nav-menu li {
	display:table-cell;	
	border-right:2px solid #ffffff;
	width:16.66%;
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%); 
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%); 
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%); 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#99000000',GradientType=0 ); 
	background-color:#373737;
	text-align:center;
	transition:all ease 200ms;
}
.nav-menu li a {
	color:#ffffff;
	text-align:center;
	transition:all ease 200ms;
	font-weight:600;
	text-transform:uppercase;
	font-size:14px;
	width:100%;
	display:inline-block;
	vertical-align:middle;
}
.nav-menu li:last-of-type {
	border-right:none;	
}
.nav-menu li:hover, .nav-menu li:focus {
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%); 
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 100%); 
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 100%);
	background-color:#ffb700;
	color:#373737;
}
.nav-menu li:hover > a, .nav-menu li a:hover, .nav-menu li:focus > a, .nav-menu li a:focus {
	background-color:transparent;
	color:#ffffff;	
}
.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a {
	color:#ffb700;
	font-style:normal;
}

/* Content
-------------------------------------------------------------- */

.site-main {
	background-color:#cccccc;	
	color:#272727;
	overflow:auto;
}
.hentry {
	padding:30px 20px;	
}
.content-max {
	max-width:1200px;
	margin:0 auto;
}
.entry-header, .entry-content, .entry-summary, .entry-meta {
	max-width:100%;	
}
.page_header {
	text-align:center;
	padding:60px 10px;
	background-size:cover;
	background-position:center;
	background-color:#313131;
}
.page_header_title {
	font-family:Tungsten, 'sans-serif';
	font-size:90px;
	color:#ffffff;	
}

/* Homepage ------------------- */

#newsletter-form {
	width:100%;
	border-top:2px solid #ffffff;
	border-bottom:2px solid #ffffff;
	background-color:#cccccc;
}
.ns-con {
	text-align:center;
	display:inline-block;
	vertical-align:middle;
	color:#272727;
	padding:14px 20px;
}
.ns-one {
	width:40%;
	font-size:20px;
	text-transform:uppercase;
	font-weight:600;
}
.ns-two {
	width:30%;
}
.ns-three {
	width:30%;
}
.newsletter-signup input[type="text"] {
	width:90%;	
}
.newsletter-signup input[type="submit"] {
	background:none;
	background-color:#272727;
	padding:5px 70px;
	color:#ffffff;
}
.nofocus {
	padding-left:20px;
	font-style:italic;
	color:#333333;	
}

/* accordian toggle ------------------- */

.panel-group {
	margin:20px 0px;	
}
.panel-title{
	font-size: 24px;
}
.panel-title > a {
	display:block;
	padding:20px;
}
.panel-title a:focus{
	outline:none;
	text-decoration:none;
}
.panel-title > a:hover {
	color:#2a6496;
}
.panel-default > .panel-heading {
	padding:0px;	
}
.accordion-toggle {
  position: relative;
}
.accordion-toggle::before,
.accordion-toggle::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  width: 14px;
  height: 4px;
  margin-top: -2px;
  background-color: #000;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.accordion-toggle::before {
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  opacity: 0;
}
.accordion-toggle.collapsed::before {
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  opacity: 1;
}
.accordion-toggle.collapsed::after {
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

/* 404 ------*/

.lost-error-con {
	padding:60px;
	text-align:center;
	background-color:#1463AD;
	color:#fff;
	font-weight:600;
	font-size:30px;
	margin:30px 0px;
}
.lost-title {
	font-size:60px;	
}
/* GBoxes -------*/

#gbox-sponsors img{
	background-color:#fff;
	padding:10px;
}
#gbox-sponsors{
	width:20% !important
}
.postid-186 .gbox-single{
	padding:0 0 20px 0;
	vertical-align:inherit !important;
}

/* Responsive Tabs --------*/
.rtbs .rtbs_menu li a{
	padding-left:16px !important;
	font-size:14px;
	text-transform:uppercase;
}

/* Footer
-------------------------------------------------------------- */

.footer-news {
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#99000000',GradientType=0 ); /* IE6-9 */
	background-color:#373737;
	max-width:100%;	
	border-top:2px solid #ffffff;	
	border-bottom:2px solid #ffffff;	
}
.fn-cell {
	border-right:2px solid #ffffff;	
	display:table-cell;
	min-width:33.33%;
}
.fn-cell:last-of-type {
	border-right:none;	
}
.fn-title {
	color:	#ffb700;
	font-size:20px;
	text-transform:uppercase;
	padding:10px 15px;
	font-weight:600;
}
.site-footer a {
	color:#ffffff;	
}
.fn-content {
	padding:0 10px 10px 10px;	
}
.fn-two .fn-content {
	padding-top:30px;	
}
.fn-article {
	display:block;
	margin-bottom:10px;
	color:#ffffff;
	transition:all ease 200ms;	
}
.fn-article:hover {
	background-color:#0E0E0E;	
}
.fn-a-date, .fn-a-thumbnail, .fn-a-right {
	display:table-cell;
	vertical-align:middle;
	padding:10px;
}
.fn-a-date {
	min-width:60px;
	line-height:.9;
}
.fn-a-day {
	font-size:30px;	
}
.fn-a-month {
	font-size:18px;	
	text-transform:uppercase;
}
.fn-a-thumbnail {
	min-width:100px;	
}
.fn-a-right {
	width:100%;
	text-align:left;	
}
.fn-a-title {
	font-size:18px;
	font-weight:600;	
}
.fn-a-excerpt {
	line-height:1.2;	
}
.newsletter-signup {
	max-width:1000px;
	margin:0 auto;
}
.site-info {
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%); 
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%); 
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%);
	background-color:#373737;
	max-width:100%;
	color:#ffffff;
	text-transform:uppercase;
	font-weight:600;
	padding:30px 15px;
}
.site-info a {
	color:#ffffff;	
}
.footer-menu {
	margin-top:0px;
	margin-bottom:20px;	
	padding:0px;
}
.footer-menu ul {
	padding:0px;
	margin:0px;	
}
.footer-menu li{
	display:inline-block;
	text-align:center;
}
.footer-menu li a {
	color:#ffffff;
	text-transform:uppercase;
	padding:0px 14px;
	display:block;
	border-right:2px solid #ffffff;
	font-size:13px;
}
.footer-menu li:last-of-type a {
	border-right:none;	
}


/* Mobile Optimization
-------------------------------------------------------------- */

@media screen and (max-width:1200px){
	.nav-menu li:first-of-type {
		border-left:none;	
	}
	.nav-menu li:last-of-type {
		border-right:none;	
	}
	.marathon-menu-item:first-of-type {
		border-left:none;	
	}
	.marathon-menu-item:last-of-type {
		border-right:none;	
	}
	.marathon-menu-title {
		font-size:5.5vw;	
	}
	.marathon-menu-sponsor {
		font-size:3vw;	
	}
	.marathon-menu-sponsor img {
		max-height: 35px;
	}
	.site-header {
		padding-top:120px;
	}
	.sponsor_con img {
		max-width: 130px;
	}
}
@media screen and (max-width:900px){
	.marathon-menu-title {
		font-size: 5vw;
	}
	.marathon-menu-sponsor img {
		max-height: 25px;
	}
	.sponsor_con img {
		max-width: 90px;
		margin: 17px 14px;
	}
	.marathon-c1 {
		width:50%;
	}
	.marathon-c2 {
		width:50%;
	}
	.marathon-c3 {
		width:100%;	
	}
}
@media screen and (max-width:780px){
	.marathon-menu-title {
		font-size: 45px;
	}
	.marathon-menu-sponsor {
		font-size: 26px;
	}
	.ns-one {
		font-size:18px;
		width:30%;
	}
	.ns-three {
		width:24%;	
	}
	.newsletter-signup input[type="submit"] {
		padding:5px 22%;	
	}
	#gbox-sponsors{
		width:100% !important;
	}
	#gbox-sponsors .gbox-single{
		padding:0;
		margin:0;
	}
}
@media screen and (max-width:680px){
	.site-header {
		padding-top: 110px;
		min-height:0px;
	}
	.marathon-menu-title {
		letter-spacing: 1.2px;
		font-size: 40px;	
	}
	.navigation {
		text-align:center;	
	}
	.menu-toggle {
		cursor: pointer;
		display: inline-block;
		font: bold 16px/1.3 "Source Sans Pro",Helvetica,sans-serif;
		color:#ffb700;
		background:none;
		margin:6px;
		padding: 12px 0 12px 20px;
	}
	.menu-toggle:hover, .menu-toggle:focus, .menu-toggle:active {
		color:#ffffff;
		background:none;
		padding: 12px 0 12px 20px;	
	}
	.menu-toggle::after {
		content: "";
		font-size: 12px;
		padding-left: 8px;
		vertical-align: -4px;
	}
	.toggled-on .menu-toggle::after {
		content: "";
		vertical-align: 2px;
	}
	.nav_border {
		display:none;
		border-bottom:none;
	}
	.toggled-on .nav_border {
		display:block;	
	}
	.menu-generalmenu-container {
		display:block;	
	}
	ul.nav-menu, div.nav-menu > ul {
		display:block;	
	}
	.nav-menu li {
		display:block;
		width:100%;
		border-right:none;
		background:none;
	}
	.nav-menu li a  {
		padding:18px 20px;
		transition:none;
	}
	.nav-menu li:hover > a, .nav-menu li a:hover, .nav-menu li:focus > a, .nav-menu li a:focus {
		color:#373737;
	}
	.marathon-menu-container {
		display:block;	
	}
	.marathon-menu {
		display:block;	
	}
	.marathon-menu-item {
		display:block;
		width:100%;
		border-top:2px solid #ffffff;
		border-right:none;
	}
	.marathon-menu-sponsor {
		display:none;
	}
	.sponsor_con {
		display:block !important;
	}
	.toggled-on .nav-menu > li a:hover, .toggled-on .nav-menu > ul a:hover {
		background-color:#ffb700;
		color:#373737;
	}
	.site_header_left img {
		max-height:28px;	
	}
	.site_header_right div:first-of-type {
		font-size:12px;
	}
	.site_header_right div:last-of-type {
		font-size:	16px;
	}
	.ns-con {
		width:100%;
		display:block;	
	}
	.marathon_header_name {
		font-size:50px;
	}
	.marathon_header_date {
		font-size:30px;	
	}
	.marathon_header_hashtag {
		font-size:22px;	
		line-height:.2;
	}
	.marathon-c1 {
		width:100%;
	}
	.marathon-c2 {
		width:100%;
	}
	.marathon-menu-date {
		font-size:20px;	
	}
}
@media screen and (max-width:643px){
	
}
@media screen and (max-width:500px){
	.site_header_left img {
		max-height:22px;
	}
	.site_header_right div:first-of-type {
		font-size:11px;	
	}
	.site_header_right div:last-of-type {
		font-size:	13px;
	}
	.marathon_footer_menu a {
		font-size:14px;
		font-weight:700;
		padding:10px;
	}	
}







