select{
	border:0px;
	border-bottom: 1px solid #58595b;
	width:100%;
	padding: 5px 0px 5px 0px;
	color:#58595b;
	-webkit-appearance:none;
}

textarea:focus, input:focus, select:focus{
    outline: none;
}

select:focus{
	border-color:#f2cb13!important
}
.input-wrapper input[type='text'],
.input-wrapper input[type='email'],
.input-wrapper input[type='password'],
.input-wrapper textarea
{
	font-size:16px;
	color:#424242;
	background:transparent;
}

textarea.redactorjs {	
	/*display: none !important;*/
}

.input-wrapper input[type="text"][data-autocomplete-class]:focus,
.input-wrapper input[type="text"][data-autocomplete-class].is-filled {
	padding-left:30px;	
}


input[type="text"][data-autocomplete-class] ~ div.autocomplete-icon {
	display:none;
}


input[type="text"][data-autocomplete-class]:focus ~ div.autocomplete-icon,
input[type="text"][data-autocomplete-class].is-filled ~ div.autocomplete-icon {
	display:block
}

input[type="text"][data-autocomplete-class].is-filled  ~ .autocomplete-icon{
	color: #5264ae;
}

.input-wrapper label.input > .remaining-chars {
	float:right;
	display:none;
}

.input-wrapper label.input > .remaining-chars > span.red {
	color:#C44345;
}

.input-wrapper label.input > .remaining-chars > span.orange {
	color:#E88127;
}

.autocomplete-icon{
   	display: inline-block;
	color: #424242;
	position:absolute;
	top:10px;
	left:5px;
	z-index:5;
}
.autocomplete-icon > i {
	font-family: FontAwesome;
	font-size:18px;
}



/* form starting stylings ------------------------------- */
.input-wrapper { 
  	position:relative; 
  	margin-bottom:20px; 
}

.input-wrapper .select-options-border {
	position:relative;
}

.input-wrapper .select-options-border .option .input {
	width:100%;
	float:left;	

}

.input-wrapper .select-options-border .option {
	border:solid 1px #CFCFCF;
	margin-bottom:10px;
	position:relative;
}

.input-wrapper .select-options-border .option.new input {
	background-color:#FFFFFF !important;	
}

.input-wrapper .select-options-border .option .input input {
	padding:10px 30px 10px 35px;
	color:#606060	;
	font-family: "Questrial",sans-serif;
	font-size:16px;
	border:none;
	width:100%;
	background:none;
}
.input-wrapper .select-options-border .option .input input:focus,
.input-wrapper .select-options-border .option:hover .input input{
	background-color:#fff;	
}
	
	

.input-wrapper .select-options-border .option .drag-area {
	float:right;
	max-width:10%;
	position:absolute;
	left:10px;
	top:10px;
}

.input-wrapper .select-options-border .option .drag-area:hover,
.input-wrapper .select-options-border .option .delete-area:hover {
	cursor:pointer;	
}

.input-wrapper .select-options-border .option .drag-area i {
	color:#C1C1C1;
	font-size:17px;
}

.input-wrapper .select-options-border .option .delete-area {
	float:right;
	max-width:10%;
	position:absolute;
	right:10px;
	top:10px;
	opacity:0;
	transition:0.2s ease all; 
  	-moz-transition:0.2s ease all; 
  	-webkit-transition:0.2s ease all;
}

.input-wrapper .select-options-border .option:hover .delete-area {
	opacity:1;	
}

.input-wrapper .select-options-border .option .delete-area i {
	color:#C1C1C1;
	font-size:17px;
}

.input-wrapper .select-options-border .option:hover .delete-area:hover > i{
		color:#777777;
}

.input-wrapper > textarea.options {
	min-height:40px;	
}
.input-wrapper.text {
	margin-bottom:0;	
}

.input-wrapper.float-left {
	float:left;	
	clear:none;
}

.input-wrapper.padding-right {
	padding-right:15px;	

}

.input-wrapper.padding-right span.help {
	right:10px;
}

.input-wrapper input[type='text'][disabled] {
	background-color:#F8F8F8;	
	color:#808080 !important;
	cursor:not-allowed;
}

