@font-face {
  font-family: SegoeScript;
  src: url("segoesc.ttf");
}
@font-face {
  font-family: SegoeScriptBold;
  src: url("segoescb.ttf");
}
@font-face {
  font-family: SegoePrint;
  src: url("segoepr.ttf");
}
@font-face {
  font-family: SegoePrintBold;
  src: url("segoeprb.ttf");
}

/*html,
body {
    height: 100%;
}*/

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -30px;
    padding: 0 0 30px;
    background: #fff url(https://ua-books.club/images/orig_500.jpg) repeat;
}

.wrap > .container {
    padding: 70px 15px 20px;
    background: #fff;
}
h1 {
    font-family: SegoePrint;
    font-weight: bold
}
h2 {
    font-family: SegoePrint;
}

@media (min-width: 1280px) {
    .container {
        width: 1280px;
    }
}
.navbar-inverse {
    background-color: #2b553f;
}
.navbar-brand {
    padding: 2px 12px;
}
.navbar-inverse .navbar-nav>li>a {
    font-family: SegoePrintBold;
    color: #fff;
    font-size: 17px
}
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
    background-color: #449d44;
}
.nav>li>a {padding-left:10px;padding-right:10px;}
.breadcrumb {
    padding: 0px 10px;
    margin-bottom: 10px;
    background-color: transparent;
    font-family: SegoePrintBold;
    font-size: 15px;
}
.breadcrumb > li + li:before {
    padding: 0;
    color: #2b553f;
    content: ">";
}
.breadcrumb > li a {
    color: #2b553f;
}
.breadcrumb > li a:hover, .breadcrumb > li a:focus {
    color: #ef0707;
    text-decoration: none;
}
.breadcrumb>.active {
    color: #ef0707;
}
.b-paginator {
    text-align: center;
}
.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    background-color: #2b553f;
    border-color: #2b553f;
}
.pagination>li>a, .pagination>li>span {
    color: #2b553f;
    font-size: 16px;
    padding: 6px 13px;
}
.footer {
    border-top: 1px solid #ffffff;
    color: #ddd;
    background: #2b553f url(/images/ornament2.png) top repeat-x;
}
.footer-menu li {
    list-style-type: none
}
.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.text-xs-left { text-align: left; }
.text-xs-right { text-align: right; }
.text-xs-center { text-align: center; }
.text-xs-justify { text-align: justify; }

@media (min-width: 768px) {
    .text-sm-left { text-align:left ; }
    .text-sm-right { text-align:right ; }
    .text-sm-center { text-align:center ; }
    .text-sm-justify { text-align:justify ; }
}

@media (min-width: 992px) {
    .text-md-left { text-align: left; }
    .text-md-right { text-align: right; }
    .text-md-center { text-align: center; }
    .text-md-justify { text-align: justify; }
}

