/*
	General Styles:
*/

input, select, textarea {
	font-family: 'Museo Sans', Helvetica, sans-serif;
}

input:focus, select:focus, textarea:focus {  /* stop webkit from putting boxes around it */
  outline: none;
}

/* Input styles for Questions dialog text boxes */

input[id^="dlg_question"] {
	width: 66%;
}

/*
  Rounded text input
*/
.shadowInput {
  padding: 5px 15px;
  border-radius: 50px;
  border: none;
  width: 60%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);

  text-align: right;
}

/*
	Select styles for the v2 site.
*/

select {
    background: white;
    color: #717272;
    font-family: 'Museo Sans', Helvetica, sans-serif;
    font-weight: 300;

    border: 1px solid;
    padding: 3px 5px;
    padding-right: 25px;

    /* disappear the down arrow */
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;

    position: relative;

    background: url('../img/icon/Kindo_icons_chevron_blue.svg') no-repeat right white;
    background-position: calc(100% - 7px);
}

select::-ms-expand {  /* IE down arrow */
    display: none;
}

select.borderedSelect { /* Put the default border around it */
    border: 1px solid #cccccc;
    margin-top: 2px;
    margin-bottom: 2px;
    padding-top: 1px;
    padding-bottom: 1px;
}

/*
    Button styles for the v2 site.
*/

a:focus,
button:focus {
	/* remove blue border around selected buttons in Chrome */
	outline: 0;
}

button {
	font-family: 'Museo Sans', sans-serif;
	font-weight: 500;
	
    border-radius: 23.5px;
    border: none;
    background-color: #81B4C1;
    color: #FFFFFF;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 21.8px;
    padding-right: 21.8px;
	cursor: pointer;
	
	transition: color 0.5s ease, background-color 0.5s ease, border-color 0.5s ease;
	-webkit-transition: color 0.5s ease, background-color 0.5s ease,border-color 0.5s ease;
}

button:hover {
	background-color: #5A7D87;
}

button.transparent {
    border: 2px solid;
	border-color: #81B4C1;
    background-color: transparent;
    color: #81B4C1;
    font-weight: 500;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 19.8px;
	padding-right: 19.8px;
}
button.transparent:hover {
	border-color: #5A7D87;
	color: #5A7D87;
}

button.destructiveButton {
    background-color: #FF0000;
    border-color: #FF0000;
}
button.destructiveButton:hover {
    background-color: #b20000;
    border-color: #b20000;
}

button.big {
    padding-bottom: 10px;
    padding-top: 10px;
}

button.bigger {
    padding: 20px 30px;
    border-radius: 30px;
    font-size: 15px;
}

button[disabled] {
    background-color: #777778;
    border-color: #777778;
    color: #FFFFFF;
    cursor: auto;
}
button[disabled].transparent {
    background-color: transparent;
    color: #777778;
}

svg.plusPersonIcon path[fill="#C7C7C8"] {
	cursor: pointer;
	
	transition: fill 0.5s ease;
    -webkit-transition: fill 0.5s ease;
	
	fill: #C7C7C8;
}

svg.plusPersonIcon:hover path[fill="#C7C7C8"] {
	fill: #777778;
}

/*
    Checkbox and Radio button default styles. See Docs
*/
input[type='radio'], input[type='checkbox'] {
    display:none;
}

input[type='radio'] + label, input[type='checkbox'] + label {
    background: url('../img/icon/Kindo_icons_choice_off.svg') no-repeat;
    display: inline-block;
    /*height: 23px;
    font-size: 14.4px;
    font-weight: 300;
    padding: 0 0 0 30px;
    padding-top: 5px;*/
    font-size: 14.4px;
    font-weight: 300;
    padding: 6.8px 0;
    padding-left: 30px;
    
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;      /* IE 10+ */
    user-select: none;          /* Likely future */   
    
    -webkit-transition: background-image 0.2s ease-in-out;
    transition: background-image 0.2s ease-in-out;

    background-position-y: center;

    box-sizing: border-box;
    min-height: 35px;
    vertical-align: middle;
}

input[type='radio']:checked + label {
    background: url('../img/icon/Kindo_icons_choice_on.svg') no-repeat;
    display: inline-block;
    background-position-y: center;
}

input[type='checkbox']:checked + label{
    background: url('../img/icon/Kindo_icons_option_tick.svg') no-repeat;
    display: inline-block;
    background-position-y: center;
}

input[type='radio'] + label.rightAlign, input[type='checkbox'] + label.rightAlign {
    padding-left: 0;
    padding-right: 30px;
    background-position-x: right;
}

/*
    Switch styles for the v2 site.
    Usage and more Information can be found in /Docs/Code Docs/Switches.markdown
*/

input[type="checkbox"] { 
	position: absolute;
	opacity: 0;
}

