/**
* @Author: Dmytro Mykhailov <dmitriymikhaylov>
* @Date:   2016-10-28T17:21:47+03:00
* @Email:  belindream@gmail.com
* @Project: Lumand
* @Last modified by:   dmitriymikhaylov
* @Last modified time: 2016-11-04T18:29:19+02:00
* @License: MIT
*/
*{
  margin: 0;
  padding: 0;
}
body{
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}
.turquoise{
  color:#4cd3b6 !important;
}
.cyan{
  color:#293038;
}
input{
  outline: none;
}
main{
	margin-bottom: 0;
}
footer{
	background: #FFF;
	width: 100%;
	bottom: 0;
	position: fixed;
}
/*LIST*/
#list .mui-appbar h3{
	font-size: 18px;
}
#list .mui-container{
	padding: 0;
	width: 100%;
}
#list .input-wrapper{
	width: 100%;
}
#list main{
	margin-bottom: 0;
}
.property a{
	display: block;
	color: #000;
	padding: 10px 20px;
}
.property a img{
	width: 42px;
    height: 42px;
    float: left;
    border-radius: 100%;
    margin-right: 20px;
}
/*END LIST*/
#main-info, #wizard, #wizard > *{
  display: none;
}
#wizard main.mui-container{
	width: 401px;
	padding: 0;
}
#main-info footer{
	position: fixed;
	bottom: 0;
}
body.main-info #main-info{
  display: block;
}
body.wizard #wizard{
  display: block;
}
body.wizard.application-info #wizard,
body.wizard.application-info #wizard > .application-info
{
  display: block;
}
body.wizard.contact-info #wizard,
body.wizard.contact-info #wizard > .contact-info
{
  display: block;
}
body.wizard.files #wizard,
body.wizard.files #wizard > .files
{
  display: block;
}
body.wizard.pay-page #wizard,
body.wizard.pay-page #wizard > .pay-page
{
  display: block;
}
textarea{
	min-height: 20px !important;
	min-height: 32px !important;
	resize: none;
	overflow: hidden;
	padding-top: 5px !important;
}
span.error-message, span.empty-message{
	color:  #F44336;
	display: block;
	margin-top: 3px;
	display: none;
	font-size: 12px;
}
/* Required Error message */
.mui-textfield>input.req-err~.empty-message, .mui-textfield>textarea.req-err~.empty-message{
	display: block;
}
.mui-textfield>input.req-err, .mui-textfield>textarea.req-err{
	border-color: #F44336;
    border-width: 2px;
}
.mui-textfield>input.req-err~label, .mui-textfield>textarea.req-err~label{
	color: #F44336;
}
/* Data Error message */
.mui-textfield>input.error~.error-message, .mui-textfield>textarea.error~.error-message{
	display: block;
}
.mui-textfield>input.error, .mui-textfield>textarea.error{
	border-color: #F44336;
    border-width: 2px;
}
.mui-textfield>input.error~label, .mui-textfield>textarea.error~label{
	color: #F44336;
}
.files input {
	display: none;
}
.files .photo-preview{
	max-width: 300px;
	max-height: 100px;
	margin: 0 2px;
}
.files .img-holder{
	display: inline-block;
}
.files .img-holder .close-button{
	position: absolute;
	width: 20px;
	height: 20px;
	border: 1px solid #000;
	border-radius: 10px;
	margin-left: -15px;
	margin-top: -9px;
	background-color: #fff;
	text-align: center;
	color: #000;
	font-size: 16px;
	line-height: 15px;
	vertical-align: middle;
	cursor: pointer;
}
.files .img-holder .close-button:hover{
	text-decoration: none;
}
body.wizard.employment-info #wizard,
body.wizard.employment-info #wizard > .employment-info
{
  display: block;
}
body.wizard.rental-history #wizard,
body.wizard.rental-history #wizard > .rental-history
{
  display: block;
}
body.wizard.additional-info #wizard,
body.wizard.additional-info #wizard > .additional-info
{
  display: block;
}
body.wizard.result #wizard,
body.wizard.result #wizard > .result
{
  display: block;
}
body.wizard.submited #wizard,
body.wizard.submited #wizard > .submited
{
  display: block;
}
body{
  width: 100vw;
  overflow-x: hidden;
}
.mui-container{
  width: 600px;
}
#main-info .mui-appbar{
  padding-top: 5px;
}
#main-info .mui-appbar h1{
  font-size: 20px;
  line-height: normal;
}
#main-info p{
  margin: 0;
}
#main-info .shortDesc{
  padding: 5px 0;
}
#main-info .content p{
 text-align: left;
}
#main-info .apply-button-holder .apply-button{
  margin-top: 0;
  margin-bottom: 10px;
}
/* Age Range Slider*/
/* Special styling for WebKit/Blink */
input[type=range]::-webkit-slider-thumb{
 -webkit-appearance: none;
 border: none;
 height: 25px !important;
 width: 25px !important;
 border-radius: 3px;
 background: #3fd0b1;
 cursor: pointer;
 margin-top: -14px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
 box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; /* Add cool effects to your sliders! */
}
/* All the same stuff for Firefox */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  margin: 8.3px 0;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  box-shadow: inset 0px 1px 1px 0px rgba(1, 1, 1, 0.2);
  background: #3bb099;
  border-radius: 2px;
  border:none;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2),0px 1px 0px 0px rgba(0, 0, 0, 0.2);
  border: 0px solid rgba(0, 0, 0, 0);
  height: 25px;
  width: 25px;
  border-radius: 100px;
  background: #3fd0b1;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8.5px;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  box-shadow: inset 0px 1px 1px 0px rgba(1, 1, 1, 0.2);
  background: #3bb099;
  border-radius: 2px;
  border:none;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2),0px 1px 0px 0px rgba(0, 0, 0, 0.2);
  border: 0px solid rgba(0, 0, 0, 0);
  height: 25px;
  width: 25px;
  border-radius: 100px;
  background: #3fd0b1;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #15314a;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]::-ms-fill-upper {
  background: #3071a9;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]::-ms-thumb {
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2),0px 1px 0px 0px rgba(0, 0, 0, 0.2);
  border: 0px solid rgba(0, 0, 0, 0);
  height: 25px;
  width: 25px;
  border-radius: 100px;
  background: #3fd0b1;
  cursor: pointer;
  height: 8.4px;
}
input[type=range]:focus::-ms-fill-lower {
  background: #3071a9;
}
input[type=range]:focus::-ms-fill-upper {
  background: #7aadd9;
}
/*End Age Range Slider*/
/*Customized checkboxes*/

