/* Start of CMSMS style sheet 'SUNY upgraded CSS' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 12px;
   line-height: 14px;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 12px;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
   margin:10px;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link, 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background: transparent; 
    color: #622c27;
}

a:visited {
   text-decoration: underline;
   background: transparent;
  color: #505050;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: transparent;
   color: #385C72;
}

.albumlist{
text-align: center;
}

/*****************
basic layout 
*****************/
body {
   background-color: #ccc;
   color: #333;
   margin-top:15px;  /*gives some air for the pagewrapper */
   margin-bottom:15px;
}

table td {
padding: 5px;
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 1px solid black;
   margin: 0 auto;     /* this centers wrapper */
   width: 1260px;
   height: 990px;
   _height: 770px !important;
   background-color: #fff;
   color: black;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 319px; /* adjust according your image size */
   width: 1260px;
   background: #fff2cd;     
   margin: 0px;
}

div#header h1 a {
/* you can set your own image here */
   background: #fff2cd url(/images/header-suny1280.jpg) no-repeat; 
   display: block; 
   height: 319px;
   width: 1260px;
   text-indent:-999em;
   text-decoration:none;
}

div#logo{
display: block;
postion: relative;
height: 126px;
width: 220px;
margin-left: 945px;
margin-top:-180px;
*margin-top:-182px !important;
_margin-top: -182px !important;
font-size: 13px;
line-height: 16px;
}

div#logo a{
display: block;
postion: relative;
background: url(/images/logo.jpg) no-repeat;
height: 86px;
width: 220px;
padding-top: 50px;
padding-left: 5px;
text-decoration: none;
text-align: center;
color: #848381;

}

div#logo a:hover{
background: url(/images/logo-active.jpg) no-repeat;
color: #007EC6;
}

div#phone {
background: url(uploads/mba/phone.png)no-repeat;
margin-left: 5px;
height: 28px;
font-size: 14px;
font-weight: bold;
padding-top:5px;
padding-left: 30px !important;
color: #370200;
}


div#zayava {
display: block;
position: relative;
float: left;
width: 156px;
height: 56px;
margin-top: -319px;
*margin-top: -325px;
_margin-top: -328px;

margin-left: 60px;
_margin-left: 30px;

}
div#zayava a{
display: block;
position: relative;
width: 156px;
height: 56px;
margin: 0px;
color: #FFFFFF;
text-indent: 20px;
padding-top: 20px;
line-height: 12px;
text-indent: 10px;
font-weight: bold;
text-decoration: none;
background: url(/images/zayava.jpg) no-repeat;
/*z-index: 10;*/
}

div#zayava a:hover{
text-decoration: underline;
}

div#content {
  display: block;
  position: relative;
  background: #FFFFFF url(/images/content1280.jpg) repeat-y;

  top:-40px;
  _margin-top:-22px;
  width: 1260px;
  height: 600px;
  _height: 550px;
}

div#newsimage{
float: left;
}


div#main {
display: block;
position: relative;
float: left;
/*border: 1px solid black;*/
width: 573px;
height: 425px;
overflow-y: auto;
overflow-x: hidden;
margin-bottom: 0px;
margin-top: 30px;
*margin-top: 20px;
*top: 20px;
_margin-top: 20px;
/*margin-bottom: 35px;*/
padding-left: 15px;
padding-right: 10px;
padding-top: 10px;
background: transparent;
left: 20px;
font-size: 12px;
line-height: 14px;
}

div#main p {
font-size: 12px;
line-height: 16px;
}

#main-header{
display: block;
position: absolute;
height: 40px;
left: 340px;
margin-top: 10px;
}

#main-header h3{
display: inline;
font-size: 20px;
color:#600000;
text-align: center;
}

div#sidebar{
display: block;
position: relative;
float: left;
width: 234px;
height: 590px;
background: url(/images/sidebar2-mba1280.jpg) repeat-y;
top:0px;
margin-left:  49px;
_margin-left: 25px;
/*border: 1px solid white;*/
}

div#search{
display: block;
position: relative;
background:#DEBF89; /*url(uploads/mba/search.jpg) no-repeat;*/
margin-top: 6px;
margin-left: 5px;
width: 220px;
height: 65px;
font-size: 10px;
}
input#submitbutton{
float: right;
margin-top: -6px;
margin-right: 6px;
width: 50px;
font-size: 11px;
}

#searchinput{
margin-top: 8px;
width: 210px;
margin: 8px auto;
font-size: 12px;
background: #fff;
padding-left: 4px;
}

div#banner1{
display: block;
position: relative;
margin-top: 5px;
margin-left: -5px;
*margin-left: 5px;
_margin-left: -5px;
}

div#banner2{
display: block;
position: relative;
margin-top: 5px;
margin-left: 5px;
}

div#banner3{
display: block;
position: relative;
margin-top: 5px;
margin-left: -5px;
}

div#banner4{
display: block;
position: relative;
margin-top: 5px;
margin-left: -5px;
}

div#sidebar img{
width: 220px;
height:80px;
}

div#right-sidebar {
   display: block;
   position: relative;
   float: left;
   left: 30px;
   background: transparent url(/images/newsbg.jpg) repeat-x;
   width: 295px;
   top: 0px;
   height: 590px;
   border: none;/*1px solid black;*/

}

div#banid1{

margin-top: 20px;
}


div#footer {
   clear:both;       /* keep footer below content and menu */
   display: block;
   position: relative;
    color: #622c27;
   background: #fff2cd url(/images/footer1280.jpg) no-repeat; /* same bg color as in header */
   height: 90px;
   width:1260px;
   padding-top: 5px;
   top: 0px;

}

div#footer p {
   font-size: 12px;
   margin:0;
   padding-left: 40px;
   line-height: 14px;
}

div#footer a:link {
   text-decoration: underline;
    color: #622c27;
}

div#footer a {
   text-decoration: underline;
    color: #622c27;
    background: transparent;
}
div#footer a:hover {
   text-decoration: underline;
    color: #622c27;
    background: transparent;
}

label {
width: 200px;
float: left;
}
input{
width: 200px;
float: left;
}


/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}


div#menu_two
{
width: 167px;
height: 35px;
display: inline-table;
position: relative;
top: -40px;
left: 846px;
}


/********************
CONTENT STYLING
*********************/

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}


div#content h2 {
   color: #294B5F; 
   font-size: 1.5em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0.5em;
   padding-bottom: 1px;
/* set borders around header */
   border-bottom: 1px solid #e7ab0b; 
   border-left: 1.1em solid #e7ab0b; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #4D0F15; 
   font-size: 18px;
   line-height: 20px;
   margin-bottom:15px;
/*   position: relative;*/
/*   top: -430px;*/
   left: 280px;
/*   width: 300px;*/
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 4px 0;  /* some air around p elements */
   line-height:14px;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */
/* End of 'SUNY upgraded CSS' */

