/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    font-size: 16px;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
  body{
      font-family: 'Roboto', sans-serif;
      color: #595959;
      font-size: 16px;
  }

/*=============================================================================
  HEADER STYLES
  =============================================================================*/
  header{
  float: left;
  width: 100%;
  max-height: 445px;
  height: auto;
  /*border-bottom: 3px solid #a4c1c1;*/
  margin: 0 auto;

    background-color: #d1e0e0;
  }

    .top{
      float: left;
      width: 100%;
      max-height: 250px;
      height: auto;
    }

    .top .full-width{
      float: left;
      width: 100%;
      margin: 0 auto;
      border-bottom: none;
    }

      #logo{
        width: 65%;
        max-height: 115px;
        height: auto;
        padding: 0% 17.5%;
      }
 
    #menu{
      width: 100%;
      height: auto;
      float: left;
      border-bottom: 2px solid #a4c1c1;
    }

      #menu nav{
        float: left;
        width: 100%;
        margin: 0;

      }

        #menu nav ul{
          list-style-type: none;
          width: 100%;
          margin: 0;
          padding: 0;
        }

          #menu nav ul li{
            float: left;
            width: 100%;
            height: auto;
            text-align: center;
            padding: 3% 0;
          }

            #menu nav ul li a{
              font-size: 1.4em;
              text-decoration: none;
              color: #5d8989;
            }

            #menu nav ul li a:hover{
              background-color: #a4c1c1;
              color: #595959;
            }

            #menu nav li li{
              font-size: .7em;
              height: auto;
              margin: 0 auto;
              padding: 1% 0;
              text-align: center;
            }

            .sub {
                display:none;
                margin: 0 auto;
                padding: 0;
               
            }

              .sub a {
                width: 100%;
              }

                .main {margin-top:5px; height:35px;}
                .main:hover > ul {
                    display:block;
                }

.page-title{
    float: left;
    width: 100%;
    height: 100%;
    margin: 0 auto;
  }

    .page-title h1{
     font-size: 1.6em;
     font-weight: normal;
     text-align: center;
    }

.page-title2{
    float: left;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-bottom: 2px solid #a4c1c1;
  }

  .page-title2 h1{
    margin: 0 auto;
    padding: 1% 0;
    text-align: center;
    font-weight: 500;
  }

  .page-title2 p{
    max-width: 65%;
    margin: auto;
  }

  .full-width{
    clear: both;
    float: left;
    width: 100%;
    margin: 0 auto;
  }

  .half-width, .third-width{
    width: 100%;
    height: auto;
    float: left;
  }

    .third-width h1{
      text-align: center;
      font-family: 'Roboto', sans-serif;
      font-size: 1.7em;
      font-weight: 500;
    }

    .third-width h2{
      text-align: center;
    }

  .quarter-width{
    float: left;
    width: 100%;
    height: auto;
  }

  .quarter-width img{
    padding: 5% 20% 0;
    max-width: 220px;
    max-height: 165px;
    width: auto;
    height: auto;
  }

  .quarter-width h3{
    font-family: 'Roboto', sans-serif;
    margin: 0 auto;
    padding: 0 20%;
    font-size: 1em;
  }

  #home-middle{
    clear:  both;
    width: 100%;
    max-height: 350px;
    height: auto;
    border-bottom: 3px solid #a4c1c1;
  }

    #home-img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 100%;
    width: 50%;
    height: auto;
    object-fit: contain;
    }

  #about{
    float: left;
    background-color: #d1e0e0;
    width: 100%;
    height: auto;
    line-height: 2;
    font-size: 1.2em;
    border-bottom: 3px solid #a4c1c1;
  }

    #about h2{
      text-align: center;
      font-size: 1.2em;
    }

      #about p{
        text-align: justify;
        line-height: 1.5;
        padding: 1% 15%;
      }
  .set-pic{
    max-width: 300px;
    max-height: 250px;
    object-fit: contain;
  }

  .items{
    margin: 0 auto;
    padding: 5%;
  }

  .item-title{
  font-family: 'Roboto', sans-serif;
  font-size: 1.5em;
  font-weight: 500;
  margin: 1% 0;
  text-align: left;
  }

  .item-pic{
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  .item-describe{
  font-size: 1.2em;
  font-weight: normal;
  margin: 1% 0;
  text-align: left;
  }

  .item-selections{
    padding: 2% 5%;
  }

  .item-selections2{
    padding: 2% 5%;
  }

  .half-width .item-selections2{
    padding:  5%;
  }

  .form-h3, .item-selections h4, .item-selections2 h4{
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    font-weight: 400;
  }

  footer{
    clear: both;
    background-color: #bfbfbf;
    padding: 1%;
    overflow: hidden;
  }

    footer a{
      text-decoration: none;
      color: #595959;
    }

      #envelope{
       padding-left: 46%;
        max-width: 100px;
        max-height: 75px;
        width: auto;
        height: auto;
      }

      footer p{
        text-align: center;
        color: #595959;
        margin: 0 0 .5% 0;
      }

  #footer2{
    float: left;
    width: 100%;
    height: auto;
    padding-left: 2%;
    background-color: #595959;
  }  

  #footer2 a{
    text-decoration: none;
  }

  #footer2 a p{
    color: white;
    font-size: .9em;
    line-height: .5;
  }  

  #myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 14px;
  border: none;
  outline: none;
  background-color: #a4c1c1;
  color: #555;
  cursor: pointer;
  padding: 15px;
  border-radius: 8px;
}

