/*
Theme Name: ARG
Theme URI: http://www.arg.dundee.ac.uk
Author: John Lawrence
Author URI: http://www.johnlawrence.net/
Description: Theme for the ARG:dundee blog
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: none
Text Domain: arg

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*
 === RESET ===
*/

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;}ins{text-decoration:none}mark{font-style:italic;font-weight:bold}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

/*
 === GENERAL ===
*/


.clearleft:before, .clearleft:after, .clearfix:before, .clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear:both;
}

.clearleft:after {
    clear: left;
}

html,body {
    background-color: #fff;
    height: 100%;
}

body {
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-size: 13px;
    color: #333;
    /*min-width: 700px;*/
}

div#page {
    background-color: #fff;
    min-height:100%;
    position:relative;
    max-width:3000px;
    width:100%;
}

div#main {
    padding-bottom: 40px;
}

div.ccol {
    max-width: 960px;
    width:100%;
    margin: 0px auto;
}

a,h1,h2,h3,h4,h5,h6 {
    color: #3b4073;
}

div.thecontent a, div#posts a {
    color: #678ace;
    font-weight: bold;
    text-decoration: underline;
}

div#sidebar a {
    text-decoration: none;
}

div#posts h1 a {
    color: #3b4073;
    text-decoration: none;
}

div#navigation a:hover {
    color: #fff !important;
}

h1 {
    font-size: 1.8em;
}

h2 {
    font-size: 1.6em;
}

h3 {
    font-size: 1.4em;
}

a {
    text-decoration: none;
}

p {
    line-height: 150%;
}

li {
    line-height: 120%;
}

small {
    font-size: 80%;
}

strong {
    font-weight: bold;
}

img.alignleft {
    float: left;
    margin-right: 16px !important;
}

img.alignright {
    float: right;
    margin-left: 16px !important;
}


/*
 === TOPBAR ===
*/

div#topbar {
    width: 100%;
    height: 68px;
    background-color: #678ace;
}

h1.site-title {
    max-width: 400px;
    width:100%;
    float: left;
    padding-top: 15px;
}

span.site-subtitle {
    width: 400px;
    float: left;
    color: #fff;
    display: block;
    clear: left;
}

h1.site-title a {
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    line-height: 28px;
}

a.socialicon {
    background-image: url('/wp-content/themes/arg/images/social.png');
    display: block;
    margin-top: 18px;
    margin-left: 26px;
    width: 32px;
    height: 32px;
    float: right;
}

a#si-twitter {
    background-position: 0 -96px;
}
a#si-twitter:hover {
    background-position: -32px -96px;
}

a#si-facebook {
    background-position: 0 -32px;
}
a#si-facebook:hover {
    background-position: -32px -32px;
}

a#si-linkedin {
    background-position: 0 0;
}
a#si-linkedin:hover {
    background-position: -32px 0;
}

a#si-gplus {
    background-position: 0 -64px;
}
a#si-gplus:hover {
    background-position: -32px -64px;
}

a#si-ig {
    background-position: 0 -128px;
}
a#si-ig:hover {
    background-position: -32px -128px;
}

a#si-yt {
    background-position: 0 -160px;
}
a#si-yt:hover {
    background-position: -32px -160px;
}




/*
 === NAVIGATION ===
*/

div#navigation {
    width: 100%;
    height: 45px;
    background-color: #3b405e;
}

nav li {
    float: left;
}

nav li a {
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    display: block;
    line-height: 45px;
    padding: 0px 20px;
    border-left: 1px solid #4e5470;
}

nav li:last-child a {
    border-right: 1px solid #4e5470;
}

nav li a:hover {
    background-color: #4e5470;
}

nav li.current_page_parent a, nav li.current_page_item a, nav li.current-page-ancestor a, nav li.current-menu-item a {
    line-height: 33px;
    background-color: #4e5470;
    padding-top: 6px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 6px solid #678ace;
}


.bio{
width: 100%;
}

/*
 === FOOTER ===
*/

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #e8e8f0;
    border-top: 1px solid #dadae0;
    text-align: center;
    color: #888;
    margin-top: 0px;
    padding: 18px 0px;
    height: 40px;
}


/*
 === HOMEPAGE ===
*/

div.threecol {
    float: left;
    max-width: 299px;
    width:100%;
    padding: 10px;
}

div#homeposts {
    padding: 20px 0px 18px 0px;
    background-color: #e8e8f0;
    background-image: url('/wp-content/themes/arg/images/argwall_bg.jpg');
    background-position: top right;
    //background-size:cover;
    background-repeat: no-repeat;
    border-bottom: 1px solid #dadae0;
    overflow: auto;
    width: 100%
}

div#homeposts .col1 {
    text-align: center;
}

div#homeposts .col1 img {
    margin: auto;
    padding: 9px;
    border: 1px solid #c0c0d0;
    background-color: #fff;
}

div#homeposts .col2 {
    border-right: 1px solid #c0c0d0;
    height: 230px;
}

div#homeposts .col2 a.readmore, div#features a.readmore {
    margin-top: 12px;
    float: right;
    font-weight: bold;
}

div#features {
    padding: 20px 0px;
    overflow: auto;
    width: 100%;
    background-color: #fff;
    margin-bottom: 40px;
}

div#features img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

div#features a.a_feature {
    display:block;
    height: 70px;
}

div.homepostn {
    border-bottom: 1px solid #c0c0d0;
    height: 76px;
    margin-top: 10px;
}

div.homepostn:first-child {
    margin-top: -6px;
}

div.homepostn:last-child {
    border-bottom: 0px;
}


div.homepostn img {
    float: left;
    border: 1px solid #c0c0d0;
    background-color: #fff;
    padding: 2px;
}

