/*
Theme Name:     Newspaper Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

.btn_modalOpen_pagePost .tds-button.td-fix-index {
    position: absolute;
    left: -5rem;
    top: 1.5rem;
}

.img_post_default .entry-thumb {
    margin-left: auto;
    margin-right: auto;
}

.header_post_expand::before {
    background-color: #f9f9f9 !important;
    height: 100%;
    position: absolute;
    width: 300%;
    content: "";
    top: 0;
    left: -50%;
}

.next-prev-title {
    position: absolute;
    bottom: 35px;
    display: flex;
    justify-content: center;
    text-align: text-left;
}

.next-prev-title a {
    max-width: 80% !important;
    color: black;
    font-weight: bold;
}

.tdb-post-prev.tdb-next-post span{
    position: absolute;
    z-index: 9999999;
    font-weight: bold;
    left: 60px;
    bottom: 95px;
}

.tdb-post-next.tdb-next-post span{
    position: absolute;
    z-index: 999999;
    bottom: 95px;
    right: 60px;
    font-weight: bold;
}

a:link {
text-decoration:none;
}
a:visited {
text-decoration:none;
}
a:hover {
text-decoration:none;
}

html,
body,
#app {
  background-color: #f0f0f1 !important;
  background-image: url("../assets/bg_radio.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-clip: border-box;
}

#app {
  height: 320px;
}

#player-page {
  box-sizing: border-box;
  max-width: 72em;
  margin: 0 auto;
}

#player-content-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

#player-content-box div {
  width: 25%;
  height: auto;
  min-width: 280px;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
#player-content-box a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#player-content-box div img {
  width: calc(100% - 32px);
  height: auto;
  border-radius: 12px;
}
* {
  box-sizing: border-box;
  text-transform: uppercase;
  font-family: "Lato", sans-serif;
}

.player-container {
  color: #fff;
  height: fit-content;
  border-radius: 36px;
  background: #2f2f2f;
  padding: 36px;
  max-width: 1100px;
  margin: 1em auto;
  width: 94%;
}

.player-container .label {
  font-size: 30px;
  font-weight: 900;
  padding: 0;
}

.player-container .small-label {
  font-weight: 100;
}

.city-selector-container {
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.city-selector-container .label {
  font-size: 12px;
  font-weight: 400;
  height: 26px;
}

.title-container {
  flex: 1;
}

.title-wrapper {
  margin-bottom: 11px;
}

.bar {
  background: #50b848;
  width: 100%;
  height: 25px;
  color: #fff;
  display: flex;
  align-self: center;
  justify-content: flex-start;
  padding: 0 8px;
}

.bar .label {
  font-size: 14px;
  display: flex;
  align-items: center;
}

.main-selector-container {
  flex: 1;
}

.play {
  background: #50b848;
  width: 92px;
  height: 92px;
  border: unset;
  border-radius: 50%;
  margin-right: 24px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.play .icon {
  width: 30px;
  height: auto;
  display: none;
}

.play.stoping .icon.toPlay {
  display: block;
}

.play.playing .icon.toStop {
  display: block;
}

.selector {
  background: #50b848;
  color: #fff;
  width: 100%;
  font-size: 40px;
  padding: 0px;
  border: unset;
  border-radius: 25px;
  max-height: 50px;
}

h1 {
  font-size: 20px;
  font-weight: 400;
  padding-left: 20px;
}

h1,
h2,
h3 {
  padding: 0;
  color: #fff;
}

h1 strong {
  font-weight: 700;
}

.volume-container {
  width: 220px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.part-1,
.part-2 {
  display: flex;
  justify-content: space-between;
}

input[type="range"]#volume {
  accent-color: #81d742;
}

input[type="range"]#volume::-webkit-slider-thumb,
input[type="range"]#volume::-moz-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  accent-color: #fff;
  margin-top: -12px;
}

.audio {
  background: transparent;
  border: none;
}

.audio .icon {
  width: 20px;
  height: auto;
  display: none;
}

.audio.normal .icon.toMute {
  display: block;
}

.audio.muted .icon.toUnmute {
  display: block;
}

/* Selector */

.select-box {
  background: #50b848;
  display: inline-block;
  width: 100%;
  padding: 0px;
  border: unset;
  border-radius: 25px;
  height: 50px;
  position: relative;
  overflow: hidden;
  z-index: 100;
}

.select-box select {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 0px 20px;
  margin: 0;
  border: none;
  box-shadow: none;
  background-color: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background: #50b848;
  color: #fff;
  font-size: 16px;
}

.select-box select option {
  background: #50b848;
  color: #fff;
}

.select-box select:focus {
  outline: none;
}

.select-box:after {
  content: "";
  background-image: url("../assets/arrow-down.svg");
  background-repeat: no-repeat;

  background-size: 16px;
  width: 16px;
  height: 10px;

  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(0, -50%);
  background-color: transparent;
  pointer-events: none;
}

.select-box select:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.custom-select.city {
  min-width: 130px;
}

.custom-select.city .select-box {
  height: 25px;
}

.custom-select.city .select-box:after {
  background-size: 12px;
  width: 15px;
  height: 7px;
  right: 8px;
}

.main-selector-container h1 {
  color: #fff;
}
.play:hover {
  filter: brightness(110%);
}

@media only screen and (max-width: 767px) {
  .player-container {
    width: 95%;
    height: fit-content;
  }

  .part-1 {
    flex-wrap: wrap;
    margin-bottom: 1em;
  }

  .part-2 {
    flex-wrap: wrap;
    margin-top: 2em;
  }

  .title-container {
    flex: unset;
    width: 50%;
  }

  .city-selector-container {
    padding: 8px;
    padding-top: 16px;
    flex: unset;
    width: 50%;
  }

  .part-2 .div-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .part-2 .main-selector-container {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
  }

  .play {
    margin-right: unset;
    margin-bottom: 1em;
  }

  .volume-container {
    width: 100%;
    margin: 1em 0;
  }

  .part-2 h1 {
    font-size: 28px;
    margin-bottom: 1em;
    text-align: center;
  }
  h1,
  h3,
  h4 {
    text-align: center;
  }
}
@media only screen and (max-width: 370px) {
  .city-selector-container,
  .title-container {
    width: 100%;
    text-align: center;
  }
  .bar .label {
    width: 100%;
    justify-content: center;
  }
  .play {
    margin-bottom: 0.5em;
  }
}