* {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    -webkit-box-sizing: border-box;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
}

.clearfix {
    *zoom: 1;
}

title{
    visibility: hidden;
}


html {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
}

body {
  font-family: 'Poppins', sans-serif;
}

.clearfix:before,
.clearfix:after {
    display: table;
    line-height: 0;
    content: "";
}

.clearfix:after {
    clear: both;
}

.headerContainer {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 10px;
}

header {
    z-index: 6;
    color: white;
    width: 100%;
    height: auto;
    margin-top: -11px;
    background-color: black;
}

.header-left,
.header-right {
    position: relative;
    color: white;
    float: left;
}

main p {
    font-size: 25px;
    margin: 0 15px;
    text-align: center;
    line-height: 50px;
}

.header-left {
    width: 30%;
}

.header-right label {
    position: absolute;
    top: -3.7em;
    right: 0;
    cursor: pointer;
}

.header-right span {
    position: relative;
    width: 2.4em;
    height: 2.4em;
    background: rgba(255, 255, 255, 0.9);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-top: -8px;
}

.header-right span:before,
.header-right span:after {
    content: "";
    position: absolute;
    width: 2.4em;
    height: 0.6em;
    top: 4px;
    left: 0;
    background: black;
}

.header-right span:after {
    top: 14px;
}

.header-right {
    width: 70%;
    text-align: right;
}

#open {
    display: none;
}

.logo {
    width: 141px;
    height: 67px;
    margin-top: 2px;
}

a {
    text-decoration: none;
    color: white;
}

nav > a {
    position: relative;
    display: inline-block;
    font-size: 17px;
    line-height: 40px;
    padding: 0 2em;
    padding-top: 12.5px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    color: white;
    font-weight: 700;
    font-style: bold;
   font-family: 'Poppins', sans-serif;
}

nav > a:hover {
    color: white;
    text-decoration: none;
    border-bottom: 2px solid white;
    transition: all 160ms ease-in;
}

.hidden-desktop {
    display: none;
}

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

.section-left,
.section-right {
    float: left;
}

.section-left {
    width: 70%;
    padding: 3em 0;
}

.section-right {
    width: 30%;
}

.section-title,
.section-tagline {
    color: white;
    font-weight: 300;
    margin: 0;
    padding: 0;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.section-title {
    font-size: 4em;
    margin-bottom: 0.3em;
    text-shadow: 0 3px 0px black, 0 4px 0px rgba(150, 150, 150, 0.5);
}

.section-tagline {
    font-size: 1em;
}

/* Portrait tablet to landscape and desktop */

@media (min-width: 768px) and (max-width: 979px) {
    .box {
        width: 49%;
        margin-bottom: 5%;
    }
        .responsive-image {
    height: auto;
}
    ul li:nth-child(3) .box {
        clear: both;
    }
    ul li:nth-child(2n) .box {
        margin-right: 0;
        clear: right;
    }
}

/* Small monitor */

@media (max-width: 979px) {
    nav > a {
        padding: 0 1.5em;
    }
    .section-left,
    .section-right {
        width: 100%;
    }
    .section-left {
        text-align: center;
    }
    .section-right {
        padding: 0 0 2em;
    }
    .section-title {
        font-size: 4em;
        margin-bottom: 0.2em;
    }
    .section-tagline {
        font-size: 1.3em;
    }
    .learn-more {
        margin: 0 auto;
    }
}

/* Landscape phone to portrait tablet */

@media (max-width: 767px) {
    .headerContainer {
        width: 95%;
    }
    nav > a {
        padding: 0 2em;
    }
    h1 {
        padding: 0.5em 0;
    }
    .header-left,
    .header-right {
        width: 100%;
        text-align: center;
    }
    .section-left,
    .section-right {
        width: 100%;
    }
    .section-left {
        text-align: center;
        padding: 2em 0;
    }
    .section-right {
        padding: 1em 0 2em;
    }
    .section-title {
        font-size: 3em;
        margin-bottom: 0.2em;
    }
    .section-tagline {
        font-size: 1.3em;
    }
  
}

/* Landscape phones and down */

@media (max-width: 600px) {
    .headerContainer {
        width: 90%;
    }
    nav {
        height: 10px;
        overflow: hidden;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        color: white;
        font-family: 'Poppins', sans-serif;
    }
    input[type="checkbox"]:checked + nav {
        height: 205px;
    }
    nav > a {
        padding: 0 1em;
        display: block;
        border-bottom: solid 1px rgba(255, 255, 255, 0.1);
    }
    h1 {
        padding: 0.5em 0;
    }
    .header-left,
    .header-right {
        width: 100%;
        text-align: center;
    }
    .section-left,
    .section-right {
        width: 100%;
    }
    .section-left {
        text-align: center;
        padding: 1em 0;
    }
    .section-right {
        text-align: center;
        padding: 1em 0 2em;
    }
    .section-title {
        font-size: 2.4em;
        margin-bottom: 0;
    }
    .section-tagline {
        font-size: 1em;
    }
    .hidden-desktop {
        display: block;
    }
}
/* LandingPage styles */

.landing {
  position: relative;
  overflow: hidden;
  z-index: 5;
  height: 62vh;
  background: url("./Images:folder/DJohnRessHaulageLtd.png") no-repeat center;
  background-size: cover;
}

.landing-shade {
  z-index: 6;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 19, 0.2);
}

