/* Concrete logged in */
.ccm-toolbar-visible #c5 header, .ccm-toolbar-visible #c5 .mobile-menu {
    margin-top: 47px;
}

.center	{
    max-width:1400px;
    margin:0 auto;
}

#custom-layouts #custom-layout table td {
    padding: 0.1rem 0;
}

.clear {
    clear: both;
}

.ccm-panel-detail {
    display: block !important;
}

html {
    font-size: 1vw;
    overflow-x: hidden;
}

#c5 * {outline:0;}

#c5 .table {display:table;}
#c5 .table-cell {display:table-cell;vertical-align:middle;}

#c5 h1,#c5 h2,#c5 h3,#c5 h4,#c5 h5,#c5 h6  {
    font-weight: 100;
    text-transform: uppercase;
}

#c5 h1 {
    font-size: 4em;
    line-height: 1;
}

#c5 h2 {
    font-size: 3.2em;
    line-height: 1.2em;
}

#c5 h3{
    font-size: 1.8em;
}

#c5 h4 {
    font-size: 1.3em;
}

#c5 .learn-more-block h4 {
    font-weight: normal;
    margin: 0 0 -2rem 0;
}

header {
    overflow: hidden;
    background: #fff;
}


.ccm-menu-item-hover,
.ccm-menu-item-hover:hover {
    border: 1px solid #b5eeb5;
}

footer {
    /*! position:relative; */
    /*! background: #fff; */
}

body {
    margin: 0;
}

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

p {
    margin: 1.1rem 0;
}

.all-content {
    color: #333;
    height: 100%;
    padding: 0;
    position: relative;
    width: auto;
    box-shadow: rgba(0,0,0,0.34) 1px -2px 3px 0px;
}

.ccm-panel-add-block-set header {
    background:transparent;
}

div#ccm-panel-add-block div.ccm-panel-add-block-set header {
    line-height: 20px;
}


#c5 {
    font-family: 'acumin-pro';
}

#c5 .default-learn-more {
    z-index: 15;
}

#c5 img {
    border: none;
}

#c5 textarea {
    font-family: 'acumin-pro';
}

/* general content styles */
#c5 main{
    z-index: 1;
    color: #fff;
    line-height: 2;
    font-weight: 400;
    padding: 5rem 0;
    overflow-x: hidden;
}

#c5 .main-container-bg {
    background: #000 url(../img/hero_bg2.jpg) no-repeat;
    background-size: 100% 100%;
    background-position: bottom center;
    background-color: #000;
    position: relative;
}

#c5 main > section {
    position: relative;
}
#c5 .content-block {
    position: relative;
    z-index: 1;
    padding:2rem;
}

#c5 .ishome .main-container-bg {
    background-size: 100% 58%;
    padding: 0;
}

#c5 .ishome main {
    padding: 0;
}

#c5 a {
    text-decoration: none;
}

/* header styles */
#c5 nav ul li:before {
    content: '';
    padding: 0;
}
#c5 .logo {
    margin-left: 0.5rem;
}

#c5 nav ul  {
    text-align: right;
    margin: 0;
}

#c5 nav ul li {
    width: auto;
    padding: 3.5rem 0rem;
    color: #000;
}

#c5 nav ul li > a {
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    padding: 3.5rem 1rem;
}
/* hover and selected */

#c5 nav ul li:hover, nav .nav-selected , .mobile-menu .nav-selected {
    background: #B61B1B;
    transition: background-color .5s ease-in-out;
}

#c5 nav ul li:hover > a ,  #c5 nav .nav-selected > a, #c5 .mobile-menu .nav-selected > a {
    color: #fff;
    transition: color .5s ease-in-out,background-color .5s ease-in-out;
}


/* footer styles */

#c5 footer {
    margin: 0 2rem;
}

#c5 footer .ctc-info {    
     padding-top: 3rem;
      }  
      
#c5 footer .ctc-info a {   
    color: rgb(0, 0, 0); 
    }

#c5 footer .content-block {
    padding: 0;
}
#c5 .footer-row {
    border-bottom: 1px solid #333;
    padding: 3rem 0.5rem;
    margin: 2rem 0;
    background: #fff;
    color: #000;
    font-weight: 300;
}

#c5 .footer-row h4 {
    text-align: center;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding-top: 4rem;
    font-weight: 600;

}

/* footer menu  */
#c5 ul li {
    list-style-type: none;
    padding: 0.7rem 0;
    width: 50%;
    display: inline-block;
}