@media (min-width: 1200px) {
    .text-lg-left { text-align: left; }
    .text-lg-right { text-align: right; }
    .text-lg-center { text-align: center; }
    .text-lg-justify { text-align: justify; }
}
.row-no-padding>[class*="col-"] {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

.text-grey {
    color: #939191;
    margin-bottom: 20px;
    text-align: justify;
}

.form-search {
    position: relative;
}

.search_input {
    font-size: 15px;
    line-height: 1.33333;
    position: relative;
    width: calc(100% - 175px);
    height: 42px;
    padding: 10px 16px;
    border: 1px solid #b3b5b4;
    border-radius: 3px;
    margin: 0;
    -moz-appearance: none;
    appearance: none;
}
select.search_input {
    width: 170px;
}
.search_input_button {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 42px;
    background: 0 0;
    border: none;
    z-index: 10;
    cursor: pointer;
}

.search_icon {
    position: absolute;
    top: 7px;
    right: 10px;
    width: 28px;
    height: 28px;
    fill: #aaa;
    cursor: pointer;
}
.main-cat {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    z-index: 500;
    position: relative;
    margin-bottom: 12px;
    justify-content: space-between;
}
.main-cat .category {
    position: relative;
    display: block;
    -ms-flex: 1 0 50%;
    flex: 1 0 50%;
    height: 210px;
    background-color: #2c3434;
    background-repeat: no-repeat;
    color: #eee;
    border: 1px solid #fff;
    box-sizing: border-box;
}
.main-cat .category:hover:before {
    content: '';
}
.main-cat .category:before {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
}
.main-cat .category .category_name {
    font-family: SegoePrint;
    display: block;
    width: 100%;
    padding: 25px 15px 10px;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    color: inherit;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 0 2px rgba(0,0,0,.8);
    background-image: linear-gradient(to bottom,transparent 0,rgba(0,0,0,.9) 100%);
}
.main-cat .category:active .category_name, .main-cat .category:focus .category_name, .main-cat .category:hover .category_name {
    color: #fff;
    text-shadow: 0 0 20px #fff;
}
.main-cat .category {
    background-color: #757575;
    background-position: center;
    background-size: cover;
}
.main-cat .category[data-topic=gdz] {
    background-image: url(/images/categories/gdz.jpg);
}
.main-cat .category[data-topic=textbook] {
    background-image: url(/images/categories/textbook.jpg);
}
.main-cat .category[data-topic=prezent] {
    background-image: url(/images/categories/prezent.jpg);
}
.main-cat .category[data-topic=ukrlit] {
    background-image: url(/images/categories/ukrlit.jpg);
}
.main-cat .category[data-topic=worldlit] {
    background-image: url(/images/categories/worldlit.jpg);
}
.main-cat .category[data-topic=slovnyk] {
    background-image: url(/images/categories/dictionary.png);
}
.main-cat .category[data-topic=analizt] {
    background-image: url(/images/categories/tvorch.png);
}
.main-cat .category[data-topic=stperekaz] {
    background-image: url(/images/categories/stysliperekazy.jpg);
}
.main-cat .category[data-topic=shkiltvir] {
    background-image: url(/images/categories/stysli-perekazy.png);
}
.main-cat .category[data-topic=referats] {
    background-image: url(/images/categories/referats.jpg);
}

.subcat a {
    text-align: center;
    padding: 10px;
    display: block;
    color: #294435;
}
.subcat {
    margin-bottom: 40px
}
.subcat a h2 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
}
.subcat a:hover {
    text-decoration: none;
}
.btn-success {
    border-color: #294435;
    background-color: #2b553e;
    margin-top: 8px;
}
.subcat a:hover .btn-success {
    background-color: #449d44;
    border-color: #398439;
}
.subcat a:hover h2 {
    color: #449d44;
}

.answer-full .image-player {
    display: none;
}
.answer-full .image-player .loading-area {
    margin: 0 auto 1rem;
    padding: 100px 0;
    text-align: center;
    color: #555;
    background-color: #f2f2f2;
    border-radius: 4px;
    box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.25), -1px -1px 1px 0 rgba(0,0,0,0.25);
}

