/*----------------------------------------------
    HTML ELEMENTS
-----------------------------------------------*/

body {
    margin: 0;
    padding: 30px 0 0 0;
    /*width: 100%;*/
    max-width: 1020px;
    min-width: 480px;
    background-color: #fff;
    color: #000;
    text-align: left;
    font-family: "Lucida Grande", "Trebuchet MS", Verdana, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.45em; /* 15.95px => 16px */
    letter-spacing: 0;
    text-decoration: none;
    word-spacing: normal;
}

a,
a:hover,
a:active,
a:visited {
    /*padding-bottom: 1px;*/ /* text to border-bottom distance */
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
}

h3 {
    font-weight: bold;
    text-transform: uppercase;
}

strong {
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
}

em {
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
}


/*----------------------------------------------
    HTML FORM
-----------------------------------------------*/

/*
form ol,
form ol li {
    width: 100%;
}

form ol li {
    list-style: none;
    margin: 0;
}

form input {
    margin-left: 3px;
    width: 70%;
}

form label {
    display: block;
    margin: 0.5em 0 0 0;
    font-weight: bold;
}

form select {}

form select option {}

button {
    margin-top: 2em;
}
*/

form table {
    width: 100%;
}

form td {
    width: 100%;
}

form td label {
    display: block;
    margin: 0.5em 0 0 0;
    font-weight: bold;
}

form td input {
    margin-left: 3px;
    width: 70%;
}

form button {
    margin-top: 1.45em;
}

form button.download {
    margin-top: 3px; /* optically adjusted */
}



/*----------------------------------------------
    LAYOUT STYLES
-----------------------------------------------*/

/* Column 1 headline and paragraph */
div.col1 h3 {
    margin: 1.45em 0 0 0;
}
div.col1 h3:first-child {
    margin: 0;
}
div.col1 p:last-child {
    margin-bottom: 26px; /* 30px optically adjusted */
}

/* Column 1 List */
div.col1 ul {
    margin-top: 0;
    margin-bottom: 1.6em;    
    line-height: 1.6em;
    list-style: none;
	margin-left: 1em;
	padding-left: 1em;
	padding-right: 1em;
	text-indent: -2em;
}
div.col1 ul li:before {
    content: "\2014"; /* em dash */
    padding-right: 1em;
}
div.col1 ul:last-child {
    margin-bottom: 26px; /* 30px optically adjusted */
}

/* Column 2 headline and paragraph */
div.col2 p {
    margin: 1.45em 0;
}

div.col2 p:first-child {
    margin-top: 0;
}

div.col2 h3 + div > p:first-child {
    margin-top: 1.45em;
}

div.col2 p + h3,
div.col2 form + h3 {
    padding-top: 12px; /* 1.45em optically adjusted */
    border-top: 1px solid #000;
}

/* Gallery */
div.gallery img {
    width: 100%;
    margin-bottom: 30px;
}
div.col1 img {
    max-width: 580px;
}
div.col2 img {
    max-width: 280px;
}

/* Typetester */
div.typetester {
    margin-bottom: 30px;
}



/*----------------------------------------------
    LAYOUT (based on http://matthewjamestaylor.com/blog/perfect-2-column-right-menu.htm)
-----------------------------------------------*/

/* column container */
.colmask {
    position: relative; /* This fixes the IE7 overflow hidden bug */
    clear: both;
    float: left;
    width: 100%; /* width of the whole page */
    overflow: hidden; /* This chops off any overhanging DIVs */
}

/* common column settings */
.colright,
.colmid,
.colleft {
    float: left;
    width: 100%;
    position: relative;
}
.col1,
.col2,
.col3 {
    float: left;
    position: relative;
    /*padding: 0 0 1em 0;*/
    overflow: hidden;
}

/* 1 Column (whole page width) */
.colAll {
    float: left;
    position: relative;
    overflow: hidden;
}
.rightmenu .colAll {
    width: 92.17%; /* [35.3 + 56.87] */
    left: 39.22%;
}

/* 2 Column (right menu) settings */
.rightmenu {
    /*background: #ccc;*/ /* right column background colour */
}
.rightmenu .colleft {
    right: 35.3%; /* right column width [3.92 + 27.47 + 3.91], right padding 0.01 smaller for proper image rendering (280px) */
    /*background: #fff;*/ /* left column background colour */
}
.rightmenu .col1 {
    width: 56.87%; /* left column content width (left column width minus left and right padding) */
    left: 39.22%; /* (right column width [35.3]) plus (left column left padding [3.92]) */
}
.rightmenu .col2 {
    width: 27.47%; /* right column content width (right column width minus left and right padding) */
    left: 47.06%; /* (right column width [35.3]) plus (left column left and right padding [7.84]) plus (right column left padding [3.92]) */
}