.input-wrapper input[type='text'],
.input-wrapper input[type='email'],
.input-wrapper input[type='password'],
.input-wrapper textarea {
  padding:10px 25px 10px 0px;
  display:block;
  width:100%;
  border:none;
  border-bottom:1px solid #CBCBCB;
  font-family: "Questrial",sans-serif;
}

.input-wrapper input:focus { outline:none; }

/* LABEL ======================================= */
.input-wrapper label.input{
 	color:#BFBFBF; 
  	font-size:16px;
  	font-weight:normal;
  	position:absolute;
 	pointer-events: none;
  	left:0px;
  	top:10px;
  	transition:0.2s ease all; 
  	-moz-transition:0.2s ease all; 
  	-webkit-transition:0.2s ease all;
}

.input-wrapper .select .test {
	width:100%;
	overflow:hidden;
}
.input-wrapper .select select {
	width:130%;
	border:none;
	border-bottom:1px solid #58595b;
	padding:10px 25px 10px 5px;
	color:#999; 
  	font-size:16px;
 	font-weight:normal;
}

.input-wrapper select option {
	width:150%;	
}


.autocomplete {
	width:100%;
	position:absolute;
	z-index:50;
	background-color:#fff;
	-webkit-box-shadow: 0px 0px 7px 0px rgba(50, 50, 50, 0.52);
	-moz-box-shadow:    0px 0px 7px 0px rgba(50, 50, 50, 0.52);
	box-shadow:         0px 0px 7px 0px rgba(50, 50, 50, 0.52);
	transition:0.2s ease all; 
  	-moz-transition:0.2s ease all; 
  	-webkit-transition:0.2s ease all;
}


.autocomplete .option{
	padding:3px 15px 10px 15px;
}

.autocomplete .option[data-disabled='1'] {
	background-color:#EBEBEB;
	color:#989898;
}

.autocomplete .option[data-disabled='1']:hover {
	cursor:not-allowed !important;
}

.option:hover {
	cursor:pointer;
	background-color: #e1f3ff;
}

.autocomplete .option .title {
	font-size:18px;	
	line-height:35px;
	white-space: nowrap;
  	overflow: hidden;
  	text-overflow: ellipsis;
  	width:100%;
}


.autocomplete .option .subtitle {
	font-size:12px;
}

/* active state */
.input-wrapper input[type='text']:focus ~ label,
.input-wrapper input[type='text'].is-filled ~ label,
.input-wrapper input[type='password']:focus ~ label,
.input-wrapper input[type='password'].is-filled ~ label,
.input-wrapper textarea:focus ~ label, 
.input-wrapper textarea.is-filled ~ label{
  top:-20px;
  font-size:12px;
  color:#F2CB13;
  width:100%;
}

/*
.input-wrapper input[type='text']:focus ~ label.input > .remaining-chars,
.input-wrapper input[type='text'].is-filled ~ label.input > .remaining-chars {
	display:block;	
}*/

.input-wrapper input[type='text']:focus ~ label.input > .remaining-chars,
.input-wrapper textarea:focus ~ label.input > .remaining-chars {
	display:block;	
}

.input-wrapper input[type='text']:focus, input[type='text'].is-empty:required  {
	border:none;
}
	
	
.input-wrapper input[type='text']:invalid ~ .bar:before,.input-wrapper input[type='text']:invalid ~ .bar:after ,
.input-wrapper input[type='text'].is-empty:required ~ .bar:before, .input-wrapper input[type='text'].is-empty:required  ~ .bar:after {
	background-color:#FF3F42;
}


.input-wrapper input[type='text'].is-empty:required ~ .bar{
	background: #FF3F42;
	height:2px;
}	


/* BOTTOM BARS ================================= */
.input-wrapper .bar 	{ position:relative; display:block; width:100%; }

.input-wrapper span.help {
	position:absolute;
	right:0;
	top:15px;
	display:block;
	width:20px;
	text-align:center;
	height:20px;
}

span.tooltip:after {
	content: " \f128";	
	color:#8E8E8E;
	font-family: FontAwesome;
	line-height:20px;
}

span.help:after {
	content: " \f128";	
	color:#8E8E8E;
	font-family: FontAwesome;

	line-height:20px;
	
}

