@import url('https://fonts.googleapis.com/css?family=Lato:300,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300&display=swap');

.container-fluid
{
  text-align: center;
}

.top {
  background-image: url(../img-all-hero/window-signs-graphics.jpg);
  background-position: center;
  background-repeat: no-repeat;  /*this might not be neccessary*/
  background-size: cover;
  min-height: 200px;
  text-align: center;
  color: white;
  position: relative; /*for color overlay*/
}

/*for color overlay*/
.top .color-overlay{
  background-color: rgba(0, 0, 0, 0.60);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

.top .intro-text {
  padding: 4rem 0 3rem 0;
  max-width: 50rem; /*set 30rem in media query*/
  margin: auto;
  position: relative; /*for color overlay*/
  z-index: 2; /*for color overlay*/
}

.top .intro-text p {
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.5px;
}

.showcase > input,
.showcase section > div {
  display: none;
}

#tab1:checked ~ section .tab1,
#tab2:checked ~ section .tab2,
#tab3:checked ~ section .tab3,
#tab4:checked ~ section .tab4,
#tab5:checked ~ section .tab5,
#tab6:checked ~ section .tab6,
#tab7:checked ~ section .tab7,
#tab8:checked ~ section .tab8{
  display: block;
}

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

body{
  background-color: #ecf0f1;
  font-family: 'Lato', sans-serif;
}

h1{
  padding-top: 30px; /*move the heading down by 50px which is the header nav and 10px more to adjust for the showcase push down*/
  padding-bottom: 20px;
  text-align: center;
  font-size: 2.5rem;
  color: #e74c3c;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  font-family: 'Roboto', sans-serif;
}

.showcase{
  /*firstly, move the whole showcase block down by 10px*/
  padding-top: 10px; /*adjust this in media query for resoulutions less than 991px*/
  width: 100%;
  max-width: 1280px; /*source code - 700*/
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}

.showcase .info
{
  margin-left: auto;
  margin-right: auto;
}

.showcase ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.showcase ul li label{
  float: none; /*source code - left*/
  /*padding: 59px 27px;*/ /*source code - 15px 25px instead of 50px 27px*/
  /*border: 1px solid #ddd;*/ /*not needed anymore except for test purposes*/
  /*background-color: #eeeeee;*/ /*initial background color was slightly grayish*/
  background-color: rgba(255, 255, 255, 1); /*set to white or no-color*/
  color: #444;
}

.showcase ul li label:hover{
  /*background-color: #ddd;*/
  background-color: rgba(33, 150, 243, 0.60);
  transition: 1s;
  cursor: pointer;
}

.showcase ul li label:active{
  background-color: #fff;
}

.showcase ul li:not(:last-child) label{
  border-right-width: 0;
}

.showcase section{
  clear: both;
  max-width: 800px;
}

.showcase section div{
  /*padding: 20px;*/ /*no longer needed in Desktop version*/
  padding-bottom: 40px; /*adjust this in media query for resoulutions less than 991px*/
  width: 100%;
  /*border: 1px solid #ddd;*/ /*border around div no longer needed*/ /*back for testing purposes*/
  background-color: #fff;
  line-height: 1.5em;
  letter-spacing: 0.5px;
  color: #444;
}

/* ATTENTION - code below controls the OVERLAY HOVER effect!!! */
/* Edit it with utmost care and be sure to check for spill-over effects after editing */
/*step 1 - setting up the image*/
.showcase section div img {
  height: auto;
  max-width: 100%;
}

/*step 2 - setting up the visual box of the showcase*/
.showcase section div .visual {
  position: relative;
  display: block;
}

/*step 3 - setting up the overlay and text inside it*/
.showcase section div .visual .overlay {
  /*1 - controlling the transition*/
  position: absolute;
  transition: all 0.5s ease-in-out;
  opacity: 0;
  /*2 - formatting the position and color of the overlay*/
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(33, 150, 243, 1); /*firstly, set it to 100% DSB 33, 150, 243, 1*/
  /*3 - formatting text inside the overlay paragraph*/
  color: #fff;
  text-transform: capitalize;
  letter-spacing: 2px;
  font-weight: 500;
  cursor: pointer;
}

/*step 4 - setting up the paragraph position inside the overlay*/
.showcase section div .visual .overlay p {
    margin: 20% 1rem 1rem 1rem; /* modify 15% in media queries*/
    /*edit font displayed below*/
    font-family: 'Lato', sans-serif;
    font-size: 18px;
}

