

html {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Papyrus, fantasy;
}

h1 {
  text-align: center;
  font-size: 2rem;
}

h2 {
  text-align: center;
  font-size: 1.5rem;
}

h3 {
  text-align: center;
  font-size: 1.2rem;
}

h4 {
  font-family: papyrus;
  font-size: 1.2rem;
}

p {
  text-align: center;
  font-size: 1rem;
  font-family: helvetica;
  line-height: 1.2em;
  margin: 15px auto;
  padding: 10px 10px;
  width: 80%;
}




/*top nav and responsive*/
#myTopnav {
  margin: 0 0;
  padding: 0 0;
}

.topnav {
  overflow: hidden;
  background: none;
  display: inline-block;
  background-color: black;
  width: 100%;
  margin: 0 0;
  padding: 0 0;
  float:left;
  clear:none;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 10px 10px;
  font-weight: lighter;
  text-decoration: none;
  font-size: 17px;
  color: azure;
  margin: 0 0;

}

.topnav a:hover {
  background-color: #ddd;
  color: black;

}

.activehome {
  background-color: #1e8dfe;
  color: white;

}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 750px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    position: absolute;
    right: 0;
    display: block;
  }
}

@media screen and (max-width: 750px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.header {
  background-color: gray;
  width: 100%;
  height: 120px;
  margin: 0 0;
}

@media screen and (max-width: 450px) {
  .TitleLogo {
    width: 100%;
    float: center;
    text-align: center;
  }
  }

.TitleLogo {
  height: 90px;
  padding-top: 15px;
  padding-bottom: 5px;
  margin: 0px auto;
  
}




.parallax-home, .parallax-window, .parallax-showroom, .parallax-remnants, .parallax-portfolio, .parallax-other, .parallax-contact, .parallax-carpets, .parallax-about {
  height: 300px;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 0;
  padding: 0;
}
.parallax-home {
    background-image: url("./images/2020/Shop2020_2.jpeg");
    background-position: center;
}
.parallax-window {
    background-image: url("./images/window/spring18/pearl.JPG");
}
.parallax-showroom {
    background-image: url("./images/showroom/cormar-stand.jpg");
    background-position: center;
}
.parallax-remnants {
    background-image: url("./images/remnants/remnantwall.PNG.jpg");
    background-position: bottom;
}
.parallax-portfolio {
    background-image: url("./images/portfolio/wood1.jpg");
}
.parallax-other {
    background-image: url("./images/colourful-rugs.jpeg");
    background-position: center;
}
.parallax-contact {
    background-image: url("./images/IMG_0759.JPG");
    background-position: top;
}
.parallax-carpets {
    background-image: url("./images/Stainfree_BoutiqueEDITED.JPG");
    background-position: center;
}
.parallax-about {
    background-image: url("./images/2020/About2020.jpeg");
    background-position: center;
}

@media only screen and (min-width: 1920px) {
    .parallax-home, .parallax-window, .parallax-showroom, .parallax-remnants, .parallax-portfolio, .parallax-other, .parallax-contact, .parallax-carpets, .paralax-about {
        height: 300px;
    }
}

@media only screen and (max-width: 1920px) and (min-width: 480px) {
.parallax-home, .parallax-window, .parallax-showroom, .parallax-remnants, .parallax-portfolio, .parallax-other, .parallax-contact, .parallax-carpets, .parallax-about {
        height: 0px;
        }
}

@media only screen and (max-width: 480px) {
    .parallax-home, .parallax-window, .parallax-showroom, .parallax-remnants, .parallax-portfolio, .parallax-other, .parallax-contact, .parallax-carpets, .parallax-about {
        background-position: center;
        background-attachment: scroll;
    }
}

.areas {
  background: url("./images/icons/CVC_map2.PNG");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 200px;
  width: 100%;
  margin: 0px auto;
  float: center;
  z-index: 10;
  position: fixed;
  bottom: 0;
}

.culmmap {
  position: relative;
  background-image: url("./images/culmvalleymap.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 300px;
  overflow: hidden;
  margin: 0 auto;
  text-align: center;
  padding: 5px;
  z-index: 1;
}

.hours {
  position: relative;
  height: 100%;
  margin-bottom: 0px;
  z-index: 1;
  padding: 10px;
  display: flex;
}

.hours h3 {
    text-align: center;
    color: white;
    margin-bottom: 0;
}

.hours-text {
    color: white;
    text-align: left;
    display: inline;
    width: 100%;
    line-height: 20px;
}

@media only screen and (min-width: 490px) {
 .hours {
     justify-content: space-around;
  display: flex;
    }
 .hours ul {
    column-count: 2;
    list-style-type: none;
    text-align: left;
    max-width: 70%;
    margin: 0 auto;
}   
}

@media only screen and (min-width: 760px) {
    .hours ul {
        column-count: 3;
        text-align: center;
    }
}


.hoursbox {
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
}

#areatitle {
    color: white;
    font-size: 150%;
    padding-top: 0px;
}

#areatext {
  text-align: center;
  margin: 0 auto;
  line-height: 1.8em;
  padding-bottom: 0px;
  color: white;
  font-size: 100%;
}

