body {
    font-size: 16px;
    font-weight: 400;
    text-rendering: auto;
    color: #3c3c3c;
    background-color: #f4f4f4;
    font-family: 'Quicksand', sans-serif;
    /*background: url(../images/loading-body.gif) no-repeat center;*/
    background-size: 100px;
}
*, *::before, *::after {
    box-sizing: border-box;
}
.main-wrap {
    position: relative;
    margin: 0 auto;
    /*max-width: 740px;*/
    /*max-height: 600px;*/
    position: relative;
    background-color: #302f37;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
    overflow: hidden;
    opacity: 0;
}
.main-wrap.show
{
    opacity: 1;
}
.main-wrap:after,
.main-wrap--container:after {
    content: " ";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}
.main-wrap--container {
    width: 200%;
    transition: 0.9s all ease-in-out;
}

.main-wrap--container.slide {
    /*transform: translate3d(-1, 1, 1.1);*/
    transform: translateX(-50%);
    transition: 0.9s all ease-in-out;
    /*background-color: #302f37;*/
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
}
.add-cards {
    margin-bottom: 20px;
}
#moods_card .card:first-child .question-close {
    display: none;
}

#step01 {
    position: relative;
    padding: 57px 0 17px;
    width: 50%;
    float: left;
}
#step02 {
    position: relative;
    float: left;
    width: 50%;
    background-color: #302f37;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
}
.main-wrap--headline {
    margin: 0 auto;
    position: absolute;
    /*top: 25px;*/
    left: 0;
    right: 0;
    width: 350px;
}
.pin-top {
    width: 58px;
    position: absolute;
    top: 20px;
    right: 95px;
    z-index: 9;
}
.pin-bottom {
    width: 85px;
    position: absolute;
    top: 80px;
    right: 115px;
    z-index: 5;
    transition: transform 0.4s linear;
    transform-origin: top center;
    transform: rotate(0deg);
}
.pin-rotate {
    transform: rotate(-33deg);
}

.back-btn {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 16px;
    left: 26px;
    cursor: pointer;
}
.box-nut-top-left {
    top: 7%;
    left: 7%;
}

.box-nut-top-left,
.box-nut-top-right,
.box-nut-btm-left,
.box-nut-btm-right {
    width: 20px;
    height: 20px;
    position: absolute;
}
.box-nut-top-left {
    top: 7%;
    left: 7%;
}
.box-nut-top-right {
    top: 7%;
    right: 7%;
}
.box-nut-btm-left {
    bottom: 7%;
    left: 7%;
}
.box-nut-btm-right {
    bottom: 7%;
    right: 7%;
}
#IN_LOVE {
    cursor: pointer;
}
.bg-love {
    background-color: #e94d4b;
}

#PARTY {
    cursor: pointer;
}
.bg-party {
    background-color: #fdd44d;
}

#SOULFUL {
    cursor: pointer;
}
.bg-soulful {
    background-color: #d3d1bc;
}

#HEARTBREAK {
    cursor: pointer;
    /*transition: 0.9s all ease-in-out;*/
}
.bg-heartbreak {
    background-color: #02a2a4;
}

#SURPRISE_ME {
    cursor: pointer;
}
.bg-surprise {
    background: url(../images/bg-surprise.svg) no-repeat center;
    background-size: cover;
}

/* Circle Animation */
.circle {
    -webkit-animation: rotation 18s infinite linear;
    -moz-animation: rotation 18s infinite linear;
    -o-animation: rotation 18s infinite linear;
    animation: rotation 18s infinite linear;
    transform-origin: 50% 50%;
}
@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate3d(0,0,1,0deg);
        transform: rotate3d(0,0,1,0deg);
    }
    to {
        -webkit-transform: rotate3d(0,0,1,359deg);
        transform: rotate3d(0,0,1,359deg);
    }
}
@keyframes rotation {
    from {
        -webkit-transform: rotate3d(0,0,1,0deg);
        transform: rotate3d(0,0,1,0deg);
    }
    to {
        -webkit-transform: rotate3d(0,0,1,359deg);
        transform: rotate3d(0,0,1,359deg);
    }
}
.circle:hover {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}