.answer-full .image-player .loading-area .fa {
    margin-bottom: 5px;
}
.answer-full .image-player .image-area {
    display: none;
}
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}
.answer-full .image-player .image-area>img {
    display: block;
    margin: 0 auto 1rem;
    border-radius: 4px;
    box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.25), -1px -1px 1px 0 rgba(0,0,0,0.25);
}
.container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.answer-full .rotator {
    display: table;
    width: 100%;
}
.answer-full .rotator-first {
    display: table-header-group;
}
.answer-full .rotator-first .call-to-action {
    font-weight: 500;
    font-size: 1.5rem;
    text-align: center;
}
.answer-full .tree-view {
    padding-left: 0;
}
.answer-full .tree-view li {
    padding-bottom: .5rem;
    list-style: none;
    -webkit-transition: width 0.9s ease-out;
    -moz-transition: width 0.9s ease-out;
    -ms-transition: width 0.9s ease-out;
    -o-transition: width 0.9s ease-out;
    transition: width 0.9s ease-out;
}
.answer-full .tree-view a {
    display: block;
    padding: .8rem 1rem;
    font-weight: 500;
    color: #ffffff;
    background-color: #2e5641;
    border-radius: 4px;
}
.answer-full .tree-view a:hover, .answer-full .tree-view a:focus {
    text-decoration: none;
    background-color: #ff227c;
}
.pull-right {
    float: right;
}
.fa.pull-right {
    margin-left: .3em;
}
.answer-full .tree-view>.tree-dropdown>.tree-dropdown-toggle .fa {
    padding: .25rem 0;
}
.answer-full .tree-view>.tree-dropdown>.tree-dropdown-toggle .fa-angle-up {
    display: none;
}
.answer-full .tree-view>.tree-dropdown.in>.tree-dropdown-toggle .fa-angle-up {
    display: block;
}
.answer-full .tree-view>.tree-dropdown.in>.tree-dropdown-toggle .fa-angle-down {
    display: none;
}
.answer-full .tree-view ul {
    padding-left: 1rem;
}
.answer-full .tree-view>.tree-dropdown>.tree-view {
    display: none;
}
.answer-full .tree-view .tree-dropdown-item-wrapper {
    display: inline-block;
    padding-right: .25rem;
    padding-left: .25rem;
}
.answer-full .tree-view>.tree-dropdown.in>.tree-view li:first-child {
    padding-top: .5rem;
}
.answer-full .tree-view>.tree-dropdown.in>a {
    background-color: #ff227c;
}
.answer-full .tree-view>.tree-dropdown.in {
    padding-bottom: 0;
}
.answer-full .tree-view>.tree-dropdown.in>.tree-view {
    display: block;
}
.answer-full .rotator-first .call-to-action {
    font-weight: 500;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
}
.aboutinfo div {
    font-size: 15px;
    margin-bottom: 8px;
}
.presentation-full .slides .slide-image {
    display: block;
    max-width: 100%;
    margin: 1rem auto;
    border-radius: 4px;
    box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.25), -1px -1px 1px 0 rgba(0,0,0,0.25);
}
.presentations .composition img {
    display: block;
    max-width: 100%;
    max-height: 157px;
    margin: 1rem auto;
    border-radius: 4px;
    box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.25), -1px -1px 1px 0 rgba(0,0,0,0.25);
}
.compositions-list .composition {
    line-height: 1.3;
    margin-bottom: 18px;
    padding-left: 25px;
}
.compositions-list .composition:hover{
    text-decoration: none;
}
.compositions-list .composition:before {
    display: block;
    content: '';
    width: 20px;
    height: 20px;
    left: 0;
    top: 2px;
    position: absolute;
}
.compositions-list .composition:before {
    background: url(../images/analіz-tvoru1.svg) no-repeat center;
    background-size: contain;
}
.compositions-list .composition:hover:before {
    background: url(../images/analіz-tvoru-hover1.svg) no-repeat center;
    background-size: contain;
}
.book-preview .cover img {
    width: 165px;
    height: 212px;
    display: block;
    max-width: 100%;
    margin: 1rem auto;
    border-radius: 4px;
    border: 1px solid rgba(43, 85, 63, 0.5);
    box-shadow: 0 15px 10px -10px rgba(0,0,0,0.5);
}

.all-result-search {
    list-style-type: none;
    padding: 0;
}
li.result-search a {
    color: #2b553f;
    font-size: 17px;
    display: block;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}
