/* 
theme: Grazia Layout
author: mackoy consulting

- top
- top-navi
- main-wrapper

*/

* {
    font: 100% arial, geneva, sans-serif;
  margin: 0;
  padding: 0;
}

a {
  color: #000444;
  text-decoration: underline;
}

a:hover, a:active {
  color: #9999ff;
  text-decoration: none;
}

a:visited {
  color: #3333cc;
}

body {
  background-color: #000;
}

strong {
  font-weight: bold;
}

p {
  font-size: 13px;
}

h1 {
  font-size: 22px;
}

h2 {
  font-size: 16px;
}

h3 {
  font-size: 11px;
}
img, div, a, input { 
        behavior: url(/dms/system/css/iepngfix.htc) 
}

#top {
  width: 900px;
  height: 80px;
  margin: 0px auto;
  background: #000041 url(/dms/system/img/grazia_logo.png) no-repeat center center;
}

#top-navi {
  width: 900px;
  height: 21px;
    margin: 0px auto;
    border-bottom: 1px solid #e5e5ec;
    border-top: 1px solid #e5e5ec;
    background-color: #000041;  
    overflow: visible;
    z-index: 1000;
}

#top-navi img {
  float: left;
  border: 0px;
  z-index: 100000;
}

/*

#top-navi ul {
  margin: 0;
  padding: 0;
  font-size: 11px;
  list-style-type: none;
}

#top-navi li {
  display: inline;
  margin: 0;
}

#top-navi li a {
  float: left;
  display: block;
  text-decoration: none;
  margin: 0;
  padding: 4px 23px;
  color: #fff;
  background-color: #000041;
}

#top-navi .small {
  height: 19px;
  padding: 4px 4px;
}
#top-navi li.leaf a {
        background-color: #000041;
        color: white;
}

#top-navi li a:hover, #top-navi li.active a  {
  background-color: #fff;
  color: #000041;
}

#top-navi li li a:hover, #top-navi li li.active a  {
  background-color: #000041;
  color: #fff;
}
*/

#sub-navi {  
   margin-left: 25px;
}

#sub-navi ul {
  list-style-type: none;
}

#sub-navi h1 {
  color: #000041;
  font-size: 22px;
  background-color: #fff;
  margin-top: 95px;
  padding-top: 5px;
  padding-left: 10px;
  height: 30px;
  margin-bottom: 40px;
  opacity:.8;  
  filter: alpha(opacity = 80);
}

#sub-navi li {
  width: 362px;
  min-height: 15px;
  margin-bottom: 25px;
  display: block;
  background:  url(/dms/system/icon/arrow_bg/arrow_bg.png) no-repeat left 50%;
}

#sub-navi li a {
  min-height: 15px;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  display: block;    
  padding-left: 15px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-right: 15px;
}

#sub-navi li a:hover {
  color: #000041;
  padding-right: 15px;
}

#sub-navi li:hover, #sub-navi li.active {
  color: #000041;
  width: 384px;
  min-height: 15px;
  margin-bottom: 25px;
  display: block;
  background:  url(/dms/system/icon/arrow_big/arrow_big.png) no-repeat left 50%;
  padding-right: 15px;
}

#sub-navi li.active a {
  color: #000041;
  padding-right: 15px;
}

#main-area {
  margin-top: 70px;
  font-size: 13px;
}

#logo {
  position: relative;
  background-position: 0 0;
  display: block;
  top: 0;
  left: 0;
  height: 600px;
  width: 900px;
  background-color: #fff;
}

#main-area-person #logo span {
  position: relative;
  background-position: 100px 415px;
  display: block;
  top: 0;
  left: 0;
  height: 600px;
  width: 488px;
}

#main-wrapper {
  width: 900px;
    margin: 0px auto;
    background-color: #ffffff;
    height: 600px;
    display: block;
}

#main-wrapper h2 {
  font-size: 18px;
  font-size: bold;  
}

