/*
Theme Name: millis
Description: Custom template based on HTML Reset Theme
Author: Oxy Creative
Version: 1.0
*/

/* A Linux- and Windows-friendly sans-serif font stack: http://prospects.mhurrell.co.uk/post/updating-the-helvetica-font-stack */
body {font: 13px Helmet, Freesans, sans-serif;}

/* Using local fonts? Check out Font Squirrel's webfont generator: http://www.fontsquirrel.com/tools/webfont-generator */

@font-face {
    font-family: 'Myriad Pro';
    src: url('_/inc/fonts/MyriadPro-BoldCond.woff2') format('woff2'),
        url('_/inc/fonts/MyriadPro-BoldCond.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima lt';
    src: url('_/inc/fonts/ProximaNova-Light.woff') format('woff');
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Bold';
    src: url('_/inc/fonts/ProximaNova-Bold.woff') format('woff');
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Regular';
    src: url('_/inc/fonts/ProximaNova-Medium.woff') format('woff');
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand Light Oblique';
    src: url('_/inc/fonts/QuicksandLightOblique-Regular.woff2') format('woff2'),
        url('_/inc/fonts/QuicksandLightOblique-Regular.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand Bold Oblique';
    src: url('_/inc/fonts/QuicksandBoldOblique-Regular.woff2') format('woff2'),
        url('_/inc/fonts/QuicksandBoldOblique-Regular.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand Light Regular';
    src: url('_/inc/fonts/QuicksandLight-Regular.woff2') format('woff2'),
        url('_/inc/fonts/QuicksandLight-Regular.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand Bold Regular';
    src: url('_/inc/fonts/QuicksandBold-Regular.woff2') format('woff2'),
        url('_/inc/fonts/QuicksandBold-Regular.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand Book Oblique';
    src: url('_/inc/fonts/QuicksandBookOblique-Regular.woff2') format('woff2'),
        url('_/inc/fonts/QuicksandBookOblique-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand Book';
    src: url('_/inc/fonts/QuicksandBook-Regular.woff2') format('woff2'),
        url('_/inc/fonts/QuicksandBook-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand Dash';
    src: url('_/inc/fonts/QuicksandDash-Regular.woff2') format('woff2'),
        url('_/inc/fonts/QuicksandDash-Regular.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}




/* We like off-black for text. */
body, select, input, textarea {color: #333;}

a {
    font-family: 'Myriad Pro';
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #69f;
}

/* Custom text-selection colors (remove any text shadows: http://twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #DA5600; color: #fff; text-shadow: none;}
::selection {background: #DA5600; color: #fff; text-shadow: none;}

/*  j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: transparent;}

ins {background-color: #DA5600; color: #000; text-decoration: none;}
mark {background-color: #DA5600; color: #000; font-style: italic; font-weight: bold;}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }

p {
    font-family: 'Proxima lt';
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 25px;
}

strong {
    font-family: 'Proxima Nova Bold';
}

h2 {
    font-family: 'Proxima Nova Bold';
    font-size: 32px;
    text-transform: uppercase;
    color: #DA5600;
    margin-bottom: 25px;
}

h5 {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: 'Proxima Nova Bold';
}

.center {
    text-align: center;
}

img.center {
    display: block;
    margin: 0 auto;
}

/*html.js {
    margin-top: 0 !important;
}*/


/* And here begins the WordPress fun.
-------------------------------------------------------------------------------*/

.wrapper {
    width: 100%;
    max-width: 1109px;
    padding: 50px 30px;
    margin: 0 auto;
}

html, 
body {
  height: 100%;
  min-height: 100%;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.admin-bar {
    height: calc(100vh - 32px) !important;
}

header {
    position: absolute;
    top: 30px;
    width: 100%;
}

h1.logo {
    float: left;
}

h1.logo a {
    text-indent: -999999px;
    display: block;
    background: url('../../uploads/2018/11/millis-mer-logo.png') center center / contain no-repeat;
    width: 200px;
    height: 54px;
}

.hero {
    position: relative;
}

.h-image li {
    height: 60vh;
    min-height: 560px;
}

.page-template-template-about .h-image li {
    background-position: bottom center !important;
}

/* Mobile Nav */

.sidenav-icon {
    font-size: 40px;
    float: right;
    padding-top: 20px;
    color: #FFF;
}

.sidenav {
    height: 100%;
    width: 0;
    position: absolute;
    z-index: 300;
    top: 0;
    left: 0;
    background-color: #DA5600;
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

#mySidenav ul {
    display: block;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    margin-top: 0 !important;
    text-align: center;
}

#mySidenav .menu li {
    display: block;
}

#mySidenav li {
    padding: 7px;
}

#mySidenav li .sub-menu li {
    padding: 0;
}

#mySidenav li a {
    padding: 0;
}

#mySidenav .menu .sub-menu {
    position: relative;
    top: 0;
    padding: 7px 0;
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
}

#mySidenav ul.sub-menu {
    display: none;
}

#mySidenav li.menu-item-has-children:hover ul.sub-menu {
    background-color: transparent;
    display: block;
    margin-top: 10px !important;
}


nav {
    float: right;
    margin-top: 30px;
}

nav ul .sub-menu {
    display: none;
}

nav ul li.menu-item-has-children:hover .sub-menu {
    display: block;
    position: absolute;
    top: 18px;
    width: 100%;
    padding-top: 10px;
}

nav ul .sub-menu li {
    width: 100%;
    display: block;
    padding: 0;
    margin-bottom: 7px;
}

nav ul li {
    display: inline-block;
    padding: 0 15px;
    position: relative;
}

nav li a {
    font-family: 'Proxima Nova Regular';
    font-size: 16px;
    text-transform: uppercase;
    color: #FFF;
}

nav ul li a:hover {
    font-weight: bold;
    color: #FFF;
    border-bottom: 3px solid #FFF;
}

body.home ul.social li:first-child a {
    display: none;
}

body.home article,
body.home footer {
    display: none;
}

.page-title,
.news-title,
.blog-title,
.portfolio-title {
    position: absolute;
    bottom: 30px;
    left: 115px;
    color: #FFF;
    font-size: 72px;
    letter-spacing: 3px;
    z-index: 9;
}

body.home .page-title {
    display: none;
}

h2.title.top {
    text-align: center;
    color: #DA5600;
    display: block;
    margin-bottom: 25px;
}

h2.title.top span {
    background-color: #FFF;
    position: relative;
    display: inline-block;
    z-index: 9;
    margin: 0 auto;
    padding: 0 15px;
}

h2.title.top:before {
    content: '';
    border-bottom: 3px solid #DA5600;
    display: block;
    position: relative;
    top: 17px;
    z-index: 2;
}

.column {
    display: inline-block;
    vertical-align: top;
}

.column.half {
    width: 48%;
}

.column.two.half {
    margin-left: 2%;
}

.column.one-fourth {
    width: 25%;
}

.column.three-fourth {
    width: 72%;
    margin-left: 2%;
}

body.page-id-2 .column.one-fourth {
    margin: 0 0 50px;
}

.column.one-third {
    width: 35%;
}

.column.two.one-third {
    margin-left: 4%;
}

.column.two-third.border {
    width: 58%;
    margin-left: 2%;
    margin-bottom: 35px;
}

.column.two-third {
    width: 60%;
}

.coolumn.two.two-third {
    margin-left: 4%;
}

ul.col-3 li {
    display: inline-block;
    vertical-align: top;
    width: 26%;
    margin-bottom: 45px;
    margin: 40px 20px 6px;
}

.column.border {
    border-top: 3px solid #DA5600;
    border-bottom: 3px solid #DA5600;
    padding-top: 23px;
}

section.company-slider-container {
    margin-top: 40px;
}

.show {
    display: block !important;
}

.bottom-bar .fancybox-content {
    background-color: rgba(0, 0, 0, 0.65);
}

.fancybox-content img {
    width: 100%;
    max-width: 350px;
    margin-bottom: 35px;
}

.fancybox-content {
    color: #FFF;
    width: auto;
    padding: 75px 30px;
    padding: 60px 60px 30px !important;
}

.flexslider {
    margin-bottom: 0;
}

.fancybox-content p {
    font-size: 22px;
    line-height: 30px;
}

.bottom-links ul {
    text-align: center;
}

.bottom-links ul li {
    display: inline-block;
    margin-left: 10px;
}

.bottom-links ul li:first-child {
    margin-left: 0;
}

#contact-form {
    margin-top: -13% !important;
}

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

.contact.info strong {
    font-size: 20px;
    color: #DA5600;
}

body.home .flexslider footer {
    display: block !important;
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translate(-50% , 50%);
    z-index: 9;
}

body.home .flexslider footer p {
    color: #FFF;
}

body.home .flexslider footer p a {
    color: #FFF !important;
}

body.home .flexslider li:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .25);
}

/* Contact Page */

.contact.info strong + p {
    margin-bottom: 5px;
}

ul.col-2 {
    display: block;
    margin-bottom: 210px;
    padding-bottom: 100px;
}

body.page-id-34 ul.col-2 {
    margin-bottom: 0;
    padding-bottom: 50px;
}

ul.col-2 a.button:hover {
    background-color: #c60000;
    color: #FFF;
}

ul.col-2 li {
    display: inline-block;
    width: 50%;
    float: left;
    position: relative;
}

ul.col-2 h2 {
    position: absolute;
    top: 24%;
    font-size: 30px;
    color: #FFF;
    left: 50%;
    transform: translate(-50% , 50%);
}

ul.col-2 li img {
    height: 250px;
    width: 100%;
}

body.page-id-34 ul.col-2 li {
    display: block;
    width: 100%;
    float: none;
    margin: 0 auto;
}

ul.col-2 a.button {
    background-color: #FFF;
    position: absolute;
    bottom: 17%;
    left: 50%;
    color: #000;
    width: 100%;
    max-width: 136px;
    transform: translate(-50% , 50%);
    font-size: 16px;
}

body.page-id-34 ul.col-2 li:first-child {
    background-image: url(images/about-slide-1-1.jpg);
    background-size: cover;
    height: 250px;
    background-repeat: no-repeat;
    background-position: center 88%;
}

/* Contact Form */

#gform_1 {
    max-width: 100%;
}

