/* Footer Star Ratings */
#FooterStarRatings {
display: block;
    margin: auto;
    text-align: center;
    width: 50%;
       padding: 10px;
}

/*Star Ratings Badge */
#star-ratings-usa-white {
display:inline-block;
width:20%;
float:none;
text-align:center;
margin-left: auto;
margin-right: auto;
}


/*Sewing Page Border */
div.one {
  border-style: solid;
  border-color: red;
    padding: 15px;
}

#overlayText {
 position:absolute;
  top:50%;
  left:21%;
  z-index:1;
}

#topText {
  color: white;
  font-size: 20px;
  align-self: center;
}

/*Phone Buttons*/
a.one {
background-color: red;
  color: white;
  padding: 2px 4px;
  text-decoration: none;
  text-transform: uppercase;
}

a.one:hover {
  background-color: #555;
}

a.one:active {
  background-color: black;
}

a.one:visited {
  background-color: #ccc;
}

/*responsive 2 column grid*/

/*  SECTIONS  */
.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}

/*  COLUMN SETUP  */
.col {
    display: block;
    float:left;
    margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

/*  GRID OF TWO  */
.span_2_of_2 {
    width: 28.4%;
}
.span_1_of_2 {
    width: 70%;
}

/*  CZ GRID OF TWO  */
.spanCZ_2_of_2 {
    width: 28.4%;
}
.spanCZ_1_of_2 {
    width: 70%;
}

/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
    .col {
        margin: 1% 0 1% 0%;
    }
}

@media only screen and (max-width: 480px) {
     .span_2_of_2, .span_1_of_2 {
        width: 100%;
    }
}


/*Products Flex Box */

.rowProd {
  display: flex;
  flex-wrap: wrap;
}

.colProd {
  flex: 1 0 18%; /* The important bit. This percentage decides your columns.
 The percent can be px. It just represents your minimum starting width.
  */
  margin: 5px;
  background: tomato;
  height: 50px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* products grid */

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  background-color: #fff;
  padding: 10px;
}
.grid-item {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 20px;
  font-size: 30px;
  text-align: center;
    }

/* vita options grid */


.grid-container1 {
  display: grid;
  grid-template-columns: auto auto auto auto;
  background-color: #F5F5F5;
  padding: 10px;    
}
.grid-item1 {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 20px;
  font-size: 15px;
  text-align: left;
    }

.PageMenu {
  font-size: 13.8px;
}

/* quote button */
 .buttonQ {
  border: none;
  color: black;
    background-color:#7dcea0;
  padding: 16px 32px;
border-radius: 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

}

.buttonQ1 {
  background-color: white;
  color: black;
  border: 2px solid #4CAF50;
}

.buttonQ1:hover {
  background-color: #4CAF50;
  color: white;
}


/* iframe auto scale */
.iframe-container {
  overflow: hidden;
  /* 16:9 aspect ratio */
  padding-top: 56.25%;
  position: relative;
}

.iframe-container iframe {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}

/*  GRID OF FIVE  */
.span_5_of_5 {
    width: 100%;
}
.span_4_of_5 {
    width: 79.68%;
}
.span_3_of_5 {
    width: 59.36%;
}
.span_2_of_5 {
    width: 39.04%;
}
.span_1_of_5 {
    width: 18.72%;
}

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
    .col {  margin: 1% 0 1% 0%; }
    .span_1_of_5, .span_2_of_5, .span_3_of_5, .span_4_of_5, .span_5_of_5 { width: 100%; }


/* cz grid */

.grid-containerCZ {
  display: grid;
  grid-template-columns: auto auto;
  background-color: #fff;
  padding: 10px;
}
.grid-itemCZ {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 20px;
  font-size: 30px;
  text-align: center;
    }

 /* Three image containers (use 25% for four, and 50% for two, etc) */
.Test_column {
  float: left;
  width: 33.33%;
  padding: 5px;
}

/* Clear floats after image containers */
.Test_row::after {
  content: "";
  clear: both;
  display: table;
} 

/*two column for kodiak*/

.cust-row {
  display: flex;
    flex-wrap: wrap;
}

.cust-column {
  flex: 50%;
}

@media (max-width: 800px) {
  .cust-column {
    flex: 100%;
  }
}
