/*
 Theme Name:   Oklahoma Gazette 3 Column Minimal Theme
 Theme URI:    http://yourwebsite.com/twentyfourteen-child/
 Description:  Child theme for modifications related to the okgazette.com website that will allow the core theme to be updated safely without losing files. 
 Author:       Quantus
 Author URI:   http://quantusagency.com
 Template:     dw-focus_1.0.6_theme
 Version:      1.0.0
*/

/* This was in child theme before I started - js */
#wpfc-calendar .fc-event-time {
	display: none;
}

.fc-event-inner {
	color: #333 !important;
}

/* Removes title square from main content news slider - js */
#dw_focus_news_slider-4 .entry-category {
	display: none;
}



/* Change Social link bg colors - js */
.social-links .twitter a {
	background: #42C0FB;
}

.social-links .facebook a {
	background: #3A5795;
}

.social-links .youtube a {
	background: #cd201f;
}

.social-links .rss a {
	background: #FF9900;
}


/* SXSW category was making category labels go to next row. Originally 20px margin, 15px fixes issue - js */
.widget.news-category .child-category a {
	margin-left: 10px;
}

/* Main navbar originally had padding-right: 30px; This was
 * causing the Social Link Icons to move up */
.navbar .nav .menu-parent-item>a{
	padding-right:25px
}

/*
 * Responsive photo grid styles
 *  Leaving here as opposed to page specific
 *  because this is used so often
 */

/* Adds stylings for the icon video grid on Gazette 1 */
ul.rig {
	list-style: none;
	font-size: 0;
	margin-left: -2.5%;
/* should match li left margin */
}

ul.rig li {
	display: inline-block;
	padding: 10px;
	margin: 0 0 2.5% 2.5%;
	background: #fff;
	border: 0 solid #ddd;
	font-size: 16px;
	font-size: 1rem;
	vertical-align: top;
	box-shadow: 0 0 0 #ddd;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

ul.rig li img {
	max-width: 100%;
	height: auto;
	margin: 0 0 10px;
}

ul.rig li h3 {
	margin: 0 0 5px;
}

ul.rig li p {
	font-size: .9em;
	line-height: 1.5em;
	color: #999;
}

/* class for 2 columns */
ul.rig.columns-2 li {
	width: 47.5%;
/* this value + 2.5 should = 50% */
}

/* class for 3 columns */
ul.rig.columns-3 li {
	width: 30.83%;
/* this value + 2.5 should = 33% */
}

/* class for 4 columns */
ul.rig.columns-4 li {
	width: 22.5%;
/* this value + 2.5 should = 25% */
}

@media (max-width: 480px) {
	ul.grid-nav li {
		display: block;
		margin: 0 0 5px;
	}
	
	ul.grid-nav li a {
		display: block;
	}
	
	ul.rig {
		margin-left: 0;
	}
	
	ul.rig li {
		width: 100% !important;
	/* over-ride all li styles */
		margin: 0 0 20px;
	}
}

ul.rig li a h4 {
	text-decoration: none;
}

/* 
 * 404 styles 
 */


/* background */
.bg-underlay {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: url('http://okgazette.com/wp-content/uploads/2015/04/crack_lg.png') center center no-repeat !important;
  background-size: cover;
  opacity: 0.4;
}

/* Removes float: left on medium and down */
@media screen and (max-width: 600px) {
    body.error404 .post.error404 {
        float: none;
    }
}

body.error404 .site-content {
  padding-top: 5% !important;
}

/* Centers search form and gives width so magnifying glass will have proper reference for placement */
body.error404 form.searchForm {
  z-index: 1000;
  width: 250px;
  margin: 5px auto !important;
}
body.error404 .entry-content {
  width: 250px;
  margin: 0 auto; 
}

body.error404 .post.error404 {
  text-align: center !important;
}

/* h2s to the left except for form link */
body.error404 .post.error404 h2 {
  text-align: left !important;
}
body.error404 .post.error404 h2.center {
  margin: inherit auto;
  text-align: center !important;
}

body.error404 .post.error404 h2.smaller-404 {
  line-height: 20px;
  font-size: 20px;
  text-align: center !important;
  color: #CE171f;
}

body.error404 h2.highlight-404 {
  line-height: 25px !important;
  font-size: 30px !important;
}

body.error404  nav {
  opacity: .6;
  z-index: 1000;
}

body.error404 .navbar-inner {
  color: #CE171F;
}

body.error404 .middle-wrapper {
  margin: 15px 0;
}