/*  */

@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.rotating {
    background-color: #ccc;
    border-radius:100%;
    overflow: hidden;
  -webkit-animation: rotating 18s linear infinite;
  -moz-animation: rotating 18s linear infinite;
  -ms-animation: rotating 18s linear infinite;
  -o-animation: rotating 18s linear infinite;
  animation: rotating 18s linear infinite;
}
.rotating.paused {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}
.rotating:hover {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

#step02 .song-name {
    margin: 0 auto;
    position: relative;
    margin-top: 18px;
    color: #e3e5e5;
    width: 345px;
    font-size: 18px;
    font-weight: 700;
    border: 2px #e3e5e5 solid; 
}
#step02 .song-name span {
    text-transform: uppercase;
    line-height: 30px;
    height: 30px;
    display: inline-block;
    padding: 0 6px 0 18px;
}
#step02 .song-name marquee {
    position: absolute;
    right: 0;
    width: 195px;
    line-height: 30px;
    height: 30px;
    visibility: hidden;
}
#step02 .song-name marquee.open
{
visibility: visible;
}
#step02 .song-name:before {
    position: absolute;
    left: 0;
    content: " ";
    width: 0; 
    height: 0; 
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #ececec;
}


#step02 .track-love .song-name {
    background-color: #e94d4b;
}
#step02 .track-love .song-name span {
    background-color: #bd3533;
}
#step02 .track-soulful .song-name {
    background-color: #bab69d;
}
#step02 .track-soulful .song-name span {
    background-color: #8c886d;
}
#step02 .track-heartbreak .song-name {
    background-color: #02a2a4;
}
#step02 .track-heartbreak .song-name span {
    background-color: #037e80;
}
#step02 .track-party .song-name {
    background-color: #e2b947;
}
#step02 .track-party .song-name span {
    background-color: #c0941c;
}
#step02 .track-surprise .song-name {
    background-color: #8f0896;
}
#step02 .track-surprise .song-name span {
    background-color: #700b75;
}

#step02 .song-iframe {
    margin: 18px auto 0;
    width: 95%;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: #000;
    background: url(../images/loading.gif) #000 no-repeat center;
}
#step02 .song-iframe img {
    width: 100%;
}
#step02 .song-iframe iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

#step02 .song-footer {
    margin: 0 auto;
    padding: 10px 0 10px;
    color: #fff;
    width: 100%;
    text-align: center;
    position: relative;
}
#step02 .song-footer h2 {
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}

#step02 .song-footer h2 span {
    position: relative;
}
#step02 .song-footer h2 span::before,
#step02 .song-footer h2 span::after {
    position: absolute;
    width: 18px;
    height: 18px;
    content: " ";
}
#step02 .song-footer h2 span::before {
    left: -22px;
    top: 2px;
    background: url(../images/line-icon-left.svg) no-repeat left;
}
#step02 .song-footer h2 span::after {
    right: -22px;
    top: 2px;
    background: url(../images/line-icon-right.svg) no-repeat left;
}

#step02 .song-footer .play-icon {
    margin: 0 auto;
    width: 660px;
    padding: 15px 0 0;
}
#step02 .song-footer .play-icon li {
    /*margin: 10px 20px 20px;*/
    margin: 0 8px 8px;
    display: inline-block;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    cursor: pointer;
    /*background-color: #e94d4b;*/
    border: 1px #fff solid;
}


#step02 .song-footer .play-icon li img {
    opacity: 0.75;
    width: 30px;
    height: 30px;
    margin-top: 8px;
}
#step02 .song-footer .play-icon li:hover img {
    opacity: 1;
}
#step02 .song-footer .play-icon li.hvr-ripple-out img {
    opacity: 1;
}


