/*
Theme Name: Custom RI Theme
Author: Sam Irvine
Author URI: http://www.samirvine.co.uk/

*/

/** Global **/

* { margin: 0; padding: 0; }

body { font-family: 'Glegoo', Courier, "Courier New", monospace; font-size: 12px; background: #f8f8f8 url('') repeat; color: #555555; }

#main_container { width: 860px; margin: 0 auto; background-color: #ffffff; border-left: 1px dotted #E5E5E5; border-right: 1px dotted #E5E5E5; border-bottom: 1px dotted #E5E5E5;}
.clear { clear: both; }
h1 { font-size: 25px; color: #000000; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
strong { font-weight: bold; }
em { font-style: italic; }
.small {font-size: 10px;}
h1,h2,h3,p { margin: 0 0 10px; }
p { line-height: 15px; }
.left { float: left; }
.right { float: right; }
a, a:visited, a img, img { border: none; outline: none; }
input, textarea {
    border: 1px solid #AAAAAA;
    font-family: 'Glegoo',Courier,"Courier New",monospace;
    font-size: 13px;
    margin: 3px 0 0;
    padding: 1px 2px;
}

a, a:active, a:visited {
color: #000;
text-decoration: none;
font-weight: normal;
-webkit-transition-duration: .3s;
-moz-transition-duration: .3s;
}

a:hover {
color: #666666;
-webkit-transition-duration: .3s;
-moz-transition-duration: .3s;
}

.right_content a {
text-decoration: underline;
}

@font-face {
  font-family: 'Glegoo';
  font-style: normal;
  font-weight: 400;
  src: local('Glegoo'), local('Glegoo-Regular'), url('http://themes.googleusercontent.com/static/fonts/glegoo/v1/HlaektNAGXsvMSzJmADIXOvvDin1pK8aKteLpeZ5c0A.woff') format('woff');
}


/** Header **/

#header { width: 819px; background-color: #fff; padding: 13px 13px 0;}

#menu_container { width: 845px; border-top: 6px solid #FCDC00; background-color: #000; }
#menu_container ul { list-style-type: none; }
#menu_container ul li { float: left; background-color: #000; padding: 15px 30px; border-right: 1px solid #838383; }
#menu_container ul li:hover { background-color: #666; }
#menu_container ul li a { color: #fff; text-decoration: none; }

#menu_container ul li.search { padding: 10px 30px; border-right: none; }
#menu_container ul li.search:hover { background-color: #000; }
.search_box { background-color: #FFFFFF; border: 1px solid #FFC52F; color: #999999; padding: 2px 0 2px 4px; width: 149px; font-family: 'Glegoo', Courier, "Courier New", monospace; }
.logo { margin: 30px 0; }


/** Content **/

#content_container { width: 845px; margin-top: 10px; padding-bottom: 15px; }

.right_content { width: 650px; float: right; }
.single_content { width: 650px; padding: 0; background-color: #fff; }
.left_content { width: 185px; float: left; color: #000; }
.left_content .box { width: 155px; padding: 0 15px; margin-bottom: 15px; background-color: #fff; font-size: 11px; }
.left_content .box h3 { font-size: 13px; margin: 0 0 10px;}
.left_content .box ul { list-style-type: none; margin: -5px 0 15px;}
.left_content .box ul li { padding: 0; }
.portfolio li { }
.portfolio li a { padding: 3px 0 3px 4px; color: #000; text-decoration: none; display: block; border-bottom: 1px dotted #000000; }
.portfolio li a:hover { color: #fff; background-color: #000; }
.blog_post { width: 640px; padding-right: 10px; text-align: justify; margin-bottom: 40px; background-color: #fff; float: left; }

.blog_post h3 { font-size: 19px; margin: 0 0 2px; }
.blog_post h3 a { text-decoration: none; }
h4.blogdate { display: none; }
body.page-template-tpl-news-php h4.blogdate, body.news h4.blogdate { display: block; margin: 0 0 15px; }
body.news .single_content h1 { margin: 0 0 2px; }

.featured_big { height: 365px; width: 650px; background-color: #fff; margin-bottom: 10px; }
.featured_big h3 { font-size: 12px; font-weight: bold;}
.featured_big p { color: #999; font-size: 11px;}
.featured_big img { width: 650px; height: 311px; }

.featured_medium { height: 240px; width: 320px; margin-bottom: 10px; background-color: #fff; }
.featured_medium img { width: 320px; height: 184px; }
.featured_medium h3 { font-size: 16px; font-weight: normal; margin: 5px 0 0;}
.featured_medium h3 a { text-decoration: none;}
.featured_medium p { color: #999; font-size: 11px; margin: 2px 0 0;}
.blog_image { float: left; margin-right: 10px; }

/** Slideshow **/

.slideshow-wrapper {
    padding-top: 3px;
}

.slideshow-wrapper .pager img {
    width: 50px !important;
}

.slideshow-content img {
    height: auto;
    max-width: 650px !important;
}

/** Footer **/

#footer { width: 840px; padding: 30px 10px 20px; text-align: center; float: left; color: #999; font-size: 11px; }

#footer a { color: #666666;}

/** About **/

.aboutpic { border: 0 none; float: left; margin-right: 15px; }
.aboutdesc {
    height: 110px;
    line-height: 1.3;
    text-align: justify;
}
.clientsleft { float: left; width: 310px; }
.clientsright { float: right; width: 310px; }

#linkspage a {
text-decoration: none;
}

#linkspage a:hover {
padding: 0 0 0 4px;
}

#recentwork {
display: none;
}

#recentwork, #sectiontitle {
color: #CCCCCC;
margin-top: -35px;
text-align: right;
}

#back {
margin-top: -25px;
position: absolute;
}

#back a {
text-decoration: none;
color: #CCCCCC;
}

#back a:hover {
color: #777777;
}

.pagenav a {
font-size: 15px;
}

.fb-comments {
display: none;
}

body.news .fb-comments {
display: block;
}

body.page-template-tpl-news-php p {
margin: 0 0 5px;
}

p.moretag {
float: left;
margin: 0 15px 0 0 !important;
}

.single_content img {
    height: auto;
    max-width: 650px !important;
}