.main .item {
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid #ddd;
    margin: 0;
    background: rgba(255,255,255,0.5);
}	
.main .item-floating-label {
    display: block;
    background-color: transparent;
    box-shadow: none;
}
.main .item-input {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6px 0 5px 16px;
}
.main .item, .item h1, .item h2, .item h3, .item h4, .item h5, .item h6, .item p, .item-content, .item-content h1, .item-content h2, .item-content h3, .item-content h4, .item-content h5, .item-content h6, .item-content p {
    overflow: hidden;
    text-overflow: ellipsis;
    //white-space: nowrap;
}

.main .item {
    border-color: #ddd;
    background-color: #fff;
    color: #444;
    position: relative;
    z-index: 2;
    display: block;
    //margin: -1px 0 -1px 0;
    padding: 16px;
    //border-width: 1px;
    //border-style: solid;
    font-size: 16px;
}








.main label, .main input, .main button, .main select, .main textarea {
    font-weight: normal;
    font-size: 14px;
    line-height: 1.42857;
}

.main .input-label {
    display: table;
    padding: 0;
    max-width: 200px;
    width: 45%;
    font-size: 16px;
	color: #47a025;
	position: relative;
}




.main .item.sms input[type=number]{max-width: 35%; width: 35%;}
.main .item.sms a.input-label {
	transition: all 0.3s ease-out 0s;
	border: 1px solid #47a025;
    background: #47a025;
    color: #fff;
    line-height: 35px;
	width:63%;
	max-width: 63%;
    padding: 0 10px;
	border-radius:4px;
	text-align:center;
}
.main .item.sms a.input-label:hover{
	background: #fff;
    color: #000;
}


.main .item-input input, .main .item-input textarea {
    width: 100%;
}

.main .item-input input {
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-box-flex: 1;
    -webkit-flex: 1 220px;
    -moz-box-flex: 1;
    -moz-flex: 1 220px;
    -ms-flex: 1 220px;
    flex: 1 220px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    padding-right: 24px;
    background-color: transparent;
}













.main input[disabled] {
    background: none;
}
.main input[disabled], select[disabled], textarea[disabled], input[readonly]:not(.cloned-text-input), textarea[readonly]:not(.cloned-text-input), select[readonly] {
    background-color: #f8f8f8;
    cursor: not-allowed;
}

.main textarea, .main input[type="text"], .main input[type="password"], .main input[type="number"], .main input[type="email"], .main input[type="tel"] {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 0;
    padding: 0 32px 0 10px;
    max-width: 55%;
    border: 1px solid #47a025;
    background: #fff;
    color: #333;
    text-indent: .01px;
    text-overflow: '';
    white-space: nowrap;
    font-size: 18px;
    cursor: pointer;
}

.main .item.adress {padding:16px 0 16px 16px;}

.main .adress input[type="text"]{
	position: relative;
	padding-top:5px;
	width:100%;
	min-width:100%;
}

.main input[type="tel1"] {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 0 32px 0 0px;
    max-width: 170px;
    border: none;
    background: none;
    color: #333;
    text-indent: .01px;
    text-overflow: '';
    white-space: nowrap;
    font-size: 18px;
    cursor: pointer;
}
.main .item-input input {
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-box-flex: 1;
    -webkit-flex: 1 220px;
    -moz-box-flex: 1;
    -moz-flex: 1 220px;
    -ms-flex: 1 220px;
    flex: 1 220px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    padding-right: 24px;
    background-color: #fff;
}
.main label, .main input, .main button, .main select, .main textarea {
    font-weight: normal;
    font-size: 14px;
    line-height: 1.42857;
}
.main button, .main input {
    line-height: normal;
}
.main button, .main input, .main select, .main textarea {
    margin: 0;
    font-size: 100%;
    font-family: inherit;
    outline-offset: 0;
    outline-style: none;
    outline-width: 0;
    -webkit-font-smoothing: inherit;
    background-image: none;
}
.main *, .main *:before, .main *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.main input[type="date"] {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 150px;
    padding: 0;
    border: none;
    color: #333;
    white-space: nowrap;
    font-size: 14px;
    cursor: pointer;
    background: none;
    font-size: 18px;
    height: 57px;
    line-height: 57px;
    margin: 0;
	text-align: right;
}






