/*
Theme Name:     Parabola Child
Author:         James Murray
Template:       parabola
Description:	Based on the free Parabola template by Cryout creations, this version includes a homepage with content boxes featuring the latest articles for various categores. It also includes several types of ad space plus ads management.
Version:        1.0.0
*/

@import url("../parabola/style.css");
@import url("../parabola/styles/style-mobile.css");

/* Parabola Custom CSS */ 

/* image max-width fix (hopefully) */
img , #content img.size-medium, #content img.size-large, #content img.size-full {
max-width: 100%!important;
}

/* Alternative H1, H2 & H3 */
.sh1, .sh2, sh3 {
font-family: Copperplate Light,Copperplate Gothic Light,serif;
clear: both;
font-weight: 400;
line-height: 1.3em;
display: block;
}
.sh1 {
font-size: 34px;
margin-bottom: 12px;
}
.sh2 {
font-size: 24px;
margin-bottom: 8px;
}
.sh3 {
font-size: 18px;
margin-bottom: 4px;
}
.column-text {
text-align: left;
}

/* Caption for slider */
.nivo-caption h3 {
font-size: 18px;
line-height: 22px;
}

/* Navigation Tweaks */ 
#access {
border-top: 2px solid #999999;
border-bottom: 2px solid #999999;
background-color: #666666;
margin-top: 0px;
padding: 0px 0px 0px 0px;
}
#front-text1 {
margin-top: 10px;
}
#front-text1 a img {
width: 100%;
}
#shadow {
background-image:url('img/shadow.png');
background-repeat:no-repeat;
background-position:0px 0px;
border: none;
}
nav#access .menu #prime_nav.menu li.menu-item ul.sub-menu li.menu-item {
background-color: #666666;
}
nav#access .menu #prime_nav {
border-style: solid;
border-left-width: 1px;
border-left-color: #232323!important;
border-right-width: 1px;
border-right-color: #535353!important;
border-bottom: 0px;
}
nav#access .menu #prime_nav li.menu-item {
margin: 0px;
outline-color: none; 
}
nav#access .menu #prime_nav li.menu-item {
margin: 0px;
background-image: none;
} 
#access ul li, #access ul li a:link, #access ul li a:visited, #access ul li a:hover, #access ul li a:active {
background-image:url('img/divider.png');
background-repeat:no-repeat!important;
background-position:100% 0%;
}
#access ul li a:link {
text-decoration: none;
} 
.right-tab a:visited  {
text-decoration: none;
} 
.right-tab a:hover  {
text-decoration: none;
} 
.right-tab a:active  {
text-decoration: none;
} 
a:after {
img src="";
} 
#access > .menu > ul > li > a:after {
border-bottom: 0px;
} 
#access > .menu > ul > li > ul > li, #access > .menu > ul > li > ul > li > ul > li {
border-bottom: 1px solid #CCCCCC;
border-right: 1px solid #CCCCCC;
} 
#access > .menu > ul > li > ul {
border-top: 1px solid #CCCCCC;
} 

/* 
 * Masthead tweaks 
 */
#masthead {
border: 0px;
}
#strapline {
float: left;
width: 100%;
text-align: left;
padding: 10px 12px;
}
a#logo {
height: 80px;
}

/* Frontpage Structure Tweaks - Including Ad Space */ 
.newswrap {
max-width: 730px;/*1050px;*/
}
#frontpage_sidebar_ad {
float: right; 
width: 300px;
height: auto; 
margin: 0px;
} 
#frontpage_sidebar_ad img {
width: 100%; 
margin: 0px;
} 
#sidebar_co li {
list-style-type: none;
}

/*
 * Styling for content ads
 */
.content_co {
margin: 10px 0px 10px -20px;
}
.content_co img {
border-bottom: 1px solid #cccccc;
border-top: 1px solid #cccccc;
}
.float_ad {
width: 240px;
clear: left;
float: left;
margin: 4px 10px 4px 0px;
}
/*div.entry-content p {  to wrap content text around ads 
float: left;
display: block;
}*/

/* 
 * Styling for text widget
 */
.widget-container.widget_text {
list-style-type: none;
}

/* 
 * Styling of News div - n.b. theme calls 'latest_news($width)' function to output 
 * '.latest_news' within the '.newswrap' div 
 */ 
.latest_news {
padding: 15px; 
background: none repeat scroll 0 0 #FFFFFF;
border-radius: 3px;
float: right;
}
.latest_news ul {
margin-bottom: 15px;
}
.newsitem {
margin-left: 0px; 
list-style-type: none; 
margin-bottom: 15px;
}
.newstitle {
font-size: 120%;
font-family: <?php echo ((!$parabola_googlefontside)?(($parabola_fontside == 'General Font')?'inherit':$parabola_fontside):"\"$parabola_googlefontside\""); ?>;
}
.newswrap {
background-color: #ffffff;
float: left;
padding-top: 15px;
}
.brief_news {
width: 30%;
min-width: 200px;
float: left;
margin-left: 2.5%;
}
.brief_news_title {
font-family: <?php echo ((!$parabola_googlefontside)?(($parabola_fontside == 'General Font')?'inherit':$parabola_fontside):"\"$parabola_googlefontside\""); ?>;
color: #ffffff; 
border-top: 2px solid #999999;
border-bottom: 2px solid #999999;
background-color: #666666;
}
.brief_news ul li a img {
width: 100%;
}