#c5 ul li:before {
    content: '>';
    padding-right: 0.6rem;
    color: #111;
}

#c5 ul  li > a {
    text-decoration: none;
    color: #111;
    font-size: 0.9rem;
}

#c5 .social-nav-block {
    padding-left: 0;
    padding-top: 1rem;
}

#c5 .social-nav-block ul li:before {
    content: '';
    padding: 0;
}

#c5 .social-nav-block ul {
    padding: 0;
}

#c5 .social-nav-block ul li {
    background: #000;
    display: inline-block;
    padding: 0.5rem;
    border-radius: 50%;
    width: auto;
    color: #fff;
    line-height:0;
    min-width: 19px;
    text-align: center;
}

#c5 .social-nav-block ul li a {
    font-size: 1.3rem;
    color: #fff;
}

#c5 .mobile-menu .social-nav-block:last-of-type {
    margin-bottom: 3rem;
    margin-top: -2rem;
}

#c5 .no-margin > .red-section {
    margin: 0;
}

/* inline copyright */

#c5 .copyright , #c5 .website-by {
    display: inline-block;
    color: #666;
    padding: 0 0.5rem;
    font-weight: 300;
}

#c5 .copyright-container {
display: inline-block;
}

#c5 .website-by {
    float: right;
    margin-top: -1rem;
}

#c5 .copyright > a , #c5 .website-by > a {
    color: #666;
}

/* hamburger menu */

#c5 .hamburger, #c5 .cross{
    color: #fff;
    background: #B61B1B;
    right: 0;
    line-height: 2.6rem;
    border: 0;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    z-index: 9999;
    font-size: 2.5rem;
    padding: 2rem 2rem;
    top: 0;
}

#c5 .slide-left {
    left: -46%;
}

#c5 .mobile-menu{
    background: #fff;
    height: 100%;
    overflow-y: scroll;
    position: absolute;
    padding: 0 0 0.5rem 0;
    top: 0;
    width: 46%;
    right: -47%;
    box-shadow: rgba(0,0,0,0.3) 1px 6px 2px 2px;
}
#c5 .mobile-menu ul {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
#c5 .mobile-menu .nav li:before {
    content: '';
    padding: 0;
}
#c5 .mobile-menu .nav li {
    display: block;
    width: 100%;
    padding: 0;
    border-bottom:#dadada 2px solid;
}

#c5 .mobile-menu .nav li:first-child {
    /* padding-top: 2rem; */
}

#c5 .mobile-menu .nav li:hover{
    display: block;
    background: #B61B1B;
}


#c5 .mobile-menu > ul li a {
    text-decoration:none;
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.6rem 1rem;
    display: block;
}


#c5 .mobile-menu .nav li:hover > a {
    color: #fff;
}

#c5 .mobile-menu a{
    text-decoration:none;
    color: #000;
}


/* Hide mobile menu on initial load */
#c5 .cross, #c5 .mobile-button-container  {
    display: none;
}


#c5 .mobile-menu .social-icon {
    padding: 1rem;
    text-align: center;
    margin-right: 0.8rem;
    margin-top: 1.5rem;
    width: 2rem;
    height: 2rem;
}

#c5 .mobile-menu .links {
    text-align: center;
}

#c5 .mobile-menu .links .social-icon a {
    font-size: 2rem;
}

#c5 .social-icon:hover {
    background: #333;
}

#c5 .mobile-menu .contact-numbers, #c5 .mobile-menu .content-block {
    display: none;
}

/* code without annoying bar in the way */
.ccm-toolbar-visible body {
    margin-top: 45px;
}


.ccm-toolbar-visible #c5 .first-red-cont {
    margin-bottom: 0rem;
}

#c5 .center-underlap-img {
    display:block;
    margin:0 auto;
}

/* home page video */

.video-container img {
    display: none;
}

#c5 .video-container {
    position: relative;
}

#c5 .video-container video {
    margin-bottom: -21rem;
    position: relative;
    /* Because IE */
    width: 100% !important;
}


