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

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  font-family: "Open Sans", sans-serif;
  color: #505260;
  background-color: white;
}

a {
  color: #2f889a;
  text-decoration: none;
}

img {
  max-width: 100%;
}

input, textarea {
  font-family: "Open Sans", sans-serif;
	font-size: 18px !important;
}
input::-ms-clear, textarea::-ms-clear {
  display: none;
}

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

Main components 

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

.cd-logo {
  top: -100px !important;
  background: url(/css/img/logo.png) center top no-repeat !important;
  transform: translateY(-50%) translateX(-50%);
  left: 50% !important;
  display: inline-block;
  white-space: nowrap;
  font-size: 35px !important;
  background-size: 180px !important;
  padding-top: 60px;
} 

header[role=banner] {
  position: relative;
  height: 50px;
  background: #343642;
}
header[role=banner] #cd-logo {
  float: left;
  margin: 4px 0 0 5%;
  /* reduce logo size on mobile and make sure it is left aligned with the transform-origin property */
  -webkit-transform-origin: 0 50%;
  -moz-transform-origin: 0 50%;
  -ms-transform-origin: 0 50%;
  -o-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
}
header[role=banner] #cd-logo img {
  display: block;
}
header[role=banner]::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}
@media only screen and (min-width: 768px) {
  header[role=banner] {
    height: 80px;
  }
  header[role=banner] #cd-logo {
    margin: 20px 0 0 5%;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}

.main-nav {
  float: right;
  margin-right: 5%;
  width: 44px;
  height: 100%;
  background: url("../css/img/cd-icon-menu.svg") no-repeat center center;
  cursor: pointer;
}
.main-nav ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}
.main-nav ul.is-visible {
  -webkit-transform: translateY(50px);
  -moz-transform: translateY(50px);
  -ms-transform: translateY(50px);
  -o-transform: translateY(50px);
  transform: translateY(50px);
}
.main-nav a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
  background: #292a34;
  border-top: 1px solid #3b3d4b;
  color: #FFF;
}
@media only screen and (min-width: 768px) {
  .main-nav {
    width: auto;
    height: auto;
    background: none;
    cursor: auto;
  }
  .main-nav ul {
    position: static;
    width: auto;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    line-height: 80px;
  }
  .main-nav ul.is-visible {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
  .main-nav li {
    display: inline-block;
    margin-left: 1em;
  }
  .main-nav li:nth-last-child(2) {
    margin-left: 2em;
  }
  .main-nav a {
    display: inline-block;
    height: auto;
    line-height: normal;
    background: transparent;
  }
  .main-nav a.cd-signin, .main-nav a.cd-signup {
    padding: .6em 1em;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50em;
  }
  .main-nav a.cd-signup {
    background: #2f889a;
    border: none;
  }
}

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

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: 3;
  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);
    margin: 0;
    position: absolute;
    top: 52%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%) translateX(-50%);
    left: 50%;
}

