html {
  font-size:16px;
}

/* fix the body width to 300px at low screen resolutions to prevent any responsive content format 
changes below 300px screen width */
@media (max-width: 300px) {

    body {
      width: 300px;
    }
}

.container-fluid {
  width: 100%;
  padding-left: 5%;
  padding-right: 5%;
}

.navbar .container-fluid {
  padding-left: 20px;
  padding-right: 15px;
}

@media (min-width: 400px) {

 .container-fluid {
    padding-left: 45px;
    padding-right: 45px;
  }

  .container-fluid.clients-container {
    padding-left: 5%;
    padding-right: 5%;
  }

}

@media (min-width: 461px) {

 .container-fluid {
    padding-left: 52px;
    padding-right: 52px;
  }

}

@media (min-width: 600px){

 .container-fluid {
    padding-left: 60px;
    padding-right: 60px;
  }

}

.fa-twitter:hover {
  opacity: 0.6;
}

.fa-linkedin:hover {
  opacity: 0.6;
}

a.hover-fade:hover {
    opacity: 0.6;
}

span.slant {
  position: relative;
  font-family:Lato; 
  text-transform:uppercase;
  display: inline-block;
  padding: 1em 5em 1em 1em;
  overflow: hidden;
  color:#4ea82c;
}

span.slant:after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:black;
  -webkit-transform-origin: 100% 0;
  -ms-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: skew(-45deg);
  -ms-transform: skew(-45deg);
  transform: skew(-45deg);
  z-index: -1;
}

.read {
  background-color: #036536; /* Green */
  border: none;
  color: #70BF08;
  padding: 15px 26px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  font-size: 14px;
}

.read:hover, .read:visited {
  color: #70BF08;
}

.categories {
  font-family:Lato;
  font-style:italic;
  font-weight:bold; 
  color: #4ea82c; 
  text-transform:uppercase;
}

.logo-background {
  padding:1px;
  height: auto;
}

@media (max-width: 359px){

  .logo-background {
    width: 120px;
    height: auto;
  }
}

@media (min-width: 360px) and (max-width: 509px){

  .logo-background {
    width: 120px;
    height: auto;
  }

}


@media (min-width: 510px) and (max-width: 799px){

  .logo-background {
    width: 140px;
    height: auto;
  }

}

@media (min-width: 800px) and (max-width: 909px){

  .logo-background {
    width: 160px;
    height: auto;
  }

}

@media (min-width: 910px) and (max-width: 1000px){

  .logo-background {
    width: 175px;
    height: auto;
  }

}

@media (min-width: 1001px) and (max-width: 1199px){

  .logo-background {
    width: 190px;
    height: auto;
  }

}

@media (min-width: 1200px){

  .logo-background {
    width: 220px;
    height: auto;
  }
}

.clients-logo {
  width: 60%;
  margin-left:20%;
  margin-top:20px;
}

@media (min-width: 350px) {

  .clients-logo {
    width: 60%;
    margin-left:20%;
  }

}

@media (min-width: 470px) {

  .clients-logo {
    width: 50%;
    margin-left:25%;
  }
  
}

@media (min-width: 580px) {

  .clients-logo {
    width: 40%;
    margin-left:30%;
  }
  
}

@media (min-width: 650px) {

  .clients-logo {
    width: 30%;
    margin-left:35%;
  }
  
}

@media (min-width: 768px) {

  .clients-logo {
    width: 90%;
    margin-left:0;
    margin-top:60px;
  }
  
}

@media (min-width: 992px) {

  .clients-logo {
    width: 100%;
    margin-left:0;
    margin-top:60px;
  }
  
}

@media (min-width: 1250px) {

  .clients-logo {
    width: 80%;
    margin-left:10%;
  }
  
}

@media (min-width: 1500px) {

  .clients-logo {
    width: 70%;
    margin-left:15%;
  }
  
}

.navbar-right {
  margin-right: 20px;
}

@media (max-width: 767px) {

  .navbar-right {
    margin-right: 0px;
  }
}

.margin-top-15px {
    margin-top: 15px;
}

