@font-face {
    font-family: webFont;
    src: url(../fonts/Titillium_Web/TitilliumWeb-Regular.ttf);
}

@import url('https://fonts.googleapis.com/css?family=Titillium+Web&display=swap');

@font-face {
    font-family: logoFont;
    src: url(../fonts/Kalam/Kalam-Bold.ttf);
}

@import url('https://fonts.googleapis.com/css?family=Kalam&display=swap');


html, body {
  height: 100%;
  margin: 0;
}


html {
    padding: 0px;
    margin: 0px;
    -webkit-font-smoothing: antialiased;
    font-family: webFont;
    /*font-family: 'Raleway', sans-serif;*/
     
}

body   {
   /*background-color: #b30000;*/
    background-color: #000;
    background-image: url(../imgs/bg/bg-img-2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center; 
    padding: 0px;
    margin: 0px;
    color: #262626;
}

body.home   {
    background-image: url(../imgs/bg/bg-img-3.jpg);
}

body.parts {
    background-image: url(../imgs/bg/parts-1.jpg);
}
body.sparkplug  {
    background-image: url(../imgs/bg/sparkplug-2.jpg);
}

body.wheel  {
    background-image: url(../imgs/bg/wheel-1.jpg);
}

body.carb  {
    background-image: url(../imgs/bg/carb-3.jpg);
}

body.license-plates {
     background-image: url(../imgs/bg/license-plates-1.jpg);
}

body.gas-can    {
    background-image: url(../imgs/bg/gas-can-1.jpg);
}

#wrapper   {
    width: 100%;
    position: relative;
    min-height: 100%;
}

#main-content   {
    background-color: rgba(246, 246, 246, 0.9);
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding: 25px 25px 30px 25px;
    height: 100%;
   
}

#news-container {
    margin-bottom: 20px;
}


#header {
    background-color: #000;
    width: 100%;
    margin: 0 0 0 0;
    padding: 15px 0px 15px 0px;
}

#header-wrapper {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

#main-nav {
    text-align: center;
    font-size: 1.5em;
    background-color: #f2f2f2;
    margin-bottom: 0px;
    font-family: logoFont;
    border-bottom: 1px solid #262626;
}

#main-nav a:link {
    color:#b30000;
    text-decoration: none;
}

#main-nav a:active {
    color:#b30000;
    text-decoration: none;
}

#main-nav a:visited {
    color:#b30000;
    text-decoration: none;
}

#main-nav a:hover {
    color: #262626;
    text-decoration: none;
    text-decoration: underline;
  
  transition: 0.3s;
}

#footer {
    position: absolute;
   left: 0;
   bottom: 0;
   width: 100%;
   background-color: #000;
   color: white;
   text-align: center;
    height: 30px;
}

h1.logo {
    font-family: logoFont;
    font-size: 3em;
    line-height: 1em;
    margin: 0 0 0 0;
    color:#b30000;
}

h1.logo a:link {
    text-decoration: none;
    color:#b30000;
    padding-left: 0px;
    transition: color 0.3s;
}

h1.logo a:active {
    color:#b30000;
    text-decoration: none;
}

h1.logo a:visited {
    text-decoration: none;
    color:#b30000;
}

h1.logo a:hover {
    text-decoration: none;
    color:#660000;
    padding-left: 0px;
}



h1  {
    color:#b30000;
    font-weight: bold;
    /*text-shadow:
   -2px -2px 0 #ffd699,  
    2px -2px 0 #ffd699,
    -2px 2px 0 #ffd699,
     2px 2px 0 #ffd699;*/
    font-size: 3em;
    line-height: 1em;
    margin: 10px 0px 10px 0px;
    
}

h2  {
    margin: 10px 0px 10px 0px;
}

a:link {
    color:#b30000;
    text-decoration: underline;
}


a:visited {
    color:#b30000;
}

a:active {
    color:#b30000;
}

a:hover{
    color:#b30000;
    
}


ul.articles a:link {
    text-decoration: none;
    transition: padding 0.2s;
}

ul.articles a:hover{
    text-decoration: underline;
    padding: 20px;
}

p.note  {
    font-style: italic;
    margin-left: 25px;
    margin-right: 25px;
}

.responsive {
  max-width: 100%;
  height: auto;
}

.row    {
    margin-bottom: 35px;
    width: 100%;
}

.news-item  {
    border: 1px solid #959595;
    border-radius: 5px;
    padding: 5px 5px 10px 5px;
}

.news-btn   {
    background-color: #000;
    padding: 5px 10px 5px 10px;
    border-radius: 2px;
}

.news-btn:hover {
    background-color: #b30000;
}

a.news-btn  {
    color: #fff;
    text-decoration: none;
    transition: color 0.1s;
    transition: box-shadow 0.1s;
    margin-bottom: 10px;
}

a.news-btn:hover    {
    color: #fff;
    box-shadow: 3px 3px 8px #404040;
}

/* Create four equal columns that sits next to each other */
.column {
    -ms-flex: 50%; /* IE10 */
    flex: 50%;
    padding: 0 10px 0 10px;
    display: inline-block;
    vertical-align: top;
}

.column img {
    text-align: center;
    margin-top: 8px;
    vertical-align: middle;
    width: 90%;
    border: 1px solid #bfbfbf;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {background-color: #cccccc;}


table.tire-sizes {
    padding: 10px;
    text-align: center;
}

table.tire-sizes td {
    min-width: 100px;
}

.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 2em;
  padding: 8px 12px;
  position: absolute;
  top: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}


/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 250px;
    }
    #main-content   {
        width: 80%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 250px;
    }
    
    
}