/* Master font - site wide */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

*{
  font-family: Roboto;
}

p {
  letter-spacing: 0.02rem !important;
}

._site--voting {
  font-family: Roboto !important;
}

/* original */

._site--voting a {
  color: #000;
  border-bottom: 1px solid #000;
}

._site--voting a.small {
  font-size: .85rem;
  color: #222;
}

._site--voting--content h3 {
  margin-bottom: 2rem !important;
}

.pane-page-content {
  margin-bottom: 40px;
}

.language-switcher-locale-url > li {
  display: inline-block;
  margin-right: .8rem;
  margin-top: 0;
  margin-bottom: 0;
}

.form-item label, .form-actions label {
  font-weight: 400;
  font-size: .9rem;
  font-family: 'Montserrat', sans-serif;
}

/* form fieldset styles start */
fieldset.webform-component-fieldset {
  padding: 20px;
  clear: both;
  border: 1px solid #AAA;
}

fieldset {
  margin-top: 1rem !important;
}

fieldset legend > span {
  font-weight: 700;
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif !important;
  padding-top: 1rem;
}

/* Clubs voting 2 columns. */
.voting--input--container .js-form-item input {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 620px) {
  .voting--input--container {
    display: flex;
  }
  .voting--input--container .js-form-item {
    width: 46%;
    max-width: 100%;
  }

  .voting--input--container .js-form-item:first-child {
    margin-right: 4%;
  }
}

/* form fieldset styles end */

.form-item.webform-component.webform-component-radios label {
  font-weight: 600;
}

.form-item.webform-component.webform-component-radios .form-radios label {
  font-weight: 400;
}

.form-item .webform-element-description,
.form-actions .webform-element-description,
.form-item .description {
  font-size: 1em;
  margin: .2rem 0 .4rem 0;
}

.form-item .option {
    display: block;
    margin-left: 50px;
}

.messages {
  background: #00b6f1 !important;
  margin-right: 20px !important;
  color: #fff !important;
  font-weight: 400 !important;
}

.messages p, .messages ul {
  color: #fff !important;
}

.messages li {
  list-style-image: none !important;
  margin-bottom: 6px !important;
}

.panel-pane.pane-pane-messages {
  background-color: #fff;
}

._site--voting ul li::before {
  display: inline-block;
  content: '';
  border-radius: 50%;
  height: .3rem;
  width: .3rem;
  margin-right: .5rem;
  background-color: #fff;
}

._site--main input[type="submit"], .button--more, body.page-user ._site--main input[type="submit"] {

}

span.button{
  border: unset;
}


.form-actions{
  width: 100%;
  text-align: center;
}

.webform-submission-form input[type="nothing"]{
  font-family: "Font Awesome 5 Free" !important;
  font-style: normal  !important;
  font-variant: normal  !important;
  font-weight: 900;
  border: 0;
  font-size: 1.3em;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  background-color: #e6342a;
  border: 1px solid  #e6342a;
  height: 45px;
  width: 45px;
  border-radius: 45px;
  -moz-transition: all .1s ease-in;
  -o-transition: all .1s ease-in;
  -webkit-transition: all .1s ease-in;
  transition: all .1s ease-in;
  color: #fff;
}

#webform-client-form-141 {
  margin-bottom: 2em;
}

.form-item.webform-component.webform-component-textfield.webform-component--dj-5 {
  margin-bottom: 2em;
}

/* Webform preview submissions grouped fields. */
@media (min-width: 320px) {
  .webform-section-wrapper {
    display: flex;
  }
  .webform-section-wrapper .webform-element {
    padding-right: 30px;
  }
}
hr {
  margin: 1rem 0;
  background: #000;
}

.pane-8 p {
  margin-bottom: 0;
}

.panel-pane.pane-block.pane-locale-language {
  background: #eee;
  padding: 16px 10px 10px 20px;
  display: inline-block;
}

article p, article span {
  font-family: 'Open Sans', sans-serif !important;
}