.main .item-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 0 32px 0 0px;
    max-width: 65%;
    border: none;
    background: none;
    color: #333;
    text-indent: .01px;
    text-overflow: '';
    white-space: nowrap;
    font-size: 18px;
    cursor: pointer;
    direction: rtl;
}
.main .item-select:after {
    position: absolute;
    top: 50%;
    right: 16px;
    margin-top: -3px;
    width: 0;
    height: 0;
    border-top: 5px solid;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    color: #999;
    content: "";
    pointer-events: none;
}











.main .big .input-label {white-space:normal; width:65%; max-width:none;}
.main .big1 .input-label {white-space:normal; width: 50%; max-width:50%; max-width:none;}
.main .big1 select {white-space:normal; width: 50%; max-width:50%; max-width:none; //position:relative;}

.main .big2 .input-label {white-space:normal; width: 40%; max-width:40%; max-width:none;}
.main .big2 select {white-space:normal; width: 60%; max-width:60%; max-width:none; //position:relative;}

.main .big3 .input-label {white-space:normal; width: 40%; max-width:40%; max-width:none;}
.main .big3 select {white-space:normal; width: 60%; max-width:60%; max-width:none; //position:relative;}

.main .vbig .input-label {white-space:normal; width:100%; max-width:none;}
.main .vbig .item-content {white-space: normal;}








.main .link {text-decoration:underline; color:#0000FF; border-bottom:none; text-align:center; padding:15px 0; display:block;}







.main .button {
    border-color: transparent;
    background-color: #f8f8f8;
    color: #444;
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 12px;
    min-width: 52px;
    min-height: 47px;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    vertical-align: top;
    text-align: center;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 42px;
    cursor: pointer;
}
.main .button.button-positive {
    border-color: transparent;
    background-color: #387ef5;
    color: #fff;
}
.main .button.button-positive {
    background: #47a025;
    margin: 5px 0;
}
.main .button.button-dark {
    background: none;
    margin: 5px 0;
	border: 1px solid #000;
}
.main .button.button-block, .main .button.button-full {
    margin-top: 10px;
    margin-bottom: 10px;
}
.main button.button-block, .main button.button-full, .main .button-full > button.button, .main input.button.button-block {
    width: 100%;
}
.main [material] {
    position: relative;
    overflow: hidden;
}
.main .button {
    text-transform: uppercase;
    min-height: 37px;
    line-height: 37px;
}
.main .button-block {
    display: block;
    clear: both;
}

.main .check  label{
	line-height: 16px;
	vertical-align: middle;
	font-size: 16px;
	white-space: normal;
	display: block;
    width: 100%;
    padding: 5px 0;
}
.main .check input[type="checkbox"]{
	line-height: 16px;
	vertical-align: middle;
	font-size: 16px;
}

.main .if {display:none;}

.main #output_messages_edit, #output_password_reset, #output_settings {display:none; padding:10px; margin:15px 0; font-size:16px; background:#fffba7; border:1px dotted #fe7700;}

.infoblock{display:block; padding:10px; font-size:16px; background:#fffba7; border:1px dotted #fe7700; margin:15px 40px;}





.output_messages{display:none; background:none; padding:0; margin:0; border:none; font-size:14px; color:#000;}
.output_messages.wait{display:block; background:#ffd94f; padding:16px; margin:0; border:1px dashed #fe7700; text-align:center;}
.output_messages.error{display:block; background:#ff7d7d; padding:16px; margin:0; border:1px dashed #ff0000; text-align:center;}