* {
  margin: 0;
  padding: 0;
}
body {
  background-image: url(img/bg.jpg);
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
}
.headers {
  position: relative;
  height: 50px;
  margin-bottom: 20px;
}
/* First header */
#header {
  z-index: 999;
  padding: 10px 20px;
  color: rgb(255, 255, 255);
  background-image: url(img/bg-header-two.png);
  font-family: "Nunito", sans-serif;
  text-transform: uppercase;
  display: flex;
  width: 60%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  justify-content: left;
  align-items: center;
}
#header h2 {
  font-size: 12px;
  letter-spacing: 2px;
}

#header h1 a {
  font-weight: 700;
  color: rgb(0, 0, 0);
  text-decoration: none;
}

#header h1 {
  font-size: 17px;
  letter-spacing: 2px;
}

#header .logo {
  width: 50px;
  height: 50px;
  position: relative;
  margin: 0 0 0 0px;
}
#header .logo img {
  width: 100%;
  position: absolute;
}
#header .text {
  margin: 5px 0 0 10px;
}
/* End first header */

/* Secont header */

#header_two {
  padding: 10px 20px;
  color: rgb(255, 255, 255);
  background-image: url(img/bg-header-one.png);
  font-family: "Nunito", sans-serif;
  text-transform: uppercase;
  display: flex;
  width: 50%;
  right: 0;
  top: 0;
  position: absolute;
  height: 100%;
  /* border-right: 30px solid transparent; */
  z-index: 1000;
  justify-content: right;
  align-items: center;
}

#header_two .inner_header2 {
  margin: 0px 0px 0px 60px;
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
}
#header_two .inner_header2 .contacts {
  font-size: 15px;
  margin-left: 60px;
}
#header_two .inner_header2 a {
  color: white;
  margin-left: 5px;
  text-decoration: none;
}
#header_two .inner_header2 a:hover {
  color: rgb(199, 199, 199);
}
#header_two .inner_header2 .sos-seti {
  font-size: 25px;
}

/* search */
.searching {
  margin-left: 60px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hledat {
  width: 15px;
  height: 15px;
  color: white;
  margin: 5px;
  background: rgb(255, 149, 50);
  padding: 5px;
  border-radius: 5px;
}
.hledet {
  padding: 4px;
}
/* end search */

/* End second header */

/* mini header three */
.mini-header {
  width: 100%;
}
.inner_mini-header {
  width: 100%;
  margin: 0 auto;
  background-color: rgb(63, 115, 194);
  padding: 10px 0px;
  text-align: center;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

.inner_mini-header a {
  color: white;
  letter-spacing: 3px;
  text-decoration: none;
}

/* end mini header */

/* Left bar */

.inner_slider {
  position: relative;
  width: 100%;
  background-color: rgb(255, 0, 0);
  padding: 10px;
  box-shadow: 0px 0px 10px 10px black;
  border-radius: 10px;
}

.inner_slider .item {
  width: 210px;
  height: 210px;
  vertical-align: middle;
  display: inline-block;
  margin: 10px;
  position: relative;
}
.inner_slider .item img {
  width: 100%;
}

.inner_slider .item:hover .inner_item {
  display: block;
  transition: 0.1s;
  z-index: 2;
}
.inner_item {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  background-image: url(img/images/7.png);
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  transition: ease 0.1s;
  color: white;
  display: none;
}

.inner_item p {
  position: relative;
  top: 50%;
  letter-spacing: 3px;

  text-transform: uppercase;
}
.main {
  display: flex;
}
#content {
  margin: 40px 10%;

  color: rgb(0, 0, 0);
  width: 300px;
}

#secondaryContent {
  background-color: rgb(196, 192, 192);
  padding: 30px;
}

.slider {
  margin: 40px 40px;
  width: 52%;
}

#content h3 {
  letter-spacing: 1px;
}

#content ul li {
  list-style: none;
  margin: 8px 0px;
}

#content ul li a {
  color: black;
  text-decoration: none;
  letter-spacing: 1px;
  margin: 0px 0px;
}

#content ul li a:hover {
  color: rgb(255, 255, 255);
}

/* end left bar */

/* books */

#primaryContent {
  width: 100%;
}

#primaryContent h2 {
  background-color: rgb(63, 115, 194);
  padding: 5px;
  color: white;
  letter-spacing: 1px;
  text-align: center;
}
#primaryContent p {
  margin: 0 auto;
  padding: 20px;
  background-color: rgb(202, 202, 202);
  color: black;
  width: 49%;
}

#primaryContent table {
  margin: 0 auto;
  padding: 20px;
  background-color: rgb(202, 202, 202);
}

#primaryContent table tr th:first-child {
  color: red;
  font-size: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgb(20, 161, 63);
}

#primaryContent table tr th {
  color: rgb(20, 161, 63);
  font-size: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgb(63, 115, 194);
}
#primaryContent table tr td {
  border-bottom: 1px solid black;
  padding: 2px;
  color: red;
}
#primaryContent table tr td a {
  color: rgb(63, 115, 194);
  text-decoration: none;
}