.pane-page-content ol li:before, .pane-page-content ul li:before {
  display: none;
}

._site--voting .base--FORM {
  margin-top: 30px;
}

._site--voting--teaser img {
  width: 98% !important;
}

.messages {
  margin: 6px 0 20px 0;
  padding: 20px;
  font-weight: 600;
  background-position: 8px 8px;
  background-repeat: no-repeat;
  background: #efefef;
  border: 1px solid #333;
}


._site--footer ._site--navigation {
  display: none;
}

._site--meta {
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.pane-hybridauth-hybridauth {
  width: 100%;
}

._site--voting .base--FORM, ._site--voting .base, ._site--voting ._site--voting {
  width: 95%;
}

.hybridauth-google-voting-icons {
  background: transparent url(/sites/default/files/google.png) 0px 0px no-repeat;
}

.hybridauth-facebook-voting-icons {
  background: transparent url(/sites/default/files/facebook.png) 0px 0px no-repeat;
}

/* Align mpus */

.panel-pane.pane-custom.pane-7, .panel-pane.pane-custom.pane-6, .panel-pane.pane-custom.pane-8 {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}

.pane-hybridauth-hybridauth {
  margin-bottom: 0;
}

a.special-register {
  border: 0 !important;
}

.website-textfield {
  visibility: hidden;
}

.base--select, .base--FORM select, .base select, ._site--voting select {
  cursor: pointer;
  padding: .5rem;
  height: 42px;
  border-radius: 6px;
}

/* Language switcher modal */
.modal {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: unset;
    z-index: 100;
    transform: translate(-50%, -50%);
    background: white;
    box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
}

.closed {
  display: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  background: rgba(0, 0, 0, 0.6);
}

.modal-guts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 20px 20px 20px 20px;
  background-color: white;
  margin: 0 auto;
}

.modal .close-button {
  position: absolute;
  z-index: 1;
  top: 0;
  /* needs to look OK with or without scrollbar */
  right: -34px;
  border-radius: 0;
  border: 0;
  background: black;
  color: white;
  padding: 5px 10px;
  font-size: 1.3rem;
}

/* Styles for language switcher. */
.lang-switcher-switcher {
  list-style: none;
  padding-left: 0;
  max-width: 100%;
  border-top: 1px solid #b2c4c4;
}

.lang-switcher-item {
line-height: 3.75rem;
    position: relative;
    border-top: none;
    border-bottom: 1px solid #b2c4c4;
    width: 100%;
    min-width: 224px;
    margin: 0 auto;
}

.lang-switcher-link {
  background: white;
  display: block;
  color: #333;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  vertical-align: unset;
  width: 100%;
}

.lang-switcher-link:after {
  background-color: #fff;
  border: 5px solid #f4f4f4;
  box-shadow: 0px 0px 0px 2px #e5e5e5;
  display: block;
  height: 1.25rem;
  margin-top: -0.625rem;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 1.25rem;
}

.lang-switcher-link.active:after,
.lang-switcher-link:hover:after,
.lang-switcher-link:focus:after {
  background-color: #e7352b;
  border: 5px solid #f4f4f4;
  box-shadow: 0px 0px 0px 2px #e5e5e5;
  border-radius: 100%;
  content: '';
  display: block;
  height: 1.25rem;
  margin-top: -0.625rem;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 1.25rem;
}

.lang-switcher-link.active:before,
.lang-switcher-link:hover:before,
.lang-switcher-link:focus:before {
  border-color: white;
  border-style: solid;
  border-width: 0 0.125rem 0.125rem 0;
  content: '';
  display: block;
  height: 1.25rem;
  margin-top: -1rem;
  position: absolute;
  right: 1.4375rem;
  top: 50%;
  transform: rotate(45deg);
  width: 0.625rem;
}

.lang-switcher-icon {
  border-radius: 0.25rem;
  width: 1.6875rem;
  height: 1.125rem;
  margin-top: -0.5625rem;
  position: absolute;
  right: 3.75rem;
  top: 50%;
}

