@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400,700,300italic,400italic);

@font-face {
  font-family: 'linux_libertineregular';
  src: url('../fonts/linlibertine_r-webfont.eot');
  src: url('../fonts/linlibertine_r-webfont.eot?#iefix') format('embedded-opentype'),
  url('../fonts/linlibertine_r-webfont.woff') format('woff'),
  url('../fonts/linlibertine_r-webfont.ttf') format('truetype'),
  url('../fonts/linlibertine_r-webfont.svg#linux_libertineregular') format('svg');
  font-weight: normal;
  font-style: normal;

}


body {
  font-family: 'Century gothic', Arial, sans-serif !important;
  font-weight: 300;
  padding: 0;
  background-color: #FF0000;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Century gothic', Arial, serif !important;
}

img {
  max-width: 100%;
}

.clear{ clear: both; }

#my-account{
  background-color: #2e2e2f;
  padding: 20px;
  margin-bottom: 25px;

  ul{
    float: right;
    font-size: 1.5em;

    li{
      float: left;
	  margin:0 5px;
      &:first-child{
        text-transform: uppercase;
        margin-right: 10px;

        a{
          text-decoration: underline;
        }
      }
    }
  }

  a{
    color: #DDD;

    &:hover{
      color: #FFF;
    }
  }
}

#footer{
  background-color: #2e2e2f;
  padding: 20px;
  margin-top: 25px;

  #social{
    li{
      float: left;
      margin-right: 5px;

      &:last-child{margin-right: 0 !important; }
    }
  }

  .footer-nav{

    margin: 10px auto;
    overflow: hidden;

    li{
      float: left;
      text-align: center;
      font-size: 12px;
      list-style: disc;
      margin: 0;
      list-style-position: outside;
      color: #FFF;

      &:first-child{ list-style: none; }
      a{ color: #FFF; }
    }

    &#secondary{
      font-size: 1.0em;
      width: 425px;
    }
  }

  p{
    text-transform: uppercase;
    color: #FFF;
    font-size: 1.2em;
  }
}

#headerimg{

  margin-top: 0;

  h2{
    height: 134px;
    width: 287px;
    background: url('../images/newby-teas-logo.jpg') top left no-repeat;
    margin: 0px auto;
    text-align: center;

    a{
      height: 134px;
      width: 287px;
      display: block;

      span{ display: none; }
    }
  }
}

/*** search with magnifying glass ***/
.search-form{

  font-family: 'Century gothic', Arial, sans-serif;
  position: relative;

  #search{
    padding: 8px;
    border: 1px solid #4a4a4d;
    width: 95%;
    font-size: 1.1em;
  }

  button{
    position: absolute;
    top: 7px;
    right: 2px;
    height: 22px;
    width: 23px;
    background: url('../images/search.jpg') top left no-repeat;
    border: 0;
  }
}

#lang_sel li{
  width: 100%;

  a{
    padding: 3px;
    border: 1px solid #4a4a4d !important;
  }
}

ul#main-nav{
  margin:20px 0 0 0 !important;
  padding: 0;
  margin: 0px auto;
  font-size: 1.3em;
  border-top: 1px solid #2C3842 !important;
  border-bottom: 1px solid #2C3842 !important;
  text-transform: uppercase;

  li{
    float: left;
    width: 195px;
    margin-right: 20px;
    text-align:center;
    text-transform: uppercase;
    position: relative;
    height: 50px;
    list-style: disc;
    color: #dadbdc;

    &:first-child{ list-style: none; }

    &:last-child{
      margin-right: 0;
    }

    a{
      padding: 20px 0 0 0;
      width: 100%;
      display: block;
      color: #000;
      font-family: 'Century gothic', Arial, sans-serif !important;

      &:hover{
        text-decoration: none;
      }
    }
  }

  ul {
    /*display: none;
    position: absolute;
    left: 0;
    float: left;
    width: 172px;
    z-index: 10;
    margin-top:25px;*/

    position: absolute;
    top: 96%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    background-color: #ffffff;
    border-top: 0px solid #cccccc !important;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0px 0px 4px 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    opacity: 0.95;

    ul{
      margin-left: 170px;
      margin-top: -28px;
      width: 280px;

      li{
        width: 100% !important;
      }
    }

    li {

      list-style: none;
      margin-right: 0;
      text-align: left;
      text-transform: none;
      height: 100%;

      a{
        display: block;
        clear: both;
        font-weight: normal;
        line-height: 1.428571429;
        color: #333333;
        white-space: nowrap;
        /*padding: 3px 20px;*/
        padding: 3px 10%;
        width: 80%;


        &:hover{
          background-color: #f5f5f5;
        }
      }
    }
  }

  li:hover > ul {
    display: block;
  }
}

