/* mobile first */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}


html {
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: "museo-sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
}


p {
    margin:10px 0px
}

h1, h2, h3, h4, h5, h6 {
    font-family: "museo-slab", Georgia, "Times New Roman", Times, serif;
    font-weight: 500;
    line-height: 1.2;
    color: #555;
}

h1 {
    font-size: 30px;
    margin: 5px 0px 10px;
}

h2 {
    font-size: 24px;
    margin: 5px 0px;
}

h1 a, h2 a, h3 a {
    text-decoration: none;
    color: #555;
}

h1 a:hover, h2 a:hover, h3 a:hover {
    color: #04adc0;
    transition: .5s;
}

h3 {
    font-size: 18px;
}

strong {
    font-weight: 900
}

#services p {
    margin-top: 0px
}
header {
    height: 80px;
    background-color: #fff;
    color: #000;
    padding: 0px;
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-wrap: nowrap;
    position: fixed;
    margin-top: -80px;
    width: 100%;
    z-index: 100;
}

img {
    width: 100%;
    height: auto;
}

.logo {
    display: flex;
    align-content: center; 
    margin: 10px 10px 10px 20px;
}

.logo img {
    width: 151px;
    height: 60px;
}

.main-nav  {
    display: none;
    padding: 0px;
    width: 100%;
    margin-top: 80px;       
    margin-right: 0px;
    width: 100%;
    position: absolute;
    white-space:nowrap;
}

.main-nav.is-active {
    display: block;
} 

.main-nav ul  {   
    margin: 0;
    padding: 0px 20px;
    display: block;        
    background-color: #333;   
}

.main-nav ul li {
    list-style: none; 
    border-left: none;
    text-align: left;
    width: 100%;
    font-weight: bold;
    font-size: 14px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,.3);
}
    
.main-nav ul li a {
    text-decoration: none;
    color: #fff;
    transition: background .5s;
    
}

.main-nav ul li a:hover {
    background: none;
    color: #04adc0;
}


.toggle {
    fill: #000;
    height: 40px;
    align-self: center; 
    display: block;
    margin-right: 20px;
    position: absolute;
    right: 0;
}  

.toggle:hover {
    fill: #04adc0
}
.main-content {
    margin-top:80px
}

section {
    padding: 30px 30px;
    text-align: center;
    min-height: 200px;
}

section.shaded {
    background: #eee;
}

.hero {
    background-color: #3fb4c6;
    background-image: url(../img/stripes.jpg);
    max-height: 300px;
    min-height: 100px;
    padding:10px;
    border-top: 6px solid #000;
    border-bottom: 6px solid #000;
}

.hero-caption {
    text-align: center;
    z-index: 5;
}

.hero-caption img {
    filter: drop-shadow(3px 3px 5px rgba(0,0,0,.5));
    max-height: 300px;
    max-width: 1162px;
}


.col2, .col3, .col4 {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 30px;
}

.col24 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
}
.row {
    padding: 30px 0px;
}

.gallery {
    padding: 20px 0px;
}
.card {
    background-color: #FFF;
    border: 1px #CCC solid;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}

.card h2 {
    padding: 0px;
    margin: 0px 0px 10px 0px;
    font-size: 18px;
}

.etc {
    display: none;
}

.feat-article {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 20px;
    margin: 20px 0px 40px 0px;
}

.entry-header {
    text-align: left;
}

.entry-header h3 {
    margin-top: 0;
}

.entry-header p {
    margin-bottom: 20px;
}

.clients {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 10px 20px;
    justify-content: space-between;
    align-content: center;
    margin: 20px 0px
}

#clients h1 {
    margin-bottom: 30px
}
.clients img {
    border: solid 1px #CCCCCC;
    display: block;
}

.site-footer {
    text-align: center;
    background: #4b494f;
    color: #999;
    padding: 30px 30px;
}

.site-footer h1 {
    color: #eee;
}

.site-footer form {
    margin:0
}

.mfp-title {
    font-size: 18px;
    color: #FFF;
}

.btn {
    display: block;
    margin-bottom: 0;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.3;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 10px 16px;
    font-size: 18px;
    border-radius: 4px;
    border-width: 0 0 2px!important;
    outline: 0!important;
    margin-bottom: 10px;
}

.btn-lg {
    border-radius: 30px;
}

.btn-sm {
    font-size: 14px;
    margin: 20px 0px;
}
.btn-special {
    color: #fff;
    background-color: #f05323;
    border-color: #c0392b;
}

.btn-special:hover {
    background-color:#c0392b
}

.btn-primary {
    color: #fff;
    background-color: #04adc0;
    border-color: #06909f;
}

.btn-primary:hover {
    background-color:#06909f
}

.btn-secondary {
    color: #fff;
    background-color: #555;
    border-color: #4b494f;
}

.btn-secondary:hover {
    background-color: #4b494f;
}