.margin-top-30px {
    margin-top: 30px;
}

.margin-top-50px {
    margin-top: 50px;
}

.margin-top-80px {
    margin-top: 80px;
}

.margin-bottom-40px {
    margin-bottom: 40px;
}

.margin-bottom-50px {
    margin-bottom: 50px;
}

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

.margin-left-60px {
    margin-left: 60px;
}

#practices {
  margin-bottom:50px;
}

#studies {
  margin-bottom:60px;
}

#practices img:hover, #studies img:hover {
  opacity: 0.6;
}


#offers {
  margin-left:60px;
  margin-bottom:30px;
}

.twitter-block {
  display: none; 
}

p.contact-footer {
  margin:0;
}

/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right-in:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 150px;
  bottom: -40px;
  border: 20px solid;
  border-color: #036536 #036536 transparent transparent;
}
.tri-right.btm-right-in:after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 158px;
  bottom: -20px;
  border: 12px solid;
  border-color: lightyellow lightyellow transparent transparent;
}

/*Right triangle, placed bottom right side slightly in*/
.tri-right.border.btm-right:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -8px;
  bottom: -40px;
  border: 20px solid;
  border-color: #036536 #036536 transparent transparent;
}
.tri-right.btm-right:after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: 0px;
  bottom: -20px;
  border: 12px solid;
  border-color: lightyellow lightyellow transparent transparent;
}

/* Right triangle, right side slightly down*/
.tri-right.border.right-in:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -40px;
  top: 30px;
  bottom: auto;
  border: 20px solid;
  border-color: #036536 transparent transparent #036536;
}
.tri-right.right-in:after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -20px;
  top: 38px;
  bottom: auto;
  border: 12px solid;
  border-color: lightyellow transparent transparent lightyellow;
}

/* Right triangle placed top right flush. */
.tri-right.border.right-top:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -40px;
  top: -8px;
  bottom: auto;
  border: 32px solid;
  border-color: #036536 transparent transparent transparent;
}
.tri-right.right-top:after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -20px;
  top: 0px;
  bottom: auto;
  border: 20px solid;
  border-color: lightyellow transparent transparent transparent;
}

/* CSS talk bubble */
.talk-bubble {
  /*margin: 40px;*/
  /*display: inline-block;*/
  display:table;
  position: relative;
  height: 300px;
  background-color: lightyellow;
  width:90%;
  margin:0 auto;
}

@media (min-width: 460px) {

  .talk-bubble {
      width:80%;
  }

}

@media (min-width: 570px) {

  .talk-bubble {
      width:70%;
  }

}

@media (min-width: 720px) {

  .talk-bubble {
      width:60%;
  }

}

@media (min-width: 768px) {

  .talk-bubble {
      width:100%;
  }

}



/* talk bubble contents */
.talktext {
  display: table-cell; 
  vertical-align: middle; 
  text-align:center;
  padding: 1em;
  line-height: 1.5em;
}

.talktext p {
  /* remove webkit p margins */
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
}

.person-text {
  margin-top:15px;
  margin-bottom: 50px;
  padding: 10px 0 0;
  text-align: center;
  z-index: -1;
}
.person-text a {
  color: #036536;
  display: block;
  font-size: 16px;
  margin-top: 3px;
  text-decoration: none;
}
.person-text i {
  color: #fff;
  font-family: Georgia;
  font-size: 13px;
}

.border {
  border: 8px solid #036536;
}

h3.featurette-heading {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-left: 0;
  margin-bottom: 1em;
  /*color: #333;*/
}

h3.featurette-heading.case-studies {
  margin-top:40px;
}

p.featurette-text {
  font-size:1.10rem; 
  line-height: 2.0;
  text-align:justify; 
  font-family:sans-serif; 
  margin: 40px 30px 10px 40px;
}

.featurette-paragraph {
  font-size:100%; 
  text-align:justify; 
  font-family:sans-serif; 
  margin: 10px 30px 10px 30px;
}

.list-description {
  margin-top: 30px;
}

p.how-works-text {
  margin-bottom:0px;
}

