/*
## layout.css - Contains style for page layout
*/

/* Normalizes margin and padding */
* { 
  margin: 0;
  padding: 0;
}

/* Normalizes article content elements */
#content p,
#content dl.fileObject,
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content .image-box,
#content ol,
#content ul,
#content .flashContent,
#content .mediaPlayer,
#content .user-table,
#content .bordered-user-table,
#content .outlined-user-table,
#content .outlined-horizontal-user-table,
#content .horizontal-user-table,
#content .outlined-vertical-user-table,
#content .vertical-user-table,
#content .user-box,
#content form {
  margin-bottom: 12px;
}

img, fieldset {
  border: 0;
}

a {
  text-decoration: none;
  color: #34b1c5;
}

a:hover {
  text-decoration: none;
}

ul, ol {
  padding-left: 20px;
}

/** 75% sets medium size to 12px in standard browsers **/
body {
  font: 0.75em Tahoma, Verdana, Arial, Helvetica, sans-serif;
  background-color: #34b1c5;
  color: #5d5d5d;
}

h1, h2, h3, h4, h5 {
  font-weight: bold;
}

h1 {
  font-size: 1.67em;
}

h2 {
  font-size: 1.33em;
}

h3 {
  font-size: 1.17em;
}

h4 {
  font-size: 1.0em;
}

img {
  display: block;
}

input {
  font-size: 100%;
}


/*Calendar*/

.months{
  padding:4px;
}

.prev{
  float:left;
  font-size:95%;
  text-align:left;
  width:25%;
}

.thisMonth{
  float:left;
  font-weight:bold;
  text-align:center;
  width:50%;
}

.next {
  float:right;
  font-size:95%;
  width:10%;
}

.date {
  color:#5D5D5D;
  display:block;
}

.weekdays{
  border:1px solid #5d5d5d;
}

.smallEvent{
  margin-bottom:3px;
}

.eventDescription{
  margin-bottom:20px;
  font-weight:bold;
}

.seeMore a{
  display:block;
  margin-top:10px;
  padding-left:50px;
}

/********************
## Framework style ##
********************/
#wrapper {
  margin: 10px auto 0px auto;
  width: 960px;
}

#header {
  background-color: #fff;
  border: 10px solid #fff;
}

#logo {
  height: 95px;
}

#headerContainer {
  height: 185px;
  border: 1px solid #34b1c5;
  background: url('../../Header_bilder/uof_header2.jpg') no-repeat top left;  
}

#headerContainer img {
  margin: 10px 0px 0px 10px;
}

#main {
  margin-top: 11px;
  background-color: #fff;
}

#leftColumn {
  float: left;
  width: 170px;
  padding: 20px 20px 0px 10px;
}

#rightColumn {
  float: right;
  width: 170px;
  padding: 20px 10px 0px 20px;
}

#mainColumn {
  float: left;
  width: 540px;
}

#content {
  padding: 0 10px 0 15px;
}

#ads {
  float: right;
}

#searchForm,
#loginForm {
  float: right;
  width: 170px;
  padding: 6px 0;
  margin-bottom:10px;
}

#searchForm .query {
  width: 127px;
}

#content #extranettLogin fieldset {
  padding: 5px 10px 10px 10px;
}

#loginForm .username,
#loginForm .password {
  width: 162px;
}

#loginForm input,
#logoutForm input {
  float: right;
  margin-right: 0px;
  margin-top: 5px;
}

#loginForm,
#logoutForm {
  margin-bottom: 20px;
}

input {
  background: none;
  border: 1px solid #5D5D5D;
  color: #5D5D5D;
  font-size: 1.00em;
  padding: 3px;
  margin-right: 5px;
}

#searchForm .button {
  width: 30px;
  padding: 2px;
  margin-right: 0px;
}

.columnContainer {
  width: 240px;
  float: left;
  padding-right: 10px;
}

#frontpagePush {
  padding-bottom: 20px;
  border-bottom: 1px solid #5d5d5d;
}

#strapline {
  position: relative;
  left: 270px;
  top: 50px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  width: 670px;
}

#footer {
  margin-top: 10px;
  background: #fff;
  padding: 7px;
  margin-bottom: 30px;
}

.ad {
  padding-bottom: 12px;
}

/* TODO: add styles for idium footer and customer footer */

/******************
## COMMON STYLES ##
******************/
h4.boxTitle {
  color: #fff;
  background: #a1a1a1;
  padding: 5px 20px;
  margin-bottom: 0;
}

div.box {
  border-bottom: 1px solid #f0f0f0;
}

div.box .content {
  padding: 15px 10px;
}

/*************************
## SUMMARY|ARTICLE LIST ##
*************************/
#content {
  margin-bottom: 20px;
  margin-top: 20px;
}

#content .summary,
#content .article {
  padding: 20px 0px 0px 0px;
  float: left;
}

#content .summary h3, 
#content .article h3 {
  margin-bottom: 3px;
}

#content .first {
  float: none;
  width: 520px;
  padding-top: 0px;
}

#content .summary img {
  padding-right: 10px;
}

#content h1 a.title,
#content h2 a.title {
  color: #5d5d5d;
}

#content .article .text {
  margin-bottom: 15px;
  font-size: 1.00em;
}

.login {
  float: right;
  width: 170px;
  text-align: right;
}

#content.frontpage .even {
  float: left;
  width: 245px;
  padding-right: 10px;
}

#content.frontpage .odd {
  float: right;
  width: 245px;
  padding-left: 10px;
}

#meltwater ul {
  padding-left: 0px;
  padding-bottom: 30px;
}

#meltwater li {
  list-style: none;
  padding-top: 5px;
}

#meltwater a {

}

.searchQuery {
  float: left;
}

.searchResults {
  float: right;
}

.searchHeader {
  padding-bottom: 10px;
}

#searchLocal .first {
  padding-top: 20px;
}

/* TODO: get latest css from standardmaler.no, and add style to own stylesheet */
/*************************
## OBJECT COMMENTS VIEW ##
*************************/
#comments {
   padding: 20px 0;
   border-bottom: 1px solid #F0F0F0;
}

#comments dt {
  background: url(../GFX/quote.gif) top left no-repeat;
  padding-left: 25px;
}

#comments dd {
  padding-left: 25px;
  margin-top: 4px;
  margin-bottom: 14px;
}

form#commentForm {
  width: 100%;
  margin: 0;
  padding: 20px 0;
}

form#commentForm fieldset {
  padding: 0;
}

#commentForm input.block {
  width: 40%;
}

/*************
## CLEARFIX ##
*************/
.clearfix:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}

.clearfix {
  display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {
  height: 1px;
}
.clearfix {
  display: block;
 }
/* End hide from IE-mac */