#c5 .fade-black {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    height: 100%;
    bottom: 0;
    margin-top: 19.2rem;
    background: transparent;
    background: -webkit-linear-gradient(bottom,  rgba(0,0,0,0.0),  #000);
    background: -o-linear-gradient(bottom,  rgba(0,0,0,0.0),  #000);
    background: -moz-linear-gradient(bottom,  rgba(0,0,0,0.0),  #000);
    background: linear-gradient(to bottom,  rgba(0,0,0,0.0),  #000);
}

/* error success messages */
div.alert-success {

    margin: 0 auto;
    background: #4CAF50 !important;
    border-radius: 2px;
}


div.alert-error,
div.alert-danger {
    border: 1px solid #C6323F !important;
    background-color:  #C6323F !important;
    margin: 0 auto;
    border-radius: 2px;
}


#c5 .alert {
    width: 93%;
    margin: 0;
}

/* learn more content block */

#c5 .red-container, #c5 .states-serviced, #c5 .large-slide-container  {
    background: #B71B28;
    padding: 3rem 4rem 5rem 4rem;
    line-height: 2em;
    color: #fff;
    overflow: auto;
}

#c5 .large-slide-container {
    background: transparent;
}

#c5 .states-serviced {
    background: transparent;
}

#c5 .red-container h2, #c5 .states-serviced h2 {
    font-weight: 100;
    text-transform: uppercase;
    font-size: 4rem;
}


#c5 .default-learn-more .sub-title h2  {
    font-size: 2.6rem ;
}

#c5 .black-button, #c5 .red-button {
    transition: background-color .2s ease-in-out;
    padding: 1.5em 4.5em;
    background: #000;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #fff;
    display: inline-block;
}

#c5 .red-button {
    background: #B71B28;
}


#c5 .red-button:hover, #c5 .form-stacked input[type='submit']:hover {
    transition: background-color .2s ease-in-out;
    background: #d73B48;
}

#c5 .black-button:hover {
    background: #111;
}

#c5 .default-learn-more .content-area {
    margin-bottom: 5rem;
}

#c5 .giant-text, #c5 h2.giant-text {
    line-height: 0.5;
    font-size: 25rem;
    font-weight: 900;
    font-style: italic;
    text-align: center;
    margin: 0 auto;
}

#c5 .years-experience {
    padding: 6rem 2rem;
    margin-top: -2rem;
}


#c5 .learn-more-block  .content-area {
    margin-bottom: 2rem;
}

/* Slick Slider */

#c5 section.red-section {
    position:relative;
    z-index:1;
    background-color:transparent;
    padding:0;
}

#c5 section.red-section > .center {
    background-color:#B71B28;
    display:table;
    max-width: 1200px;
    padding: 4rem 0;
}

#c5 section.red-section > .center > .col {
    position:relative;
    z-index:1;
    display:table-cell;
    vertical-align: middle;
    float:none;
}


#c5 .red-section h2 {
    font-size: 2.7rem;
    margin: 1rem 0rem 0rem 0rem;

}

#c5 .red-section h4, #c5 .red-section h2  {
    margin: 0;
}

#c5 .brand-slider-block {
    padding: 4rem;
}

#c5 .first-red-cont {
    margin-bottom: -12rem;
}

#c5 .brand-slider-block .name  {
    text-align: center;
    font-size: 4rem;
    font-weight: 100;
    overflow: hidden;
    line-height: 1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

#c5 .brand-slider-block, #c5 .years-experience {
    margin: 0 auto;
    max-width: 85rem;
}


#c5 .years-experience {
    margin: -6.6rem auto 0 auto;
}

#c5 .slider {
    width: 95%;
    margin: 0 auto;
}

#c5 .slider ul {
    margin: 0 auto;
    padding: 0;
}


#c5 .slider ul li {
    list-style: none;
    width: auto;
}

#c5 ul.ccm-edit-mode-inline-commands li:before, #c5 .slider ul li:before , #c5 .large-slider ul li:before {
    display: none;
}

.slick-slide img {
    margin: 0 auto;
}

.slick-prev, .slick-next {
    background: url(../svg/slider-arrow.svg) no-repeat;
    color: transparent;
    border: 0;
}

.slick-prev {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    /* IE cant rotate properly */
    -ms-filter: "FlipH";
}


.slick-next, .slick-prev {
    top: 50%;
    position: absolute;
    line-height: 2rem;
    margin-top: -1rem;
}
.slick-next:hover , .slick-prev:hover {
    cursor: pointer;
}

#c5 .slick-prev {
    left: -3.8rem;
}

#c5 .slick-next {
    right: -2.8rem;
}

/* Page title banner */
#c5 .page-title {
    height: 23rem;
    background-size: cover;
    position: relative;
    margin: 0 auto;
    background-attachment: fixed;
}

#c5 .title-container {
    width: 41%;
    margin: auto;
    background: #BF1E2D;
    text-align: center;
    padding: 2rem 3rem;
    color: #fff;
    position: absolute;
    top: 30%;
    transform: translateY(0%);
    left: 0;
    right: 0;
}