.landing-text {
  color: whitesmoke;
  font-family: "Roboto Condensed", sans-serif;
}

.landing-text h1 {
  font-size: 70px;
  margin-top: -40px;
}

.landing-text p,
.landing-text .subtitle {
    font-size: 30px;
   font-family: 'Poppins', sans-serif;
   font-style: italic;
   text-transform: capitalize;
    margin-top: -10px;
}

/* Utility styles */

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

.d-flex {
  display: flex;
}

.f-row {
  flex-direction: row;
}

.f-col {
  flex-direction: column;
}

.flex-center-content {
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.f-between {
  justify-content: space-between;
}

.container {
  max-width: 85%;
  margin: 0 auto;
}

.opac-0 {
  opacity: 0;
}

.opac-1 {
  opacity: 1;
}


/* for mobile */

@media screen and (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    .first-column>h1 {
    font-size: 2.6rem;
     margin-left: 16px;
    margin-bottom: -2px;
     margin-top: -15px;
  }
     .second-column{
         margin-left: 13px;
    }
    .responsive {
        margin-top: 24px;
    }

    .logo {
     height: 56px;
     margin-top: 3px;
     margin-left: auto;
     margin-right: auto;
  }
    .landing-text h1 {
      font-size: 2.0em;
      margin-top: 15px;
  }
     .landing-text p,
   .landing-text .subtitle {
      font-size: 19px;
      margin-top: -24px;
      font-family: 'Poppins', sans-serif;
      font-style: italic;
   }
    .container {
        width: 100%;
    }
    /*  Navigation styles  */
    .navigation .container {
        flex-direction: column;
        width: 100%;
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        width: calc(100vw - 100px);
        background-color: rgb(40, 40, 40);
    }
    .nav-links a {
        text-align: center;
        padding: 20px 0;
        margin: 0 30px;
        border-bottom: 1px solid rgb(80, 80, 80);
        text-align: left;
    }
    .nav-links a:first-of-type {
        margin-top: 40px;
    }
    #nav-toggle {
        position: fixed;
        top: 12px;
        right: 15px;
        width: 40px;
        height: 40px;
        z-index: 1002;
        cursor: pointer;
    }
    #nav-toggle svg {
        transform: translate(5px, 5px);
    }
    .nav-links.hide {
        transform: translateX(calc(100vw - 20px));
    }
    .nav-links.show {
        transform: translateX(0);
    }

    .cell-heading {
        font-size: 18px;
        font-family: 'Poppins', sans-serif;
    }
    .imgbox{
        height: 230px;
    }
    .mainfooter {
        margin-top: 30px;
        padding: 10px;
    }
    
    .gallery-container,
    .imgbox{
        margin-top: -5px;
    }
    
    .overlay-heding{
        font-size:19px;
    }
    
    .copy-link{
         font-size: 15px;
    font-family: 'Poppins', sans-serif;
        display: none;
    }
    .footer-heading{
        font-size: 20px;
    }
    .landing {
        height: 32vh;
    }
}

/* Animation on Fade In */

@keyframes fade-down {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    70% {
        opacity: 1;
        transform: translateY(5px);
    }
    100% {
        transform: translateY(0);
    }
}

.transition-300 {
    transition: all 300ms ease-in;
}

.anim-fade-down {
    animation: fade-down 600ms ease-in-out;
}
/* Website Main Content */

.first-column h1{
    font-size: 31px;
}

.first-column {
    color: #D83932;
    font-size: 30px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    word-spacing: 4px;
}