.generate-iframe-block {
    display: none;
    margin: 10px 0 40px;
}

.generate-iframe-block textarea {
    height: 80px;
}
#jukeboxPushArray {
    display: none;
    visibility: hidden;
}
@media only screen and (min-width: 768px) {
    /* Ripple Out */
    @-webkit-keyframes hvr-ripple-out {
      100% {
        top: -10px;
        right: -10px;
        bottom: -10px;
        left: -10px;
        opacity: 0;
      }
    }
    @keyframes hvr-ripple-out {
      100% {
        top: -10px;
        right: -10px;
        bottom: -10px;
        left: -10px;
        opacity: 0;
      }
    }
    .hvr-ripple-out {
      display: inline-block;
      /*vertical-align: middle;*/
      -webkit-transform: perspective(1px) translateZ(0);
      transform: perspective(1px) translateZ(0);
      box-shadow: 0 0 1px transparent;
      position: relative;
      
    }
    .hvr-ripple-out:before {
      content: '';
      position: absolute;
      border: #fff solid 3px;
      border-radius: 100%;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      -webkit-animation: hvr-ripple-out 1s infinite linear;
      animation: hvr-ripple-out 1s infinite linear;
    }
}

/* Pulse */
@-webkit-keyframes hvr-pulse {
  25% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  75% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}
@keyframes hvr-pulse {
  25% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  75% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}
.hvr-pulse {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    -webkit-animation-name: hvr-pulse;
    animation-name: hvr-pulse;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}
/*.hvr-pulse:hover, .hvr-pulse:focus, .hvr-pulse:active {
  -webkit-animation-name: hvr-pulse;
  animation-name: hvr-pulse;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}*/


/* /////////  */
.main-wrap {
    max-width: 740px;
}
.main-wrap,
#step01,
#step02 {
    min-height: 600px;
}
.svg-wrap,
#svg_circle {
    margin: 0 auto;
    width: 540px;
    height: 540px;
    /*padding: 0 20px;*/
}
#svg_circle svg {
    width: 500px;
}
.svg-wrap svg {
    width: 100%;
}
#svg_circle path {
    cursor: pointer;
}

#svg_circle .surprise_bg {
    fill: url(#image);

}
.play-icon .surprise_icon_bg {
    background-image: url('https://www.thequint.com/quintlab/dashboard/jukebox/assets/images/bg-surprise.svg');
    background-size: 100%;
}


.step01--container {
    margin: 0 auto;
    width: 100%;
    position: absolute;
    top: 52%;
    left: 0;
    right: 0;
    -ms-transform: translateY (-50%);
    -webkit-transform: translateY (-50%);
     -moz-transform: translateY (-50%);
     -o-transform: translateY (-50%);
     transform: translateY(-50%);
}
.step01--container .main-wrap--headline {
    top: -30px;
}
.step02--container {
    margin: 0 auto;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -ms-transform: translateY (-50%);
    -webkit-transform: translateY (-50%);
     -moz-transform: translateY (-50%);
     -o-transform: translateY (-50%);
     transform: translateY(-50%);
}

.btn-track01,
.btn-track02 {
    position: absolute;
    top: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background-color: #1c1c21;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
}
.btn-track01{
    left: 0;
    padding: 3px 13px 3px 10px;
    -webkit-border-top-right-radius: 25px;
    -webkit-border-bottom-right-radius: 25px;
    -moz-border-radius-topright: 25px;
    -moz-border-radius-bottomright: 25px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}
.btn-track02 {
    right: 0;
    padding: 3px 10px 3px 13px;
    -webkit-border-top-left-radius: 25px;
    -webkit-border-bottom-left-radius: 25px;
    -moz-border-radius-topleft: 25px;
    -moz-border-radius-bottomleft: 25px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}
