/*Theme Name:RAHCFO
Author:RAH-CFO
Theme URI:http://www.rah-cfo.com
Description:RAHCFO
Version:1.0*/

/* Animations */
@-webkit-keyframes rah-zoomin {
  0% {
    opacity:0;
    -webkit-transform:scale3d(.3, .3, .3);
            transform:scale3d(.3, .3, .3);
  }

  50% {
    opacity:1;
  }
  100% {
	  opacity: 1;
  }
}
@keyframes rah-zoomin {
  0% {
    opacity:0;
    -webkit-transform:scale3d(.3, .3, .3);
            transform:scale3d(.3, .3, .3);
  }

  50% {
    opacity:1;
  }
  100% {
	  opacity: 1;
  }  
}
.rah-zoomin {
  -webkit-animation-name:rah-zoomin;
          animation-name:rah-zoomin;
    -webkit-animation-duration:0.6s;
          animation-duration:0.6s;
  -webkit-animation-fill-mode:both;
          animation-fill-mode:both;
}
@-webkit-keyframes rah-zoomout {
  0% {
    opacity:1;
  }

  50% {
    opacity:0;
    -webkit-transform:scale3d(.3, .3, .3);
            transform:scale3d(.3, .3, .3);
  }

  100% {
    opacity:0;
  }
}
@keyframes rah-zoomout {
  0% {
    opacity:1;
  }

  50% {
    opacity:0;
    -webkit-transform:scale3d(.3, .3, .3);
            transform:scale3d(.3, .3, .3);
  }

  100% {
    opacity:0;
  }
}
.rah-zoomout {
  -webkit-animation-name:rah-zoomout;
          animation-name:rah-zoomout;
    -webkit-animation-duration:0.6s;
          animation-duration:0.6s;
  -webkit-animation-fill-mode:both;
       animation-fill-mode:both;
}

/* Reset */
* {box-sizing:border-box;outline:none;}
p {margin:0 0 14px 0;padding:0;line-height:26px;font-weight:500;font-size:14px;}
h1,h2,h3,h4,h5,h6 {margin:0;padding:0;}
input, select, textarea, input:focus, select:focus, textarea:focus {outline:none;}
hr {margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee;}

