﻿*
{
    -webkit-text-size-adjust: 100%;
}

body
{
    color: #071d29;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.0em;
    margin: 0px 0px 0px 0px;
}

body.portal
{
	background-color: #fff9d8;
	color: #2d2706;
}

header div.wide
{
	display: block;
}
header div.narrow
{
	display: none;
}

input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number]
{
    border: thin solid #d9d9d9;
    border-top: thin solid #c0c0c0;
    height: 1.3em;
    line-height: 1.3em;
    font-weight: normal;
    font-size: 1.0em;
    border-radius: 3px;
    margin: 0px;
    width: 440px !important;
}


table, td, th
{
	font-size: 0.9em;
	border: 1px solid #bbb;
	border-collapse: collapse;
	padding: 0px 5px 0px 5px;
}

th
{
	background-color: #fff1a5;
}

dd
{
	margin-left: 30px;
}

h1
{
	font-size: 1.7em;
}

h2
{
	font-size: 1.5em;
}

dt
{
	font-size: 1.1em;
	margin-top: 10px;
}

.error
{
	margin-top: 10px;
	display: block;
	border: 4px solid #ff2020;
	padding: 5px;
}

.error h1
{
	color: #ff2020;
	font-size: 1.4em;
	margin-top: 0px;
}

.wrapper
{
	width: 300px;
	margin: 20px auto;
	text-align: center;
}

.code
{
	font-weight: 400;
	font-size: 1.6em;
}


.adminwrapper
{
	/*width: 1000px;*/
	margin: 0px auto 0px auto;
}

header
{
	margin: 0px 0px 0px 0px;
	/*width: 1000px;*/
	border-bottom: 1px solid #bbb;
	padding: 10px 10px 5px 10px;
	font-size: 1.3em;
	font-weight: 400;
}

footer
{
	margin: 10px auto 10px auto;
	display: block;
	clear: both;
	text-align: center;
	border-top: 1px solid #bbb;
	padding: 10px 10px 5px 10px;
	font-size: 0.9em;
}

nav.menu
{
	margin-top: 20px;
	margin-left: 10px;
	width: 150px;
	float: left;
}

nav.menu ul
{
    margin: 0px;
    padding: 0px;
    padding-left: 10px;
}

nav.menu ul li
{
    display: block;
    list-style: none;
    padding-top: 10px;
    list-style-image: none;
}

.content
{
	margin-left: 160px;
	min-height: 400px;
	border-left: 1px solid #bbb;
	padding-left: 10px;
	padding-right: 10px;
}

form label
{
	display: block;
	margin-bottom: 5px;
}

form label span
{
	display: block;
}

nav.menu .title
{
	font-size: 1.1em;
	font-weight: 400;
}



/* Work data
--------------------------------------------------------------------------------------------- */
.work_data
{
    display: block;
    font-size: 0.9em;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #d9d9d9;
    background-color: #fff7cb;
    margin: 0px 0px 10px 0px;
}
.work_data .box
{
    display: inline-block;
    vertical-align: top;
    padding: 3px 10px 5px 5px;
}
.work_data .small
{
    min-height: 40px;
}
.work_data .line
{
    display: block;
    min-height: 0px;
    max-height: 80px;
    overflow-y: scroll;
}
.work_data .obs
{
    display: block;
    border: 1px solid #ae211c;
    background-color: #e1e3a4;
    color: #ae211c;
    min-height: 0px;
}
.work_data h1
{
    font-weight: bold;
    font-size: 0.8em;
    margin: 0px;
}
.work_data h1:not(:first-child)
{
    margin-top: 10px;
}

.work_data > h1
{
    font-size: 1.0em;
    margin: 10px 0px 0px 10px;
}

.work_data table
{
    margin: 5px 10px 10px 10px;
}

.work_data table th
{
    text-align: left;
    border-bottom: 1px solid #111;
    padding: 0px 5px 0px 0px;
}

.work_data table td
{
    text-align: left;
    padding: 2px 5px 0px 0px;
}


form dt
{
	font-size: 1.0em;
}
form dd
{
	margin-left: 0px;
}



@media only screen and (max-device-width: 1024px)
{
	td, th
	{
		padding-top: 5px;
		padding-bottom: 5px;
	}
}

@media only screen and (max-device-width: 480px), (max-width: 480px), (max-width: 768px)
{
	header div.wide
	{
		display: none;
	}
	header div.narrow
	{
		display: block;
	}
	h1
	{
		font-size: 1.5em;
	}
	h2
	{
		font-size: 1.3em;
	}
	td, th
	{
		padding-top: 5px;
		padding-bottom: 5px;
	}
	nav.menu
	{
		margin-top: 0px;
		margin-left: 0px;
		width: 100%;
		float: none;
	}
	nav.menu ul
	{
		padding-right: 10px;
	}
	nav.menu ul li
	{
		display: inline-block;
		list-style: none;
		padding-top: 10px;
		list-style-image: none;
	}
	nav.menu ul li:before
	{
		content: "[";
	}
	nav.menu ul li:after
	{
		content: "] ";
	}
	nav.menu div.title
	{
		display: none;
	}
	.content
	{
		margin-left: 0px;
		border-left: 0;
		padding-right: 10px;
	}
}


@media only screen and (max-width: 320px)
{
	input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number]
	{
		width: 280px !important;
	}
}

/* w8 - 1920px - Typical LCD boundary */
@media screen and (max-width: 1920px) {
    .w8
    {
        display: none !important;
    }
}

/* w7 - 1680px - Typical LCD boundary */
@media screen and (max-width: 1680px) {
    .w7, .w8
    {
        display: none !important;
    }
}

/* w6 - 1400px - Typical Laptop LCD boundary */
@media screen and (max-width: 1400px) {
    .w6, .w7, .w8
    {
        display: none !important;
    }
}

/* w5 - 1280px - Typical LCD boundary */
@media screen and (max-width: 1280px) {
    .w5, .w6, .w7, .w8
    {
        display: none !important;
    }
}

/* w4 - 1024px - E.g. iPad landscape */
@media screen and (max-width: 1024px) {
    .w4, .w5, .w6, .w7, .w8
    {
        display: none !important;
    }
}


/* w3 - 768px - E.g. iPad portrait */
@media screen and (max-width: 768px) {
    .w3, .w4, .w5, .w6, .w7, .w8
    {
        display: none !important;
    }
}

/* w2 - 480px - E.g. iPhone landscape */
@media screen and (max-width: 480px) {
    .w2, .w3, .w4, .w5, .w6, .w7, .w8
    {
        display: none !important;
    }
}

/* w1 - 320px - E.g. iPhone portrait */
@media screen and (max-width: 320px) {
    .w1, .w2, .w3, .w4, .w5, .w6, .w7, .w8
    {
        display: none !important;
    }
}
