/*
 Theme Name:     AutoIt Divi Child Theme
 Theme URI:      http://www.elegantthemes.com/gallery/divi/
 Description:    AutoIt Divi Child Theme
 Author:         Jonathan Bennett
 Author URI:     http://www.autoitscript.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* @import url("../Divi/style.css"); */
 
/* =Theme customization starts here
------------------------------------------------------- */
/* Logo always fullsize */
#logo {
    max-height: 100% !important;
}

/* Match forum */
body {
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
  }

strong {
  font-weight: 600;
}

/* author byline / published date */
p.post-meta {
  font-size: smaller;
  font-style: italic;
}

h1, h2, h3, h4 {
  font-weight: 600;
  padding-bottom: 0.3em;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  border-bottom: 1px solid #eaecef;
  line-height: 1.25;
}

hr.advert-top-nomargin {
  margin: 0 0 12px 0;
  border: 0;
  height: 0;
  border-top: 1px solid #eaecef;
}

hr.advert-bottom-nomargin {
  margin: 12px 0 0 0;
  border: 0;
  height: 0;
  border-top: 1px solid #eaecef;
}

hr.advert-top-margin {
  margin: 36px 0 12px 0;
  border: 0;
  height: 0;
  border-top: 1px solid #eaecef;
}

hr.advert-bottom-margin {
  margin: 12px 0 36px 0;
  border: 0;
  height: 0;
  border-top: 1px solid #eaecef;
}

/*** MAKE SITE WIDER ON SMALLER SCREENS ***/
/*@media only screen and (max-width: 980px) {
	#top-header > .container,
	#main-header > .container,
	#et_search_outer > .container,
	#main-content > .container,
	div.et_pb_row,
	div.et_pb_row.et_pb_row_fullwidth {
	width: 90% !important; 
   }
}
*/
#top-header > .container,
	#main-header > .container,
	#et_search_outer > .container,
	#main-content > .container,
	div.et_pb_row,
	div.et_pb_row.et_pb_row_fullwidth {
	width: 90% !important; 
   }

/* Hide YARPP on homepage */
.page-id-1366 .yarpp-related {
    display: none;
}
.page-id-994 .yarpp-related {
    display: none;
}

#sidebar {font-size: smaller;}

/* Hide sidebar on mobile */
@media only screen and (max-width: 980px) {
#sidebar {
    display: none;
}
}

/* List of blog posts */
/* .et_pb_post > a img {
width: 480px !important;
}*/
.et_pb_post > a img {
  max-width: 30%;
  vertical-align: bottom;
  text-align: center;
  float: left;
  margin-right: 4%;
}

/* Author meta data - need to use fn field for google strcuture data but font size needs reseting */
span.fn,
span.fn a{
  font-size: 100%;
}

/* stop featured image stretching */
body.single article.has-post-thumbnail > img:nth-of-type(1) { width:auto; height:auto; text-align: center; display: block; margin: 0 auto;}
body.single article.has-post-thumbnail .et_post_meta_wrapper > img:nth-of-type(1) { width:auto; height:auto; text-align: center; display: block; margin: 0 auto;}

body.page article.has-post-thumbnail > img:nth-of-type(1) { width:auto; height:auto; text-align: center; display: block; margin: 0 auto;}

/* paragraphs inside blockquote */
blockquote p {
  margin: 20px 0;
  font-style: italic;
}

/* bullet indent */
.entry-content li {
margin-left: 25px;
}

/* Bigger margins on imgs */
.entry-content img {
  padding-bottom: 0.5em;
}

/* img caption */
.wp-caption {
  margin-bottom: 1.7em;
  background-color: #fdfdfd;
  font-size: smaller;
  padding: 8px;
  font-style: italic;
} 

/* Table */
.entry-content table {
  border: none;
  border-spacing: 0;
  border-collapse: collapse;
  background-color: #fdfdfd;
  width: 100%;
  font-size: smaller;
  margin: 0 0 1.7em;
}