#main-wrapper h3 {
  font-size: 13px;
  font-size: bold;
}

.links {
  margin: 0px 20px 0px 16px;
  background-color: #fff;
}

.links li {
  margin: 0;
  padding: 0px;
}

#main-wrapper .imageGalleryHome {
  float: left;
  display: block;
  width: 163px;  
  margin: 20px 0px 0px 9px;  
}

#main-wrapper .galleryHomeText {
  min-height: 70px;
  max-height: 70px;
  /* height: 70px; */
  overflow: hidden;
}

#main-wrapper .galleryHomeText p {
  font-size: 12px;
  padding: 10px 10px 0 0;
}

#main-wrapper .imageGalleryHome img {
  float: none;
  display: block;
  border: 0px;
  height: 185px;
  width: 163px;
}

#main-wrapper .imageGalleryHome .linkBox a {
  width: 100px;
  height: 14px;
  background-color: #000041;
  float: none;
  color: #fff;
  font-size: 11px;
  text-decoration: none;  
  padding-left: 10px;
  padding-top: 1px;
  display: block;  
}

#main-wrapper .imageGalleryHome .linkBox {
  float: none;
  display: block;
  margin-top: 12px;
}

#main-left-column {
  width: 
  display: block;
}

#main-right-column {
  width: ${def.right_column_width!}
  display: block;
}

#extras {
}

#homeBox {
  width: 335px;
  height: 246px;
  display: block;
  background-color: #000041;
}

#homeBox h3 {
  height: 16px;
  font-size: 11px;
  color: #000041;
  background-color: #e5e5ec;
  border-top: 1px solid #000041;
  padding-left: 15px;
  padding-top: 9px;
}

#homeBoxContent {
  overflow: auto;  
  height: 220px;
}

#homeBoxContent a {
  color: #fff;
  text-decoration: underline;
}

#homeBoxContent a:hover,
#homeBoxContent a:active {
  color: #9999ff;
  text-decoration: none;
}

#homeBoxContent a:visited {
  color: #666699;
}

#homeBox p {
  font-size: 13px;
  color: #fff;
  padding: 15px; 
}

.screenTextBoxEdit {
  width: 337px;
}

#screenTextBox {
  width: 337px;
  max-height: 370px;
  /* height: 210px; */
  background-color: #fff;
  opacity:.8;
  filter: alpha(opacity = 80);
  padding: 10px 30px 10px 20px;
  margin-top: 170px;
  min-height: 218px;
  display: block;
  overflow:auto;
}

#personContent strong {
  color: #afafdc;
  font-weight: normal;
}

#personContent {
     padding-right: 15px;
}

#screenTextBox li,
#personContent li,
#homeBoxContent li,
#portFolioBox li,
#news-box li,
#contactBox li {
  margin-left: 25px;
}

#contactBox a {
  color: #fff;
  text-decoration: underline;
}

#contactBox a:hover,
#contactBox a:active {
  color: #9999ff;
  text-decoration: none;
}

#contactBox a:visited {
  color: #3333cc;
}

#screenTextBox ul, 
#screenTextBox ol{
  margin-top: 15px;
}

#screenTextBox p {
  font-size: 13px;
    line-height: 18px;
}

#screenTextBox h3 {
  font-weight: bold;
}

.downloadArea {
  width: 328px;
  height: 22px;
  background-color: #fff;
  opacity:.8;  
  filter: alpha(opacity = 80);
  margin-left: 33px;
  padding-top: 3px;
  margin-bottom: 20px;
}

.downloadArea a {
  color: #000041;
  text-decoration: none;
  font-size: 13px;
  padding-left: 15px;
}

.downloadAreaEdit {
  width: 361px;
  float: left;
}

.linksMain  {
  margin-top: 20px;
  display: block;
}

.linksMain p  {
  margin-top: 5px;
}

.linksMain a {
  color: #000041;
  font-size: 13px;
  text-decoration: underline;
  display: inline-block;
  padding-bottom:10px ;
}

