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

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

.clearfix {
   *zoom: 1;
}

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;
   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: 2em;
   height: 2em;
   background: rgba(255, 255, 255, 0.9);
   -webkit-transition: all 0.3s ease;
   transition: all 0.3s ease;
}

.header-right span:before,
.header-right span:after {
   content: "";
   position: absolute;
   width: 2em;
   height: 0.5em;
   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) {
   .first-column>h2 {
      font-size: 2.5rem;
      margin-top: -15px;
      margin-bottom: 15px;
}
   .mobile-only {
      display: block;
   }
   .first-column {
      font-size: 25px;
   }
   
   .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;
   }
   .logo {
     height: 56px;
     margin-top: 3px;
   }
   .first-column {
      font-size: 25px;
   }
   .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;
   }
   .mainfooter {
      margin-top: 20px;
      padding: 10px;
   }
    .wp-image-86{
        margin-right: -10px;
    }
   .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 h2{
    font-size: 32px;
}

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

.second-column {
   color: black;
   font-size: 15px;
   font-family: 'Poppins', sans-serif;
   word-spacing: 2px;
    }

.responsive-image {
   width: 100%;
   margin-top: 15px;
   height: 47%;
   padding-top: 5px;
   max-width: 119%;
   max-height: 85%;
   border-radius: 8px;
    object-fit: cover;
}

.cell-responsive-image{
   width: 100%;
   margin-top: 15px;
   height: 47%;
   padding-top: 5px;
   max-width: 119%;
   max-height: 85%;
   border-radius: 8px;
   object-fit: cover;
}

.grid {
   display: flex;
   flex-direction: row;
   width: 100%;
}

.responsive {
   margin-top: -45px;
}

.responsive-grid {
   margin-top: 8px;
}

.responsive-cell-heading {
   color: #D83932;
   font-weight: 700;
   margin-top: 14px;
   float: center;
   font-size: 21px;
   font-family: 'PT Sans', sans-serif;
}

.cell-heading{
     color: black;
   font-weight: 700;
   margin-top: 14px;
   float: center;
   font-size: 21px;
   font-family: 'PT Sans', sans-serif;
}

.responsive-cell-text {
   color: black;
   margin-top: 8px;
   font-size: 14px;
   float: center;
   font-family: 'Poppins', sans-serif;
   font-weight: 500;
}

@media screen and (max-width: 768px) {
   .grid {
      flex-direction: column;
   }
   .responsive {
      margin-top: -25px;
   }
   .responsive-grid {
      margin-top: -10px;
   }

   .second-column {
      font-weight: 500;
   }
   .responsive-cell-heading {
     color: #d93d36;
     font-weight: 700;
     margin-top: 16px;
     font-size: 20px;
     float: center;
      margin-left: -13px;
   }
    
    .cell-heading {
     color: black;
   font-weight: 700;
   margin-top: 14px;
   float: center;
   font-size: 20px;
   font-family: 'PT Sans', sans-serif;
}
   .responsive-cell-text {
      font-size: 14px;
      font-weight: 500;
     margin-left: -13px;
   }
    
   .responsive-image {
      width: 600px;
      height: 210px;
      margin-top: -15px;
      margin-left: -15px;
      padding-right: 30px;
      padding-left: -20px;
      border-radius: 8px;
   }
}

@media screen and (min-width: 600px) {
   .cell {
      width: 100%;
   }
}

@media screen and (min-width: 1000px) {
   .cell {
      width: calc(100% / 3);
   }
}

.cell {
   margin: 1rem;
    padding: 0.5em;
}

@media screen and (min-width: 767px) {
   .cell {
      width: calc(100% - 2rem);
   }
}

@media screen and (min-width: 1000px) {
   .cell {
      width: calc(73.3333% - 2rem);
   }
}


/*FOOTER*/

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

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

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

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

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

.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;
}

.footer-telephone{
    margin-left: auto;
}

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

}

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

.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;
  margin: 0 5px;
}


/* 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;
}


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