.btn-inline {
    display: inline;
}

.item {
    text-align: center;
}


.icon-wrap {
    width: 128px;
    text-align: center;
    margin: 10px auto;
}

.hover-effect {
    position: relative;
    display: inline-block;
    max-width: 100%
}
.hover-effect .overlay {
    width: 100%;
    height: 100%;
    display: block;
    background: 0 0;
    position: absolute;
    top: 0;
    color: #fff;
    text-align: center;
    line-height: 100%;
    -webkit-transition: all .5s;
    transition: all .5s
}
.hover-effect .fa {
    top: 60%;
    margin-top: -10px;
    position: absolute;
    left: 50%;
    margin-left: -10px;
    width: 20px;
    height: 20px;
    line-height: 30px;
    display: none;
    -webkit-transition: all .5s;
    transition: all .5s
}
.hover-effect:hover .overlay {
    background: rgba(240, 83, 35, .8)
}
.hover-effect:hover .fa {
    top: 50%;
    color: #fff;
    display: block;
}
.icon-plus {
    background-image: url('../img/icon-plus.svg');
    background-repeat: no-repeat;
}

.form-control {
    display: block;
    width: 100%;
    padding: 8px 8px;
    font-size: 14px;
    line-height: 1.3;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    box-shadow: none!important;
    -webkit-transition: border .5s;
    transition: border .5s;
    box-sizing: border-box;
}


.form-btn {
    padding: 8px 8px;
    font-size: 16px;
}

button.form-btn {
    display: block;
    width: 100%;
}

textarea {
    -webkit-appearance: textarea;
    background-color: white;
    -webkit-rtl-ordering: logical;
    flex-direction: column;
    resize: auto;
    cursor: text;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    border-width: 1px;
    border-style: solid;
    border-color: initial;
    border-image: initial;
    padding: 2px;
}

label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 700;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.form-group {
    padding: 8px 0px;
}

.captcharow img, .captcharow input, .captcharow button {
    display: block;
    margin: 0px 0px
}

ul.social-links {
    list-style: none;
    margin: 20px 0px;
    padding: 0px;
    display: flex;
    text-align: center;
    justify-content: space-around;
    align-content: center;
}


.social-links li a img  {
    width: 42px;
    height: 42px;
    opacity:0.7;
   
}
.social-links li a img:hover {
    opacity:1;
}

#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    width: 46px;
    height: 46px;
    text-align: center;
    line-height: 30px;
    background: rgba(0,0,0,.3);
    color: #fff;
    cursor: pointer;
    border: 0;
    border-radius: 2px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
}

#back-to-top img {
    fill: #FFF;
}
#back-to-top:hover {
    background: rgba(0,0,0,.7);
}
#back-to-top.show {
    opacity: 1;
}


.success {
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: .25rem;
    background-color: #dff0d8;
    border-color: #d0e9c6;
    color: #3c763d;
}

.warning {
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: .25rem;
    background-color: #fcf8e3;
    border-color: #faf2cc;
    color: #8a6d3b;
}
.danger {
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: .25rem;
    background-color: #f2dede;
    border-color: #ebcccc;
    color: #a94442;
    display: block;
}

.error {
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: .25rem;
    background-color: #f2dede;
    border-color: #ebcccc;
    color: #a94442;
    display: block;
}


/* PORTFOLIO STYLES */

.blocker {z-index: 150}

.modal {
    border-radius: 2px;
    max-width: 100%;
    padding:30px 0px 15px 0px;
    margin: 10px;
}

.slide-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.slide-image {     
    flex-basis: 100%;
    max-width: 800px;
    min-width: 0px;
    margin-left: 60px;
    margin-right: 60px;
}

.slide-image img {
     border: 1px solid #CCC;
    -webkit-box-shadow: 3px 3px 8px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 3px 3px 8px 0px rgba(0,0,0,0.3);
    box-shadow: 3px 3px 8px 0px rgba(0,0,0,0.3);
}

.slide-content {
    flex-basis: auto;
    max-width: 100%;
    margin: 5px 60px 10px 60px;
    text-align: left;
    width:100%;

}

.slide h2 {
    margin: 0 0 10px 0;
    color: #36aebf;
}

.slide-nav-prev, .slide-nav-next {
    padding: 0px;
    display: flex;
    text-align: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    align-items: center
}

.slide-nav-prev img, .slide-nav-next img {
     width: 60px;
}

.slide-nav-prev {
    left:0;
}

 .slide-nav-next {
    right:0;
}

.slide-nav-prev a img, .slide-nav-next a img {
    opacity: .4; 
    border: 0;
}

.slide-nav-prev a img:hover, .slide-nav-next a img:hover {
    opacity: .9;      
}

.slide p {
    color: #666;
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 0;
}

.slide-counter {
    text-align: center;
    background-color: #eeeeee;
    padding: 5px;
    max-width: 120px;
    margin: 10px auto; 
    border-radius: 5px;
}

