/* ========== Widths ========== */
/* ========== Heights ========== */
/* ========== Colors ========== */
/* ========== sizes ========== */
/* ========== Margins ========== */
/* ========== Fonts ========== */

@font-face {
  font-family: Glyphicons Halflings;
  src: url(../font/glyphicons-halflings-regular.ttf);
}
@font-face {
  font-family: Font Awesome;
  src: url(../font/fontawesome-webfont.ttf);
}
@font-face {
  font-family: AmaticSC;
  src: url(../font/AmaticSC-Regular.ttf);
}
@font-face {
  font-family: AmaticSC-Bold;
  src: url(../font/AmaticSC-Bold.ttf);
}
@font-face {
  font-family: IndieFlower;
  src: url(../font/IndieFlower.ttf);
}
body {
  background-image: url(/Content/pozadi.jpg);
  background-size: 1%;
  overflow-x: hidden;
  text-align: center;
  font-family: 'IndieFlower';
  font-size: 22px;
}
body .preloader {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999999;
}
body .preloader .div,
body .preloader .div1 {
  position: relative;
  border: 2px solid white;
  width: 120px;
  height: 120px;
  border-radius: 100%;
  left: 45%;
  top: 45%;
}
body .preloader .div:before,
body .preloader .div1:before {
  position: absolute;
  content: '';
  width: 110px;
  height: 110px;
  border-radius: 100%;
  border-top: 12px solid #c40249;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid transparent;
  left: -7px;
  top: -6px;
  animation: 1s preloader linear infinite;
}
@keyframes preloader {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
body .preloader .div1 {
  width: 90px;
  height: 90px;
  margin-top: -108px;
  margin-left: 15px;
}
body .preloader .div1:before {
  width: 80px;
  height: 80px;
  border-top: 12px solid transparent;
  border-left: 12px solid transparent;
  border-right: 12px solid #c40249;
  border-bottom: 12px solid transparent;
  animation: 0.8s preloader-back linear infinite;
}
@keyframes preloader-back {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
body .wrapper {
  width: 80%;
  margin: 0px auto;
}
body section {
  display: inline-block;
  width: 100%;
}
body .title {
  width: 100%;
}
body .title h2,
body .title h3 {
  font-family: 'AmaticSC';
  color: white;
  font-size: 45px;
}
body .title h3 {
  font-size: 30px;
  text-align: center;
}
body .up {
  position: fixed;
  width: 50px;
  height: 50px;
  right: 30px;
  bottom: 30px;
  background-color: white;
  color: #c40249;
  border-radius: 100%;
  box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  transition: 0.4s all;
}
body .up div {
  position: relative;
  font-size: 30px;
}
body .up div:before {
  content: "\f102";
  position: absolute;
  font-family: 'Font Awesome';
  left: 30%;
  right: 30%;
  padding-top: 15%;
}
body .up:hover {
  cursor: pointer;
  border: 2px solid white;
  background-color: #c40249;
  color: white;
}
.header .menu-wrapper {
  position: fixed;
  background-image: url('/Content/up_line.png');
  background-repeat: no-repeat;
  background-position-y: 100%;
  background-size: 80% 40%;
  width: 100%;
  max-width: 1200px;
  float: right;
  margin-right: -372px;
  height: 130px;
  right: 0px;
  z-index: 99;
  transition: 0.4s all;
}
.header .menu-wrapper:before {
  position: absolute;
  content: '';
  background-image: url(/Content/srdicko.png);
  width: 120px;
  height: 100%;
  left: 0px;
  bottom: -30px;
  background-size: 100%;
  background-repeat: no-repeat;
  max-height: 150px;
  min-height: 115px;
  background-position-y: 15px;
  background-position-x: -8px;
  margin-left: -32.4px;
  transition: 0.6s all;
}
.header .menu-wrapper.scroll {
  height: 50px;
  margin-top: -8px;
  background-position-y: 128%;
  background-color: #c40249;
  max-width: 80%;
  margin-right: -22%;
  box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.2);
  background-position-x: -36px;
}
.header .menu-wrapper.scroll:after {
  content: '';
  position: absolute;
  width: 100px;
  height: 180px;
  background-image: url(/Content/visici_zajoc.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-top: 32px;
  right: 30%;
  animation: ease-in-out 1s activeZajoc 3 alternate;
  transform-origin: center -10px;
  transform: rotateZ(3deg);
}
@keyframes activeZajoc {
  0% {
    transform: rotateZ(-3deg);
  }
  100% {
    transform: rotateZ(3deg);
  }
}
.header .menu-wrapper.scroll:before {
  background-position-y: 5px;
  left: 0px;
  margin-bottom: -20px;
}
@media (max-width: 1284px) and (min-width: 940px) {
  .header .menu-wrapper.scroll:before {
    left: -8px;
  }
}
.header .menu-wrapper.scroll ul {
  top: -19px;
}
.header .menu-wrapper.scroll ul li {
  width: 120px;
}
.header .menu-wrapper ul {
  position: absolute;
  top: 7px;
  width: 67%;
  overflow-x: hidden;
}
.header .menu-wrapper ul li {
  display: inline-block;
  list-style: none;
  min-width: 95px;
  font-size: 30px;
}
.header .menu-wrapper ul li a {
  color: white;
}
.header .menu-wrapper ul li a:hover {
  color: white;
  text-decoration: underline;
  cursor: pointer;
}
.header .menu-wrapper ul li a.active {
  color: white;
}
.section-top {
  margin-top: 192px;
  float: left;
  position: relative;
}
.section-top:after {
  content: '';
  position: absolute;
  height: 100%;
  min-height: 400px;
  max-height: 900px;
  width: 100%;
  top: -90px;
  right: -92.307692308px;
  background-size: 15% 100%;
  background-image: url(/Content/bok.png);
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 0%;
}
.section-top .picture {
  background-image: url(/Content/logo_bg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  max-width: 600px;
  margin-top: -180px;
  width: 33%;
  height: 360px;
  left: 5%;
  z-index: 1;
  display: table;
}
.section-top .picture .name-book {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  height: 100%;
}
.section-top .picture .name-book img {
  width: 70%;
  height: auto;
  margin: 0px auto;
}
.section-top .content-wrap {
  display: table;
  position: relative;
  z-index: 0;
  background-image: url(/Content/square.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  float: right;
  width: 80%;
  height: 450px;
  margin-top: 75px;
  margin-bottom: 45px;
  left: -4%;
}
.section-top .content-wrap .image {
  display: table-cell;
  vertical-align: middle;
  width: 30%;
}
.section-top .content-wrap .image img {
  width: 55%;
}
.section-top .content-wrap .content {
  display: table-cell;
  vertical-align: middle;
  width: 60%;
  text-align: justify;
  padding-top: 36px;
  padding-bottom: 36px;
  padding-right: 72px;
}
.section-top .foot-section {
  position: absolute;
  bottom: 0px;
  width: 100%;
  text-align: left;
}
.section-top .foot-section:after {
  position: absolute;
  bottom: 0px;
  background-image: url(/Content/bottom_border_line1.png);
  content: '';
  width: 115%;
  height: 30px;
  left: -35px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.section-top .foot-section img.figurine {
  width: 28%;
  max-width: 480px;
  z-index: 0;
  z-index: -1;
  position: relative;
}
.section-top .foot-section img.rabbit {
  position: absolute;
  right: 24px;
  bottom: 15px;
  width: 9%;
}
.section-about {
  position: relative;
  display: table;
}
.section-about:after {
  position: absolute;
  content: '';
  width: 110%;
  bottom: 0px;
  background-image: url(/Content/bottom_border_line1.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 30px;
  left: -5%;
}
.section-about .picture {
  width: 30%;
  float: left;
}
.section-about .picture img {
  width: 100%;
  height: auto;
}
.section-about .anotation {
  background-image: url('/Content/anotation_bg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  width: 70%;
  vertical-align: middle;
  position: relative;
  padding-bottom: 13%;
  padding-top: 10%;
  float: right;
}
.section-about .anotation .title {
  position: absolute;
  top: 50px;
}
.section-about .anotation p,
.section-about .anotation ul {
  margin: 0px auto;
  width: 80%;
  text-align: justify;
}
.section-about .anotation ul {
  margin-top: 20px;
}
.section-books {
  position: relative;
  padding-bottom: 50px;
}
.section-books:after {
  position: absolute;
  content: '';
  width: 110%;
  bottom: 0px;
  background-image: url(/Content/bottom_border_line1.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 30px;
  left: -5%;
}
.section-books .item {
  float: left;
  margin-bottom: 50px;
}
.section-books .item .left-info {
  display: inline-block;
  width: 40%;
  min-height: 355px;
  text-align: center;
}
.section-books .item .left-info img {
  max-width: 280px;
  width: 80%;
}
.section-books .item .right-info {
  display: inline-block;
  width: 60%;
  min-height: 355px;
  float: right;
}
.section-books .item .right-info .anotation {
  text-align: justify;
  margin-top: -25px;
  background-image: url(/Content/border_square.png);
  background-size: 100% 100%;
  padding: 70px;
}
.section-books .item .buttons {
  width: 100%;
  float: right;
}
.section-books .item .buttons a {
  float: right;
}
.section-books .item .buttons a img {
  max-width: 200px;
  transition: 0.4s all;
}
.section-books .item .buttons a img:hover {
  -webkit-filter: invert(1) sepia(1);
}
.section-authors {
  position: relative;
  padding-bottom: 50px;
}
.section-authors:after {
  position: absolute;
  content: '';
  width: 110%;
  bottom: 0px;
  background-image: url(/Content/bottom_border_line1.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 30px;
  left: -5%;
  z-index: 9;
}
.section-authors .item {
  width: 100%;
  float: left;
  margin-bottom: 50px;
}
.section-authors .item .picture {
  float: left;
  width: 30%;
}
.section-authors .item .picture img {
  max-width: 250px;
  width: 100%;
  border: 4px solid white;
}
.section-authors .item .anotation {
  float: right;
  width: 53%;
  text-align: justify;
  padding-left: 2%;
  padding-right: 2%;
  margin-top: -40px;
  background-image: url(/Content/border_square.png);
  background-size: 100% 100%;
  padding: 70px;
}
.section-authors .item .anotation .title h2 {
  color: black;
  font-size: 30px;
  font-weight: bolder;
}
.section-authors .item:nth-child(2) .picture {
  float: right;
}
.section-authors .item:nth-child(2) .anotation {
  float: left;
}
footer {
  background-color: white;
  margin: -20px;
  padding: 20px;
  bottom: -10px;
  position: relative;
}
footer p {
  line-height: 1;
}
@media (max-width: 480px) and (min-width: 320px) {
  .section-top:after {
    content: none;
  }
  .section-top .content-wrap {
    width: 100%;
    left: 0%;
  }
  .section-books .item .right-info .anotation {
    margin-top: 50px;
    padding: 30px;
  }
  .wrapper {
    margin-left: -10px;
  }
  .section-about .anotation {
    margin-bottom: 70px;
    margin-bottom: 120px;
  }
  .section-top .picture {
    width: 100%;
    left: 0%;
  }
  .section-top .content-wrap {
    width: 80%;
  }
  .anotation,
  .content-wrap {
    background-image: none !important;
    background-color: white !important;
    padding: 30px;
    border-radius: 2px;
  }
}
@media (max-width: 768px) and (min-width: 480px) {
  .section-authors .item .anotation {
    padding: 45px;
    padding: 120px;
    padding-top: 420px;
    padding-bottom: 480px;
  }
}
@media (max-width: 768px) {
  .section-books .item .left-info {
    width: 100%;
  }
  .section-books .item .right-info {
    width: 100%;
  }
  .section-books .item .buttons a {
    float: none;
  }
  .section-about .picture,
  .section-about .anotation {
    width: 80%;
    margin: 0px auto;
    float: none;
  }
  .section-about .picture.anotation,
  .section-about .anotation.anotation {
    margin-top: 50px;
    margin-bottom: 100px;
  }
  .section-about .picture img,
  .section-about .anotation img {
    max-width: 150px;
  }
  .section-authors .picture,
  .section-authors .anotation {
    width: 100%;
  }
  .section-authors .item {
    text-align: center;
  }
  .section-authors .item:nth-child(2) .anotation {
    float: none;
  }
  .section-authors .item .anotation {
    display: inline-block;
    float: none;
    width: 80%;
    padding: 30px;
    margin-top: 50px;
  }
  .section-top .content-wrap {
    text-align: center;
    height: 100%;
    padding-top: 80px;
    padding-bottom: 40px;
  }
  .section-top .content-wrap .image {
    width: 80%;
    display: block;
    margin: 0px auto;
  }
  .section-top .content-wrap .image img {
    width: 150px;
  }
  .section-top .content-wrap .content {
    width: 80%;
    display: block;
    margin: 0px auto;
    padding-right: 0px;
  }
}
@media (max-width: 940px) and (min-width: 480px) {
  .section-authors .item .anotation {
    width: 70%;
    margin-top: 0px;
    padding: 30% 10%;
  }
  .section-top .picture {
    width: 50%;
  }
}
@media (max-width: 940px) {
  .header ul {
    display: none;
  }
  .header .menu-wrapper {
    background-image: none;
  }
  .header .menu-wrapper.scroll {
    background-color: transparent;
    box-shadow: none;
  }
  .header .menu-wrapper.scroll:after {
    content: none;
  }
  .header .menu-wrapper:before {
    content: none;
  }
  .header .mobile {
    position: fixed;
    top: 4%;
    right: 30px;
    width: 100%;
    z-index: 9999999;
  }
  .header .mobile:before {
    content: "\e055";
    position: absolute;
    font-family: 'Glyphicons Halflings';
    color: #c40249;
    background-color: white;
    padding: 5px 10px;
    font-size: 25px;
    border-radius: 100%;
    transition: 0.4s all;
    border: 2px solid #c40249;
    right: 20px;
    z-index: 999;
    margin-top: -20px;
  }
  .header .mobile:hover {
    cursor: pointer;
  }
  .header .mobile:hover:before {
    content: "\e012";
    position: absolute;
    font-family: 'Glyphicons Halflings';
    background-color: #c40249;
    color: white;
  }
  .header .mobile.open:after {
    content: '';
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
  }
  .header .mobile.open ul {
    position: relative;
    background-color: white;
    display: inline-block;
    width: 100%;
    z-index: 99;
  }
  .header .mobile.open ul li {
    margin-left: -20px;
    width: 100%;
  }
  .header .mobile.open ul li a {
    color: #c40249;
  }
  .header .mobile.open ul li a.active,
  .header .mobile.open ul li a:hover {
    background-color: #c40249;
    width: 100%;
    display: block;
    color: white;
    transition: 0.2s all;
  }
  .header .mobile.open:before {
    content: "\e014";
    position: absolute;
    font-family: 'Glyphicons Halflings';
    background-color: white;
    color: #c40249;
    border-color: #c40249;
  }
  .section-authors .item .picture {
    width: 100%;
  }
}
@media (min-width: 940px) {
  .section-authors .item .picture {
    width: 25%;
  }
  .section-authors .item .anotation {
    width: 50%;
    padding: 15% 10%;
  }
}
.section-top .content-wrap {
  z-index: 1;
}
.section-top .picture {
  z-index: 2;
}