ul.featurette-list {
  list-style-image: url('img/bullet_point.png'); 
  font-size:1.10rem; 
  text-align:left; 
  font-family:sans-serif; 
  margin: 40px 50px 10px 10px;
}

ul.case-studies-list {
  list-style-image: url('img/bullet_point.png'); 
  font-size:100%; 
  text-align:left; 
  font-family:sans-serif;
  margin-top: 30px;
}

.case-studies-list-large-text {
  font-size:120%;
}

ul.how-works-list {
  margin-top:0px;
}

ul.featurette-list li {
  margin: 20px 0px;
}

ul.case-studies-list li {
  margin: 15px 0px;
}

.paragraph-list {
  list-style:none; 
  font-family:sans-serif; 
  text-align: left; 
  margin-top:40px;
}

.studies-img {
    width:85%;
}

@media (min-width: 360px) {

    .studies-img {
        width:75%;
    }
  }

@media (min-width: 430px) {

    .studies-img {
        width:60%;
    }
  }

  @media (min-width: 530px) {

    .studies-img {
        width:50%;
    }
  }

   @media (min-width: 630px) {

    .studies-img {
        width:45%;
    }
  }

     @media (min-width: 710px) {

    .studies-img {
        width:40%;
    }
  }

  @media (min-width: 768px) {

    .studies-img {
        width:70%;
    }
  }

  @media (min-width: 890px) and (max-width: 991px) {

    .studies-img {
        width:65%;
    }
  }

  @media (min-width: 992px) and (max-width: 1090px) {

    .studies-img {
        width:80%;
    }
  }

.email-entry {
  width:80%; 
  color: #6FBE08; 
  text-align:center; 
  font-size: 1.0rem;
  padding: 10px;
  border: solid 1px #4ea82c;
  -webkit-transition: box-shadow 0.3s, border 0.3s;
  -moz-transition: box-shadow 0.3s, border 0.3s;
  -o-transition: box-shadow 0.3s, border 0.3s;
  transition: box-shadow 0.3s, border 0.3s;
}

@media (min-width: 530px) {

  .email-entry {
    font-size: 1.1rem;
  }

}

@media (min-width: 650px) {

  .email-entry {
    width:60%;
  }

}

@media (min-width: 790px) {

  .email-entry {
    width:40%;
    font-size: 1.15rem;
  }

}

@media (min-width: 1000px) {

  .email-entry {
    width:35%;
  }

}

@media (max-width: 1199px) {

    .dotted-border-gridposition1 {
      border-bottom:1px dotted #ADD8E6;
      padding-bottom: 25px;
    }

     .dotted-border-gridposition2 {
        border-bottom:1px dotted #ADD8E6;
        padding-bottom: 25px;
     }
}

@media (min-width: 768px) {

    .dotted-border-gridposition2, .dotted-border-gridposition4 {
        border-left:1px dotted #ADD8E6;
    }

    .twitter-block {
          display: block;
          float: right !important; 
          max-width: 100%; 
          height: auto; 
          margin: 10px 30px 10px 30px;
      }

    h3.featurette-heading {
        font-size: 1.65rem;
      }

      p.featurette-text {
        font-size:1.20rem;
        line-height: 2.1;
      }

      ul.featurette-list {
        font-size:1.20rem; 
      }

}

@media (max-width: 767px) {
      .dotted-border-gridposition3 {
          border-bottom:1px dotted #ADD8E6;
          padding-bottom: 25px;
      }
}


@media (min-width: 1200px) {

      .dotted-border-gridposition3 {
          border-left:1px dotted #ADD8E6;
      }

      h3.featurette-heading {
        font-size: 1.80rem;
      }

      p.featurette-text {
        font-size:1.30rem;
        line-height: 2.2;
      }

      ul.featurette-list {
        font-size:1.30rem; 
      }


}

/********* NAVIGATION SECTION ***********************/

.navbar {
  margin-bottom: 0;
  padding-bottom: 20px;
  position: absolute;
  z-index: 9999;
  width: 100%;
}

@media (max-width: 409px) {
  .navbar-brand {
    padding:9px 9px;
  }
}

