.sungroup div {
    text-align: center !important;
    line-height: normal !important;
}
.sg_fix {
    max-width: 1360px;
    width: 100%;
    margin: auto;
    background-color: #ffffff;
    font-family: arial;
}
.top_title{
  color:#000;
}
.sungroup .sg_switch, .sungroup .sg_promo, .sungroup .sg_txt {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Arimo', sans-serif, arial;
  font-weight: normal;
}
.sungroup .sg_switch {
  padding: 35px 0 20px;
}
.sungroup .sg_switch_el a {
  display: block;
  padding: 12px 0;
}
.sungroup .sg_switch_el a, .sungroup .sg_switch_el a:visited {
  color: #5e5e5e;
  text-decoration: none;
}
.sungroup .sg_switch_el {
  font-weight: bold;
  font-size: 22px;
  background-color: #ececec;
}
.sungroup .sg_switch_here, .sungroup .sg_switch_el:hover {
  background-color: #f56517;
}
.sungroup .sg_switch_here a, .sungroup .sg_switch_here a:visited, .sungroup .sg_switch_el:hover a {
    color: #ffffff;
}
@media (min-width: 601px){
  .sungroup .sg_switch_el:nth-of-type(1) {
      border-radius: 6px 0 0 6px;
  }
  .sungroup .sg_switch_el:nth-of-type(2) {
    border-radius: 0 6px 6px 0;
  }
  .sungroup .sg_switch_el {
    width: 50%;
    display: inline-block;
    vertical-align: top;
  }
}
.sungroup .sg_txt {
  color: #494949;
  font-size: 16px;
  padding: 20px 10px;
  line-height: 1.4em !important;
  text-align: left !important;
  max-width: 1360px;
}
#sg_all_promo {
    padding-top: 1px;
    display: flex;
    flex-wrap: wrap;
}
#sg_all_promo .sg_boxe {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 5px;
    width: calc(50% - 10px);
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #e2e2e2;
  }

#sg_all_promo .sg_box_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#sg_all_promo .sg_copy_s {
  color:#000;
}
#sg_all_promo .sg_box_title {
    font-size: 24px;
    font-weight: 500;
    font-family: 'AvenirDemi';
    margin: 0 10px 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    -webkit-box-align: center;
    height: 60px;
    vertical-align: middle;
    color:#000;
}
#sg_all_promo .sg_box_title.sg_vertical{
  -webkit-box-orient: horizontal;
}

#sg_all_promo .sg_box_left {
    width: calc(60% - 20px);
    padding: 10px;
    box-sizing: border-box;
    border: 1px dashed #0A4595;
    position: relative;
}

#sg_all_promo .sg_box_right {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-evenly;
    height: 100%;
}