input[type="checkbox"].ugly,
input[type="radio"].ugly {
	position: initial;
	opacity: 1;
	-webkit-user-select: initial;  /* Chrome all / Safari all */
    -moz-user-select: initial;     /* Firefox all */
    -ms-user-select: initial;      /* IE 10+ */
    user-select: initial;          /* Likely future */   
}

/* Normal Track */
input[type="checkbox"].ios-switch + div {
	vertical-align: middle;
	width: 40px;	height: 20px;
	border: 1px solid rgba(0,0,0,.4);
	border-radius: 999px;
	background-color: rgba(0, 0, 0, 0.1);
	-webkit-transition-duration: .4s;
	-webkit-transition-property: background-color, box-shadow;
	box-shadow: inset 0 0 0 0px rgba(0,0,0,0.4);
	/*margin: 15px 1.2em 15px 2.5em;*/
}

/* Checked Track (Blue) */
input[type="checkbox"].ios-switch:checked + div {
	width: 40px;
	background-position: 0 0;
	background-color: #3b89ec;
	border: 1px solid #0e62cd;
	box-shadow: inset 0 0 0 10px rgba(59,137,259,1);
}

/* Tiny Track */
input[type="checkbox"].tinyswitch.ios-switch + div {
	width: 34px;	height: 20px;
}

/* Big Track */
input[type="checkbox"].bigswitch.ios-switch + div {
	width: 50px;	height: 27px;
}

/* Green Track */
input[type="checkbox"].green.ios-switch:checked + div {
	background-color: #00e359;
	border: 1px solid rgba(0, 162, 63,1);
	box-shadow: inset 0 0 0 10px rgba(0,227,89,1);
}

/* Light Blue Track */
input[type="checkbox"].lightBlue.ios-switch:checked + div {
	background-color: #B4D8DF;
	border: 1px solid #90acb2;
	box-shadow: inset 0 0 0 10px #B4D8DF;
}

/* Normal Knob */
input[type="checkbox"].ios-switch + div > div {
	float: left;
	width: 18px; height: 18px;
	border-radius: inherit;
	background: #ffffff;
	-webkit-transition-timing-function: cubic-bezier(.54,1.85,.5,1);
	-webkit-transition-duration: 0.4s;
	-webkit-transition-property: transform, background-color, box-shadow;
	-moz-transition-timing-function: cubic-bezier(.54,1.85,.5,1);
	-moz-transition-duration: 0.4s;
	-moz-transition-property: transform, background-color;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(0, 0, 0, 0.4);
	pointer-events: none;
	margin-top: 1px;
	margin-left: 1px;
}

/* Checked Knob (Blue Style) */
input[type="checkbox"].ios-switch:checked + div > div {
	-webkit-transform: translate3d(20px, 0, 0);
	-moz-transform: translate3d(20px, 0, 0);
	background-color: #ffffff;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(8, 80, 172,1);
}

/* Tiny Knob */
input[type="checkbox"].tinyswitch.ios-switch + div > div {
	width: 16px; height: 16px;
	margin-top: 1px;
}

/* Checked Tiny Knob (Blue Style) */
input[type="checkbox"].tinyswitch.ios-switch:checked + div > div {
	-webkit-transform: translate3d(16px, 0, 0);
	-moz-transform: translate3d(16px, 0, 0);
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(8, 80, 172,1);
}

/* Big Knob */
input[type="checkbox"].bigswitch.ios-switch + div > div {
	width: 23px; height: 23px;
	margin-top: 1px;
}

/* Checked Big Knob (Blue Style) */
input[type="checkbox"].bigswitch.ios-switch:checked + div > div {
	-webkit-transform: translate3d(25px, 0, 0);
	-moz-transform: translate3d(25px, 0, 0);
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(8, 80, 172,1);
}

/* Green Knob */
input[type="checkbox"].green.ios-switch:checked + div > div {
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 162, 63,1);
}

/* Loader - Adapted from http://projects.lukehaas.me/css-loaders/ */

.loader {
  color: #3B798B;
  font-size: 20px;
  margin: 100px auto;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load4 1.3s infinite linear;
  animation: load4 1.3s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
@-webkit-keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
@keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}

/*
End-Submitting input
*/
.endSubmittingInput {
    /*padding: 0 15px 5px 0;*/
    border-radius: 50px;
    border: none;
    /*width: 80%;*/
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    /*height: 23.3px;*/
    background: #FFFFFF;
    display: flex;
    flex-direction: row;
}

.endSubmittingInput > input {
    border-bottom-left-radius: 50px;
    border-top-left-radius: 50px;
    padding: 5px 15px;
    border: none;
    font-size: 14.4px;
    height: 23.3px;
    flex: 1;
    min-width: 0;
}

.endSubmittingInput .endSubmittingInputSubmitButton {
    width: 33.3px;
    height: 33.3px;
    padding: 0;
    margin: 0;
}

.endSubmittingInput .endSubmittingInputSubmitButton > img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    transform: translateX(2px);
}