div.homepostn div {
    max-width: 220px;
    width:100%;
    float: right;
    display: table;
}

div.homepostn h2 {
    font-size: 14px;
    height: 66px; 
    display: table-cell;
    vertical-align: middle;
}

h2.home-post-one {
    font-size: 19px;
    margin-bottom: 6px;
}


/*
 === PAGE.PHP ===
*/

div.pagecontent {
    padding: 30px 0px;
}

div.wrapper{
	max-width:3000px;
	width:100%;
	/*padding-left:10px;
	padding-right:10px;*/
}

div.pagecontent h1 {
    margin-bottom: 20px;
}

img.attachment-home-post-one {
    float: left;
    margin: 0px 24px 14px 0px;
}

/*
 === SIDEBAR ===
*/

div#sidebar {
    float: right;
    width: 200px;
    margin: 10px 0px 9px 40px;
}

@media(max-width: 940px){
	div#sidebar{
		display:none;
	}
}

div#sidebar h3 {
    margin-top: 20px;
    margin-bottom: 4px;
}

div#sidebar ul {
    list-style-type: none;
}

div#sidebar li {
    line-height: 1.2em;
    margin-bottom: 4px;
}

div#calendar_wrap {
    margin: 10px 0px 20px 0px;
}

div#calendar_wrap tr td {
    padding: 2px 5px;
}

.widget_search label {
    display: none;
}

.widget_search input#s {
    border: 1px solid #999;
    padding: 4px;
    width: 120px;
}

.widget_search input#searchsubmit {
    border: 1px solid #999;
    padding: 4px;
}

.widget_calendar {float: left;}
#wp-calendar {width: 100%; }
#wp-calendar caption { text-align: right; color: #333; font-size: 12px; margin-top: 10px; margin-bottom: 15px; }
#wp-calendar thead { font-size: 10px; }
#wp-calendar thead th { padding-bottom: 10px; }
#wp-calendar tbody { color: #aaa; }
#wp-calendar tbody td { background: #fff; border: 1px solid #fff; text-align: center; padding:8px;}
#wp-calendar tbody td:hover { background: #f0f0f0; }
#wp-calendar tbody td a { font-weight: bold; }
#wp-calendar tbody .pad { background: none; }
#wp-calendar tfoot #next { font-size: 10px; text-transform: uppercase; text-align: right; }
#wp-calendar tfoot #prev { font-size: 10px; text-transform: uppercase; padding-top: 10px; }


/*
 === POSTS ===
*/

div#posts {
    margin-top: 34px;
    margin-bottom: 50px;
}

div#posts p {
    margin-bottom: 12px;
}

div#posts article.post ul {
    margin-left: 30px;
}

div#posts article.post li {
    margin-bottom: 12px;
}

article.post {
    margin: 50px 0px 12px 0px;
    max-width: 700px;
    width:100%;
}

article.post:first-of-type {
    margin-top: 6px;
}

article.post img.wp-post-image {
    border: 1px solid #c0c0d0;
    padding: 8px;
    margin: 3px 20px 20px 0px;
    float: left;
}

div.post-data {
    font-size: 0.9em;
    color: #888;
    margin: 3px 0px 10px 0px;
}

div.article-footer {
    color: #999;
    text-align: right;
    line-height: 26px;
}

div.article-footer img {
    float: right;
    margin: 2px 4px;
}

nav#nav-below {
    margin: 40px 0px;
    width: 700px;
}

nav div.nav-previous {
    float: left;
}

nav div.nav-next {
    float: right;
}

div.entry-content a {
    text-decoration: underline;
}


/*
 === PAGES ===
*/

div.pagecontent {
    margin-bottom: 60px;
}

div.pagecontent p {
    margin-bottom: 22px;
    text-align: justify;
}

div.pagecontent ul {
    margin-left: 30px;
}

div.pagecontent li {
    margin-top: 12px;
}

div.pagecontent h2 , div.pagecontent h3{
    margin-top: 28px;
    clear: both;
    margin-bottom: 6px;
}

div.pagecontent img {
    border: 1px solid #c0c0d0;
    background-color: #fff;
    padding: 6px;
}

div#primary{
	max-width:3000px;
	width:100%;
}

@media(max-width: 940px){
	div.pagedata{
		width:0px;
		display: none;
	}
}

div.pagecontent div.pagedata {
    float: right;
    width: 200px;
    margin: 0px 0px 9px 10px;
}

div.pagecontent div.pagebody {
    float: left;
    max-width: 730px;
	width:100%;
}


div.recentpost {
    border-bottom: 1px solid #dadae0;
    height: 57px;
    margin-top: 10px;
}

div.recentpost:last-child {
    border-bottom: 0px;
}

div.recentpost img {
    float: left;
    border: 1px solid #c0c0d0;
    background-color: #fff;
    padding: 2px;
}

div.recentpost div {
    width: 145px;
    float: right;
    display: table;
}

div.recentpost h2 {
    font-size: 12px;
    height: 44px;
    display: table-cell;
    vertical-align: middle;
}

body{
 max-width:3000px;
 width:100%;
}

#masthead{
	max-width:30000px;
	width:100%;
}

body.page-template-page-templatesfull-news-php {
    margin: 10px;
    min-width: 0px;
}

body.page-template-page-templatesfull-news-php header#masthead,
body.page-template-page-templatesfull-news-php footer {
    display: none;
}

body.page-template-page-templatesfull-news-php div#posts {
    width: 100%;
    margin: 0px;
}

body.page-template-page-templatesfull-news-php article.post {
    width: 100%;
    margin: 10px 0px 62px 0px;
}