.gform_heading {
    display: none;
}

.gform_wrapper {
    margin-top: -22px !important;
}

ul.gform_fields li.gfield {
    margin-top: 0 !important;
    margin-bottom: -10px;
}

textarea#input_1_5 {
    height: 150px;
    border: 1px solid #000 !important;
}

input#input_1_1 {
    background-image: none !important;
}

div#__lpform_input_1_1 {
    display: none;
}

.gform_wrapper .gform_footer {
    background-color: transparent;
    color: #FFF;
    font-size: 24px;
    padding: 5px 20px;
}

.gform_footer.top_label {
    text-align: center;
}

input#gform_submit_button_1 {
    background-color: transparent;
    color: #000;
    font-size: 18px;
    text-transform: uppercase;
    padding: 5px 20px;
    float: left;
    font-family: 'Proxima Nova Bold';
    border: 1px solid #000 !important;
}

.gform_wrapper input {
    border: 1px solid #000 !important;
}



/* Subcontractors */

a.button {
    background-color: #000080;
    padding: 10px 0;
    display: block;
    margin: 50px auto;
    width: 100%;
    max-width: 600px;
    text-transform: uppercase;
    text-align: center;
    font-size: 24px;
    font-family: 'Proxima Nova Bold';
    color: #FFF;
}