#c5 .title-container h1 {
    margin: 0.5rem 0;
}

#c5 .slide > a, #c5 .slick-slide > a {
    width: 15rem;
    height: 15rem;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: .4s ease-in-out;
    display: block;
    background: #fff;
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
}

#c5 .slide:hover > a,  #c5 .slick-slide:hover > a {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

#c5 .slide a img,  #c5 .slick-slide a img  {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

#c5 .slide > span, #c5 .slick-slide > span {
    width: 15rem;
    height: 15rem;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: .4s ease-in-out;
    display: block;
    background: rgb(255, 255, 255);
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
}

#c5 .slide:hover > span,  #c5 .slick-slide:hover > span {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

#c5 .slide span img,  #c5 .slick-slide span img  {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

/* Home page content */

#c5 .center-underlap-img {
    text-align: center;
    margin-top: -8rem;
    position: relative;
    display: block;
    margin: 0 auto;
}

#c5 .center-underlap-img img {
    margin: 0 auto;
    display: block;
}


#c5 .red-section {
    padding: 2rem 4rem 1rem 4rem;
    background: #B71B28;
    color: #fff;
}

/* underlapping tall image */

#c5 .layout-two-column .shift7-full img.ccm-image-block {
    margin-top: -18rem;
    position: relative;
}

/* about page */

#c5 .center-image img {
    width: 100%;
}

/* Form styles */

#c5 .form-stacked .fields {
    max-width: 49.5rem;
    margin: 0 auto;
    padding-left: 2.5rem;
}


#c5 .field-date,#c5 .form-stacked .field-text, #c5 .form-stacked .field-telephone, #c5 .form-stacked .field-email {
    width: 47%;
    float: left;
    margin-right: 3%;
    min-height: 6.2em;
}

.form-stacked input.form-control  {
    width: 95%;
    border-radius: 0;
    min-height: 3.5rem;
    border: 0;
    padding: 0 1%;
}


#c5 .field-date input.ccm-input-date {
    width: 94% !important;
    min-height: 3.5rem;
    margin: 0;
    padding: 0 2%;
}


#c5 .form-stacked textarea {
    width: 94.3%;
    border-radius: 0;
    min-height: 9rem;
}

#c5 .form-actions {
    max-width: 49.5rem;
    margin: 0 auto;
    padding-left: 2.5rem;
}

#c5 .form-stacked input[type='submit']{
    background: #BF1E2D;
    border: 0px;
    color: #fff;
    margin-top: 1.2rem;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 1.5rem;
    width: 96%;
    -webkit-appearance: none;
    /*! margin: 1.2rem auto 0 auto; */
}

#c5 .ishome .form-stacked .fields, #c5 .ishome .form-actions {
    margin-right: auto;
}


#c5 .form-group label {
    font-weight: 200;
    font-size: 0.8rem;
    padding: 0.5rem 0 0.5rem 0;
    display: block;
}

#c5 .form-section-title {
    background: #BF1E2D;
    text-align: center;
    padding: 2.2rem 1rem;
    margin: 2rem 2rem 2rem 0;
}


#c5 .form-section-title h2 {
    margin: 0;
}


#c5 .middle-name-field {
    display: none;
}

#c5 .field-select select {
    width: 98%;
    border-radius: 0;
    min-height: 3.5rem;
    height: 3.5rem;
    padding: 0 1%;
    font-weight: 600;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: "";
    background: #fff url('../img/arrows.png') 97% 50% no-repeat;
}


#c5 .select2-container .select2-choice .select2-arrow b {
    display: block;
    width: 100%;
    height: 100%;
    background: url('/application/themes/mega_fleet_corp/img/arrows.png') no-repeat 0 50%;
}

#c5 .select2-choice {
    padding: 1.75rem 0;
    border-radius: 0px !important;

}

#c5 .select2-container {
    width: 97%;
}
#c5 .select2-container .select2-choice .select2-arrow {
    width: 2rem;
    border-color: transparent;
}


#c5 .form-stacked {
    padding: 2rem 0 4rem 0;
}


#c5 .field-select {
    width: 47%;
    float: left;
    margin-right: 3%;
    min-height: 6.2em;
}

