@font-face { font-family: Avenir; src: url('../fonts/Avenir-Medium.ttf'); }
@font-face { font-family: Avenir; font-weight: bold; src: url('../fonts/Avenir-Heavy.ttf');}
@font-face { font-family: Avenir-Book; src: url('../fonts/Avenir-Book.ttf');}

/* For mobile & common styles: */
html, body{
    font-family: "Avenir",serif;
    height:100%;
}

a:hover{
  color: red !important;
  text-decoration: none !important;
}

img.brand-icon{
  height:50px;
  margin-right:10px;
}

img.brand-icon-large{
  height:100px;
  margin-right:10px;
}

.ss-icon{
    display:inline-block;
    height:28px;
    width:30px;
    background-size: 100% 100%;
    vertical-align: middle
}

.ss-icon-medium{
    height:40px;
    width:42px;
}

.ss-icon-email{
    background-image:url("../images/icon_email.png");
}
.ss-icon-phone{
    background-image:url("../images/icon_tel.png");
}
.ss-icon-question{
    background-image:url("../images/icon_question.png");
}
.ss-icon-map{
    background-image:url("../images/icon_address.png");
}
.ss-icon-fax{
    background-image:url("../images/icon_fax.jpg");
}

.bg-gray {
    background-color: #f8f8f8; /* Gray */
    color: black;
}

.bg-2 {
    background-color: #474e5d; /* Dark Blue */
    color: #ffffff;
}
.bg-3 {
    background-color: #ffffff; /* White */
    color: #555555;
}

/* we created this style - hides the page for us while it's loading */
.pageHider {
  display: none;
  height: 100%;
  width: 100%;
  background-color: white;
  z-index: 1100;
  position: absolute;
}

.styleless-list{
    list-style-type: none;
}

.navbar {
    background-color:white;
}

.navbar-brand,
.navbar-nav li a {
    line-height: 60px;
    height: 60px;
    padding-top: 0;
    letter-spacing:0px;
}

.navbar-brand > img{
    height: 45px;
}
.navbar-brand{
    padding-top:5px;
}

.content {
    padding-top: 50px;
}

.content-about{
  background-image: url("../images/banner/banner_about_1.jpg");
   background-repeat: no-repeat;
   background-size: 100% 100%;
}

.graphic{
    /* Hide since it's only feasible to show this on desktop */
    display:none;
}

.message{
    font-size:17px/*1.2em*/;
}
 #welcome-contact > span{
    height:35px;
}

#contact-options a{
    /*font-size:1.1em;*/
    color: #333;
    overflow-y: visible;
    display: block;
    max-height: 43px;
}

#map-content{
    display:block;
    max-width:100%;
}

#contact-map{
    /*for mobile - for desktop, see the desktop media query*/
    height: 300px;
}

#product-content{
    background-color:#F2F2F2;
    width:100%;
    height:100%;
    overflow-y:auto;
    padding-top:60px;
    position:relative;
}

#product-container{
    width:90%;
    margin-left:5%;
    margin-top: 15%;
}

.banner-wrapper{
  padding-top:50px;
  height:100%;
  width:100%;
}

.banner{
  height:100%;
  width:100%;
}

.product-panel{
    height:300px;
}


.product-thumbnail-image{
  height: 235px;
  width: 100%;
  margin: auto;
  object-fit: cover; /* doesn't work on IE natively , but a polyfill is provided in js folder and should be used in pages that have this*/
}



#contact-options > table  tr > td{
    padding-left:5px;
    padding-top:3px;
}

.welcome-contact-line{
    display:block;
}

.welcome-contact-line a{
    color:#333;
}

.footer{
    padding-top:45px;
}

/*Mobile view for the content & graphic sections*/
.content{
    top:0px;
    overflow:visible;
    background-color: #E2E6E7;
    min-height:250px;
}
.graphic{
    display: block;
    height: 170px;
    width: auto;
    position: absolute;
    left: 5%;
    z-index: 990;
    top: 100px;
}
#product-graphic{
    top:70px; /* this should be the height of navbar */
    height:100px;
    position:static;
    left:2%;
}
#contact-graphic{
    display:none;
}

#product-container > .row{
    margin-top:20px;
}

#product-container .first-row-product {
    margin-top: 25%;
}
/*#product-graphic{
    top:110px;
    height:30%;
    left:2%;
}*/
/*.graphic{
    display:block;
    height:60%;
    width:auto;
    position:absolute;
    bottom:-8%;
    left:5%;
    z-index:999;
}*/

.graphic-header, .graphic-header-thin{
    color:white;
    line-height:1;
    font-size:26px; /*DETERMINED by Javascrpt*/
    position:absolute;
    z-index:999;

    display:none; /* hide it so we can use the "show" jqueryUi func to animate it appearing*/
}
.graphic-header{
    font-weight:bold;
}

/*
#index-content{
    background: url("../images/slideshow1.jpg");
}
*/

#myCarousel{
    display:none;
    /* use our script to change height of this. Hacky solution, but we're on a short schedule.  */
}

