﻿body
{
    text-align:center;
    font-family:Tahoma, Verdana, Arial;
    font-size:12px;
}

a, a:visited
{
    color:#435987;
}

#main
{
    width:1000px;
    margin:auto;
    text-align:left;
}

#top
{
    margin-left:10px;
    vertical-align:top;
}

#logo, #leonardo_logo
{
    float:left;
}

#menu { float:right; }
#menu a { margin-left:5px; }

#homepage_left, #left { float:left; clear:both; }
#left { width:79%; }
#partners a { margin:0; }
#partners
{
    font-size:11px;
    color:#666666;
    text-align:center;
}
#homepage_left #partners { margin-top:-20px; }
#partners div { text-align:left; margin-bottom:10px; margin-left:10px; }
#partners span { vertical-align:top; }

#left #partners { margin-top:10px; }

#ShortInfoOnMartel-BelowDropDown, #ShortInfoOnMartel-BelowDropDown a, li.highlight, li.highlight a
{
    color:Red;
}

a img { border-width:0; }
.centre { text-align:center; }
.gray_headline
{
    background:url(../images/gray_headline_bg.jpg);
    height:32px;
    margin-bottom:5px;
}

.gray_headline div
{
    background:url(../images/gray_headline_left.jpg) no-repeat top left;
    height:32px;
}

.gray_headline div h1
{
    background:url(../images/gray_headline_right.jpg) no-repeat top right;
    font-size:18px;
    height:32px;
    padding:5px 10px 0 15px;
    font-family:Tahoma, Verdana, Arial;
}

.content_box 
{
     background:url(../images/content_box_left_top.jpg) no-repeat left top;
     font-family:Verdana, Tahoma, Arial;
     font-size:12px;
     text-align:justify;
}
#news .content_box { font-size:11px; }
.content_box .right_top { background:url(../images/content_box_right_top.jpg) no-repeat right top; }
.content_box .right_bottom { background: url(../images/content_box_right_bottom.jpg) no-repeat right bottom; }
.content_box .left_bottom
{
    background: url(../images/content_box_left_bottom.jpg) no-repeat left bottom;
    padding:15px 15px 15px 15px;
}
.content_box p { margin:0 0 5px 0;}
.content_box ul { margin: 0 0 0 10px; padding: 0; }
ul li { margin-top: 3px; }

#homepage_right
{
    margin-top:0px;
    width:420px;
    float:right;
}

#middle
{
    float:none;
    clear:both;
    padding-top:25px;
}

.pink_box
{
    background:url(../images/pink_headline_bg.jpg) repeat-x #f7b2a7;
    height:31px;
    margin-bottom:5px;
}
.pink_box div { background:url(../images/pink_headline_left.jpg) no-repeat left top; height:31px; }
.pink_box div h1
{
    background: url(../images/pink_headline_right.jpg) no-repeat right top;
    height:31px;
    font-size:18px;
    font-family:Tahoma, Verdana, Arial;
    color:#e53231;
    padding:4px 10px 0 15px;
    margin:0;
}

#addins { margin-top:10px; }

#news
{
    width:100%;
    float:left;
}

#right_to_news
{
    float:left;
    width:45%;
    margin-left:10px;
}

.green_box 
{
     background:url(../images/green_box_left_top.jpg) no-repeat left top;
     font-family:Verdana, Tahoma, Arial;
     color:#5d770a;
     font-size:14px;
     text-align:center;
     font-weight:bold;
}
.green_box .right_top { background:url(../images/green_box_right_top.jpg) no-repeat right top; }
.green_box .right_bottom { background: url(../images/green_box_right_bottom.jpg) no-repeat right bottom; }
.green_box .left_bottom
{
    background: url(../images/green_box_left_bottom.jpg) no-repeat left bottom;
    padding:10px;
}

.green_box select
{
    width:100%;
    margin-top:10px;
    border: solid 1px #5d770a;
}

.lifering
{
    margin-top:10px;
    text-align:center;
    background:url(../images/lifering.jpg) no-repeat center top;
    font-size:15px;
    font-weight:bold;
    height:133px;
}

.lifering a
{
    color:#0d388e;
    text-decoration:none;
    height:75px;
    display:block;
    padding-top:58px;
}

.lifering a:hover { text-decoration:underline; }

#footer
{
    clear:both;
    float:none;
    text-align:center;
    padding-top:20px;
    font-size:10px;
    display:none;
}

#footer a { color:#e12a2a; margin:0 3px; text-decoration:none; }
#footer a:hover { text-decoration:underline; }

#left > .headline { background-image:url(../images/headline_bg.png); background-repeat: repeat-x; height:34px; }
#left > .headline div { background:url(../images/headline_left.png) no-repeat left top; height:34px; }
#left > .headline h1
{
    margin:0;
    padding:0 20px;
    background:url(../images/headline_right.png) no-repeat right top;
    height:34px;
    font-size:18px;
    padding-top:5px;
}