.second-column {
    color: black;
    font-size: 15px;
   font-family: 'Poppins', sans-serif;
    word-spacing: 2px;
}
.contact-Telephone{
    margin-left: -22px;
   
}
.contact-email{
     margin-left: -22px;
    
}
.active {
  background-color: #16222A;
  color: white;
}

:root {
  /* Base font size */
  font-size: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 60vh;
  height: 100vh;
  width: 100%;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

* {
  box-sizing: border-box;
 display: block;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
    
}

.imgbox .overlay {
  position: absolute;
  width: 100%;
  top: auto;
   bottom: 0;
  overflow: hidden;
  background: rgba(245, 0, 0, 0.54);
  transition: all .8s;
  opacity: 0;

}

.imgbox:hover .overlay {
  width: 100%;
  transition: all .8s;
  opacity: 1;  
}

.overlay-heding {
    display: block;
    font-weight: 700;
    font-size: 21px;
     font-family: 'PT Sans', sans-serif;
}

.imgbox .overlay a {
position: relative;
   color: white;
   font-family: 'Poppins', sans-serif;
  font-weight: 400;
    font-size: 15px;
  text-decoration: none;
  cursor: default;
    line-height: inherit;
    
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  margin: -1rem -1rem;
}

.imgbox {
  position: relative;
  flex: 1 0 24rem;
  margin: 1rem;
  box-shadow: 0.3rem 0.4rem 0.4rem rgba(0, 0, 0, 0.4);
  overflow: hidden;
  border: 5px solid white;
}

.imgbox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imgbox:hover {
  transition: .4s ease-in-out;
  cursor: pointer;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  grid-gap: 2rem;
}

.overlay{
    display: block;
   padding: 1rem 1rem 0.6875rem;
    color: white;
}

.gallery-container,
.imgbox {
  margin: 0;
    margin-top: -14px;
    margin-bottom: 1.6rem;
}

/*FOOTER*/

footer {
    margin-top: 20px;
    background-color: #000000;
    color: white;
    padding-top: 8px;
    padding-bottom: 5px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

footer a {
    color: #fff;
    font-size: 16px;
    transition-duration: 0.2s;
    line-height: 2;
}

footer a:hover {
    text-decoration: underline;
    color: white;
}

.footer-heading{
    font-size:22px;
}

.copy {
    font-size: 15px;
    padding: 14px;
    border-top: 2px solid #ffffff;
    font-family: 'Poppins', sans-serif;
}

.footer-middle {
    padding-top: 2em;
    color: white;
}

.list-unstyled {
    line-height: 1.9;
    padding-top: 4px;
    font-size: 15px;
}

.contact {
    font-size: 15px;
     margin-left: auto;
}

.contact-Telephone{
    margin-left: -5px;
}



.footer-email{
    margin-left: 32px;

}

.contact-email {
  margin-left: -20px;
}

.wp-image-86{
     margin-left: 0 auto;
}
/*SOCÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â°AL ÃƒÆ’Ã¢â‚¬Å¾Ãƒâ€šÃ‚Â°CONS*/

/* footer social icons */

ul.social-network {
    list-style: none;
    display: inline;
    margin-left: 0 !important;
    padding-top: 3px;
}

ul.social-network li {
    display: inline;
}

/* footer social icons */

.social-network a.icoFacebook:hover {
    background-color: #3b5998;
}

.social-network a.icoLinkedin:hover {
    background-color: #007bb7;
}

.social-network a.icoFacebook:hover i,
.social-network a.icoLinkedin:hover i {
    color: #fff;
}

.social-network a.socialIcon:hover,
.socialHoverClass {
    color: #44bcdd;
}

.social-circle li a {
    display: inline-block;
    position: relative;
    margin: 0 auto 0 auto;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    text-align: center;
    width: 30px;
    height: 30px;
    font-size: 15px;
}

.social-circle li i {
    margin: 0;
    line-height: 30px;
    text-align: center;
}

.social-circle li a:hover i,
.triggeredHover {
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -ms--transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
}

.social-circle i {
    color: #595959;
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    -o-transition: all 0.8s;
    -ms-transition: all 0.8s;
    transition: all 0.8s;
    
}

.social-network a {
    background-color: #f9f9f9;
}

.text-center {
    font-size: 15px;
   font-family: 'Poppins', sans-serif;
    color: white;
    padding-top: 5px;
    }

.copy-link{
     font-size: 15px;
   font-family: 'Poppins', sans-serif;
  display: inline-block;
}