@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&display=swap');

[class~="hurrytimer-campaign"] {
  line-height: normal;
  text-align: center;
  background-size: cover;
  background-repeat: no-repeat;
  max-width: 876px;
  width: 100%;
  height: 90px;
  margin: auto;
  margin-bottom: 5px;
  display: flex !important; /* Overwrites library styles */
  justify-content: space-around;
  align-items: center;
  position: relative;
  padding: 0px 5px;
}

[class~="hurrytimer-campaign"] * {
  line-height: normal;
  position: relative;
  z-index: 1;
}

[class~="hurrytimer-campaign-side-rail"] * {
  line-height: normal;
  position: relative;
  z-index: 1;
}


.dark-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  background: black;
  top: 0;
  left: 0;
  opacity: 0.3;
  z-index: 0;
}

.hurryt-loading {
  display: none !important;
}


.hurrytimer-logo {
  max-width: 85px;
}


.hurry-timer-upload-image-button {
  margin-right: 5px;
}

.hurrytimer-timer-container {
  height: 100%;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.hurrytimer-timer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  padding: 0px;
}

.hurrytimer-campaign .hurrytimer-timer-digit {
  color: rgb(255, 255, 255);
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: bold;
  font-size: 34px;
}

.hurrytimer-headline {
  color: #333;
}

.hurrytimer-timer-date {
  color: rgb(255, 255, 255);
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: bold;
  font-size: 13.5px;
  text-transform: uppercase;
  border-bottom: 2px dotted white;
  padding-bottom: 6px;
  margin-bottom: 3px;
  margin-left: auto;
  margin-right: auto;
}

.hurrytimer-headline-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: auto;
  max-width: 40%;
}

.hurrytimer-headline {
  color: rgb(255, 255, 255);
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: bold;
  font-size: 32px;
  width: 100%;
}

.hurrytimer-content {
  color: rgb(255, 255, 255);
  font-family: Arial, sans-serif;
  font-size: 15px;
  width: 100%;
}

.hurrytimer-timer-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
  width: 65px;
}

.hurrytimer-timer-label {
  color: rgb(255, 255, 255);
  text-transform: capitalize;
}

.separator-line {
  border-left: 1px solid rgb(255, 255, 255);
  height: 45px;
  bottom: -7px;
}

.separator-line-side-rail {
  border-left: 1px solid rgb(255, 255, 255);
  height: 45px;
  bottom: -15px;
}

.hurry-side-rail {
  width: 301px;
  max-width: 100%;
  min-height: 350px;
  height: 350px;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0px;
}

.timer-side-rail  {
  height: auto;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  margin-top: -10px;
}

.hurrytimer-logo-side-rail  {
  width: 60px;
}

.hurrytimer-image-field-container input{
  width: 75%;
}

.hurrytimer-image-field-container button{
  width: 20%;
  text-align: center;
}

.hurrytimer-headline-container-side-rail {
  align-items: center;
  text-align: center;
  width: 90%;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  padding: 15px 0px;
}

.hurrytimer-headline-side-rail  {
  display: block;
  font-size: 22px;
  width: 100%;
  text-align: center;
  color: rgb(255, 255, 255);
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: bold;
}

.hurrytimer-content-side-rail {
  font-size: 15px;
  width: 100%;
  color: rgb(255, 255, 255);
  font-family: Arial, sans-serif;
}

.hurrytimer-timer-container-side-rail {
  height: auto;
  width: 100%;
  padding: 15px 0px;
  margin-bottom:15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  
}

.hurrytimer-timer-block:last-child {
  margin-right: 0;
}

.hurrytimer-timer-block:first-child {
  margin-left: 0;
}

.hurrytimer-sticky {
  margin: auto !important;
  width: 100%;
  background: #fff;
  left: 0;
  right: 0;
  z-index: 9999;
  position: fixed;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.hurrytimer-sticky.is-off {
  position: relative;
  z-index: 0;
}

.admin-bar:not(.wp-admin) .hurrytimer-sticky {
  z-index: 999999;
}

.hurrytimer-sticky-inner {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  padding-left: 5px;
  padding-right: 5px;
}

.hurrytimer-button {
  display: inline-block;
  text-decoration: none;
  outline: none;
}

.hurrytimer-sticky-close {
  right: 10px;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  width: 13px;
  height: 13px;
  cursor: pointer;
  display: flex;
}

.hurrytimer-sticky-close svg {
  fill: #333;
  width: 100%;
  height: 100%;
}

.hurrytimer-sticky-close:hover {
  opacity: 1;
  background: none;
}

@media only screen and (max-width: 876px) {
  [class~="hurrytimer-campaign"] {
    width: 300.1px;
    max-width: 100%;
    padding-left: 1px;
    padding-right: 1px;
    min-height: 350px;
    height: 350px;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0px;
  }

  .hurrytimer-timer-container {
    height: auto;
    margin-bottom:15px;
    max-width: 100%;
    padding: 15px 0px 15px 0px;
    width: 100%;
  }
  

  .hurrytimer-logo {
    width: 60px;
  }

  .separator-line {
    border-left: 1px solid rgb(255, 255, 255);
    height: 45px;
    bottom: -7px;
  }

  .hurrytimer-headline-container {
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 90%;
    margin-bottom: 10px;
  }

  .hurrytimer-headline {
    display: block;
    font-size: 22px;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .hurrytimer-content {
    font-size: 15px;
    width: 100%;
  }
}