/*step 5 - FINAL - setting up the HOVER trigger for .visual class*/
.showcase section div .visual:hover .overlay {
  /*set up the wanted opacity when effect is being triggered*/
  opacity: 0.85;
}


.showcase section div h2 {
  padding-top: 25px; /*adjust this in media query for resoulutions less than 991px*/
  font-family: 'Lato', sans-serif;
  color: #34495e;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.showcase section div .textual p {
  padding-top: 10px;
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 400;
  color: #696969;
  letter-spacing: 0.5px;
}

.showcase section div .textual p strong{
  font-weight: 400;
}

#tab1:checked ~ nav .tab1 label,
#tab2:checked ~ nav .tab2 label,
#tab3:checked ~ nav .tab3 label,
#tab4:checked ~ nav .tab4 label,
#tab5:checked ~ nav .tab5 label,
#tab6:checked ~ nav .tab6 label,
#tab7:checked ~ nav .tab7 label,
#tab8:checked ~ nav .tab8 label{
  background-color: #fff;
  color: #111;
  position: relative;
}

#tab1:checked ~ nav .tab1 label:after,
#tab2:checked ~ nav .tab2 label:after,
#tab3:checked ~ nav .tab3 label:after,
#tab4:checked ~ nav .tab4 label:after,
#tab5:checked ~ nav .tab5 label:after,
#tab6:checked ~ nav .tab6 label:after,
#tab7:checked ~ nav .tab7 label:after,
#tab8:checked ~ nav .tab8 label:after{
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: #fff;
  left: 0;
  bottom: -1px;
}

.bottom h3
{
  font-family: 'Lato', sans-serif;
  color: #34495e;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bottom ul {
  padding: 0;
  display: flex;
  width: 100%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}

.bottom ul li {
  list-style: none;
  display: block;
  text-transform: capitalize;
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 400;
  color: #696969;
  letter-spacing: 0.5px;
  padding-bottom: 50px;
}

.bottom ul img {
  padding-bottom: 30px;
}

@media (min-width: 992px)
{
  .tap
  {
    display: none;
  }
}

@media (max-width: 991px)
{
  .top {
    display: none;
  }
  .intro-text h1 {
    padding: 2rem 0 0 0;
  }
  .intro-text p {
    padding: 2rem 0 2rem 0;
    max-width: 40rem; /*set 30rem in media query*/
    margin: auto;
    position: relative; /*for color overlay*/
    z-index: 2; /*for color overlay*/
  }

  .showcase
  {
    margin-top: 50px;
    padding-top: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .tap /*this is the tap for details sign*/
{
  position: absolute;
  padding: 0 !important;
  margin: 4px 0 0 0 !important;
  font-size: 14px;
  color: rgba(33, 150, 243, 0.50)!important;
  background-color: transparent; /*this one is for just in case*/
}

  .showcase .menu1 ul
  {
    display: flex;
    /*-webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;*/ /*this is not neccessary, since it seems that the menu wasn't previously displayed as flex*/
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    justify-content: space-around;
  }

  .showcase .info .visual {
    padding-bottom: 0;
  }

  .showcase .info
  {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
        order: 3;
  }

  .showcase section div .visual .overlay p {
      margin: 15% 1rem 1rem 1rem; /* modify 15% in media queries*/
  }

  .showcase .menu2 ul
  {
    display: flex;
    /*-webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;*/ /*this is not neccessary, since it seems that the menu wasn't previously displayed as flex*/
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    justify-content: space-around;
  }

  .showcase section div ul
  {
    margin: -50% 1rem 1rem 0;
  }
  .showcase section div h2{
    padding-top: 25px;

  }

  .showcase section div p{
    padding-top: 10px;
    margin-left: 2rem;
    margin-right: 2rem;
  }

}

@media (max-width: 700px)
{
  .bottom ul
  {
    flex-direction: column;
  }

  .intro-text p {

    max-width: 20rem; /*set 30rem in media query*/
    padding: 2rem 0 2rem 0;
  }
  .showcase ul li label{
    margin-bottom: 0;
  }
}

@media (max-width: 500px)
{
  .showcase ul li label{
    margin-bottom: 0px;
  }

  .showcase section div .visual .overlay p {
      margin: 2% 1rem 1rem 1rem; /* modify 15% in media queries*/

  }
}

@media (max-width: 360px)
{
  .showcase section div .visual .overlay p {
      margin: 0 1rem 1rem 1rem; /* modify 15% in media queries*/
      font-size: 16px;
  }
}