@media screen and (max-width: 750px) {
  .phoneno {
    display: none;
  }
  }

.phoneno {
  text-align: right;
  float: right;
  font-size: 20px;
  max-width: 300px;
  color: white;
  padding-top: 5px;
  font-weight: lighter;
  padding-right: 10px;
}

.areabox {
  margin: 50px auto 30px auto;
  background-color: rgba(0, 0, 0, 0.5);
  max-width: 450px;
  padding: 0px 10px 10px 10px;
  border: 5px solid white;
}

.space-filler {
  background-color: white;
  position: relative;
  bottom: 0px;
  height: 30px;
  z-index: 0;
}


/*social circles style*/

@media only screen and (max-width: 760px) {
  .socialcircles {
      margin: 10px auto;
      width: 100%;
      position: relative;
  }
  .socialcircles li {
    display: inline-block;
    width: 5px;
  }
  .socialcircles ul {
    margin: 10px auto;
    text-align: center;
  }
  .social-icons {
    height: 40px;
  }
  }

/*outside media query*/
.socialcircles {
    margin: 10px auto;
    width: 100%;
    position: relative;
    clear: both;
    float: none;
}

.socialcircles a:hover {
  opacity: 0.5;
}

.socialcircles li {
  display: inline-block;
  width: 80px;
}

.socialcircles ul {
  margin: 2px auto;
  text-align: center;
  padding: 0 0;
}

.social-icons {
  height: 70px;
}





/*selling point cards*/

*, *:before, *:after {
  box-sizing: inherit;
}
.card img {
    max-width: 100%;
    margin: 0 auto;
}
.row {
    max-width: 70%;
    margin: 0 auto;
}
.column {
  float: left;
  width: 25%;
  margin-bottom: 16px;
  padding: 0 8px;
}

.card {
  width: 100%;
  padding: auto;
}

.container2 {
  padding: 0 16px;
}

.container2::after, .row::after {
  content: "";
  clear: both;
  display: table;
}

.title {
  color: grey;
}

@media only screen and (max-width: 760px) {
  .column {
    width: 50%;
    display: block;
  }
  .card {
    width: 100%;
  }
  .card img {
      margin: 0 auto;
  }
}

@media only screen and (max-width: 400px) {
  .column {
    width: 100%;
    display: block;
  }
  .card {
    width: 100%;
  }
  .card img {
      margin: 0 15%;
      max-width: 70%;
      
  }
}



/*review box*/

.slideshow-container {
  position: relative;
  background: white;
  margin: 10px auto;
}

/* Slides */
.mySlides {
  display: none;
  padding: 20px 40px;
  text-align: center;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -30px;
  padding: 16px;
  color: #888;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  position: absolute;
  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);
  color: white;
}

/* The dot/bullet/indicator container */
.dot-container {
    text-align: center;
    padding: 20px;
}

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

