html,
body {
  min-height: 100%;
  margin: 0px;
  padding: 0px;
}

body {
  overflow-y: scroll;
  min-height: 100%;
  font-size: 14px;
  color: #333;
}

a,
h1 {
  color: #0081cc;
}

.footer {
  display: block;
  background-color: #333333;
  color: #aaa;
  position: relative;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  margin-top: 3em;
}

h1 {
  font-family: Sans-serif;
  font-weight: bold;
  font-size: 3.5em;
  padding-top: 0.2em;
  top: 0;
  float: left;
  text-align: left;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  border-style: none;
  background-color: #ffffff;
  border-color: #fff;
}

button:focus {
  outline: none;
}

img {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: #ffffff;
}

.contrast:nth-child(odd) {
  background-color: #eee;
}

.contrast:nth-child(even) {
  background-color: #fff;
}

.contrast:hover {
  background-color: #ddd;
}

.footer-info {
  line-height: 0.8em;
}

.mare {
  margin-bottom: 5px;
  position: relative;
}

#grija {
  width: 150px;
  height: auto;
  padding-top: 20px;
  float: right;
  z-index: 0;
}

.centrat {
  text-align: center;
}

.fotostart {
  height: auto;
  width: 100%;
  padding: 0px;
  margin: 0px;
}

.logo {
  padding-top: 1em;
  height: auto;
  width: 100px;
  float: left;
}

.contact {
  padding-bottom: 20px;
}

#prev {
  display: block;
  margin-left: 0px;
  font-size: 3em;
}

#next {
  display: block;
  margin-right: 0px;
  font-size: 3em;
}

#prev:hover {
  color: #aaaaaa;
}

#next:hover {
  color: #aaaaaa;
}

.tab {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#f {
  text-align: left;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 4em;
  font-family: ebrima, arial, sans-serif;
  font-weight: bold;
  color: #0081cc;
  text-decoration: none;
}

.navbar-toggle {
  padding-left: 20px;
}

#barundernav {
  height: 1px;
  background-color: #ccc;
}

.icon-bar {
  width: 300px;
  height: 300px;
  background-color: #333;
}

.download {
  height: 20px;
  width: 20px;
}

.down {
  display: none;
}

.serif {
  font-family: Serif;
}

.info {
  font-weight: bold;
}

button.info {
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  background-color: #eee;
  border: none;
  display: block;
}

button.info:hover {
  color: #0081cc;
  background-color: #ccc;
  padding: 5px 10px 5px 10px;
  border: none;
}

.cabinet {
  font-weight: bold;
}

.infosign {
  color: #4dbeff;
  font-family: serif;
  font-style: italic;
  font-size: 60em;
  z-index: -1;
  position: absolute;
  right: 200px;
  bottom: -200px;
  text-shadow: 2px 5px #aaa;
}

.thumbnails {
  margin: 0px;
  padding: 0px;
}

.thumbnails:hover {
  cursor: pointer;
  opacity: 0.6;
}

.activetab {
  background-color: #eee;
}

.leglist {
  color: #333;
}

.leglist:hover,
.leglist:active,
.leglist:visited {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

#p-progcons {
  margin-top: 1em;
}

#btn-ped {
  margin-bottom: 1em;
  color: #0081cc;
}

button#btn-ped:hover {
  color: #0081cc;
  font-weight: bold;
}

#list-ped {
  color: #0081cc;
}

#gmaps {
  height: 480px;
}

@media screen and (max-width:767px) {
  .footer {
    position: relative;
  }
  #map {
    height: 320px;
  }
  .galerie,
  .infosign,
  #prev,
  #next,
  #grija {
    display: none;
  }
  .tab {
    border-radius: 0px;
  }
  .mare {
    max-height: 100%;
    padding: 0px;
    margin: 0px;
    overflow: hidden;
  }
  .pozamare {
    max-width: 100%;
    max-height: 100%;
    padding: 0px;
    margin: 0px;
    overflow: hidden;
  }
  .logo {
    height: auto;
    width: 40px;
    float: left;
    padding-top: 7px;
  }
  h1 {
    padding-top: 0px;
    margin-top: 0px;
    font-size: 2.8em;
  }
  #gmaps {
    height: 360px;
    overflow: hidden;
  }
  .footer-ext {
    line-height: 3em;
  }
}