/* Это для всех браузеров, кроме совсем старых, которые не поддерживают
селекторы с плюсом. Показываем, что label кликабелен. */
.checkbox + label {
  cursor: pointer;
  width: 100%;
}

/* Далее идет оформление чекбокса в современных браузерах, а также IE9 и выше.
Благодаря тому, что старые браузеры не поддерживают селекторы :not и :checked,
в них все нижеследующие стили не сработают. */

/* Прячем оригинальный чекбокс. */
.checkbox:not(checked) {
  position: relative;;
  opacity: 0;
}
.checkbox:not(checked) + label {
  position: relative; /* будем позиционировать псевдочекбокс относительно label */
  padding: 0 0 0 0px; /* оставляем слева от label место под псевдочекбокс */
}
/* Оформление первой части чекбокса в выключенном состоянии (фон). */
.checkbox:not(checked) + label:before {
  content: 'NO';
  text-align: right;
  font-size: 11px;
  color: #fefeff;
  padding: 6px;
  position: absolute;
  top: -4px;
  right: 0;
  width: 55px;
  height: 26px;
  border-radius: 13px;
  background: #68717b;
  box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
}
/* Оформление второй части чекбокса в выключенном состоянии (переключатель). */
.checkbox:not(checked) + label:after {
  content: '';
  position: absolute;
  top: -2px;
  right: 31px;
  width: 22px;
  height: 22px;
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
  transition: all .2s; /* анимация, чтобы чекбокс переключался плавно */
}
/* Меняем фон чекбокса, когда он включен. */
.checkbox:checked + label:before {
  content: "YES";
  text-align: left;
  font-size: 11px;
  color: #fefeff;
  padding: 6px;
  background: #3fcfb0;
}
/* Сдвигаем переключатель чекбокса, когда он включен. */
.checkbox:checked + label:after {
  right: 2px;
}
/* Показываем получение фокуса. */