.slide-content h3 {
    font-weight:bold;
    font-family: "museo-sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-bottom:1px solid #c4c4c4;
    padding-bottom: 5px;
    padding-top: 10px;
}

.slide-content h3 span {
    font-weight:300;
    color: #555;
}

.slide-content .services {          
    border-top:1px solid #c4c4c4 ;
    padding-top: 5px;
    margin: 15px 0px

}



/* INTERNET EXPLORER FALLBACKS FOR GRID 
only for screen widths larger than 767
initial display is set to FLEX with wrap set to either wrap or no
clients img is set to float
images have a set width
use @supports for grid to set images back to 100% and 
*/


/* MEDIA QUERIES ////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\*/

 @media only screen and (min-width: 900px) {
        
    .slide-inner {
        flex-wrap: nowrap;
    }

    .slide-nav-prev img, .slide-nav-next img {
     width: 90px;
    }

    .slide-image {     
        flex-basis: 60%;
        max-width: 800px;
        min-width: 400px;
        margin-left: 100px;
        margin-right: 0;
    }

    .slide-content {
        flex-basis: auto;
        min-width: 200px;
        max-width: 350px;
        margin: 35px 100px 0px 20px;
        text-align: left;    
    }

    .slide-counter-wrap {            
        display: flex;
        text-align: center;
        align-content: center;  
        margin-top: 10px
    }

    .slide-counter {
        background-color: #eeeeee;
        padding: 5px;
        max-width: 120px;
        flex: auto;
        margin: 10px auto; 
        border-radius: 5px;
    }
     .slide-content h3 {padding-top: 5px;}
     
}

@media only screen and (min-width: 767px) {
    
    .container {
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .logo img {
       width: 151px;
    }
   
    .main-nav button {
        width: auto;
    }
    
    .toggle {
       display: none;
    }

    .main-nav {
        display: flex;
        align-content: center;
        margin: 0 20px 0 0;
        position: relative;
        justify-content: flex-end;
        
    }

    .main-nav ul {   
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        background: none;    
    }

    .main-nav ul li {
        list-style: none;
        padding: 0px;
    }

    .main-nav ul li a {
        padding: 10px 15px;
        border-radius: 4px;
        margin: 0 0 0 5px;
        color: #000;    
    }
   
    .main-nav ul li a:hover {
        background: #04adc0;
        color: #fff;
    }

    .main-nav ul li.active a {
        /* background: #04adc0;
        color: #fff; */
    }
    
    .btn {
        display: inline;
    }
    
    .col2 {
        display: flex;
        flex-wrap: wrap;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 30px;
    }
    .col3 {
        display: flex;
        flex-wrap: wrap;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 30px;
    }
    
   form .col3 { 
       display: flex;
        flex-wrap: nowrap;
        display: grid;
       grid-gap: 10px
    }

    
    button.form-btn {
        width: 160px;
        margin-left: 10px;
    }

    .col4 {
        display: flex;
        flex-wrap: wrap;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-gap: 30px;
    }
    
     .col24 {
        display: flex;
        flex-wrap: wrap;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-gap: 30px;
    }
    
    .clients {
        display: flex;
        flex-wrap: wrap;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
     
    .feat-article {
       flex: 1 0 50%; 
    }
    
    .clients .item {
        flex: 1 0 16%;
    }
    
    .col2 .item, .col2 .feat-article  {
        flex: 1 0 50%;
    }
    
    .feat-article {
        display: flex;
        display: grid;
    }
    
    .feat-article .entry-thumbnail, .feat-article .entry-header {
       flex: 1 0 50%; 
    }
    
    .col2 .btn .item {
        display: block;
        min-width: 360px;
    }
    
    .col3 .item {
        flex: 1 0 33%;
    }
    
    .col4 .item {
        flex: 1 0 25%;
    }
    
    .col24 .item {
        flex: 1 0 25%;
    }
    
    .m100 {
        margin: 0px 100px;
    }
    
    .entry-thumbnail img {
        width: 160px;

    }
    
    .clients {
        text-align: center;
        margin: 0 auto;
    }
    
     .clients img {
        width: 152px;
        float: left;
        
    }
    
    form img {
        width: 200px;
    }
    
    .gallery img {
        padding:10px;
        width: 230px;
    }
    
    form .item input, form .item textarea  {
        width: 485px;
    }
    
    
    @supports (display: grid) {
          form img {
              width: 100%;
          }

          .clients img,
          .entry-thumbnail img {
              width: 100%
          }

          .gallery img {
              padding: 0px;
              width: 100%;
          }

          form .item input,
          form .item textarea {
              width: 100%;
          }

          .captcharow img {
              width: 100%;
              padding-right: 0px;
          }

          button.form-btn {
              width: 100%;
              margin-left: 0px;
          }

      }
}


