/*****************************************
  Lauri Borodkin | Fraktal.ee
*****************************************/


html, body {
  margin: 0;
  padding: 0;
}

body {
  text-align: center;
  font: 12px/16px Arial, Verdana, sans-serif;
  color: #231f20;
  text-align: center;
  background: white;
}
a {
  text-decoration: none;
  color: #00aeef;
}
a:hover {
  text-decoration: underline;
}
.clearfix:after {
  content: "."; display: block;height: 0;clear: both;font-size: 1px;line-height: 1px;visibility: hidden;
}
.clearfix { zoom:1; min-height: 10px;}
* html .clearfix { height: 10px;}
img {
  border: none;
}
form {
  margin: 0;
  padding: 0;
}
h1, h2, h3 {
  margin: 0;
  padding: 0 0 2px 0;
  font: bold 38px/40px Arial, Verdana, sans-serif;
}
h1 { padding-bottom: 15px; }
h1 a, h3 a, h2 a { color: #231f20; }
h2 {
  font-size: 18px;
  line-height: 20px;
  padding-bottom: 5px;
}

h3 {
  font-size: 16px;
  line-height: 18px;
}
p { 
  margin: 0;
  padding: 5px 0 5px 0;
}

/* wrap */
  #wrap {
    width: 995px;
    margin: 0 auto;
    padding-bottom: 30px;
    text-align: left;
  }
    /* header */
      #header {padding-top: 40px;height: 110px;}
        #logo {float: left;display: block;outline: 0;text-indent: -5000px;width: 267px;height: 97px;background: url('../images/logo.gif') no-repeat top left;}
#logo.riseandfall {background-image: url('../images/riseandfall-logo.png'); height: 110px; width: 378px;}
        #slogans {float: right;width: 300px;height: 110px;overflow: hidden;font-style: italic;font-size: 13px;font-family: Georgia, 'Times New Roman', serif;position: relative;}
          .slogan {position: absolute;top: 0;left: 0;width: 300px;height: 110px;overflow: hidden;}
          #slogans h1 {color: #f0474d;font: italic normal 18px/20px Georgia, 'Times New Roman', serif;margin: 0;padding: 0 0 7px 0;}
          
    /* mainmenu */
      .mainmenu {margin: 0;padding: 0;list-style-type: none;border: 1px solid #bfebfb;background: #00aeef;}
        .mainmenu li {float: left;margin: 0;padding:0;text-transform: uppercase;font-weight: bold;}
        .mainmenu .active, .mainmenu .hover {background: #231f20 url('../images/mainmenu.gif') no-repeat top left;}
          .mainmenu span {float: left;display: block;height: 17px;padding: 1px 26px 0;}
          .mainmenu .active span, .mainmenu .hover span {background: url('../images/mainmenu.gif') no-repeat right -18px;}
            .mainmenu a { color: white; white-space: nowrap;}
            .mainmenu a:hover { text-decoration: none; }

    /* submenu */
      .submenu {margin: 0;padding: 1px 18px ;list-style-type: none;border: 1px solid #ddf2fd; border-top: none; background: #d1eefc;}
        .submenu li {display: inline; margin: 0;padding: 0 5px;text-transform: uppercase; }
        .submenu .active { font-weight: bold;}
          .submenu a { color: #231f20;; white-space: nowrap;}
          
    /* container */
      #container {
        padding: 35px 0 30px;
      }
        #container-left {
          float: left;
          width:656px;
          margin-right: 19px;
        }
        #container-right {
          float: left;
          width: 320px;
        }
        * html #container-right {
          margin-right: -3px;
        }
        
    /* bigbanners */
      #bigbanners {border: 2px solid #aae2fa;width:652px;text-align: center;}
        .preview #bigbanners {height: 275px;position: relative;overflow: hidden;}
        #bigbanners img { display: block; margin: 0 auto;}
        .preview #bigbanners img { position: absolute; top: 0; left: 0; display: none;}
        
    /* .title */
      .title{
        font-size: 70px;
        line-height: 70px;
        font-weight: bold;
        padding-bottom: 10px;
      }
    /* content */
      .content {
        padding: 0;
      }
        .content-inner { border-top: 22px solid #d1eefc; padding-top: 20px;}
        #blog .content-inner { padding-top: 0px; }
        .content-left {
          float: left;
          min-height: 10px;
          width:445px;
          margin-right: 16px;
        }
        * html .content-left {
          height: 10px;
        }
        .content-right {
          float: left;
          min-height: 10px;
          width: 195px;
        }
        * html .content-right {
          margin-right: -3px;
        }
    
    /* news-block */
      .news-block {
        padding: 20px 0 18px;
        background: url('../images/seperator.gif') repeat-x top left;
      }
      .news-block-first {
        background: none;
        margin-top: 10px;
      }
      #blog .news-block-first { margin-top: 0px; }
      .content-right .news-block { padding: 12px 0 10px;}
      .content-right .news-block-first { margin-top: 0; padding-top: 0;}
        .news-block h1 { font-size:26px; line-height: 30px; padding-bottom: 2px;}
        .date { color: #00aeef;}
    
    /* persons */
      #persons-holder {
        text-align: center;
      }
        #persons {
          margin: 0 auto;
          width:308px;
        }
        .preview #persons {
          height: 268px;
          overflow: hidden;
          position: relative;
        }
          #persons img { display: block; }
          .preview #persons img { position: absolute; top: 0; left: 0; display: none;}
    
    /* banner */
      .banner {
        padding: 5px 0;
        text-align: center;
      }
    /* bluebox */
      .bluebox {
        background: #d1eefc;
        padding: 7px;
      }
      
    /* links */
      .links {
        padding: 10px 6px;
        font-size: 15px;
        line-height: 18px;
        font-weight: bold;
      }

