/*Theme Name: Aaron Building
Theme URI: Your theme's URL
Description: A brief description of your theme
Version: 1.0 or any other version you want
Author: Your name or WordPress.org's username
Author URI: Your web address
Tags: Tags to locate your theme in the WordPress theme repository
*/

body {
    background-color: #FEFEFE;
    color: #544E4E;
}

th, td {
   border-bottom: none;
}

h1 {
     font-size: 2.0rem; 
     font-weight: 700;
}

h2 {
     font-size: 1.3rem; 
     font-weight: 700;
}

h3 {
     font-size: 1.5rem; 
     font-weight: 700;
}

h3.qa-faq-title a,
h3.qa-faq-title a:link,
h3.qa-faq-title a:visited,
h3.qa-faq-title a:hover, 
h3.qa-faq-title a:active {
    color: #4E51A0;
}

a {
    text-decoration: none;
}

#header {
    margin-top: 10px;
}
#header .logo {
    max-width: 100%;
}

#header .row {
     margin-bottom: 0;
}

#callus {
    color: #3E3E94;
}
#callus span {
    color: #EE1C25;
    font-size: 1.9rem;
    white-space: nowrap;
}
#callus img {
    padding-top: 10px;
}
/* Needed to extact the width of the text when it wraps so the jquery can adjust the table cell width appropriately */
#callus div {
    display: inline;
}
#callus table {
    float: right;
}

#callus table,
#callus tr,
#callus td {
    margin: 0;
    padding: 0;
    font-size: 1.7rem;
    font-weight: 700;
    text-align: right;
}

/* Virtical center Call Us */
#header .row:first-child {
    position: relative;
}
#header #callus {
    position: absolute;
    top: 50%;
    right: 0;

    /* 
     * We use jquery to dynamically set margin-top to negative half of the height.  
     * We use jquery because the height is dynamic.
     */
}

/* Menu Styles */
#mobilemenucontrol {
    display: none;
}

#menurow {
    position: relative;  /* Enables the menu to overflow it's container for better responsiveness */
    height: 50px;
}
#menu .menu-main-menu-container {
    position: absolute; /* Enables the menu to overflow it's container for better responsiveness */
    top: 0;
    left: -5px;
}

#menu ul {
    list-style-type: none;
    font-size: 15px;
    margin-bottom: 0;
}

#menu ul li {
    box-sizing: border-box;
    float: left;
    margin: 0;
    font-weight: 700;
    position: relative; /* This makes sure the drop downs appear in front of the picture */
    z-index: 100; /* This makes sure the drop downs appear in front of anything floated */	
    color: #6C71AB;
    text-align: left;
    margin: 1rem 0;
    padding-right: 26px;
}

#menu ul li a {
    display: block;
    width: 100%;
    text-transform: uppercase;
    padding-left: 5px;
}

#menu ul li a, 
#menu ul li a:link, 
#menu ul li a:visited, 
#menu ul li a:hover, 
#menu ul li a:active {
    color: #6C71AB;
}

/* 1st sub level menu */
#menu ul li ul {
    visibility: hidden;
    width: 100%;
    font-size: 15px;
    background-color: #FEFEFE;
    margin: 0;
    position: absolute;
}

#menu ul li ul li {
    width: 100%;
    float: none;
    padding-right: 0;
}

#socialmedia div {
    float: right;
    margin-top: -8px;
    margin-right: -4px;
    zzzzzzzzzzzzzzzmin-width: 200px;
}

