@import url(https://fonts.googleapis.com/css?family=Roboto);

/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    background: #ac0003; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#ac0003, #850002); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#ac0003, #850002); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#ac0003, #850002); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#ac0003, #850002); /* Standard syntax */

    font-size: .85em;
    font-family: "Roboto";
    margin: 0;
    padding: 0;
}

a:link, a:visited {
    color: #034af3;
    text-decoration: none;
}

a:hover {
    color: #1d60ff;
    text-decoration: underline;
}

a:active {
    color: #12eb87;
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

img { border: none; }
/*legend {color: #696969;padding-left: 10px;padding-right: 10px;padding-top: 10px;font-size: .95em; display: inline-block;}*/
legend {color: #000000; padding-left: -2px; padding-right: 0px;}
fieldset { padding: 0px;border-color: #000000; border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius: 5px; }
fieldset fieldset { margin-top: 0px; }

/*.ui-widget {
    font-size: .85em;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
}*/
.ui-dialog-content { color: #696969; font-size: .85em; font-family: "Roboto";}

a.ui-button, a.ui-button:hover, a.ui-button:link, a.ui-button:visited { color: #ac0003;font-size: 1em;}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page {
    width: 100%;
    text-align: center;
}

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 0px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;
}

#main {
    display: inline-block;
    padding: 0px 0px 0px 0px;
    background-color: #fff;
    border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    text-align: left;
    -webkit-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.25);
    box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.25);
}

#main-entered {
    display: inline-block;
    padding: 25px 25px 25px 25px;
    background-color: #fff;
    border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    text-align: left;
    -webkit-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.25);
    box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.25);
    vertical-align: middle;
    margin-top: 15px;
}

#submit-button {
  display: block;
  width: 75px;
  height: 35px;
  margin: 0 auto;
  font-family: "Roboto";
  font-weight: normal;
  background: none;
  background-color: rgba(0, 0, 0, 0.1);
  color: #ac0003;
  border: 1px solid #ac0003;
}

footer, 
#footer {
    background-color: #fff;
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    opacity: 0;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu {
    display: inline-block;
    border-bottom: 0px #000000 solid;
    padding: 0 0 0px;
    position: relative;
    margin: 0;
    text-align: left;
}

#menu li:hover > #policy-dropdown {
    display: inline;
    margin-right: 20px;
    margin-left: -20px;
}

#menu li:hover > #admin-dropdown {
    display: inline;
    margin-right: 20px;
    margin-left: -20px;
}

ul#menu li {
    display: inline;
    list-style: none;
}

ul#menu li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a {
    padding: 10px 20px;
    margin: 0px 0px 0px 0px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #ffffff;
    color: #ac0003;
    border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 0px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

.textbox,
input[type="text"], 
input[type="password"] {
    border: 0px solid #000000;
    padding: 4px;
    font-size: .9em;
    color: #444;
    width: 200px;
    height: 25px;
    background: rgba(0, 0, 0, 0.075);
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"] {
    margin-left: 50px;
}

/*
input[type="submit"] {
    font-size: 1.2em;
    padding: 5px;
}
*/
/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

table td {
    padding: 5px;
    border: solid 1px #e8eef4;
}

table th {
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
    white-space: nowrap;
}

/* MISC  
----------------------------------------------------------*/
.nowrap { white-space: nowrap;}
.hide { display:none; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.center-align { text-align: center;}
.right-align { text-align: right;}

nav, 
#menucontainer {
    margin-top: 40px;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#policy-dropdown {
    display: none;
}

#admin-dropdown {
    display: none;
}



#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

#logindisplay a:link {
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited {
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover {
    color: white;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
#validation-message {
     position: fixed; 
     top: 0; left: 0; 
     width: 100%; 
     text-align: center; 
     padding: 50px 0; 
     background: #fbb; 
     color: #fff;
     font-size: 1.2em;
     box-shadow: 0 5px 5px #888;
     opacity: 0.8;
     filter:alpha(opacity=80);
     z-index: 9999;
}

.field-validation-error, .error { color: #ff0000; }

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
    background-color: #ffbbbb;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, 
.editor-label {
    margin: 1em 0 0 0;
    font-weight: normal;
    color: black;
}

.display-field, 
.editor-field {
    display: inline-block;
    margin: 0em 0 0 0;
    font-weight: normal;
    color: black;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}

.tabBarButton {
    background-color: #FFFFFF;
    color: #ac0003;
    padding: 5px;
    font-size: 2em;
    border: none;
    cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
    background-color: #980003;
}

.alt-row { background-color: #f8f8f8; }
.selected-row { background-color: #e4f7fd; }
.last-row { background-color: #d2e9f9; }
.deleted-row { background-color: #f3e8df; }
.editing-row { background: #ffeeee; }

.image-link, .image-link:hover { text-decoration: none;margin: 5px;}
.image-link img { border: none;}

.edit-col { float: left;margin-right: 20px;width: 250px;}
.button-col { clear: both;margin-top: 20px;text-align: right;}

input.edit-percentage { width: 40px; }

.top-back-link { float: right;line-height: 16px;vertical-align: text-top;}

.ui-autocomplete {
    white-space: nowrap;
	max-height: 250px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: visible;
	/* add padding to account for vertical scrollbar */
	padding-right: 20px;
}
/* IE 6 doesn't support max-height we use height instead, but this forces the menu to always be this tall */
* html .ui-autocomplete { height: 250px; }

/* Form Elements */
input[type=text], form input[type=text], form input[type=password], form select{
	margin-top: 5px;
	height: 20px;
	margin-bottom: 5px;	
}
form select { height: 25px; }
input[type=text], form input[type=text], form input[type=password], form textarea, form select{
	background: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#fff));
	background: -moz-linear-gradient(-90deg, #f6f6f6, #fff);
	border: 1px solid #bbb;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
input[type=text]:focus, form input[type=text]:focus, form input[type=password]:focus, form textarea:focus, form select:focus{
	outline: none;
}
input[type=text], form input[type=text], form input[type=password], form textarea, form select{
	-webkit-background-clip: padding-box;
}
