@import url('demo.css');
@import url('font-awesome.css');

/* GLOBALS */

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.form-4 .main-minibox-cont {
    /* Size and position */
    width: 350px;
    padding: 10px;
    /* Font styles */
    font-family: 'Raleway', 'Lato', Arial, sans-serif;
    color: white;
    text-shadows: 0 2px 1px rgba(0,0,0,0.3);
}

.form-4 h1 {
    font-size: 22px;
    padding-bottom: 20px;
}

/* Fallback */
.no-boxshadow .form-4 input[type=text]:focus,
.no-boxshadow .form-4 input[type=password]:focus {
    outlines: 1px solid white;
}


.form-4 input[type=submit] {

    width: 100%;
    padding: 8px 5px;

	background: -ms-radial-gradient(circle, #58d7de, #236ace);
	background: -webkit-gradient(radial, center center, 0, center center, 380, from(#58d7de), to(#236ace));
	
    border-radius: 5px;
    border: 1px solid #0ba4d2;
    box-shadow: inset 0 1px rgba(255,255,255,0.4), 0 2px 1px rgba(255,255,255,0.1);
    cursor: pointer;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;


    color: white;
    text-shadow: 0 1px 0 rgba(0,0,0,0.3);
    font-size: 16px;
    font-weight: bold;
    font-family: 'Raleway', 'Lato', Arial, sans-serif;
}

.form-4 input[type=submit]:hover {
	background: -ms-radial-gradient(circle, #26c9da, #0f5db4);
	background: -webkit-gradient(radial, center center, 0, center center, 380, from(#26c9da), to(#0f5db4));
}

.form-4 input[type=text],
.form-4 input[type=password] {
	width: 100%;
	padding: 8px 4px 8px 10px;
	margin-bottom: 15px;
	border: 1px solid #4e3043; /* Fallback */
	border: 1px solid #CCCCCC;
	background: rgba(200,200,200,0.1);
	border-radius: 2px;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-ms-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
	font-family: tahoma;
	color: #6699FF;
	font-size: 13px;
}

/* Placeholder style (from http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css) */

.form-4 input::-webkit-input-placeholder {
    color: rgba(180,180,180,0.9);
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}

.form-4 input:-moz-placeholder {
    color: rgba(180,180,180,0.9);
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}

.form-4 input:-ms-input-placeholder {
    color: rgba(180,180,180,0.9);
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}

.form-4 input[type=text]:hover,
.form-4 input[type=password]:hover {
    border-color: #bbb;
}

.form-4 input[type=text]:focus,
.form-4 input[type=password]:focus,
.form-4 input[type=submit]:focus {
    box-shadow: 
	0 1px 0 rgba(255,255,255,0.2), 
	inset 0 1px 1px rgba(0,0,0,0.1),
	0 0 0 3px rgba(255,255,255,0.15);
    outline: none;
}

/* Fallback */
.no-boxshadow .form-4 input[type=text]:focus,
.no-boxshadow .form-4 input[type=password]:focus {
    outline: 1px solid white;
}


.form-4 label {
    displays: none;
    padding: 0 0 5px 2px;
    cursor: pointer;
	color:#000;
	line-height:30px
}

.form-4 label:hover ~ input {
    border-color: #333;
}

.no-placeholder .form-4 label {
    display: block;
}

/*--------------------------------------------------------------------------------------------------------------------*/
														/*minibox*/
/*--------------------------------------------------------------------------------------------------------------------*/

div.main-minibox-top {
	width:350px;
	height:40px;
	margin-top:40px;

	background: -moz-linear-gradient(top, #aaaaaa 0%, #cccccc 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#aaaaaa), color-stop(100%,#cccccc));
	background: -webkit-linear-gradient(top, #aaaaaa 0%,#cccccc 100%);
	background: -o-linear-gradient(top, #aaaaaa 0%,#cccccc 100%);
	background: -ms-linear-gradient(top, #aaaaaa 0%,#cccccc 100%);
	background: linear-gradient(top, #aaaaaa 0%,#cccccc 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aaaaaa', endColorstr='#cccccc',GradientType=0 );
	
	border-top-left-radius:4px;
	border-top-right-radius:4px;
	
	border:1px solid #f1f1f1;
	border-bottom:none;
	border-right:none;

	-webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow:1px 1px 1px rgba(0,0,0,0.1);
	box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
	
	color:#fff;
	font-size:28px;
}

div.main-minibox-top img {
	margin:auto;
	float:left;
}

div.main-minibox-cont {
	width:350px;
	padding:30px auto;
	margin-top:40px;

	background: rgba(255, 255, 255, 0.8);
	
	border-bottom-left-radius:4px;
	border-bottom-right-radius:4px;
	border-radius:4px;
	
	border:1px solid #f1f1f1;
	border-top:none;
	border-right:none;
	border-bottom:none;
	-webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow:1px 1px 1px rgba(0,0,0,0.1);
	box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

div.main-minibox-cont i.icon {
	font-size:30px;margin:0px;padding:0px;left:0;color:#000
}

div.main-minibox-cont div.title {
	text-align:left; margin-left:5px; padding-top:5px; font-size:28px; color:#333;
	text-shadow: 0px 1px 1px rgba(255,255,255,0.6);
}

h2 {
	font-size:28px;
	color:#1686b7;
}

div.main-minibox-cont div.horizontal-line {
	border-bottom:1px solid #ccc;
}

/*--------------------------------------------------------------------------------------------------------------------*/
														/*login*/
/*--------------------------------------------------------------------------------------------------------------------*/
div.main-minibox-cont div#tables {
	width:95%;
	display:table;
}

div.main-minibox-cont div#rows {
	display:table-row;
}

div.main-minibox-cont div#cells {
	display:table-cell;
	padding:10px;
	width:200px;
}

div.main-minibox-cont div.even {
	width:95%;
	background: rgba(255, 255, 255, 0);
	background: rgba(255, 255, 255, 0.8);
	-webkit-box-shadow: 1px 1px 1px rgba(255,255,255,0.2);
	-moz-box-shadow:1px 1px 1px rgba(255,255,255,0.2);
	box-shadow: 1px 1px 1px rgba(255,255,255,0.2);
}

div.main-minibox-cont div.horizontal-line {
	border-bottom:1px solid #ccc;
}

div.main-minibox-cont div.class-cell {
	display:table-cell; 
	vertical-align:top
}