/*********** INFORMATION *****************************

- document:  SlideIt - CSS3 fixed sliding elements
- element:   Newsletter form - Left
- author:    Capelle @ Codecanyon
- profile:   http://codecanyon.net/user/Capelle

*****************************************************/


/*  ==================
    1. FONTS
    ==================  */

/** 1.1. Fonts ***************/

/** @import url(http://fonts.googleapis.com/css?family=Lato:300); **/ /* Delete this import if you're changing the font family */


/*  ==================
    2. RESET
    ==================  */

/***** Body reset *****/

/**body {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	background: #585A69;
}**/
/* === Note === Delete this body reset - it's for demo purpouses only */

/***** Item reset *****/

#slideit * {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: 300;
	font-style: normal;
	font-size: 100%;
	font-family: Arial, sans-serif; /* Edit this if you want to match the font with your template design */
	vertical-align: baseline;
	line-height: normal;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
#slideit a {
	text-decoration: none;
}
#slideit input[type="radio"],
#slideit input[type="checkbox"] {
	display: none;
}
#slideit label {
	cursor: pointer;
}
/* === Note === If you experience issues with reset above, please adjust the selectors and values according to your template/website.
When adjusting the reset is adviced to check up the elements on your page, as they might distort. */


/*  ==================
    3. MAIN STYLES
    ==================  */

#slideit {
	z-index: 9999; /* Keep the item above all other elements on the page */
	position: fixed;
	width: auto;
	height: 100%;
	top: 0; /* Vertical position of the elements */
	left: 0; /* Horizontal position of the elements */
}

/***** Basic styles *****/

#slideit section {
	margin: 0;
	overflow: hidden;
	width: 300px;
	height: auto;
	left: 0;
	top: 20%;
	position: absolute;
	z-index: 10;
	background: #fff;
	-webkit-backface-visibility: hidden; /* Webkit transition hack */
}
#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 #A7ABC6;
}
#slideit .field {
	width: 100%;
	position: relative;
	display: block;
	margin-top: 20px;
}
#slideit span.title {
	font-size: 24px;
	padding: 30px;
	color: #fff;
	background: #C2C6E2;
	text-transform: uppercase;
	display: block;
	width: 100%;
}
#slideit p.info {
	font-size: 13px;
	color: #999;
	line-height: 18px;
}
#slideit .terms {
	display: inline-block;
	width: 110px;
	float: right;
	position: relative;
	margin: 33px 0 0 0;
}
#terms-open {
	background: rgba(0,0,0,0.8);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	visibility: hidden;
	opacity: 0;
}
#terms-open:target {
	visibility: visible;
	opacity: 1;
}
#terms-open .terms-window {
	position: absolute;
	height: auto;
	width: 50%;
	margin: 0 auto;
	top: 10%;
	left: 0;
	right: 0;
	bottom: auto;
	background: #fff;
}
#terms-open .terms-window b.subtitle {
	font-size: 16px;
	text-transform: uppercase;
	color: #222;
	padding: 30px 30px 0 30px;
	float: left;
}
#terms-open .terms-window p {
	padding: 0 30px 0 30px;
	float: left;
}
#terms-open .terms-window p:last-of-type {
	padding-bottom: 30px;
}
#slideit p.agree {
	font-size: 10px;
	color: #999;
	display: inline-block;
	float: right;
	margin-top: 8px;
}
#slideit p.agree a {
	color: #222;
}
#slideit p.agree a:hover {
	text-decoration: underline;
}

/***** Labels *****/