.btn-track01:hover,
.btn-track02:hover {
    color: #e94d4b;
    background-color: #fff;
}
.btn-track01.active,
.btn-track02.active {
    cursor: default;
    color: #e94d4b;
    background-color: #fff;
}
.main-wrap--overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.1);
}
.btn-preview-block {
    margin-bottom: 20px;
}
.iframe-link{
    margin-bottom: 5px;
    overflow: hidden; 
}
.copy-val {
    float: right;
    border: none;
    border-radius: .25rem;
    background-color: #36154f!important;
    padding: .375rem .75rem;
    /*font-size: 20px;*/
    color: #fff;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 20px;
}

.navbar,
.display-4 {
    font-family: 'Oswald', sans-serif;
}





#pie_labels,
#pie_icons {
    position: absolute;
    color: rgba(255,255,255, 0.8);
    text-align: center;
    top: 0px;
    /*left: 20px;*/
    width: 510px;
    height: 510px;
    pointer-events: none;
}
#pie_icons {
    width: 350px;
    height: 350px;
    top: 80px;
    left: 90px;
}
#pie_labels li,#pie_icons li {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}
#pie_icons li img {
    width: 45px;
    height: 45px;
}
#pie_labels li:nth-child(2) {
    transform: rotate(90deg);
}
#pie_labels li span {
    color: rgba(255,255,255, 0.7);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 900;
    height: 200px;
    position: absolute;
    width: 20px;
    left: 250px;
    top: 30px;
    transform-origin: bottom center;
    height: 150px;
    letter-spacing: 0;
    /*font-family: 'Quicksand', sans-serif;*/
    /*font-family: "Cooper-hewitt-semibold",sans-serif !important;*/
    font-weight: 600;
    font-family: 'Poppins', sans-serif !important;
}




/*  ///// */