#myBtn:hover {
  background-color: #555;
  color: white;
} 

  .iFrame{
    display: block
    margin-left: auto;
    margin-right: auto;
}


/*=============================================================================
==FABRIC.HTML STYLES                                                          =
=============================================================================*/

/*section{
  float: left;
  width: 1000px;
  height: auto;
  margin: 0 auto;
}*/

.fabrics{
  float: left;
  width: 100%;
  padding-bottom: 5%;
}

.fabrics h2{
  color: #404040;
  font-size: 1.8em;
  padding: 0% 5%;
}

.fabrics .full-width{
  clear: both;
  width: 100%;
  height: auto;
  border-bottom: none;
}

.fabrics .quarter-width{
  float: left;
  width: 25%;
  height: 125px;
  overflow: hidden;
}

.fabrics .quarter-width img{
  width: 80%;
  height: 85px; 
}


.fabrics .quarter-width h3{
  text-transform: uppercase;
  color: #737373;
  font-size: .8em;
  padding-top: 1%;

}




/*===========================================================================
  Global sytles
=============================================================================*/







/*===========================================================================
  Main-mobile sytles
  ===========================================================================*/








/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media (min-width: 640px){
/*===========================================================================
  HEADER STYLES
  ===========================================================================*/
  header{
    max-height: 500px;
    float: left;
  }

  .top .third-width{
    width: 33%;
    padding: 5% 0;
  }

    #logo{
      max-height: 150px;
      width: 65%;
      padding: 0 17.5%;
    }

  .top .two-third-width{
    width: 67%;
    padding: 0;
  }



  .page-title h1{
    font-size: 2em;
  }

#menu nav ul li{
  padding: 1% 0;
}

.full-width{
  border-bottom: 1px solid #a4c1c1;
}

.third-width{
  width: 45%;
  /*max-height: 415px;*/
  height: auto;
  padding: 2% 2%;
}

.quarter-width{
  width: 50%;
}

.quarter-width img{
  padding: 5% 15% 0;
  max-width: 200px;
  max-height: 175px;
  width: auto;
  height: auto;
}

.quarter-width h3{
  padding: 0 15%;
  margin: 0 auto;
}

.items{
  max-width: 200px;
}

.item-title{
  margin: 0 auto;
  padding-top: 2%;
}

.item-pic{
  max-width: 200px;
  max-height: 175px;
  width: auto;
  height: auto;
}


}  