._site--content ul.language-switcher-locale-url {
  margin-bottom: 0;
}

.language-icon-text{
  display: inline-block;
  height: 25px;
  vertical-align: top;
  position: relative;
  top: -6px;
}

.language-icon-wrapper{
  width: 25px;
  height: 25px;
  overflow: hidden;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -khtml-border-radius: 5px;
  display: inline-block;
}

.language-icon-wrapper img{
  vertical-align: top;
}


/* Sponsor logos */

ul.sponsorlogos {
  width: 98%;
  text-align: center;
}

ul.sponsorlogos li {
  display: inline-block;
  list-style: none;
  margin: 0 .2rem;
}


._site--voting ul.sponsorlogos li:before {
  content: none;
}

._site--voting ul.sponsorlogos li a {
  border-bottom: 0;
}

ul.sponsorlogos li img {
  width: 65px !important;
  height: 65px !important;
}


/* Responsive */
@media (max-width: 450px) {
  .modal {
    margin-right: 40px;
  }

  ._site--banner, ._site--footer--banner {
    padding-bottom: 2px !important;
  }

  ._site--headquarters {
    display: none;
  }
}

/* override user register form OTP verification. */
.otp-form .form-item input[type="text"],
.otp-form .form-item select {
  width: 100% !important;
}

@media (min-width: 1024px) {
  .otp-form .form-item input[type="text"],
  .otp-form .form-item select {
    width: 80% !important;
  }
}

/*
 * Add missing styles for MPU add blocks. Previously styles via the generated panels classes,
 * e.g. panel-pane.pane-custom.pane-7
 */
.ad--mpu {
  float: left;
  margin-right: 15px;
  margin-bottom: 20px;
  min-width: 300px;
  min-height:250px;
}

/*
 * Style social icons
 */
.social-login-link {
  width: 100%;
  text-align: center;
}

.social-login-link a {
  border-bottom: none;
  display: block;
  margin-bottom: .875rem;
}

.social-login-link a:hover {
  animation-name: grey;
  animation-duration: 0.5s;
  filter: grayscale(.7);
}

/*
 * Style form messages
 */
div[data-drupal-messages] {
  margin: 6px 20px 20px 0;
  padding: 20px;
  border: 1px solid #333;
  background: #e6342a;
  color: #fff;
}

/*
 * Style form elements
 */
.djmag-cm-otp-user-register-form input,
.djmag-cm-otp-user-register-form select {
  width: 80%;
}

.djmag-cm-otp-user-register-form .form-item {
  margin-bottom: 1rem;
}

/*
 * Fix countdown
 */
._site--content .flip-clock-wrapper ul {
  margin-bottom: 5px;
}

._site--voting .flip-clock-wrapper ul {
  margin-left: 5px;
}

/*
 * Set SG-overridden elements to their initial value
 * Taken from https://stackoverflow.com/questions/15901030/reset-remove-css-styles-for-element-only
 */
._site--voting .flip-clock-wrapper ul li::before {
  display: inline;
  content: normal;
  border-radius: 0;
  height: auto;
  width: auto;
  margin-right: unset;
  background-color: transparent;
}

.voting-countdown-wrapper {
  margin: 0 auto;
  max-width: 700px;
}

/* Hide summary buttons on preview. */
.webform-preview summary[role="button"] {
  visibility: hidden;
}

/* Style the continue voting message on frontpage. */
.continue-to-vote {
  margin: 1rem 0;
}

input[type="radio"],
input[type="checkbox"] {
  z-index: -99;
  width: 1px;
  height: 1px;
  opacity:0;
  }

input[type="radio"] + label,
input[type="checkbox"] + label {
  font-weight: 700;
  font-size: 14px;
  position: relative;
  left: -17px;
}

