/* --------------------------------

xsigin/signup popup

-------------------------------- */
.cd-user-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(52, 54, 66, 0.9);
  z-index: 9999;
  overflow-y: auto;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s, visibility 0.3s;
  -moz-transition: opacity 0.3s, visibility 0.3s;
  transition: opacity 0.3s, visibility 0.3s;
}
.cd-user-modal.is-visible {
  visibility: visible;
  opacity: 1;
}
.cd-user-modal.is-visible .cd-user-modal-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

/*.cd-user-modal-container {*/
/*  position: relative;*/
/*  width: 90%;*/
/*  max-width: 600px;*/
/*  background: #FFF;*/
/*  margin: 3em auto 4em;*/
/*  cursor: auto;*/
/*  border-radius: 0.25em;*/
/*  -webkit-transform: translateY(-30px);*/
/*  -moz-transform: translateY(-30px);*/
/*  -ms-transform: translateY(-30px);*/
/*  -o-transform: translateY(-30px);*/
/*  transform: translateY(-30px);*/
/*  -webkit-transition-property: -webkit-transform;*/
/*  -moz-transition-property: -moz-transform;*/
/*  transition-property: transform;*/
/*  -webkit-transition-duration: 0.3s;*/
/*  -moz-transition-duration: 0.3s;*/
/*  transition-duration: 0.3s;*/
/*}*/
.cd-user-modal-container .cd-switcher:after {
  content: "";
  display: table;
  clear: both;
}
.cd-user-modal-container .cd-switcher li {
  width: 50%;
  float: left;
  text-align: center;
}
.cd-user-modal-container .cd-switcher li:first-child a {
  border-radius: .25em 0 0 0;
}
.cd-user-modal-container .cd-switcher li:last-child a {
  border-radius: 0 .25em 0 0;
}
/*.cd-user-modal-container .cd-switcher a {*/
/*  display: block;*/
/*  width: 100%;*/
/*  height: 50px;*/
/*  line-height: 50px;*/
/*  background: #d2d8d8;*/
/*  color: #809191;*/
/*}*/
/*.cd-user-modal-container .cd-switcher a.selected {*/
/*  background: #FFF;*/
/*  color: #505260;*/
/*}*/
/*@media only screen and (min-width: 600px) {*/
/*  .cd-user-modal-container {*/
/*    margin: 4em auto;*/
/*  }*/
/*  .cd-user-modal-container .cd-switcher a {*/
/*    height: 70px;*/
/*    line-height: 70px;*/
/*  }*/
/*}*/