/* Turn on mobile phone windows 8 style menu squares */
@ZZmedia (max-width: 550px) {
    #menu ul li {
        border: 2px solid #FEFEFE;
        text-align: center;
        color: #FFF;
        width: 50%;

        /* Needed to dynamically set the hight of the mobile menu box to be the same as the width */
        position: relative;
        padding-bottom: 50%;
        height: 0;
    }

    /* Color every third box */
    #menu ul li:nth-child(3n-2) {
        background-color: rgba(242,27,34,1);
    }
    #menu ul li:nth-child(3n-1) {
        background-color: rgba(168,169,173,1);
    }
    #menu ul li:nth-child(3n) {
        background-color: rgba(66,68,155,1);
    }

    #menu ul li a {
        /* Needed to dynamically set the hight of the mobile menu box to be the same as the width */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;

        /* Needed to virtically center the menu text in the mobile menu box */
        display: table;
    }

    /* Needed to virtically center the menu text in the mobile menu box */
    #menu ul li a span {
        display: block;
        height: 100%;
        display: table-cell;
        vertical-align: middle;
    }
}

/* Greater than Mobile size */
@ZZmedia (min-width: 550px) {
    #menu ul li {
        color: #6C71AB;
        text-align: left;
        margin: 1rem 0;
        padding-right: 26px;
    }

    #menu ul li a, 
    #menu ul li a:link, 
    #menu ul li a:visited, 
    #menu ul li a:hover, 
    #menu ul li a:active {
        color: #6C71AB;
    }
}


/* As the page gets narrower the menu needs to contract accordingly */
@media (max-width: 970px) {
    #menu ul li {
        padding-right: 22px;
    }
}
@media (max-width: 940px) {
    #menu ul li {
        padding-right: 18px;
    }
}
@media (max-width: 920px) {
    #menu ul li {
        padding-right: 14px;
    }
}
@media (max-width: 900px) {
    #menu ul li {
        padding-right: 10px;
    }
}
@media (max-width: 880px) {
    #menu ul li {
        padding-right: 6px;
    }
}
@media (max-width: 860px) {
    #socialmedia { display: none; } /* Make more space for the menu */
    #menu { width: 100% }
    #menu ul li {
        padding-right: 26px;
    }
}
@media (max-width: 770px) {
    #menu ul li {
        padding-right: 22px;
    }
}
@media (max-width: 740px) {
    #menu ul li {
        padding-right: 18px;
    }
}
@media (max-width: 720px) {
    #menu ul li {
        padding-right: 14px;
    }
}
@media (max-width: 700px) {
    #menu ul li {
        padding-right: 10px;
    }
}
@media (max-width: 680px) {
    #menu ul li {
        padding-right: 6px;
    }
}
@media (max-width: 660px) {
    #menu ul li {
        padding-right: 4px;
    }
}
@media (max-width: 640px) {
    #menu ul li {
        padding-right: 2px;
    }
}

/* Must be positioned here to override the above */
#menu ul li:last-child {
    padding-right: 0;
}


/* Mobile Menu */
@media (max-width: 550px) { 
/* @media (max-width: 1500px) { */
    #mobilemenucontrol {
        display: block;
        z-index: 200; /* Make sure the control appears above the menu */	
    }

    #menu {
        overflow: hidden;
        margin-bottom: 1rem;
        border-bottom: 1px solid #EE1C25;
    }

    #menurow {
        height: auto;
    }
    #menu .menu-main-menu-container {
        position: static;
    }
    #menu .menu-main-menu-container .current_page_item > a:first-child {
        aabackground-color: rgba(238,28,37,0.6);
        background-color: #EE1C25;
        color: #FFF;
    
    }

    #menu ul li {
        float: none;
        border-top: 1px solid #EE1C25;
        padding-right: 0;
        margin: 0;
    }
    #menu ul li a {
        padding: 1rem 0;
        padding-left: 10px;
    }

    /* 1st sub level menu */
    #menu ul li ul {
        visibility: visible;
        position: static;
        margin-left: 2rem;
        width: auto;
        display: block !important;
    }

}

#herocontainer {
    margin-bottom: 10px;
}

.metaslider .caption-wrap {
    background: none !important;
    opacity: 1 !important;
}

.metaslider .caption, 
.metaslider .cs-title, 
.metaslider .nivo-caption {
    color: #FFF;
    width: 95%;
    max-width: 960px;
    margin: 0 auto;
    /*margin-bottom: 60px;*/
    margin-bottom: 5%;
    padding: 0 !important;
}

