﻿/*----------------------------------------------------------
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.
----------------------------------------------------------*/

/* This is a hack to make drag and drop work for windows mobile phones (jQuery UI Touch Punch does not currently support that). It disables panning/zoom for the elements which we would like to be able 
   to drag'n'drop (otherwise it would pan + zoom while drag'n'dropping, which breaks the drag). This is not beautiful (since we have to pick each draggable element here), but we will keep this till we 
   find a better approach. (http://msdn.microsoft.com/en-us/library/windows/apps/hh767313.aspx) */
.widget-head {
    -ms-touch-action: none;
}
.widget-add-drag-head {
    -ms-touch-action: none;
}

/* KV: Used to block users from doing accidental selections when pressing buttons that are actually <div>s or <a>s */
.noselection 
{
	-moz-user-select: none; 
	-khtml-user-select: none; 
	-webkit-user-select: none; 
	-o-user-select: none; 
}

.page a {
    FONT-FAMILY: ARIAL,HELVETICA,SANS-SERIF;
    COLOR: #398FD1;
    FONT-SIZE: 11PX;
    DECORATION: none;
}

.page a:visited
{
	/*color: #000000;
	text-decoration: none;*/
    color: #398FD1;
	text-decoration: none;
}

.page a:hover
{
	color: #3C5BA3;
	text-decoration: underline;
}


p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
    padding-bottom: 0;
    margin-bottom: 0;
    padding-top: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

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 {
    /*margin-left: 20px;
    margin-right: 20px;*/
}

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;
}

#main 
{
    clear: both;
    padding: 2px 9px 5px 9px;
    margin: 30px 60px 0px 60px;
    BACKGROUND: #FFF;
}

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: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}

.myDamco_staticLinks {
    margin-top: 25px;
    margin-left: 80px;
    clear: both;
}

.myDamco_staticLinks a {
    margin-left: 10px;
}



/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

input[type="text"], 
input[type="password"] {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 200px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"] {
    font-size: 1.2em;
    padding: 5px;
}

/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

table td {
    /*padding: 5px;
    font-family: ARIAL,HELVETICA,SANS-SERIF;
    font-size: 11px;
    border: solid 1px #e8eef4;*/
    border: solid 1px #FFF;
    color: #000;
    padding: 0px 5px;
    text-align: left;
}

table th {
    /*padding: 6px 5px;
    font-family: ARIAL,HELVETICA,SANS-SERIF
    font-size: 11px;
    text-align: left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;*/
    border: solid 1px #FFF;
    color:  #333;
    text-align:left;
    padding: 0px 5px;
    background-color: #E7E9EA;
}

table tr {
    background: #FFF;
}

table tr:nth-child(even) {
    background: #F3F4F4;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav, 
#menucontainer {
    margin-top: 40px;
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
}

#logindisplay a:link {
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited {
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover {
    color: white;
    text-decoration: none;
}

/* Adjustments to Administration */
.ui-tabs-nav li a.news-category-tab 
{
    background-color: #3C5BA3;
    color: White;
}
.ui-tabs-nav li.ui-tabs-selected a.news-category-tab
{
    background-color: transparent;
    color: Black;
}

.ui-tabs-nav li a
{
    font-size: 0.8em;
}

.create-new-wrapper
{
    margin: 0 0 8px 0;
}
.create-new-wrapper a.createnew
{
    background-position: 0px -20px;
    background-image: url(images/allbut.gif);
    background-repeat: no-repeat;
    padding: 0 0 2px 20px;
    font-size: 11px;
    font-weight: bold;
    color: dimGray;
}

td.admin-menu
{
    width: 160px;
}

.admin-layout-table
{
    width: 100%;
}

.admin-layout-table table
{
    font-size: 12px;
}

td.admin-menu a
{
    background-image: url(images/b_link.gif);
    background-position: left center;
    background-repeat: no-repeat;
    display: inline-block;
    margin-left: 2px;
    padding: 0 10px 5px 10px;
    font-size: 12px;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.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;
}

.display-field, 
.editor-field {
    margin: 0.5em 0 0 0;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}



body
{
    /* KV: this is used to make the site look nice on sites that embed the menu from elsewhere */
    padding: 0px;
    margin: 0px;

    background-image: url(images/background.png);
    /*background-color: #ffffff;*/
    font-size: .85em;
    font-family: Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    /*color: #696969;*/
}

div {
    /*font-size: small;*/
    font-size: 11px;
}

a:link {
    /*color: #034af3;
    text-decoration: underline;*/
    FONT-FAMILY: ARIAL,HELVETICA,SANS-SERIF ;
    COLOR: #398FD1;
    FONT-SIZE: 11PX;
    TEXT-DECORATION: NONE;
}

a:hover {
    color: #3C5BA3;
    TEXT-DECORATION: underline;
}

a:visited {
    color: #398FD1;
    TEXT-DECORATION: none;
}

a:hover {
    color: #3C5BA3;
    text-decoration: underline;
}

a:active {
    color: #12eb87;
}

/* From here it is simply stuff that is used by the menu exclusively */
p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

.adminerror {
    padding: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}

.transparent {
    background-color: transparent;
}

.hidden {
    display: none;
}

.action {
    font-family: LATO !important;
    font-weight: bold !important;
    font-size: 12px !important;
    color: #398FD1 !important;
    text-decoration: none !important;
}

.action:hover {
    color: #3C5BA3 !important;
    text-decoration:underline !important;
    cursor:pointer;
}