li.result-search a:hover {text-decoration:none}
li.result-search a:before {
    display: block;
    content: '';
    background: url(../images/arrow.svg) no-repeat center;
    background-size: contain;
    width: 25px;
    height: 25px;
    left: 0;
    top: 0;
    position: absolute;
}
li.result-search a:hover:before {background: url(../images/arrow-hover.svg) no-repeat center;background-size:contain;}
li.result-search.author-s a:before {background: url(../images/author-s.svg) no-repeat center;background-size: contain;}
li.result-search.book-s a:before {background: url(../images/book.svg) no-repeat center;background-size: contain;}
li.result-search.author-s a:hover:before {background: url(../images/author-s-hover.svg) no-repeat center;background-size:contain;}
li.result-search.book-s a:hover:before {background: url(../images/book-hover.svg) no-repeat center;background-size:contain;}
.textpage {
    font-size: 16px;
    text-align: justify;
    text-indent: 15px;
}
.alphabet {
    width: 100%;
    padding: 8px 8px;
    margin-bottom: 18px;
    background: #eee;
    text-align: center;
}

.alphabet li {
    display: inline-block;
    padding: 0 8px;
    line-height: 1.1;
}

.alphabet a {
    display: inline-block;
    padding: 8px 0;
    text-transform: uppercase;
    font-size: 18px;
    color: #0072a1
}

