
.title_deals {
  margin-bottom: 0.5rem;
}
.main_deals {
  display: flex;
  width: 100%;
  margin: 0 0 10px !important;
  border: 1px solid #f3ecec;
  box-shadow: 1px 1px #f3ecec;
}
.image_data_deals {
  display: flex;
  width: 20%;
  max-width: 200px;
  min-width: 100px;
  flex-direction: column;
  padding: 5px 10px 0px;
  align-items: center;
}
.time_deals {
  color: red;
  font-weight: bold;
  text-align: center;
}
.offer_img_deals {
  max-height: 140px;
}
.offer_data_deals {
  display: flex;
  width: 80%;
  flex-direction: column;
  padding: 20px 10px 0px 20px;
  border-left: 1px solid #f3ecec;
  float: right;
}
.title_deals {
  font-size: 16px;
  letter-spacing: 0.5px;
}
.description_deals {
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.price_details_deals {
  margin: 5px 0;
  display: flex;
  zoom: 85%;
}
.price_deals {
  font-weight: bold;
  font-size: 25px;
}
.total_price {
  font-size: 19px;
  margin: 2px 5px;
  font-weight: lighter;
  text-decoration: line-through red;
}
.discount_percent_deals {
  color: rgb(49, 139, 49);
  margin-left: 10px;
  font-weight: 700;
  font-size: 19px;
}
.btn_grp_deals {
  margin: 10px 0 20px 0;
  align-items: center;
  /* display: flex; */
}

.btn_deals {
  border: 1px solid blue;
  border-radius: 10px;
  padding: 8px 15px;
  font-size: 15px;
  text-decoration: none;
  font-weight: bold;
}
.btn_deals:hover {
  background: blue;
  transform: scale(1.1);
  color: white;
}

.links_deals {
  display: inline-block;
  text-decoration: underline;
}
.buy_btn_deals {
  margin-right: 20px;
}
.all_deals {
  margin: 0px 20px;
}
.all_deals,
.deal {
  font-size: 18px;
}
.brand_logo {
  margin: 8px auto;
  max-width: 90%;
  display: none;
}
.brand_logo_desk{
    margin: 7px 5px 0 auto;
    max-height: 30px;
    float: right;
}

.btn_img {
  max-width: 25px;
}
.btn_text {
  margin: 5px 0 0 5px;
}

@media only screen and (max-width: 600px) {
  .main_deals {
    width: 100%;
  }
  .image_data_deals {
    padding: 5px;
  }
  .time_deals {
    font-size: 10px;
    margin: 6px 0;
  }
  .offer_data_deals {
    margin-left: 0;
    padding: 5px;
    width: auto;
  }
  .title_deals {
    font-size: 13px;
    letter-spacing: 0;
    margin-bottom: 0.2rem;
  }
  .description_deals {
    font-size: 10px;
    margin-bottom: 0.2rem;
    letter-spacing: 0;
  }
  .price_deals {
    font-size: 23px;
  }

  .btn_grp_deals {
    margin: 2px 0;
  }
  .btn_deals {
    font-size: 11px;
    padding: 5px 10px;
    height: 20px;
    margin-right: 4px;
  }
  .all_deals {
    margin: 0 15px 0 0;
  }
  .all_deals,
  .deal {
    font-size: 11px;
  }
  .buy_btn_deals {
    margin-right: 10px;
    padding: 4px 10px !important;
  }
  .price_details_deals {
    margin: 3px 0;
  }
  .price_btn_deals {
    padding: 4px 10px !important;
  }

  .links_deals {
    margin: 10px 0;
  }
  .btn_text {
    margin: 0 0 0 3px;
  }
}
@media (min-width: 601px) and (max-width: 1200px) {
  .main_deals {
    width: 100%;
  }
  .time_deals {
    font-size: 12px;
    margin: 5px 0;
  }

  .offer_data_deals {
    margin-left: 0;
    padding: 5px 5px 5px 10px;
  }
  .title_deals {
    font-size: 14px;
  }
  .description_deals {
    font-size: 11px;
  }
  .price_deals {
    font-size: 24px;
  }
  .btn_grp_deals {
    margin: 5px 0;
  }
  .btn_deals {
    font-size: 12px;
    padding: 5px 10px;
    height: 25px;
    margin-right: 10px;
  }
  .all_deals,
  .deal {
    font-size: 12px;
  }
  .btn_text {
    margin: 0 0 0 5px;
  }
}
@media only screen and (max-width: 400px) {
  .links_deals {
    float: left;
  }
}
@media only screen and (max-width: 440px) {
  .brand_logo_desk{
    display: none;
  }
  .brand_logo{
    display: block;
  }
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  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 */
  z-index: 999999999;
  margin-top: 0 !important;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 80px auto 20px; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  /*height: calc( 100vh - 150px);
  max-height: 500px;*/
  box-sizing: border-box;
  max-width: 800px;
  max-height: 380px;
  position: relative;
}
.modal-content iframe{
    width: 100%;
    height: calc(100vh - 195px);
    max-height: 320px;
    border: none;
}
/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 5px;
  top: -5px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;

}
.modal-content p{
    max-height: calc(45vw - 90px);
    text-align: center;
  }
.modal-content a{
    margin-top: -20px;
    color: blue;
}
.modal-content div{
  text-align: center;
}
@media (max-width: 630px) { 
  .modal-content {
    padding: 0px;
    width: 98%; /* Could be more or less, depending on screen size */
  }
  .modal-content p{
    max-height: calc(45vw - 10px);
  }
  .modal-content iframe{
    height: calc(100vh - 140px);
  }
}