.title-2 {
    font-weight: bold;
    font-size: 24px;
    text-transform: uppercase;
    font-family: 'Proxima Nova Bold';
    margin-bottom: 10px;
}

ul.info li {
    display: inline-block;
    vertical-align: top;
    width: 32%;
    text-align: left;
    align-items: center;
    margin: 0 8px 0 20px;
}

ul.center {
    text-align: center;
    display: block;
    margin: 0 auto;
}

ul.info li p:first-child {
    color: #DA5600;
    font-weight: bold;
    margin-bottom: 0;
}

a.email {
    color: #000;
    text-decoration: none;
}

ul.info strong {
    font-family: 'Proxima Nova Bold';
    font-size: 20px;
    display: block;
}

ul.info p:first-child {
    display: none;
}

ul.info li:first-child strong {
    margin-bottom: -20px;
    color: #DA5600;
    text-transform: uppercase;
}

ul.info li:last-child strong {
    color: #DA5600;
    text-transform: uppercase;
}

ul.info li:last-child a {
    font-size: 20px;
    margin-top: 5px;
    display: block;
    font-family: 'Proxima Nova Regular';
}

/* Flexslider */

.flexslider {
    margin: 0; 
    padding: 0; 
    width: 100%; 
    height: 100%;
    border: 0px; 
    overflow: hidden;
}