/* Add a background color to the active dot/circle */
.active, .dot:hover {
  background-color: #717171;
}

/* Add an italic font style to all quotes */
q {font-size: 1.2rem;}








/*carpet page carpet cards*/


*, *:before, *:after {
  box-sizing: inherit;
}

.carpetcolumn {
  float: left;
  width: 25%;
  margin-bottom: 16px;
  padding: 0 8px;
}

@media screen and (max-width: 480px) {
  .carpetcolumn {
    width: 100%;
    display: block;
  }
}

.container2::after, .carpetrow::after {
  content: "";
  clear: both;
  display: table;
}


.card:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
}





/*carpet slideshow*/

.carpetmySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.carpet-slideshow-container {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.carpetprev, .carpetnext {
  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;
}

/* Position the "next button" to the right */
.carpetnext {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.carpetprev:hover, .carpetnext:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: white;
  font-size: 1rem;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.carpetdot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.carpetactive, .carpetdot: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) {
  .carpetprev, .carpetnext,.text {font-size: 11px}
}




/* remnants slideshow*/
.remnantsmySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.remnants-slideshow-container {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.remnantsprev, .remnantsnext {
  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;
}

/* Position the "next button" to the right */
.remnantsnext {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.remnantsprev:hover, .remnantsnext:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: white;
  font-size: 1rem;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.remnantsdot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.remnantsactive, .remnantsdot: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) {
  .remnantsprev, .remnantsnext,.text {font-size: 11px}
}







/*other slideshow*/

.other-list-container {
    margin: 0 auto;
    text-align: justify;
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 500px) {
    .other-list-container {
        display: block;
        align-items: block;
        margin: 0 auto;
    }
}

.other-list-title {
    font-weight: bold;
    font-family: papyrus;
    list-style-type: none;
    padding-top: 20px;
    padding-bottom: 15px;
    font-size: 20px;
}
@media only screen and (max-width: 700px) {
li .LVT-lg {
        display: none;
    }
}

li .LVT-sm {
        display: none;
    }

ul {
    padding: 40px;
}

ul li {
    font-family: helvetica;
}

#other1,#other2, #other3 {
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2)
}

.othermySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.other-slideshow-container {
  width: 100%;
  max-height: 350px;
  overflow: hidden;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.otherprev, .othernext {
  cursor: pointer;
  position: absolute;
  top: 100%;
  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;
}

/* Position the "next button" to the right */
.othernext {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.otherprev:hover, .othernext:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: white;
  font-size: 1rem;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.otherdot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.otheractive, .otherdot: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) {
  .otherprev, .othernext,.text {font-size: 11px}
}


/*facebook*/
.container {
    width: 100%;
    margin: 0 auto;
}

.facebook-container {
    margin: 0 auto;
    align-content: center;
    justify-content: center;
    text-align: center;
    display: flex;
    max-width: 1000px;
}

.fb-page {
    max-width: 80%;
    margin: 0 auto;
}

#fb-root {
    max-width: 80%;
    margin: 0 auto;
}

@media only screen and (max-width: 700px) {
    .container {
    width: 100%;
    margin: 0 auto;
}

.facebook-container {
    margin: 0 auto;
    align-content: center;
    justify-content: center;
    text-align: center;
    display: flex;
    max-width: 500px;
}

.fb-page {
    max-width: 80%;
    margin: 0 auto;
}

#fb-root {
    max-width: 80%;
    margin: 0 auto;
}
}


/*google map*/

#map {
  width:80%;
  height:300px;
  padding:0px;
  margin: 0 auto;
}




/*news page scrolling */
    .ex3 {
    background-color: white;
    width: 80%;
    margin: 20px auto;
    height: 1600px;
    overflow: auto;
    
}
.news-list {
	margin: 20px auto;

}

.news-article {
    padding: 20px;
}
#newsimage {

    width: 40%;
    margin: 20px 0;
    
}
@media only screen and (max-width: 760px){
    #newsimage {
        width: 100%;
        margin: 20px 0;
    }
}






