/*
-----------------------------------------------
Millstream: General Structure Definitions
-----------------------------------------------
colours:

  #fff2dc   ivory       background;
  #90afff   light-blue  header;
  #1d419f   dark-blue   menu top-level;
  #002688   dark-blue   menu hover
  #7f0000   dark-red    sidebar
----------------------------------------------- */

body {
  font-family: Arial, Helvetica, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background:#D1FFDD;
}

/* Container */

div#container {
  margin: 0 auto;
  min-width: 1200px;

  position: relative;
}

div#top {
  background:#fff;
}

/* Header */

div#header {
  position: relative;
  height:193px;
  width:100%;
  min-width:1200px;
  background: url(../img/marble.png) repeat !important;
  padding-bottom: 40px;
  zoom: 1;
}

div#topbar {
  position: relative;
  bottom:-220px;
  height:20px;
  padding-bottom: -20px;
  background: url(../img/frames/lightgreen_t.png) repeat-X !important;
  width:100%;
}

div#colorbar {
  position: relative;
  background:#D1FFDD; ;
  width:100%;
}

div#pagetitle {
  position:absolute;
  left:350px;
  top:70px;
  min-width:900px;
  font-size:300%; 
  font-style: italic;
  font-weight: bold;
  color: #00590b;    
  font-family: 'PermanentMarker', Serif;
}

div#pagetitle div.text {
    font-weight:bolder;
    
}

div#pagetitle  div.text span.highlight {
    color: #a00ec5;
}

div#pagetitle  div.text span.initial {
    color: #a00ec5;
    font-weight:bolder;
    padding-left: .15em;
    font-size:135%; 
}

div#header_wrapper {
  position:absolute;
  left : 60px;
  padding:10px 80px 0px 0px;
}

div#emotion-header {
  position: relative;
}
div#emotion-header strong#emotion-header-title {
  position: absolute;
  top: 0;
  left: 0;
}

/* Sidebar */
div#leftbar {
  position: absolute;
  top:15px;
  width: 300px;
  left: 10px;
  color:#fff;
  font-weight: bold;
  height:100%;
  z-index:-2;
}
div#menu {
  position: relative;
  width:300px;
}


div#rightbar {
  position: absolute;
  top:15px;
  width: 320px;
  right: 20px;
  color:#fff;
  font-weight: bold;
  height:100%;
}

div#rightbar img.logo {
  width:200px;
  padding-left: 60px;
}

div#sidebar {
  position:relative;
  width:320;
}

/* Content */

div#content {
  position:absolute;
  top:15px;
  left:310px;
  right:360px;
  min-width:550px;
  color:#000;
  background: #D1FFDD; 
}

div#content.no_sidebar {
  right:50px;
}

div#content div.gutter {
  padding: 0px 20px 60px 30px;
}


/* Footer */

div#footer {
  position:absolute;
  bottom:0;
  width: 0px;
  margin-left: 240px;
}
div#footer div.gutter {
  background: url(https://120.sb.mywebsite-editor.com/webseitendaten/781/842/364/usertemplates/img/1001-dots.gif) repeat-x;
  background-color: #fff;
  float: left;
  width: 660px;
  padding: 10px 20px;
}

#column-content {
  display: inline-block;
  position:relative;
  color:#fff;
}


#column-content img{
  vertical-align: middle;
  margin-right:10px;
  padding-top:5px;
  padding-bottom:10px;
}

br.c {
  display: block;
}                            

.internal div#cat { 
  position:relative;
  text-align: center;
  margin: 5px;
  padding: 15px; 
  float:left;
  width: 200px;
  height:250px;
  border: 1px solid #002688;
  border-radius: 5px;
}

.internal div#cat2 { 
  position:relative;
  text-align: center;
  margin: 5px;
  padding: 5px 0px 0px 0px ; 
  float:left;
  width: 260px;
  height:370px;
  border: 1px solid #002688;
  border-radius: 5px;
}

div#cat2 div.edit {
  text-align:left;
  padding:5px 12px;
  font-size:small;
}

div#cat2 div.edit select {
  font-size:small;
  margin-left: 2px;
}

div#cat2 div#cat
{
    margin-left: 15px;
}

div#cat { 
  position:relative;
  text-align: center;
  margin: 5px;
  padding: 15px; 
  float:left;
  width: 200px;
  height:200px;
  border: 1px solid #002688;
  border-radius: 5px;
}

div#cat .inFoster {
    background-image: url("styles/InAFosterhome.png");
}

div#cat .needFoster {
    background-image: url("styles/LookingforAFosterhome.png");
}

div#cat .trialHome {
    background-image: url("styles/LookingforAFosterhome.png");
}

div#cat .overlay {
  position: absolute; 
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.internal div#cat .overlay {
  position: absolute; 
  top:50px;
  right: 0;
  width: 100%;
  height: 100%;
}

div#cat img#landscape { 
    text-align: center;
    max-width: 200px;
    max-height: 180px;
    align: center;
}

div#cat img#portrait { 
    text-align: center;
    max-width: 200px;
    max-height: 180px;
    align: center;
}

div#cat div#name{ 
    margin-bottom: 10px;
    text-align: center;
    align-content: center;
    align: center;
}

.popup-back {
  /*Hides pop-up when there is no "active" class*/
  visibility: hidden;
  position: fixed;
  background:rgba(0,0,0,0.5); 
  border: 3px solid #666666;
  z-index: 15;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  
}
.popup-back.active {
  /*Shows pop-up content when "active" class is present */
  visibility: visible;
}

.popup-overlay {
  /*Hides pop-up when there is no "active" class*/
  visibility: hidden;
  position:fixed;
  background: #ffffff;
  border: 3px solid #666666;
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
}
.popup-overlay.active {
  /*displays pop-up when "active" class is present*/
  visibility: visible;
  text-align: center;
}

.popup-content {
  /*Hides pop-up content when there is no "active" class */
  visibility: hidden;
}

.popup-content.active {
  /*Shows pop-up content when "active" class is present */
  visibility: visible;
}