#primaryContent ul {
  border-top: 1px solid black;
  width: 50%;
  margin: 0 auto;
  padding: 10px;
  background-color: rgb(202, 202, 202);
}

#primaryContent ul li {
  list-style: none;
  margin: 5px 0px;
  letter-spacing: 1px;
  border-bottom: 1px solid black;
}

#primaryContent ul li a {
  color: rgb(63, 115, 194);
  text-decoration: none;
}

/* end books */

/* footer */

#footer {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
  background-color: rgb(0, 0, 0);
  padding: 10px 0px;
}

.inner_footer {
  color: white;
  letter-spacing: 1px;
  width: 60%;
  text-align: center;
}

.inner_footer p a {
  color: rgb(109, 211, 61);
}
.none {
  display: none;
}
/* end footer */

@media all and (min-width: 300px) and (max-width: 479px) {
  #header {
    z-index: 999;
    padding: 10px 0px;
    color: rgb(255, 255, 255);
    background-image: url(img/bg-header-two.png);
    font-family: "Nunito", sans-serif;
    text-transform: uppercase;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: left;
    align-items: center;
  }
  #header h1 {
    font-size: 12px;
    letter-spacing: 2px;
    text-align: center;
  }
  #header h2 {
    font-size: 10px;
    letter-spacing: 2px;
    text-align: center;
  }
  #header_two {
    padding: 10px 0px;
    color: rgb(255, 255, 255);
    background-image: url(img/bg-header-one.png);
    font-family: "Nunito", sans-serif;
    text-transform: uppercase;
    display: flex;
    width: 100%;
    left: 0;
    background: #000;
    top: 70px;
    position: relative;
    height: 100%;
    /* border-right: 30px solid transparent; */
    z-index: 1000;
    justify-content: right;
    align-items: center;
  }
  #header_two .inner_header2 {
    margin: 0px 0px 0px 5px;
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
  }

  .main {
    display: block;
    padding: 5px;
  }

  #content {
    margin: 5px 0;
    color: rgb(0, 0, 0);
    width: 100%;
    font-size: 20px;
  }

  #secondaryContent {
    background-color: rgb(196, 192, 192);
    padding: 10px;
  }
  .slider {
    margin: 40px 0px;
    width: 100%;
  }
  .inner_slider {
    position: relative;
    width: 100%;
    background-color: rgb(184, 184, 184);
    padding: 10px 0;
    box-shadow: 0px 0px 0px 0px black;
    border-radius: 10px;
    display: inline-block;
    justify-content: center;
  }
  .inner_slider .item {
    width: 20%;
    height: 20%;
    vertical-align: middle;
    display: inline-block;
    margin: 10px 10px;
    position: relative;
  }
  #header .logo {
    width: 50px;
    height: 50px;
    position: relative;
    margin: 0 10px;
  }
  .searching {
    margin-left: 5px;
    border: none;

    justify-content: center;
    align-items: center;
  }

  .none {
    display: none;
  }
  #header_two .inner_header2 .contacts {
    font-size: 13px;
    margin: 20px;
    display: none;
  }
  #header_two .inner_header2 .sos-seti {
    font-size: 15px;
    display: flex;
  }

  .searchnone:checked ~ .searching {
    display: block;
  }

  #primaryContent table {
    margin: 0 auto;
    padding: 1px;
    width: 100%;
    background-color: rgb(202, 202, 202);
  }
  #primaryContent table tr th:first-child {
    color: red;
    font-size: 15px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgb(20, 161, 63);
  }
  #primaryContent table tr th {
    color: rgb(20, 161, 63);
    font-size: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgb(63, 115, 194);
  }
  #primaryContent table tr td a {
    color: rgb(63, 115, 194);
    text-decoration: none;
    font-size: 8px;
    display: block;
  }
  #primaryContent table tr td {
    border-bottom: 1px solid black;
    padding: 2px;
    color: red;
    font-size: 5px;
    /* display: none; */
  }
  #primaryContent h2 {
    background-color: rgb(63, 115, 194);
    padding: 5px;
    color: white;
    letter-spacing: 1px;
    text-align: center;
    font-size: 15px;
  }
  #primaryContent p {
    margin: 0 auto;
    padding: 20px;
    background-color: rgb(202, 202, 202);
    color: black;
    width: 100%;
  }
  #primaryContent ul {
    border-top: 1px solid black;
    width: 80%;
    margin: 0 auto;
    padding: 10px;
    background-color: rgb(202, 202, 202);
  }
  .inner_item p {
    position: relative;
    top: 50%;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 3px;
  }
}

@media all and (min-width: 360px) and (max-width: 479px) {
  #header_two .inner_header2 .sos-seti {
    font-size: 30px;
    display: flex;
    margin-right: 30px;
  }
  .searching {
    margin-left: 5px;
    border: none;

    justify-content: center;
    align-items: center;
  }
}