#breadcrumb{
  background-color: #2e2e2f;
  margin: 0px 0 20px 0;
  width: 100%;

  div{
    padding: 5px 15px;
    color: #FFF;
    font-size: 1.4em;
    text-transform: uppercase;

    a{
      color: #FFF;
    }

    span{
      margin:0 5px;
    }
  }
}

.carousel-wrap {
  margin: 20px 0;
  position: relative;
}
.carousel #prev-btn {
  position: absolute;
  display: block;
  left: 25px;
  top: 47%;
  z-index: 300;
  padding: 8px 12px;
  border-radius: 25px;
  background-color: #FFF;
  color: #BCAE89;
  font-size: 2em;
  font-weight: bold;
  cursor:pointer;
}
.carousel #next-btn {
  position: absolute;
  display: block;
  right: 25px;
  top: 47%;
  z-index: 300;
  padding: 8px 12px;
  border-radius: 25px;
  background-color: #FFF;
  color: #BCAE89;
  font-size: 2em;
  font-weight: bold;
  cursor:pointer;
}

.carousel-wrap .slide-copy {
  position: absolute;
  color: #fff;
  width: 200px;
  padding: 5px 10px;
  z-index: 500;
  left: 40px;
  top: 30px;
  background: rgba(0, 94, 161, 0.8);
  font-size: 14pt;
}
.carousel-wrap .slide-copy p {
  margin: 0 0 3px 0;
}


.grid-item{
  margin-right: 20px;
  float: left;

  &.last{
    margin-right: 0;
  }
}

.post{
  a{
    text-decoration: underline !important;
  }

  .section-title{
    font-size: 4em;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: .25em;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Century gothic', Arial, sans-serif !important;
  }
  .copy-title{
    font-size: 2.5em;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: 'Century gothic', Arial, sans-serif !important;
  }

  .entry{
    margin-right: 0;
  }

  #image-sidebar{
    margin-top: 17px;
  }
}

#social-share{
  width: 140px;
  float: right;

  div{
    text-transform: uppercase;
    float: left;
    margin-top: 9px;
    margin-right: 6px;
    color: #4a4a4d;
    font-size: 1.4em;
    font-weight: bold;
    font-family: 'Century gothic', Arial, sans-serif !important;
  }
}
.st_sharethis{
  float: right;
  padding: 3px 0;
  background-color: #00BF00;
  border-radius: 30px;
}
.article{
  border-bottom: 1px solid #000;
  padding: 25px 0;

  h1{
    font-family: 'Century gothic', Arial, sans-serif !important;
    font-size: 3.6em;
    text-transform: uppercase;

    a{
      text-decoration: none !important;
    }
  }

  .post{
    margin:0;
  }
}
.has-post-thumbnail .article-image{
  float: left;
  margin-right: 20px;
}


.shoppingbag img {
  float:right;
}

.recent-post {
  float: left;
  width: 134px;
  margin-right: 10px;
  font-size: 60%;
}

.article #blog-image {
  width: 710px;
  margin: 10px 0;
}

div#cards
{
    margin-top: 20px;
    margin-right: 25px;
    float: right;
    width: 100px;
}

.item-new{
    position: relative;
}
.new_label,
.item-new .product-image::after{
    content: '';
    position: absolute;
    display: block;
    top: 15px;
    left: 15px;
    width: 93px;
    height: 93px;
    background-image: url("../images/new.png");
    -webkit-background-size: cover;
    background-size: cover;
    -webkit-transition: all 250ms;
    -o-transition: all 250ms;
    transition: all 250ms;
}
.item-new .product-image::after{
    width: 50px;
    height: 50px;
}
.item-new:hover .product-image::after{
    -webkit-transform: scale(1.2, 1.2);
    -ms-transform: scale(1.2, 1.2);
    -o-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
}
.new_label{
    left: 50px;
}