.linksMain a:hover,
.linksMain a:active {
  color: #9999ff;
  text-decoration: none;
}

.linksMain a:visited {
  color: #3333cc;
}
      
.nav { /* all lists */
  padding: 0;
  margin: 0;
  list-style: none;
  line-height: 1;
    background-color: #000041;
    z-index: 1001;
}

.nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;  
  z-index: 1001;
}
.nav a {
  display: block;
  text-decoration: none;
  padding: 4px 23px;
  height: 13px;
  color: #fff;
  background-color: #000041;
}

.nav li li a {
  width: 10em;
  height: 100%;
}

.nav li { /* all list items */
  float: left;
  font-size: 11px;
}

.nav .level1 { /* second-level lists */
  position: absolute;
  width: 6em;
  left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
  background-color: #000041;  
   z-index: 1001;
   overflow: visible;
}

.nav li:hover ul, .nav li.sfhover ul { /* lists nested under hovered list items */
  left: auto;
  background-color: #000041;  
  display:block;
  z-index: 1001;
}

.nav .level1 {
  z-index: 1001;
}

.nav .small {
  height: 13px;
  padding: 4px 4px;
  display: block;
}
.nav li.leaf a {
  background-color: #000041;
  color: white;
}

.nav li a:hover, .nav li.active a, .nav li.active  {
  background-color: #fff;
  color: #000041;
  
}

.nav li li a:hover, 
.nav li li a, 
.nav li.active li a,
.nav li li.active a {
  background: #000041 url(/dms/system/icon/navi_arrow.png) 10px 5px no-repeat;
  color: #fff;
  z-index: 1001;
}

.nav li li li a:hover, 
.nav li li li a, 
.nav li li.active li a, 
.nav li.active li li a,
.nav li li li.active a {
  background: #000041 url(/dms/system/icon/empty.png) 10px 5px no-repeat;
  margin-left: 15px;  
  z-index: 1001;
}

.nav li li li a:hover, 
.nav li li a:hover {
  text-decoration: underline;
}

/*
.nav a:hover {
  text-decoration: none;
}

.nav li li a:hover {
  text-decoration: underline;
}
*/

.nav .trail .open a {
  background-color: #000041;
  color: #fff;
}

.nav .level1 .active {
  background-color: #000041;
  color: #fff;
}

.nav .trail a {
  background-color: #fff;
  color: #000041;
}

#top-navi img {
  float: left;
  border: 0px;
}

#person-teaser {
  margin-top: 90px;
  margin-left: 25px;
  width: 362px;
  max-height: 427px;
  display: block;
}

#contact {
  margin-left: 0px;
}

#navi-box {
  width: 100%;
  min-height: 18px;
  background-color: #e5e5ec;
  padding-top: 3px;
  padding-bottom: 3px;  
}

#contact #navi-box {
  margin-bottom: 50px;
}

#navi-box h2 {
  font-size: 16px;
  margin-left: 15px;
  float: left;
  color: #000041;
}

#navi-box a {
  font-size: 16px;
  text-decoration: none;
  color: #000041;
}

#contact #navi-box a {
  font-size: 16px;
  text-decoration: none;
  color: #000041;
  margin-bottom: 0px;
}

#person-teaser h1 {
  margin-top: 47px;
  margin-left: 15px;
}

#contact h1 {
  margin-top: 0px;
  margin-left: 15px;
}

#person-teaser h3 {
  font-size: 13px;
  margin-bottom: 20px;    
  margin-left: 15px;
}

#person-teaser p {;    
  margin-left: 15px;
}

#contact #navi-box h2 {
  font-size: 16px;
  margin-left: 15px;
  margin-right: 5;
  float: left;
}

#contact h3 {
  font-size: 13px;
  margin-left: 15px;
  margin-bottom: 0px;  
}

