form {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0;
	box-sizing: border-box;
}

form fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	margin-left: -2.5em;
	box-sizing: border-box;
}

form h2 {
    margin-top: 100px;
    border-bottom: 0;
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 35px 0 30px;
}

form hr {
	border: 0;
	padding: 0;
	margin: 2em 0;
	clear: both;
}

.field-grid-container {
    display: inline-block;
    float: left;
}

.field-grid-container h3 {
	padding-left: 38px;
}

.field-grid-item {
	margin-bottom: 2.5em;
	padding-left: 2.5em;
	display: inline-block;
	box-sizing: border-box;
	width: 100%;
	float: left;
}

.field-grid-item .help {
	margin-top: 5px;
	margin-bottom: -10px;
	clear: both;
}

.field-content {
	box-sizing: border-box;
	position: relative;
}

.field-markdown textarea {
	padding-bottom: 40px;
}

.field-grid-item-1-2 {
	width: 50%;
}

.field-grid-item-1-3 {
	width: 33.3333333%;
}

.field-grid-item-1-4 {
	width: 25%;
}

.field-grid-item-3-1 {
	width: 66%;
}

.field-icon {
	position: absolute;
    top: 2px;
    bottom: 2px;
    width: 2.6em;
    background: #fff;
    right: 2px;
    border-left: 1px dashed #ededed;
}

.field-icon .icon {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -7px;
    color: #777;
    text-align: center;
}

.field-counter {
    position: absolute;
    top: 2px;
    bottom: 2px;
    width: auto;
    background: #fff;
    right: 2px;
    border-left: 1px dashed #ededed;
    line-height: 34px;
    padding: 0 15px;
    font-weight: 300;
    color: #777;
    text-align: center;
}



.field-buttons {
    position: absolute;
    bottom: 6px;
    left: 2px;
    right: 2px;
    border-top: 1px solid #efefef;
    background: #fff;
    line-height: 0;
    overflow-y: hidden;
}

.field-buttons li {
    display: inline-block;
    border-right: 1px solid #efefef;
    float: none!important;
    padding: 0;
}

.field-buttons .btn {
    padding: 12px 25px;
    display: block;
    line-height: 1em;
    width: 100%;
}

.field-buttons .btn i {
	font-size: 12px;
}

.field-buttons .nav-bar {
    display: table;
    margin: auto;
}

.field-with-headline {
    counter-increment: count;
    padding-top: 6em;
}







.field-with-headline h2 {
	padding-bottom: 10px;
	padding-left: 25px;
    border-bottom: 2px solid #ededed;
    font-size: 15px;
    font-weight: bold;
    position: relative;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: none;
}

.field-with-headline h2:before {
    position: absolute;
    content: counter(count,decimal-leading-zero);
    left: 0;
    color: #82bb28;
    font-weight: 400;
}



.btn {
    background: 0 0;
    border: 0;
    cursor: pointer;
    outline: 0;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
}




form .space {
    border: 0;
    margin: 40px 0 20px;
    padding: 0;
    float: left;
    display: block;
    width: 100%;
}

label {
    display: block;
    margin-top: 0;
    margin-bottom: 6px;
    vertical-align: top;
    width: 100%;
    font-weight: 500;
}

label[contenteditable=true] {
	outline: none;
	cursor: default;
}

input, .input, select, textarea {
    outline: 0;
}

input[type=text], input[type=password], input[type=submit], textarea, .input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	
	border: 2px solid #ededed;
    border-radius: 0;
    font-size: 15px;
    height: 38px;
    margin: 0;
    padding: 0.5em;
    width: 100%;
    box-sizing: border-box;
    min-height: 38px;
}


input[type="checkbox"] {
    width: auto;
    position: absolute;
    top: 11px;
    left: 12px;
    min-height: auto;
    margin: 0;
}

.input-with-checkbox {
    font-weight: 300;
    margin-top: 6px;
    position: relative;
    background-color: #FFF;
    height: auto;
}

.input-with-checkbox input {
	
}

.input-with-checkbox span {
    display: block;
    line-height: 1.5;
    left: 35px;
    top: 6px;
    padding-left: 30px;
    margin-bottom: -2px;
}

.input-with-radio {
    margin-top: 6px;
    font-weight: 300;
    position: relative;
    background-color: #FFF;
    height: auto;
    display: table;
}

.input-with-radio input {
    width: auto;
    position: absolute;
    top: 12px;
    left: 15px;
    min-height: auto;
    margin: 0;
}

.input-with-radio span {
    display: block;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    padding-left: 30px;
    margin-bottom: -2px;
}

input[type="text"]:disabled {
	background-color: #f4f4f4;
}

.field-with-icon input[type="text"] {
	padding-right: 3.5em;
}