body.page .flexslider,
body.blog .flexslider,
body.archive .flexslider,
body.single .flexslider {
    max-height: 560px;
}

body.home .flexslider {
    max-height: 100% !important;
}

.flex-control-nav {
    display: none;
}

.flexslider .slides img {
    height: 100vh;
}

.flexslider .slides > li { 
  background-position: center;
  height: 100%;
  width: 100%;
  display: none; 
  -webkit-backface-visibility: hidden;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.flexslider-container, 
.flexslider .slides, 
.flex-viewport {
    height: 100%;
}

body.page .flexslider footer,
body.blog .flexslider footer,
body.archive .flexslider footer,
body.single .flexslider footer {
    display: none;
}

body.hone .flexslider footer {
    display: block;
}

/* Interior Pages */

/* Safety */

body.page-id-11 .caption {
    display: inline-block;
    float: left;
    margin-top: 15px;
    font-size: 24px;
    text-transform: uppercase;
}

body.page-id-11 .caption strong {
    color: #DA5600;
    font-family: 'Proxima Nova Bold';
    font-size: 24px;
    text-transform: uppercase;
}

body.page-id-11 a.email {
    display: inline-block;
    float: right;
    vertical-align: top;
    margin-top: 15px;
}

body.page-id-11 .column.one-third {
    margin-left: 4%;
}

body.page-id-11 article .column.one p:first-child {
    display: none;
}

/*body.page-id-9 article .wrapper {
    padding-bottom: 200px;
    display: block;
    margin-bottom: 135px;
}*/

/* Our Team */

ul.team {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

ul.team li {
    display: inline-block;
    vertical-align: top;
    width: 33%;
    position: relative;
    float: left;
}

ul.team span {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: block;
    color: #FFF;
    padding: 15px;
    width: 100%;
    text-transform: uppercase;
    font-family: 'Proxima Nova Bold';
    font-size: 24px;
    text-align: center;
}

ul.team img {
    width: 100%;
    display: block;
    height: 343px;
}

.services-boxes {
    float: left;
}

ul.col-4 {
    text-align: center;
    clear: both;
    display: block;
    margin: 0 auto;
}

ul.col-4 li {
    display: inline-block;
    float: left;
    position: relative;
    width: 25%;
}

ul.col-4 span {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translate(-50% , 50%);
    font-family: 'Proxima Nova Regular';
    text-transform: uppercase;
    font-size: 30px;
    line-height: 36px;
    width: 100%;
    background-color: #ffffffd9;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

/* Blog (News) */

body.blog article a strong span:hover {
    color: #c60000;
}

.news-title,
.blog-title,
.portfolio-title {
    display: none;
}

body.blog .page-title,
body.archive .page-title {
    display: none;
}

body.blog .news-title,
body.archive .blog-title,
body.post-type-archive-portfolio .portfolio-title {
    display: block;
}

body.post-type-archive-portfolio .blog-title {
    display: none;
}

.blog .wrapper #sidebar,
.archive .wrapper #sidebar,
.single .wrapper #sidebar {
    display: inline-block;
    vertical-align: top;
    float: right;
}

.blog aside#sidebar,
.single aside#sidebar,
.category aside#sidebar {
    width: 21%;
}

.blog .wrapper .news-posts,
.archive .wrapper .news-posts,
.single .wrapper .news-posts {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    max-width: 75%;
    padding-left: 20px;
    margin-top: 0;
}

body.blog article a strong,
body.single article a strong,
body.archive article a strong {
    font-size: 24px;
    font-family: 'Proxima Nova Bold';
    display: block;
    margin-bottom: 10px;
}

body.blog article a strong:before,
body.single article a strong:before,
body.archive article a strong:before {
    content: '';
    border-bottom: 3px solid #000;
    display: block;
    position: relative;
    top: 13px;
    z-index: 2;
}

body.blog article a strong span,
body.single article a strong span,
body.archive article a strong span {
    background-color: #FFF;
    position: relative;
    display: inline-block;
    z-index: 9;
    margin: 0 auto;
    padding: 0 15px 0 0;
}

.posted-data {
    font-size: 20px;
    font-family: 'Proxima Nova Bold';
    color: #DA5600;
    margin-bottom: 10px;
    display: block;
}

.posted-data a {
    color: #DA5600;
    font-family: 'Proxima Nova Bold';
}

a.read-more-blog {
    border: 1px solid #000;
    padding: 10px 20px;
    font-family: 'Proxima Nova Bold';
    font-size: 16px;
    text-align: center;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    float: right;
    margin-top: 20px;
    display: block;
}

body.blog article,
body.archive article {
    margin-top: 100px;
    display: block;
}

body.blog article:nth-child(2),
body.archive article:nth-child(2) {
    margin-top: 0;
}

body.archive h2.title.top {
    margin-bottom: -80px;
    display: block;
}

#links:first-child a {
    background-color: #DA5600;
    color: #FFF;
}

