/*
	This Thesis Box is developed, updated and maintained by ThesisLove Inc.
	For any support/query/usage questions, please visit - thesislove.com/support-center.
	
	Terms & Conditions: http://thesislove.com/terms-and-conditions/
	Copyright 2013 ThesisLove Inc. All rights reserved.
*/

/* ---[[ The Fix - Clearfix ]]--- */

.tl-clearfix:before, .tl-clearfix:after {
	content: " ";
	display: table;
}

.tl-clearfix:after {
	clear: both;
}

.tl-clearfix {
	clear: both;
}

.tl-clearfix {
	zoom: 1;
}

.tl-email-optin {
	font-size: 90%;
	padding: 24px;
	background: #eee;
    border: 6px solid #ddd;
}

.tl-email-optin input[type=text], .tl-email-optin input[type=email] {
	background-color: #FFF;
	background-position: initial initial;
	background-repeat: initial initial;
	border: 1px solid #DDD;
	box-shadow: #EEE 0 1px 2px inset;
	-webkit-box-shadow: #EEE 0 1px 2px inset;
	-moz-box-shadow: #EEE 0 1px 2px inset;
	margin-bottom: 6px;
	padding: 10px;
	width: 100%;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
}

.tl-email-optin input:hover {
	border-color: #c9c9c9;
}

.tl-email-optin input:focus {
	border: 1px solid #b9b9b9;
	transition: all .4s ease-in-out;
	-webkit-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
}

.tl-email-optin input[type=text],.tl-email-optin input[type=email] {
	width: 30%;
	margin-right: 12px;
}

.tl-email-optin input[type=submit] {
    margin: 0 0;
    width: auto;
}

.tl-email-optin h2 {
	margin: 0 0 !important;
	font-weight: 600;
}

.tl-email-optin input.name, .tl-email-optin input#name, .tl-email-optin input.name, .tl-email-optin input#email, .tl-email-optin input.email {
	background-position: 100% 50%;
	background-repeat: no-repeat no-repeat;
}

.tl-email-optin input.name, .tl-email-optin input#name, .tl-email-optin input.name {
	background-image: url(images/tl-name.png);
}

.tl-email-optin input#email, .tl-email-optin input.email {
	background-image: url(images/tl-email.png);
}

/*	Pure Buttons 
	A Creation Of: https://github.com/yui/pure/
*/

.pure-button {
    /* Structure */
    display: inline-block;
    *display: inline; /*IE 6/7*/
    zoom: 1;
    line-height: normal;
    white-space: nowrap;
    vertical-align: baseline;
    text-align: center;
    cursor: pointer;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Firefox: Get rid of the inner focus border */
.pure-button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

/*csslint unqualified-attributes:false, outline-none:false*/

.pure-button {
    font-family: inherit;
    font-size: 100%;
    *font-size: 90%; /*IE 6/7 - To reduce IE's oversized button text*/
    *overflow: visible; /*IE 6/7 - Because of IE's overly large left/right padding on buttons */
    padding: 7px 14px;
    color: #444; /* rgba not supported (IE 8) */
    color: rgba(0, 0, 0, 0.80); /* rgba supported */
    *color: #444; /* IE 6 & 7 */
    border: 1px solid #999;  /*IE 6/7/8*/
    border: none rgba(0, 0, 0, 0);  /*IE9 + everything else*/
    background-color: #E6E6E6;
    text-decoration: none;
    border-radius: 2px;
    /* Transitions */
    -webkit-transition: 0.1s linear -webkit-box-shadow;
    -moz-transition: 0.1s linear -moz-box-shadow;
    -ms-transition: 0.1s linear box-shadow;
    -o-transition: 0.1s linear box-shadow;
    transition: 0.1s linear box-shadow;
}

.pure-button-hover,
.pure-button:hover,
.pure-button:focus {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000',GradientType=0);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.10)));
    background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
    background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05) 0%, rgba(0,0,0, 0.10));
    background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
    background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
}
.pure-button:focus {
    outline: 0;
}
.pure-button-active,
.pure-button:active {
    box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
}

.pure-button[disabled],
.pure-button-disabled,
.pure-button-disabled:hover,
.pure-button-disabled:focus,
.pure-button-disabled:active {
    border: none;
    background-image: none;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    filter: alpha(opacity=40);
    -khtml-opacity: 0.40;
    -moz-opacity: 0.40;
    opacity: 0.40;
    cursor: not-allowed;
    box-shadow: none;
}

.pure-button-hidden {
    display: none;
}

/* Firefox: Get rid of the inner focus border */
.pure-button::-moz-focus-inner{
    padding: 0;
    border: 0;
}

.pure-button-primary,
.pure-button-selected,
a.pure-button-primary,
a.pure-button-selected {
    background-color: rgb(0, 120, 231);
    color: #fff;
}

.pure-button-success,
        .pure-button-error,
        .pure-button-warning,
        .pure-button-secondary,
		.pure-button-dark {
            color: white;
            border-radius: 4px;
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
        }

        .pure-button-success {
            background: rgb(28, 184, 65); /* this is a green */
        }

        .pure-button-error {
            background: rgb(202, 60, 60); /* this is a maroon */
        }

        .pure-button-warning {
            background: rgb(223, 117, 20); /* this is an orange */
        }

        .pure-button-secondary {
            background: rgb(66, 184, 221); /* this is a light blue */
        }
		
		.pure-button-dark {
            background: rgb(33, 33, 3); /* this is a dark */
        }

@media all and (max-width: 450px) {
	.tl-email-optin input[type=text], .tl-email-optin input[type=email] {
    width: 95%;
}

.tl-email-optin input[type=submit] {
    width: auto;
    display: block;
}

}