/* Global */
body {font-family:'Raleway', sans-serif;font-size:16px;line-height:18px;color:#000;}
a, a:link, a:active {color:#1e73be;text-decoration:none;transition:color 0.2s, background-color 0.2s;}
a:hover {color:#000000;transition:color 0.2s, background-color 0.2s;}

/* Layout */
.w-max, .w-full {margin:0 auto;overflow:hidden;}
.w-max, .w-full, .w-1, .w-2, .w-3, .w-4, .w-5, .w-6, .w-7, .w-8, .w-9, .w-10 , .w-11 , .w-12 , .w-13 , .w-14 , .w-15 , .w-16 , .w-17 , .w-18 , .w-19 , .w-20 , .w-21 , .w-22 , .w-23 , .w-24 , .w-25 , .w-26 , .w-27 , .w-28 , .w-29 , .w-30 , .w-31 , .w-32 , .w-33 , .w-34 , .w-35 , .w-36 , .w-37 , .w-38 , .w-39 , .w-40 , .w-41 , .w-42 , .w-43 , .w-44 , .w-45 , .w-46 , .w-47 , .w-48 , .w-49 , .w-50 , .w-51 , .w-52 , .w-53 , .w-54 , .w-55 , .w-56 , .w-57 , .w-58 , .w-59 , .w-60 , .w-61 , .w-62 , .w-63 , .w-64 , .w-65 , .w-66 , .w-67 , .w-68 , .w-69 , .w-70 , .w-71 , .w-72 , .w-73 , .w-74 , .w-75 , .w-76 , .w-77 , .w-78 , .w-79 , .w-80 , .w-81 , .w-82 , .w-83 , .w-84 , .w-85 , .w-86 , .w-87 , .w-88 , .w-89 , .w-90 , .w-91 , .w-92 , .w-93 , .w-94 , .w-95 , .w-96 , .w-97 , .w-98 , .w-99 , .w-100{box-sizing:border-box;}
.w-max {width:100%;}.w-full {width:100%;max-width:1170px;}
.w-1 {width:1%;}.w-2 {width:2%;}.w-3 {width:3%;}.w-4 {width:4%;}.w-5 {width:5%;}.w-6 {width:6%;} .w-7 {width:7%;}.w-8 {width:8%;}.w-9 {width:9%;}.w-10 {width:10%;}.w-11 {width:11%;}.w-12 {width:12%;}.w-13 {width:13%;}.w-14 {width:14%;}.w-15 {width:15%;}.w-16 {width:16%;}.w-17 {width:17%;}.w-18 {width:18%;}.w-19 {width:19%;}.w-20 {width:20%;}.w-21 {width:21%;}.w-22 {width:22%;}.w-23 {width:23%;}.w-24 {width:24%;}.w-25 {width:25%;}.w-26 {width:26%;}.w-27 {width:27%;}.w-28 {width:28%;}.w-29 {width:29%;}.w-30 {width:30%;}.w-31 {width:31%;}.w-32 {width:32%;}.w-33 {width:33.3333333%;}.w-34 {width:34%;}.w-35 {width:35%;}.w-36 {width:36%;}.w-37 {width:37%;}.w-38 {width:38%;}.w-39 {width:39%;}.w-40 {width:40%;}.w-41 {width:41%;}.w-42 {width:42%;}.w-43 {width:43%;}.w-44 {width:44%;}.w-45 {width:45%;}.w-46 {width:46%;}.w-47 {width:47%;}.w-48 {width:48%;}.w-49 {width:49%;}.w-50 {width:50%;}.w-51 {width:51%;}.w-52 {width:52%;}.w-53 {width:53%;}.w-54 {width:54%;}.w-55 {width:55%;}.w-56 {width:56%;}.w-57 {width:57%;}.w-58 {width:58%;}.w-59 {width:59%;}.w-60 {width:60%;}.w-61 {width:61%;}.w-62 {width:62%;}.w-63 {width:63%;}.w-64 {width:64%;}.w-65 {width:65%;}.w-66 {width:66.6666666%;}.w-67 {width:67%;}.w-68 {width:68%;}.w-69 {width:69%;}.w-70 {width:70%;}.w-71 {width:71%;}.w-72 {width:72%;}.w-73 {width:73%;}.w-74 {width:74%;}.w-75 {width:75%;}.w-76 {width:76%;}.w-77 {width:77%;}.w-78 {width:78%;}.w-79 {width:79%;}.w-80 {width:80%;}.w-81 {width:81%;}.w-82 {width:82%;}.w-83 {width:83%;}.w-84 {width:84%;}.w-85 {width:85%;}.w-86 {width:86%;}.w-87 {width:87%;}.w-88 {width:88%;}.w-89 {width:89%;}.w-90 {width:90%;}.w-91 {width:91%;}.w-92 {width:92%;}.w-93 {width:93%;}.w-94 {width:94%;}.w-95 {width:95%;}.w-96 {width:96%;}.w-97 {width:97%;}.w-98 {width:98%;}.w-99 {width:99.999999999%;}.w-100 {width:100%;}
.content {width:72%;}.sidebar {width:23%;}

/* Divider */
.divider {height:1px;width:100%;background-color:#d5d5d5;margin:1.5em 0;}
.border-r {border-right:1px solid #acada7;}
.border-l {border-left:1px solid #acada7;}
.section-border {height:12px;background:url('images/border.png') repeat-x top center;}
.section-border-bottom {height:12px;background:url('images/border-bottom.png') repeat-x top center;}
.spacerWrapper {margin:2rem 0;}

/* Layout Padding/Margin */
.w-pad-tb {padding-top:2em;padding-bottom:2em;}
.w-pad-lr {padding-left:2em;padding-right:2em;}
.w-pad-top {padding-top:2em;}
.w-pad-bottom {padding-bottom:2em;}
.w-pad-left {padding-left:2em;}
.w-pad-right {padding-right:2em;}
.w-margin-tb {margin-top:2em;margin-bottom:2em;}
.w-margin-lr {margin-left:2em;margin-right:2em;}
.w-margin-top {margin-top:2em;}
.w-margin-bottom {margin-bottom:2em;}
.w-margin-left {margin-left:2em;}
.w-margin-right {margin-right:2em;}
.m-auto {margin-left:auto;margin-right:auto;}

/* Layout Align */
.table {display:table;}
.table-cell {display:table-cell;table-layout:fixed;}
.v-align {vertical-align:middle;}
.v-align-top {vertical-align:top;}
.left-wrap, .left {float:left;}
.right-wrap, .right {float:right;}
.left-wrap, .right-wrap {width:48%;}
.left-wrap {clear:both;}
.collapse, .inline {display:inline-block;}
.block {display:block;}
.t-left {text-align:left;}
.t-right {text-align:right;}
.t-center {text-align:center;}
.alignright {float:right;}
.alignleft {float:left;}

/* RAH!CFO */
.italic {font-style:italic;}
.rah, .exclaim, .cfo {font-weight:bold;}
.rah {color:#0079c2;}
.exclaim {color:#66b562;}
.cfo {color:#949599;}

/* Heading */
h1,h2,h3,h4,h5,h6 {font-weight:500;}
h1 {font-size:32px;font-weight:400;color:#000;line-height:48px;margin:20px 0 35px 25px;}
h2 {font-size:28px;line-height:38px;margin-top:20px;margin-bottom:10px;}
.team h2 {margin-top:0;}
h3 {font-size:24px;line-height:34px;margin-top:20px;margin-bottom:10px;}
h3.widget-title {font-size:18px;line-height:normal;margin-top:0;font-weight:700;}
h4 {font-size:18px;line-height:28px;margin:10px 0;}

/* Button */
.button {display:inline-block;border:0 none;padding:.5em 1em;margin:0;}
a.button, .button {display:inline-block;border:0 none;padding:.5em 1em;margin:0;}
a.button.primary, .button.primary {background:#173aaf;text-transform:uppercase;border:1px solid #fff;padding:0.5em 2em;color:#fff;}
a.button.primary:hover, .button.primary:hover {background:#f57b20;}

/* ----- [ Header ] ----- */
#headerWrapper, #header {height:107px;background:#fff;overflow:visible;text-align:left;}
#header {padding:0 25px;}
#logo {position:absolute;top:20px;}

/* ----- [ Image Wrapper ] ----- */
#imageWrapper img {width:100%;}

/* ----- [ Nav ] ----- */
#nav {margin-right:-11px;padding-top:26px;}
#nav > div {text-align:right;}
#nav ul {display:inline-block;list-style:none;margin:0;padding:0;}
#nav ul li {float:left;position:relative;}
#nav ul li a {display:block;color:#1e73be;padding:21px 17px;font-weight:600;font-size:14px;}
#nav ul li.current-menu-parent > a, #nav ul li.current-menu-item > a, #nav ul li a:hover {color:#81d742;}

#nav ul ul.sub-menu {background:#1e73be;padding:0 10px;position:absolute;top:100%;left:0;text-align:left;width:200px;display:block;opacity:0;z-index:5000;visibility:hidden;-webkit-transform:scale(.8);-moz-transform:scale(.8);-ms-transform:scale(.8);-o-transform:scale(.8);transform:scale(.8);-webkit-transition:visibility 500ms, opacity 500ms, -webkit-transform 500ms cubic-bezier(.43, .26, .11, .99);-moz-transition:visibility 500ms, opacity 500ms, -moz-transform 500ms cubic-bezier(.43, .26, .11, .99);-o-transition:visibility 500ms, opacity 500ms, -o-transform 500ms cubic-bezier(.43, .26, .11, .99);-ms-transition:visibility 500ms, opacity 500ms, -ms-transform 500ms cubic-bezier(.43, .26, .11, .99);transition:visibility 500ms, opacity 500ms, transform 500ms cubic-bezier(.43, .26, .11, .99);}
#nav ul li:hover ul.sub-menu {background:#1e73be;width:200px;display:block;opacity:1;z-index:5000;visibility:visible;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1);-webkit-transition:visibility 500ms, opacity 500ms, -webkit-transform 500ms cubic-bezier(.43, .26, .11, .99);-moz-transition:visibility 500ms, opacity 500ms, -moz-transform 500ms cubic-bezier(.43, .26, .11, .99);-o-transition:visibility 500ms, opacity 500ms, -o-transform 500ms cubic-bezier(.43, .26, .11, .99);-ms-transition:visibility 500ms, opacity 500ms, -ms-transform 500ms cubic-bezier(.43, .26, .11, .99);transition:visibility 500ms, opacity 500ms, transform 500ms cubic-bezier(.43, .26, .11, .99);	}
#nav ul ul li {display:block;float:none;clear:both;border-bottom:1px solid rgba(255,255,255,.1);}
#nav ul ul li a {display:block;color:#fff;padding:15px 5px;}

#nav #menu-item-177 {display: none;}

/* ----- [ Slider ] ----- */
#slideWrapper, .swiper-slide {background-size:cover;background-position:center center;}
.swiper-container {width:100%;height:auto;}      
#slideWrapper .caption {margin-top:20%;margin-bottom:2%;font-size:45px;font-weight:500;color:#fff;line-height:1.25em;text-transform:uppercase;}
#slideWrapper .caption div {height:112.5px;}
#slideWrapper .caption strong {color:#66b562;}

.swiper-button-prev, .swiper-button-next {background-image: none!important; height:40px!important;width:40px!important;}
.swiper-button-prev {background:url('images/left.png') no-repeat top center!important;}
.swiper-button-next {background:url('images/right.png') no-repeat top center!important;}
.swiper-pagination-bullet {background:#ccc!important;border:2px solid #fff!important;width:15px!important;height:15px!important;}
.swiper-pagination-bullet-active {background:#000!important;}

.swiper-button-prev, .swiper-button-next, .swiper-pagination-bullet {opacity: 0!important;-webkit-transition:opacity 0.4s linear;-moz-transition:opacity 0.4s linear;-o-transition:opacity 0.4s linear;-ms-transition:opacity 0.4s linear;transition:opacity 0.4s linear;}
#slideWrapper:hover .swiper-button-prev, #slideWrapper:hover .swiper-button-next, #slideWrapper:hover .swiper-pagination-bullet {opacity: 1!important;-webkit-transition:opacity 0.4s linear;-moz-transition:opacity 0.4s linear;-o-transition:opacity 0.4s linear;-ms-transition:opacity 0.4s linear;transition:opacity 0.4s linear;}

/* ----- [ Content ] ----- */
#contentWrapper {position:relative;z-index:4000;margin-top:-6em;}
.home #contentWrapper {margin:0;}
#content {background:#fff;padding-left:1em;padding-right:1em;}
#contentWrapper ul {margin-top:0;margin-bottom:1em;font-size:14px;color:#323232;font-weight:500;line-height:26px;}
#after, .after {border-top:1px solid #eee;margin-top:3em;padding-top:1em;}
#after {margin-top:2em;padding-top:2em;}
#after .section {margin:1em 0;padding:1em 0;}
#after .section iframe {width: 100%;min-height:400px;}
#after .section:first-child {margin:0;padding:0;}
#after .section h3 {margin:0 0 1em 0;}

/* ----- [ Footer ] ----- */
#footerWrapper {background:#F2F2F2;}

/* First */
#footerWrapper h3 {position:relative;font-size:18px;font-weight:400;padding-bottom:20px;}
#footerWrapper h3 span {background:#f2f2f2;z-index:2;position:relative;padding:0 10px 0 0;}
#footerWrapper h3:after {content:'';position:absolute;top:50%;height:1px;width:100%;left:0;margin-top:-10px;border-bottom:1px solid #d7d7d7;z-index:0;}
#footerWrapper .schema, .sidebar .schema {margin:1em 0 0 0;font-weight:500;line-height:1.5em;}
#footerWrapper .schema .name, .sidebar .name {display:none;}
#footerWrapper .schema .break, .sidebar .break {display:block;}
#footerWrapper .schema .phone, .sidebar .phone {margin:1em 0 0 0;}

/* Second */
#footerWrapper ul {list-style:none;margin:0;padding:0;}
#footerWrapper ul ul {display:none;}
#footerWrapper ul a {color:#1e73be;font-size:14px;line-height:26px;font-weight:500;}
#footerWrapper ul li:hover a {color:#000;}

/* Third */
#footerWrapper iframe {width:100%;height:300px;}
#lowerWrapper {background:#1E73BE;color:#fff;padding:50px 0;font-weight:500;}

/* ----- [ Sidebar ] ----- */
.sidebar {font-size:14px;}
.sidebar .phone {display: none;}
.sidebar .schema {margin-top:0;}
.sidebar i {font-size:14px;width:28px;height:28px;line-height:28px;text-align:center;color:#1E73BE;border-radius:100%;margin-right:10px;margin-bottom:10px;box-shadow:0 0 0 3px rgba(0,0,0,0.09);}
.sidebar .no-list {list-style: none;margin:0;padding:0;}

/* ----- [ Testimonials ] ----- */
.testimonial {margin:0 0 2em 0;padding:0 0 2em 0;border-bottom:1px solid #eee;}
.testimonial .excerpt {font-style:italic;font-family:"Times New Roman";font-size:20px;line-height:26px;font-weight:500;}
.testimonial .more {display:block;font-style:normal;font-size:14px;color:#000;margin:20px 0 0 0;font-family:'Raleway', sans-serif;}
.testimonial .more:hover {color:#1E73BE;}

/* ----- [ Case Studies ] ----- */
#caseStudies .caseStudy .padding {padding:1em 1.5em;}
#caseStudies .caseStudy .inner {display:block;position:relative;background-size:cover;background-position:center;height:185px;overflow:hidden;background-repeat:no-repeat;}
#caseStudies .caseStudy .title {position:absolute;left:0;bottom:15px;background:#78BE77;color:#fff;display:inline-block;overflow:hidden;-webkit-transition:all 0.4s linear;-moz-transition:all 0.4s linear;-o-transition:all 0.4s linear;-ms-transition:all 0.4s linear;padding:7px 10px;font-size:22px;font-weight:500;height:32px;}
.page-id-96 #caseStudies .caseStudy .title {height:50px;width:100%;}
#caseStudies .caseStudy .overlay {position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,0.75);opacity:0;}
#caseStudies .caseStudy .zoom {position:absolute;left:0px;right:0px;top:0px;bottom:0px;margin:auto;opacity:0;width:60px;height:60px;-webkit-border-radius:100%;-moz-border-radius:100%;border-radius:100%;background-image:url('images/info.png');background-repeat:no-repeat;background-position:center center;background-color:#78BE77;z-index:6000;}

#caseStudies .caseStudy:hover .overlay {opacity:1;}
#caseStudies .caseStudy:hover .title {left:-200%;}
#caseStudies .caseStudy:hover .inner {background-size:140%;}

.inline {width:640px;background:#313131;font-size:14px;font-weight:500;line-height:21px;color:#c7c7c7;}
.inline h2 {font-size:28px;padding:15px 0 15px 30px;margin:0;background:#1E73BE;color:#fff;}
.inline .text {padding:30px;}

/* ----- [ Team ] ----- */
.team {margin:0 0 1em 0;padding: 0 0 1em 0;border-bottom:1px solid #eee;overflow:hidden;}
.team .headshot {width:150px;height:225px;background-size:cover;background-repeat:no-repeat;margin:0 1em 1em 0;background-position:center center;}

/* ----- [ Contact ] ----- */
#map iframe {width:100%;height:400px;border:5px solid #eee;margin:0 0 1em 0;}
.ninja-forms-required-items {margin:1em 0;font-size:14px;font-style:italic;}
.field-wrap input, .field-wrap textarea {border:1px solid #ccc;padding:5px;}
.submit-wrap input {background:#1e73be;border:0 none;color:#fff;padding:0.5em 2em;}
.submit-wrap input:hover {background:#81d742;}

/* ----- [ Mobile ] ----- */
.mobile-toggle {background:#1e73be;margin:1em 0 0 0;padding:8px;width:100%;border:0 none;text-align:right;}
.mobile-toggle .bar {width:22px;height:2px;margin-top:4px;background:#fff;margin-left:auto;margin-right:0;}
.mobile-toggle .bar.first {margin-top:0;}

/* Overrides */
.animate {transition:color 0.2s, background-color 0.2s;height:auto;}
.hide {display:none;}
.clear {clear:both;}
.o-visible {overflow:visible}
.o-hidden {overflow:hidden;}
.mobile-only {display:none;}
.desktop-only {display:block;}

body .validation_error {font-size:14px;margin:0 0 1em 0;}
body .gform_wrapper {margin:auto;}
body .gform_wrapper .gform_heading {text-align:center;margin-bottom:2rem;}
body .gform_wrapper ul {list-style:none;margin:0;padding:0;}
body .gform_wrapper ul li.gfield {margin:0 0 1em 0;}
body .gform_wrapper ul li.gfield_html {margin:0;}
body .gform_wrapper ul li.gfield .gfield_label {font-weight:bold;font-size:16px;}
body .gform_wrapper ul li.gfield input, body .gform_wrapper ul li.gfield select, body .gform_wrapper ul li.gfield textarea {width:100%;padding:5px;}
body .gform_wrapper ul li.gfield textarea {height:200px;}
body .gform_wrapper .gform_button.button {background: #1e73be;
    border: 0 none;
    color: #fff;
    padding: 0.5em 2em;}
body .gform_wrapper .gform_button.button:hover {background: #81d742;}
body .gform_wrapper ul li.gfield input:focus, body .gform_wrapper ul li.gfield select:focus, body .gform_wrapper ul li.gfield textarea:focus {}
body .gform_wrapper .gform_footer {text-align:center;}
body .instruction.validation_message, body .gfield_description.validation_message {background:red;color:#fff;font-size:12px;padding:5px;}

/* Two-column layout 3/4 - 1/4 . Used on homepage below hero: text - image */
.col2 figure {
  margin: 0 0 1em 0;
}
.col2 img {
  display: block;
  width: 100%;
}
.col2 figcaption {
  margin-top: 0.5em;
  color: #444;
}
@media screen and (min-width: 800px) {
  .two-cols {
    display: grid;
    grid-template-columns: 1fr minmax(200px, 45%);
    padding: 1em 0;
  }
  .col1 {
    grid-column: 1;
  }
  .col2 {
    grid-column: 2;
  }
  .col2 figure {
    margin: 0 40px 1em 40px;
  }
}


