html {
  height: 100%;
}
body {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  height: 100%;
  margin: 0;
}

a {
  color: #428bca;
  text-decoration: none;
}
a:hover, a:focus {
  color: #2a6496;
  text-decoration: underline;
}

a:active, a:hover {
  outline: 0;
}
a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

img{
  border:0; /* IE */
}

#header {
  background-color: #eee;
}

#wrapper {
  text-align: left;
  vertical-align: top;
}

#home {
  padding: 10px;
}

#main {

}

#top {
  /*background-color: #79a618;
  background-color: #60b53c;
  background-image: url('img/abg.png');*/
  background-color: #2b2f32;
}

#left {
  display: table-cell;
  width: 200px;
  min-width: 200px;
  border-right: 1px solid #ccc;
  min-height: 100%;
  height: 100%;
  border-bottom: none;
  vertical-align: top;
}

#right {
  left: -1px;
  display:table-cell;
  position: relative;
  border-left: 1px solid #ccc;
  min-width: 210px;
  padding: 10px;
  height: 100%;
  min-height: 100%;
  vertical-align: top;
}

h1, h2 { 
  margin: 0;
  /* border-bottom: 1px solid #ccc; */
} 

#footer {
  border-top: 1px solid #ccc;
  padding: 10px;
  clear: both;
  text-align: center;
}

#logo {
  text-align: left;

  display: inline-block;
  
}

#logo a img{
  padding: 10px;
}

#title {
  display: inline-block;
  padding: 30px 10px 10px 10px;
  vertical-align: top;
}
#title h1 {
  color: #2b2f32;
}
#lang {
  display: inline-block;
  vertical-align: top;
  padding: 10px 10px 10px 10px;
}


.tips {
  background: url('img/light-bulb.png') no-repeat 5px 5px #ffffc6;
  padding: 5px 5px 5px 35px;
  border: 1px solid #bbb;
  margin: 1em 0;
}

#letters {
   border-bottom: 1px solid #ccc;
   border-top: 1px solid #efefef;
  /*border-width: 1px 0; */
  list-style: none;
  margin: 0;
  padding: 0 6px 0 6px;
  text-align: left;
}

#letters li {
  display: inline-block;
  text-align: center;
}
#letters li:hover {
  background-color: #000;
}

#letters li a {
  text-decoration: none;
  display: inline-block;
  text-align: center;
  color: #fff;
  font-size: 1.1em;
  padding: 6px 9px;
}

#letters li.active a, #letters li a:hover {
  color: #ffa72a;
}

#letters li.hidden a {
  background-color: rgba(255,0,0,0.5);
  text-decoration: line-through;    
}

#markers {
  border-width: 0 1px;
  list-style: none;
  margin: 0;
  padding: 10px;
}

#markers li a {
  text-decoration: none;
  display: block;
}

#markers li.hidden a {
  background: red;
  background-color: rgba(255,0,0,0.05);
  text-decoration: line-through;
  border: 1px dashed red;
}

#markers li.active a {
  color: #ffa72a;
}

#catalogs .hidden a.catalog {
  background-color: rgba(255,0,0,0.05);
  text-decoration: line-through;    
}

#cards {
  list-style: none;
  margin: 0;
  padding: 0;
}

#cards li {
  display: inline;
}

#cards li img {
  height: 10em;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  -ms-transition: all 1s ease;
  transition: all 1s ease;
}

#cards li.hidden img {
    border: 3px dashed red;
    opacity: 0.7;
    height: 9em;
}

#cards li img:hover {
  transform:scale(1.5);
  -ms-transform:scale(1.5); /* IE 9 */
  -moz-transform:scale(1.5); /* Firefox */
  -webkit-transform:scale(1.5); /* Safari and Chrome */
  -o-transform:scale(1.5); /* Opera */  
}

#card {
  list-style: none;
  margin: 0;
  padding: 0;
}

#card img {
  width: 100%;
}

#card.hidden img {
    border: 3px dashed red;
    opacity: 0.7;
}

#navigation {
  list-style: none;
  margin: 0;
  padding: 0;
}

#navigation li {
  display: inline;
}

#navigation li a {
  text-decoration: none;
  display: inline-block;
  margin: 0 1em;
}

#totop {
  z-index: 1000;
  display: block;
  position: fixed;
  bottom: 20px;
  right: 20px;
}
#totop {
  transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -webkit-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  opacity: 0.5;
  cursor: pointer;
}
#totop:hover {
  opacity: 1;
}

#filter {
  padding: 12px 0px 0px 10px;
}

#filter input {
  width: 90%;
  padding: 5px 1px;
}


/* widescreen */
@media only screen and (min-width: 1060px) {

  #cards li img {
    height: 13em;
  }

  #cards li.hidden img {
    height: 12em;
  }

  
}


@media only screen and (max-width: 440px) {
  
#left {
  width: 100%;
  display: block;
  border-right: none;
   border-bottom: 1px solid #ccc;
}
#main {
  display: table;
}
#right {
  display: block;
  border-left: none;
}
#cards li img {
  width: 100%;
  height: auto;
}
#filter input {
  width: 95%;
}


#navigation li a {
    display: block;
    margin: 20px 0;
}


}


@media only screen and (max-width: 768px) {

    #navigation {
        margin-top: 30px;
    }    

    #navigation li a {
        display: block;
        margin: 20px 0;
    }

    #left a {
        display: block;
        margin: 10px 0;
    }

}