/* Content Ad */
.fp_content_co {
padding: 10px 0px 10px 21px;
}

/* Styling for Recent Posts Widget */
#recent-posts-3 ul li a {
font-size: 12px;
}
#recent-posts-3 ul li a:link, #recent-posts-3 ul li a:visited {
color: #333333;
}
#recent-posts-3 ul li a:visited {
color: #666666;
}
#recent-posts-3 ul li a:hover, #recent-posts-3 ul li a:active {
color: #E6AC27;
}
.textwidget ul li, #recent-posts-3 ul li {
border-bottom: 1px dotted #cccccc;
line-height: 1em;
}
.textwidget ul {
margin: 0px 5px;
}
#main .widget-area ul {
margin-left: 5px;
}

/*
 * Important css rule - makes slide transitions work! 
 */
#content img { /* This rule is duplicated in the footer.php - the reason is that the footer is the last thing to load and the only place where it is possible to make this override. */
//max-width: none!important;
}

.slider-wrapper {
margin: 0px 0px 10px 0px!important;
}

/*
 * Styling for sidebar ads 
 */
#sidebar_co img {
padding: 0px;
margin: 0px;
width: 100%;
}

/*
 * lang select tweak // more options found in the wpml menu
 */
#lang_sel_list.lang_sel_list_vertical ul, #lang_sel_list.lang_sel_list_vertical ul a, #lang_sel_list.lang_sel_list_vertical ul a:visited {
background-color: #F7F7F2;
border: none;
}
#lang_sel_list.lang_sel_list_vertical ul a {
font-family: <?php echo ((!$parabola_googlefontside)?(($parabola_fontside == 'General Font')?'inherit':$parabola_fontside):"\"$parabola_googlefontside\""); ?>;
font-size: 15px;
text-align: left;
}
#lang_sel_list.lang_sel_list_vertical ul a:link img, #lang_sel_list.lang_sel_list_vertical ul a:visited img {
visibility: hidden;
}
#lang_sel_list.lang_sel_list_vertical ul a:hover img, #lang_sel_list.lang_sel_list_vertical ul a:active img {
visibility: visible;
}
#lang_sel_list.lang_sel_list_vertical {
width: 125px;
}
.lang_label {
font-family: <?php echo ((!$parabola_googlefontside)?(($parabola_fontside == 'General Font')?'inherit':$parabola_fontside):"\"$parabola_googlefontside\""); ?>;
font-size: 15px;
float: right; 
padding: 5px;
color: #666666;
}

/*
 * Calendar stylings - Thanks to David Walsh
 */
#calendar_box {
width: 100%;
clear: both;
}
table.calendar#events_calendar { 
border-left:1px solid #999; 
width: 100%
}
table.calendar#events_calendar tr.calendar-row td{  
padding: 5px;
width: 12%;
}
table.calendar#events_calendar tr.calendar-row td.calendar-day	{ 
min-height:80px; 
font-size:11px; 
position:relative; 
} 
td.calendar-day:hover {
background:#eceff5; 
}
td.calendar-day-np { 
background:#eee; 
min-height:80px; 
} 
td.calendar-day-head { 
background:#ccc; 
font-weight:bold; 
text-align:center; 
border-bottom:1px solid #999; 
border-top:1px solid #999; 
border-right:1px solid #999; 
}
div.day-number { 
background:#999; 
padding:5px; 
color:#fff; 
font-weight:bold; 
float:right; 
margin:-5px -5px 2px 2px; 
width:20px; 
text-align:center; 
}
td.calendar-day, td.calendar-day-np { 
border-bottom: 1px solid #999; 
border-right:1px solid #999; 
}
div.calendar-content {
width: 100%;
border-bottom: 1px dashed #cccccc;
}

/*
 * Header Tweaks
 */
#logo {
padding-top: 5px; 
float: left;
max-width: 730px;
height: auto;
}
#header_search {
float: right; 
padding-top: 10px; 
width: 200px;
}
#header-container #lang_sel_list {
float: right; 
margin-top: 5px;
color: #999999; 
text-align: center; 
font: 12px arial; 
}

/* continue reading link - needs to be labelled important to overwrite rules */ 
a.continue-reading-link {
padding: 2px 5px!important;
display: inline-block!important;
background-color: #999999;
}

comic_strip {
clear: both;
}

/* styles for smaller devices */

/* IMPORTANT: Other styles for smaller devices can be found in the Parabola Settings under Wordpress > Appearance. Width settings set below MIGHT NOT WORK */

@media (max-width: 1024px) {
#content img {
width: 100%;
}
#slider {
background-image: none;
width: 100%;
}
#sidebar_co img {
min-width: 200px;
max-width: 300px;
float: left;
margin-right: 10px;
margin-bottom: 10px;
}
#header_search {
clear: right;
width: 30%;
margin-top: 10px;
}
#lang_sel_list {
clear: right;
}
#strapline {
clear: left;
width: 60%;
margin-top: 0px;
}

}

@media (max-width: 320px) {

#content img {
width: 100%;
}
.newswrap {
width: 100%;
}
.brief_news {
width: 90%;
float: none;
margin: auto;
}
#slider {
background-image: none;
}
.content_co {
margin: 4px 0px;
}
.content_co img {
width: 100%;
padding: 0px;
}
.fp_content_co {
padding: 0px;
}

} 