#border_box
{
    background:url(../images/box_border_left.jpg) repeat-y left;
}

#border_box #border_box_right
{
    padding: 10px 20px 5px 20px;
    background:url(../images/box_border_right.jpg) repeat-y right;
    text-align:justify;
}

#border_box .headline2
{
    font-weight:bold;
    text-transform:uppercase;
    float:left;
    width:100%;
}

#border_box .narrowheadline
{
    width:70%;
}

#border_box .article_file
{
    float:right;
    text-align:right;
}

#border_box .article_file a
{
    color:#435987;
    text-decoration:none;
    font-weight:bold;
}

#border_box .article_file img
{
    vertical-align:middle;
    padding-bottom:3px;
}

#border_box p.headline2 > #border_box p
{
    clear:both;
}

#border_box .headline
{
    height:18px;
    color:#fff;
    padding:2px 5px 4px 5px;
    background:url(../images/headline_bg.png) repeat-x top #6e6a6a;
    cursor:pointer;
    margin-top:3px;
}

#border_box .headline:hover h1 { text-decoration:underline; }

#border_box .headline h1
{
    float:left;
    font-size:16px;
    margin:0;
    width:90%;
}

#border_box .double_headline, #border_box .double_headline h1 { height:36px; }
#border_box .double_headline
{
    background-image: url(../images/headline_db_bg.png);
}

#border_box #instruction
{
    margin-top:0;
    color:Gray;
    padding:3px 0 0 25px;
    background:url(../images/info.jpg) no-repeat left top;
    height:20px;
    display:none;
}

.headline span
{
    font-weight:bold;
    float:right;
    font-size:11px;
    margin-top:3px;
}

#border_box p
{
    margin: 10px 5px;
}

#border_box .first_paragraph
{
    clear:both;
}

#border_box > div
{
    float:none;
    clear:both;
}

#box_bottom
{
    background:url(../images/box_bottom_left.jpg) no-repeat left top;
    height:17px;
}

#box_bottom .right
{
    height:17px;
    background:url(../images/box_bottom_right.jpg) no-repeat right top;
}

#right { float:right; margin-right:10px; }

.button { background:url(../images/button_bg.png) repeat-x #435987; height:51px; margin-bottom:10px; }
.button .left
{
    background:url(../images/button_left.png) no-repeat left bottom;
    height:51px;
}
.button .right
{
    background:url(../images/button_right.png) no-repeat right bottom;
    height:51px;
}
.button h2
{
    margin:0;
    padding:0 10px 0 15px;
    font-size:13px;
    width:160px;
    height:51px;
    #padding-top:17px;
} 
.button a
{
    color:#fff;
    text-decoration:none;
	height:52px;
	display: table-cell;
	vertical-align: middle;
	width:100%;
}
h2 a:hover
{
    text-decoration:underline;
}

#middle > #bubbles
{
    margin-top:-15px;
    margin-bottom:10px;
}

#buttons_test-takers .button, .headline_test-takers {background-color:#435987;}
#buttons_test-takers a, .headline_test-takers h1 { color:#fff; }

#buttons_teachers .button, .headline_teachers { background-color:#beda6b; }
#buttons_teachers a, .headline_teachers h1 { color: #374025; }

#buttons_maritime-companies .button, .headline_maritime-companies { background-color:#f1c644;}
#buttons_maritime-companies a, .headline_maritime-companies h1 { color:#23392c; }

#buttons_institutions .button, .headline_institutions { background-color:#e6302c; }
#buttons_institutions a, .headline_institutions h1 { color: #fff; }

#buttons_researchers .button, .headline_researchers { background-color:#c7d1c8; }
#buttons_researchers a, .headline_researchers h1 { color: #0d388e; }

table.partners tr td:first-child
{
    text-align:center;
    width:20%;
    border-left-width:1px;
}

table.partners tr:first-child td
{
    border-top-width:1px;
}

table.partners td:first-line
{
    font-weight:bold;
}

table.partners td
{
    padding:5px;
    border:solid 1px black;
    border-left-width:0;
    border-top-width:0;
}

span.red
{
    color:crimson;
}

.DropDownPartners
{
    font-family:Tahoma;
    font-size:11px;
}

.demoImage { float:left; display:block; }
.demoLinks a { display:block; margin-top: 10px; font-size:15px; text-align:left; }
.demoLinks a span { font-size:12px; color:Gray; }
.demoLinks { float:left; margin-left:15px; padding-top:60px; }

.clear { float:none; clear:both; width:100%; }

.centre { text-align:center; margin:0 auto; width:85%; }
.centreGuidelines { text-align:center; margin:0 auto; width:60%; }

.studyGuideline { float:left; text-align:left; }
.studyGuideline + .studyGuideline { margin-left:10px; border-left:1px solid black; padding-left:10px; }
.studyGuideline a { display:block; background: url(../images/pdf_download.png) no-repeat; padding-left:40px; height:35px; padding-top:8px; }
.studyGuideline a { margin-top:5px; }