.entry-content caption {
  text-align: left;
  font-weight: bold;
}

.entry-content tr td {
  word-wrap: break-word;
  border: 1px #dadada solid !important;
  padding: .7em !important;
}

.entry-content tr th {
  border: 1px #dadada solid !important;
  padding: .7em !important;
}

.entry-content th, .entry-content thead
{
  text-align: center;
  font-weight: bold;
  background-color: #f0f0f0;
}

/* Fix yarrp thumbnails not showing full post title */
.yarpp-thumbnails-horizontal .yarpp-thumbnail-title {max-height: none !important;} 
.yarpp-thumbnail {height: auto !important;}

/* yarp related more space above */
.yarpp-related {margin: 4em 0 4em 0 !important;}

/* Don't show yarrp breadcrumb on home page */
body.home #breadcrumbs {
  display: none;
}

/* Monarch inline spacing */
.et_monarch .et_social_inline_top {
  margin-top: 20px;
  margin-bottom: 2px;
}

/* Contact Form 7 */
.wpcf7 {
background-color: #fdfdfd;
border: 1px #dadada solid;
}

.wpcf7-form {
margin-left: 25px;
margin-right: 25px;
margin-top: 25px;
margin-bottom: 25px;
}    

.wpcf7-textarea { 
width: 100%;
}
  
.wpcf7-submit {
  background: #0085ba;
  border-color: #0073aa #006799 #006799;
  box-shadow: 0 1px 0 #006799;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
  margin-top: 1em;
}

/*Submit button Hover*/
.wpcf7-submit:hover {
  background: #008ec2;
  border-color: #006799;
  color: #fff
}
    

.autoit-center
{
text-align: center;
}

.autoit-footer-ad
{
margin: 20px 15px 40px 15px;
}

/* pre code changes for wrapping */
pre, code { 
  overflow:auto; 
  font-family: 'Office Code Pro', Consolas, Menlo, Monaco, 'Courier New', monospace; 
  font-size: 12px; 
  line-height: 1.3;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
}

/* Better syntax highlighter */
.bwp-syntax-block {
    /*border: 1px solid #cccccc;*/
    background-color: #f8f8f8; 
    color: #000000;
    margin-top: 0.5em;
    margin-bottom: 2.2em;
}

/* .bwp-syntax-wrapper {
  line-height: 1.3;
}*/

.bwp-syntax-wrapper .de1
{
  line-height: 1.3;
  padding: 4px;
}

.autoit  
{
padding: 4px;
background-color: #f8f8f8; color: #000000;
}

.autoit .de1, .autoit .de2 {font-weight:normal; background:transparent; color: #000000; }
.autoit .re0 {color: #5A5A5A;}
.autoit .re1 {color: #5A5A5A;}
.autoit .kw1 {color: #0000FF;}
.autoit .kw2 {color: #808000;}
.autoit .kw3 {color: #000090;}
.autoit .kw4 {color: #0080FF;}
.autoit .kw5 {color: #808000;}
.autoit .kw6 {color: #DC143C;}
.autoit .kw7 {color: #5A5A5A;}
.autoit .kw8 {color: #808000;}
.autoit .kw9 {color: #DC143C;}
.autoit .kw10 {color: #DC143C;}
.autoit .co0 {color: #FF0000; font-style: italic}
.autoit .co1 {color: #008000; font-style: italic;}
.autoit .co2 {color: #008000; font-style: italic;}
.autoit .coMULTI {color: #008000; font-style: italic;}
.autoit .coREGEXP {color: #008000; font-style: italic;}
.autoit .br0 {color: #FF8000;}
.autoit .st0 {color: #FF0000;}
.autoit .nu0 {color: #0000FF;}
.autoit .me1 {color: #FF0000;}
.autoit .sy0 {color: #FF8000;}
.autoit .li1 { }
.autoit ol {line-height:67%;}
.autoit a:link, .autoit a:visited, .autoit a:active {text-decoration: none;}

