/* Custom Styles Sheet for Denton Logistics */

::selection {
  background: #333;
  color: #fff;
}

body {
    background: #fff;
    color: #333;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    font-style: normal;
    line-height: 1.5;
    position: relative;
    cursor: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
}

/*image sprites */
.f {
    background: url("../img/img-sprite.png") no-repeat;
    background-position: left top;
    display: inline-block;
}

.f.logo {
    width: 175px;
    height: 46px;
    background-position: left -23px;
    margin-bottom: 20px;
}

.f.address {
    width: 15px;
    height: 21px;
    background-position: left top;
    margin-right: 10px;
    float: left;
}

.f.phone {
    width: 22px;
    height: 16px;
    background-position: -17px top;
    margin-right: 10px;
    float: left;
}

.f.fax {
    width: 21px;
    height: 20px;
    background-position: -44px top;
    margin-right: 10px;
    float: left;
}


.f.mail {
    width: 21px;
    height: 15px;
    background-position: -70px top;
    margin-right: 10px;
    float: left;
}

.f.twitter {
    width: 41px;
    height: 39px;
    background-position: left -80px;
    margin-right: 10px;
    float: left;
}

.f.fb {
    width: 41px;
    height: 40px;
    background-position: -45px -80px;
    margin-right: 10px;
    float: left;
}

.f.linkedin {
    width: 41px;
    height: 40px;
    background-position: -90px -80px;
    margin-right: 10px;
    float: left;
}

.f.wheel {
    width: 25px;
    height: 25px;
    background-position: left -125px;
    margin-right: 10px;
    margin-top: 5px;
    float: left;
}

.button {
    text-transform: uppercase;
    background: #eb3722;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    padding: 0.9rem 3.125rem;
    border-color: transparent;
}

button.radius, .button.radius {
    border-radius: 100px;
}

button:hover, button:focus, .button:hover, .button:focus {
    background-color: #ff3b24;
}

/*Logo and Navigation styles */

header {
    border-top: 3px solid #eb3722;
    border-bottom: 2px solid #eee;
    padding: 20px 0;
}

header nav ul {
    margin: 0.625rem 0 0;
    transition: all .8s cubic-bezier(0.5,0,0.5,1);
}

header nav ul li {
    list-style: none;
    display: inline-block;
    margin-left: 30px;
    transition: all .3s cubic-bezier(0.5,0,0.5,1);
}

header nav ul li:first-child {
    margin-left: 0;
}

header nav ul li a {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: #7c868d;
    transition: all .3s cubic-bezier(0.5,0,0.5,1);
}

header nav ul li a:hover {
    color: #125283;
}

header nav ul li.active {
    background-color: #125283;
    padding: 3px 20px;
    margin-right: -20px;
    margin-left: 10px;
    border-radius: 100px;
}

header nav ul li.active a {
    color: #fff;
}

.blue {
    color: #125283;
}

.red {
    color: #e50019;
}

/* Banner Styles */

.home-banner {
    background: url("../img/1.jpg") no-repeat;
    background-size: cover;
    background-position: center top;
    border-bottom: 2px solid #eee;
    width: 100%;
    padding: 6.875rem 0 0;
}

.home-banner h1 {
    color: #fff;
    max-width: 700px;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.875rem;

    margin-right: auto;
    margin-left: auto;
}

.home-banner a.button {
    margin: 60px 0 80px;
}

.about-banner {
    background: url("../img/inner.jpg") no-repeat;
    background-position: center top;
    background-size: cover;
    width: 100%;
    padding: 90px 0 100px;
}

.about-banner h1 {
    color: #fff;
    max-width: 700px;
    font-weight: 600;
    font-size: 2.125rem;
    line-height: 40px;
    margin-right: auto;
    margin-left: auto;
}

.arr {
    background: url("../img/arr.png") no-repeat;
    background-position: left top;
    position: absolute;
    top: 5px;
    right: 25px;
    width: 16px;
    height: 9px;
    margin-top: 12px;
}

/* body styles */
.who,
.why,
.commit {
    background-color: #eee;
}

.who, .commit {
    background-position: -200px top;
}