/* clear the text box since they are full width */
#c5 .field-textarea:before {
    content: '';
    display: block;
    clear: both;
}
/* to top arrow */
#c5 #toTop {
    position: absolute;
    bottom: -2.2rem;
    height: 5rem;
    width: 5rem;
    left: 50%;
    right: 0;
    border-radius: 50%;
    background: RGB(191, 30, 45) url(../svg/return-top-arrow.svg) no-repeat;
    background-size: 58% 100%;
    background-position: center;
    margin-left: -2.45rem;
}

#c5 #toTop:hover {
    cursor: pointer;
}

/* Locations Page */

#c5 .location-block {
    overflow: auto;
}

#c5 .location-info {
    margin: 0.5rem 0;
}

#c5 .map-container > .map {
    width: 90%;
    height: 15rem;
    margin: 0 auto;
}

#c5 .location-info h4, #c5 .location-info p {
    margin: 0;
}

#c5 .location-info h4 {
    font-weight: 300;
}
/* centered map template */
#c5 .location-centered .map-container > .map {
    height: 20rem;
}

#c5 .location-centered .location-info {
    display: table;
    float: none;
}


#c5 .location-centered  .location-info > div {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
    float: none;
}

#c5 .location-info  a {
    color: #fff;
}


@media(min-width: 600px) {
    #c5 .location-centered  .map-container > .map {
        width: 90%;
        height: 16rem;
        margin: 0 auto;
        float: right;
        max-width: 33rem;
        margin-right: 3rem;
    }
}

@media(max-width: 600px) {

    #c5 .location-centered  .location-info {
        display: block;
    }

    #c5 .ishome .form-section-title {
        margin: 2rem 1rem 2rem 0rem;
    }

    #c5 .form-section-title {
        margin: 2rem 1rem 2rem 0;
    }

    #c5 .location-centered .location-info > div {
        display: block;
        float: left;
    }
}

/* 404 page */
.not-found {
    text-align: center;
}

.not-found h2 {
    margin: 0;
}

.not-found a {
    color: #fff;
}

/* PDF Preview section */

#c5 .pdf-preview-block .preview-image {
    position: relative;
    display: inline-block;
}

#c5 .pdf-file ,#c5 .pdf-hover {
    position: absolute;
}

#c5 .preview-image .pdf-hover{
    top: 0;
    right: 0;
    left: 0;
    bottom: 0.5rem;
    text-align: center;
    transition: background-color .4s ease-in-out;
}

#c5 .pdf-preview-block {
    text-align: center;
    padding: 1rem;
}



#c5 .preview-image:hover .pdf-hover{
    background: rgba(0,0,0,0.8);
}

#c5 .pdf-file {
    background: #BF1E2D url(../svg/cross.svg) no-repeat;
    height: 3rem;
    width: 3rem;
    right: 1.5rem;
    bottom: 1.5rem;
    border-radius: 50%;
    background-size: 66% 100%;
    background-position: center;
    transition: .5s ease-in-out;
    z-index:99;
}


#c5 .pdf-file:hover {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

#c5 .slides {
    overflow-x: hidden;
}

#c5 .no-padding {
    padding: 0;
}

/* form styles */


.ccm-panel-ready #c5 .track-shipment , .ccm-panel-ready #c5 .insurance-request, .ccm-panel-ready #c5 .rates-request {
    display: block !important;
}

.select2-container .select2-choice > .select2-chosen {
    margin-top: -1.025rem;}


#c5 .tabbed-forms .track-shipment {
    display: block;
}

#c5 .form-title {
    text-align: center;
}

#c5 .form-tab {
    padding: 1.5rem 2rem;
    width: 22%;
    float: left;
    text-align: center;
    margin-right: 0.5rem;
    background: #B71B28;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0px;
    position: relative;
    cursor:pointer;
}

#c5 .home-tabs {
    max-width: 49.5rem;
    margin: 5rem auto -1rem auto;
    padding-left: 0rem;
    position: relative;
    width: 100%;
}

#c5 .home-tabs li:before {
    content: '';
    padding: 0;
}

#c5 .home-tabs .tab-active:before{
    width: 0;
    height: 0;
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-top: 17px solid #B71B28;
    left: 42%;
    top: 100%;
    bottom: 0;
    position: absolute;
    border-radius: 0px;
    display: inline-block;
    padding: 0;
    line-height: 20rem;
}

#c5 .home-tabs .tab-active:after {
    display: inline-block;
}

#c5 .side-form-img {
    display: none;
}

#c5 .form-stacked .fields, #c5 .form-actions {
    padding: 0;
}



#c5 .ishome .rates-forms-first, #c5 .ishome .form-section-title  {
    display: none;
}

#c5 .ishome .show-title {
    display: block;
}

