/*===================
   Main stylesheet
====================*/

/*==== FONTS ====*/

@font-face {
    font-family: "Nokian Tyres Sans";
    src: url('../fonts/NokianTyresSans-Thin.otf'), url('../fonts/ie/NokianTyresSans-Thin.eot');
    font-weight: 200;
}
@font-face {
	font-family: "Nokian Tyres Sans";
	src: url('../fonts/NokianTyresSans-Light.otf'), url('../fonts/ie/NokianTyresSans-Light.eot');
	font-weight: 300;
}
@font-face {
    font-family: "Nokian Tyres Sans";
    src: url('../fonts/NokianTyresSans-Regular.otf'), url('../fonts/ie/NokianTyresSans-Regular.eot');
    font-weight: 400;
}
@font-face {
    font-family: "Nokian Tyres Sans";
    src: url('../fonts/NokianTyresSans-Medium.otf'), url('../fonts/ie/NokianTyresSans-Medium.eot');
    font-weight: 500;
}
@font-face {
    font-family: "Nokian Tyres Sans";
    src: url('../fonts/NokianTyresSans-Bold.otf'), url('../fonts/ie/NokianTyresSans-Bold.eot');
    font-weight: 700;
}

body {
	font-family: "Nokian Tyres Sans", sans-serif;
    letter-spacing: 0.1em;
    font-size: 14px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Nokian Tyres Sans", sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}

h1 {
    font-size: 22px;
    margin-bottom: 45px;
}

h2 {
    font-size: 22px;
    margin-bottom: 30px;
}

h3 {
    font-size: 18px;
    margin-bottom: 30px;
}

h4 {
    font-size: 14px;
    margin-bottom: 25px;
}

p {
    margin-bottom: 20px;
}

strong {
    font-weight: 700;
}

/*==== ELEMENTS ====*/

.loader {
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 44px;
    height: 44px;
}

.spinner .circle {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: 8px solid #51b848;
    border-top-color: #419439;
    animation: spinner-animation 0.8s infinite;
}
      
@keyframes spinner-animation {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*==== ELEMENTS ====*/

.browserupgrade {
    margin: 5px 0;
    text-align: center;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.line {
    margin-bottom: 15px;
    border-top: 3px solid #52AE32;
    width: 100%;
}

.green-button {
    cursor: pointer;
    color: #262626;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .2s ease;
    font-weight: 700;
    font-size: 12px;
}

.green-button:before {
    content: "";
    width: 20px;
    height: 20px;
    vertical-align: -.45em;
    margin-right: .6em;
    display: inline-block;
    border: 5px solid #51b848;
    border-radius: 50%;
    transition: all .3s linear;
    box-sizing: border-box;
}

.green-button:hover, 
.green-button:focus {
	color: #262626;
	text-decoration: none;
}

.green-button:hover:before,
.green-button:focus:before {
	border-color: #419439;
}

.green-button.white,
.green-button.white:hover,
.green-button.white:focus {
    color: #fff;
}

.green-dot {
    display: inline-block; 
    color: #fff;  
    font-weight: 700;
    margin-right: 40px;
    margin-bottom: 30px;
}

.green-dot:before {
    content: "";
    width: 10px;
    height: 10px;
    vertical-align: -0.1em;
    margin-right: .5em;
    display: inline-block;
    border: 5px solid #51b848;
    border-radius: 50%;
    transition: all .3s linear;
    box-sizing: border-box;
}

.green-dot:hover {
    color: #fff;
}

/*==== NAVIGATION ====*/

.nav {
    background-color: #262626;
    z-index: 99;
}

.nav .logo {
    z-index: 999;
    width: 110px;
    height: 30px;
}

.nav .nav-inner {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nav .nav-links {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.nav a {
    padding: 8px 15px;
}

.nav a {
    transition: color 0.2s ease;
    text-transform: uppercase;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.nav a:hover {
    color: #52AE32;
    text-decoration: none;
}

.nav a:focus {
    text-decoration: none;
}

@media (min-width: 1200px) {
    .nav > .container {
        max-width: 1550px;
        padding-left: 30px;
        padding-right: 30px;
    } 
    .nav .nav-links {
        margin-left: 150px;
    }
}

@media (max-width: 991px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 15px 0;
    }    
    .nav .nav-links {
        z-index: 99;
        width: auto;
        display: none;
        padding: 0;
        background-color: #262626;
        border: 1px solid rgba(255,255,255,0.5);
        border-radius: .25rem;
        position: absolute;
        top: 45px;
        right: 15px;
    }
    .nav .nav-links a {
        display: block;
        text-align: right;
        transition: color 0.2s ease;
        padding: 10px 30px;        
    }
    .nav a.home {
        display: block;
    }
    .nav .nav-links a:hover,
    .nav .nav-links a:focus {
        background-color: #fff;
        color: #000;
    }    
}

/*==== DROPDOWN ====*/

.nav .dropdown {
    display: inline-block;
    margin: 0;
}

.nav .dropdown-menu {
    margin: 0;
    padding: 0;
    min-width: 0;
    background-color: #262626;
    border: 1px solid rgba(255,255,255,0.5);
    left: -70px;
}

.nav .dropdown-menu .dropdown-item {
    transition: all 0.2s ease;
    margin: 0;
    padding: 10px 30px;
}

.nav .dropdown-menu .dropdown-item:hover,
.nav .dropdown-menu .dropdown-item:focus {
    background-color: #fff;
    color: #000;
}

.nav .dropdown-wrap {
    position: relative;
}

.nav .dropdown-toggle {
    /* Reset */
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    border: 0;
    /* Styles */
    z-index: 99;
    transition: all 0.2s ease;
    border: 1px solid #fff;
    background-color: #262626;
    color: #fff;
    text-transform: uppercase; 
    font-size: 10px;
    cursor: pointer;
    font-weight: 700;
}

.nav .dropdown-toggle:after {
    display: none;
}

.nav .dropdown-toggle:active {
    /* Overriding default */
    color: #262626;
    background-color: #fff !important;
    border-color: #262626;
}

.nav .dropdown-toggle:hover,
.nav .dropdown-toggle:focus {
    color: #262626;
    background-color: #fff;
    border-color: #262626;
}

/* Links dropdown */

.nav .nav-links-dropdown {
    display: none;
}

@media (max-width: 991px) {
    .nav .nav-links-dropdown { 
        display: inline-block;
        margin-left: 15px;
    }
}

/*==== HEADER ====*/

header {
    padding: 40px 0 0 0;
    background-color: #262626;
    color: #fff;
}

header #top {
    margin-top: 40px;
}

header .left-bg {
    background-image: url('../img/header-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;    
}

header .right-bg {
    background-image: url('../img/truck-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;   
}

header .left-bg,
header .right-bg {
    padding: 10%;
}

header h4 {
    color: #52AE32;
}

header .green-button {
    display: table;
    margin: 40px 0 0 0;
}

@media (max-width: 1920px) {
    header { 
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 991px) {
    header #top {
        margin-top: 20px;
    }
    header .right-bg {
        min-height: 340px;
        padding: 30%;
    }
}

/*==== INTRO ====*/

#intro {
    padding: 120px 0;
    background-color: #fff;
    color: #262626;
}

#intro h2 {
    color: #51b848;
}

#intro .text {
    display: block;
    max-width: 530px;
    margin: 0 auto;
}

#intro .text p {
    font-weight: 700;
}

/*==== BENEFITS ====*/

#benefits {
    padding: 120px 0;
    background-image: url('../img/benefits-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;   
    color: #fff;    
}

#benefits .benefit {
    margin-bottom: 100px;
}

#benefits .benefit p {
    font-weight: 300;   
}