/*new about page layout*/


*, *:before, *:after {
  box-sizing: inherit;
}

.about-column {
  float: left;
  width: 33.3%;
  margin: 2rem auto;
  padding: 0 8px;
}



@media screen and (max-width: 560px) {
  .about-column {
    width: 100%;
    display: block;
    
  }
}

.about-card {
  background-image: url(“./images/letter.jpg”);
  width: 100%;
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.about-container {
  padding: 0 16px;
}

.about-column a{
    text-decoration: none;
    color: black;
}
.about-column a:visited {
    text-decoration: none;
    color: black;
}

.about-container::after, .row::after {
  content: “”;
  clear: both;
  display: table;
}

.about-container p {
  text-align: center;
  font-weight: lighter;
}



/*new about end */













/*new gallery page layout*/


*, *:before, *:after {
  box-sizing: inherit;
}

.gallery-column {
  float: left;
  width: 25%;
  margin: 2rem auto;
  padding: 0 1rem;
}

.gallery-row {
    margin-top: 1rem;
}

@media screen and (max-width: 560px) {
  .gallery-column {
    width: 100%;
    display: block;
    
  }
}

.gallery-card {
  background-image: url(“./images/letter.jpg”);
  width: 100%;
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.gallery-container {
  padding: 0 16px;
}

.gallery-column a{
    text-decoration: none;
    color: black;
}
.gallery-column a:visited {
    text-decoration: none;
    color: black;
}

.gallery-container::after, .row::after {
  content: “”;
  clear: both;
  display: table;
}

.gallery-container p {
  text-align: center;
  font-weight: lighter;
}



/*new gallery end */














/*our team page layout*/


*, *:before, *:after {
  box-sizing: inherit;
}

.team-column {
  float: left;
  width: 33.3%;
  margin: 2rem auto;
  padding: 0 8px;
}



@media screen and (max-width: 560px) {
  .team-column {
    width: 100%;
    display: block;
    
  }
}

.team-card {
  background-image: url(“./images/letter.jpg”);
  width: 100%;
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.team-container {
  padding: 0 16px;
}

.team-container::after, .row::after {
  content: “”;
  clear: both;
  display: table;
}

.team-container p {
  text-align: center;
  font-weight: lighter;
}



/*our team end */


/*window showroom portfolio gallery*/

/* The grid: Four equal columns that floats next to each other */
.imgdisplay-column {
    float: left;
    width: 25%;
    padding: 5px;
}
@media only screen and (max-width: 760px) {
    .imgdisplay-column {
        width: 100%;
    }
}

/* Clear floats after the columns */
.imgdisplay-row:after {
    content: "";
    display: table;
    clear: both;
}

/* The expanding image container */
.imgdisplay-container {
    position: relative;
    display: none;
}



/* Closable button inside the expanded image */
.imgdisplay-closebtn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 35px;
    cursor: pointer;
}








/*window*/
.window-main {
  margin: 1rem auto;
}

.window-row {
    margin: 10px -16px;
}

/* Add padding BETWEEN each column */
.window-row,
.window-row > .window-column {
    padding: 8px;
}

/* Create three equal columns that floats next to each other */
.window-column {
    float: left;
    width: 33.33%;
    display: none; /* Hide all elements by default */
}
@media only screen and (max-width:720px) {
    .window-column {
        clear: both;
        width: 100%;
        margin: 1rem auto;
        display: none;
    }
}

/* Clear floats after rows */
.window-row:after {
    content: "";
    display: table;
    clear: both;
}

/* Content */
.window-content {
    background-color: white;
    padding: 10px;
}

/* The "show" class is added to the filtered elements */
.window-show {
  display: block;
}

/* Style the buttons */
.window-btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: white;
  cursor: pointer;
  font-family: helvetica;
}

.window-btn:hover {
  background-color: #ddd;
}

.window-btn.active {
  background-color: #666;
  color: white;
}


/*end window page*/