span.help:hover:after{
	cursor:pointer;
	color:#28AAD9;
}

.input-wrapper .bar:before, .bar:after 	{
  content:'';
  height:2px; 
  width:0;
  bottom:-1px; 
  position:absolute;
  background:#CBCBCB; 
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.input-wrapper .bar:before {
  left:50%;
}
.input-wrapper .bar:after {
  right:50%; 
}

/* active state */
.input-wrapper input[type='text']:focus ~ .bar:before, .input-wrapper input[type='text']:focus ~ .bar:after {
  width:50%;
}




/* HIGHLIGHTER ================================== */
.input-wrapper .highlight {
  position:absolute;
  height:60%; 
  width:100px; 
  top:25%; 
  left:0;
  pointer-events:none;
  opacity:0.5;
}

/* active state */
.input-wrapper input[type='text']:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}


/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
	from { background:#f2cb13; }
  	to 	{ width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
	from { background:#f2cb13; }
  	to 	{ width:0; background:transparent; }
}
@keyframes inputHighlighter {
	from { background:#f2cb13; }
  	to 	{ width:0; background:transparent; }
}



 /* TOGGLE */
 
.input-wrapper .paper-toggle{
  clear: both;
  margin: 20px 0;
  font-size:14px;
  color:#474747
}
.input-wrapper .paper-toggle input:empty
{
	margin-left: -99999px;
}

.input-wrapper .paper-toggle input:empty ~ label
{
	position: relative;
	float: left;
	line-height: 1.6em;
	width: 100%;
	cursor: pointer;
  	-webkit-user-select: none;
  	-moz-user-select: none;
  	-ms-user-select: none;
  	user-select: none;
}


.input-wrapper .paper-toggle input:empty ~ label:before, 
.input-wrapper .paper-toggle input:empty ~ label:after
{
  position: absolute;
	display: block;
	/*margin-left:150px;*/
  content: ' ';
  -webkit-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}

.input-wrapper .paper-toggle input:empty ~ label:before
{
    top: 8px;
    right:0;
    width: 50px;
    height: 5px;
    background-color: #5a5a5a;
}

.input-wrapper .paper-toggle input.switch:empty ~ label:after
{
    top: 0px;
    right: 10%;
    width: 1.4em;
    height: 8px;
    bottom: 0.1em;
    margin-left: 0.1em;
    background-color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: solid 2px;
    border-color: #5a5a5a;
	/*margin-left:150px;*/
	float:right;
}

.input-wrapper .paper-toggle input.switch:empty ~ label::after {
	right: 6%;
}


#edit-screen .edit-padding .input-wrapper .paper-toggle input.switch:empty ~ label::after,
#edit-screen .edit #settings.show .input-wrapper .paper-toggle input.switch:empty ~ label::after {
	right: 6%;
}
/*
.input-wrapper .paper-toggle input.switch:empty ~ label:after
{
	right: 5%;
}*/

.explanation-permissions .middle-screen .input-wrapper .paper-toggle input.switch:empty ~ label:after
{
	right:5%;
}



.input-wrapper .paper-toggle input:checked ~ label:before
{
	background-color: #0f9d58;
}

.input-wrapper .paper-toggle input:checked ~ label:after
{
	right: 0 !important;
  	background-color: #0f9d58 !important;
  	border-color: #0f9d58 !important;
}

.input-wrapper .paper-toggle input.switch:empty ~ span.deny,
.input-wrapper .paper-toggle input.switch:empty ~ span.allow {
	display:none;	
	padding-left:5px;
	font-size:12px;
}

.input-wrapper .paper-toggle input.switch:empty ~ span.deny {
	color:#C04C4E;
}

.input-wrapper .paper-toggle input.switch:empty ~ span.deny.active {
	display:block;	
}

.input-wrapper .paper-toggle input.switch:empty ~ span.allow {
	color:#537A4A;
}

.input-wrapper .paper-toggle input.switch:empty ~ span.allow.active {
	display:block;
}



.input-wrapper.multi-language {
	
}

.input-wrapper.multi-language .multi-input-wrap{
	display: none;
}

.input-wrapper.multi-language .multi-input-wrap.active {
	display: block;
}

.input-wrapper.multi-language.multiple-languages input {
	padding-right: 45px;
}

.input-wrapper.multi-language .multi-input-wrap ~ .language-option:not(.active):before,
.tabs .tab .language-option:not(.active):before {
	content: '';
	position: absolute;
	bottom: 0px;
	top: 7px;
	bottom: 7px;
	border-right: 1px solid #E4E4E4;
	left:4px;
}

.input-wrapper.multi-language .multi-input-wrap ~ .language-option,
.tabs .tab .language-option{
	width: 40px;
	height: 35px;
	position: absolute;
	right: 0;
	text-align: center;
	top:3px;
	cursor: pointer;
	border-radius: 5px;
	padding-left: 4px;
}

.tabs .tab .language-option {
	top: 6px;
	right: 6px;
	z-index: 9;
}

.input-wrapper.multi-language .multi-input-wrap ~ .language-option.hide,
.tabs .tab .language-option.hide{
	display: none;
}

.input-wrapper.multi-language .multi-input-wrap ~ .language-option > .lang-option,
.tabs .tab .language-option > .lang-option{
	text-align: center;
	height: 35px;
	padding: 5px;
	display: none;
	line-height: 25px;
	
}

.input-wrapper.multi-language .multi-input-wrap ~ .language-option.active > .lang-option,
.tabs .tab .language-option.active > .lang-option{
	display: block;
	background-color: #F3F3F3;
	border-left: solid 1px #ccc;
	border-right: solid 1px #ccc;
}

.input-wrapper.multi-language .multi-input-wrap ~ .language-option.active > .lang-option:first-child,
.tabs .tab .language-option.active > .lang-option:first-child{
	border-radius: 3px 3px 0 0;
	border-top: solid 1px #ccc;
}

.input-wrapper.multi-language .multi-input-wrap ~ .language-option.active > .lang-option:last-child,
.tabs .tab .language-option.active > .lang-option:last-child{
	border-radius:  0 0 3px 3px;
	border-bottom: solid 1px #ccc;
}

.input-wrapper.multi-language .multi-input-wrap ~ .language-option.active > .lang-option:hover,
.tabs .tab .language-option.active > .lang-option:hover{
	background-color: #E7E7E7;
}


.input-wrapper.multi-language .multi-input-wrap ~ .language-option > .lang-option.active,
.tabs .tab .language-option > .lang-option.active{
	display: block;
	border-radius: 3px;
}


.input-wrapper.multi-language .multi-input-wrap ~ .language-option > .lang-option:last-child,
.tabs .tab .language-option > .lang-option:last-child{
	border-radius: 0 0 5px 5px;
}




/* Remove default checkbox */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked,
[type="radio"]:not(:checked),
[type="radio"]:checked{
  position: absolute;
  left: -9999px;
  visibility: hidden;
}
[type="checkbox"],
[type="radio"]{
  /* checkbox aspect */
}
[type="checkbox"] + label,
[type="radio"] + label{
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  display: inline-block;
  line-height: 25px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -ms-user-select: none;
}
[type="checkbox"] + label:before,
[type="radio"] + label:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  z-index: 0;
  border: 2px solid #ced0cf;
  border-radius: 1px;
  margin-top: 2px;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  -ms-transition: 0.2s;
  transition: 0.2s;
	background-color: #fff;
}

[type="radio"] + label:before{
	border-radius:50%
}

[type="checkbox"]:not(:checked):disabled + label:before,
[type="radio"]:not(:checked):disabled + label:before {
  border: none;
  background-color: rgba(0, 0, 0, 0.26);
}
[type="checkbox"]:checked + label:before,
[type="radio"]:checked + label:before{
  top: -4px;
  left: -3px;
  width: 12px;
  height: 22px;
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid #58595b;
  border-bottom: 1px solid #58595b;
  -webkit-transform: rotate(40deg);
  -moz-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  -o-transform: rotate(40deg);
  transform: rotate(40deg);
  -webkit-backface-visibility: hidden;
  -webkit-transform-origin: 100% 100%;
  -moz-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  -o-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
	background-color: transparent;
}
[type="radio"]:checked + label:before{
	border-radius: 0px;
}


