/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


/* ===========================Star ratings===========================*/
#star-container {text-align: center; font-size: 14pt; direction: rtl;}
#star-container .star {color: #bcbcbc;}
#star-container .checked {color: orange;}
#star-container .star:hover, #star-container .star:hover ~ .star:before {color: #707070;}
#star-container .checked:hover, #star-container .star:hover ~ .checked:before {color: #c1600b;}
#star-container .checked:hover, #star-container .checked:hover ~ .star:before {color: #c1600b;}

/* ===========================Webinar Grid===========================*/
.webinar-grid {
  width: 100%;
  display: inline-grid;
}

.full-grid {
  grid-template-columns: 100%;
  grid-column-gap: 0;
  grid-row-gap: 20px;
}

.archive-grid {
  grid-template-columns: 100%;
  grid-column-gap: 0;
  grid-row-gap: 20px;
}

@media only screen and (min-width: 500px) and (max-width: 800px) {
  .full-grid {
    grid-template-columns: 47.5% 47.5%;
    grid-column-gap: 5%;
    grid-row-gap: 40px;
  }

  /*.full-grid div:nth-child(2n + 2) {
    animation-delay: 0.25s;
  }*/
}

@media only screen and (min-width: 768px) and (max-width: 950px) {
  .archive-grid {
    grid-template-columns: 47.5% 47.5% !important;
    grid-column-gap: 5% !important;
    grid-row-gap: 50px;
  }
  /*.archive-grid div:nth-child(2n+2){
    animation-delay: 0.25s;
  }*/
}

@media only screen and (min-width: 800px) and (max-width: 1100px) {
  .full-grid {
    grid-template-columns: 32% 32% 32%;
    grid-column-gap: 2%;
    grid-row-gap: 50px;
  }
  /*.full-grid div:nth-child(3n+2) {
    animation-delay: 0.25s;
  }
  .full-grid div:nth-child(3n+3) {
    animation-delay: 0.5s;
  }*/
}

@media only screen and (min-width: 950px) {
  .archive-grid {
    grid-template-columns: 32% 32% 32% !important;
    grid-column-gap: 2% !important;
    grid-row-gap: 50px;
  }
  /*.archive-grid div:nth-child(3n+2){
    animation-delay: 0.25s;
  }
  .archive-grid div:nth-child(3n+3){
    animation-delay: 0.5s;
  }*/
}

@media only screen and (min-width: 1100px) {
  .full-grid {
    grid-template-columns: 23.5% 23.5% 23.5% 23.5%;
    grid-column-gap: 2%;
    grid-row-gap: 50px;
  }
  /*.full-grid div:nth-child(4n+2) {
    animation-delay: 0.25s;
  }
  .full-grid div:nth-child(4n+3) {
    animation-delay: 0.5s;
  }
  .full-grid div:nth-child(4n+4) {
    animation-delay: 0.75s;
  }*/
}


.webinar-teaser:after {
  content:'';
  width:100%;
  height:100%;    
  position:absolute;
  left:0;
  top:0;
  background:linear-gradient(#fff6 0px, white);
}

.webinar-teaser-box {
  text-align: center;
  padding: 60px 0;

  margin-left: -250px;
  margin-top: -125px;

  width: 500px;
  /*height: 250px;*/
  position: absolute;
  left: 50%;
  top: 50%;
  background-color: #dbdbdb;
  /*border: 4px solid #dadada;*/
}

.webinar-teaser-box > p {
  font-size: 16pt !important;
  font-family: 'Roboto', sans-serif !important;
}

.webinar-no-content {
  display: none;
}

.innerupcomingdiv {
  width: 100%;
}


/* ==========================Single Webinar==========================*/
.webinar-outer {
  height: 550px;
  width: 100%;
  position: relative;
}

.webinar-top {
  position: absolute;
  top: 0;
  width: 100%;
  height: 60px;
}
.webinar-top .icon-switch {
  position: absolute;
  height: 40px;
  width: 40px;
  margin: 10px;
}
.webinar-top .fav {
  right: 0;
}
.webinar-top .hide-webinar {
  left: 0;
}

.webinar-top .level-icon {
  max-width: 50px;
  margin: 10px;
}

.webinar-top .icon-switch .icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background-color: #e5e5e5;
  font-size: 16pt;
  text-decoration: none;
  text-align: center;
  color: #999;
  line-height: 100%;
  transition: ease 0.1s;
  -webkit-transition: ease 0.1s;
}
.webinar-top .icon-switch .icon i {
  position: relative;
  top: calc(50% - 10px);
}
.webinar-top .icon-switch .icon:hover {
  color: #888;
  background-color: #eeeeee;
}
.webinar-top .icon-switch .icon:active {
  color: #666;
  background-color: #ddd;
}
.webinar-top .icon-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.webinar-top .icon-switch input:checked + .heart {
  color: #d62629;
}
.webinar-top .icon-switch input:checked + .heart:hover {
  color: #b5193b;
}
.webinar-top .icon-switch input:checked + .eye {
  color: #2664d6;
}
.webinar-top .icon-switch input:checked + .eye:hover {
  color: #2664d6;
}
.webinar-top .icon-switch input:focus + .icon {
  box-shadow: 0 0 0 3px #201b62;
}