@media (min-width: 900px){

/*===========================================================================
  HEADER STYLES
  ===========================================================================*/
  header{
    max-height: 270px;
  }

        #menu nav ul{
        }

          #menu nav ul li{
            display: inline-block;
            padding: 1% 0;
            width: 25%;
          }

            #menu nav ul li a{
              font-size: 1.2em;
              display: block;
            }

            #menu nav li li{
              font-size: .9em;
              width: 60%;
              text-align: left;
              padding-left: 37%;
            }

    .top{
      width: 40%;
    }

      #logo{
        width: 60%;
        padding: 4% 20%;
      }

    .page-title{
      width: 50%;
      padding: 3% 5%;
    }

    .page-title h1{
      font-size: 2.2em;
    }

    .page-title2{
      width: 100%;
      height: auto;
    }

    .page-title2 h1{
      font-size: 2em;
    }

  .half-width{
    width: 45%;
    padding: 2% 2%;
  }

  .third-width{
    width: 29%;
    padding: 2% 2%;
  }
  .quarter-width{
      width: 25%;
      height: 235px;
  }

  #home-middle .third-width{

    width: 33.3%;
    padding: 0.1% 0;
  }

    #home-img{
      padding: 0;
    }

    #about p{
      line-height: 1;
    }

  #envelope{
    padding-left: 49%
  }

.quarter-width img{
  padding: 5% 20% 0;
  width: 210px;
  height: 180px;
}

.quarter-width h3{
  color: #595959;
  font-size: 1em;
  text-transform: capitalize;
  margin-top: 0;
  padding: 0 20%;
}

/*=============================================================================
/*Furniture pages styles desktop
/*===========================================================================*/

.products .full-width{
 padding: 0 2%;
 border-bottom: 1px solid #a4c1c1;
}

.items{
  padding-left: 25%;
  }

.item-title{
  font-size: 1.5em;
  width: 400px;
}

.item-pic{
    border-radius: 5px;
    max-width: 300px;
    max-height: 250px;
}

.item-describe{
  font-size: 1em;
}

.item-selections{
  padding-left: 15%;
}

.item-selections2{
  padding-left: 5%;
}
  

.form-h3{
  height: 20px;
  font-size: 1.3em;
  color: #797979;
  margin: 0 auto;
  font-weight: normal;
}

.form-h3 span{
  color: #ff6666;
}

.item-price{
  font-size: 1.1em;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  margin: 0 auto;
  padding: 5% 0;
}

.half-width .item-price{
  padding: 0;
}

.options{
  font-size: 1em;
  font-weight: normal;
  margin: 1% 0;
  padding-top: 2%;
}

.half-width .selection{
    padding: 0;
  }

.third-width .selection{
  margin: 0 auto;
  padding: 2% 0;
}

.set-pic{
  width: 450px;
  height: 350px;
  object-fit: contain;
  border-radius: 5px;
}
input{
  padding: 1%;
}

#furniture {
  clear:  both;
  width: 100%;
}

#furniture p{
  padding: 0;
  text-align:center;
}

.button {
    background-color: #d1e0e0;
    border-radius: 4px;
    color: #555;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.button:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}


/* Slideshow container */
.slideshow-container {
  max-width: 700px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}


/* 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 {
  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}
}

/*=================================================================
  CUSHION PAGES SYTLES                     
  =================================================================*/
.cushion-class{
  margin: 0 auto;
  width: 100%;
  height: 450px;
}

.cushion-img{
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 5px;
}

.cushion-class .half-width{
  margin: 0 auto;
  width: 50%
  padding: 2%;
  height: auto;
}

.cushion-class .half-width h2{
  margin: 0 auto;
  font-size: 2em;
  text-align: left;
}

.cushion-class .half-width p{
  padding: 0;
  text-align:left;
  width: 300px;
}

.cushion-class .quarter-width h2{
  margin: 0 auto;
  font-size: 1.5em;
  text-align: left;
  text-decoration: underline;
  padding: 35% 0 1% 5%;
}

.cushion-class .quarter-width h3{
  margin: 0 auto;
  font-size: 1.2em;
  font-weight: 400;
  text-align: left;
  padding: 4% 5%;
}

.cushion-class .half-width h4{
  margin: 0 auto;
  font-size: 1.2em;
  font-weight: 400;
  text-align: left;
  padding: 1% 0%;
}

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

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

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