/*.cd-form {*/
/*  padding: 1.4em;*/
/*}*/
/*.cd-form .fieldset {*/
/*  position: relative;*/
/*  margin: 1.4em 0;*/
/*}*/
/*.cd-form .fieldset:first-child {*/
/*  margin-top: 0;*/
/*}*/
/*.cd-form .fieldset:last-child {*/
/*  margin-bottom: 0;*/
/*}*/
/*.cd-form label {*/
/*  font-size: 14px;*/
/*  font-size: 0.875rem;*/
/*}*/
/*.cd-form label.image-replace {*/
/*  /* replace text with an icon */
/*  display: inline-block;*/
/*  position: absolute;*/
/*  left: 15px;*/
/*  top: 50%;*/
/*  bottom: auto;*/
/*  -webkit-transform: translateY(-50%);*/
/*  -moz-transform: translateY(-50%);*/
/*  -ms-transform: translateY(-50%);*/
/*  -o-transform: translateY(-50%);*/
/*  transform: translateY(-50%);*/
/*  height: 20px;*/
/*  width: 20px;*/
/*  overflow: hidden;*/
/*  text-indent: 100%;*/
/*  white-space: nowrap;*/
/*  color: transparent;*/
/*  text-shadow: none;*/
/*  background-repeat: no-repeat;*/
/*  background-position: 50% 0;*/
/*}*/
/*.cd-form label.cd-username {*/
/*  background-image: url("../img/cd-icon-username.svg");*/
/*}*/
/*.cd-form label.cd-email {*/
/*  background-image: url("../img/cd-icon-email.svg");*/
/*}*/
/*.cd-form label.cd-password {*/
/*  background-image: url("../img/cd-icon-password.svg");*/
/*}*/
/*.cd-form input {*/
/*  margin: 0;*/
/*  padding: 0;*/
/*  border-radius: 0.25em;*/
/*}*/
/*.cd-form input.full-width {*/
/*  width: 100%;*/
/*}*/
/*.cd-form input.has-padding {*/
/*  padding: 12px 20px 12px 50px;*/
/*}*/
/*.cd-form input.has-border {*/
/*  border: 1px solid #d2d8d8;*/
/*  -webkit-appearance: none;*/
/*  -moz-appearance: none;*/
/*  -ms-appearance: none;*/
/*  -o-appearance: none;*/
/*  appearance: none;*/
/*}*/
/*.cd-form input.has-border:focus {*/
/*  border-color: #343642;*/
/*  box-shadow: 0 0 5px rgba(52, 54, 66, 0.1);*/
/*  outline: none;*/
/*}*/
/*.cd-form input.has-error {*/
/*  border: 1px solid #d76666;*/
/*}*/
/*.cd-form input[type=password] {*/
/*  /* space left for the HIDE button */
/*  padding-right: 65px;*/
/*}*/
/*.cd-form input[type=submit] {*/
/*  padding: 16px 0;*/
/*  cursor: pointer;*/
/*  background: #2f889a;*/
/*  color: #FFF;*/
/*  font-weight: bold;*/
/*  border: none;*/
/*  -webkit-appearance: none;*/
/*  -moz-appearance: none;*/
/*  -ms-appearance: none;*/
/*  -o-appearance: none;*/
/*  appearance: none;*/
/*}*/
/*.no-touch .cd-form input[type=submit]:hover, .no-touch .cd-form input[type=submit]:focus {*/
/*  background: #3599ae;*/
/*  outline: none;*/
/*}*/
/*.cd-form .hide-password {*/
/*  display: inline-block;*/
/*  position: absolute;*/
/*  right: 0;*/
/*  top: 0;*/
/*  padding: 6px 15px;*/
/*  border-left: 1px solid #d2d8d8;*/
/*  top: 50%;*/
/*  bottom: auto;*/
/*  -webkit-transform: translateY(-50%);*/
/*  -moz-transform: translateY(-50%);*/
/*  -ms-transform: translateY(-50%);*/
/*  -o-transform: translateY(-50%);*/
/*  transform: translateY(-50%);*/
/*  font-size: 14px;*/
/*  font-size: 0.875rem;*/
/*  color: #343642;*/
/*}*/
/*.cd-form .cd-error-message {*/
/*  display: inline-block;*/
/*  position: absolute;*/
/*  left: -5px;*/
/*  bottom: -35px;*/
/*  background: rgba(215, 102, 102, 0.9);*/
/*  padding: .8em;*/
/*  z-index: 2;*/
/*  color: #FFF;*/
/*  font-size: 13px;*/
/*  font-size: 0.80.9rem;;*/
/*  border-radius: 0.25em;*/
/*  /* prevent click and touch events */
/*  pointer-events: none;*/
/*  visibility: hidden;*/
/*  opacity: 0;*/
/*  -webkit-transition: opacity 0.2s 0, visibility 0 0.2s;*/
/*  -moz-transition: opacity 0.2s 0, visibility 0 0.2s;*/
/*  transition: opacity 0.2s 0, visibility 0 0.2s;*/
/*}*/
/*.cd-form .cd-error-message::after {*/
/*  /* triangle */
/*  content: '';*/
/*  position: absolute;*/
/*  left: 22px;*/
/*  bottom: 100%;*/
/*  height: 0;*/
/*  width: 0;*/
/*  border-left: 8px solid transparent;*/
/*  border-right: 8px solid transparent;*/
/*  border-bottom: 8px solid rgba(215, 102, 102, 0.9);*/
/*}*/
/*.cd-form .cd-error-message.is-visible {*/
/*  opacity: 1;*/
/*  visibility: visible;*/
/*  -webkit-transition: opacity 0.2s 0, visibility 0 0;*/
/*  -moz-transition: opacity 0.2s 0, visibility 0 0;*/
/*  transition: opacity 0.2s 0, visibility 0 0;*/
/*}*/
/*@media only screen and (min-width: 600px) {*/
/*  .cd-form {*/
/*    padding: 2em;*/
/*  }*/
/*  .cd-form .fieldset {*/
/*    margin: 2em 0;*/
/*  }*/
/*  .cd-form .fieldset:first-child {*/
/*    margin-top: 0;*/
/*  }*/
/*  .cd-form .fieldset:last-child {*/
/*    margin-bottom: 0;*/
/*  }*/
/*  .cd-form input.has-padding {*/
/*    padding: 16px 20px 16px 50px;*/
/*  }*/
/*  .cd-form input[type=submit] {*/
/*    padding: 16px 0;*/
/*  }*/
/*}*/
/**/
/*.cd-form-message {*/
/*  padding: 1.4em 1.4em 0;*/
/*  font-size: 14px;*/
/*  font-size: 0.875rem;*/
/*  line-height: 1.4;*/
/*  text-align: center;*/
/*}*/
/*@media only screen and (min-width: 600px) {*/
/*  .cd-form-message {*/
/*    padding: 2em 2em 0;*/
/*  }*/
/*}*/

.cd-form-bottom-message {
  /*position: absolute;*/
  width: 100%;
  left: 0;
  /*bottom: -30px;*/
  text-align: center;
  font-size: 14px;
  font-size: 0.875rem;
  padding-bottom: 10px;
  clear: both;
  margin-top: 0.9rem;
}
/*.cd-form-bottom-message a {*/
/*  color: #000;*/
/*  text-decoration: underline;*/
/*}*/