#contact a {
  font-size: 13px;
  text-decoration: underline;
  color: #000041;
  margin-left: 15px;
  margin-bottom: 40px;
  display: block;
}

#contact a:hover,
#contact a:active {
  color: #9999ff;
}

#contact a:visited {
  color: #3333cc;
}

.navi-box-edit-contact {
  width: 65%;
}

.gallery {
  float: left;
  margin-right: 5px;
}

#gallery_wrapper {
  margin-top: 170px;
}

.personTeaser {
  background-color: #000041;
  margin-left: 70px;
  margin-top: 70px;
  padding-bottom: 10px;
  height: 510px;
  overflow: hidden;
}

.personTeaser h1, .personTeaser h3 {
  margin-left: 15px;
  color: #fff;
}

.personTeaser img {
  margin-bottom: 20px;
  margin-left: 15px;
  width: 218px;
  height: 225px;
}

.personTeaser p {
  margin-top: 25px;
  margin-left: 15px;
  margin-right: 5px;
  color: #fff;
}

#navi-box-company {
  padding-top: 45px;
  /*border-bottom: 1px solid #000;*/
  vertical-align: middle;
}

#navi-box-company img {
  float: left;
}

#navi-box-company a {
  font-size: 26px;
  color: #000041;
  text-decoration: none;
}

#naviBoxCompany a {
  font-size: 13px;
  color: #000041;
  text-decoration: none;
}

#portFolioBox a {
  font-size: 13px;
  color: #000041;
  text-decoration: underline;
}

#portFolioBox a:hover,
#portFolioBox a:active {
  color: #9999ff;
  text-decoration: none;
}

#portFolioBox a:visited {
  color: #3333cc;
}

#portFolioBox {
  width: 400px;
  padding-right: 20px;
  max-height: 405px;
  opacity: .8;
  filter: alpha(opacity = 80);
  margin-left: 25px;
  background-color: #fff;
  display: block;
  overflow:auto;
  margin-top: 0px;
  top: 0;
}

#portFolioBox p {
  padding-left: 25px;
  padding-right: 10px;
  line-height: 18px;
}

#news-box {
  width: 534px;
  height: 470px;
  background-color: #000041;
  color: #fff;
  overflow: auto;
}

#news-box > div {
  padding-right: 15px;
}

#news-box h1  {
  padding-top: 15px;
  padding-left: 20px;
}

 #news-box p {
   padding-left: 20px;     
 }

#news-box h2 {
  padding-bottom: 20px;
  padding-left: 20px;
  font-size: 16px;
}

#news-box a {
  color: #fff;
  text-decoration: underline;
}

#news-box a:hover,
#news-box a:active{
  color: #9999ff;
  text-decoration: none;
}

#news-box a:visited {
  color: #666699;
}

#tagClouds {
  background-color: #e5e5ec;
  border-top: 1px solid #000;
  width: 506px;
  height: 245px;
}

#tagClouds h2 {
  background-color: #000041;
  width: 86px;
  height: 22px;
  color: #fff;
  display: block;
  text-align: center;
  padding-top: 3px;
}

#contactBox {
  margin-top: 70px;
  margin-right: 25px;
  width: 100%;
  margin-left: 25px;
  line-height: 18px;
}

#contactBox h1 {
  background-color: #000041;
  height: 30px;
  padding-left: 15px;
  padding-top: 5px;
  color: #fff;
}


#contactBox #cb_text0 {
  background-color: none;
  max-height: 470px;
  margin-top: 15px;
  padding: 15px;
  overflow: auto;  
}

#contactBox #cb_text1 {
  color: #fff;
  background-color: #000041;
  max-height: 440px;  
  margin-top: 15px;
  padding: 15px;  
  overflow: auto;
}


#contactBox #cb_text2 {
  background-color: #fff;
  opacity: .8;
  filter: alpha(opacity = 80);
  max-height: 470px;
  margin-top: 15px;
  padding: 15px;  
  overflow: auto;  
}