/* hiding forms */
#c5 .tabbed-forms  form { display: none; }

#c5 .less-width {
    max-width: 1200px;
    margin: 0 auto;
}
/* media queries */

@media(min-width: 1900px) {
    #c5 .slide > a, #c5 .slick-slide > a {
        width: 230px; /* pixel because it gets to big after a while */
        height: 230px;
    }

    #c5 .slide > span, #c5 .slick-slide > span {
        width: 230px; /* pixel because it gets to big after a while */
        height: 230px;
    }
}

@media(min-width: 1885px) {
    #c5 .red-container .sub-title h2, #c5 .states-serviced .sub-title h2 {
        font-size: 3rem;
    }
}

@media(min-width: 1600px) {
    html {
        font-size: 0.85vw;
    }
    #c5 .logo-container {
        position: relative;
    }
    #c5 .logo-container img {
        position: absolute;
        top: 0.6rem;
        bottom: 0.5rem;
        left: 2rem;
    }

    #c5 .form-tab {
        margin-right: 0.5rem;

    }

    #c5 .tabbed-forms > ul, #c5 .tabbed-forms > div {
        padding-left: 4%;
    }
}


@media(max-width: 1400px) {
    #c5 main {
        padding: 4rem 2rem;
    }
}

@media(max-width: 1200px) {
    html {
        font-size: 1.3vw;
    }

    #c5 .form-tab {
        width: 23%;
    }
}

@media(max-width: 1200px) {
    #c5 nav ul li > a {
        padding: 3.5rem 0.7rem;
    }

}

@media(max-width: 950px) {
    .main-nav {
        display: none;
    }
    .no-scroll {
        overflow: hidden;
    }

    #c5 .mobile-button-container {
        display: block;
        float: right;
        /*! margin-right: -0.3rem; */
    }

    #c5 header {
        position: fixed;
        top: 0;
        right: 0;
        left:0;
        z-index: 9;
    }

    #c5 .mobile-menu {
        position:fixed;
        top: 0;
    }

    #c5 .red-container, #c5 .states-serviced {
        text-align: center;
    }
    #c5 .mobile-menu {
        display: block;
    }

    #c5 .page-title {
        margin-top: 6.9rem;
    }
}

@media(min-width: 950px) {
    #c5 .mobile-menu {
        display: none;
    }

    /* makes sure menu is colapsed when large */
    #c5 .all-content {
        left: 0 !important;
    }
}


/* logo fix betwen 950 and 900px*/
@media(max-width: 950px) and (min-width: 900px) {
    #c5 .logo-container {
        width: 100%;
        position: fixed;
    }

    #c5 .logo-container img {
        max-height: 5rem;
    }

    #c5 .logo-container {
        height: 0;
        margin-top: -1px;
    }
}

@media(min-width: 900px) and (max-width: 1600px) {
    #c5 .logo-container {
        position: relative;
    }

    #c5 .logo-container img {
        position: absolute;
        top: 83%;
        bottom: 0.5rem;
        left: 2rem;
    }

    #c5 .short-mobile {
        margin-top: -8rem;
    }

}

@media(min-width: 900px) {
    #c5 .vertical-align > .center{
        display: table;
    }
    #c5 .vertical-align > .center > section {
        display: table-cell;
        vertical-align: middle;
        float: none;
    }
}



@media(max-width: 900px) {

    #c5 .page-title {
        margin-top: 5.5em;
    }

    #c5 .form-stacked .fields, #c5 .form-actions {
        margin-right: 1.7rem;
    }

    #c5 .footer-row h4 {
        padding-top: 0.6rem;
    }

    #c5 .footer-row ul.nav {
        padding-left: 8rem;
    }
    html {
        font-size: 1.7vw;
    }

    #c5 .hamburger, #c5 .cross {
        font-size: 2rem;
        padding: 1.5rem 1.5rem;
    }

    #c5 .giant-text { font-size: 20rem; }
    #c5 .logo-container {
        position: absolute;
        top: 7%;
    }

    #c5 .logo-container {
        position: absolute;
        top: 0.5rem;
        bottom: 0.5rem;
        left: 2rem;
        height: auto;
        z-index: -1;
    }

    header {
        max-height: 7rem;
    }


    #c5 .logo-container img {
        max-height: 100%;
    }

    /* slider arrows*/
    #c5 .slick-prev {
        left: -6rem;
    }

    #c5 .slick-next {
        right: -4.5rem;
    }
}