/*End Customized checkboxes*/
#main-info, #wizard > *{
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  width: 100%;
}
main {
  padding-bottom: 90px;
}
.mui-appbar{
  background: #3fd0b1;
  padding: 15px 0;
  border-bottom: 2px solid #3bb099;
  min-height: 0 !important;
}
.mui-appbar.header .mui-container{
  max-width: 100% !important;
  width: 100%;
  margin: 0;
}
.mui-dropdown{
  text-align: center;;
  width: 100%;
}
.mui-dropdown button{
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: none;
    color: #000;
    text-align: left;
    padding: 0;
    color: rgba(0,0,0,.87);
    font-size: 16px;
    border-bottom: 1px solid rgba(0,0,0,.26);
    padding: 0 15px;
  }
.mui-dropdown button:focus, .mui-dropdown button:hover{
  background: none;
  box-shadow: none;
  color: rgba(0,0,0,.87);
}
.mui-dropdown button .mui-caret{
  display: block;
  position: relative;
  top: 15px;
}
.mui-dropdown__menu.mui--is-open{
  display: block;
  width: 100%;
  text-align: center;
}
.mui-appbar h1{
  margin: 0;
  text-align: center;
}
.mui-appbar h3{
  margin: 0;
  text-align: center;
  font-size: 18px;
}
.mui-appbar i{
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.302);
  position: absolute;
  display: block;
  position: relative;
  float: left;
  font-size: 28px;
  color: #FFF;
}

.mui-appbar p{
  font-size: 12px;
  text-align: center;
  margin: 0;
}