#links a {
    display: block;
    text-align: center;
    padding: 15px 0px;
    border: 1px solid #DA5600;
    width: 100%;
    max-width: 115px;
    margin: 0 auto 15px;
}

body.category-blog #links:first-child a {
    background-color: transparent;
    color: #DA5600;
}

body.category-blog #links:last-child a {
    background-color: #DA5600;
    color: #FFF;
}

body.page-id-2 .column.one-third {
    width: 39%;
}

body.page-id-2 .column.one-third img {
    height: 100%;
    max-height: 545px;
}

/* Footer */

footer {
    width: 100%;
    max-width: 1170px;
    display: block;
    margin: 0 auto;
    padding: 20px 50px;
}

footer p {
    font-size: 14px;
    font-family: 'Proxima lt';
    line-height: 20px;
}

footer .column.two {
    float: right;
}

ul.social {
    text-align: right;
    margin-bottom: 10px;
}

footer ul.social li {
    display: inline-block;
}

footer ul.social li:first-child {
    margin-right: 10px;
}

/* Careers */

.col-4-about {
    width: 100%;
    max-width: 40%;
    float: left;
}

.col-4-about h3 {
    font-size: 30px;
    color: #DA5600;
    font-weight: bold;
    margin-bottom: 5px;
}

.col-4-about p {
    font-size: 20px;
    color: #000;
    margin-bottom: 50px;
    line-height: 28px;
    font-family: 'Proxima lt';
}

.col-3-about {
    width: 100%;
    max-width: 30%;
    margin-left: 5%;
    float: left;
}

.col-3-about h3 {
    font-size: 30px;
    color: #DA5600;
    font-weight: bold;
    text-align: center;
}

div .highfive {
    width: 100%;
    padding: 40px;
}

.col-3-about:last-child {
    width: 100%;
    max-width: 20%;
}

.form-container {
    width: 100%;
    margin-top: -10px;
}

.col-5-form {
    width: 50%;
    float: left;
}

.col-5-form2 {
    width: 50%;
    float: left;
    padding: 15px 30px;
    height: 380px;
}

.col-5-form2 h3 {
    font-size: 30px;
    color: #DA5600;
    font-weight: bold;
}

.about-container {
    width: 100%;
    margin: 50px 0px;
    text-align: center;
    position: relative;
}

.about2-container {
    width: 100%;
    display: inline-block;
}

div .testimonial-slider {
    box-shadow: none;
}

div .testimonial-slider p {
    margin-top: 20px;
    font-size: 20px;
    line-height: 28px;
    font-family: 'Proxima lt';
}

.employee-title {
    width: 100%;
    display: block;
    flex-direction: column;
    text-align: right;
    padding-right: 5px;
}

div .testimonial-slider h3 {
    font-size: 20px;
    color: #DA5600;
    font-weight: bold;
    float: right;
    text-transform: uppercase;
    margin: 0px;
    display: block;
    width: 100%;
}

div .testimonial-slider h4 {
    font-size: 16px;
    text-transform: uppercase;
    font-style: italic;
    float: right;
    display: block;
    width: 100%;
}