@media(min-width: 800px) {
    #c5 .less-width {
        margin-top: -4rem;
    }
}

@media(max-width: 800px) {

    #c5 .video-container img {
        display: block;
    }

    #c5 .red-section {
        margin: 0 1rem;
    }

    #c5 .first-red-cont {
        margin-top: -16rem;
    }

    #c5 .video-container video,  .video-container .fade-black {
        display: block;
    }

    #c5 .learn-more-block  {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    #c5 .copyright , #c5 .website-by {
    display: block;
    text-align: center;
}

#c5 .copyright-container {
display: block;
text-align: center;
}

#c5 .website-by {
    float: none;
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 1rem;
}

    /* mobile home styles */

    #c5 section.red-section > .center {
        display: block;
    }

    #c5 section.red-section > .center > .col {
        display: block;
    }

    #c5 .red-section, #c5 .ishome .content-block {
        text-align: center;
    }

    #c5 .giant-text {
        position: absolute;
        top: -10rem;
        left:0;
        right: 0;
    }

    #c5 .video-container video {
        display: none;
    }

    #c5 .states-serviced {
        background: url("../img/hero_bg.jpg");
        background-position: center top;
        position: relative;
        margin-right: 0;
        margin-left: 0;
    }

    #c5 .states-serviced:after {
        background: rgba(0,0,0, 0.8);
        bottom: 0;
        content: "" ;
        left: 0 ;
        pointer-events: none;
        position: absolute ;
        right: 0 ;
        top: 0 ;
        z-index: 0;
    }

    #c5 .short-mobile {
        max-height: 54rem;
        margin-top: -7rem;
        position: relative;
        z-index: 0;
        text-align: center;
        overflow: hidden;
        margin-bottom: 16rem;
    }

    /* mobile home styles */

}
@media(max-width: 740px) {
    #c5 .slick-next {
        right: -3.8rem;
    }

    #c5 .slick-prev{
        left: -4.8rem;
    }
}



@media(max-width: 700px) {

    #c5 .red-section h2 {
        font-size: 2rem;
    }
    #c5 .form-group label {
        font-size: 1.1rem;}

    #c5 .footer-row ul {
        max-width: 400px;
        margin: 0 auto;
    }

    #c5 .first-red-cont {
        margin-top: -26rem;
    }

    #c5 .form-stacked .fields, #c5 .form-actions {
        margin-right: auto;
    }

    html {
        font-size: 2.3vw;
    }

    #c5 .number-container {
        margin-top: -16rem;
        position: absolute;
        right: 0;
        left: 0;
    }

    #c5 .learn-more-block  {
        width: 97.5%;
    }

    #c5 .center-underlap-img img {
        max-height: 39rem;
    }

    #c5 .states-serviced > div {
        position: relative;
        z-index: 2;
    }

    #c5 .years-experience {
        margin: -3rem 2rem 0 2rem;
    }

    #c5 .default-learn-more:first-of-type {
        margin-top: -23rem;
        position: relative;
    }
    #c5 .title-container {
        max-width: 80%;
        padding: 3rem;
    }

    /* hide two containers in footer and center copyright */
    #c5 .footer-row .shift7-full {
        display: none;
    }

    #c5 .footer-row {
        padding: 0;
        margin-bottom: 0;
        border: 0px;
    }

    #c5 .copyright-container {
        text-align: center;
    }

    #c5 .copyright-container > div {
        float: unset;
        padding: 0;
        margin-bottom: 4rem;
    }

    #c5 .title-container {
        transform: translateY(-15%);
        margin: auto;
    }

    #c5 .default-learn-more:first-of-type {
        margin-top: -30rem;
    }

    #c5 .title-container {
        width: 70%;
    }

    #c5 .home-tabs, #c5 form {
        padding-left: 1rem !important;
    }

}