.who h5,
.why h5,
.commit h5 {
    font-size: 22px;
    font-weight: 600;
    color: #125283;
}

.who p,
.commit p {
    font-size: 0.875rem;
    margin-right: 50px;
}

.content {
    overflow: hidden;
    max-width: 100%;
}

.empty {
    background: url("../img/side.jpg") no-repeat;
    background-position: left top;
    background-size: cover;
    width: 800px;
    height: 400px;
    max-width: 50%;
    float: left;
}

.not-empty {
    padding: 20px 20px 0 45px;
    max-width: 50%;
    float: right;
}

.why .empty {
    max-width: 50%;
    float: right;
}
.why .not-empty {
    /*background: #fff;*/
    padding: 20px 20px 0 45px;
    max-width: 50%;
    float: left;
}

.why ul {
    font-size: 0.875rem;
}

/* about page styles */
.average-quote {
    background: #072e4d; /* Old browsers */
    background: -moz-linear-gradient(left,  #072e4d 0%, #125283 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#072e4d), color-stop(100%,#125283)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #072e4d 0%,#125283 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #072e4d 0%,#125283 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #072e4d 0%,#125283 100%); /* IE10+ */
    background: linear-gradient(to right,  #072e4d 0%,#125283 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#072e4d', endColorstr='#125283',GradientType=1 ); /* IE6-9 */

    padding: 40px 0;
}

.average-quote h6 {
    font-weight: 600;
    color: #fff;
}

.about-us h5 {
    font-size: 22px;
    font-weight: 600;
    color: #125283;
}

.about-us p {
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.about-us .empty {
    background: url("../img/inner-side.jpg") no-repeat;
    background-position: left top;
    background-size: cover;
    width: 800px;
    height: 400px;
    max-width: 50%;
    float: left;
}

.about-us .not-empty {
    padding: 20px 20px 0 25px;
    max-width: 50%;
    float: left;
    margin-bottom: -17px;
}

.about-us .not-empty p {
    max-width: 500px;
}

.cont .empty {
    float: right;
}

.cont .not-empty {
    float: left;
}

.cont .not-empty p {
    max-width: 500px;
}

.key-benefit {
    margin: 15px 0;
}

.key-benefit p {
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.our-management {
    background: #eee;
    padding: 40px 0;
    margin: 30px 0;
}

.our-management p {
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.m {
    max-width: 300px;
    margin: 20px auto;
}

.our-management h5 {
    font-size: 22px;
    font-weight: 600;
    color: #125283;
}

.our-management h6 {
    font-weight: 400;
    max-width: 850px;
    font-size: 0.875rem;
    margin: 0 auto;
}

.management {
    margin-top: 20px;
}

.management img{
    border: 1px solid #125283;
    border-radius: 100px;
    margin-bottom: 20px;
}

.management p {
    margin-bottom: 0.5rem;
}


.offer {
    margin-top: -20px;
    padding: 20px 0;
}

.offer h6 {
    font-size: 0.875rem;
    font-weight: 600;
}

.exp {
    background: url("../img/side-img.jpg")no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 50px 0 0;
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
}

.exp .para {
    background: #fff;
    padding: 30px;
    margin-top: 70px;
    max-width: 600px;
    height: auto;
    float: right;
}

.exp p {
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.career-contact {
    margin-bottom: 50px;
}

.career-contact h5 {
    font-size: 22px;
    font-weight: 600;
    color: #125283;
}

.career-contact p.big-p {
    font-size: 1.125rem;
}

.career-contact p {
    font-size: 0.875rem;
    line-height: 1.5rem;
}

/*footer styles */
.pre-footer {
    background: #1f4460;
    padding: 20px 0;
}

.pre-footer p {
    font-size: 0.75rem;
    color: #fff;
}

.pre-footer h5 {
    color: #fff;
    padding-bottom: 5px;
    border-bottom: 1px solid #e6ce95;
}

.get-connected p {
    font-size: 0.75rem;
    line-height: 1.5rem;
}

ul.quick-links {
    margin-left: 0;
    margin-top: 20px;
}

ul.quick-links li {
    list-style: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 15px;
}

ul.quick-links li a {
    color: #fff;
    font-weight: 700;
}

.copyright {
    background: #125283;
    padding: 10px 0;
}

.copyright p {
    margin-bottom: 0;
    font-size: 0.75rem;
    color: #fff;
}

.copyright a {
    color: #fff;
}

.divider {
    border-left: 1px solid #999;
    height: 600px;
    float: left;
}

.contact-page {
    margin: 50px 0;
}

.contact-page h5 {
    margin-bottom: 20px;
}

.contact-page p {
    font-size: 0.875rem;
}

.features-others {
    background: #eee;
    padding: 20px 0;
    margin: 20px 0;
}

.features-others p {
    font-size: 0.75rem;
}

.s {
    padding: 20px 0;
}

.services-others {
    padding: 20px 0;
    background: #eee;
}

.services-others h6 {
    font-size: 13px;
}

.services-others ul {
    font-size: 12px;
}


.clientele {
    margin: 20px 0;
}

.clientele p {
    font-size: 0.875rem;
}
.clientele ul li {
    list-style: none;
    display: inline-block;
}

/* Media queries */
@media screen and (min-width: 320px) and (max-width: 790px) {
    .content {
        overflow: hidden;
        max-width: 100%;
    }

    .empty {
        width: 100%;
        height: 150px;
        max-width: 100%;
        float: none;
    }

    .not-empty {
        padding: 20px 10px 0;
        max-width: 100%;
        float: none;
    }

    .why .empty {
        max-width: 100%;
        margin-top: 20px;
        float: none;
    }
    .why .not-empty {
        padding: 20px 10px 0;
        max-width: 100%;
        float: none;
    }

    .who h5,
    .why h5,
    .commit h5 {
        font-size: 20px;
    }

    .who p,
    .commit p {
        margin-right: 0;
    }

    /* about us media queries */
    .about-us .empty {
        background-position: left -50px;
        height: 150px;
        max-width: 100%;
        float: none;
    }

    .about-us .not-empty {
        max-width: 100%;
        float: none;
        margin-bottom: -17px;
    }

    .about-us .not-empty p {
        max-width: 100%;
    }

    .cont .not-empty p {
        max-width: 100%;
    }
}

@media screen and (min-width: 791px) and (max-width: 1220px) {
    .who p,
    .commit p {
        font-size: 13px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .button {
        font-size: 0.75rem;
        padding: 0.6rem 3.125rem;
        margin-bottom: 0;
    }

    .arr {
        top: 0;
    }

    .about-us p {
        font-size: 0.75rem;
        line-height: 1.2rem;
    }
}

@media screen and (max-width: 905px) {
    header nav ul li {
        margin-left: 15px;
    }

    header nav ul li.active {
        padding: 3px 15px;
        margin-right: -10px;
    }
}

@media screen and (max-width: 790px) {
    .small-nav {
        display: block;
        position: absolute;
        top: 15px;
        right: 40px;
        font-size: 12px;
        font-weight: 500;
        color: #333;
    }

    .small-nav span {
        display: inline-block;
        background:url(../img/burger.png) no-repeat;
        position: absolute;
        top: 2px;
        right: -35px;
        height: 20px;
        width: 32px;
    }

    body.active header nav {
        margin-left: 0;
    }

    header nav {
        position: fixed;
        top:0;
        left: 0;
        margin-top: 0;
        margin-left: -100%;
        height: 100vh;
        width: 200px;
        background: #125283;
        font-weight: 600;
        text-transform: uppercase;
        z-index: 1000;
        transition: .5s margin-left ease-in-out;
    }

    header nav ul {
        margin: 0.625rem 0 0;
    }

    header nav ul li {
        display: block;
        /*margin-left: -100px;*/
        margin-top: 20px;
    }

    header nav ul li:first-child {
        margin-left: 15px;
        margin-top: 10px;
    }

    header nav ul li a {
        color: #fff;
        margin-left: -110px;
    }

    header nav ul li a:hover {
        color: #e50019;
    }

    header nav ul li.active {
        padding: 0;
        margin-right: 0;
        margin-left: 15px;
        border: none;
        border-radius: 0;
    }

    header nav ul li.active a {
        color: #e50019;
        padding: 5px 20px;
        width: 100%;
        background: #fff
    }
}