/**
 * Theme Name: Oxygen Child
 * Theme URI: http://devpress.com/themes/oxygen/
 * Description: Oxygen child theme
 * Version: 0.1
 * Author: DevPress
 * Author URI: http://devpress.com
 * Tags: flexible-width, theme-options, threaded-comments, microformats, translation-ready, rtl-language-support, three-columns, right-sidebar, left-sidebar, custom-background, featured-images
 * Template: oxygen_old
 *
 */

/* Load parent's CSS */
@import url("../oxygen_old/style.css");

/* Add your custom styles after this line. */

p {
/*	text-align: justify;
	text-justify: inter-word; */
	margin: 0 0 0.75em 0;
}

/* To make the 2-column layout fill all the space on the right */

.page-template-2col #content { width: 100%; }
.page-template-2col .content-wrap { width: 79.78723404255319%; }

/* Tablet (portrait) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.page-template-2col #content { width: 100%; }
	.page-template-2col .content-wrap { width: 100%; }
	.content-wrap {	width: 100%; }
	#content { width: 100%; } }
/* Phone (portrait) */
@media only screen and (max-width: 767px) {
	.page-template-2col #content { width: 100%; }
	.page-template-2col .content-wrap { width: 100%; }
	.content-wrap {	width: 100%; }
	#content { width: 100%; } }


/* Change the colour of the featured post title on the front page */

.featured-post h2.entry-title a {
	color: #CC001C;
	background: #fff;
	bottom: 75px;
}
.featured-post:hover h2.entry-title a, .featured-post:hover .byline {
	color: #fff;
	background: #CC001C;
}

.featured-wrapper {
    margin-bottom: 0px; /* 4px if only one image in slider */
}

#featured-content {
	position: relative;
/*	margin-bottom: 0px; uncomment if only 1 image in slider*/
}

/* To remove the smiley face used by the jetpack stats plugin */

img#wpstats{
	display:none;
}

/* Slider stuff - I made changes to the .js detailed here https://github.com/woothemes/FlexSlider/issues/104 */

.featured-wrapper .flexslider {
border: 0px;
}

.loading {
min-height: 396px;
width: 750px;
background: url("../oxygen/images/empty.gif");
}

.flex-direction-nav li .next {background-position: -52px 0; right: -1000px;}
.flex-direction-nav li .prev {left: -1000px;}

.sidebar .widget ol { margin-left: 16px; list-style: circle;}
.sidebar .widget ol li a { color: #555; }
.sidebar .widget ol li a:hover { color: #000; }
.sidebar .widget ol li a { color: #555; }
.sidebar .widget ol li a:hover { color: #000; }

/*Latex logo formatting */

.tex sub, .latex sub, .latex sup {
  text-transform: uppercase;
}

.tex sub, .latex sub {
  vertical-align: -0.5ex;
  margin-left: -0.1667em;
  margin-right: -0.125em;
}

.tex, .latex, .tex sub, .latex sub {
  font-size: 1em;
}

.latex sup {
  font-size: 0.85em;
  vertical-align: 0.15em;
  margin-left: -0.36em;
  margin-right: -0.15em;
}

a:hover {
	text-decoration: none;
	color: #000;
	border-bottom: 1px solid #cc001c;
}
.home .hentry .entry-title a:hover, .page-template-front .hentry .entry-title a:hover, .archive .hentry .entry-title a:hover, .search .hentry .entry-title a:hover {	
	color: #000;
	border-bottom: 1px solid #cc001c;
}