.navbar-default {
  background-color: transparent;
  border-bottom:1px solid black;
  border-style:none;
  color:white;
  }

  .navbar-default .navbar-brand {
    color:#fed136;
    font-family:"Kaushan Script","Helvetica Neue",Helvetica,Arial,cursive;
  }

  .navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:active,.navbar-default .navbar-brand.active {
    color:#fec503;
  }

  .navbar-default .navbar-collapse {
    /*border-color:rgba(255,255,255,.02);*/
    border-style:none;
    /*border-bottom:1px solid #036536;*/
  }

  .navbar-default .navbar-toggle {
    background-color:black;
    border-color:black;
  }

  .navbar-default .navbar-toggle .icon-bar {
    background-color:#FFF;
  }

  .navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus {
    background-color:black;
  }

    .navbar-default .nav li a {

      background-color:#FFF;
      color:#615c58;
      font-family:Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
      font-size: 10px;
      text-decoration:none; 
      /*text-shadow: -1px -1px 0 rgba(0,0,0,0.3);*/
      text-align:center;
      letter-spacing:1px;

      line-height: 1.5;
      width: 13em;
      margin-top: 0.5em;
      margin-left:1.5em;
      padding:8px;

      outline:0;
      box-shadow: 0.7px 0.7px #666;
      border: 2px solid #666;
      display:inline-block;

      -webkit-border-radius: 1em; 
      -moz-border-radius: 1em;
      border-radius: 1em;
  }

  .navbar-default .nav li a:hover, .navbar-default .nav li a:focus {

       box-shadow: none;
       color: black;
       /*border: 2px solid #615c58;*/
       border: 2px solid #528c06;

       background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f2e6dc));
       background-image: -webkit-linear-gradient(top, #ffffff, #f2e6dc);
       background-image: -moz-linear-gradient(top, #ffffff, #f2e6dc);
       background-image: -ms-linear-gradient(top, #ffffff, #f2e6dc);
       background-image: -o-linear-gradient(top, #ffffff, #f2e6dc);
       background-image: linear-gradient(to bottom, #ffffff, #f2e6dc);

       filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#ffffff, endColorstr=#f2e6dc);
  }

  @media (max-width: 767px) {

      .navbar-default .nav li a {
        float: right;
        clear: right;
      }
  }

    @media (min-width: 600px) {

      .navbar-default .nav li a {        
          font-size: 11px;     
      }
    }

  @media (min-width: 768px) {

      .navbar-default .nav li a {        
          margin-top:20px;
          width:10em;
          padding: 0.8em 0.4em 0.8em 0.4em;
          font-size: 9px;     
      }

      /* removing the bootstrap default left padding for this class of 15px */
      .navbar-collapse {
          padding-right: 0;
      }
    }

    @media (min-width: 820px) {

        .navbar-default .nav li a { 
            font-size: 10px;        
            width:11em;
        }
    }

    @media (min-width: 1015px) {

      .navbar-default .nav li a { 
          font-size: 11px;        
          width:11em;
          padding: 1em 0.5em 1em 0.5em; 
      }
  }

  @media (min-width: 1300px) {

      .navbar-default .nav li a { 
          font-size: 12px;        
          width:11.5em;
          padding: 1em 0.5em 1em 0.5em; 
      }
  }

  @media (min-width: 1600px) {

      .navbar-default .nav li a { 
          font-size: 12px;        
          width:12em;
          padding: 1.1em 0.5em 1.1em 0.5em;
      }
  }

  .navbar-default .navbar-nav>.active>a {
  border-radius:0;
  color:#fff;
  background-color:#fed136
}

.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus {
  color:#fff;
  background-color:#fec503;
}
  
  .navbar-fixed-top {
    background-color:transparent;
    min-height:100px;
    /*border-style:none;*/
  }
  
/*  .navbar-fixed-top .nav li a {
  color:#70BF08;
  font-size:20px;
  text-shadow: 2px 2px 4px black;
}*/


.navbar-default.navbar-shrink .nav li a {      
      text-shadow: none;
      box-shadow: none;      
}

  
  @media (min-width:768px) {
    .navbar-default {
      /*padding:25px 0;*/
      -webkit-transition:padding .3s;
      -moz-transition:padding .3s;
      transition:padding .3s;
      /*border:0*/
    }

    .navbar-default .navbar-brand {
      font-size:2em;
      -webkit-transition:all .3s;
      -moz-transition:all .3s;
      transition:all .3s
    }
    .navbar-default .navbar-nav>.active>a {
      border-radius:3px
    }
    .navbar-default.navbar-shrink {
      /*background-color:#70BF08;*/
      background-color:rgba(0, 90, 90, 0.5);
      /*background-color:#CFF799;*/
      text-shadow: none;
      border-bottom:1px solid black;
      padding:10px 0
    }
    
    .navbar-default.navbar-shrink.nav li a{
      color:black;
    }
    
    .navbar-default.navbar-shrink .navbar-brand {
      font-size:1.5em
    }
    
    /*.navbar-default .nav li a:hover,.navbar-default .nav li a:focus {
      box-shadow:none;
    }
    */
  }
  
  @media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {

  .navbar-default.navbar-shrink.nav li a{
      text-align:center;
    }
    
    .navbar-default.navbar-shrink{
      border-bottom:1px solid black;
    }
  
  /*nav.navbar.navbar-default.navbar-fixed-top.shrink.navbar-shrink {

      border-bottom:1px solid black;

    }*/
    
    /*.navbar-default .nav li a:hover,.navbar-default .nav li a:focus {
      box-shadow:none;
    } */
}


@-webkit-keyframes typing {
    from { width: 0 }
    to { width:20.5em;}
}

@-moz-keyframes typing {
    from { width: 0 }
    to { width:20.5em; }
}

@-webkit-keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: white }
}

@-moz-keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: white }
}