/*----------------------------------------------
    HEADER
-----------------------------------------------*/

/* logo */
div#logo {
    padding: 6px 0 0 5px; /* optically adjusted logo position */
}
div#logo a,
div#logo a:hover {
    border-bottom: none;
}

/* about */
div#about {
    white-space: nowrap;
}

/* meta navigation */
ul.metaNav {
    padding: 1.45em 0 8px 0;
}
ul.metaNav li {
    display: inline;
}
ul.metaNav li a {
    border-bottom: 1px solid #000;
}
ul.metaNav span.last {
    display:none;
}



/*----------------------------------------------
    NEWS (news bar, news list)
-----------------------------------------------*/

/* news bar */
div#news {
    margin: 25px 0 33px 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    height: 36px;
    line-height: 36px;
    overflow: hidden;
    white-space: nowrap;
}
div#news a {
    border-bottom: none;
}
div#news li:hover {
    cursor: pointer;
}
/* needed, if TinyMCE is used as editor */
div#news li p {
    display: inline;
}

/* news list */
div#newsList {
    margin-top: 25px;
    border-top: 1px solid #000;
}
div#newsList ul li {
    padding: 10px 0;
}
div#newsList li p {
    display: inline;
}

/* black */
div#newsList ul li#item_1,
div#newsList ul li#item_1 a {
    border-bottom: 1px solid #000;
    color: #000;
}

/* magenta */
div#newsList ul li#item_2,
div#newsList ul li#item_2 a,
div#newsList ul li#item_3,
div#newsList ul li#item_3 a {
    border-bottom: 1px solid #e2007a;
    color: #e2007a;
}

/* cyan */
div#newsList ul li#item_4,
div#newsList ul li#item_4 a,
div#newsList ul li#item_5,
div#newsList ul li#item_5 a,
div#newsList ul li#item_6,
div#newsList ul li#item_6 a {    
    border-bottom: 1px solid #009ee0;
    color: #009ee0;
}

/* yellow */
div#newsList ul li,
div#newsList ul li a {   
    border-bottom: 1px solid #ffed00; 
    color: #ffed00;
}



/*----------------------------------------------
    INDEX NAV
    
    ul.indexNav     => ABC
    ul.indexNavSub  => Projects  
-----------------------------------------------*/

ul.indexNav,
ul.indexNavSub {
    display: inline;
}

ul.indexNav li,
ul.indexNavSub li {
    display: inline;
}

ul.indexNav li img,
ul.indexNavSub li img {
    vertical-align: top;
    margin-bottom: 30px;
}

ul.indexNavSub > li {
    padding: 0 20px 0 0;
}

ul.indexNavSub a,
ul.indexNavSub a:hover {
    border-bottom: none;
}

ul.indexNav img,
ul.indexNavSub img {}



/*----------------------------------------------
    PAGING NAV
-----------------------------------------------*/

div#pagingNav {
    margin: 0 0 33px 0;
}

div#pagingNav a,
div#pagingNav a:hover {
    border-bottom: none;
}



/*----------------------------------------------
    FOOTER
-----------------------------------------------*/

#footer {
    margin-top: 10px;
    padding: 10px 0 11px 0; /* optically centered */
    border-top: 1px solid #000;
}

/* news list footer */
#newsFooter {
    padding: 10px 0 11px 0; /* optically centered */
    border-top: none;
}

span#footerNav {
    float: right;
}



/*----------------------------------------------
    CLASSES AND MISCELLANEOUS
-----------------------------------------------*/

/* jQuery Tooltip */
#tooltip {
    position: absolute;
    z-index: 1000;
    border: none;
    background-color: #fff;
    padding: 4px 4px;
}
#tooltip h3, #tooltip div {
    margin: 0;
    color: #000;
}

/* Google maps */
div.map {
    width: 580px;
    height: 387px;
    overflow: hidden;
    margin-bottom: 30px;
}
div.map iframe {
    margin: 0;
    padding: 0;
    width: 580px;
    height: 420px;
    border: 0;
    overflow: hidden;   
}