/* admin and family nav */
@media print
{
#nav {display: none;}
#utils {display: none;}
#footer {display: none;}
#content {font-size: smaller;}
}

#nav {
    margin-top: 10px;
}
#nav li {
    float:left;
    display: block;
    list-style-type: none;
    width: 17em;
    margin-right: 5px;
}
#nav a {
    display: block;
    width: 17em;
    z-index: 100;
}
.dropdown {
    font-weight: bold;
}

/* stuff for record view */
dd {
    margin-left: 12em;
    margin-top: -2em;
}
dl {
    line-height: 2em;
    margin: 0em 0em;
    width: 100%;
}

/*  add form stuff */
div.longviewrecommendation form {
    width: 75em;
}

div.longviewrecommendation form div {
    clear:both;
    margin-bottom: 1em;
    height: 2em;
}

input.form-error {
    background-color: lightcoral;
}

form.input {
    margin-bottom:1em;
}
div.error-message {
    display:inline;
    margin-left: 0.5em;
}

div.input label {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;
    line-height: 24px;
    color: #4F2712;
    text-indent: 0px;
    width: 12em;
    display: block;
    float:left;
}

/* for family add form */
div#restricted div.input label, div#unrestricted div.input label  {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;
    line-height: 1em;
    color: #4F2712;
    text-indent: 0px;
    width: auto;
    display: block;
    float:left;
}

div#restricted input[type="text"], div#unrestricted input[type="text"] {
    float: none;
}

div#restricted div {
    clear:both;
    margin-bottom: auto;
    height: auto;
}

div#restricted div.input label:after, div#unrestricted div.input label:after {
    content:'';
}
/* end for family add form */

div.input input, div.input textarea, div.input[type="checkbox"]{
    padding-left: 0.5em;
    float: left;
    clear:none;
    margin-bottom: 1em;
}

fieldset legend {
    background: #fff;
    color: #4F2712;
    font-size: 160%;
    font-weight: normal;
}

div#restricted, div#unrestricted {
    height: auto;
}

/* end add form */


div.longviewrecommendation form input[type="submit"] {
    padding: 0 0 0 0;
    min-width: 7em;
}

/* override crappy cake defaults when form elements are in grid 
form div {
        clear: none;
        padding: 0;
}

div.longviewrequest form {
        margin-right: 0px;
        width: 100%
}
*/

/* for single line high rows */
/* table tr td {
        
        max-width: 20em;
        white-space: nowrap;
        overflow: hidden;
        border-bottom: none;
} */

/* stuff targeting index view */
div.longviewGrants form input[type="submit"] {
    padding: 0 0 0 0;
    min-width: 7em;
}

div.longviewGrants form {
    margin-right: 0px;
    width: 100%;
    clear: both;
    padding: 0;
}
div.longviewGrants form div {
    clear: none;
    padding: 0;
}

div.longviewGrants th {
    border: 1px solid #555;
    padding: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #D5ECFF;
}

table tr.bottomrow td {
    border-bottom: 1px solid #DDD;
}

table tr.altrow td {
    background-color:#DDD;
}


table {
    background-color: white;
    width: 100%;
    overflow-y: auto;
}

/**  Actions **/
td.actions {
    text-align: left;
}

div .actions {
    position: relative;
}
div .actions ul {
	margin: 0;
	padding: 0;
}
div .actions li {
	margin:0 0 0.5em 0;
	list-style-type: none;
	white-space: nowrap;
	padding: 0;
}
div .actions ul li a {
	font-weight: normal;
	display: block;
	clear: both;
}

/* Buttons and button links */
input[type=submit],
div .actions ul li a,
div .actions a {
	font-weight:normal;
	padding: 4px 8px;
	background: #dcdcdc;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc));
	background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: -o-linear-gradient(top, #fefefe, #dcdcdc);
	background-image: linear-gradient(top, #fefefe, #dcdcdc);
	color:#333;
	border:1px solid #bbb;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	text-decoration: none;
	text-shadow: #fff 0px 1px 0px;
	min-width: 0;
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2);
	-webkit-user-select: none;
	user-select: none;
}
div .actions ul li a:hover,
div .actions a:hover {
	background: #ededed;
	border-color: #acacac;
	text-decoration: none;
}
input[type=submit]:active,
div .actions ul li a:active,
div .actions a:active {
	background: #eee;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#eee));
	background-image: -webkit-linear-gradient(top, #dfdfdf, #eee);
	background-image: -moz-linear-gradient(top, #dfdfdf, #eee);
	background-image: -ms-linear-gradient(top, #dfdfdf, #eee);
	background-image: -o-linear-gradient(top, #dfdfdf, #eee);
	background-image: linear-gradient(top, #dfdfdf, #eee);
	text-shadow: #eee 0px 1px 0px;
	-moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	border-color: #aaa;
	text-decoration: none;
}

div.column-center p, div.column-center h1 {
    font-size: x-large;
}