#slideit label.open,
#slideit label.close,
#slideit a.lightbox-close {
	text-align: center;
	position: absolute;
}
#slideit label.open {
	font-size: 12px;
	color: #fff;
	background: #E50000;
	width: 60px;
	top: 30%;
	left: -101px;
	right: auto;
	bottom: auto;
	margin: 0 auto;
	padding: 10px 0;
	text-transform: uppercase;
	z-index: 1;
	font-weight: bold;
	font-family: Arial;
	border-top-right-radius: 13px;
	border-bottom-right-radius: 13px;

}
#slideit input#close-item:checked ~ label.open {
	left: 0;
}
#slideit label.open:hover,
#slideit label.open:focus {
	background: #222;
	color: #fff;
}
#slideit label.close,
#slideit a.lightbox-close {
	right: 15px;
	left: auto;
	top: 0;
	bottom: auto;
	font-size: 20px;
	background: #FF3E6C;
	color: #fff;
	width: 22px;
	z-index: 999;
}
#slideit label.close:hover,
#slideit label.close:focus,
#slideit a.lightbox-close:hover,
#slideit a.lightbox-close:focus {
	background: #757786;
}
#slideit .terms label {
	position: relative;
	display: inline-block;
	width: 20px;
	height: 20px;
	left: 0;
	top: 4px;
	background: #fff;
	border: solid 2px #C2C6E2;
}
#slideit .terms label:after {
	opacity: 0;
	visibility: hidden;
	content: "";
	position: absolute;
	width: 8px;
	height: 4px;
	background: transparent;
	top: 4px;
	left: 3px;
	border: 2px solid #C2C6E2;
	border-top: none;
	border-right: none;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
#slideit .terms input:checked + label:after {
	opacity: 1;
	visibility: visible;
}

/***** Inputs *****/

#slideit input {
	display: block;
	width: 100%;
	border-bottom: solid 1px #ddd;
	padding: 3px;
	font-size: 17px;
	/**color: #fff;**/
	/**font-weight: bold;**/
	position: relative;
}
#slideit input:hover,
#slideit input:focus {
	border-bottom-color: #222;
	outline: none;
}
#slideit input.send {
	display: inline-block;
	clear: both;
	background: #757786;
	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: #9EA3C5;
	border: none;
	outline: none;
}

/***** Validations *****/

#slideit input:required {
	background: #fff url("img/required.png") no-repeat 100% 6px;
	box-shadow: none;
	outline: none;
}
#slideit input:hover:invalid {
	background: #fff url("img/focused.png") no-repeat 100% 6px;
	box-shadow: none;
	outline: none;
}
#slideit input:required:valid {
	background: #fff url("img/valid.png") no-repeat 100% 6px;
	box-shadow: none;
	outline: none;
}
#slideit input:focus:invalid {
	background: #fff url("img/invalid.png") no-repeat 100% 6px;
	z-index: 10;
	box-shadow: none;
	outline: none;
}

/***** 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 {
	top: -48px;
	opacity: 1;
	visibility: visible;
	z-index: 99;
}
#slideit input:required:valid ~ .tip {
	opacity: 0;
	visibility: hidden;
}

/***** Placeholders *****/

::-webkit-input-placeholder {
	color: #999;
}
#slideit input:focus::-webkit-input-placeholder {
	color: #ccc;
}
:-moz-placeholder {
	color: #999;
}
#slideit input:focus:-moz-placeholder {
	color: #ccc;
}
::-moz-placeholder {
	color: #999;
}
#slideit input:focus::-moz-placeholder {
	color: #ccc;
}
:-ms-input-placeholder {
	color: #999;
}
#slideit input:focus:-ms-input-placeholder {
	color: #ccc;
}
.ie9-placeholder {
	color: #999 !important;
}
.ie9-placeholder:focus {
	color: #ccc !important;
}

/***** Transitions *****/

#slideit label,
#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;
}
#terms-open {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
#slideit section {
	-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 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;
}


/*  ==================
    4. MEDIA QUERIES
    ==================  */

/***** Max width 640px (Adjust when shoould terms we 100% according to your content) *****/

@media screen and (max-width:640px){
	#slideit section {
		top: 5%;
	}
	#reset-form, #terms-open {
		overflow: auto;
	}
	#terms-open .terms-window {
		width: 100%;
		top: 0;
	}
}

/*  =======================
    5. JP POP SLIDE STYLES
    =======================  */

input[type=submit]{
padding: 10px 10px 11px !important;
font-size: 18px !important;
background-color: #FF3E6C;
font-weight: bold;
text-shadow: 1px 1px #F36C8C;
color: #fff;
/* border-radius: 100px;  */
/* -moz-border-radius: 100px; */
/* -webkit-border-radius: 100px; */
border: 1px solid #F36C8C;
cursor: pointer;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
width: 230px;
}


input[type=text]{
/**padding: 10px 10px 10px !important;**/
margin-bottom: 10px;
/**font-size: 17px !important;**/
background-color: #fff;

}


