/*
 Theme Name: UMC 2014 Child
 Description: Child theme of UMC 2014 for the College of Law
 Template: umc2014
 Author: Brett Rawlins
*/

/* start with the parent css */
@import url("../umc2014/style.css");

/* import other stylesheets */
@import url(icons.css);


/**
 * Override parent theme styles
 */

/* hide text logo */
.main-headline h1 { display: none; }

/* use SJQ logo */
#utah-logo { background-image: url(images/col-logo.svg); background-repeat: no-repeat; background-size: 220px; width: 220px; }

/* top nav adjustments */
#top-nav ul.top-menu li h3 { font-size: 0.9em; margin: 0 2px; }
@media only screen and (min-width: 950px) {
	#top-nav ul.top-menu { height: 34px; }
	#top-nav ul.top-menu li { height: 100%; }
}

/* footer */
.bottom-brand img { margin-left: -9px; width: 175px; }
#footer-container .brand-area { margin-bottom: 1em; }
.legal { clear: both; color: #fff; font-size: 0.6em; line-height: 1.1; }
.legal a { color: #fff; text-decoration: underline; }

/* general font adjustments */
body { line-height: 1.4em; }
#main-container { font-size: 0.8em; }

/* sidebars */
.right-channel p { line-height: inherit; }
.right-channel h3 { margin: 0 0 .5em; }

/* fix wide images in posts */
.entry-content img { max-width: 100%; height: auto; padding: 1em; }

/* position images and image captions */
.entry-content .alignleft { float: left; }
.entry-content .alignright { float: right; }
.entry-content .aligncenter { display: block; float: none; margin: auto; }
.alignleft img, img.alignleft { float: left; padding-left: 0; }
.alignright img, img.alignright { float: right; padding-right: 0; }
.aligncenter img, img.aligncenter { display: block; float: none; margin: auto; padding: 0; }
.alignleft .wp-caption-text { padding-right: 2em; }
.alignright .wp-caption-text { padding-left: 2em; }

/* position text overlay in image slider widget */
.banner-text-position { bottom: 1px; top: auto; width: 100%; }
.banner-subtext { padding-right: 2.5em; width: 100%; }
.flex-control-nav { padding: 0px 5px 0px 0px !important; right: 0px !important; text-align: right !important; }
.flex-control-paging li a { background: rgba(255, 255, 255, 0.5) !important; color: transparent; }
.flex-control-paging li a.flex-active { background: #fff !important;}

/* prevent right sidebar from dropping below main content */
.two-column-margin { margin: 1em 0; }

/* N-column feature headline */
.eq-ht h3 { font-size: initial; font-weight: 400; text-align: left; text-transform: none; }
.normal .eq-ht h3 { color: inherit; font-weight: bold; }
.eq-ht.dk-grey h3 { text-align: left; }

/* hide title on pages */
.type-page .entry-header { display: none; }

/* hide author on posts */
.byline { display: none; }

/* make slider widget extend to full width of parent container, which now has padding */
.two-column-margin .flexslider { margin-left: -1em; margin-right: -1em; }

/* fix widget formatting */
.widget { margin-bottom: 1.5em; }
.widget-title { font-size: 1.5em; }
.widget h1, .widget h2, .widget h3 { font-weight: 400; }
.front-page .COL_Recent_Posts_Widget .ten-twenty-four { padding: 0 15px; }
.COL_Recent_Posts_Widget ul p, .right-channel p { margin: 1em 0; }

/* posts navigation */
.post-navigation h1 { display: none; }
.nav-links { margin-top: 2em; }

/* library */
.accordion { padding: 0; }
.button {
	background: rgb(204, 0, 0);
	border: 1px solid #fff;
	border-radius:.5em;
	color:white;
	font: bold .8em/1.2em Helvetice, sans-serif;
	letter-spacing:.045em;
	padding: 0.7em 1.5em;
	text-align:center;
	text-decoration: none;	
	text-transform: uppercase;
}
.chat a, .chat a:hover, .chat a:active, .chat a:focus { color: #fff; }
.full-width { width: 100%; }
a.full-width { display: inline-block; width: 100%; }

/* miscellaneous */
.post-date { font-style: italic; }
header h1 { color: inherit; font-family: inherit; font-size: 1.8em; font-weight: bold; margin: 0; text-shadow: none;}
time.updated { display: none; }
.right-channel img { border: none; }


/**
 * Google Search Applicance styles (from campus)
 */
 #gsa_search{
 	background: #fff;
 	border: 1px solid black;
 	float: right;
 	margin: 0;
 	padding: 0;
 	position: relative;
 	text-align: left;
 	width: 230px; 
 }
 #gsa_searchbox {
 	border: 0;
 	color: #666;
 	font: 15px Helvetica, sans-serif;
 	height: 20px;
 	padding: 3px 5px;
 	width: 195px;
 }
 .gsa_watermark { 
 	background: #FFF url('http://uwebresources.utah.edu/_images/search/gsa_site.png') no-repeat 5px 3px; 
 }
 #gsa_searchbutton { 
 	padding: 3px;
 	position: absolute;
 	right: 0;
 	top: 0;
 	width: 20px;
 }
 #gsa_searchbutton:focus,
 #gsa_searchbutton:hover,
 #gsa_searchbutton:active {
 	background-color: #e8e8e8;
 }
 #gsa_search label {
 	height: 1px;
 	left: -10000px;
 	overflow: hidden;
 	position: absolute;
 	top: auto;
 	width: 1px; 
 }


