/*
-----------------------------------------------
Amazing Voices: General Structure Definitions
-----------------------------------------------
colours:

  #030340   dark-blue   background;
  #90afff   light-blue  header;
  
  #e49730   gold        Logo;
  #fdf3dc   ivory       top-menu 
  #e49730   gold        top-menu hover];

  #1d419f   dark-blue   menu top-level;
  #002688   dark-blue   menu hover
  #e4b474   light-gold  sidebar    mustard
----------------------------------------------- */

body {
  font-family: Arial, Helvetica, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background:#e4b474;
  background: url(../img/skyrep.png) repeat 100% 100% !important;
  
}

/* Container */

div#container {
  margin: 0 auto;
  min-width: 1200px;
/*  background: url(../img/skyrep.png) repeat-x 0 100% !important;*/
  
  position: relative;
}

div#top {
  background:darkblue;
}

/* Header */

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

div#pagetitle {
  padding-top: 20px;
  left:50px;
  top:70px;
  text-align: center;
  width:70%;
  min-width:900px;
  font-size:90px;
  font-weight:bolder;
  color: #e49730;
  font-family: 'Chancery', cursive;
}

div#pagetitle div.text {
    padding-top: 60px;
    font-weight:bolder;
    
}
div#pagetitle  div.text span.initial {
    color: #e4d0b6;
    padding-top:10px;
    font-weight:bolder;
}

div#pagesubtitle {
  padding-top: 10px;
  left:50px;
  top:70px;
  text-align: center;
  width:80%;
  min-width:900px;
  font-size:50px;
  font-weight: bolder;
  color: #e49730;
  font-family: 'Chancery', cursive;
}
div#header_wrapper {
  position:absolute;
  top:-20px;
  right :10px;
  padding:10px 80px 0px 0px;
}

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

div#topbar_wrapper {
  position: absolute;  
  min-width:900px;
  width:100%;
  height:130px;
  top:0px;
  left:0px;
 /* background: url(../img/skyrep.png) repeat-x 0 100% !important;*/
}
div#content_wrapper {
  position: absolute;  
  min-width:900px;
  width:100%;
  height:100%;
  top:200px;
  left:0px;
 /* background: url(../img/skyrep.png) repeat-x 0 100% !important;*/
}

div#pagecontent {
  position:absolute;
  top:120px;
  left:10px;
  right:10px;
  /*background:#ffd770; */
}

div#contentbar {
    top:20px;
        
   
}


div#topbar-bottom {
  position:absolute;
}

div#topbar-bottom-line {  
  float:left;
  background: url(../img/light-gold_t.png) repeat-x 0 100% !important;
  height: 20px;
  width: 100%;
}

div#topbar {
  position: absolute;  
  min-width:900px;
  width:100%;
  top:10px;
  left: 10px;
  right: 10px;
}


/* Sidebar */
div#leftbar {
  position: absolute;
  top:75px;
  width: 300px;
  left: 10px;
  color:#fff;
  font-weight: bold;
  height:100%;
}


div#rightbar {
  position: absolute;
  top:30px;
  width: 370px;
  right: 20px;
  color:#e49730;
  font-weight: bold;
  font-size: large;
  height:100%;
}

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

/* Content */

div#maincontent {
  position:relative;
  min-width:550px;
  width: 100%;
 /* color:#fdf3dc;*/
  background: #90afff;
}

div#content {
  position:relative;
  padding-top: 20px;
  left:20px;
  right:350px;
  min-width:550px;
  width: calc(100% - 430px);
 /* color:#fdf3dc;*/
/*  background: #e4b474;*/
  background: #90afff;

  font-size:x-large;
}

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;
  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;
}