.metaslider .caption h1,
.metaslider .caption h2,
.metaslider .cs-title h1,
.metaslider .cs-title h2,
.metaslider .nivo-caption h1,
.metaslider .nivo-caption h2 {
    width: 60%;
    margin: 0;
    padding: 0 20px;
    height: 80px;
    letter-spacing: 1px;
    font-weight: 500;  /* MAY NOT USE 500 */

    /* This bit of code below is used to vertical align the text */
    display: table;
}

.metaslider .caption span,
.metaslider .cs-title span,
.metaslider .nivo-caption span {
    /* This bit of code below is used to vertical align the text */
    display: table-cell; 
    vertical-align: middle; 
}

.metaslider .caption h1,
.metaslider .cs-title h1,
.metaslider .nivo-caption h1 {
    background-color: rgba(238,28,37,0.6);
    font-size: 30px;
}
.metaslider .caption h2,
.metaslider .cs-title h2,
.metaslider .nivo-caption h2 {
    background-color: rgba(168,169,173,0.6);
    font-size: 24px;
}

/* Fix issue with slider making page wider than it should and hance causing the scroll bar to appear */
.flex-direction-nav .flex-next {
     right: 5px !important;
}
.flex-direction-nav .flex-prev {
   left: 5px !important;
}


/* As the page gets narrower the slider caption text size needs to get smaller accordingly 
   to remain in the same propertion to the slider size */
@media (max-width: 850px) {
    .metaslider .caption h1, .metaslider .cs-title h1, .metaslider .nivo-caption h1 {
        height: 60px;
        font-size: 25px;
    }
    .metaslider .caption h2, .metaslider .cs-title h2, .metaslider .nivo-caption h2 {
        height: 60px;
        font-size: 20px;
    }
}
@media (max-width: 800px) {
    .metaslider .caption h1, .metaslider .cs-title h1, .metaslider .nivo-caption h1 {
        height: 50px;
        font-size: 20px;
    }
    .metaslider .caption h2, .metaslider .cs-title h2, .metaslider .nivo-caption h2 {
        height: 50px;
        font-size: 16px;
    }
}
@media (max-width: 700px) {
    .metaslider .caption h1, .metaslider .cs-title h1, .metaslider .nivo-caption h1 {
        height: 36px;
        font-size: 14px;
    }
    .metaslider .caption h2, .metaslider .cs-title h2, .metaslider .nivo-caption h2 {
        height: 36px;
        font-size: 12px;
    }
}
@media (max-width: 650px) {
    .metaslider .caption h1, .metaslider .cs-title h1, .metaslider .nivo-caption h1 {
        height: 34px;
        font-size: 12px;
    }
    .metaslider .caption h2, .metaslider .cs-title h2, .metaslider .nivo-caption h2 {
        height: 34px;
        font-size: 10px;
    }
}
@media (max-width: 550px) {
    .metaslider .caption h1, .metaslider .cs-title h1, .metaslider .nivo-caption h1 {
        height: 36px;
        font-size: 10px;
    }
    .metaslider .caption h2, .metaslider .cs-title h2, .metaslider .nivo-caption h2 {
        height: 36px;
        font-size: 8px;
    }
}


#herocontainerpage {
    margin-bottom: 20px;
}

@media (min-width: 550px) {
    #herocaption h1 {
        font-size: 25px;
    }
    #herocaption h2 {
        font-size: 21px;
    }
}
@media (min-width: 650px) {
    #herocaption h1 {
        font-size: 30px;
    }
    #herocaption h2 {
        font-size: 24px;
    }
}

#mainsection, #testimonialpage {
    background-image: url("images/backgroundlilac.png");
    background-repeat: repeat-x;
    background-position: left bottom;
	min-height: 700px;
}
#mainsection > div:first-child {
    zzpadding: 5px;
    padding: 0.5%;
    background-color: #FEFEFE;
    box-sizing: border-box;
}
#mainsection .row + .row {
    margin-bottom: 0;
}