input[type="checkbox"] + label span,
input[type="radio"] + label span {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: -2px 10px 0 0;
  vertical-align: middle;
  cursor: pointer;
  -moz-border-radius: 50%;
  border-radius: 50%;
  }
  input[type="checkbox"] + label span,
  input[type="radio"] + label span {
    background-color: #f4f4f4;
    border: 2px solid #f4f4f4;
    box-shadow: 0px 0px 0px 2px #e5e5e5;
    position: absolute;
    left: -30px;
    top: 7px;
  }
  input[type="checkbox"]:checked + label { color: #333; font-weight: 700; }
  input[type="radio"]:checked + label { color: #333; font-weight: 700; }
  input[type="radio"]:checked + label span {
    background-color: #e7352b;
    border: 2px solid #f4f4f4;
    box-shadow: 0px 0px 0px 2px #e5e5e5;
  }
  input[type="checkbox"]:checked + label span {
    background-color: #e7352b;
    border: 2px solid #f4f4f4;
    box-shadow: 0px 0px 0px 2px #e5e5e5;
  }
  input[type="radio"] + label span, input[type="radio"]:checked + label span {
    -webkit-transition: background-color 0.24s linear;
    -o-transition: background-color 0.24s linear;
    -moz-transition: background-color 0.24s linear;
    transition: background-color 0.24s linear;
  }

    input[type="checkbox"] + label span, input[type="checkbox"]:checked + label span {
    -webkit-transition: background-color 0.24s linear;
    -o-transition: background-color 0.24s linear;
    -moz-transition: background-color 0.24s linear;
    transition: background-color 0.24s linear;
  }

  .ajax-progress-throbber{
    display: none;
  }

#edit-preview label,
#edit-step-3 label{
  font-weight: 400;
  font-size: 16px;
}

#edit-step-3 label::after{
  background-image: unset;
}

.webform-element-type-textfield{
  font-family: inherit;
  outline: none;
  border: 1px solid #f4f4f4;
  font-size: inherit;
  line-height: inherit;
  padding: .2rem .5rem;
  margin: 0;
  width: 80%;
  background-color: #f4f4f4;
  background-color: rgb(248, 248, 248);
  padding: .5rem !important;
  border-radius: 6px;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-left: 30px;
}

.webform-element-type-textfield label{
  margin-left: -30px;
  margin-right: 30px;
  width: 80%;
}

.webform-element--title-inline > label{
  padding-right: 0px;
}

.webform-button--next,
.webform-button--previous{
  text-indent: -1px;
  /*margin-top: 60px !important;*/
  -webkit-appearance: none;
}

.webform-button--previous{
  margin-right: 57px;
  margin-left: -100px;
}

.djmag_ads{
  margin-top: 20px;
}

@media (min-width: 1281px) {

.modal {
  width: 55%;
  max-width: 100%;
  height: unset;
  max-height: unset;
  position: fixed;
  z-index: 100;
  left: 50%;
  top: 10%;
  transform: translate(-50%, -50%);
  background: white;
  box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
}


.modal-guts {
  position: absolute;
  top: 0;
  left: 0;
  width: 99%;
  height: unset;
  overflow: hidden;
  padding: 20px 20px 20px 20px;
  background-color: white;
  margin: 0 auto;
}

.lang-switcher-switcher {
  list-style: none;
  padding-left: 0;
  max-width: 100%;
  border-top: 1px solid #b2c4c4;
}

.lang-switcher-item {
  line-height: 3.75rem;
  position: relative;
  border-top: none;
  border-bottom: 1px solid #b2c4c4;
  width: 30%;
  min-width: 224px;
  margin: 0 auto;
  float: left;
}


}


#block-virtualdj div{
    float: left;
    width: 97%;
    text-align: center;
}

#block-virtualdj div a{
  border-bottom: unset;
}

#block-virtualdj div figcaption{
  text-transform: uppercase;
  margin-top: 5px;
  margin-bottom: 10px;
}

#block-virtualdj .contextual{
    float: unset;
    background-color: transparent;
    width: unset;
    text-align: unset;
    padding: unset;
}

/* General text styles */

