/*
  Base layout and style for Javad's website.
*/

body {
    position: relative; 
    margin: 0; 
    padding: 0; 
    background: #f9f9f7; /* pale grey */
}

h1 {
    font: 25px Georgia;
    margin-top: -10px;
    padding: 15px 15px 60px 15px; 
    text-align: center; 
    text-transform: uppercase;
    vertical-align: middle; 
    white-space: nowrap;
}

h2 {
    font: 20px Georgia; 
    text-align: center;
    text-transform: Capitalize;
    text-transform: uppercase;
    padding-bottom: 25px;
}

a {
    text-decoration:none;
}

a:visited {
    color:  #32127A;
}

div#content {
    font: normal 16px Georgia, sans-serif; 
    position: absolute; 
    top: 0px; 
    left: 180px; 
    right: 180px;
    border-top: solid 12px  #7f007f; /* irnux purple */ 
}

div#content p {
    font: normal 20px Georgia;
    line-height: 1.5; 
    margin-top: 0;
}

div#hilight p {
    font: normal 30px Georgia; 
    line-height: 1.3;
    padding: 30px 0 30px 0;
    text-align: left; 
    border-bottom: 1px solid #d3d2cc;
    border-top: 1px solid #d3d2cc;
}

div#subtitle {
    font: 14px Georgia; 
    color: grey;
    margin-bottom: 5px;  
    margin-top: 5px; 
    padding-top: 10px;
    text-align: center; 
    font-style: italic;
}

div#footer {
    margin-top: 100px;
    border-bottom: solid 5px #a955a9; /* irnux light purple */ 
}

div#footer p {
    color: grey; 
    text-align: center; 
    margin-bottom: 3px;
    padding-bottom: 3px;
    font-size: 0.85em;
}

div#footer a {
    text-decoration:none;
}

div#content a:link {
    color:  #32127A; /* Persian Indigo */
} 

div#content a:visited {
    color:  #32127A; 
}

div#content a:link:hover {
    color: #CD5C5C;  
    border-width:0;
    text-decoration:underline;
}

div#content a:visited:hover {
    color: #CD5C5C;
}

div#hilight a:link {
    color:  #32127A;
    text-decoration: none;
}

img.pic {
    border: 2px solid #ccc; 
    padding:3px; 
    background:#eee;
}

div#contact {
    text-align: left; 
    padding-left: 2.5px;
}

div#contact ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

div#contact li {
  font-size: 14px;
  font-size: 0.875rem;
  margin-bottom: 0.5em;
  padding-left: 5px;
  border: none;
  background: none;
  color: #60b1e8;
  font-weight: bold;
  font-style: italic;
}

div#contact a {
    text-decoration:none;
}

div#contact a:link:hover {
    cursor: pointer;
    text-decoration: none;
}

div#contact a:hover span {
    color : #32127A;

}

a.pdf-icon {
    padding-right: 25px;
    background: url(../img/icons/page_white_acrobat.png) right no-repeat; 
}

div#bio p {
    padding-left:5em;
    margin-left:1em;
    margin-top:-12em;
}


div.error { 
    border: 1px solid red; 
    padding: 10px; 
    margin: 1em;
}


