body {
  background: #f2f2f2;
  direction: rtl;
  text-align: right;
  font-family: "Heebo", sans-serif;
}

header a,
footer a {
  color: white;
}

header {
  background: #186dfb;
  border-radius: 0;
  color: white;
  min-height: 2em;
}

header .title .text-muted {
  font-size: 0.6em;
}
header .title a:hover {
  color: white;
}

.stage2 img {
  height: 200px;
}

img.small {
  width: 2em;
  max-height: 2em;
  vertical-align: bottom;
}

h3 {
  font-size: 1.2rem;
}
h4 {
  font-size: 1rem;
  font-weight: bold;
}

body[data-stage="register-plan-select"] {
}
body[data-stage="register-login"] {
}
body[data-stage="register-payment-pending"] {
}
body[data-stage="register-payment-complete"] {
}

body[data-stage="register-login"] .plan {
  opacity: 0.5;
}
body[data-stage="register-login"] .plan.selected {
  opacity: 1;
}

.plan .login-btns {
  display: none;
}
body[data-stage="register-login"] .plan.selected .toSignInStage {
  display: none;
}
body[data-stage="register-login"] .plan.selected .login-btns {
  display: block;
}

.plan.selected .card-footer {
  display: none;
}
.plan {
  transition: 0.5s;
}
.btn {
  border-radius: 0;
  cursor: pointer;
}
.col-actions {
  white-space: nowrap;
  color: white;
}

.plan .card-footer {
  display: none;
}

.paypal-button-container {
  margin: 0 auto;
  width: 500px;
  max-width: 100%;
}

#affiliate-fb-share {
  color: white;
  background: #4267b2;
}

#affiliate-fb-share:hover {
  background: #3a5a9a;
}

#affiliate-link::selection {
  background: #f7a494;
}

/*
.ctx-chart-0 h3 {color: white; background: #7979f9;}
.ctx-chart-1 h3 {color: white; background: #7979f9;}
.ctx-chart-2 h3 {color: white; background: #7979f9;}
*/

#search {
  background: #71a3f7;
  border-radius: 0;
  color: white;
  font-size: 1.5em;
  border: 0;
  line-height: 50px;
  min-height: 50px;
}
#search::placeholder {
  color: white;
}

footer {
  color: #585858;
  padding: 10px;
  text-align: center;
  font-size: 0.8em;
}
footer a {
  color: #585858;
}
footer a:hover {
  color: #585858;
  text-decoration: underline;
}

.btn-dismiss {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  max-height: 2em;
}

body.result-loading #results {
  opacity: 0.7;
}

th,
td {
  direction: rtl;
  text-align: right;
}
th {
  font-weight: bold;
}

tbody tr[data-cid]:nth-child(odd) {
  background: #f8f8f8;
}
tbody tr[data-cid]:nth-child(even) {
  background: #fff;
}

#results tr td {
  cursor: pointer;
}
#results tr#stats-row td {
  cursor: default;
  text-align: center;
}
.results-container {
  min-height: 500px;
  padding-bottom: 60px;
  overflow: scroll;
}

.chart-container {
  position: relative;
  height: 300px;
  width: 400px;
  display: inline-block;
}
.chart-container.ctx-chart-2 {
  width: 430px;
}
.yselect {
  background: #f2f2f2;
  border: 0;
  border-bottom: 1px solid #bbb;
}

.list {
  position: fixed;
  bottom: 0;
  right: 20px;
  background: white;
  min-height: 300px;
  min-width: 500px;
}
.list-table-container {
  max-height: 400px;
  overflow-y: scroll;
}
.list th {
  font-weight: normal;
  font-size: 1em;
  padding: 2px;
}
.list .bar {
  text-align: left;
  padding: 5px 10px;
  background: #666;
}
.list .bar i {
  cursor: pointer;
  color: white;
  margin-right: 5px;
  opacity: 0.5;
  vertical-align: middle;
}
.list .bar i:hover {
  opacity: 1;
}
.list .bar i.glyphicon-minus {
  vertical-align: bottom;
}
.list.list-hide .bar i.glyphicon-minus {
  vertical-align: top;
}
.list.list-hide {
  height: 30px;
  min-height: 30px;
}
.list-title {
  background: transparent;
  border: 0;
  color: white;
  float: right;
  width: 300px;
}
.list i.glyphicon-share {
  float: right;
  padding: 2px 0px 2px 5px;
}
.list .remove-course {
  opacity: 0.4;
  cursor: pointer;
}
.list .remove-course:hover {
  opacity: 0.8;
  color: red;
}
.list .col-course_name {
  max-width: 400px;
}

.modal iframe {
  width: 100%;
  height: 75vh;
}

@media only screen and (max-width: 600px) {
  .navbar-brand {
    font-size: 1.3em;
  }
  nav h2 {
    font-size: 1.2em;
  }
  .list {
    right: 9px;
    min-height: 250px;
    min-width: 250px;
  }
}

/*
.navbar {background: #186dfb; padding: 15px 0; border-radius: 0; margin: 0;}

body {background: #333;}
.container-fluid {background: #F2F2F2;}
h1,h2 {color: white;}
.navbar-brand {color: white; font-size: 2em;}
.navbar-brand:hover {color: white;}
nav h2 {font-size: 1.8em; color: #efefef;}
nav h2 a,nav h2 a:hover {color: #efefef; text-decoration: none;}
#results h2 {color:black; text-align:center;}

.show-instructions #instructions {display:block;}
.show-instructions footer {position: static;}
.show-instructions .results-container {max-height: 80px; min-height: 80px;}

#instructions {padding-top: 30px;}

*/

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.spinner {
  margin: 100px auto;
  width: 40px;
  height: 40px;
  position: relative;
  text-align: center;

  -webkit-animation: sk-rotate 1s infinite linear;
  animation: sk-rotate 1s infinite linear;
}

.dot1,
.dot2 {
  width: 60%;
  height: 60%;
  display: inline-block;
  position: absolute;
  top: 0;
  background-color: #333;
  border-radius: 100%;

  -webkit-animation: sk-bounce 1s infinite ease-in-out;
  animation: sk-bounce 1s infinite ease-in-out;
}

.dot2 {
  top: auto;
  bottom: 0;
  -webkit-animation-delay: -.s;
  animation-delay: -0.5s;
}

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

@-webkit-keyframes sk-bounce {
  0%,
  100% {
    -webkit-transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bounce {
  0%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  50% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}