/* Additional Changes */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* fixes for navigation bar */
ul.level1, ul.level2 {
    width: 190px !important;
    z-index: 1000000;
}

#top-navi ul.level1 {
    margin-top: 0;
    border-top:1px solid white;
    padding-bottom: 5px;
    z-index: 1000;
}

#person-teaser #personContent {
    overflow: auto;
    padding-right: 10px;
    height: 365px;
    line-height: 18px;
    background-color: #fff;
}

ul.level2 li.active {
    background-color: #000041;
}

#news-list-box {
  width: 290px;
  height: 520px;
  margin-top: 70px;
  margin-left: 25px;
}

#news-list-box h1 {
  height: 30px;
  background-color: #000041;
  margin-bottom: 15px;
  padding-top: 5px;
  color: #fff;
  padding-left: 15px;
}

#news-list-box-body p {
  color: #000041;
  vertical-align: top;
}

#news-list-box-body {
  height: 470px;
  background-color: #fff;
  padding-left: 15px;
  color: #000041;
  overflow: auto;
}


#news-list-box-body a {
  color: #000041;
  text-decoration: underline;
  font-size: 16px;
  float: left;
  padding-top: 15px;  
}

#news-list-box-body a:hover,
#news-list-box-body a:active {
  color: #9999ff;
}

#news-list-box-body a:visited {
  color: #3333cc;
}

#news-list-box-body .arrow-box  {
  color: #000041;
  font-size: 28px;
  margin-right: 15px;
  float: right;
  text-decoration: none;
  padding-left: 15px;  
  padding-bottom: 30px;
}

#news-list-box-body .arrow-box:active,
#news-list-box-body .arrow-box:hover {
  color: #afafdc;
}

#news-list-box-body .arrow-box:visited {
  color: #d8dce8;
}

/* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */

#ie_historyFrame { width: 0px; height: 0px; display:none }
#firefox_anchorDiv { width: 0px; height: 0px; display:none }
#safari_formDiv { width: 0px; height: 0px; display:none }
#safari_rememberDiv { width: 0px; height: 0px; display:none }


#searchBox {
  width: 593px;
  height: 470px;
  margin-left: 25px;
  background-color: #000041;
  overflow: auto;
  margin-top: 25px;
}

#searchBox p {
  color: #fff;
  padding-left: 15px;
  padding-right: 25px;
  padding-top: 15px;
}

#searchBox a {
  color: #fff;
}

#searchBox a:hover,
#searchBox a:active {
  color: #9999ff;
}

#searchBox a:visited {
  color: #666699;
}

.light {
  background: #afafdc;
  font-style: normal;
}

.searchField { 
  background-color:#e5e5ec; 
  width:330px; 
  border:1px solid #000041; 
  font-size: 13px;
}

.searchHover {
  width: 65px;
  height: 21px;
  float: left;

}

.searchHover {
  background-image: url(/dms/system/icon/search_icon.png); 
  width: 65px;
  height: 21px;
}

.searchHover:hover {
  background-image: url(/dms/system/icon/search_icon2.png); 
}

li.line {
        border-right: 1px solid #fff;
}


/* SCREEN, SELECT, BUILD, WE */
#logo div.leftContent {
  float: left;
  width: 388px;
  padding-right: 60px;
}

#logo div.rightContent {
  float: left;
  width: 452px;
}


/* NEWS */
#logo div.leftNewsContent {
  float: left;
  width: 305px;
  padding-right: 35px;
}

#logo div.rightNewsContent {
  float: left;
  width: 560px;
  margin-top: 50px;
}

/* PERSON */
#main-wrapper > div.leftContent {
  float: left;
  width: 388px;
  padding-right: 25px;
}

#main-wrapper > div.rightContent {
  float: left;
  width: 452px;
}

/* Gallery */

#main-wrapper > div.rightContentGallery {
  float: left;
  width: 487px;
}


