/*
Theme Name: IVS
Version: 1.0
Description: A child theme of Divi
Template: Divi
*/

@import url("../Divi/style.css");

h1 {font-size: 4em;}
h2 {font-size: 2.5em;}
h3 {font-size: 1.5em; font-style: italic;}
h4 {font-size: 1em; font-weight: bold;}
h5 {font-size: .75em; font-style: italic;}


.button {
  background: #ad0f0c;
  background-image: -webkit-linear-gradient(top, #ad0f0c, #70150f);
  background-image: -moz-linear-gradient(top, #ad0f0c, #70150f);
  background-image: -ms-linear-gradient(top, #ad0f0c, #70150f);
  background-image: -o-linear-gradient(top, #ad0f0c, #70150f);
  background-image: linear-gradient(to bottom, #ad0f0c, #70150f);
  -webkit-border-radius: 5;
  -moz-border-radius: 5;
  border-radius: 5px;
  text-shadow: -1px -1px 0px #666666;
  color: #ffffff;
  padding: 20px 40px 20px 40px;
  text-decoration: none;
}

.button:hover {
  background: #70150f;
  background-image: -webkit-linear-gradient(top, #70150f, #ad0f0c);
  background-image: -moz-linear-gradient(top, #70150f, #ad0f0c);
  background-image: -ms-linear-gradient(top, #70150f, #ad0f0c);
  background-image: -o-linear-gradient(top, #70150f, #ad0f0c);
  background-image: linear-gradient(to bottom, #70150f, #ad0f0c);
  text-decoration: none;
}

.gform_wrapper .gfield_required {display: none;}

/* cart display */
.cartTotalItems { color:white;background:red;font-size:10px;line-height:10px;min-width:10px;border-radius:7px;border:1px solid white;box-shadow:0 0 1px 1px black;padding:2px;position:absolute;bottom:0;right:0;text-align:center; }

/*.cartName { line-height:20px;top:10px;position:relative; }*/
#cartLogin {display:inline-block;}
#headercontents { float:right;text-align:right; }
#logocontents { float:left; }
#cartdisplay { display:inline-block;margin-left:15px;}
#cartDisplay { position:relative;display:inline-block;background:url(../../uploads/shoppingcart.png);background-position: left;background-repeat:no-repeat;height: 21px;width: 40px;margin-left: 10px;}


/* homepage */
.hero img {border: 1px solid #555; padding: 5px; background: #fff;}
.vaporbackground {background-size: contain; background-position: top center;}
.sectionnav a {font-size: 1.5em; font-weight: bold;}

.nexternal--product-original-price {text-decoration: line-through;}

#footer-widgets .footer-widget li {padding-left: 0; border-bottom: 1px solid #555;}
#footer-widgets .footer-widget li:before {display: none;}


/* nexternal */

.nexternal--grid ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
}

body.ie .nexternal--grid ul:after {
  content:'';
  display:block;
  clear:both;
}

body.ie .nexternal--grid ul {
  display:block;
}

li.nexternal--product {
    float:left;
    flex-shrink:1;
    list-style: none;
    height:auto;
    max-width: 24%;
    padding: 15px;
    box-sizing: border-box;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    min-width:240px;
    margin: .5% .5%;
    background:#fff;
    border:1px solid #ddd;
}

body.ie li.nexternal--product {
  display:block;
  height: 400px;
}

li.nexternal--product>* {
  flex-shrink:1;
  min-height:1px;
  min-width:1px;
  max-width:100%;
}



li.nexternal--product img {
  max-width:calc( 100% - 0.1px );
  /* min-width: 235px; */
  min-height: 1px;
}

.nexternal--product-image {
    order: -1;
  position:relative;
  min-height:1px;
  min-width:1px;
}

.nexternal--product-image a {
  position:relative;
  min-height:1px;
  min-width:1px;
}

li.nexternal--product img {
    max-height: 300px;
}


@media only screen and (max-width: 980px) {
  li.nexternal--product {height:450px !important;}
}

@media only screen and (max-width: 768px) {
.onlysmallbreaks { display:initial; }
  .prodListing {
text-align: center;
float: left;
width: 48%;
margin: 0 1%;
clear: none;
margin-bottom: 10px !important;
}
  li.nexternal--product {width: 97%; height: auto !important;}

}


@media only screen and (max-width: 1100px) { .home h1 {font-size: 2.5em;}}


@media only screen and (min-width: 981px) and (max-width: 1148px) {
div#et-top-navigation {padding-left: 145px !important;}
#logo {max-height: 47% !important;}
}

.et-search-field { padding-left:5px;width:80% !important; }