/* COMMON STYLING FOR MAIN CONTAINER */
body {
    text-align: center; /* Needed for centering in IE */
    min-width: 1008px;
    background-color: #FFFFFF;
    margin: 0;
    /*CSS3 only(removes horiz. scrollbar:  overflow-x:hidden; */
    overflow-x:hidden;
}

#wrapper {
    width: 1006px;
    margin: 0 auto; /* Centering for most browsers */
    text-align: left;
    background-color: white;
    height: 100%;
}

a {
    font-family: Verdana;
    font-size:  11px;
    font-weight: bold;
    color: #ee1c23;
    text-decoration: none; /*Jaak: normal links are not underlined.*/
}

a:hover {
    text-decoration: underline;
}

img {
    border: 0px;
}

img.rightmargin {
    margin-right: 25px;
}

div.employee {
    width: 600px;
    height: 160px;
    margin-top: 50px;
}
/* END: COMMON STYLING FOR MAIN CONTAINER */




/* HEADER */

#branding { /* Header default*/
    position: relative;
    height: 192px;
    background: url(/templates/asa/images/head_frontpage.jpg) top right no-repeat;
    border-left: 1px solid #e5e5e5;
}

#item2 #branding { /* Header for second menu tab selection */
    background: url(/templates/asa/images/head_portfolio.jpg) top right no-repeat;
}

#item3 #branding { /* Header for third menu tab selection */
    background: url(/templates/asa/images/head_services.jpg) top right no-repeat;
}

#item4 #branding { /* Header for third menu tab selection */
    background: url(/templates/asa/images/head_company.jpg) top right no-repeat;
}

#item5 #branding { /* Header for third menu tab selection */
    background: url(/templates/asa/images/head_join.jpg) top right no-repeat;
}

#item6 #branding { /* Header for third menu tab selection */
    background: url(/templates/asa/images/head_news.jpg) top right no-repeat;
}

#item7 #branding { /* Header for third menu tab selection */
    background: url(/templates/asa/images/head_development.jpg) top right no-repeat;
}

#branding img {
    position: relative;
    height: 100px;
    margin-top: -50px;
    top: 50%;
    left: 50px;
}
#branding #langSelector {
    position: absolute;
    bottom: 10px;
    right: 775px;
}

#bang_info {
    position: absolute;
    top: 0;
    left: 480px;
    width: 297px;
    height: 194px;
}

/* END: HEADER */



/* MAIN CONTENT */
#content {
    width: 710px;
    float: left;
    background: url(/templates/asa/images/content_corner.gif) top right no-repeat #e5e5e5;

	font-family: Verdana;
	font-size: 10px;
	font-weight: normal;

    /* Hack for setting min-height for IE. (http://www.dustindiaz.com/min-height-fast-hack/) */
    min-height: 473px;
    height:auto !important;
    height:473px;
    /* End of hack */
}

#inner-content {
    line-height: 190%; /*Jaak: increased line height to normal*/
    text-align: left;
    margin-left: 55px;
    margin-right: 100px;
    margin-top: 45px; /*Jaak: increased margin between menu and title*/
}

#content h1 {
    color: #ee1c23;
    font-family: Tahoma;
    font-size: 24px;
    font-weight: normal;
    line-height: 150%; /*Jaak: need to avoid too small line-height*/
}

#content p, table, ul, ol {
    color: #2e2e2e;
    font-size: 11px;
}

#content a {
	color: #2e2e2e; 
}
#content a img {
    border: none;
}
#content a:hover {
    text-decoration: underline;
}
/* END: MAIN CONTENT */





/* MOTO TOOLBAR */
#mainNav {
    width: 296px;
    float: left;
    padding: 0px;
    margin: 0px;
    height: 460px;
    /*background-color: #ee1c23;
    height: 460px;*/
}

#mainNav .separator {
        background-color: #ee1c23;
        height: 30px;
        padding: 0;
        margin: 0;
}

#mainNav p.left_image { /* Section image default */
    width: 100%;
    height: 171px;
    background: url(/templates/asa/images/left_frontpage.jpg) top right no-repeat;
    margin: 0;
    padding: 0;
}

#item2 #mainNav p.left_image { /* Section image for second menu tab selection */
    background: url(/templates/asa/images/left_portfolio.jpg) top right no-repeat;
}


#item3 #mainNav p.left_image { /* Section image for third menu tab selection */
    background: url(/templates/asa/images/left_services.jpg) top right no-repeat;
}

#item4 #mainNav p.left_image { /* Section image for third menu tab selection */
    background: url(/templates/asa/images/left_company.jpg) top right no-repeat;
}

#item5 #mainNav p.left_image { /* Section image for third menu tab selection */
    background: url(/templates/asa/images/left_join.jpg) top right no-repeat;
}

#item6 #mainNav p.left_image { /* Section image for third menu tab selection */
    background: url(/templates/asa/images/left_news.jpg) top right no-repeat;
}

#item7 #mainNav p.left_image { /* Section image for third menu tab selection */
    background: url(/templates/asa/images/left_development.jpg) top right no-repeat;
}
/* END: MOTO TOOLBAR */





/* CONTAINER WITH CENTERED TEXT */
#container {
    height: 272px; 
    width: 296px;
    background: url(/templates/asa/images/left_moto.png) top left no-repeat;
    overflow: hidden;
}

#centered {
    height: 150px; 
    width: 296px;
    position: relative;
    top: 50%;
    margin-top: -90px; /*Jaak: from -75px; move left moto up*/
    margin-left: 10px;
    vertical-align: middle;
}

#centered p {
    line-height: 190%;
    margin-top: 0px;
    color: #e5e5e5; /*color: #FFFFFF;*/
    text-align: left;
    padding-left: 70px;
    font-family: Verdana;
    font-size: 13px;
    font-weight: normal;
}
/* END: CONTAINER WITH CENTERED TEXT */






/* FOOTER */
#footer {
    clear: both;
    font-family: Verdana;
    font-size: 10px;
    font-weight: normal;
}

#footer ul {
    width: 710px;
    float: right;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

#footer ul li {
    padding-left: 10px;
    float: left;
    text-align: center;
    color: #ee1c23;
    font-size: 11px;
}

#footer .item53 { /* Hack for ASA name in footer */
    font-weight: bold;
    padding-left:55px;
}

/* END: FOOTER */