#mainsection h1 {
    text-transform: uppercase;
}

/* Contact Us */
#mainsection #contactus {
    margin-bottom: 0;
}

#contactus form {
    padding: 0 10px;
    color: #4E51A0;
    margin-bottom: 0;
}

#contactus .row {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    #contactus label,
    #contactus input[type="text"],
    #contactus input[type="email"],
    #contactus textarea {
        margin-left: 0;
        width: 100%;
    }

    #contactus input[type="submit"] {
        margin-left: 0;
    }
}

#services {
    text-align: center;
}

#services div {
    padding: 10px;
    padding-bottom: 58px;
    position: relative;
}

#services h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 1rem 0;
    color: #40449F;
}

#services p {
    margin-bottom: 0;
    margin: 1rem 0;
}

#services div .button {
    margin-bottom: 0;
    position: absolute;
    width: 140px;
    bottom: 10px;
    left: 50%;
    margin-left: -70px;
}

#blogteaser p {
    margin-bottom: 0.5rem;
}
#blogteaser h3 {
    background-color: #5051A3;
    border: 1px solid #8B817F;
    color: #FFF;
    text-align: center;
    line-height: 2.6;
    letter-spacing: 0.4rem;
}
#blogteaser .date {
    color: #8F8B8C;
}
#blogteaser .caption {
    color: #3E3F99;
    font-weight: 700;
}
#blogteaser div + div {
    border-top: 1px solid #000;
    margin-top: 1rem;
    padding-top: 1rem;
}
#blogteaser a, 
#blogteaser a:link, 
#blogteaser a:visited, 
#blogteaser a:hover, 
#blogteaser a:active {
    color: #3E3F99;
}

.post h2 {
    font-size: 2.0rem; 
    line-height: 1.2;
    letter-spacing: -.1rem;
    color: #544E4E;
    margin-bottom: 0;
}
.post a,
.post a:link,
.post a:visited,
.post a:hover, 
.post a:active {
     color: #544E4E;
}
.post .entry a,
.post .entry a:link,
.post .entry a:visited,
.post .entry a:hover, 
.post .entry a:active {
     color: #1EAEDB;
}
.post small {
    display: block;
}
.post small.category {
    margin-bottom: 2rem;
}
.post .navigation {
    margin-top: 3rem;
}
.post .navigation p:nth-child(2) {
    text-align: right;
}
.post .navigation p {
    margin-bottom: 0.5rem;
}

.top.navigation {
    padding-left: 10px;
    margin-bottom: 2rem;
}
.blog.top.navigation {
    padding: 0;
    margin: 0;
}

#testimonial {
    padding: 2rem 3rem;
    list-style-type: none;  /* Override the katb testimonial plugin style */
}
#testimonial p {
    text-align: center;
}

#testimonialpage .container .row .testimonial {
    border: 1px solid #9A9290;
    background-color: #F9F9F5;
}
#testimonialpage .container .row .testimonial h1 {
    padding: 10px 0 0 15px;
}
#testimonialpage .katb_test_box_basic {
    margin: 25px 0 !important;
}
#testimonialpage .katb_test_text_basic {
    border-top: 1px dashed #A7A1A1;
    padding-top: 35px !important;
    margin-top: -35px !important;
}
#testimonialpage .katb_test_wrap_basic .katb_test_box_basic:first-child .katb_test_text_basic {
    border-top: none;
}
#testimonialpage .katb_test_wrap_basic .katb_test_box_basic:first-child {
    margin-top: -20px !important;
}

#testimonial .katb_widget_text_basic {
    background-image: url("images/bigquoteleft.png");
    background-repeat: no-repeat;
    text-indent: 36px;
}
#testimonial .katb_widget_text_basic p {
    background-image: url("images/bigquoteright.png");
    background-repeat: no-repeat;
    background-position: right bottom;
}

#testimonial .katb_excerpt_more {
    margin-top: 1rem;
}

