body {
  background:#ededed;
  font-family: 'Open Sans', sans-serif;
}
ul li {
  list-style: none;
}
.badge {
  background-color: #0d87e9;
}
/*============ Хидер ==============*/
#header {
  height: 150px;
}
.logo , .logo-title {
  display: inline-block;
  float: left;
  padding: 10px;
}
.navbar {
 top: -20px;
 text-transform: uppercase;
 margin-bottom: 150px;
 z-index: 1000;
 width: 100%;
}
.fixed {
 top: 0px;
 text-transform: uppercase;
 margin-bottom: 150px;
 position: fixed;
 z-index: 1000;
 width: 100%; 
}
.navbar-inverse {
  background-color: #1abc9c;
  border-color: #16a085;
}
.navbar-inverse .navbar-form {
    border-color: #16a085;
}
.navbar-inverse .navbar-collapse {
  border-color: #16a085; 
}
.navbar-inverse .navbar-nav > li > a {
  color: white;
}
.navbar-inverse .navbar-nav > li > a:hover {
  color: #222222;
}
#navbar-menu {
  font-size: 14px;
}
.navbar-inverse {
  border-top:2px solid green;
  /* -webkit-box-shadow: 0px 0px 0px 3px rgba(26,188,156,1);
  -moz-box-shadow: 0px px 0px 3px rgba(26,188,156,1);
  box-shadow: 0px 0px 0px 3px rgba(26,188,156,1); */
}
.navbar-inverse .navbar-nav>.active>a:hover {
  background-color: transparent;
  color: #222222;
}
.navbar-inverse .navbar-nav>.active>a {
  background-color: transparent;
  color: #222222;
  border-bottom: 1px solid white;
}
.navbar-nav>li>a {
    padding-top: 20.5px;
    padding-bottom: 19px; 
}
.navbar-nav>li>a:hover {
    border-bottom: 1px solid white;
}
.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:hover,
.navbar-inverse .navbar-nav>.open>a:focus {
  background-color: transparent;
  color: black;
  border-color: white;
}
.navbar-inverse .navbar-toggle {
	border-color: #1a242f;
	border-radius: 4px;
	-moz-border-radius: 4px;
   -webkit-border-radius: 4px;
}
.logotitle {
  margin-left: 10px;
  margin-top: 5px;
  display: inline-block;
}
.logotitle h4 {
  color: #F7C200;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase; 
}
.logo img {
  position: absolute;
  margin-top: -145px;
}


/*=================Контент==================*/

#book-hover:hover {
  color:white;
  background-color: #1abc9c;
  transition: unset;
}
#content {
  margin-top: 75px;
  background-color: white;
  padding-top: 10px;
  border-radius: 4px;
}
.top30 {
  margin-top: 30px;
}

.panel-heading h4 {
  color:white;
}
.content-books {
  overflow:hidden;
  width:100%; 
  height:auto; 
  position:relative;
}
.row-flex {
    display: flex;
    flex-flow: row wrap;
}
.books-item {
  margin-bottom: 10px;
}
.list-item{
  display: inline-block;
  float: left;
  padding-right: 20px;
  padding-bottom: 20px;
}
.panel-body-info {
  margin-left: 40px;
}
.about img {
  max-width: 100%;
  height: auto;
}
.popular-hover a:hover {
  color:white;
}
/*=================Контент==================*/
/*-- Menu_Nav --*/
.sidebox-title {
  background: #1abc9c;
  height: 38px;
  line-height: 38px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  border-radius: 3px;
}
ul.menu-nav {
  margin-top:10px;
  margin-left: -40px;
}
ul.menu-nav li {
  /* background-color: snow; */
  border: 1px solid #3ba566;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -o-border-radius: 2px;
  display: block;
  margin-bottom: 3px;
  transition: 0.4s;
}
ul.menu-nav li:hover {
    background: #1abc9c;
    display: block;
}
ul.menu-nav li a {
    line-height: 30px;
    color: #555555;
    padding-left: 15px;
    display: block;
    text-decoration: none;
    transition: .5s;
    font-size: 15px;
}
ul.menu-nav li a:hover {
    color: #fff;
    padding-left: 35px;
    display: block;
}

/*-- /Menu_Nav --*/


/* Постраничная навигация */
.pagination>li>a, .pagination>li>span {
  color:#3ba566;
}
.pagination>.active>a{
    background-color: #1abc9c;
    border-color: #1a9c99;
}
.pagination>.active>a:hover{
    background-color: #1abc9c;
    border-color: #1a9c99;
}

 /*=============Слайдбар==============*/
.carousel-inner .item img {
    width: 100%;
    max-height: 340px;
    margin: 0 auto;
}
.carousel-caption{
    background-color: rgba(22,160,133,0.3);
}
.carousel-caption h3 {
    font-size: 20px;
    color:yellow;
}


/* =======Подвал======*/

#footer {
	background-color: #2b3246;
  padding-top: 40px;
  padding-bottom: 10px;
}
#footer h6 {
  margin-top: 5px;
  color: #1abc9c;
  text-transform: uppercase;
  padding-bottom: 10px;
}
#footer p {
	font-size:14px;
  color: white;
}
#copyright {
	margin-top: 20px;
	color: white;
}
#soros {
  color: white;
}
#license {
  border-radius: 3px;
}


@media (min-width: 767px) {

#block-right {
  border-left: 1px solid #ccc;
}

 }
@media only screen and (max-width: 767px) {
 #header {
  height: 165px;
} 
 .navbar {
 top: 150px;
 text-transform: uppercase;
 margin-bottom: 400px;
 z-index: 1000;
 width: 100%;
}
.fixed {
 top: 0px;
 text-transform: uppercase;
 margin-bottom: 180px;
 position: fixed;
 z-index: 1000;
 width: 100%; 
}
.carousel-caption h3 {
    font-size: 18px;
}
.logo {
  width: 80%;
  height: auto;
  text-align: center;
}
.logo img {
  position: absolute;
  margin-top: 5px;
 }

}

@media only screen and (max-width: 420px) {
  
.logo {
  width: 50%;
  height: auto;
  text-align: center;
}
.book-info {
  margin-top: 10px;
 }
}
/*404 page*/

.page-404{
  position:relative;
  width:350px;
  height:200px;    
  margin:100px auto;
  text-align: center;
}

.text-404{    
  font-size:138px;
  background:#e9e3dd;
  background-image: url('https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQTdWeWNteABnbzguiXSBxmfc8Z8nh_HHoWoK35QL81x4HnpVmgvQ');
  background-repeat: no-repeat;
  background-size: 200% 200%;
  background-position: 100% 100%;
  -webkit-animation: square 3s linear infinite;
  -ms-animation: square 3s linear infinite;
  animation: square 3s linear infinite;
  -webkit-background-clip: text;
  color:transparent;  
  text-align:center;
  line-height:200px;
  position:relative;
}

.text-404:nth-of-type(2){
  text-shadow:none;
  z-index:2;
  position:absolute;
  top:-139px;
  left:-1px;
}

@-webkit-keyframes square {
  0% { background-position: 0 0; }
  25% { background-position: 100% 0; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0 100%; }
  100% { background-position: 0 0; }
}

@-ms-keyframes square {
  0% { background-position: 0 0; }
  25% { background-position: 100% 0; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0 100%; }
  100% { background-position: 0 0; }
}

@keyframes square {
  0% { background-position: 0 0; }
  25% { background-position: 100% 0; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0 100%; }
  100% { background-position: 0 0; }
}