#slideit {
	z-index: 9999;
	/* Keep the item above all other elements on the page */
	position: fixed;
	width: auto;
	/* Width of the wrapper of the section. Adjust this value if you want wider elements */
	height: 100%;
	top: 0;
	/* Vertical position of the elements */
	left: 0;
	/* Horizontal position of the elements */
}

.modal-content {
	z-index: 9999;
	/* Keep the item above all other elements on the page */

}

.modal-content span.title {
	font-size: 24px;
	padding: 30px;
	color: #fff;
	background: #FF6633;
	text-transform: uppercase;
	display: block;
	width: 90%;
	font-weight: 600;
}

.modal-content .wrap {
	padding: 30px;
	position: relative;
	border-bottom: 6px solid #FF6633;
}


.modal-content input,
.modal-content textarea {
	display: block;
	width: 70%;
	border-bottom: solid 1px #ddd;
	padding: 2px 20px 4px 3px;
	font-size: 13px;
	color: #222;
	position: relative;

}

/***** Form styles *****/

#slideit section {
	margin: 0;
	overflow: hidden;
	width: 320px;
	height: auto;
	left: 0;
	top: 20%;
	position: absolute;
	z-index: 10;
	background: #fff;
	-webkit-backface-visibility: hidden;
	/* Webkit transition hack */
	/* Section animation upon opening */
	-webkit-transition: all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
	-moz-transition: all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
	-ms-transition: all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
	-o-transition: all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
	transition: all 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
}

#slideit section,
#slideit input#close-item:checked ~ section {
	/* Section position when closed */
	-webkit-transform: translateX(-100%);
	-moz-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
	-o-transform: translateX(-100%);
	transform: translateX(-100%);
}

#slideit input#open-item:checked ~ section {
	/* Section position when opened */
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	-o-transform: translateX(0);
	transform: translateX(0);
}

#slideit section .wrap {
	padding: 30px;
	position: relative;
	border-bottom: 6px solid #f8c152;
	text-align: center;
}

#slideit span.title {
	font-size: 24px;
	padding: 30px;
	color: #361145;
	background: #f8c152;
	text-transform: uppercase;
	display: block;
	width: 100%;
	font-weight: 600;
}

#slideit p.info {
	font-size: 13px;
	color: #000;
	line-height: 18px;
}

#slideit .field {
	width: 100%;
	position: relative;
	margin: 28px 0 0 0;
	display: block;
}


/***** Labels *****/

.phno {
	color: #361145 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	text-transform: capitalize;
}

#slideit label.open,
#slideit label.close {
	text-align: center;
	position: fixed;
}

#slideit label.open {
	font-size: 11px;
	color: #360f44;
	background: #fcf004;
	font-weight: 600;
	width: 100px;
	bottom: auto;
	left: -101px;
	right: auto;
	top: 42%;
	margin: 0 auto;
	padding: 10px 0;
	text-transform: uppercase;
	z-index: 1;
}

#slideit input#close-item:checked ~ label.open {
	-webkit-transition: left 0.3s ease 0.4s, background 0.1s ease, color 0.1s ease;
	-moz-transition: left 0.3s ease 0.4s, background 0.1s ease, color 0.1s ease;
	-ms-transition: left 0.3s ease 0.4s, background 0.1s ease, color 0.1s ease;
	-o-transition: left 0.3s ease 0.4s, background 0.1s ease, color 0.1s ease;
	transition: left 0.3s ease 0.4s, background 0.1s ease, color 0.1s ease;
	left: 0;
}

#slideit label.open:hover,
#slideit label.open:focus {
	background: #222;
	color: #fff;
}

#slideit label.close {
	right: 30px;
	left: auto;
	top: 0;
	bottom: auto;
	font-size: 20px;
	background: #000;
	color: #fff;
	width: 22px;
}

#slideit label.close:hover,
#slideit label.close:focus {
	background: #757786;
}


/***** Input, selectbox and textarea *****/

#slideit input,
#slideit select,
#slideit textarea {
	display: block;
	width: 100%;
	/*  border-bottom: solid 1px #ddd; */
	padding: 0 20px 4px 3px;
	font-size: 13px;
	color: #222;
	position: relative;
}

#slideit input:hover,
#slideit select:hover,
#slideit textarea:hover {
	border: 1px solid #858585;
}

#slideit select {
	padding-right: 0;
	padding-left: 0;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

#slideit select.grayed {
	color: #aaa;
}

#slideit select > option {
	background: #C2C6E2;
	color: #fff;
}

#select-arrow,
#select-arrow-svg {
	background: #fff url('img/select.html') no-repeat right;
	width: 30px;
	height: 20px;
	position: absolute;
	right: 0;
	top: -1px;
	pointer-events: none;
	vertical-align: middle;
	outline: none;
	border: none;
	z-index: 3;
}

