* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

a {
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
	text-decoration: none;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.hidden {
    display: none;
}

.relative {
	position: relative;
}

.center {
	text-align: center;
}

.clearfix {
	margin: 0 !important;
	clear: both !important;
}

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

.clearfix:after {
    clear: both;
}

.button,
.button-alt {
	border: 0;
    outline: 0;
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: #7326A6;
    padding: 10px 30px;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
	border-radius: 20px;
    background-clip: padding-box;
}

.button-alt {
	color: #888;
    background: transparent;
    border: 2px solid #888;
}

.button:hover,
.button-alt:hover {
	background: #9447c8 !important;
}

.button-alt:hover {
	border: 2px solid #7326A6 !important;
	background: #7326A6 !important;
	color: #fff !important;
}

.text-link {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 700;
	color: #aaa;
}

.text-link:hover {
	color: #E91E63;
}

.form label {
	font-weight: 700;
	display: block;
	padding-bottom: 8px;
}

.form input,
.form select,
.form textarea {
	width: 100%;
	background: #eee;
	border: 0;
	outline: 0;
	padding: 10px 15px;
	border: 2px solid transparent;

    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.form input:hover,
.form input:active,
.form input:focus,
.form select:hover,
.form select:active,
.form select:focus,
.form textarea:hover,
.form textarea:active,
.form textarea:focus {
	border: 2px solid #ddd;
}

.errors,
.success {
	padding: 20px 20px 20px 40px;
    border: 1px solid #ebcccc;
    color: #a94442;
	margin: 0 0 30px;
    background-color: #f2dede;
	font-size: 12px;
	font-weight: 700;
}

.errors.single,
.success.single {
	text-align: center;
	padding: 20px !important;
	list-style: none !important;
}

.success {
    border: 1px solid #d6e9c6;
    color: #3c763d;
    background-color: #dff0d8;
}

.errors li,
.success li {
	margin-bottom: 10px;
}

.errors li:last-of-type,
.success li:last-of-type {
	margin-bottom: 0;
}

.vcenter {
	position: absolute;
	top: 50%;
	
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.hcenter {
	position: absolute;
	left: 50%;
	
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

.vhcenter {
	position: absolute;
	top: 50%;
	left: 50%;
	
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 32px;
    height: 32px;
    text-align: center;
    cursor: pointer;
    border: 0;
    border-radius: 2px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
}

#back-to-top i {
	font-size: 32px;
	color: #333;
	display: block;

	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	transition: all .3s ease;
}

#back-to-top:hover i { color: #000; }

#back-to-top.show { opacity: 1; }

@media (max-width: 360px) {

	.button,
	.button-alt {
		border-radius: 0 !important;
	}

}

@media print {

    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

}