/* Override the katb testimonial plugin style */
#testimonial p {
    line-height: 1.6 !important; 
}
#testimonial .katb_widget_rotator_box_basic {
    width: 100%;
    padding: 0;
}

/* Make pagination buttons look like links */
form.katb_paginate input.ka_display_paginate_summary,   
form.katb_paginate input.ka_display_paginate_selected, 
form.katb_paginate input.ka_display_paginate, 
form.katb_paginate input[type="button"].ka_display_paginate_summary, 
form.katb_paginate input[type="button"].ka_display_paginate_summary:focus, 
form.katb_paginate input[type="button"].ka_display_paginate_summary:active,
form.katb_paginate input[type="submit"].ka_display_paginate, 
form.katb_paginate input[type="submit"].ka_display_paginate:focus, 
form.katb_paginate input[type="submit"].ka_display_paginate:active,
form.katb_paginate input[type="submit"].ka_display_paginate_selected, 
form.katb_paginate input[type="submit"].ka_display_paginate_selected:focus, 
form.katb_paginate input[type="submit"].ka_display_paginate_selected:active {
    /* Remove all decorations to look like normal text */
    background: none;
    border: none !important;
	opacity: 1 !important;
    display: inline;
    font: inherit;
    margin: 0;
    outline: none;
    outline-offset: 0;
    cursor: pointer;
	color: #4E51A0;
}
form.katb_paginate input.ka_display_paginate_summary,   
form.katb_paginate input[type="button"].ka_display_paginate_summary, 
form.katb_paginate input[type="button"].ka_display_paginate_summary:focus, 
form.katb_paginate input[type="button"].ka_display_paginate_summary:active {
    cursor: default;
	text-transform: none;
}
form.katb_paginate input[type="submit"].ka_display_paginate_selected, 
form.katb_paginate input[type="submit"].ka_display_paginate_selected:focus, 
form.katb_paginate input[type="submit"].ka_display_paginate_selected:active {
 	color: #000;
	font-weight: 700;
}
/* Remove extra space inside buttons in Firefox */
form.katb_paginate input[type="button"].ka_display_paginate_summary::-moz-focus-inner,
form.katb_paginate input[type="button"].ka_display_paginate_summary::-moz-focus-inner,
form.katb_paginate input[type="submit"].ka_display_paginate::-moz-focus-inner,
form.katb_paginate input[type="submit"].ka_display_paginate::-moz-focus-inner,
form.katb_paginate input[type="submit"].ka_display_paginate_selected::-moz-focus-inner,
form.katb_paginate input[type="submit"].ka_display_paginate_selected::-moz-focus-inner {
    border: none;
    padding: 0;
}

/* Portfolio styling */
#portfolio > p:first-child {
    color: #5a5050;
    font-weight: 700;
    margin-left: 10px;
}

#portfolio-gallery {
    margin-top: 0;
}

.otw-portfolio-filter .selected,
.sidebarbox .selected {
    font-weight: 700;
}



#certifications {
    text-align: center;
}
#subfooter #certifications img {
    height: 120px;
    width: auto;
}
#subfooter #certifications h2 {
    font-size: 1.6rem;
}

#footer #certifications img {
    height: 80px;
    width: auto;
}

#subfooter {
    background-image: url("images/backgroundlilac.png");
    background-repeat: repeat;
    background-position: left bottom;
    padding-top: 2rem;
}

/* Footer Styles */
#footer {
   padding-top: 2rem;
}

#footer.page {
    background-image: url("images/backgroundlilac.png");
    background-repeat: repeat;
    background-position: left bottom;
}

#footer h2 {
    text-transform: uppercase;
}

#footer ul {
    list-style-type: none;
}