.webinar-inner {
  height: 100%;
  font-size: 14px;
  background-color: #e5e5e5;
}

.webinar-content {
  position: relative;
  padding: 5px 15px;
  text-align: center;
}

.webinar-content .auth-name {
  color: #9e9e9e;
  text-decoration: none;
}

.webinar-content .auth-name h5 {
  margin: 10px 0;
}

.webinar-content .title {
  color: #1d1463;
  text-decoration: none;
}

.webinar-content .title h4 {
  font-size: 17px;
  margin: 10px 0;
  overflow: hidden;
  /*white-space: nowrap;*/
  text-overflow: ellipsis;
}

.webinar-content #description {
  padding: 0;
  line-height: 1.5em;
}

.webinar-bottom {
  margin: 0;
  margin-bottom: 25px !important;
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 0;
}

.webinar-bottom .hide-text {
  text-decoration: none;
  font-size: 8.5pt;
  color: #545454;
}

.webinar-bottom .live-time {
  font-size: 13px;
  font-weight: 700;
  /*text-transform: capitalize;*/
  line-height: 30px;
  color: #9e9e9e;
}

.webinar-thumbnail {
  margin: 0;
  display: block;
  height: 150px;
  overflow: hidden;
}

.webinar-thumbnail img {
  margin-bottom: 0;
  width: 100%;
}

.profile-picture {
  width: 80px;
  height: 80px;
  position: relative;
  margin: -45px auto 1px;
  background: #fff;
  border-radius: 50%;
}

.profile-picture img {
  border: 2px solid #fff;
  border-radius: 50%;
  min-width: 80px;
  min-height: 80px;
  max-width: 80px;
  max-height: 80px;
}

.webinar-button {
  /*display: block;
  width: 100%;
  max-width: 70%;
  margin: 0.5em auto;
  */
  border: 0 !important;
  border-radius: 0 !important;
  background-color: white;
  color: #201b62;
  padding: 10px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: sans-serif !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  
  text-align: center;
  -webkit-transition-duration: 0.1s;
  transition-duration: 0.1s;
}

.webinar-button:hover {
  background-color: #d4d4d4;
  color: #201b62;
}

.webinar-primary-button {
  background-color: #fbb03b !important;
  color: #201b62 !important;
}

.webinar-primary-button:hover {
  background-color: #eb9923 !important;
  color: #201b62 !important;
}

.webinar-cancel-button {
  background-color: #999999 !important;
  color: #ffffff !important;
  width: auto;
}

.webinar-button:active {
  background-color: #ce9244;
  color: #201b62;
}

.webinar-button.disabled {
  background-color: #d6d3cf;
  color: #a8a7a6;
  pointer-events: none;
}

.webinar-button[disabled] {
  background-color: #d6d3cf !important;
  color: #a8a7a6 !important;
  opacity: 1 !important;
  /*pointer-events: none;*/
}

.webinar-button-card {
  display: block;
  width: 100%;
  max-width: 70%;
  margin: 0.5em auto;
}