#benefits .green-dot {
    font-size: 12px;
}

#benefits .green-button {
    display: table;
    margin: 0 auto;
}

#benefits .line {
    transition: width 0.8s;
    width: 0;
}

#benefits .line.full {
    width: 75px;
}

/*==== USER STORIES ====*/

#stories {
    padding: 100px 0;
}

#stories .quote {
    font-weight: 500;
    font-size: 16px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

#stories .green-button {
    display: table;
    margin: 60px auto 0 auto;
}

#stories .story {
    margin-top: 40px;
}

#stories .story .story-image {
    height: 100%;
    min-height: 350px;
    background-image: url('../img/story-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;    
    background-position: center right;
}

#stories .story-info div {
    padding-right: 0;
    font-size: 10px;
}

#stories .story-info div strong {
    display: block;
    clear: both;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    #stories .text {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    #stories .story-info div {
        padding-right: 15px;
    }
}

@media (max-width: 576px) {
    #stories .story .story-image {
        min-height: 220px;
    }
}

/*==== TIRES ====*/

#tires {
    position: relative;
    padding: 120px 0 0 0;
    background-color: #262626;
    color: #fff;
}

#tires .text {
    max-width: 400px;
    display: block;
    margin: 0 auto;
    padding: 0;
}

#tires .text h2 {
    color: #52AE32;
    margin: 0;
}

#tires .text h4 {
    margin: 10px 0 40px 0;
}

#tires .images {
    margin-top: 40px;
}

#tires .images .image {
    overflow-y: hidden;
    border-bottom: 3px solid #52AE32;
}