#footer ul li {
    float: left;
    margin-right: 2.5rem;
    color: #3E3F99;
    background-repeat: no-repeat;
    line-height: 32px;
    padding-left: 42px;
}
#footer ul li.address {
    background-image: url("images/piniconS.png");
}
#footer ul li.phone {
    background-image: url("images/phoneiconS.png");
}
#footer ul li.twitter {
    display: none;
    background-image: url("images/twittericonS.png");
}
#footer ul li.linkedin {
    display: none;
    background-image: url("images/linkediniconS.png");
}
#footer ul li.facebook {
    display: none;
    background-image: url("images/facebookiconS.png");
}
#footer ul li.other {
    padding-left: 0;
}
#footer a, 
#footer a:link, 
#footer a:visited, 
#footer a:hover, 
#footer a:active {
    color: #3E3F99;
}

#footer .copyright {
    clear: left;
    font-size: 1rem;
    color: #3E3F99;
}
@media (max-width: 860px) {
    #footer ul li.twitter,
    #footer ul li.linkedin,
    #footer ul li.facebook {
        display: inline;
    }
}

/* General Styles */
.border {
    border: 1px solid #9A9290;
}

.sidebarbox > p:first-child {
    color: #FFF;
    background-color: #EE1C25;
    text-align: center;
    font-weight: 700;
    padding: 0.4rem;
}

.sidebarbox  {
 	border: 1px solid #9A9290;
	margin-bottom: 50px;
}

.sidebarbox.blogmenu > p:first-child {
    margin-bottom: 0;
}

.sidebarbox.blogmenu  ul {
    list-style-type: none;	
    padding: 1rem;
    margin: 0;
}

.sidebarbox.blogmenu a,
.sidebarbox.blogmenu a:link, 
.sidebarbox.blogmenu a:visited, 
.sidebarbox.blogmenu a:hover, 
.sidebarbox.blogmenu a:active { 
	color: #4E51A0;
}

.button.button-primary, 
button.button-primary, 
input[type="submit"].button-primary, 
input[type="reset"].button-primary, 
input[type="button"].button-primary {
    color: #FFF;
    border-color: #8D827C;
    background-color: #594F50;
}
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #FFF; 
  border-color: #8B817F;
  background-color: #5051A3;
}

.feather_share {
    margin-bottom: 0;
}

/* Fix a few issues with the Portfolio Gallery */
.otw-sc-portfolio .otw-portfolio-item-link > div.title {
    width: 100%;
}
.otw-sc-portfolio article {
    max-width: 300px;
    margin: auto;  /* Center (particually for mobile site) */
}
/* Change from three columns to 2 colums at a certain width */
@media only screen and (min-width: 550px) and (max-width: 767px) {
    .block-grid.mobile > li {
        float: left !important;
        width: 50% !important;
    }
}

/* SiteMap styles */
.wsp-pages-list, .wsp-posts-list {
    list-style-type: disc;
}
.wsp-pages-list li, .wsp-posts-list li {
    margin-bottom: 0;
}
.wsp-pages-title, .wsp-posts-title {
    font-size: 1.6rem;
}



/* Mobile Phone */
.mobile-show { display: none; }
@media (max-width: 550px) {

    .mobile-hide { display: none; }
    .mobile-show { display: block; }

    #footer ul li {
        width: 100%;
    }
    #footer ul li.other {
        padding-left: 42px;
    }

    .sidebarbox {
        display: none;
    }
}

/* Customer Skeleton Styles */
.row .custom.lane:first-child,        
.row .custom.lanes:first-child { 
    margin-left: 0; 
}
.row .swap.lanes:first-child {
    margin-right: 0;
}
.container .swap.lanes {
    float: right;
}

/* For devices larger than 550px */
@media (min-width: 550px) {
  
  .container .custom.lane,
  .container .custom.lanes {
    margin-left: 1%; }

  .container .custom.three.lanes            { width: 30%;          }
  .container .custom.nine.lanes             { width: 69%;          }
  
  .container .custom.one-third.lane         { width: 32.6666666667%; }
  .container .custom.two-thirds.lane        { width: 66.3333333333%; }

  .container .swap.lanes {
      margin-right: 4%;
      margin-left: 0;
  }
}