@media only screen and (max-width: 767px) {
    .main-wrap,
    #step01,
    #step02 {
        min-height: 650px;
    }
    .svg-wrap,
    #svg_circle {
        width: 540px;
        height: 540px;
    }
    .step01--container {
        top: 50%;
    }
    /*.main-wrap--headline {
        display: none;
    }*/
    #step02 .song-footer .play-icon {
        width: 380px;
    }
    #step02 .song-footer .play-icon li {
        margin: 0 10px 8px;
    }
    #pie_icons li img {
        max-width: 40px;
    }
}
@media only screen and (max-width: 639px) {
    .main-wrap,
    #step01,
    #step02 {
        min-height: 580px;
    }
    .svg-wrap,
    #svg_circle {
        width: 490px;
        height: 490px;
    }
    .pin-top {
        width: 38px;
        top: 15px;
        right: 70px;
    }
    .pin-bottom {
        width: 58px;
        top: 63px;
        right: 82px;
    }
    .pin-rotate {
        transform: rotate(-41deg);
    }
}
@media only screen and (max-width: 600px) {
    .main-wrap,
    #step01,
    #step02 {
        min-height: 560px;
    }
    .svg-wrap,
    #svg_circle {
        width: 480px;
        height: 480px;
    }
    .main-wrap--headline {
        width: 300px;
    }
    .step01--container .main-wrap--headline {
        top: -26px;
    }
}
@media only screen and (max-width: 550px) {
    .rotating {
        background: none;
    }
    .main-wrap,
    #step01,
    #step02 {
        min-height: 530px;
    }
    .svg-wrap,
    #svg_circle {
        width: 86%;
        height: 86%;
    }
    .step01--container {
        padding-top: 30px;
    }
    .main-wrap--headline {
        width: 270px;
    }
    .step01--container .main-wrap--headline {
        top: 5px;
    }
    #step02 .song-footer .play-icon li {
        /*margin: 0 1.5% 8px;*/
    }
    #step02 .song-iframe {
        margin-top: 10px;
    }
    .pin-top {
        width: 31px;
        top: 15px;
        right: 70px;
    }
    .pin-bottom {
        width: 45px;
        top: 53px;
        right: 81px;
    }
    #step02 .song-footer .play-icon {
        padding: 15px 0;
    }
    #step02 .song-footer .play-icon li {
        /*margin: 0 15px;*/
    }
    #step02 .song-name {
        width: 220px;
        line-height: 34px;
        height: 34px;
    }
    #step02 .song-name marquee {
        width: 200px;
    }
    #step02 .song-name span {
        display: none;
    }
    .pin-rotate {
        transform: rotate(-47deg);
    }
}
@media only screen and (max-width: 480px) {
    .main-wrap,
    #step01,
    #step02 {
        min-height: 460px;
    }
    .svg-wrap,
    #svg_circle {
        width: 90%;
        height: 90%;
    }
    .step01--container {
        padding-top: 25px;
    }
    .main-wrap--headline {
        width: 230px;
    }
    .step01--container .main-wrap--headline {
        top: 7px;
    }
    .pin-top {
        width: 30px;
        top: 12px;
        right: 55px;
    }
    .pin-bottom {
        width: 45px;
        top: 50px;
        right: 65px;
    }
    .pin-rotate {
        transform: rotate(-50deg);
    }
    #step02 .song-footer {
        padding: 5px 0;
    }
    #step02 .song-footer h2 {
        font-size: 16px;
        padding-top: 6px;
    }
    #step02 .song-footer .play-icon {
        width: 260px;
        padding: 10px 0 0;
    }
    #step02 .song-footer .play-icon li {
        margin: 0 5px 5px;
        width: 40px;
        height: 40px;
    }

    #step02 .song-footer .play-icon li img {
        width: 22px;
        height: 22px;
        margin-top: 8px;
    }

    #step02 .song-footer h2 span::before,
    #step02 .song-footer h2 span::after {
        display: none;
    }
    .btn-track01 {
        font-size: 13px;
        padding: 2px 10px 2px 8px;
    }
    .btn-track02 {
        font-size: 13px;
        padding: 2px 8px 2px 10px;
    }
    #pie_labels li span {
        font-size: 13px;
    }
    #pie_icons li img {
        max-width: 25px;
    }
}
@media only screen and (max-width: 420px) {
    .main-wrap,
    #step01,
    #step02 {
        min-height: 430px;
    }
    .svg-wrap,
    #svg_circle {
        width: 95%;
        height: 95%;
    }
    .step01--container {
        padding-top: 20px;
    }
    .main-wrap--headline {
        width: 210px;
    }
    .step01--container .main-wrap--headline {
        top: 0px;
    }
    #pie_labels li span {
        font-size: 12px;
    }
}
@media only screen and (max-width: 375px) {
    .main-wrap,
    #step01,
    #step02 {
        min-height: 400px;
    }
    .svg-wrap,
    #svg_circle {
        width: 98%;
        height: 98%;
    }
    .step01--container {
        padding-top: 18px;
    }
    #pie_labels li span {
        font-size: 11px;
    }
    .box-nut-top-right {
        display: none;
    }
    .pin-top {
        width: 25px;
        right: 21px;
        top: 22px;
    }
    .pin-bottom {
        width: 35px;
        right: 30px;
        top: 62px;
    }
    #step02 .song-footer .play-icon {
        padding: 10px 0;
    }
    #step02 .song-footer .play-icon li {
        /*margin: 0 2px;*/
    }
    #step02 .song-name {
        width: 170px;
    }
    #step02 .song-name marquee {
        width: 150px;
    }

    #step02 .song-footer h2 {
        font-size: 13px;
        padding-top: 7px;
    }
    .btn-track01 {
        font-size: 13px;
        padding: 2px 8px 2px 5px;
    }
    .btn-track02 {
        font-size: 13px;
        padding: 2px 5px 2px 8px;
    }
}