#edicy {
  padding: 10px 0;
  font-size: 12px;
}
#header.riseandfall { padding-top: 21px; height: 129px; }
#header { position: relative; }
.rnf-small,.yhtneeesti-small {
  display: block;
  position: absolute;
  text-indent: -9999px;
  width: 195px;
  height: 39px;
  top: 21px;
  right: 0;
  outline: none;
}
.rnf-small {
  background: url('../images/riseandfall-small.png?1') no-repeat left top;
}
.yhtneeesti-small {
  background: url('../images/yhteneeesti-small.png?1') no-repeat left top;
}

/* Image container styles */
.edy-positionable-container-center:first-child,
.edy-positionable-container-left-block:first-child,
.edy-positionable-container-right-block:first-child,
.edy-texteditor-container-wrapper-center:first-child,
.edy-texteditor-container-wrapper-left-block:first-child,
.edy-texteditor-container-wrapper-right-block:first-child {
  margin-top: 0;
}

.edy-positionable-container-center:last-child,.edy-positionable-container-left-block:last-child,
.edy-positionable-container-right-block:last-child,
.edy-texteditor-container-wrapper-center:last-child,
.edy-texteditor-container-wrapper-left-block:last-child,
.edy-texteditor-container-wrapper-right-block:last-child {
  margin-bottom: 0;
}

.edy-positionable-container-center,
.edy-positionable-container-left-block,
.edy-positionable-container-right-block,
.edy-texteditor-container-wrapper-center,
.edy-texteditor-container-wrapper-left-block,
.edy-texteditor-container-wrapper-right-block {
  margin-top: 20px;
  margin-bottom: 20px;
}

.edy-positionable-container-left,
.edy-texteditor-container-wrapper-left {
  margin-right: 20px;
}

.edy-positionable-container-right,
.edy-texteditor-container-wrapper-right {
  margin-left: 20px;
}

.edy-image-container-with-title:after {
  display: block;
  padding: 4px;
  font-size: 12px;
  line-height: 1.3em;
  content: attr(data-title);
}