.single-page-button {
  display: inline-block;
  max-width: 70%;
}

.webinar-overlay {
  position: absolute;
  width: 100%;
  height: 100%;

  background-color: white;
  top: 0;
  pointer-events: none;
  display: none;
}
.web-files {
  padding: 30px;
  background: #e5e5e5;
}

.web-files h3.post-tit {
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  color: #201b62 !important;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ========================Content Container=========================*/
.webinar-content-container {
  min-height: 550px;
  transition: 0.3s ease;
  box-sizing: border-box;
  position: relative;
}

.collapsed {
  min-height: 0px !important;
}

.webinar-content-container.loading {
  background-color: rgb(243, 243, 243);
}

.webinar-loading-indicator {
  display: hidden;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 10px solid rgb(204, 204, 204);
  border-top-color: #fbb03b;
  box-sizing: border-box;
  position: absolute;

  margin-top: -40px;
  margin-left: -40px;

  top: 50%;
  left: 50%;
  animation: loading 1.2s linear infinite;
  -webkit-animation: loading 1.2s linear infinite;
}

.iw-small-loading {
  position: absolute;
  top: 0;
  width: 42px;
  height: 42px;
  border: 5px solid rgb(204, 204, 204);;
  border-radius: 50%;
  border-top-color: #fbb03b;
  animation: loading 1.2s linear infinite;
  -webkit-animation: loading 1.2s linear infinite;
  display: inline-block;
  margin-left: 1em;
}

.iw-mini-loading {
  display: none;
  width: 35px;
  height: 35px;
  position: absolute;
  top: 1.2rem;
  margin: 0;
  padding: 0;
  right: 4rem;
  border: 4px solid #eee;
  border-bottom: 4px solid #201b62;
  border-radius: 50%;
  animation: loading 1.2s linear infinite;
  -webkit-animation: loading 1.2s linear infinite;
}

@keyframes loading {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}
@-webkit-keyframes loading {
  0% {-webkit-transform: rotate(0deg);}
  100% {-webkit-transform: rotate(360deg);}
}

.webinar-load-more { margin: 5% 0; text-align: center;}
.webinar-load-more button {color: #201b62; text-transform: uppercase; font-weight: 700; background-color: #0000; border: 2px solid #201b62; border-radius: 0;}
.webinar-load-more button:hover {border-color: #fbb03b; color: #fbb03b; background-color: #0000 !important;}
.webinar-load-more button:active {box-shadow: none; background-color: #fbb03b !important; color: #201b62;}
.webinar-load-more button:focus {outline: 1px dotted #201b62; outline-offset: 2px; border-color: inherit !important; background-color: #0000 !important;}
.webinar-load-more button::-moz-focus-inner {border: none;}


/* ===========================Animations=============================*/
@-webkit-keyframes bounce { 0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);} 40% {-webkit-transform: translateY(-30px);} 60% {-webkit-transform: translateY(-15px);} } 
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-30px);} 60% {transform: translateY(-15px);} }
@-webkit-keyframes fadein { 0%  {transform: translateY(30px); opacity: 0;} 100% {transform: translateY(0px); opacity: 1;} } 
@keyframes fadein { 0%  {transform: translateY(30px); opacity: 0;} 100% {transform: translateY(0px); opacity: 1;} }
.bounce { -webkit-animation-name: bounce; animation-name: bounce; }
.fadein {-webkit-animation-name: fadein; animation-name: fadein; }
.animated {-webkit-animation-duration: 0.5s; animation-duration: 0.5s; -webkit-animation-fill-mode: both; animation-fill-mode: both; }


/* ======================Webinar Dashboard===========================*/
.webinar-dashboard {
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 15px;
  margin-bottom: 2em;
}

.wdash-grid {
  display: grid;
  grid-template-columns: 100%;
  grid-column-gap: 2%;
  grid-row-gap: 1em;
  padding: 2em;
}
.wdash-grid #dash-title {
  padding: 0 1em 1em 1em;
  color: #201b62;
  font-size: 18pt;
  font-weight: bold;
  text-transform: uppercase;
}

.wdash-spacer {
  height: 1em;
}