.slides:after {
    content: "\0020";
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

div .testimonial-slider .flex-control-nav {
    bottom: 10px;
    position: absolute;
    text-align: center;
    background: none;
}

div .testimonial-slider .flex-control-nav li {
    margin: 5px;
}

div .testimonial-slider .flex-control-nav li a {
    margin: 2px;
    height: 20px;
    border-radius: 20px;
    background: none;
    width: 20px;
    border: 1px #333 solid;
}

div .testimonial-slider .flex-direction-nav {
    z-index: 1200 !important;
    position: absolute;
    bottom: 10px;
    height: 34px;
    width: 100%;
}

div .testimonial-slider .flex-direction-nav a {
    background: none;
    color: transparent;
    opacity: 1;
    margin-top: -14px;
    font-size: 20px;
}

div .testimonial-slider .flex-direction-nav .flex-prev {
    left: 27%;
}

div .testimonial-slider .flex-direction-nav a:before {
    color: #000;
    font-size: 38px;
}

div .flex-prev {
    z-index: 1200 !important;
}

div .testimonial-slider .flex-direction-nav .flex-next {
    right: 27%;
}

div .testimonial-slider .flex-direction-nav a:before {
    color: #000;
    font-size: 38px;
}

div .testimonial-slider .flex-control-nav li a {
    margin: 2px;
    height: 20px;
    border-radius: 20px;
    background: none;
    width: 20px;
    border: 1px #333 solid;
}

body.page article .flex-control-nav {
    display: block;
}

div .testimonial-slider .flex-control-paging li a.flex-active {
    background: #DA5600;
}

.fancybox-content {
    background: #FFF;
}

article#post-204 {
    padding-bottom: 150px;
    margin-bottom: 150px;
}

article#post-204 .wrapper {
    padding-bottom: 150px;
}

div .testimonial-slider {
    overflow: visible;
}

/* Print styles!
-------------------------------------------------------------------------------*/
@media print {

}

@media only screen and (min-width: 1200px) {


}

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


    div .testimonial-slider .flex-direction-nav .flex-prev {
        left: 15% !important;
    }

    div .testimonial-slider .flex-direction-nav .flex-next {
        right: 15% !important;
    }

    div .testimonial-slider .flex-control-nav,
    div .testimonial-slider .flex-direction-nav {
        bottom: -40px;
    }

    body.archive .left-nav {
        max-width: 33%;
    }

    body.archive .portfolio-examples {
        max-width: 65%;
    }

    body.archive .portfolio-single .box-image {
        height: 165px;
    }

}

@media screen and (max-width: 1010px) {

    h1.logo {
        float: none;
    }

    h1.logo a {
        margin: 0 auto;
    }

    nav {
        float: none;
        margin: 30px auto;
        display: block;
        text-align: center;
    }

    ul.team li img {
        height: 290px;
    }

}


@media screen and (max-width: 950px) {

    body.page-id-11 .caption,
    body.page-id-11 .caption strong {
        font-size: 18px;
    }

    .col-3-about {
        max-width: 40%;
    }

    .col-3-about:last-child {
        max-width: 40%;
        text-align: center;
    }

    .col-3-about:last-child img {
        max-height: 300px;
    }

}


@media screen and (max-width: 863px) {

    body.page-id-2 .column.one-fourth img {
        margin-top: 50px;
    }

    div.col-4-about {
        max-width: 100%;
        margin: 0;
    }

    div.col-3-about {
        max-width: 100%;
        margin: 0;
        text-align: center;
    }

    .col-3-about img {
        max-height: 300px;
        width: auto;
    }

    div.col-3-about:last-child {
        max-width: 100%;
    }

    .col-5-form, .col-5-form2 {
        width: 100%;
        padding: 0;
        height: auto;
    }

    .col-5-form:before {
        content: 'For inquiries about open positions, please fill out the contact form below.';
        display: block;
        font-size: 20px;
        color: #000;
        font-weight: bold;
        margin-bottom: -10px;
        line-height: 28px;
        font-family: 'Proxima lt';
        margin-top: 30px;
    }

    .col-5-form2 h3 {
        margin-top: 30px !important;
    }

    article#post-204 .wrapper {
        padding-bottom: 300px;
        margin-bottom: 250px;
    }

    div .testimonial-slider .flex-control-nav,
    div .testimonial-slider .flex-direction-nav {
        bottom: -80px;
    }

    body.archive .left-nav,
    body.archive .portfolio-examples {
        max-width: 100%;
        float: none;
        display: block;
        margin: 0 auto;
    }

    body.archive .left-nav h2 {
        text-align: center;
    }

    body.archive .left-nav {
        margin-bottom: 35px;
    }

    ul.team li img {
        height: 250px;
    }   

    ul.team span {
        font-size: 18px;
    }

}