/**
 * Style WordPress classes
 */
.wp-caption-text { color: #999; font-style: italic; }


/**
 * Override other third-party stylesheets used
 */

/* ThickBox */
#TB_closeWindow { display: none; }
#TB_ImageOff .screen-reader-text { display: none; }

/* DataTables */
.dataTable .sorting_disabled { cursor: default; }
.entry-content table img { padding: 0; }
.dataTable .odd { background: #ddd; }
.dataTable .even { background: #fff; }
.dataTable thead tr:nth-child(odd) { background: #fff; }
.dataTable td, .dataTable th { padding: .5rem; }
.dataTable th { cursor: pointer; }
.dataTables_length, .dataTables_info { float: left; width: 40%; }
.dataTables_filter, .dataTables_paginate { float: right; width: 50%; margin-bottom: .5em; text-align: right; }
.dataTables_paginate a { cursor: pointer; padding: 0 6px; }
.dataTables_paginate a[class*="disabled"], .dataTables_paginate a[class*="active"] { color: inherit; cursor: default; }
.sorting_1 { background: rgba(0,0,0,0.10); }
.sorting_2 { background: rgba(0,0,0,0.06); }
.sorting_3 { background: rgba(0,0,0,0.02); }

/* DataTables Row Grouping */
td.group { background: #aaa; font-weight: bold; }

/* The Events Calendar */
.tribe-events-event-meta.primary, .tribe-events-event-meta.secondary { background: #eee; margin: 1rem 0; }
.tribe-events-cal-links { display: inline-block; width: 100%; }
.tribe-events-cal-links .tribe-events-button { float: left; clear: right; }
.tribe-events-meta-group dt { float: left; margin-right: 5px; }
.tribe-events-meta-group dd { margin: 0; }
.tribe-events-adv-list-widget ol { margin: 0 0 1em 0;  padding: 0; }
.tribe-events-adv-list-widget ol li { border-bottom: 1px solid #e1e1e1; margin-bottom: 0; padding: 0.2em 0; }
.tribe-events-adv-list-widget .entry-title { font-size: inherit; font-weight: normal; margin: 0; }
.tribe-events-adv-list-widget .duration { font-weight: normal; }
.tribe-events-calendar .hentry { padding: 5px; }
.tribe-events-calendar .entry-title { font-weight: normal !important; }
.tribe-events-grid .entry-title { font-weight: normal !important; }

/* Contextual Related Posts Widget */
.crp_related_widget ul { list-style-type: none; margin: 0 0 1em 0; padding: 0; }
.crp_related_widget li { border-bottom: 1px solid #e1e1e1; padding: 0.2em 0; }

/* jQuery UI */
.ui-dialog-title { font-size: 1.2em; }
.ui-dialog.ui-widget { font-family: inherit; font-size: inherit; }
.ui-widget .ui-widget-content a, .ui-widget .ui-widget-content a:active, .ui-widget .ui-widget-content a:hover { color: #cc0000; }
.ui-widget .ui-widget-content a:visited { color: #990000; }
.book-wrapper:last-child { border: none !important; }

/* Contact Form 7 */
.wpcf7-list-item { display: block; }

/* Twitter Timeline (Jetpack) */
.twitter-timeline { width: 100% !important; }


/**
 * Add COL styles
 */

.col-hidden, .col-ajax-loader { display: none; }
.align-center { text-align: center; }
.align-right { text-align: right; }
.COL_Recent_Posts_Widget ul, .COL_Event_Stream_Link_Widget ul { list-style: none; margin: 0; padding: 0; }
.COL_Recent_Posts_Widget li, .COL_Multi_Column_Recent_Posts_Widget li { padding: 0.2em 0; }
.COL_Multi_Column_Recent_Posts_Widget ul { list-style: none; margin: 0; padding: 0; } 
.main-channel .COL_Recent_Posts_Widget li, .main-channel .COL_Multi_Column_Recent_Posts_Widget li { padding: 0; }
.front-page .COL_Recent_Posts_Widget { margin: auto; padding: 0 1em; }
.front-page .COL_Recent_Posts_Widget h1, .front-page .COL_Recent_Posts_Widget h3 { margin: 0.7em 0; }
.post-list li { border-bottom: 1px solid #e1e1e1; }
.lt-grey .post-list li { border-bottom: 1px solid #999; }
.dk-grey a { color: #fff; }
.dk-grey .col-icon { fill: #fff; }
.excerpt-list li { border-bottom: 0px; }
.first-excerpt { margin-bottom: 1em; }
.utah-red { color: #cc0000; }
.COL_Event_Stream_Link_Widget .body-callout-box { font-size: 1.2em; }
.COL_Event_Stream_Link_Widget h1 { margin-top: .5em; }
.COL_Event_Stream_Link_Widget .ten-twenty-four { padding: 0 15px; }
.callout-left, .callout-right {
	background-color: #eee;
	border: 1px solid #999;
	float: left;
	margin: 1em;
	margin-left: 0;
	padding: 1em;
	width: 50%;
}
.callout-right { float: right; margin: 1em; margin-right: 0; }

/* columns */
.columns-2 {
	-moz-column-count: 2; 
	-moz-column-gap: 1em;
	-webkit-column-count: 2; 
	-webkit-column-gap: 1em;
	column-count: 2; 
	column-gap: 1em;
}
.columns-3 {
	-moz-column-count: 3; 
	-moz-column-gap: 1em;
	-webkit-column-count: 3; 
	-webkit-column-gap: 1em;
	column-count: 3; 
	column-gap: 1em;
}
.columns-4 {
	-moz-column-count: 4; 
	-moz-column-gap: 1em;
	-webkit-column-count: 4; 
	-webkit-column-gap: 1em;
	column-count: 4; 
	column-gap: 1em;
}
.columns-5 {
	-moz-column-count: 5; 
	-moz-column-gap: 1em;
	-webkit-column-count: 5; 
	-webkit-column-gap: 1em;
	column-count: 5; 
	column-gap: 1em;
}
@media only screen and (max-width: 765px) {
	[class^="columns-"] {
		-moz-column-count: 2; 
		-moz-column-gap: 1em;
		-webkit-column-count: 2; 
		-webkit-column-gap: 1em;
		column-count: 2; 
		column-gap: 1em;
	}
}
@media only screen and (max-width: 479px) {
	[class^="columns-"] {
		-moz-column-count: 1; 
		-moz-column-gap: 1em;
		-webkit-column-count: 1; 
		-webkit-column-gap: 1em;
		column-count: 1; 
		column-gap: 1em;
	}
}

/* table styles */
table { margin-bottom: .7em; width: 100%; }
thead tr { font-weight: bold; }
thead tr:nth-child(odd) { background: #bbb; }
tr:nth-child(odd) { background: #fff; }
tr:nth-child(even) { background: #ddd; }
td, th { padding: 4px; }
.not-striped tr { background: inherit; }
.cell-borders td, .cell-borders th { border: 1px solid #777; }