#myCarousel, #myCarousel .carousel-inner{
    height:100%;
    width:100%;
}
#myCarousel img, #myCarousel .item{
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#myCarousel .glyphicon-chevron-right{
  right:15%;
  margin-right:0px;
}
#myCarousel .glyphicon-chevron-left{
  left:10%;
  margin-left:0px;
}
#myCarousel .carousel-indicators{
  right:1.6%;
  width:auto;
  left:auto;
  bottom:2px;
}

#contact-form input, #contact-form textarea{
    border-radius: 0 !important;
    background-color:rgb(235,235,235);
}
#contact-form .form-group{
  margin-bottom: 8px;
}
#contact-form .form-control:focus {
  border-color: #FF0000;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6);
  background-color: white;
}

.navbar-nav li a{
    padding-right:30px;
}

#about-message{
    padding-top:40px;
}

#about-message h1{
    font-size: 24px;
}


.graphic-contact-about{
    top:145px;
}

.privacy-liner, .privacy-liner a, .privacy-liner-contact {
  font-size:10px;
  /*color:black;*/
}

/* For desktop media query: */
@media only screen
    and (min-width: 1100px)
    /*and (min-height: 767px)*/
    and (orientation : landscape)
    /*and (min-aspect-ratio: 16/9)*/
{
    /*hide the mobile headers*/
    .page-mobile-header{
        display:none;
    }

    #contact-graphic{
        display:block;
    }

    .welcome-contact-line{
        display:inline;
    }

    .navbar-brand,
    .navbar-nav li a {
        line-height: 50px;
        height: 50px;
        padding-top: 0;
    }
    .navbar-nav li a{
        padding-left:20px;
    }

    .navbar {
        padding-top: 10px;
        padding-bottom: 10px;
        border: 0;
        border-radius: 0;
        margin-bottom: 0;
        font-size: 12px;
        letter-spacing: 5px;
    }

    .navbar-nav{
        padding-right:85px;
    }

    .navbar-nav li a {
        /*color: #1abc9c !important;*/
        font-size:1.3em;
    }
    .navbar-brand{
        margin:0px 25px;
    }
    .navbar-brand > img{
        height: 45px;
        margin-left:60px;
    }

    .privacy-liner{
      position:absolute;
      bottom:0px;
      width:98%;
      text-align:center;
      padding-top: 30px;
      height: 50px;
    }

    .privacy-liner-contact {
      bottom:0px;
      width:98%;
      text-align:center;
      padding-top: 350px;
      height: 50px;
    }

    .privacy-liner-products{
      position:relative;
      bottom:auto;
    }

    .graphic{
        /*unhide the graphic for desktop*/
        display:block;
        height:60%;
        width:auto;
        position:absolute;
        bottom:-9.75%;
        left:5%;
        top:auto;
    }

    #welcome-message{
        position:absolute;
        left:19%;
        top:25%;
        width:50%;
        font-size:16px;
    }

    #welcome-contact{
        position:absolute;
        right:0px;
        padding-right:3%;
        padding-top:1%;
    }

    /*    .footer, .content { position: absolute; left: 0; width: 100%; }
        .footer { overflow: hidden; background: white; height: 30%; }
        .content {
            top: 0px; bottom: 30%; overflow: visible; background: #E2E6E7;
            padding-top: 150px;
        }
        .footer { bottom: 0; }​*/

    .footer, .content{
        position:absolute;
        left:0;
        width:100%;
    }
    .footer{
        overflow:auto;
        background:white;
        height:30%;
        bottom:0;
        padding-top:0px;
    }
    .content{
        top:0px; bottom: 30%; overflow:visible; background-color: #E2E6E7;
        padding-top:70px;
    }
    #index-content{
      bottom:31%;
    }
    #index-footer{
      height:31%;
    }

	  .footer-contact-about{
        height: 47.5%;
        overflow:visible;
    }
    .content-contact-about{
        bottom:47.5%;
    }
    .graphic-contact-about{
        bottom:-38.4%;
        left:4.5%;
        height:80%;
    }

    #graphic-welcome{
        left:7%;
    }

    #about-message{
        position:absolute;
        right:4.5%;
        width:52%;
        padding-top:30px;
    }

    #contact-form-wrapper{
        width: 50%;
        position: absolute;
        left: 45%;
        top: 3%;
    }
    #contact-form label{
        font-size:1em;
        font-weight:normal;
        color:#777;
    }


    #contact-options{
      position: absolute;
      top: 45%;
      left: 13.5%;
    }


    #contact-map{
        height:100%;
        width:100%;
        background-color:black;
    }

    #product-graphic{
        top:70px; /* this should be the height of navbar */
        height:35%;
        left:5%;
        position:absolute;
    }

    #product-container{
        padding-top:3%;
    }

    .first-row-product{
    }

    .first-row-product-tall{
        padding-top:0%;
    }

    .product-row > div{
      padding-left:5px;
      padding-right:5px;
    }

    .product-thumbnail-tall{
        height:570px;
    }
    .product-panel-tall{
        height:650px;
    }

    #products-message{
      position: absolute;
      left: 38%;
      width: 56%;
      top: 15%;
    }
}

/* For 4:3 tablet media query*/
@media only screen
  and (min-device-width: 768px)
  and (min-device-width: 1024px)
  and (min-aspect-ratio: 4/3){

}