@media screen and (max-width: 760px) {

    body.page-id-11 .caption {
        float: none;
        display: block;
        text-align: center;
    }

    body.page-id-11 a.email {
        float: none;
        display: block;
        text-align: center;
    }

    ul.team li img {
        height: 210px;
    }

}

@media screen and (max-width: 715px) {

    body.page-id-34 article .column {
        width: 100% !important;
        margin: 0 auto !important;
    }

    body.page-id-34 .column.two {
        margin-top: 35px !important;
    }

    ul.team {
        display: block;
    }

    ul.team li {
        width: 50%;
        display: block;
        margin: 0 auto;
    }

    ul.team li img {
        height: 300px;
    }

}

@media screen and (max-width: 670px) {

    nav ul li {
        padding: 0;
        margin: 0 1%;
    }

    body.page-id-2 h2.title {
        text-align: center;
    }

    body.page-id-2 ul.col-3 li {
        width: 37%;
    }

    body.page-id-11 .column {
        width: 100% !important;
        display: block;
        margin: 0 auto !important;
    }

    .col-5-form2 {
        margin-bottom: 25%;
    }

    div .testimonial-slider .flex-control-nav, div .testimonial-slider .flex-direction-nav {
        bottom: -50px;
    }
 }

 @media screen and (max-width: 640px) {

    ul.team li img {
        height: 275px;
    }

    .h-image li {
        min-height: auto;
    }

 }

@media screen and (max-width: 599px) {

    nav {
        display: none;
    }

    ul.info li {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0 auto;
    }

    .sidenav {
        height: 800px;
        display: flex;
        flex-direction: column;
    }

    .sidenav a {
        align-self: center;
        color: #fff !important;
    }

    .page-title {
        font-size: 42px;
    }

    body.archive .portfolio-single .box-image {
        height: 130px;
    }

    ul.team li img {
        height: 210px;
    }

    body.page .flexslider,
    body.blog .flexslider,
    body.archive .flexslider,
    body.single .flexslider {
        max-height: 350px;
    }

    .h-image li {
        height: 350px;
    }

    .bio-pop .left,
    .bio-pop .right {
        max-width: 100% !important;
        border-top: none;
        border-bottom: none;
    }

    .fancybox-content img {
        max-width: 100%;
    }

    ul.team li img {
        height: 210px;
    }

    .bio-pop .right {
        margin-top: 35px;
    }

    .bio-pop h2, .bio-pop h3 {
        font-size: 28px !important;
    }


} 

@media only screen and (min-width: 600px) {

    .sidenav {
        display: none;
    }

    .sidenav-icon {
        display: none !important;
    }

}

@media screen and (max-width: 530px) {

    footer .column {
        width: 100%;
        display: block;
        float: none;
        text-align: center;
        margin: 0 auto;
    }

    ul.social {
        text-align: center;
    }

    footer .column.one {
        margin-bottom: -10px;
    }

    body.archive .portfolio-single .box-image {
        height: 100px;
    }

    body.home .flexslider footer {
        bottom: 100px;
    }

}

@media screen and (max-height: 530px) {

    .flex-direction-nav a {
        top: 60%;
    }
}

@media only screen and (max-height: 750px) {

    .flexslider:hover .flex-prev,
    .flexslider:hover .flex-next {
        top: 50% !important;
    }
}

@media screen and (max-width: 506px) {

    body.page-id-2 .column {
        width: 100% !important;
        margin: 0 auto 30px !important;
    }

    body.page-id-2 .column.one-fourth {
        width: 60% !important;
        display: block;
    }

    .page-title {
        font-size: 30px;
        left: 50%;
        transform: translate(-50% , 50%);
    }

}

@media (max-width: 767px) and (min-width: 481px) {

    

}

@media screen and (max-width: 465px) {

    h1.logo a {
        width: 100%;
        max-width: 295px;
        height: 42px;
    }

    ul.team li {
        width: 100%;
        float: none;
    }

    body.archive .portfolio-single .box-image {
        height: 90px;
    }

    ul.team li img {
        height: 343px;
    }

}


/* Media queries!
-------------------------------------------------------------------------------*/

/* Always do mobile-first, and consider using em units: http://blog.cloudfour.com/the-ems-have-it-proportional-media-queries-ftw

@media screen and (min-width: 480px) {

} */