.cd-user-modal-container {
  position: relative;
  width: 90%;
  max-width: 600px;

  margin: 11em auto;
  cursor: auto;

  -webkit-transform: translateY(30px);
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -o-transform: translateY(30px);
  transform: translateY(30px);

}
.cd-user-modal-container .cd-switcher:after {
  content: "";
  display: table;
  clear: both;
}
.cd-user-modal-container .cd-switcher li {
  width: 33%;
  float: left;
  text-align: left;
/*  */
  font-size:14px;
}
.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: .25em .25em 0 0 !important;
}
.cd-user-modal-container .cd-switcher a {
  display: block;
  width: 100%;
  height: 50px;
  line-height: 50px;
  background: #d2d8d8;
  color: #809191;
padding-left:24px;

}
.cd-user-modal-container .cd-switcher a.selected {
  background: #FFF;
  color: #505260;
}
/*
@media only screen and (min-width: 600px) {
  .cd-user-modal-container {
    margin: 11em 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("../css/img/cd-icon-username.svg");
}
.cd-form label.cd-email {
  background-image: url("../css/img/cd-icon-email.svg");
}
.cd-form label.cd-password {
  background-image: url("../css/img/cd-icon-password.svg");
}
.cd-form input {
  margin: 0;
  padding: 0;
  border-radius: 0.25em;
font-size: 18px;
}
.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;
  font-size: 18px;
}
.cd-form input[type=submit] {
  padding: 16px 0;
  cursor: pointer;
/*  background: #2f889a;*/
	background: #0e68b4;
	background: -moz-linear-gradient(top,  #0e68b4 0%, #2a75b2 52%, #2989d8 100%);
	background: -webkit-linear-gradient(top,  #0e68b4 0%,#2a75b2 52%,#2989d8 100%);
	background: linear-gradient(to bottom,  #0e68b4 0%,#2a75b2 52%,#2989d8 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e68b4', endColorstr='#2989d8',GradientType=0 );
  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;*/
background: #1286e4;
background: -moz-linear-gradient(top,  #1286e4 0%, #368bd0 52%, #4599dd 100%);
background: -webkit-linear-gradient(top,  #1286e4 0%,#368bd0 52%,#4599dd 100%);
background: linear-gradient(to bottom,  #1286e4 0%,#368bd0 52%,#4599dd 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1286e4', endColorstr='#4599dd',GradientType=0 );
  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: none;
  position: relative;
/*  left: -5px;
  bottom: -35px;*/
  background: rgba(215, 102, 102, 0.9);
  padding: .6em;
  z-index: 2;
  color: #FFF;
  font-size: 1.8125rem;
  border-radius: 0.25em;
  /* prevent click and touch events */
  pointer-events: none;

  -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;
  padding-left: 50px;
  line-height: 30px;
  text-align: center;
}

.cd-form .beak-on::after {
  /* triangle */
  content: '';
  position: absolute;
  left: 50%;
  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);
  margin-left: -8px;
}

.cd-form .cd-error-message::before {
  /* info icon */
	position: absolute;
	left: 14px;
	top: 15px;
	height: 24px;
	width: 24px;
	background: #fff;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 12px;
	font-family: 'FontAwesome';
	content: "\f12a";
	color: rgba(215, 102, 102, 0.9);
	text-align: center;
	line-height: 24px;
	border: 1px solid white;
}

.cd-form .cd-error-message.is-visible {
  display:inline-block;
  -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;
}

.cd-info-message {
  display: inline-block;
  position: relative;

  background: rgba(102, 151, 215, 0.9);
  padding: .6em;
  z-index: 2;
  color: #FFF;
  font-size: 1.8125rem;
  border-radius: 0.25em;
  /* prevent click and touch events */
  pointer-events: none;

  -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;
  padding-left: 50px;
  line-height: 30px;
  text-align: center;
  text-transform:uppercase;
  font-weight:bold;
}

.cd-info-message::before {
  /* info icon */
	position: absolute;
	left: 14px;
	top: 15px;
	height: 24px;
	width: 24px;
	background: #fff;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 12px;

	content: "i";
	color: rgba(102, 151, 215, 0.9);
	text-align: center;
	line-height: 24px;
	border: 1px solid white;
	text-transform:none;
}

  .cd-form {
    padding: 2em;
	padding-top:.1em;
	padding-bottom: .1em;
  }
  .cd-form .fieldset {
	margin: 2em 0 !important;
  }
  .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 p	{	font-size:14px;text-align:center;line-height:initial !important;	}

/*.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: 13px;
/*  font-size: 0.875rem;*/
}
.cd-form-bottom-message a {
  color: #FFF;
  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("../css/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 {
  display: none;
  background: #FFF;
  border-radius: 0.25em;
}

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


.cd-lang	{
    float: right;
    margin-top: 20px;
    margin-right: 24px;
	color:#cdcdcd;
}

.cd-lang a	{color:#fff !important;}


.cd-timeout	{	position:absolute;bottom:0px;left:0px;width:0%;border-bottom:5px solid #dd127b;

-webkit-border-bottom-left-radius: 0.25em;
-moz-border-radius-bottomleft: 0.25em;
border-bottom-left-radius: 0.25em;

}

.cd-sms	{text-align:center;margin-top:20px;}

.input-num	{
display: inline-block;
padding: 12px !important;
margin: 10px !important;
text-align: center;
padding-left: 25px !important;
padding-right: 25px !important;
font-weight: bold;
font-size: 25px !important;
}

.cd-resend-pin			{	position: relative;	color:#005ab3;padding-left: 45px;text-decoration:underline;line-height: 24px;cursor:pointer;  font-weight: bold;	}
.cd-resend-pin:hover	{	color:#005ab3;	}
.cd-resend-pin::before	{		position: absolute;
left: 14px;
top: -2px;
height: 24px;
width: 24px;
font-family: 'FontAwesome';
content: "\f021";
text-align: center;
line-height: 24px;
}

.cd-email {position:relative;padding-left: 25px;}
.cd-email::before	{		position: absolute;
left: 0px;
top: 1px;
height: 24px;
width: 24px;
font-family: 'FontAwesome';
content: "\f0e0";
text-align: center;
color:#005ab3;
}

.cd-phone {position:relative;padding-left: 25px;}
.cd-phone::before	{		position: absolute;
left: 0px;
top: 1px;
height: 24px;
width: 24px;
font-family: 'FontAwesome';
content: "\f095";
text-align: center;
color:#005ab3;
}



@media only screen and (max-width: 600px) { 


.input-num	{
  display: inline-block;
  padding: 12px !important;
  margin: 8px !important;
  text-align: center;
  padding-left: 5px !important;
  padding-right: 5px !important;
  font-weight: bold;
  font-size: 25px !important;
}

.cd-user-modal.is-visible .cd-user-modal-container	{
  top:60%;
}

.cd-form .fieldset	{
  margin: 1.5em 0 !important;
}

}