.outer-select {
    cursor: pointer;
    display: inline-block;
    font-size: 10px;
    margin-top: 0;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

.outer-select select {
    cursor: pointer;
    display: block;
    float: none;
    left: 0;
    margin: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    top: 0;
    max-width: 100%;
    height: 100%;
	width: 100%;
	border: 0;
	z-index: 1;
}


.outer-select .inner-select {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 2px solid #ededed;
    border-radius: 0px;
    margin: 0;
    padding: .5em;
    text-align: left;
    text-shadow: none;
    font-size: 15px;
    font-weight: 300;
    height: 38px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.outer-select .select-text {
    background: rgba(0, 0, 0, 0);
    color: #000000;
    display: block;
    position: relative;
    top: 1px;
    white-space: nowrap;
	overflow: hidden;
	min-width: 1px;
    min-height: 5px;
}


textarea {
    border-radius: 0px;
    font-size: 15px;
    height: 200px;
    margin: 0;
    padding: 0.5em;
    width: 100%;
    box-sizing: border-box;
    line-height: 20px;
	resize: none;
}

textarea.monospace {
	font-family: "Source Code Pro", monospace;
	font-size: 14px;
}

textarea.autosize {
	height: 73px;
	padding-bottom: 0;
}

input:focus, select:focus, textarea:focus {
	border-color: #82BB28 !important;
	outline: 0;
}

input[type="submit"] {
    display: inline-block;
    width: auto;
    background-color: #82bb28;
    border: 1px solid #82bb28;
    color: #fff;
    text-decoration: none;
    margin: 3em 0 3em 1em;
    padding: 15px 35px;
    border-radius: 3px;
    font-weight: 300;
    font-size: 1em;
    line-height: 8px;
    transition: background .35s ease 0s, color .35s ease 0s;
    cursor: pointer;
}

input[type="submit"]:hover {
    color: #82bb28;
    background: transparent;
}

.checkboxes {
	margin-top: 10px;
}

.checkboxes .label {
    display: inline-block;
    float: left;
    margin-top: 5px;
    width: 150px;
}

.checkboxes .boxes {
	width: 400px;
	display: inline-block;
}

.headline-buttons {
	float: right;
	position: relative;
	height: 0;
	font-size: 14px;
}

.headline-buttons.headline-buttons-h2 {
	top: -62px;
}

.headline-buttons ul {
	list-style: none;
	border: 1px solid #ededed;
	border-radius: 3px;
	margin: 0;
	color: #ddd;
}

.headline-buttons ul:after {
	content: " ";
	clear: both;
	display: table;
}

.headline-buttons ul li {
	float: left;
	padding: 2px 15px;
	border-right: 1px solid #ededed;
}

.headline-buttons ul li:hover {
	background-color: #ededed;
	color: #fff;
	cursor: pointer;
}

.headline-buttons ul li:last-child {
	border-right: 0;
}

.field-tag {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid #ededed;
    border-radius: 0;
    font-size: 15px;
    margin: 0;
    padding: 0.2em 0.2em 0;
    width: 100%;
    box-sizing: border-box;
    min-height: 38px;
    background: #fff;
    position: relative;
}

.field-tag input {
    width: 25%;
    border: 0;
    background: #fff;
    height: 100%;
    display: inline-block;
    min-height: auto;
    padding: 0.25em !important;
    margin-bottom: 3px;
    margin-top: 2px;
}

.field-tag span {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 5px 42px 5px 10px;
    height: 18px;
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 3px;
    position: relative;
    vertical-align:middle;
    cursor: move;
}

.field-tag span.ui-sortable-placeholder {
	background: #fff;
}

.field-tag span:hover {
	
}

.field-tag span i {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    height: 100%;
    font-style: normal;
    font-size: 15px;
    padding: 5px 12px 0;
    border-left: 1px solid rgba(255,255,255,.1);
    box-sizing: border-box;
}

.field-tag span i:hover {
	cursor: pointer;
	color: #82bb28
}

.field-tag-dropdown {
    position: absolute;
    width: 100%;
    left: 0;
    margin-top: 5px;
    background: #fff;
    border: 1px solid #ededed;
    min-height: 4px;
    box-sizing: border-box;
    margin-left: 0 !important;
    padding: 3px;
    z-index: 1;
}

.field-tag-dropdown li {
	list-style: none;
	padding: 2px 5px;
	cursor: pointer;
}

.field-tag-dropdown li:hover {
	background: #f2f2f2;
}

.field-with-keyvalue {
    margin-bottom: 2.5em;
}

.field-keyvalue {
	margin-bottom: 1em;
	
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: stretch;
    align-items: flex-start;
}

input.field-keyvalue-input-key, .field-keyvalue .outer-select {
    flex: 35;
    align-self: auto;
    margin-right: 1em;
}

input.field-keyvalue-input-value {
    flex: 65;
    align-self: auto;
}

.field-keyvalue-input-buttons i {
	display: inline-block;
	height: 20px;
	line-height: 20px;
	padding: 0.5em 0em 0.5em 1em;
	border: 2px solid transparent;
	cursor: pointer;
}


.picker {
	margin-top: 8px;
}

.field-picker-outer {
	border: 2px solid #ededed;
    border-radius: 0;
    font-size: 15px;
    height: 38px;
    margin: 0;
    padding: 2px;
    width: 100%;
    box-sizing: border-box;
    min-height: 38px;
    background-color: #fff;
}

.field-picker-outer .field-picker-inner {
	width: 100%;
	height: 100%;
	background: #f00;
	cursor: pointer;
}

.picker {
	display: none;
}

.field.hc {
	height: 1px;
	overflow: hidden;
	margin: -1px 0 0;
	text-indent: -9999px;
}

.field-with-map #map_canvas {
	border: 2px solid #ededed !important;
	box-sizing: border-box;
}




@media (max-width: 767px) {
	
	form {
		display: block;
		width: 100%;
	}
	
	label {
		display: block;
		width: 100%;
	}
	
	input, textarea {
		width: 100%;
		max-width: 100%;
	}
	
	table td input, table td textarea {
		max-width: 100%;
		width: 100% !important;
	}
	
	.field-grid-item-1-2, .field-grid-item-1-3, .field-grid-item-1-4 {
		width: 100%;
	}
}