#tires .images .image img {
    margin-bottom: -30%;
    max-width: 100%;
    height: auto;
}

#tires .tire-text {
    padding-top: 60px;
    padding-bottom: 80px;
}

#tires .line-wide {
    display: none;
    margin: 0;
    padding: 0;
    z-index: 5;
    position: absolute;
    bottom: 302px;
    width: 100%;
    height: 5px;
    background-color: #52AE32;
}

@media (min-width: 768px) {
    #tires .line-wide {
        display: block;
    }
    #tires .images .image {
        border: none;
    }
    #tires .images .image img {
        margin-bottom: -20px;
    }
}

/*==== TECHSPECS ====*/

#techspecs {
    padding: 80px 0;
    background-color: #fff;
}

#techspecs .spec-links {
    margin-bottom: 20px;
    font-size: 14px;
}

#techspecs .spec-links a {
    color: #51b848;
}

#techspecs .spec-links a:hover,
#techspecs .spec-links a:focus,
#techspecs .spec-links a.active {
    color: #000;
    text-decoration: none;
}

#techspecs .spec-links .divider {
    margin: 0 4px;
    color: #000;
    opacity: 0.5;
}

/*==== TECH TABLE ====*/

/* Table scrollbar */
.spec-table::-webkit-scrollbar {
    height: 12px;
}
.spec-table::-webkit-scrollbar-track {
    background: #EDF0E7;
}
.spec-table::-webkit-scrollbar-thumb {
    background: #D5D2C3; 
}
.spec-table::-webkit-scrollbar-thumb:hover {
    background: #DDDCCF; 
}

.spec-table table {
    width: 100%;
    margin: 60px 0px 20px 0px;
    font-size: 10px;
}

.spec-table table .second-head {
    border-bottom: 1px solid #51BC49;
}

.spec-table table th,
.spec-table table td {
    padding: 5px;
    line-height: normal;
}

.spec-table table th {
    vertical-align: top;
    font-weight: 500;
    font-size: 10px;
}

.spec-table table td {
    border: 1px solid rgba(203,207,191,0.25);
}

.spec-table table tr:nth-last-of-type(2) td {
    border-bottom: 0;
}

.spec-table table tr:last-of-type td {
    border: 0 
}

.spec-table table p {
    margin: 20px 0 0 0;
    text-align: right;
    font-size: 12px;
}

@media (max-width: 768px) {
    .spec-table table p { 
        margin: 0;
    }
    .spec-table table thead { 
        display: none; 
    }
    .spec-table table tbody td { 
        display: block; 
        padding: 15px; 
    }
    .spec-table table tbody tr td:nth-child(odd) {
        background: #f8f8f8;
    }    
    .spec-table table tbody tr td:first-child { 
        background: #666; 
        color: #fff; 
    }
    .spec-table table tbody tr td:first-child:before {
        display: none;
    }
    .spec-table table tbody td:before { 
        content: attr(data-th); 
        font-weight: bold;
        display: inline-block;
        width: 52%;  
        padding-right: 10px;
        vertical-align: middle;
    }
    .spec-table .additional:before {
        display: none;
    }
}

/*==== ICONS ====*/

.icons {
    padding: 60px 0 40px 0;
    background-color: #D5D2C3;
}

.icons .icon {
    margin-bottom: 20px;
}

.icons .icon img,
.icons .icon svg {
    margin-bottom: 10px;
}

.icons .icon svg {
    max-width: 30px;
    max-height: 30px;
    background-color: #1a1e20;
    border-radius: 50%;
}

.icons .icon img {
    max-width: 40px;
    max-height: 40px;
    background-color: #1a1e20;
    border-radius: 50%;
}

.icons .icon p {
    margin: 0;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/*==== CONTACT ====*/

#contact {
    padding: 60px 0 30px 0;
    background-image: url('../img/contact-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat; 
    background-position: center;    
    color: #fff;
}

#contact .limiter {
    height: 82px;
    border-right: 2px solid #fff;
    margin: 0 auto;
}

#contact .green-dot {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 10px;
}

#contact .links a:last-of-type{
    margin-right: 0;
}

@media (max-width: 1199px) {
    #contact .links a {
        display: table;
        clear: both;
    }
    #contact .limiter {
        display: table;
    }    
}

@media (max-width: 991px) {
    #contact {
        background-image: url('../img/contact-bg-mobile.jpg');
    }
}

@media (max-width: 768px) {
    #contact .limiter {
        margin: 0 0 30px 0;
        height: auto;
        width: 82px;
        border-right: 0;
        border-top: 2px solid #fff;
    }
}