﻿/*Javad Ghaderi
Version: 4.0
(Dec, 2019)

Screen layout: */

body {
margin: 0 auto;
padding: 0;
background: #f4f4f4 url('bg.gif') repeat-y top center; font-style:normal; font-variant:normal; font-weight:normal; font-size:76%; font-family:Book Antiqua}

#wrap {
background: #ffffff;
color: #303030;
margin: 0 auto;
width: 940px;
}

#header {
clear: both;
margin: 20px 0 0 0;
padding: 0;
height: 45px;
}

#header h1 {
width: 250px;
margin: 0 0 10px 0;
float: left;
}

#header p {
width: 500px;
float: right;
text-align: center;
color: #a0a0a0;
margin: 0 0 10px 0;
font-size: 0.8em;
line-height: 1.2em;
}

#frontphoto {
border: 0px none;; margin-left:0; margin-right:0; margin-top:0; margin-bottom:0px
}

#avmenu {
clear: left;
float: left;
width: 150px;
margin: 0 0 10px 0;
padding: 0;
font-size: 12pt;
font-family:serif}

#avmenu ul {	
list-style: none;
width: 150px;
margin: 0 0 20px 0;
padding: 0;
font-size: 12pt;
}	

#avmenu li {
margin-bottom: 4px;
}

#avmenu li a {
font-weight: bold;
height: 30px;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 0 0 10px;
background: #f4f4f4;
border-left: 4px solid #cccccc;
}	
	
#avmenu li a:hover {
background: #eaeaea;
color: #286ea0;
border-left: 4px solid #286ea0;
}




#tabmenu {
clear: none;
float: left;
width: 700px;
margin: 8px 0px 10px 40px;
padding: 0;
font-size: 12pt;
font-family: serif}

#tabmenu ul {	
list-style: none;
width: 700px;
margin: 0 0 20px 0;
padding: 0;
font-size: 12pt;
}	

#tabmenu li {
display: inline;
margin-right: 10px;
}

#tabmenu li a {
font-weight: bold;
height: 30px;
text-align: center;
text-decoration: none;
color: #505050;
padding: 6px 10px 10px 10px;
background: #f4f4f4;
width: 250px;
border-top: 4px solid #f4f4f4;
}	
	
#tabmenu li a:hover {
background: #eaeaea;
color: #286ea0;
border-top: 4px solid #eaeaea;
}

#tabmenu li a.active {
  background-color: #dddddd;
color: #286ea0; 
border-top: 4px solid #286ea0;}

#tabmenu hr{
margin: -11px 0 0 0;
height: 4px;	
color: #dddddd;
background-color:#dddddd;
border:none;
}


#tabmenu2 {
  clear: none;
  float: left;
  width: 700px;
  margin: 0px 0px 10px 40px; /* You can adjust top margin */
  padding: 0;
  font-size: 12pt;
  font-family: serif;
}

#tabmenu2 ul {	
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12pt;
  display: flex; /* Makes the list horizontal */
  flex-wrap: wrap; /* Allows wrapping if space is limited */
  gap: 10px; /* Spacing between tabs */
}	

#tabmenu2 li {
  flex: 0 0 auto; /* Prevents growing/shrinking */
}

#tabmenu2 li a {
  display: block;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #505050;
  padding: 10px;
  background: #f4f4f4;
  width: 140px;
  border-top: 4px solid #f4f4f4;
  white-space: normal; /* Allow wrapping */
  word-wrap: break-word;
}

#tabmenu2 li a:hover {
  background: #eaeaea;
  color: #286ea0;
  border-top: 4px solid #eaeaea;
}

#tabmenu2 li a.active {
  background-color: #dddddd;
  color: #286ea0; 
  border-top: 4px solid #286ea0;
}

#tabmenu2 hr {
  margin: -11px 0 0 0;
  height: 4px;	
  color: #dddddd;
  background-color: #dddddd;
  border: none;
}



.announce {
margin: 10px 0 10px 0;
padding: 10px;
width: 130px;
color: #505050;
background-color: #f4f4f4;
line-height: 1.3em;
}

#extras {
float: right;
width: 140px;
margin: 0 0 10px 0;
padding: 0;
font-size: 0.9em;
line-height: 1.5em;
}

#extras p {
margin: 0 0 1.5em 0;
}

#content {
margin: 0 40px 20px 150px;
border-left: 1px solid #f0f0f0;
border-right: 1px solid #f0f0f0;
padding: 0 10px 0 10px;
line-height: 1.6em;
text-align: left;
}

#content h2 {
font-size: 1.5em;
margin: 0 0 0.5em 0;
}
#content h4 {
font-size: 1.5em;
margin: 0.25em 0 -0.2em 0;
}


#content td {
	font-size: 12pt;
	font-family: Book Antiqua;
}

#content p {
	font-size: 12pt;
}

#content img {
padding: 0px;

background: #cccccc;
}

h3 {
font-size: 1.3em;
margin: 0 0 10px 0;
}

a {
text-decoration: none;
color: #286ea0;
}

a:hover {
text-decoration: underline;
color: #286ea0;
}

a img {
border: 0px none;
}

#footer {
clear: both;
margin: 0 auto;
padding: 10px 0 20px 0;
border-top: 4px solid #f0f0f0;
width: 800px;
text-align: center;
color: #808080;
font-size: 10pt;
}

#footer a {
color: #808080;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
}

.left {
margin: 10px 10px 5px 0;
float: left;
}

.right {
margin: 10px 0 5px 10px;
float: right;
}

.textright {
text-align: right;
}

.center {
text-align: center;
}

.small {
font-size: 0.8em;
}

.bold {
font-weight: bold;
}

.hide {
display: none;
}