/*.cd-close-form {*/
/*  /* form X button on top right */
/*  display: block;*/
/*  position: absolute;*/
/*  width: 40px;*/
/*  height: 40px;*/
/*  right: 0;*/
/*  top: -40px;*/
/*  background: url("../img/cd-icon-close.svg") no-repeat center center;*/
/*  text-indent: 100%;*/
/*  white-space: nowrap;*/
/*  overflow: hidden;*/
/*}*/
/*@media only screen and (min-width: 1170px) {*/
/*  .cd-close-form {*/
/*    display: none;*/
/*  }*/


#cd-login, #cd-signup, #cd-reset-password, #cd-error-message {
  display: none;
}

#cd-login.is-selected, #cd-signup.is-selected, #cd-reset-password.is-selected {
  display: block;
}

/*colours*/
form.cd-form {
  background: #ffffff;
  padding: 0 2rem 2rem 2rem;
}
.cd-form .fieldset {
    position: relative;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
}
.cd-form label {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 16.8px;
  line-height: 1.05rem;
  display: none;
  font-weight: bold;
  opacity: 0;
}
.cd-form input,
.cd-form textarea {
  -webkit-appearance: none;
}
.cd-form span {
  display: block;
  margin: 0.5rem 0 0.9rem 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  /* prevents bg color from leaking outside the border */
  color: rgba(215, 102, 102, 0.9);
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 16.8px;
  line-height: 1.05rem;
  pointer-events: none;
  opacity: 0;
}
.cd-form input[type="text"],
.cd-form input[type="search"],
.cd-form input[type="email"],
.cd-form input[type="password"] {
  font-size: 18px;
  font-size: 0.9rem;;
  line-height: 21.599999999999998px;
  line-height: 1.3499999999999999rem;
  font-style: normal;
  line-height: 36px;
  border: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #d1d1d1;
  position: relative;
}
.cd-form input[type="submit"] {
  border: none;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  /* prevents bg color from leaking outside the border */
  display: inline-block;
  padding: 0 40px;
  min-width: 150px;
  text-align: center;
  font-size: 18px;
  font-size: 0.9rem;;
  /*line-height: 54px;
  line-height: 3.375rem;*/
  color: #ffffff;
  background-color: #de792e;
  padding: 0 20px;
  float: right;
}
.cd-form input[type="submit"]:hover {
  background-color: #484848;
  text-decoration: none;
}
.cd-form input:focus,
.cd-form textarea:focus {
  outline: none;
  border-bottom: 1px solid #8d8d8d;
}
.cd-form form > a {
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 16.8px;
  line-height: 1.05rem;
  color: #de792e;
  margin: 0.9rem 0;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.cd-form form > p {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.cd-form .hide-password {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 16.8px;
  line-height: 1.05rem;
  color: #de792e;
  margin: 0.9rem 0;
  position: absolute;
  right: 0;
  top: 0px;
}
.cd-user-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 999;
  overflow-y: auto;
  cursor: pointer;
  text-align: center;
}
.cd-user-modal div > p {
  text-align: center;
}
.cd-user-modal-container {
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  /* prevents bg color from leaking outside the border */
  overflow: hidden;
  background: #ffffff;
  max-width: 500px;
  /*width: 100%;*/
  display: inline-block;
  text-align: left;
  margin: 100px 40px 0 40px;
}
.cd-switcher {
  font-size: 0;
}
.cd-switcher li {
  display: inline-block;
}
.cd-switcher li {
  margin-left: 0;
  width: 50%;
}
.cd-switcher a {
  display: block;
  font-size: 18px;
  font-size: 0.9rem;;
  line-height: 21.599999999999998px;
  line-height: 1.3499999999999999rem;
  text-align: center;
  padding: 0.9rem 0;
  background: #e8e8e8;
  color: #8d8d8d;
}
.cd-switcher a:hover {
  color: #1a1a1a;
}
.cd-switcher a.selected {
  background: #ffffff;
  color: #1a1a1a;
}
.social-auth-links a {
  text-align: left;
  /*padding: 10px 5px 10px 60px;*/
  padding-left: 60px;
  color: #ffffff;
  display: block;
  background: #de792e;
  font-size: 18px;
  font-size: 0.9rem;;
  line-height: 48px;
  line-height: 3rem;
  /*margin: 0.9rem 2rem;*/
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: 12px 12px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.social-auth-links a.btn-facebook {
  background-color: #3b5998;
  background-image: url(images/social-facebook.svg);
}
.social-auth-links a.btn-twitter {
  background-color: #55acee;
  background-image: url(images/social-twitter.svg);
}
.social-auth-links a.btn-google {
  background-color: #dd4b39;
  background-image: url(images/social-google.svg);
}
.social-auth-links a:hover {
  background-color: #484848;
}
#cd-signup {
  margin-bottom: 2.5rem;
}