h1 {
  font-size: 2.8rem;
  text-align: center;
  text-transform: none;
  font-weight: 500;
}

h2 {
  font-size: 2.9rem !important;
  line-height: 3.2rem !important;
  font-weight: 600;
  text-align: center;
  text-transform: none;
}

h3 {
  font-size: 1.8rem;
  text-align: center;
  text-transform: none;
}

p {
  font-size: 0.9rem;
  font-weight: 350;
}

/* smaller font below (.description) for us on for use on descriptions eg: "only one vote per person is allowed. We need your permission to store some data from you and your device to make sure this happens..."*/

.description {
  font-size: 0.7rem;
  font-weight: 300;
}

/* ------------Form styles*----------------------/

/* Label for user-entry fields, name, email etc*/
label {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: none;
}

/* Style for text-entry boxes (name, email, country etc) */
input[type=text], input[type=email], select {
  width: 100% !important;
  padding: 8px 20px 8px 8px;
  margin: 1px 0px 0px 0px;
  display: inline-block;
  border: 1px solid gray;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-actions.js-form-wrapper.form-wrapper {
  max-width: 100% !important;
  padding: 8px;
}

#edit-email--description, .field-prefix .description {
  font-size: 0.8rem !important;
}

input[type=submit] {
  width: 100% !important;
  max-width: 100% !important;
  background-color: #89BB02 !important;
  color: #FFF !important;
  padding: 10px;
  margin: 0;
  border: 1px solid #89BB02 !important;
  border-radius: 6px !important;
  letter-spacing: 5px;
  box-sizing: border-box;
  text-transform: lowercase;
  cursor: pointer;
}

input[type=submit]:hover {
  font-weight: 400;
  background-color: #FFF !important;
  color: #000 !important;
}

.webform-button--previous {
  display: none !important;
}

.form-text, .form-email, .form-select {
  text-transform: none !important;
}

#edit-i-accept-the-terms--description {
  font-size: 0.8rem !important;
}

/* Drupal error message style */
.error, div[data-drupal-messages] {
  background-color: #FFCCCC;
  width: 100%;
  padding: 2px 10px 2px 15px;
  color: #000000;
  text-align: left;
  box-sizing: border-box;
  border: none !important;
}

/* Vertical radio */
.webform-options-display-two-columns {
  display: flex;
}

.webform-options-display-two-columns .form-item {
  flex-grow: 1;
}

/* flip clock */
@media screen and (max-width: 992px) {
  .highlighted .clock {
    margin: 5vw auto;
    display: block;
    width: 90vw;
    clear: both;
  }

  .flip-clock-wrapper ul {
    height: 50px;
    line-height: 50px;
  }

  .flip-clock-wrapper ul li a div.up:after {
    top: 24px;
  }

  .flip-clock-divider {
    height: 50px;
  }

  .flip-clock-dot {
    height: 5px;
    width: 3px;
    left: 2px;
  }

  .flip-clock-dot.top {
    top: 14px;
  }

  .flip-clock-dot.bottom {
    bottom: 11px;
  }


  .flip-clock-wrapper ul li a div.up div.inn {
    top: 0;
    line-height: 50px;
  }

  .flip-clock-wrapper ul li a div.down div.inn {
    bottom: 0;
    line-height: 50px;
  }

  .flip-clock-divider {

    width: 2vw;

  }

  .flip-clock-divider .flip-clock-label {
    font-size: 12px;
  }

  .flip-clock-divider.days .flip-clock-label {
    right: -15vw;
  }

  .flip-clock-divider.hours .flip-clock-label {
    right: -16vw;
  }

  .flip-clock-divider.minutes .flip-clock-label {
    right: -18vw;
  }

  .flip-clock-divider.seconds .flip-clock-label {
    right: -18vw;
  }

  .flip-clock-wrapper ul {
    width: 8vw;
    margin: 0px 1px 5px 0;
    padding: 0;
  }

  .flip-clock-wrapper ul li a div div.inn {
    font-size: 30px;
  }
}