.alphabet a:hover {
    color: #d02222
}
.list_title {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-bottom: 15px;
    text-align: center;
    background: #2b553f;
    font-size: 26px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    box-shadow: 0 8px 8px -4px rgba(0,0,0,0.5);
}
.composition-author {
    border-bottom: 1px solid #c6d6db;
    margin-bottom: 14px;
    overflow: hidden;
}
.name_author {
    color: #2b553f;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.2;
    font-family: SegoePrint;
}
.name_author a {
    color: #2b553f;
}
.compositions-list {
    margin-bottom: 12px;
    padding-left: 10px
}
.compositions-list li {
    list-style-type: none
}
.compositions-list li a {
    font-size: 16px;
    color: #000;
}
.compositions-list li span {
    font-size: 13px;
    color: #969ba3;
}
li.compositions-all {
    text-align: right;
    font-family: SegoePrint;
}
.works-list li {
    list-style-type: none
}
.works-title {
    color: #2e3847;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 18px;
}
.sub-works-list {
    padding-left: 20px;
    margin-top: 23px;
}
.works-list-item {
    font-size: 16px;
    line-height: 1.7;
    list-style-type: none;
}
.works-list-item span {
    font-size: 13px;
    color: #969ba3;
}
.tab-content {
    display: block;
    padding: 5px 20px 0;
}
.nav-tabs {
    background: rgba(43, 85, 63, 0.16);
    padding-top: 12px;
    margin-top: 25px;
}
.nav-tabs>li>a {
    font-size: 19px;
    font-family: SegoePrint;
    font-weight: bold;
    color: #2a553e;
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {color: #ddb122;}
#biography {
    font-size: 16px;
    text-align: justify;
}
.tnr-switch #text-book {
    font-family: Times New Roman,calibri,Arial,sans-serif;
}
.arial-switch #text-book {
    font-family: Arial,Times New Roman,calibri,sans-serif;
}
.calibri-switch #text-book {
    font-family: calibri,Arial,Times New Roman,sans-serif;
}
.social-share-book div {
    display: inline;
}
.work-filters {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 8px 0;
}
.select-wrap {
    position: relative;
    float: right;
    margin-left: 24px;
    font-size: 0;
    vertical-align: middle;
}
.select {
    position: relative;
    float: left;
    width: 128px;
    height: 32px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    border: 1px solid #c6d6db;
    cursor: pointer;
}
.select:after {
    content: "";
    position: absolute;
    top: 8px;
    right: 6px;
    background: url(/images/arrow-bottom.svg) no-repeat;
    background-size: contain;
    width: 15px;
    height: 15px;
}
.select-wrap .select_dropdown {
    position: absolute;
    background: white;
    border: 1px solid #c6d6db;
    border-top: 1px solid #ebedee;
    width: 128px;
    top: 32px;
    right: 0px;
    padding: 0;
}
.select_dropdown li {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5px 10px;
    color: #2e3847;
    font-size: 12px;
    cursor: pointer;
}
.select_value {
    padding: 0 20px 0 8px;
    line-height: 27px;
    color: #2e3847;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.font-size {
    float: right;
    font-size: 0;
}
.font-size a {
    display: inline-block;
    vertical-align: top;
    height: 32px;
    line-height: 32px;
    text-align: center;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 6px;
    color: red;
}
.font-size .font-size_small {
    font-size: 16px;
}
.font-size .font-size_normal {
    font-size: 19px;
}
.font-size .font-size_big {
    font-size: 24px;
}
.font-size a.is-active {
    -webkit-box-shadow: 0 0 0 1px #c6d6db;
    -moz-box-shadow: 0 0 0 1px #c6d6db;
    box-shadow: 0 0 0 1px #c6d6db;
    color: red;
    text-decoration: none;
}
.go-to-page{font-size:15px;float:left}
.footer-menu {
    margin-bottom: 30px;
    padding-top: 30px;
}
.footer-menu h4 {
    font-size: 19px;
    font-family: SegoePrint;
    font-weight: 700;
    color: #f2b81f;
    margin-bottom: 15px;
}
.footer-menu ul {padding-left:15px;margin-bottom:30px;}
.footer-menu ul li a {
    font-size: 17px;
    display: block;
    margin-bottom: 6px;
    color: #fff;
}
.biografy-author {
    margin-bottom: 15px;
}
.biografy_name_author {
    color: #2b553f;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
    font-family: SegoePrint;
}
#text-book blockquote {
    text-align: initial;
}
.dropdown-menu {
    min-width: 220px;
    font-size: 16px;
    font-family: SegoePrint;
    border: 1px solid rgba(43, 85, 63, 0.15);
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {font-weight:bold;}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {background-color:#2b553f;}

.slovnyk-letters {
    float: left;
    width: 54px;
    margin: 4px;
}
.slovnyk-letters ul {
    padding: 0;
}
.item-letter {
    position: relative;
    z-index: 2;
    font-size: 0;
    border-right: 1px solid #c6d6db;
}
.slovnyk-letters li {
    list-style-type: none;    
}
.slovnyk-letters .letter {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-bottom: 15px;
    text-align: center;
    background: #2b553f;
    font-size: 26px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    box-shadow: 0 8px 8px -4px rgba(0,0,0,0.5);
    position: relative;   
    cursor: pointer;
    z-index: 3;
}

.item-letter:hover .letter {
    background: #e3a71d;
    box-shadow: none;
}
.slovnyk-letters .subletters {
    display: block;
    position: absolute;
    top: -2px;
    bottom: 0;
    left: 0;
    height: 44px;
    width: 762px;
    padding: 8px 0 8px 65px;
}
.subletters li {
    display: inline-block;
    text-align: center;
}
.subletters li a {
    display: block;
    height: 30px;
    line-height: 30px;
    padding: 0 4px;
    font-size: 15px;
}
.item-letter:hover .subletters{
    display: block;
    opacity: 1;
    -webkit-box-shadow: 0 0 3px 1px #c6d6db;
    -moz-box-shadow: 0 0 3px 1px #c6d6db;
    box-shadow: 0 0 3px 1px #c6d6db;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: white;
}
.slovnyk-letters .subletters li a:hover {
    background: #e3a71d;
    color: white;
    text-decoration: none;
}
.letter-subw {
    display: inline-block;
    margin-bottom: 15px;
    text-align: center;
    background: #2b553f;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 8px 8px -4px rgba(0,0,0,.5);
    padding: 1px 15px 5px;
}
.subword li {
    list-style-type: none;
    font-size: 16px;
    line-height: 1.8;
}
.word-list article {
    font-size: 17px;
    padding: 20px;
}
.advpay a {
    background: url(https://ua-books.club/ads/desk1-min.jpeg) no-repeat center;
    background-size: cover;
    display: block;
    max-width: 1920px;
    max-height: 400px;
    width: 100%;
    padding: 155px;
}

@media screen and (max-width: 992px){
    .main-cat.categ {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }
    .main-cat .category {
        height: 150px;
        -ms-flex-preferred-size: 100%;
        flex-basis: 50%;
    }
    .subcat a h2 {min-height: inherit!important;}
    .advpay a {
        background: url(https://ua-books.club/ads/desk2-min.jpeg) no-repeat center;
        background-size: contain;
        padding: 120px;
    }
}


@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
    .slovnyk-letters {
        float: none;
        width: 100%;
        margin: 4px;
    }
    .slovnyk-letters .subletters {
        display: block;
        position: relative;
        top: 0;
        height: inherit;
        width: 100%;
        padding: 8px 0 8px 0;
    }
    .item-letter {
        position: relative;
        z-index: 2;
        font-size: 0;
        border-top: 1px solid #c6d6db;
        border-right: none;
        margin-top: 15px;
    }
    .slovnyk-letters .letter {margin-bottom:0;}
    .subletters li a {
    height: 35px;
    line-height: 35px;
    padding: 0 7px;
    font-size: 19px;}
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

@media(max-width:600px) {
    select.search_input, .search_input {width:100%;margin-bottom:5px;}
    .search_input_button {top:47px;}
    .search_icon {top:54px;}
    .advpay a {
    background: url(https://ua-books.club/ads/mob1-min.jpeg) no-repeat center;
        padding: 130px;
    }
}
@media(max-width:500px) {
    .font-size,.go-to-page{float:none;    text-align: center;}
    .select-wrap {float: none;
    width: 128px;
    height: 32px;
    margin: 20px auto;}
}
/*
inspired from http://codepen.io/Rowno/pen/Afykb
& https://jsfiddle.net/q0rgL8ws/
*/
#carousel {    
    height: 300px;
    margin: 0 auto;
    width: 300px;    
    border-radius: 4px;
    border: 1px solid rgba(43,85,63,.5);
    box-shadow: 0 15px 10px -10px rgba(0,0,0,.5);
    margin-bottom: 25px;
}
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
    overflow:hidden;
}
.item.active img {
    transition: transform 5000ms linear 0s;
    /* This should be based on your carousel setting. For bs, it should be 5second*/
    transform: scale(1.05, 1.05);
}
.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}
.carousel-control.left {
    background-image: -webkit-linear-gradient(left, rgb(43, 85, 63) 0%, rgba(0, 0, 0, 0.0001) 100%);
    background-image: -o-linear-gradient(left, rgb(43, 85, 63) 0%, rgba(0, 0, 0, 0.0001) 100%);
    background-image: -webkit-gradient(linear, left top, right top, from(rgb(43, 85, 63)), to(rgba(0, 0, 0, 0.0001)));
    background-image: linear-gradient(to right, rgb(43, 85, 63) 0%, rgba(0, 0, 0, 0.0001) 100%);
}
.carousel-control.right {
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgb(43, 85, 63) 100%);
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgb(43, 85, 63) 100%);
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.0001)), to(rgb(43, 85, 63)));
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgb(43, 85, 63) 100%);
}

/*
WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
now override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}
.readalser {
    float: right;
    display: block;
    margin-left: 10px;
    max-width: 348px;
    min-width: 348px;
    text-align: center;
    background: #f2f2f2;
}
.ra-title {
    background: #2b553f;
    font-family: 'Roboto Slab',serif;
    font-size: 18px;
    line-height: 18px;
    color: #fff;
    display: block;
    clear: both;
    margin: 0;
    padding: 7px 10px;
}
.readalso {
    text-align: left;
    margin: 10px 10px 0 10px;
    display: block;
    border-bottom: 1px solid rgba(1,1,1,0.1);
    padding-bottom: 10px;
}
.readalso2 {
    border: none!important;
    padding-bottom: 0 !important;
}