p.blink { 
    font-size:150%;
    width:20.5em;
  /*width:auto;*/
    white-space:nowrap;
    overflow:hidden;
    border-right: .1em solid white;
    
    -webkit-animation: typing 5s steps(60, end), /* # of steps = # of characters */
                        blink-caret 1s step-end infinite;
    -moz-animation: typing 5s steps(60, end), /* # of steps = # of characters */
                        blink-caret 1s step-end infinite;
}

.panels-elements {
    position: relative;
}

@media (min-width: 1200px){
  .panels-text {
      position:absolute; 
      top:50%; 
      left:50%; 
      transform: translateY(-50%); 
  }
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
  border-radius: 10px;
}

@media (min-width:1200px){
  .videoWrapper {
    position: relative;
    padding-bottom: 28.125%; /* 16:9 */
  }
}

.videoWrapper iframe {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
}

.icon-grid-container p {
  font-size: 150%;
  text-align: left;
  font-family: sans-serif;
  margin: 0px 10px 10px;
}

h2.iwin a {
  font-family: 'Permanent Marker', cursive;
  font-size:1.3em;
  color: #f95610;
  opacity: 0.9;
  text-shadow: 2px 2px 1px rgba(30, 30, 30, 1);
}

h2.iwin a:hover {
  opacity: 0.6;
}

@media (min-width: 500px) {

    h2.iwin a {
    font-size:1.6em;
  }

}

@media (min-width: 768px) {

    h2.iwin a {
    font-size:1.8em;
  }

}

@media (min-width: 1100px) {

    h2.iwin a {
    font-size:2.1em;
  }

}

/* Custom Horizontal Rule */

hr.small {
    max-width: 100px;
}

hr.small {

  margin-bottom:0;
}

hr.small-lower {
  
  margin-bottom:20px;
}

a:hover, a:focus {
    text-decoration: none;
}

/********* END OF NAVIGATION SECTION ***********************/

.affiliated-logo {
    margin-top:25px;
}

.ireachhq-logo {
    margin-top:25px;
}

.ireachhq-logo a:hover {
    opacity: 0.6;
}

.irc-logo {
    margin-top:25px;
    margin-bottom: 8px;
}

.irc-logo a:hover {
    opacity: 0.6;
}