@media only screen and (min-width: 775px) {
  .wdash-grid {
    grid-template-columns: 69% 29%;
    grid-column-gap: 2%;
    grid-row-gap: 40px;
  }

  .wdash-inner:nth-child(2n + 2) {
    float: right;
    text-align: right;
  }
}
.wdash-inner .wdash-categories {
  text-align: left;
}
.wdash-inner button {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: bold;
  box-sizing: border-box;
  color: #201b62;
  text-decoration: none;
  border: solid 2px;
  border-color: #201b62;
  border-radius: 0;
  background-color: #0000;
  padding: 5px 7px;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: .1s ease;
}
.wdash-inner button:hover {
  border-color: #fbb03b;
  color: #fbb03b;
}
.wdash-inner button:focus {
  outline: 1px dotted #201b62 !important;
  outline-offset: 2px !important;
}
.wdash-inner button::-moz-focus-inner {
  border: none !important;
}
.wdash-inner button.selected {
  background-color: #fbb03b;
  border-color: #fbb03b;
}
.wdash-inner button.selected:hover {
  border-color: #201b62;
  color: #201b62;
}
.wdash-inner #webinar-clear-btn {
  display: block;
  margin-top: 2em;
  min-width: 120px;
  color: #fff;
  background-color: #201b62;
}
.wdash-inner #webinar-clear-btn:hover {
  background-color: #fbb03b;
  text-decoration: underline;
}
.wdash-inner #webinar-clear-btn:active {
  background-color: #a87438;
  border-color: #a87438;
}
.wdash-inner .wdash-select {
  min-width: 200px;
  height: 45px;
  color: #201b62;
  font-size: 12pt;
  font-family: sans-serif;
  padding: 10px;
  text-transform: uppercase;
  font-weight: bold;
  background-color: #0000;
  border: solid 2px;
  border-color: #201b62;
}

.wdash-inner .wdash-check {
  display: inline;
  color: #201b62;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.wdash-inner .wdash-check input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.wdash-inner .wdash-check .checkmark {
  display: inline-block;
  vertical-align: middle;
  width: 25px;
  height: 25px;
  background-color: #eee;
  border: 2px solid #201b62;
  text-align: center;
}
.wdash-inner .wdash-check .checkmark i {
  display: none;
  color: white;
  font-size: 16px;
}
.wdash-inner .wdash-check:hover input ~ .checkmark {
  background-color: #ccc;
}
.wdash-inner .wdash-check input:checked ~ .checkmark {
  background-color: #201b62;
}
.wdash-inner .wdash-check input:checked ~ .checkmark i {
  display: inline;
}

.webinar-user-message {
  padding: 5px;
  margin-top: 1rem;
}

/* ======================Webinar Single===========================*/
.webinar-register-message {
  padding: 5px;
}

.wmsg-success {
  background-color: #8bf48d;
  border: 2px solid #3bdb58;
}

.wmsg-error {
  background-color: #f48b8b;
  border: 2px solid #db3b3b;
}

.webinar-frame {
  border: 0;
  width: 100%;
  height: 100%;
}

.webinar-frame-container {
  resize: vertical;
  overflow: hidden;
  min-height: 530px;
  height: 530px;
}

.premium-button{
  display: block;
  width: 100%;
  margin: 1em 0;
  color: white;
  background-color: #828282;
  text-align: center;
  font-family: sans-serif;
  text-transform: uppercase;
}

/* STRIPE THINGS */
.inweb-cardelement {
  height: 40px;
  padding: 10px 12px;
  width: 100%;
  color: #32325d;
  background-color: white;
  border: 1px solid transparent;
  border-radius: 4px;

  box-shadow: 0 1px 3px 0 #e6ebf1;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.inweb-cardelement--focus {
  box-shadow: 0 1px 3px 0 #cfd7df;
}

.inweb-cardelement--invalid {
  border-color: #fa755a;
}

.inweb-cardelement--webkit-autofill {
  background-color: #fefde5 !important;
}

/* Jesper */

.webinar-inner.no-back {
  background-color: unset;
  text-align: left;
  float: left;
}

.webinar-outer.auto-height {
  height: auto;
}

.single #star-container {
  font-size: 25px;
}