@media screen and (max-device-width: 1000px) and (orientation:landscape) {
  .footerfoto,
  .navfoto {
    display: none;
  }
  .mare,
  .pozamare {
    position: absolute;
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    top: 0px;
    z-index: 1;
  }
}

@-webkit-keyframes show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes slideRight {
  0% {
    -ms-transform: translateX(-500px);
    -moz-transform: translateX(-500px);
    -o-transform: translateX(-500px);
    -webkit-transform: translateX(-500px);
    transform: translateX(-500px);
  }
  100% {
    -ms-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -o-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}

@keyframes slideRight {
  0% {
    -ms-transform: translateX(-500px);
    -moz-transform: translateX(-500px);
    -o-transform: translateX(-500px);
    -webkit-transform: translateX(-500px);
    transform: translateX(-500px);
  }
  100% {
    -ms-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -o-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}

@media screen and (min-width: 992px) {
  .medic {
    font-size: 1.2em;
    line-height: 3em;
    color: #4dbeff;
    text-indent: 30px;
  }
  #pcv {
    position: absolute;
    bottom: 0;
    opacity: 0;
    color: #333;
    -webkit-animation: show 1s 7s forwards;
    animation: show 1s 7s forwards;
  }
  #gmaps {
    height: 540px;
  }
  #infoprinc {
    -ms-transform: translateX(-300px);
    -webkit-transform: translateX(-300px);
    transform: translateX(-300px);
    height: 540px;    
    /*-webkit-animation: slideRight 1s forwards;
    animation: slideRight 1s forwards;*/
    -webkit-animation-name: slideRight;
	-webkit-animation-duration: 1s;
	-webkit-animation-fill-mode: forwards;    
    
  }
  #med-gine {
    opacity: 0;
    -webkit-animation-name: show;
	-webkit-animation-duration: 1s;
	-webkit-animation-delay: 1s;
	-webkit-animation-fill-mode: forwards;
    animation: show 1s 1s forwards;
  }
  #med-orl {
    opacity: 0;
    -webkit-animation: show 1s 2s forwards;
    animation: show 1s 2s forwards;
  }
  #med-card {
    opacity: 0;
    -webkit-animation: show 1s 3s forwards;
    animation: show 1s 3s forwards;
  }
  #med-int {
    opacity: 0;
    -webkit-animation: show 1s 4s forwards;
    animation: show 1s 4s forwards;
  }
  #med-endo {
    opacity: 0;
    -webkit-animation: show 1s 5s forwards;
    animation: show 1s 5s forwards;
  }
  #med-radi {
    opacity: 0;
    -webkit-animation: show 1s 6s forwards;
    animation: show 1s 6s forwards;
  }
}

#infoprinc {
  background-color: #eeeeee;
  padding: 10px 15px 10px 15px;
  border-radius: 5px;
  line-height: 2em;
  font-size: 1em;
  color: #0081cc;
}

#angajeaza,
#pcv {
  color: #333;
}

.decnone {
  text-decoration: none;
}

.decnone:hover {
  text-decoration: none;
}

#btn-up {
  font-family: "Roboto", sans-serif;
  margin: 1em auto;
  outline: none;
  border: 0;
  background-color: #0081cc;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  position: fixed;
  right: 0;
  z-index: 1;
  height: 45px;
  width: 45px;
  opacity: 0.8;
  display: none;
  border-radius: 5px 0 0 5px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  padding: 15px 0 35px 0;
  bottom: 1em;
}

.info-btn {
	margin-top:15px;
	margin-bottom:15px;
	display:block;
}