#sg_all_promo .sg_box_left:before {
    content: "";
    background-image: url('https://www.mediaexpert.pl/lp/promocje/kody-rabatowe/resources/images/cut.png?1');
    background-repeat: no-repeat;
    width: 18px;
    height: 25px;
    top: 23px;
    left: -10px;
    position: absolute;
}
#sg_all_promo .sg_box_img img {
    width: 100%;
    height: auto;
}
#sg_all_promo .sg_copy {
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 5px;
    position: relative;
    color:#000;
}
#sg_all_promo .sg_kod {
    font-size: 24px;
    display: block;
    border: 1px dashed #0A4595;
    padding: 5px 0;
    background-color: #ffffff;
    font-family: 'AvenirBold';
}
#sg_all_promo .sg_icopy {
    position: absolute;
    color: green;
    height: 20px;
    font-weight: normal !important;
    font-family: 'AvenirDemi';
    background: #fff;
    border: 4px solid #fff200;
    width: auto;
    padding: 1px 10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: unset;
    top: -35px;
    display: flex;
    align-items: center;
    opacity: 0;
}
#sg_all_promo .sg_icopy_done {
    animation: copydone 2s linear;
}
#sg_all_promo a.sg_sprawdz {
    display: block;
    color: #fff;
    font-weight: 400;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    text-decoration: none;
    padding: 14px 0;
    margin: 10px 0;
    line-height: normal;
    background-color: #0A4595;
    background-image: unset;
    border: 0;
    border-radius: 1px;
    font-family: poppins;
    text-transform: uppercase;
    font-size: 15px;
}
#sg_all_promo a.sg_sprawdz.sg-codes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-height: 51px;
    box-sizing: border-box;
    line-height: 17px;
}
#sg_all_promo a.sg_sprawdz.sg-codes span {
    font-size: 11px;
}
#sg_all_promo .sg_expired {
    margin-top: 0px;
    font-size: 13px;
    color:#000;
}
@keyframes copydone {
	0% {
		opacity: 0;
	}
	25% {
		opacity: 1;
	}
	50% {
		opacity: 1;
	}
	75% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
.sungroup .sg_txt {
    padding: 5px 10px;
    font-family: 'Source Sans Pro', sans-serif, arial;
    font-weight: 400;
    color: #000000;
    font-size: 17px;
}
.sungroup .sg_txt h2 {
    font-size: 2em;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 20px;
}
@media(max-width:1000px){
  #sg_all_promo .sg_boxe {
    width: calc(50% - 10px);
    padding:10px;
  }
  #sg_all_promo .sg_box_content {
    flex-direction: column;
  }
  #sg_all_promo .sg_box_right,
  #sg_all_promo .sg_box_left {
    width: 100%;
  }
  #sg_all_promo .sg_box_title {
    font-size: 19px;
    -webkit-line-clamp: 2;
    height: 47px;
    margin:0 0 10px;
  }
  #sg_all_promo .sg_expired {
    font-size: 12px;
  }
}
@media(max-width:700px){
  #sg_all_promo .sg_boxe {
    width: calc(50% - 5px);
    margin:2.5px;
  }
  #sg_all_promo .sg_box_title {
    font-size: 15px;
    -webkit-line-clamp: 2;
    height: 38px;
    margin: 0 0 10px;
  }
  .sungroup .sg_txt h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .sungroup .sg_txt {
    font-size: 15px;
  }
}
@media(max-width:500px){
  #sg_all_promo .sg_box_left:before {
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 11px;
    height: 16px;
    top: 23px;
    left: -6px;
}
  #sg_all_promo .sg_boxe {
    padding: 10px 5px;
  }
  #sg_all_promo .sg_box_left {
    padding: 5px;
  }
  #sg_all_promo .sg_copy {
    margin-bottom: 0px;
  }
  .sg_copy_s {
    margin: 10px auto 5px;
  }
  #sg_all_promo .sg_expired {
    font-size: 11px;
  }
  #sg_all_promo .sg_kod {
    font-size: 18px;
  }
  #sg_all_promo a.sg_sprawdz {
    padding: 8px 0;
    font-size: 14px;
    height: 50px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #sg_all_promo .sg_icopy {
    border: 3px solid #fff200;
    top: -30px;
  }
  #sg_all_promo .sg_box_title {
    font-size: 14px;
    -webkit-line-clamp: 3;
    height: 49px;
  }
}
@media(max-width:400px){
  #sg_all_promo .sg_boxe {
    width: 50%;
    margin: 0;
  }
  #sg_all_promo .sg_box_left {
    padding: 0;
    border: 0;
  }
  #sg_all_promo .sg_box_left:before {
    background-image: none;
  }
  #sg_all_promo a.sg_sprawdz {
    padding: 5px 0;
    font-size: 13px;
  }
  .sg_copy_s {
    font-size: 13px;
  }
  #sg_all_promo .sg_kod {
    font-size: 15px;
    padding: 2.5px;
  }
  #sg_all_promo a.sg_sprawdz.sg-codes span {
    font-size: 10px;
    line-height: 10px;
    letter-spacing: -0.4px;
  }
  #sg_all_promo a.sg_sprawdz{
    height: 40px
  }
}