.photo-holder{
  width: 100%;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.photo-holder .photo{
  width: auto;
  height: 60vh;
  display: block;
  margin: 0 auto;
}

.status{
  background: #f5f7f6;
  text-align: center;
  font-size: 18px;
  color:#37ba9b;
  padding: 15px 0;
}
.shortDesc {
  background: #f5f7f6;
  padding: 20px 0;

}
.shortDesc .mui-container{
  display: flex;
  justify-content: space-between;
  padding: 0;
}
.shortDesc .desc-item{
  border-right: 1px solid rgba(41, 48, 56, 0.102);
  padding: 0 15px;
  text-align: center;
  display: flex;
}
.shortDesc .desc-item img{
  display: block;
  float: left;
  margin-right: 10px;
  margin-top: 10px;
  width:27px;
  height: 23px;
}
.shortDesc .desc-item .info{
  font-size: 18px;
  color:#293038;
  font-weight: bold;
}
.shortDesc .desc-item span{
  font-size: 12px;
  color: rgba(41, 48, 56, 0.6);
}


.content{
  padding: 0 15px;
  margin-top: 15px;
}
.content p{
  text-align: center;
}
.content ul{
  list-style: none;
}

.apply-button-holder, .nav-btn{
  text-align: center;
}
.apply-button-holder .apply-button, .nav-btn button{
  background: #3cd2ad;
  border-radius: 18px;
  font-size: 16px;
  text-transform: capitalize;
}
.mui-panel{
    margin-top: 20px;
}

.application-info .primary-resident h4{
  margin: 15px 0;
}
.application-info .textfield-wrapper{
  margin-top: 10px;
}
.application-info .textfield-wrapper>input{
  width: 100%;
  outline: none;
  padding: 10px 15px;
  font-size: 14px;
  color:#000;
  border: none;
  border-radius: 18px;
  background-color: rgba(41, 48, 56, 0.051);
  box-shadow: inset 0px 1px 1px 0px rgba(1, 1, 1, 0.2);
}
.application-info .textfield-wrapper>input::-webkit-input-placeholder, .application-info .textfield-wrapper>input:-ms-input-placeholder {
  color: #83888d;
}
.input-wrapper>input::-webkit-input-placeholder {color: #83888d;}
.input-wrapper>input::-moz-placeholder          {color: #83888d;}
.input-wrapper>input:-moz-placeholder           {color: #83888d;}
.input-wrapper>input:-ms-input-placeholder      {color: #83888d;}

.application-info .mui-select label{
  position: relative;
  font-size: 16px;
  color:#293038;
}
.application-info .age-wrapper>label{
    font-size: 16px;
    color:#293038;
}
.application-info .age-wrapper input[type=number]{
  font-size: 18px;
  color: #293038;
  font-weight: bold;
  border: none;
  outline: none;
  text-align: right;
  background: inherit;
}
.input-wrapper, .output-values{
  margin: 5px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.input-wrapper, .input-wrapper-checkbox {
	margin: auto;
	width: 401px;
	max-width: 100%;
	justify-content: initial !important;
}
.mui-textfield{
	width: 401px;
	margin: 10px auto;
}
.input-wrapper input[type=range]{
  width: 100%;
  margin-top: 15px;
}
.additionalResidents{
  background: #f4f4f5;
}
.additionalResidents legend{
  font-size: 16px;
}
.additionalResidents .additional .mui-textfield{
	width:100%;
}
.addOcupant-holder{
  text-align: center;
  border-top:1px solid rgba(41, 48, 56, 0.051);
  border-bottom:1px solid rgba(41, 48, 56, 0.051);
  margin-top: 20px;
}
.addOcupant-holder button{
  width: 100%;
  padding: 20px 25px;
  border: none;
  background: #f4f4f5;
  font-size: 16px;
  color: #293038;
  cursor: pointer;
}
.addOcupant-holder button .material-icons{
  float: right;
  font-size: 15px;
  color: #FFF;
  background: #3fd0b1;
  border-radius: 100%;
  padding: 7px;
  position: relative;
  top:-2px;
}
.resident-name {
  background: url(../images/user.png) top right no-repeat #293038;
  background-size: contain;
  padding-top: 10px;
  padding-bottom: 10px;
}
.resident-name p{
  font-size: 14px;
  color:#FFF;
  padding-left: 15px;
}
.resident-name hr{
  background: #FFF;
}
.input-wrapper.valid, .textarea-wrapper.valid{
  border-bottom: 1px solid #4CAF50 !important;
}
.input-wrapper.valid label, .textarea-wrapper.valid label{
  color: #4CAF50 !important;
}
.input-wrapper.error, .textarea-wrapper.error{
  border-bottom: 1px solid #D43939 !important;
}
.input-wrapper.error label, .textarea-wrapper.error label{
  color: #D43939 !important;
}
.contact-info .input-wrapper,
.employment-info .input-wrapper,
.rental-history .input-wrapper,
.rental-history .mui-select,
.result .output-values,
.pay-page .input-wrapper,
.textarea-wrapper
{
  border-bottom: 1px solid rgba(41, 48, 56, 0.051);
  flex-wrap: nowrap;
}
.result .mui-container > .output-values:nth-last-child(2){
	border: none;
}
.contact-info .input-wrapper label, .employment-info .input-wrapper label, .rental-history .input-wrapper label, .rental-history .input-wrapper-checkbox label, .rental-history .mui-select label, .additional-info .input-wrapper label,
 .additional-info .input-wrapper-checkbox label, .result .output-values .label, .textarea-wrapper label{
  font-size: 14px;
  color:#68717b;
  padding: 10px 0;
  margin-right: 5px;
}
.textarea-wrapper{
	width: 401px;
	margin: 0 auto;
}
.textarea-wrapper label{
	margin: 0 auto;
	display: block;
}
.contact-info .input-wrapper input, .employment-info .input-wrapper input, .rental-history .input-wrapper input, .additional-info .input-wrapper textarea,
 .result .output-values .value, .rental-history .mui-select select, .textarea-wrapper textarea{
  font-size: 14px;
  color:#293038;
  border: none;
  text-align: right;
  padding: 10px 0;
  width: 100%;
  font-weight: bold;
}
.textarea-wrapper textarea{
	text-align: left !important;
}
.rental-history .mui-select {
  display: flex;
}
.rental-history .mui-select select{
  padding: 0;
}
.rental-history .mui-select__menu{
  top:50px !important;
}
.application-info .mui-select__menu{
	left: 0 !important;
}
.rental-history .mui-select label{
  position: relative;
}
.additional-info legend{
  font-size: 16px;
  color:#293038;
  font-weight: bold;
  padding: 15px 0;
  margin: 0;
  text-align: center;
}
 .additional-info .input-wrapper{
   flex-wrap: wrap;
 }
  .additional-info .input-wrapper label{
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
  }
  .additional-info .input-wrapper textarea{
    padding: 0;
    border-bottom: 1px solid rgba(41, 48, 56, 0.051);
  }
.input-wrapper-checkbox{
  display: flex;
  border-bottom: 1px solid rgba(41, 48, 56, 0.051);
  padding: 10px 0;
  flex-wrap: nowrap;
}
.input-wrapper-checkbox label{
  padding: 0 !important;
}
.input-wrapper-checkbox .checkbox{
  order:2;
}
#file-chooser-button{
	margin-bottom: 30px;
}
.result .greetings{
  background: #293038;
  font-size: 16px;
  color:#FFF;
  padding: 10px 15px;
  display: flex;
}
.result .greetings img{
  margin-right: 25px;
  width: 74px;
  height: 74px;
}
.result h4{
  color:#3fd0b1;
  font-size: 18px;
  margin: 30px 0;
}
.result .output-values{
  padding: 0 10px;
  white-space: nowrap;
}
.result .total{
  background: #f4f4f5;
  border: none;
  padding: 15px 10px;
  margin: 0;
  margin-top: -5px;
}
.result .total p{
  font-size: 18px !important;
  color:#000 !important;
  padding: 0 !important;
  margin: 0;
}
@media (max-width:600px){
  .photo-holder .photo{
    width: 100%;
    height: 100vw;
  }
  .mui-appbar h3{
    font-size: 4vw;
  }
  .mui-container{
    width: 100% !important;
	padding: 0 15px !important;
  }
  .mui-textfield{
	  width:100% !important;
  }
}
/*#main-info{display: none !important;}
#wizard { display: block}
#wizard .application-info{ display: none;}
#wizard .result{ display: flex;}*/

.hosted-field{
	height: 14px;
}
.card-img.no-type{
	display: none;
}
.card-img {
  position: absolute;
  width: 44px;
  height: 28px;
  margin-left: 523px;
  margin-top: -7px;
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/346994/card_sprite.png);
  background-size: 86px 458px;
  border-radius: 4px;
  background-position: -100px 0;
  background-repeat: no-repeat;
  margin-bottom: 1em;
}
.card-img.visa {
  background-position: 0 -398px;
}
.card-img.master-card {
  background-position: 0 -281px;
}
.card-img.american-express {
  background-position: 0 -370px;
}
.card-img.discover {
  background-position: 0 -163px;
}
.card-img.maestro {
  background-position: 0 -251px;
}
.card-img.jcb {
  background-position: 0 -221px;
}
.card-img.diners-club {
  background-position: 0 -133px;
}
#delete{
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background: #FFF;
}
#delete .main-list{
	margin-top: 18px;
}
#delete .main-list > li{
	display: block;
	margin-left: 11px;
	font-size: 16px;
	padding-top: 15px;
}
.firefox{
	height: 83px !important;
}
.samsung{
	height: 85px !important;
}
.bad-browser{
	width: 80%;
	margin: auto;
	margin-top: 20px
}
.header-error{
	margin-left: -15px;
	margin-top: -15px;
	width: calc(100% + 32px);
}
.top-error{
	margin-top: 0;
	margin-left: 15px;
}
.sub-error{
	text-align: left !important;
	margin-left: 15px !important;
}
.good-browsers-list{
	margin: auto;
	display: block;
	width: -moz-fit-content;
	width: -o-fit-content;
	width: -webkit-fit-content;
	width: fit-content;
	margin-bottom: 15px;
	margin-top: -5px;
}
.good-browsers-list a:hover{
	text-decoration: none;
}
.good-browsers-list li{
	display: inline;
}
.good-browsers-list img{
	height: 100px;
	display: inline-block;
}
