body{
    width: 100%;
    margin: 0;
}
.page-title{
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2em;
    margin-top: 15px;
    color: chocolate;
}
.color-catalogue{
    width: 100%;
    display: flex;
    justify-content: center;  
    padding-top: 50px;      
    position: relative;
}
.color-page{
    width: 100%;
    max-width: 1500px;
    align-items: center;
    border: 2px solid ;
    padding: 5px;
    padding-bottom: 18px;
    background-image: url(../images/bg5.jpg);
    background-repeat: no-repeat;
    padding-left: 30px;
    border-image-slice: 1;
    border-image-source: linear-gradient(to right bottom, #CCCCCC, #ffffff);
    animation-duration: 2.5s;
    animation-name: turnPage;
}
.mySlides {display: none;}
.imgSlides {display: none;}
.color-list{
    width: 16.6666666667%;
    float: left;
}
.color-details{
    width: 90%;
    margin: 5% 5% 0% 5%;
    height: 80px;
}
.color-name{
    font-size: 0.7em;
    padding-left: 5px;
    padding-top: 10px;
}
.clr{
    clear: both;
}
.menu-bar{
    width: 80%;
    background-color: aqua;
}
@keyframes turnPage {
    0% {transform: translateZ(0) rotateY(-90deg);}
    100% {transform: translateZ(0) rotateY(0deg);}
  }
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 105%;
    width: auto;
    padding: 5px 20px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;    
    user-select: none;
    background-color: chocolate;
  }
  .next {
    right: 35%;
    border-radius: 0 3px 3px 0;
  }
  .prev {
    left: 35%;    
    border-radius: 3px 0 0 3px;
  }
  
  .prev:hover, .next:hover {
    background-color: rgba(107, 78, 78, 0.8);
    text-decoration: none;
    color: white;
  }
.paging{
    left: 50%;
    font-size: 18px;
    position: absolute;
    top: 103.5%;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 40px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 900px;
  }
  
  /* The Close Button */
  .close {
    color: #2a2626;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: chocolate;
    text-decoration: none;
    cursor: pointer;
  }
.modal_title{
    font-family: "Roboto", sans-serif;
    font-size: 1.2em;
    text-transform: uppercase;
    margin-left: 5%;
    font-weight: 600;
}
.imgbox{

    width: 90%;
    margin-left: 5%;
    position: relative;
}
.img-prev,.img-next{
  bottom: 50%;
  z-index: 9999;
  font-size: 30px;
  cursor: pointer;
  padding: 10px 5px;
  background-color: #CCCCCC;
  color: #ddd;
  position: absolute;
}
.img-next{
  right: 0;
  border-radius: 3px 0 0 3px;
}
.img-prev{
  left: 0;
  border-radius: 0 3px 3px 0;
}
.img-prev:hover,.img-next:hover{
  background-color: chocolate;
}
#myInput {
  background-image: url('../images/searchicon.png');
  background-position: 10px 10px;
  background-repeat: no-repeat;
  width: 90%;
  font-size: 16px;
  margin: 5%;
  margin-top: 2%;
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
}
#myTable {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #ddd;
  font-size: 18px;
}

#myTable th, #myTable td {
  text-align: left;
  padding: 12px;
  font-size: 0.7em;
}

#myTable tr {
  border-bottom: 1px solid #ddd;
}

#myTable tr.header, #myTable tr:hover {
  background-color: #f1f1f1;
}
.color_rectangle{
  width: 60%;
  padding-left: 20%;
  height: 30px;
}
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 1em;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  border: 1px solid #ccc;
  border-top: none;
}
@media only screen and (max-width: 767px) {
    .color-catalogue{
        padding-top: 20px;
    }
    .color-page{
        padding-left: 26px;
        padding-bottom: 10px;
    }
    .color-details{
        height: 62px;
    }
    .page-title{
        font-size: 1.2em;
        margin-top: 10px;
        margin-bottom: -10px;
        font-weight: 600;
    }
    .paging{
        top: 103%;
        left: 45%;
    }
    .next {
        right: 25%;
      }
      .prev {
        left: 25%;    
      }
      .modal {
        padding-top: 10px;
      }
      .color_rectangle{
        width: 90%;
        padding-left: 5%;
      }
      .imgbox{
        width: 98%;
        margin-left: 1%;
    }
    #myInput {
      width: 98%;
      font-size: 0.9em;
      margin: 1%;
    }
    #myTable {
      font-size: 0.9em;
    }
    .modal_title{
      font-size: 1em;
      margin-left: 1%;
  }
  .modal-content {
    width: 98%;
  }
  .img-prev,.img-next{
    font-size: 18px;
    padding: 10px 6px;
  }
}