@media(max-width: 600px) {
    #c5 .footer-row ul {
        max-width: 400px;
        margin: 0 auto;
        padding-left: 8rem;
    }

    #c5 .form-actions {
        padding-left: 0;
    }


    #c5 .default-learn-more:first-of-type {
        margin-top: -31rem;
        position: relative;
    }

    #c5 .form-stacked textarea {
        width: 95%;
        padding: 0 1%;
    }

    #c5 .form-stacked input[type="submit"] {
        width: 97.5%;
    }

    html {
        font-size: 2.2vw;
    }
    #c5 .hamburger, #c5 .cross {
        padding: 1.9rem 1.5rem;
    }

    #c5 .mobile-menu .social-icon {
        /*! width: 2rem; */
        /*! height: 2rem; */
        /*! padding: 1rem; */
    }

    #c5 .form-stacked .field-text, #c5 .form-stacked .field-telephone, #c5 .form-stacked .field-email, #c5 .field-select, #c5 .field-date {
        width: 100%;
        float: left;
        margin-right: 3%;
    }

    #c5 .form-stacked .fields {
        padding-left: 0;
    }

    #c5 .map-container > .map {
        width: 100%;
    }

    #c5 .field-select select {
        width: 97%;
    }
    .#c5 .field-date {
        width: 99%;
    }

    #c5 .page-title {
        margin-top: 6.4rem;
    }


}
@media(max-width: 550px) {

    #c5 .slide > a, #c5 .slick-slide > a,  #c5 .slide > span, #c5 .slick-slide > span {
        width: 16rem;
        height: 16rem;
    }

}

@media(max-width: 500px) {


    #c5 footer {
        margin: 0;
    }

    #c5 .slide > a, #c5 .slick-slide > a,  #c5 .slide > span, #c5 .slick-slide > span {
        width: 20rem;
        height: 20rem;
    }
}

@media(max-width: 410px) {
    .hide-logo {
        display: none;
    }

}

@media(min-width: 400px) and (max-width: 450px) {
    #c5 .slide > a, #c5 .slide > span {
        width: 20rem;
        height: 20rem;

    }
}

/* smaller iphones */
@media(max-width: 400px) {

    #c5 .form-tab:first-of-type ,  #c5 .form-tab:last-of-type {
        line-height: 4;
    }

    #c5 .footer-row ul {
        padding-left: 0;
    }
    html {
        font-size: 3vw;
    }

    #c5 .form-stacked input[type="submit"] {
        width: 98%;
    }

    #c5 .red-section {
        margin: 0;
    }

    #c5 .center-underlap-img {
        margin-top: -10rem;
    }
    #c5 .default-learn-more:first-of-type {
        margin-top: -32rem;
    }
    #c5 .video-container {
        margin-top: 6rem;
    }

    #c5 .mobile-menu .social-icon {
        padding: 0.8rem;
    }
    #c5 .slide > a,   #c5 .slide > span {
        width: 17rem;
        height: 17rem;
    }
    #c5 .first-red-cont {
        margin: -25rem 0 6rem 0;
    }

    #c5 .giant-text {
        font-size: 16rem;
    }
    #c5 .giant-text {
        position: absolute;
        top: -8rem;
        left: 0;
        right: 0;
    }
    #c5 .slick-prev {
        left: -5.6rem;
    }

    #c5 .form-tab {
        width: 21%;
        padding: 1.5rem;
    }

    #c5 .home-tabs .tab-active::before {
        left: 33%;
    }
}

@media(max-width: 340px) {
    #c5 .slide > a,  #c5 .slide > span {
        width: 19rem;
        height: 19rem;
    }
}


@media(min-width: 1200px) {
    #c5 .side-form-img, #c5 .tabbed-forms {
        width:45%;
        display: inline-block;
        position: relative;
        background: transparent !important;
        overflow: auto;
        margin: 0 auto;
        float: left;
    }

    #c5 .form-tab {
        width: 24%;
    }

    #c5 .tabbed-forms {
        width: 55%;
        padding: 3rem 0 2rem 0;
    }

    #c5 .side-form-img {
        max-width: 640px;
    }

    #c5 .home-tabs {
        float: right;
    }

    #c5 .tabbed-forms > * {
        max-width: 760px;
        float: right;
    }

    #c5 .tabbed-forms > ul {
        margin: 4rem auto 0 auto;
        float: none;
        padding-right: 1.5rem;
        max-width: 49.5rem;
    }
    #c5 .tabbed-forms > div {
        padding-bottom: 5rem;
        margin: 0 auto;
        float: none;
        padding-right: 0;
    }

    #c5 .home-tabs {
        max-width: 49.5rem;
    }

    #c5 .gallery-block {
        margin-bottom: -4rem;
    }

    #c5 ishome footer {
        margin: -5rem 0 0 0;
        padding: 1rem 2rem;
        background: #fff;
    }

    #c5 .ishome main {
        overflow: auto;
    }

    #c5 .side-form-img  {
        text-align: right;
    }

    #c5 .side-form-img img  {
        width: 100%;

    }
}

@media (max-width: 700px) and (min-width: 400px) {
    #c5 .form-tab {
        padding: 1.5rem 0rem;
        width: 31%;
    }
}


