/*
Cornerstone base
*/

*, *::before, *::after
{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

h1,h2,h3,h4,h5,h6
{
	font-size: 1em;
	font-weight: normal;
}

table
{
	border-collapse: collapse;
	border-spacing: 0;
}

caption,th
{
	font-weight: normal;
	text-align: left;
}

ul
{
	list-style: none;
}

img
{
	border: none;
}

.hr
{
	height: 1px;
	background: #888;
	margin: 25px;
}

a
{
	text-decoration: none;
}

input[type="button"],
input[type="submit"]
{
	cursor: pointer;
	font-size: 1em;
	padding: 8px 30px;
}

input[type="email"],
input[type="password"],
input[type="tel"],
input[type="text"],
textarea
{
	border-bottom: 1px solid #fff;
	border-left: 1px solid #a0a0a0;
	border-right: 1px solid #fff;
	border-top: 1px solid #a0a0a0;
	font-size: 1em;
	padding: 3px;
}

select
{
	padding: 3px;
}

input[type="radio"]:hover
{
	cursor: pointer;
}

.big
{
	font-size: 1.5em;
}

.bottom
{
	vertical-align: bottom;
}

.center
{
	text-align: center !important;
}

.clear
{
	clear: both;
}

.italic
{
	font-style: italic;
}

.justify
{
	text-align: justify;
}

.magnify
{
	border-radius: 5px;
	box-shadow: 6px 6px 12px rgba(0,0,0,0.6);
	margin: 0 10px 10px 0;
}

.nowrap
{
	white-space: nowrap;
}

.right
{
	text-align: right !important;
}

.rounded
{
	border-radius: 5px;
}

.shadowed
{
	box-shadow: 6px 6px 12px rgba(0,0,0,0.5);
}

.show_details
{
	display: block;
	float: left;
	margin-bottom: 16px;
}

.small
{
	font-size: 0.8em;
}

.top
{
	vertical-align: top;
}

.float_left
{
	float: left;
	margin: 0 20px 16px 0;
}

.float_right
{
	float: right;
	margin: 0 0 16px 20px;
}

.msgbox
{
	background-color: #fff;
	border: 1px solid #00ff00;
	border-radius: 10px;
	box-shadow: 3px 3px 12px rgba(0,0,0,0.3);
	color: #000 !important;
	left: 50%;
	/* margin: -10px auto; */
	max-width: 600px;
	padding: 20px 20px 20px 60px;
	position: fixed;
	text-align: left;
	top: 55px;
	z-index: 1000;

	transform: translate(-50%, 0);
	-webkit-transform: translate(-50%, 0);
}

.show_success
{
	background: #E1FFE1 url(../files/1/tick32.png) no-repeat 10px 10px;
}

.show_failure
{
	background: #FFE1E1 url(../files/1/cross32.png) no-repeat 10px 10px;
	border: 1px solid #ff0000;
}

.show_alert
{
	background: #FFF1E1 url(../files/1/alert32.png) no-repeat 10px 10px;
	border: 1px solid #ff8800;
}

.show_info
{
	background: #E7F1F9 url(../files/1/info.png) no-repeat 10px 10px;
	border: 1px solid #3786C9;
}

.show_text
{
	background-color: #E7F1F9;
	border: 1px solid #3786C9;
	font-size: 0.9em;
	padding: 20px;
}

@keyframes fade_out
{
	from {opacity: 1; top: 55px;}
	to {opacity: 0; top: 20px;}
}

.show_success
{
	animation-name: fade_out;
	animation-duration: 2.5s;
	animation-delay: 4s;
	animation-fill-mode: forwards;
}