/*-------------------------------*/
/*------- POLLING ON PAGE -------*/
/*-------------------------------*/

.bloc-polling-on-page-and-free-chat {
    position: relative;
    min-height: 400px;
}

#pollingContainerOnPage {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    margin: 0;
    width: 100%;
}

#pollingContainerOnPage .cross-polls-on-video {
    width: 30px;
    height: 30px;
    top: 20px;
    right: 5px;
    z-index: 99;
}

#pollingContainerOnPage .cross-polls-on-video svg {
    width: 10px;
}

/* la croix ne doit apparaître que sur le polling en video */
/* .polls-on-page .cross-polls-on-video {
    display: none;
} */

.polls-on-page form {
    background-color: #fff;
    padding: 1em;
    border-radius: 14px;
}

.polls-on-page #polls legend {
    font-family: Arial,Helvetica,sans-serif;
    font-weight: 700;
    border-bottom: 2px solid #ff0099;
    width: 100%;
    padding-bottom: 0.6em;
    padding-right: 1.3em;
}

.polls-on-page .titre_questions {
    font-family: Arial,Helvetica,sans-serif;
    font-weight: 600;
    text-align: center;
    color: #008fa4;
}

.polls-on-page .contentPoll input {
    margin-right: 10px;
    margin-bottom: 0;
    font-family: Arial,Helvetica,sans-serif;
}

.polls-on-page .contentPoll label {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 0.9em;
}

.polls-on-page .contentPoll span {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 0.9em;
}

.polls-on-page .sendPollingRow input {
    float: right;
    color: #fff;
    background-color: #ff0099;
    margin: 0;
    width: inherit;
    border-radius: 5px;
    padding: 0.8em 2em;
    transition: all ease 0.3s;
    box-shadow: inherit !important;
}

.polls-on-page .sendPollingRow input:hover {
    color: #fff;
    background-color: #000;
    background-color:#afafaf;
}

.polls-on-page .displayNbReponses {
    display: none;
}

.polls-on-page .valeurAbsReponse {
    display: none;
}

.polls-on-page .reponseRow input {
    margin-bottom: 0 !important;
    margin-right: 10px;
    top: 4px !important;
}

.bell-and-infos-container {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
}

.bell-polls-on-page {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  background-color: red;
  border: 2px solid rgb(200, 0, 0);
  z-index: 2;
  border-radius: 25px;
  padding: 0.4em;
  transform: scale(1.3);
  cursor: pointer;
  transition: all ease 0.3s;
  -webkit-animation: shake 2s linear infinite;
          animation: shake 2s linear infinite;
}

.bell-polls-on-page:hover {
  background-color: rgb(192, 0, 0);
}

.bubble-info {
  /* display: none; */
  position: absolute;
  top: 46px;
  right: 30px;
  top: 0px;
  right: 20px;
  height: 40px;
  z-index: 1;
  font-family: Arial,Helvetica,sans-serif;
  font-size: 0.9em;
  color: #3b3b3b;
  border: 2px solid #cecece;
  border-radius: 3px;
  border-radius: 25px 3px 3px 25px;
  background-color: #afafaf;
  padding: 0.5em;
  padding: 0.5em 0 0.5em 0;
  /* padding: 0; */
  /* width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content; */
  width: 0;
  overflow: hidden;
  line-height: 1.7;
  white-space: preserve nowrap;
  transition: all ease 0.3s;
}

.polling-in-progress-on-video svg path {
  fill: rgb(255, 255, 255);
}

.polling-in-progress-on-video {
  position: relative;
  transition: all ease 0.3s;
  -webkit-animation: shake 2s linear infinite;
          animation: shake 2s linear infinite;
}

.polling-in-progress-on-video::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  transform: translate(-50%,-50%);
  border: 3px solid #90fb95;
  transition: all ease 0.3s;
  -webkit-animation: blink 1s ease-in-out infinite;
          animation: blink 1s ease-in-out infinite;
}


@-webkit-keyframes blink {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.4;
  }
  50% {
    width: 110%;
    height: 110%;
    opacity: 0.6;
  }
  100% {
    width: 100%;
    height: 100%;
    opacity: 0.4;
  }
}


@keyframes blink {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.4;
  }
  50% {
    width: 110%;
    height: 110%;
    opacity: 0.6;
  }
  100% {
    width: 100%;
    height: 100%;
    opacity: 0.4;
  }
}

@-webkit-keyframes shake {
  0%, 7% {
    transform: rotateZ(0);
    scale: 1;
  }
  15% {
    transform: rotateZ(-15deg);
    scale: 1.02;
  }
  20% {
    transform: rotateZ(10deg);
    scale: 1.05;
  }
  25% {
    transform: rotateZ(-10deg);
    scale: 1.2;
  }
  30% {
    transform: rotateZ(6deg);
    scale: 1.05;
  }
  35% {
    transform: rotateZ(-4deg);
    scale: 1.02;
  }
  40%, 100% {
    transform: rotateZ(0);
    scale: 1;
  }
}

@keyframes shake {
  0%, 7% {
    transform: rotateZ(0);
    scale: 1;
  }
  15% {
    transform: rotateZ(-15deg);
    scale: 1.02;
  }
  20% {
    transform: rotateZ(10deg);
    scale: 1.05;
  }
  25% {
    transform: rotateZ(-10deg);
    scale: 1.2;
  }
  30% {
    transform: rotateZ(6deg);
    scale: 1.05;
  }
  35% {
    transform: rotateZ(-4deg);
    scale: 1.02;
  }
  40%, 100% {
    transform: rotateZ(0);
    scale: 1;
  }
}

@media screen and (min-width: 993px)
{
    .bloc-polling-on-page-and-free-chat {
        width: 35%;
        margin-top: 0px;
        position: relative;
        min-height: inherit;
    }

    #pollingContainerOnPage {
        margin-bottom: 0;
    }
}