#slideit select:hover ~ #select-arrow,
#slideit select:focus ~ #select-arrow,
#slideit select:hover ~ #select-arrow-svg,
#slideit select:focus ~ #select-arrow-svg {
	background: #fff url('img/select-focus.html') no-repeat right;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	#select-arrow-svg {
		display: none;
		/* <-- Hide svg arrow in webkit browsers and IE9/10 (pointer events don't work in those IE) */
	}
}

x:-o-prefocus,
#select-arrow {
	display: none;
	/* <-- Hack for Opera 12 */
}

#slideit textarea {
	resize: none;
	height: 40px;
	overflow: hidden;
}

#slideit input:hover,
#slideit input:focus,
#slideit select:hover,
#slideit select:focus,
#slideit textarea:hover,
#slideit textarea:focus {
	border-bottom-color: #858585;
	outline: none;
}


/* #slideit textarea:focus {
    height: 100px;
} */

#slideit input.send {
	display: inline-block;
	clear: both;
	background: #FF0025;
	font-weight: 600;
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	padding: 8px 26px;
	cursor: pointer;
	margin: 30px 0 0 0;
	width: auto;
	border: none;
}

#slideit input.send:hover,
#slideit input.send:focus {
	background: #FF0024;
	border: none;
	outline: none;
}

#slideit input.reset {
	background: none;
	width: auto;
	cursor: pointer;
	border: none;
	outline: none;
	display: inline-block;
	float: right;
	padding: 0;
	margin: 40px 0 0 0;
	font-size: 12px;
	color: #000;
}

#slideit input.reset:hover,
#slideit input.reset:focus {
	color: #858585;
}


/***** Validations *****/

#slideit input:required,
#slideit textarea:required {
	background: #fff url("img/required.html") no-repeat 100% 6px;
	box-shadow: none;
	outline: none;
}

#slideit input:hover:invalid,
#slideit textarea:hover:invalid {
	background: #fff url("img/focused.html") no-repeat 100% 6px;
	box-shadow: none;
	outline: none;
}

#slideit input:required:valid,
#slideit textarea:required:valid {
	background: #fff url("img/valid.html") no-repeat 100% 6px;
	box-shadow: none;
	outline: none;
}

#slideit input:focus:invalid,
#slideit textarea:focus:invalid {
	background: #fff url("img/invalid.html") no-repeat 100% 6px;
	z-index: 10;
	box-shadow: none;
	outline: none;
}


/***** Placeholders *****/

::-webkit-input-placeholder {
	color: #000;
}

#slideit input:focus::-webkit-input-placeholder {
	color: #000;
}

#slideit textarea:focus::-webkit-input-placeholder {
	color: #ccc;
}

:-moz-placeholder {
	color: #000;
}

#slideit input:focus:-moz-placeholder {
	color: #000;
}

#slideit textarea:focus:-moz-placeholder {
	color: #000;
}

::-moz-placeholder {
	color: #000;
}

#slideit input:focus::-moz-placeholder {
	color: #000;
}

#slideit textarea:focus::-moz-placeholder {
	color: #000;
}

:-ms-input-placeholder {
	color: #000;
}

#slideit input:focus:-ms-input-placeholder {
	color: #000;
}

#slideit textarea:focus:-ms-input-placeholder {
	color: #000;
}

.ie9-placeholder {
	color: #000 !important;
}

.ie9-placeholder:focus {
	color: #000 !important;
}


/***** Tooltips *****/

#slideit .tip {
	background: #222;
	color: #fff;
	font-size: 12px;
	padding: 10px 12px;
	text-align: center;
	position: absolute;
	top: -68px;
	left: -20px;
	opacity: 0;
	visibility: hidden;
	width: auto;
	cursor: default;
}

#slideit .tip:after {
	border-top: 6px solid rgba(0, 0, 0, 1);
	border-left: 8px solid rgba(0, 0, 0, 0);
	border-right: 8px solid rgba(0, 0, 0, 0);
	content: "";
	position: absolute;
	bottom: -6px;
	left: 28px;
}

#slideit input:focus ~ .tip,
#slideit select:focus ~ .tip,
#slideit textarea:focus ~ .tip {
	top: -48px;
	opacity: 1;
	visibility: visible;
	z-index: 99;
}

#slideit input:required:valid ~ .tip,
#slideit textarea:required:valid ~ .tip {
	opacity: 0;
	visibility: hidden;
}


/***** Transitions *****/

#slideit label,
#slideit select,
#slideit input {
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

#slideit .tip {
	-webkit-transition: opacity 0.4s ease;
	-moz-transition: opacity 0.4s ease;
	-ms-transition: opacity 0.4s ease;
	-o-transition: opacity 0.4s ease;
	transition: opacity 0.4s ease;
}

#slideit textarea {
	-webkit-transition: height 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
	-moz-transition: height 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
	-ms-transition: height 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
	-o-transition: height 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
	transition: height 0.4s cubic-bezier(0.2, 0.6, 0.3, 1);
}


/*  ==================
    4. MEDIA QUERIES
    ==================  */


/***** Max height 480px *****/

@media screen and (max-height:480px) {
	#slideit section {
		top: 0;
	}

	#slideit label.open {
		top: 33%;
	}
}
