/*
Theme Name:  Tänapäev Theme
Version: 1
License: GNU General Public License
Author: Taavi Kybar Webdesign taavikybar.com
*/
@font-face {
    font-family: 'goth';
    src: url('lib/fonts/Gotham-Light.eot');
    src: url('lib/fonts/Gotham-Light.eot?#iefix') format('embedded-opentype'),
    url('lib/fonts/Gotham-Light.woff') format('woff'),
    url('lib/fonts/Gotham-Light.ttf') format('truetype'),
    url('lib/fonts/Gotham-Light.svg#Gotham-Light') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'goth';
    src: url('lib/fonts/Gotham-Book.eot');
    src: url('lib/fonts/Gotham-Book.eot?#iefix') format('embedded-opentype'),
    url('lib/fonts/Gotham-Book.woff') format('woff'),
    url('lib/fonts/Gotham-Book.ttf') format('truetype'),
    url('lib/fonts/Gotham-Book.svg#Gotham-Book') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'goth';
    src: url('lib/fonts/Gotham-Medium.eot');
    src: url('lib/fonts/Gotham-Medium.eot?#iefix') format('embedded-opentype'),
    url('lib/fonts/Gotham-Medium.woff') format('woff'),
    url('lib/fonts/Gotham-Medium.ttf') format('truetype'),
    url('lib/fonts/Gotham-Medium.svg#Gotham-Medium') format('svg');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'goth';
    src: url('lib/fonts/Gotham-Bold.eot');
    src: url('lib/fonts/Gotham-Bold.eot?#iefix') format('embedded-opentype'),
    url('lib/fonts/Gotham-Bold.woff') format('woff'),
    url('lib/fonts/Gotham-Bold.ttf') format('truetype'),
    url('lib/fonts/Gotham-Bold.svg#Gotham-Bold') format('svg');
    font-weight: 800;
    font-style: normal;
}

/* Reset styles */
* {
    -moz-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    box-sizing: border-box !important;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video, input {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: top;
    outline: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {
    display: block;
}

ol, ul {
    list-style: none;
}

textarea:focus, input:focus {
    outline: 0;
}

*:focus, *:invalid, *:-moz-submit-invalid, *:required, *:-moz-placeholder, *:-moz-focusring, button:focus, button:active, button:hover {
    outline: 0 !important;
    -moz-box-shadow: none;
    box-shadow: none;
}

input {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0px;
    font-size: 15px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px 8px;
    margin-bottom: 4px;
}

select {
    background: #fff;
    border: 1px solid #F5E9D4;
    border-radius: 0px;
    padding: 0px 4px;
    font-size: 15px;
}

option {
    padding: 4px 8px;
    font-size: 14px;
}

textarea {
    padding: 10px 8px;
    background: #fff;
    border: 1px solid #F5E9D4;
    border-radius: 0px;
    font-size: 15px;
    margin-bottom: 4px;
}

a {
    text-decoration: none;
    color: #000000;
}

img {
    transition: opacity 0.3s ease-in-out 0.05s;
    -webkit-transition: opacity 0.3s ease-in-out 0.05s;
    -moz-transition: opacity 0.3s ease-in-out 0.05s;
    -o-transition: opacity 0.3s ease-in-out 0.05s;
}

a:hover {
    text-decoration: underline;
}

td, th {
    vertical-align: top;
    padding: 5px 20px 5px 0;
    text-align: left;
}

.equal td {
    width: 50%;
}

footer ul {
    list-style: none
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    max-width: 100%;
}

table.mobile, table.mobile tr, table.mobile tbody, table.mobile td, table.mobile thead {
    display: block;
    width: 100% !important;
    border: 0
}

table.mobile tr td:last-child {
    padding-bottom: 10px
}

img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
    width: 100%;
}

textarea:focus, input:focus, textarea, input, select {
    outline: 0;
}

/* Main styles */
html, body {
    -webkit-text-size-adjust: none;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    min-width: 100%;
    font-size: 14px;
    width: 100%;
    line-height: 20px;
    background: #F1F1F1;
    overflow-x: hidden;
    font-family: 'goth', sans-serif;
    letter-spacing: 0px;
    color: #000;
    -webkit-font-smoothing: subpixel-antialiased;
    font-weight: 500;
}

input, select, textarea, label, .label {
    font-family: 'goth', sans-serif;
    vertical-align: middle;
    line-height: 13px;
    background: #fff;
    border: 1px solid #ccc;
    color: #222;
    padding: 10px 12px 8px 12px;
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0.5px;
}

input:focus, textarea:focus {
    border-color: #aaa;
}

.text * {
    font-family: 'goth', sans-serif !important;
}

label {
    background: none;
    padding: 5px 0;
    display: block;
}

select {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

label {
    border: 0;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0px;
    font-weight: 500;
}

h1 {
    font-size: 34px;
    line-height: 40px;
    letter-spacing: -0.2px;
}

h2 {
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -0.2px;
}

h3 {
    font-size: 30px;
    line-height: 35px;
    letter-spacing: -0.2px;
}

h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
    line-height: 22px;
}

textarea {
    width: 100%;
}

input[type='submit']:not(.wpcf7-form-control) {
    max-width: 200px;
    margin: 2px 0;
}

input[type='submit']:hover {
    cursor: pointer;
}



a {
    text-decoration: none;
}

a img, a, .overlay, #search_icon, .fb_icon, .book_link {
    transition: opacity 0.3s ease-in-out 0.05s;
    -webkit-transition: opacity 0.3s ease-in-out 0.05s;
    -moz-transition: opacity 0.3s ease-in-out 0.05s;
    -o-transition: opacity 0.3s ease-in-out 0.05s;
}

a:hover img, #search_icon:hover, .fb_icon:hover, .book_link:hover {
    opacity: 0.7;
    cursor: pointer;
}

::-webkit-input-placeholder {
    color: #888;
    font-size: 11px;
    opacity: 1;
}

:-moz-placeholder {
    color: #888;
    font-size: 11px;
    opacity: 1;
}

::-moz-placeholder {
    color: #888;
    font-size: 11px;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #888;
    font-size: 11px;
    opacity: 1;
}

.label {
    color: #888;
    font-size: 11px;
    border: 0;
    background: transparent;
    padding: 0px;
}

.text table.responsive {
    overflow-x: auto;
    display: block;
    padding: 0 10px 30px 10px;
    height: auto !important;
    border: 1px solid #ccc;
    margin-top: 10px;
}

.probox input {
    max-width: none;
}

.contacts td, .contacts th {
    white-space: nowrap;
}

/* Main */
.inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.inner.books {
    max-width: 1420px;
}

#header {
    text-align: center;
    -moz-box-shadow: 0px -2px 6px 2px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px -2px 6px 2px rgba(0, 0, 0, 0.25);
    box-shadow: 0px -2px 6px 2px rgba(0, 0, 0, 0.25);
    position: relative;
    background: #fff;
}

#header .inner {
    padding: 0;
}

.logo_wrap {
    padding: 5px 20px 10px 20px;
    text-align: center;
    height: 100px;
}

#menu_logo {
    padding: 8px 20px 10px 0px;
    display: block;
    width: calc(100% - 110px);
}

#header .menu_wrap {
    overflow: hidden;
    height: 0px;
    transition: height 0.2s ease-in-out 0.05s;
    -webkit-transition: height 0.2s ease-in-out 0.05s;
    -moz-transition: height 0.2s ease-in-out 0.05s;
    -o-transition: height 0.2s ease-in-out 0.05s;
    z-index: 1000;
}

#main_menu a {
    text-transform: uppercase;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    color: #343434;
    letter-spacing: 0.5px;
    padding: 12px 8px 10px 8px;
    display: block;
}

#search_icon {
    width: 13px;
    height: 13px;
    display: none;
    vertical-align: middle;
    background: url('lib/sprite.png') 0 0 no-repeat;
    margin: -1px 0 0 10px;
}

.section_title {
    text-align: center;
    margin: 35px 0 40px 0;
}

h3.section_title {
    margin: 40px 0 30px 0;
    border-bottom: 2px solid #000;
    padding: 0 20px 5px 0;
    display: inline-block;
    transition: border-color 0.2s ease-in-out 0.05s;
    -webkit-transition: border-color 0.2s ease-in-out 0.05s;
    -moz-transition: border-color 0.2s ease-in-out 0.05s;
    -o-transition: border-color 0.2s ease-in-out 0.05s;
}

h3.section_title:hover {
    border-color: #666;
    color: #666;
}

.section_title a {
    color: #000;
    transition: color 0.2s ease-in-out 0.05s;
    -webkit-transition: color 0.2s ease-in-out 0.05s;
    -moz-transition: color 0.2s ease-in-out 0.05s;
    -o-transition: color 0.2s ease-in-out 0.05s;
}

.section_title a:hover {
    text-decoration: none;
    color: #666;
}

.page_title {
    font-size: 50px;
    line-height: 40px;
    font-weight: 700;
}

.dots {
    color: #000;
}

#main_menu li.active:after {
    content: '';
    width: 10px;
    height: 3px;
    background: #555;
    display: none;
    position: absolute;
    left: 50%;
    bottom: 8px;
    margin: 0 0 0 -5px;
}

#main_menu li.active, #main_menu li:hover {
    background: #000;
}

#main_menu li.active a, #main_menu a:hover {
    color: #fff;
    text-decoration: none;
}

#main_menu li {
    position: relative;
}

#header .logo img {
    max-width: 140px;
    height: auto;
}

#mob_btn {
    width: 45px;
    padding: 3px 4px;
    border-radius: 6px;
    border: 2px solid transparent;
    right: 10px;
    top: 35px;
    display: inline-block;
    position: relative;

}

#mob_btn p {
    background: #000;
    height: 4px;
    margin: 4px 0;
}

#mob_btn:hover {
    cursor: pointer;
}



#header .menu_wrap {
    position: absolute;
    width: 100%;
    background: #fff;
    left: 0;
    top: 95px;
}

#main_menu {
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 20px 0;
}

#header .menu-item a.menu-image-title-hide .menu-image-title {
    display: inline;
}

#header .menu-item a img {
    display: none;
}

#mob_searchform {
    margin-top: 10px;
}

#overlay {
    position: fixed;
    z-index: 5;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0;
    display: none;
    transition: opacity 0.2s ease-in-out 0.05s;
    -webkit-transition: opacity 0.2s ease-in-out 0.05s;
    -moz-transition: opacity 0.2s ease-in-out 0.05s;
    -o-transition: opacity 0.2s ease-in-out 0.05s;
}

#overlay.down {
    opacity: 0.6;
}

@media (min-width: 400px) {
    .logo_wrap {
        text-align: left;
    }

    #header .logo img {
        max-width: 200px;
        height: auto;
    }

    #menu_logo {
        padding: 15px 20px 10px 20px;
        display: inline-block;
    }

}

@media (min-width: 900px) {
    #header .inner {
        padding: 0 20px;
    }

    .logo_wrap {
        padding: 0;
        text-align: center;
        border: 0;
        height: auto;
    }

    #main_menu li {
        display: inline-block;
        vertical-align: middle;
    }

    #search_icon {
        display: inline-block;
    }

    #main_menu a {
        font-size: 13px;
        line-height: 20px;
    }

    #header .logo img {
        max-width: none;
    }

    #mob_btn, #mob_searchform {
        display: none;
    }

    #header .menu_wrap {
        position: relative;
        width: auto;
        left: auto;
        top: auto;
        height: auto !important;
    }

    #main_menu {
        display: inline-block;
        vertical-align: middle;
    }

    #main_menu {
        border: 0;
        padding: 0;
    }

    #header .menu-item a.menu-image-title-hide .menu-image-title {
        display: none;
    }

    #header .menu-item a img {
        display: inline;
    }

    #main_menu a.menu-image-title-hide {
        padding: 0 3px;
        margin-top: -3px;
    }

    #main_menu li.active:after {
        display: block;
    }

    #main_menu li.active, #main_menu li:hover {
        background: transparent;
    }

    #main_menu li.active a, #main_menu a:hover {
        color: inherit;
    }

    #main_menu a {
        padding: 10px 8px;
    }

    #main_menu a:hover {
        text-decoration: underline;
    }

    #overlay {
        display: none !important;
    }
}

/* Single page content */
.text ol {
    margin-bottom: 10px;
    list-style: decimal;
}

.text ul {
    margin-bottom: 10px;
    list-style: disc;
}

.text ul li, .text ol li {
    margin-left: 20px;
}

.text table {
    height: auto !important;
}

.text br, .text p {
    margin-bottom: 3px;
}

.textwidget p {
    margin-bottom: 10px;
}

.text, .p_exc {
    margin-top: 10px;
}

.pdate {
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    margin-top: 5px;
}

.query {
    font-weight: 600;
}

/* News */
.widget {
    margin-bottom: 20px;
}

.widget.cap li {
    text-transform: capitalize;
}

/* 404 sitemap */
.sitemap_menu .menu-item a.menu-image-title-hide .menu-image-title {
    display: inline !important;
}

.sitemap_menu img {
    display: none !important;
}

/* Searchform */
.searchform input {
    margin: 0 2px 0 0;
    width: 220px;
    border: 2px solid #000;
    font-weight: 600;
    width: calc(100% - 60px);
    height: 36px;
}

.searchform button {
    padding: 8px 12px 7px 12px;
    background: #fafafa;
    height: 36px;
}

.searchform button i {
    background: url('lib/sprite.png') 0 0 no-repeat;
    width: 13px;
    height: 13px;
    display: block;
    transition: background-position 0.2s ease-in-out 0.05s;
    -webkit-transition: background-position 0.2s ease-in-out 0.05s;
    -moz-transition: background-position 0.2s ease-in-out 0.05s;
    -o-transition: background-position 0.2s ease-in-out 0.05s;
}

.searchform button:hover {
    cursor: pointer;
}

.searchform button:hover i {
    background-position: 0px -16px;
}

#searchform_page {
    margin-bottom: 30px;
    display: table;
    width: 100%;
}

#searchform_page input {
    max-width: none;
    background: #fafafa;
    width: 100%;
}

.search_td {
    display: table-cell;
    vertical-align: middle;
}

.search_td:first-child {
    width: 100%;
    padding-right: 5px;
}

.no_results {
    font-weight: 700;
    font-size: 18px;
}

.searchsettings {
    border: 1px solid #000 !important;
    margin-top: 2px !important;
    margin-left: -1px !important;
}

#ajaxsearchpro6_1 .probox, #ajaxsearchpro6_2 .probox, div.ajaxsearchpro[id*="ajaxsearchpro1_"] .probox {
    margin: 0;
}

div.ajaxsearchpro[id*="ajaxsearchpro"] .probox .proinput {
    margin: 0;
}

#ajaxsearchpro6_1 .probox .proinput input.orig, #ajaxsearchpro6_2 .probox .proinput input.orig, div.ajaxsearchpro[id*="ajaxsearchpro1_"] .probox .proinput input.orig {
    padding: 0;
    min-width: 200px;
}

#ajaxsearchprores6_1.vertical, #ajaxsearchprores6_2.vertical, div.ajaxsearchpro.vertical[id*="ajaxsearchprores6_"] {
    min-width: 310px;
}

div.ajaxsearchpro[id*="ajaxsearchpro"] .probox .proclose svg {
    margin-top: -12px;
}

#ajaxsearchpro6_1 .probox .promagnifier div.innericon, #ajaxsearchpro6_2 .probox .promagnifier div.innericon, div.ajaxsearchpro[id*="ajaxsearchpro1_"] .probox .promagnifier div.innericon {
    margin-top: -2px;
}

div.ajaxsearchpro[id*="ajaxsearchpro1_"] .probox .proclose {
    flex: 0 0 30px !important;
    margin-right: -5px;
}

.ajaxsearchpro * {
    font-family: inherit !important;
}

#ajaxsearchprores6_1 .results .item div.asp_content, #ajaxsearchprores6_2 .results .item div.asp_content, div.ajaxsearchpro[id*="ajaxsearchprores6_"] .results .item div.asp_content {
    line-height: 15px;
}

#ajaxsearchprores6_1 .results .item .asp_content h3 a, #ajaxsearchprores6_2 .results .item .asp_content h3 a, div.ajaxsearchpro[id*="ajaxsearchprores6_"] .results .item .asp_content h3 a {
    line-height: 17px !important;
}

#ajaxsearchprores6_1 p.showmore a, #ajaxsearchprores6_2 p.showmore a, div.ajaxsearchpro[id*="ajaxsearchprores6_"] p.showmore a {
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

#ajaxsearchprores6_1 p.showmore, #ajaxsearchprores6_2 p.showmore, div.ajaxsearchpro[id*="ajaxsearchprores6_"] p.showmore {
    padding: 10px 5px 7px 5px
}

div.ajaxsearchpro[id*="ajaxsearchprores"] .results .item {
    padding: 10px 0;
}

#ajaxsearchprores6_1 span.highlighted, #ajaxsearchprores6_2 span.highlighted, div.ajaxsearchpro[id*="ajaxsearchprores6_"] span.highlighted {
    color: #444;
    background: transparent;
}

#ajaxsearchprores6_1 .results .item div.etc, #ajaxsearchprores6_2 .results .item div.etc, div.ajaxsearchpro[id*="ajaxsearchprores6_"] .results .item div.etc {
    margin: 0;
}

#ajaxsearchprores6_1.vertical, #ajaxsearchprores6_2.vertical, div.ajaxsearchpro.vertical[id*="ajaxsearchprores6_"] {
    padding: 2px;
}

#ajaxsearchpro6_1, #ajaxsearchpro6_2, div.ajaxsearchpro[id*="ajaxsearchpro1_"] {
    margin: 0 0 4px 0;
}

.searchpage div.ajaxsearchpro .results {
    height: auto !important;
}

.searchpage .results .asp_spacer {
    display: none !important;
}

.searchpage .results .item {
    display: inline-block !important;
    width: 33% !important;
    vertical-align: top;
    height: 200px !important;
    background: transparent !important;
    border: 0 !important;
    padding: 7px 10px 7px 0 !important;
}

.searchpage div.ajaxsearchpro {
    background: transparent !important;
}

.searchpage .results .asp_content {
    background: #fff !important;
    height: 100% !important;
    width: 100% !important;
    padding: 15px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
}

.searchpage .vertical {
    padding: 0 !important;
    width: 100% !important;
    width: calc(100% + 15px) !important;
}

.searchpage .showmore {
    display: none !important;
}

.searchpage .results .item .asp_content h3 a {
    font-size: 18px !important;
    line-height: 25px !important;
}

.searchpage .results .etc {
    margin-top: 7px !important;
}

.searchpage .results .item:hover .asp_content h3 {
    text-decoration: underline;
}

.searchpage .results .item .asp_image {
    width: 150px !important;
    height: 150px !important;
}

.asp_group_header {
    color: #000 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    background: #fff !important;
    border-bottom: 1px solid #000 !important;
    border-radius: 0 !important;
}

.searchpage .asp_group_header {
    background: transparent !important;
    border: 0 !important;
    font-size: 20px !important;
    line-height: 24px !important;
    padding: 20px 0 10px 0 !important;
}

div.ajaxsearchpro.searchsettings[id*="ajaxsearchprosettings"] fieldset .label {
    width: 80%;
    margin-top: -27px;
}

.widget .loop_book_big {
    width: 100% !important;
    padding: 0 !important;
}

.widget .results {
    max-height: 400px;
}

#container .widget .lb_r .b_title {
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 5px;
}

.widget .lb_area {
    height: 120px;
}

.widget .b_exc {
    font-size: 12px;
    line-height: 14px;
}

.widget .loop_book_big .b_cat {
    height: auto;
    padding-bottom: 6px;
}

.widget .book_link {
    display: none;
}

#container .widget .loop_book_big {
    border-bottom: 1px solid #000;
}

#container .widget .loop_book_big .article_inner, #container .widget .lb_table, #container .widget .loop_book_big {
    height: auto;
}

#container .widget .loop_book_big .article_inner {
    padding: 10px;
}

.widget .lb_area::after {
    height: 30px;
}

.widget .loop_book_big .loop_thumb img {
    max-width: 70px;
}

#container .widget .lb_r .b_author {
    font-size: 15px;
    line-height: 15px;
    margin-bottom: 6px;
}

#container .widget .b_customs {
    display: none;
}

.widget .showmore {
    display: block;
}

div.ajaxsearchpro[id*="ajaxsearchpro"] .probox .proloading, div.ajaxsearchpro[id*="ajaxsearchpro"] .probox .proclose, div.ajaxsearchpro[id*="ajaxsearchpro"] .probox .promagnifier, div.ajaxsearchpro[id*="ajaxsearchpro"] .probox .prosettings, #ajaxsearchpro6_1 .probox .proinput input.orig, #ajaxsearchpro6_2 .probox .proinput input.orig, div.ajaxsearchpro[id*="ajaxsearchpro1_"] .probox .proinput input.orig {
    z-index: 100;
}

.asp_keyword {
    vertical-align: middle
}

/* Books loop */
.books_wrap {
    text-align: center;
}

.loop_book {
    display: inline-block;
    vertical-align: top;
    padding: 15px 20px 11px 20px;
    text-align: left;
    margin: 10px;
    background: #fff;
}

.loop_thumb {
    display: block;
}

.b_cat a {
    display: inline;
    color: #888;
}

.b_cat {
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
}

#container .b_cat_sepa {
    padding: 0 3px;
    color: #888;
}

.b_cat_sepa:last-child {
    display: none;
}

.attachment-post_thumb {
    border: 1px solid #eee;
}

.b_title {
    color: #333;
    font-size: 16px;
    line-height: 20px;
    margin: 10px 0 3px 0;
    font-weight: 700;
    display: block;
}

.b_author {
    color: #000;
    display: block;
    margin-bottom: 4px;
}

.center {
    text-align: center;
    margin: 30px 0;
}

.btn, button, .wpProQuiz_button {
    display: inline-block;
    vertical-align: top;
    text-transform: uppercase;
    color: #000;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 35px;
    border: 3px solid #000;
    padding: 0px 30px;
    transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -webkit-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -moz-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -o-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    background: transparent;
}

.btn:hover, button:hover, .wpProQuiz_button:hover {
    color: #fff;
    text-decoration: none;
    background: #000;
    cursor: pointer;
}

.btn.disabled, button.disabled, .wpProQuiz_button.disabled {
    pointer-events: none;
    border: 3px solid #666;
    color: #666;
}

.btn.small {
    border-width: 2px;
}

.alt_btn {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 16px;
    color: #000;
    display: inline-block;
    vertical-align: middle;
    margin: 20px 0;
    border: 0;
    padding: 0;
}

.alt_btn > span {
    display: inline-block;
    vertical-align: middle;
}

.alt_btn > i {
    width: 16px;
    height: 13px;
    display: inline-block;
    vertical-align: middle;
    background: url('lib/sprite.png') no-repeat -26px 0;
    margin: -1px 0 0 3px;
    transition: margin 0.2s ease-in-out 0.2s;
    -webkit-transition: margin 0.2s ease-in-out 0.2s;
    -moz-transition: margin 0.2s ease-in-out 0.2s;
    -o-transition: margin 0.2s ease-in-out 0.2s;
}

.alt_btn:hover {
    color: #000;
    opacity: 0.65;
    background: none;
    cursor: pointer;
}

.alt_btn:hover > i {
    margin-left: 15px;
}

.full_btn {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 11px;
    color: #fff;
    background: #b2b2b2;
    line-height: 23px;
    padding: 4px 15px 2px 15px;
    border: 0;
}

.full_btn:hover {
    opacity: 0.7;
    border: 0;
    background: #b2b2b2;
    cursor: pointer;
}

#book_filters_wrap {
    position: relative;
    text-align: center;
    color: #333;
}

#book_filters_wrap.fixed {
    position: fixed;
    top: 0;
    left: 0;
    margin: 0 !important;
    z-index: 100;
}

#book_filters_wrap.fixed .cat_name {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
}

#book_filters_wrap.fixed .cat_title {
    font-size: 12px;
    line-height: 26px;
    display: inline-block;
    vertical-align: middle;
}

#book_filters_wrap.fixed .b_filter {
    padding: 6px 40px 4px 20px
}

#b_filters {
    background: #fafafa; /*-moz-box-shadow:0px -2px 6px 2px rgba(0,0,0,0.25);-webkit-box-shadow:0px -2px 6px 2px rgba(0,0,0,0.25);box-shadow:0px -2px 6px 2px rgba(0,0,0,0.25);*/
    border-bottom: 1px solid #ddd;
    padding-bottom: 18px;
}

#book_filters_wrap.fixed #b_filters {
    padding-bottom: 4px;
}

.b_filter {
    text-align: left;
    display: inline-block;
    vertical-align: top;
    text-transform: uppercase;
    padding: 10px 50px 4px 40px;
    border-left: 1px solid #ededed;
    position: relative;
    border-bottom: 1px solid #ededed;
}

.b_filter:after {
    content: '';
    display: block;
    width: 20px;
    height: 13px;
    background: url('lib/sprite.png') no-repeat -107px 0px;
    position: absolute;
    right: 13px;
    top: 50%;
    margin: -5px 0 0 0;
}

#b_year {
    border-right: 1px solid #ededed;
}

.cat_name {
    font-weight: 500;
}

.cat_title {
    font-weight: 700;
    font-size: 16px;
    line-height: 30px;
}

.b_filter:hover {
    cursor: pointer;
    background: #fefefe;
}

.b_filter.active {
    background: #fefefe;
    border-bottom: 1px solid #ededed;
}

.b_filter.active:after {
    background-position: -107px -13px;
}

.b_filter_area {
    display: none;
    text-align: left;
    width: 100%;
    padding: 30px 0;
    min-width: 885px;
}

.b_filter_area.active {
    display: table;
}

.f_col {
    display: table-cell;
    width: 25%;
    vertical-align: top;
    border-left: 1px solid #ededed;
    padding: 0 30px;
}

.f_col:last-child {
    border-right: 1px solid #ededed;
}

.b_filter_area p {
    padding: 2px 0;
    font-weight: 500;
    position: relative;
}

.b_filter_area p.selected {
    font-weight: 700;
}

.b_filter_area p:hover {
    cursor: pointer;
    text-decoration: underline;
}

.b_filter_area p.selected:before {
    content: '';
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    left: -22px;
    top: 2px;
    background: url('lib/sprite.png') no-repeat -165px 0;
}

#b_filters_area {
    background: #fbfbfb;
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 100;
}

#b_filters_area.active {
    border-bottom: 1px solid #ddd;
    -webkit-box-shadow: 0px 7px 11px -8px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 7px 11px -8px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 7px 11px -8px rgba(0, 0, 0, 0.25);
}

.filters_area_in {
    padding: 0px 20px;
    max-width: 1360px;
    margin: 0 auto;
    position: relative;
}

#b_year_area .f_col {
    width: 16.6%;
    text-align: center;
    padding: 0 50px;
}

#b_year_area, #b_cats_area {
    width: auto;
    margin: 0 auto;
}

#b_cats_area .f_col {
    width: 33.3%;
}

#filters_close {
    width: 27px;
    height: 26px;
    position: absolute;
    right: 20px;
    top: 8px;
    background: url('lib/sprite.png') no-repeat -126px 0;
    display: none;
}

#filters_close:hover {
    cursor: pointer;
    opacity: 0.7;
}

.b_btn {
    text-align: left;
    display: inline-block;
    vertical-align: top;
    text-transform: uppercase;
    position: relative;
    border: 1px solid #ccc;
    height: auto;
    padding: 12px 15px 10px 15px !important;
    font-size: 12px;
    margin: 14px 0 0 20px;
    line-height: 12px;
    font-weight: 700;
    color: #666;
}

.b_btn:after {
    display: none;
}

.b_btn:hover {
    text-decoration: none;
    background: #fefefe;
}

#book_filters_wrap.fixed .b_btn {
    margin-top: 0;
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

.counted.hide {
    display: none;
}

.orig.hide {
    display: none;
}

.pagination a, .pagination span {
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
    color: #888;
    font-weight: 700;
}

.pagination a:hover {
    color: #555;
}

.pagination span.active {
    color: #555;
}

#filter_break {
    height: 5px;
}

.side_block .book_meta a {
    display: inline-block;
    vertical-align: top;
}

.side_block .book_meta .b_cat_sepa {
    color: #000;
}

@media (min-width: 1040px) {
    #filter_break {
        display: none;
    }

    #b_filters {
        padding: 0;
    }

    .b_filter.active, .b_filter {
        border-bottom: 0px;
    }
}

@media (max-width: 950px) {
    #b_year_area .f_col, .f_col {
        padding: 0 20px;
    }

    .b_filter_area {
        min-width: 100px;
    }
}

@media (max-width: 700px) {

    .wpcf7-form-control{
        margin-top: 5px !important;
    }
    .b_filter {
        display: block;
    }

    #b_filters {
        padding: 10px 0;
    }

    .b_filter::after {
        right: 40px;
    }

    #filter_break {
        display: none;
    }

    #b_filters .b_btn {
        display: block;
        margin: 10px 0 0 0;
        width: 100%;
        line-height: 20px;
        text-align: center;
        background: #efefef;
        border-color: #efefef;
    }

    #b_filters .b_btn:hover {
        background: #ddd;
        border-color: #ddd;
    }

    .f_col, #b_cats_area .f_col, #b_year_area .f_col {
        display: block;
        width: 100%;
        text-align: center;
        border: 0;
        border-left: 1px solid #ededed;
        border-right: 1px solid #ededed;
    }

    #b_year_area, #b_cats_area {
        width: 100%;
    }

    .b_filter_area p {
        line-height: 25px;
        font-size: 16px;
    }

    .pagination a, .pagination span {
        font-size: 18px;
        font-weight: 500;
        line-height: 30px;
    }

    .b_filter_area p.selected::before {
        position: static;
        display: inline-block;
        margin: 1px 5px 0 -21px;
    }
}

/* Single book */
.single_content {
    background: #fff;
    padding: 35px 50px;
    margin: 50px 0;
}

.searchpage {
    background: transparent;
    padding: 0;
}

.searchpage .books_btm {
    padding-top: 0;
}

/*.single_content .rating-result,.single_content .rating-form{display:none;}*/
.single_title {
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 30px;
}

.book_title {
    margin-bottom: 5px;
}

.book_author {
    font-weight: 400;
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 5px;
}

.single_inner main {
    display: table-cell;
    vertical-align: top;
    border-right: 1px solid #e5e5e5;
    padding-right: 40px;
    max-width: 880px;
}

.single_inner aside {
    display: table-cell;
    vertical-align: top;
    width: 350px;
    padding: 0 0 40px 40px;
    max-width: 350px;
}

.single_inner aside td, .single_inner aside th {
    white-space: normal;
}

.single_inner {
    display: table;
    width: 100%;
}

.book_crumbs {
    margin-bottom: 30px;
}

.book_crumbs * {
    display: inline-block;
    vertical-align: middle;
}

.book_crumbs i {
    width: 10px;
    height: 8px;
    background: url('lib/sprite.png') no-repeat -155px 0;
    margin: 0 5px;
}

.book_table {
    display: table;
    width: 100%;
    margin: 35px 0 90px 0;
}

.sepa {
    height: 1px;
    background: #f5f5f5;
    width: 70%;
    margin: 13px 0 30px 0;
}

.book_table_l, .book_table_r {
    display: table-cell;
    vertical-align: top;
}

.book_table_l {
    padding-right: 35px;
    width: 250px;
}


.book_order {
    text-align: center;
}

.book_order p {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 13px;
    margin: 20px 0 12px 0;
    line-height: 13px;
}

.book_order a {
    width: 100%;
    margin-bottom: 10px;
    padding: 2px 5px 0px 5px;
}

.book_meta td:first-child {
    font-weight: 700;
}

.book_xtra img {
    height: 190px;
    width: auto;
    margin: 0 8px 8px 0;
}

.book_xtra h3 {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 22px;
    font-weight: 500;
    margin-bottom: 20px;
}

.fa {
    margin-top: 3px;
}

.form_rating_single .save-rating, .form_rating_single h4, .form_rating_single label {
    display: none !important;
}

.com_author {
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.comment {
    margin-bottom: 15px;
}

.comm_text {
    font-size: 13px;
    font-style: italic;
}

.com_rating {
    display: inline-block;
    vertical-align: middle;
}

.com_form textarea {
    resize: none;
}

.com_form input {
    width: 100%;
    max-width: 350px;
}

.com_form .full_btn {
    width: auto;
    float: right;
}

.com_form {
    max-width: 310px;
}

.com_date {
    font-size: 11px;
    margin-bottom: 5px;
    font-weight: 700;
    color: #888;
}

.form_rating_single {
    float: left;
    margin-top: 7px;
}

.form_rating_single .rating-form {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0 5px;
    padding: 0;
}

.form_rating_single .label {
    display: inline-block;
    vertical-align: middle;
    margin-top: 2px;
}

.form_rating_single .rating-form form {
    margin: 0;
}

.form_error {
    font-size: 11px;
    line-height: 20px;
    font-weight: 700;
    color: #444;
    clear: both;
}

.form_error.big {
    font-size: 13px;
    padding-top: 5px;
}

.form_rating_single .fa-spinner {
    display: none;
}

#submit_com {
    width: 140px
}

#submit_com i {
    font-size: 16px;
    display: none;
}

#submit_com.loading i {
    display: inline-block;
}

#submit_com.loading span {
    display: none;
}

#submit_com.loading {
    pointer-events: none;
}

.side_block h4 {
    font-size: 14px;
}

.more_comments {
    margin: 10px 0;
}

.more_comments .less {
    display: none;
}

.more_comments i {
    background-position: -26px -14px;
    height: 14px;
}

.more_comments.down i {
    background-position: -42px -14px;
}

.extra_coms {
    display: none;
}

.extra_coms.down {
    display: block;
}

.more_comments:hover > i {
    margin-left: 3px;
}

.more_comments.down .less {
    display: inline;
}

.more_comments.down .all {
    display: none;
}

#sf_val ul li.sf_item {
    padding-left: 5px !important;
}

.sf_text, #sf_val li.sf_item img {
    display: table-cell !important;
    vertical-align: middle;
    position: static !important;
}

#sf_val ul li.sf_item a {
    display: table;
    width: 100%;
}

#sf_val li a span.sf_text, #sf_val li a span.sf_small {
    width: 100%;
    padding-left: 5px;
}

#sf_val ul li.sf_item {
    min-height: 21px;
}

@media (max-width: 1000px) {
    .single_inner aside, .single_inner main {
        display: block;
        width: 100%;
        max-width: none;
        border: 0;
    }

    .single_inner main {
        border-bottom: 1px solid #e5e5e5;
        padding-bottom: 40px;
        margin-bottom: 40px;
        padding-right: 0;
    }

    .single_inner main .sepa:last-child {
        display: none;
    }

    .single_inner aside {
        padding-left: 0;
    }
}

@media (max-width: 600px) {
    .book_table_l, .book_table_r {
        display: block;
        width: 100%;
    }

    .book_table_l {
        padding: 0 0 30px 0;
    }
}

@media (max-width: 450px) {
    .single_inner .searchform input {
        width: 100%;
        display: block;
    }

    .single_inner .searchform button {
        width: 100%;
        display: block;
        margin-top: 5px;
    }

    .search_td, #searchform_page {
        width: 100%;
        display: block;
    }

    .search_td:first-child {
        padding: 0;
    }

    .single_inner .searchform button i {
        margin: 0 auto;
    }

    .single_content {
        padding: 35px 15px;
    }

    h3 {
        font-size: 22px;
        line-height: 24px;
    }

    .book_xtra a, .book_xtra h3 {
        display: block;
        text-align: center;
    }

    .book_meta td, .book_meta, .book_meta tbody, .book_meta tr {
        display: block;
        width: 100%;
        text-align: center;
    }

    .book_meta td {
        padding: 3px 10px;
    }

    .book_meta tr {
        margin-bottom: 10px;
    }

    .single_title {
        font-size: 20px;
        line-height: 22px;
    }

    #container .lb_r.nopadding {
        padding-bottom: 24px !important;
    }

    #ajaxsearchprores6_1.vertical, #ajaxsearchprores6_2.vertical, div.ajaxsearchpro.vertical[id*="ajaxsearchprores6_"] {
        width: 100% !important
    }

    #ajaxsearchprores6_1.vertical, #ajaxsearchprores6_2.vertical, div.ajaxsearchpro.vertical[id*="ajaxsearchprores6_"] {
        min-width: 0px;
    }
}

/* Autorid */
.single-autor .wp-post-image {
    margin-bottom: 15px;
}

#container .autor_aside .loop_book_big {
    width: 100%;
    display: block;
    height: auto;
    padding: 0;
}

#container .autor_aside .loop_book_big .article_inner {
    height: auto;
    background: transparent;
    padding: 0;
}

#container .autor_aside .lb_table {
    height: auto;
}

#container .autor_aside .loop_book_big .loop_thumb img {
    max-width: 100px;
}

#container .autor_aside .lb_area::after {
    display: none;
}

#container .autor_aside .lb_area {
    height: auto;
}

#container .autor_aside .lb_r .b_title {
    font-size: 16px;
    line-height: 20px;
}

#container .autor_aside .lb_r .b_author {
    font-size: 15px;
    line-height: 20px;
    margin-top: 5px;
}

#container .autor_aside .side_block ul {
    padding: 0;
}

.b_customs span {
    display: inline-block;
    vertical-align: middle;
}

.b_customs span.b_cat_sepa {
    white-space: normal;
}

#container .autor_aside .side_block h4 {
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 20px;
}

#container .autor_aside .lb_r .b_author a {
    display: inline-block;
}

.autors_all ul {
    margin-bottom: 20px;
}

.autors_all h2 {
    font-size: 46px;
    line-height: 46px;
    margin: 40px 0 15px 0;
}

.autors_all .f_col a {
    line-height: 18px;
    display: block;
    color: #000;
}

.autors_all .f_col {
    padding: 0 15px;
    width: 16.66667%;
}

.autors_all li {
    margin-bottom: 5px;
}

.autors_wrap {
    padding: 80px 0 45px 0;
}

.autors_all {
    background: #fff;
    padding: 40px;
    margin-top: 40px;
}

.autors_table {
    display: table;
    width: 100%;
}

.autors_table.small, .autors_table.small .f_col {
    width: auto;
}

@media (max-width: 1000px) {
    .autors_all .f_col {
        width: 30%;
        display: inline-block;
    }

    .autors_all .f_col:nth-child(3n) {
        border-right: 1px solid #ededed;
    }

    .autors_table.small, .autors_table.small .f_col {
        width: 100%;
    }

    .autors_all {
        padding: 40px 0px;
    }
}

@media (max-width: 700px) {
    .autors_all .f_col {
        width: 100%;
        display: block;
        border: 0;
    }

    .autors_all ul {
        margin-bottom: 0;
    }
}

@media (max-width: 500px) {
    .autors_all .f_col a {
        font-size: 16px;
        line-height: 22px;
    }
}

/* Ajaleht Raamat */
.side_block {
    margin-bottom: 20px;
}

.side_block a {
    display: block;
}

.widget a, .sub_title, .side_block a {
    color: #222;
}

/*.ajaleht_content aside{width:330px;}*/
.side_block ul, .widget ul {
    padding-left: 10px;
}

.article_sub {
    margin: -25px 0 30px 0;
}

.article_sub a {
    color: #000;
    font-weight: 600;
}

/* News loop */
.news_container, .aja_container {
    max-width: 520px;
}

.article_l {
    display: table-cell;
    vertical-align: top;
    width: 55px;
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    padding-right: 10px;
}

.article_r {
    display: table-cell;
    vertical-align: top;
}

.loop_news {
    display: table;
    padding: 25px 0;
    border-top: 1px solid #f0f1f3;
}

.loop_news:last-of-type {
    border-bottom: 1px solid #f0f1f3;
}

.n_title {
    color: #000;
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
}

.n_title:hover {
    color: #000;
}

.article_l a {
    color: #000;
    transition: color 0.2s ease-in-out 0.05s;
    -webkit-transition: color 0.2s ease-in-out 0.05s;
    -moz-transition: color 0.2s ease-in-out 0.05s;
    -o-transition: color 0.2s ease-in-out 0.05s;
}

.article_l a:hover {
    text-decoration: none;
    color: #666;
}

/* Ajaleht Raamat loop */
.aja_container .article_l {
    text-transform: capitalize;
}

.aja_container .p_exc {
    margin-bottom: 15px;
}

.aja_container .p_exc:last-of-type {
    margin-bottom: 0;
}

.ajaleht_content .side_block a, .ajaleht_content .side_block span, .aja_meta a, .aja_meta span {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.ajaleht_content .side_block .aja_nrs li a:first-child {
    width: 160px;
}

.aja_m {
    font-size: 12px;
    font-weight: 600;
}

span.aja_m {
    color: #aaa;
}

.aja_m i {
    display: inline-block;
    vertical-align: middle;
    margin: -3px 0 0 2px;
    background: url('lib/sprite.png') no-repeat -185px 0;
    width: 15px;
    height: 15px;
    opacity: 0.6;
}

.aja_url i {
    background-position: -200px 0;
}

.aja_meta {
    display: inline-block;
    vertical-align: baseline;
}

.aja_meta a {
    color: #222;
}

.aja_meta a, .aja_meta span {
    vertical-align: baseline;
}

.sub_title {
    font-size: 17px;
    font-weight: 500;
}

/* Books All */
.inner.books {
    text-align: center;
}



.books_btm {
    padding: 80px 0 45px 0;
}



#container .loop_book_big .article_inner {
    background: #fff;
    padding: 10px 20px 20px 20px;
    height: 100%;
    position: relative;
}

#container .loop_book_big a:hover {
    text-decoration: underline;
}

.lb_r a, .book_author a {
    color: #000;
}

#container .lb_table {
    display: table;
    width: 100%;
    height: 250px;
}

.lb_l, .lb_r {
    display: table-cell;
    vertical-align: top;
    position: relative;
}


.lb_l {
    width: 1px;
}

.loop_book_big .b_cat {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 16px;
    display: table;
    width: 100%;
    height: 35px;
}

.b_cat_td {
    display: table-cell;
    vertical-align: middle;
}


#container .lb_r.nopadding {
    padding: 0 15px 0 0;
}

#container .lb_r .b_title {
    font-size: 21px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin: 0 0 10px 0;
}

#container .lb_r .b_author {
    font-size: 18px;
    line-height: 20px;
    letter-spacing: -0.2px;
    margin: 0px 0 12px 0;
}

#container .b_customs {
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 8px;
}

.book_link {
    width: 26px;
    height: 24px;
    display: inline-block;
    background: url('lib/sprite.png') no-repeat -81px 0;
    position: absolute;
    left: 15px;
    bottom: 0;
    opacity: 0.2;
}

.nobook .book_link {
    left: 0;
}

.lb_area {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.lb_area:after {
    content: '';
    display: block;
    width: 100%;
    height: 60px;
    position: absolute;
    bottom: 0;
    left: 0px;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 1) 100%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 1) 100%);
}

.nobook .lb_area:after {
    display: none;
}

.widget .lb_area:after {
    display: block;
}

@media (min-width: 1170px) {

    #container .loop_book_big:nth-child(3n) {
        /*padding-right: 0;*/
    }

    #container .searchpage .loop_book_big:nth-child(3n) {
        padding-right: 20px;
    }

    /*#container .searchpage .loop_book_big:nth-child(3n+1){padding-right:0px;}*/
    .inner.books {
        text-align: left;
    }
}

@media (max-width: 420px) {
    #container .lb_l, #container .lb_r {
        display: block;
    }

    #container .loop_book_big, #container .loop_book_big .article_inner, #container .lb_area {
        /*height: auto;
        width: 100%;*/
    }

    #container .lb_r {
        padding: 15px 0;
    }

    .book_link {
        bottom: -10px;
        left: 0;
    }

    .lb_area {
        margin-bottom: 10px;
    }

    #container .loop_book_big {
        /*padding-right: 0;*/
    }
}

/* WP-pro-quiz */
.wpProQuiz_header {
    display: none !important;
}

.wpProQuiz_quiz img {
    display: block;
    margin: 10px 0;
    height: 280px;
    width: auto;
    border: 1px solid #eee;
}

.site-content .wpProQuiz_questionListItem {
    display: inline-block;
    vertical-align: top;
    margin: 0 30px 30px 0;
}

.site-content .wpProQuiz_questionListItem label {
    font-size: 14px;
    line-height: 15px;
    font-weight: 500;
}

.site-content .wpProQuiz_question_text {
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.wpProQuiz_content li, .wpProQuiz_content ul, .wpProQuiz_content ol {
    list-style: none;
    margin-left: 0 !important;
}

.wpProQuiz_button {
    float: none !important;
}

.wpProQuiz_question .wpProQuiz_questionListItem label:hover {
    cursor: pointer;
}

.wpProQuiz_question .wpProQuiz_questionListItem:hover img {
    opacity: 0.7;
}

.wpProQuiz_questionListItem input {
    display: none;
}

.wpProQuiz_questionListItem label:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    background: url('lib/sprite.png') no-repeat -215px 0;
    margin-top: -2px;
}

.wpProQuiz_questionListItem.selected label:before {
    background-position: -233px 0;
}

.wpProQuiz_text .wpProQuiz_button {
    margin-top: 20px;
}


/* Footer */
#footer {
    text-align: center;
}

/*#footer.vc{margin-top:-35px;}*/
#ft_top {
    background: #fff;
    text-align: center;
    padding: 80px 0;
}

#ft_btm {
    background: #272727;
    padding: 50px 0 25px 0;
    color: #fff;
    font-size: 15px;
    line-height: 22px;
}

#ft_btm a {
    color: #fff;
}

#ft_btm .searchform {
    margin: 15px 0 20px 0;
}

#ft_btm .searchform .search-box {
    background: #595959;
    border-radius: 6px;
    border: 0;
    width: 220px;
    color: #fff;
    height: 30px;
    padding-right: 23px;
    font-size: 12px;
    padding-top: 10px;
}

#ft_btm fieldset {
    display: inline-block;
    position: relative;
}

#ft_btm .searchform button {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
    width: 22px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    transition: opacity 0.2s ease-in-out 0.05s;
    -webkit-transition: opacity 0.2s ease-in-out 0.05s;
    -moz-transition: opacity 0.2s ease-in-out 0.05s;
    -o-transition: opacity 0.2s ease-in-out 0.05s;
    background: transparent;
}

#ft_btm .searchform button i {
    background: url('lib/sprite.png') -47px 0px no-repeat;
}

#ft_btm .searchform button:hover {
    opacity: 0.65;
    background: transparent;
}

#ft_menu {
    padding: 0 20px;
}

#ft_menu li, #ft_x_menu li {
    display: inline-block;
    vertical-align: middle;
}

#ft_menu li a {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#ft_menu li:after, #ft_x_menu li:after {
    content: '|';
    display: inline-block;
    vertical-align: middle;
    margin: -1px 5px 0 9px;
}

#ft_menu .menu-item-type-custom {
    display: none;
}

#ft_menu li:last-of-type:after, #ft_x_menu li:last-of-type:after {
    display: none;
}

#ft_x_menu li a, #ft_x_menu li {
    font-size: 11px;
    color: #bdbdbd;
    line-height: 15px;
}

#ft_x_menu li:after {
    margin-top: 0;
}

#ft_x_menu {
    margin-top: 5px;
}

.fb_icon {
    width: 19px;
    height: 18px;
    background: url('lib/sprite.png') -63px 0 no-repeat;
    display: inline-block;
    margin-top: 10px;
}

@media (max-width: 450px) {
    #ft_top {
        margin-left: -40px;
    }
}

/* Royalslider */
.txt_slider, .imgonly_slider {
    position: relative;
    height: 380px !important;
    width: 100% !important;
}

.txt_slider div, .imgonly_slider div {
    height: 100% !important;
}

.txt_slider, .imgonly_slider {
    margin: 0;
}

.slide_wrap {
    text-align: center;
}

.slide_wrap h1 {
    text-align: center;
    display: block;
    vertical-align: top;
    color: #fff;
    font-size: 40px;
}

.sl_table {
    display: table;
    width: 100%;
    height: 100%;
}

.sl_cell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.sl_cell a {
    color: #fff;
    font-size: 13px;
    margin-top: 20px;
    display: inline-block;
}

.sl_cell a:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 13px;
    height: 13px;
    background: url('lib/sprite.png') no-repeat -13px 0;
}


/* woocommerce */

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    left: auto;
    color: #fff;
    background-color: #000;
    bottom: 11px;
    float: right;
}

a.added_to_cart {
    display: none !important
}

.book_order .qty {
    width: 4.0em !important;
    float: left;
    margin-top: 0px;
    font-size: 16px;
    border: none;
}

.single_add_to_cart_button {
    padding: 0 20px !important;
    float: right;
}

.woocommerce-cart table.shop_attributes tr:nth-child(2n) td, .woocommerce-cart table.shop_attributes tr:nth-child(2n) th {
    background: #ffffff !important;
}

.woocommerce-cart table.shop_attributes th, .woocommerce-cart table.shop_attributes td {
    border-bottom: none !important;
}

.woocommerce-cart table.shop_attributes {
    border-top: none !important;
}

#reply-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
    line-height: 22px;
}

.com_form .form-submit {
    float: left;
    margin-top: 22px;
    width: 50%;
}

.com_form .form_rating_single {
    width: 50%;
}

.woocommerce-cart table.shop_attributes td {
    font-style: normal;
}

.woocommerce-cart table.shop_attributes th {
    padding: 0;
}

.woocommerce-cart table.shop_attributes th {
    width: auto;
}

.woocommerce-cart table.shop_attributes td p {
    padding: 0;
}

.woocommerce-cart table.shop_attributes td, .woocommerce-cart table.shop_attributes th {
    padding: 3px 0;
}

li.review {
    padding-bottom: 15px;
}

.woocommerce-message::before {
    color: #000000;
}

.woocommerce-message {
    border-top-color: #000000;
}

.wc-forward {
    margin-top: 5px !important;
}

.woocommerce-cart .cart, .tnp_checkout {
    padding: 40px;
}

.woocommerce-cart .actions {
    margin-top: 20px;
}

.woocommerce-cart .coupon {
    width: 200px !important;
}

.woocommerce-cart .coupon .button {
    margin-top: 20px !important;
    width: 100%;
}

.woocommerce-cart .quantity input {
    width: 5em !important;
}

.woocommerce-cart .woocommerce table.shop_table {
    border: none !important;
}

.woocommerce-cart .coupon .input-text {
    border: 3px solid #000 !important;
    width: 100% !important;
    text-transform: uppercase;
    color: #000;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 25px;
}

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    border-radius: 0px !important;
    line-height: 20px !important;
}

.woocommerce:not(.post-type-archive.woocommerce, .woocommerce-page) {
    margin: 0px 0 45px 0;
}


.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background-color: #000;
}

.cart-collaterals h2 {
    margin-bottom: 20px;
}

.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
    background-color: #dfdcde;
    color: #515151;
}

.woocommerce #respond input#submit, .woocommerce button.button, .woocommerce input.button {
    bottom: auto !important;
}

button:disabled,
button[disabled] {
    color: #515151 !important;
    background-color: #dfdcde !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 0px !important;
    border: none;
}

.woocommerce-shipping-totals.shipping input[type="radio"]:checked + label:before{
    top: 4px;
    content: "\2714 \fe0e";
    color: #000000;
    position: absolute;
    font-size: 20px;
    left: -25px;
}

#shipping_method input[type="radio"]:checked + label:before{
    top: 10px;
    content: "\2714 \fe0e";
    color: #000000;
    position: absolute;
    font-size: 20px;
    left: -25px;
}

.validate-required input[type="checkbox"]:checked + label:before{
    top: 4px;
    content: "\2714 \fe0e";
    color: #000000;
    position: absolute;
    font-size: 20px;
    left: -35px;
}
.create-account .woocommerce-form__label-for-checkbox input[type="checkbox"]{
    display: inline-block !important;
    height: 25px;
    width: 25px;
}

.create-account .woocommerce-form__label-for-checkbox span{
    left: -7px !important;
}


.create-account .woocommerce-form__label-for-checkbox input[type="checkbox"]:checked::before,
.woocommerce-form__label-for-checkbox input[type="checkbox"]:checked:before {
    font-size: 20px;
    content: "\2714 \fe0e";
    color: #000000;
    display: block;
    margin-top: -4px;
    margin-left: -7px;
}

.woocommerce-validated .input-checkbox{
    height: 25px;
    width: 25px;
    display: inline-block;
}
.validate-required{
    position:relative;
}

#ship-to-different-address{
    padding-left: 3px;
}
#ship-to-different-address span{
    left: 0px;
    top: 7px;
}


#ship-to-different-address input{
    width: 25px;
    height: 25px;
}
.tnp_checkout input[type="radio"]:checked + label:before, .tnp_checkout input[type="radio"]:checked + span:before,
.tnp_checkout input[type="checkbox"]:checked + label:before, .tnp_checkout input[type="checkbox"]:checked + span:before{

}

.tnp_checkout input[type="radio"] + label:before, .tnp_checkout input[type="radio"] + span:before,
.tnp_checkout input[type="checkbox"] + label:before, .tnp_checkout input[type="checkbox"] + span:before {

}

.tnp_checkout input[type="radio"] + label, .tnp_checkout input[type="radio"] + span,
.tnp_checkout input[type="checkbox"] + label, .tnp_checkout input[type="checkbox"] + span{
    position: relative;
}

.woocommerce-account-fields{

}
.payment_method_makecommerce label{
    position: initial !important;
}
.tnp_checkout label, .tnp_checkout label span{
    display: inline-block !important;
    text-align: left;
    left: -40px;
}

.tnp_checkout label a{
    position: relative;
    top: 8px;
}

.woocommerce-privacy-policy-text{
    margin-bottom: 20px;
}

.woocommerce-terms-and-conditions-wrapper{
    padding: 15px;
}
.woocommerce-terms-and-conditions-wrapper label{
    display: initial !important;
    text-align: left;
    left: 10px;
    top: 0px;
}
.shipping_method{
    height: 25px;
}


.tnp_checkout .input-radio, .tnp_checkout .input-checkbox{
    height: 25px;
}
.woocommerce ul#shipping_method li label {
    position: relative;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: 'goth', sans-serif;
    vertical-align: middle;
    line-height: 13px;
    background: #fff;
    border: 1px solid #ccc;
    color: #222;
    padding: 10px 12px 8px 12px;
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0.5px;
}

.woocommerce ul#shipping_method .amount {
    top: 5px;
    position: relative;
}

.woocommerce-info::before {
    color: #000000;
}

.woocommerce-info {
    border-top-color: #000000;
}


.woocommerce .page_title {
    background-color: #F1F1F1 !important;
    padding-top: 20px;
    padding-bottom: 40px;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
    margin: 0 !important;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 15px !important;
}

.widget_shopping_cart_content {
    position: absolute;
    overflow: hidden;
    display: block;
    padding: 20px;
    width: 100%;
}

.tnp-minicart {
    position: absolute;
    z-index: 2;
    display: none;
}

.woocommerce a.remove, ul.cart_list li a, .woocommerce ul.product_list_widget li a, ul.cart_list li a {
    display: inline;
    font-weight: 700;
}

.woocommerce-mini-cart__total {
    padding-top: 20px;
}

.woocommerce-mini-cart__buttons .wc-forward {
    float: left !important;
}

.woocommerce-mini-cart__buttons .checkout {
    float: right !important;
}

.woocommerce-mini-cart__buttons.buttons {
    padding-top: 60px;
}

.lb_table a.button {
    bottom: 25px !important;
}

a.remove {
    display: block;
    font-size: 1.5em;
    height: 1em;
    width: 1em;
    text-align: center;
    line-height: 1;
    border-radius: 100%;
    color: red !important;
    text-decoration: none;
    font-weight: 700;
    border: 0;
}

ul.cart_list li::after, ul.cart_list li::before, ul.product_list_widget li::after, ul.product_list_widget li::before {
    content: " ";
    display: table;
    clear: both;
}

.woocommerce a.remove:hover {
    background: #ffffff;
    color: #000000 !important;
}
ul.cart_list li img, .woocommerce-page ul.product_list_widget li img {
    float: right;
    margin-left: 4px;
    width: 72px;
    height: auto;
    box-shadow: none;
}

ul.cart_list, ul.product_list_widget{
    list-style: none outside;
    padding: 0;
    margin: 0;
}


ul.cart_list li, .woocommerce-page ul.product_list_widget li {
    padding: 4px 0;
    margin: 0;
    list-style: none;
}

.archive .inner {
    max-width: 1420px;
}

.woocommerce-product-attributes-item__value {
    padding: 8px !important;
}

.woocommerce table.shop_attributes td p {
    margin: 0;
    padding: 0 !important;
}

.b_filter_area a {
    padding: 2px 0;
    font-weight: 500;
    display: block;
    position: relative;
}

.b_filter_area a.selected::before {
    content: '';
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    left: -22px;
    top: 2px;
    background: url('lib/sprite.png') no-repeat -165px 0;
}

.b_filter_area a.selected {
    font-weight: 700;
}

.page-numbers .fa {
    margin-top: 0px !important;
}

.book_table_l bdi {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
}

.book_table_l .price {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    height: 30px;
}

.woocommerce .quantity .qty {
    border: 3px solid;
}

.quantity .qty {
    padding: 7px 12px 8px 12px;
}

.book_table_l del {
    float: right;
}

.book_table_l ins {
    float: left;
    padding-right: 10px;
    text-decoration: none;
}

.book_table_l ins bdi {
    font-weight: 500 !important;
}

.woocommerce-notices-wrapper {
    padding-bottom: 20px;
}

.onsale {
    display: none;
}


.home .woocommerce.columns-5 {
    background: none !important;
}

.books_btm .products ul {
    margin: 0;
}


.loop_book_big img {
    width: 100%;
}

.article_inner .price {
    position: absolute;
    bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.article_inner {
    padding-top: 20px;
}

.loop_book_big .product_type_simple {
    text-transform: uppercase;
    position: absolute !important;
    text-align: center !important;
    background-color: #fff !important;
    color: #000 !important;
    border: 3px solid #000 !important;
    font-size: 16px !important;
    transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -webkit-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -moz-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -o-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    margin-left: 10px !important;
    bottom: 160px !important;
    width: calc(100% - 40px);
}

.loop_book_big .product_type_simple:hover {
    color: #ffffff !important;
    background-color: #000000 !important;
    text-decoration: none !important;
}


.request-button {
    font-family: 'goth', sans-serif;
    border: 3px solid #000000 !important;
    color: #000000 !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    width: 100%;
    transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -webkit-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -moz-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -o-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
}

.request-button:hover {
    color: #ffffff !important;
    background-color: #000000 !important;
}

.woocommerce a.button {
    display: none;
}

.loop_book_big .b_author a {
    color: #00498F !important;
}

.b_bottom {
    position: absolute;
    top: calc(100% - 140px);
}

.loop_thumb {
    display: block;
    position: absolute;
    bottom: calc(50% + -90px);
}

.inner_img {
    /*position: absolute;
    width: calc(100% - 40px);*/
}

#title {

}

#price {
    /*position: absolute;
    bottom: 20px;*/
}


.inner_bottom {
    /*position: absolute;
    bottom: 100px;
    width: calc(100% - 40px);*/
}

.archive .inner {
    max-width: 1300px;
}

.loop_book_big {
    /*width: calc(50% - 20px) !important;*/
}

.book_table_l img {
    width: 100%;
}

.mob_cart {
    display: none;
}

@media (max-width: 700px) {


    .modal-container .button {
        font-size: 14px !important;
        width: calc(50% - 5px) !important;
    }

    .added-to-cart .actions {
        width: 100% !important;
        float: right !important;
    }

    .request-form .actions, .request-form .actions .button{
        width: 100% !important;
    }

    .modal-container .modal-right {
        padding-left: 10px;
    }

    .modal-container .wp-post-image {
        padding-right: 10px;
    }

    .modal-window > div {
        width: calc(100% - 40px) !important;
        padding: 1em !important;
    }

    .dropdown-back {
        display: none;
    }

    .logo_wrap {
        padding: 12px 10px 20px;
        height: 95px;
    }

    .book_author {
        font-size: 20px;
    }

    .book_table {
        margin: 0px 0 90px 0;
    }


    .inner_img {
        /*padding-top: 10px;
        position: absolute;
        width: calc(100% - 20px);*/
    }

    .loop_book_big {
        /*width: calc(50% - 20px) !important;
        margin: 10px;
        padding: 0px;*/
    }

    #menu_logo {
        float: right;
        padding: 5px 20px 10px 5px;
        display: block;
        width: calc(100% - 110px);
    }

    #mob_btn {
        float: right;
    }

    .mob_cart {
        display: blocK;
        width: 65px;
        height: 45px;
        float: right;
        padding: 38px 5px;
    }

    .mob_cart i {
        font-size: 25px;
    }
}

.tnp-cart {
    width: 100%;
}

.b_area {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 30px;
    grid-auto-rows: auto;
}

#container .loop_book_big {
    display: flex;
    height: 100%;
    flex-flow: column;
    border-style: solid;
    background: #ffffff;
    padding:10px;
    position:relative;
}

.filler {
    flex: 1 1;
}

.loop_book_big .inner_bottom{
    max-height: 140px;
    min-height: 100px;
}

#price{
    font-weight: 700;
    font-size: 17px;
    padding-top: 20px;
}
@media (min-width: 700px) {
    /*.loop_book_big {
        width: 33.3% !important;
    }*/
    .woocommerce-mini-cart__buttons{
        width: calc(350px - 4em) !important;
    }

    .modal-container .actions .button{
        width: calc(50% - 5px) !important;
    }

    .b_area {
        max-width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (min-width: 900px) {
    /*.loop_book_big {
        width: 25% !important;
    }
*/
    .modal-container .button {
        font-size: 16px !important;
        width: 45% !important;
    }

    .book_table_l img {
        max-width: 230px;
    }

    .b_area {
        max-width: 100%;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .page-title{
        max-width: 1100px;
        margin: 0 auto;
    }
    .b_area {
        max-width: 1100px;
        grid-template-columns: repeat(5, 1fr);
    }
}



.single .single_add_to_cart_button {
    width: 65% !important;
    height: 40px !important;
    background-color: #ffffff !important;
    border: 3px solid #000000 !important;
    color: #000000 !important;
    font-family: 'goth', sans-serif;
    transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -webkit-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -moz-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -o-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
}

.single .single_add_to_cart_button:hover {
    background-color: #000000 !important;
    color: #ffffff !important;

}

.modal-window {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.25);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

.modal-window > div {
    width: 800px;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    padding: 5em;
    background: white;
    border: 3px solid #000000;
}

.modal-window h1 {
    font-size: 25px;
    font-weight: 500;
    line-height: 30px;
}

.modal-close {
    color: #000000;
    position: fixed;
    right: 7px;
    top: 0;
    text-decoration: none;
    font-size: 25px;

}


.modal-close:hover {
    color: black;
}

.modal-window div:not(:last-of-type) {
    margin-bottom: 15px;
}

.modal-left {
    position: relative;
    float: left;
    width: 33.3%;
}

.modal-right {
    position: relative;
    float: left;
    width: 66.6%;
}

.modal-right .author, .modal-right .author a {
    color: #00498F !important;
}

.modal-right .price {
    font-size: 23px;
    font-weight: 700;
    margin-top: 10px;
}

.modal-right .cart-info {
    margin-top: 20px;
}

.modal-right .total {
    font-size: 17px;
    font-weight: 700;
}

.modal-right .total .total-price {
    color: #00498F;
}

.modal-right .delivery {
    margin-top: 20px;
    text-decoration: underline;
}

.modal-right .free-delivery {
    margin-top: 15px;
    display: none;
}

.modal-container .actions {
    padding-top: 30px;
    width: 100%;
    float: right;
}

.modal-container .button {
    float: left !important;
    position: relative !important;
    display: block !important;
    text-transform: uppercase;
    padding: .618em 0 !important;
    text-align: center;
    font-family: 'goth', sans-serif;
    transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -webkit-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -moz-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
    -o-transition: color 0.11s ease-in-out 0.05s, background 0.11s ease-in-out 0.05s;
}

.modal-container .continue {
    margin-right: 10px !important;
    background-color: #ffffff !important;
    border: 3px solid #000000 !important;
    color: #000000 !important;
}

.modal-container .continue:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.modal-container .to-cart {
    background-color: #00498F !important;
    border: 3px solid #000000 !important;
    color: #ffffff !important;
    float: right !important;
}

.modal-container .to-cart:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.modal-right .not-in-stock {
    margin-top: 20px;
}

.modal-right .request-form {
    margin-top: 30px;
}


.modal-right .request-form .wpcf7-text {
    border: 3px solid #000000;
    max-width: 100% !important;
    width: 100% !important;
    height: 50px;
}

.modal-right .request-form .wpcf7-text::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    font-family: 'goth', sans-serif;
    font-size: 16px !important;
    color: #000000;
}

.modal-right .request-form .wpcf7-text::-moz-placeholder { /* Firefox 19+ */
    font-family: 'goth', sans-serif;
    font-size: 16px !important;
    color: #000000;
}

.modal-right .request-form .wpcf7-text:-ms-input-placeholder { /* IE 10+ */
    font-family: 'goth', sans-serif;
    font-size: 16px !important;
    color: #000000;
}

.modal-right .request-form .wpcf7-text:-moz-placeholder { /* Firefox 18- */
    font-family: 'goth', sans-serif;
    font-size: 16px !important;
    color: #000000;
}


.woocommerce input.button {
    bottom: 11px !important;
}

.woocommerce-product-attributes-item__value a {
    display: inline-block;
}

.woocommerce nav.woocommerce-pagination ul {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border-top: 1px solid #d3ced2;
    border-bottom: 1px solid #d3ced2;
    width: 40px;
}

.woocommerce nav.woocommerce-pagination ul li:first-child {
    border-left: 1px solid #d3ced2;
}

.woocommerce-pagination {
    margin-top: 50px;
}


.cart-trigger {
    right: 0;
}


.cart-trigger img{
    width: 30px;
    height: 20px;
}


@media only screen and (min-width: 1200px) {
    .cart-trigger {
        /* cart right margin on desktop */
        right: 0;
    }

    .cart-trigger a {
        position: relative;
        width: 100px;
        border-left: none;
        background-color: #26292f;
    }
}

.tnp-cart {
    position: fixed;
    top: 0;
    height: 100%;
    /* header height */
    padding-top: 50px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 3;
}



@media only screen and (min-width: 768px) {
    .tnp-cart {
        width: 350px;
    }

    .modal-container .actions {
        padding-top: 30px;
        width: 66.6%;
        float: right;
    }
}

@media only screen and (min-width: 1200px) {
    .tnp-cart {
        /* header height has changed */
        padding-top: 80px;
    }
}


.tnp-cart {
    right: -100%;
    background: #FFF;
    -webkit-transition: right 0.3s;
    -moz-transition: right 0.3s;
    transition: right 0.3s;
    z-index: 1000;
}

.tnp-cart.speed-in {
    right: 0;
}

.tnp-cart > * {
    padding: 0 1em;
}

.tnp-cart h2 {
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 1em 0;
}

.tnp-cart .cd-cart-items {
    padding: 0;
}

.tnp-cart .cd-cart-items li {
    position: relative;
    padding: 1em;
    border-top: 1px solid #e0e6ef;
}

.tnp-cart .cd-cart-items li:last-child {
    border-bottom: 1px solid #e0e6ef;
}

.tnp-cart .cd-qty, .tnp-cart .cd-price {
    color: #a5aebc;
}

.tnp-cart .cd-price {
    margin-top: .4em;
}

.tnp-cart .cd-item-remove {
    position: absolute;
    right: 1em;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: url("../img/cd-remove-item.svg") no-repeat center center;
}

.no-touch .tnp-cart .cd-item-remove:hover {
    background-color: #e0e6ef;
}

.tnp-cart .cd-cart-total {
    padding-top: 1em;
    padding-bottom: 1em;
}

.tnp-cart .cd-cart-total span {
    float: right;
}

.tnp-cart .cd-cart-total::after {
    /* clearfix */
    content: '';
    display: table;
    clear: both;
}

.tnp-cart .checkout-btn {
    display: block;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background: #7dcf85;
    color: #FFF;
    text-align: center;
}

.no-touch .tnp-cart .checkout-btn:hover {
    background: #a2dda8;
}

.tnp-cart .cd-go-to-cart {
    text-align: center;
    margin: 1em 0;
}

.tnp-cart .cd-go-to-cart a {
    text-decoration: underline;
}

@media only screen and (min-width: 1200px) {
    .tnp-cart > * {
        padding: 0 2em;
    }

    .tnp-cart .cd-cart-items li {
        padding: 1em 2em;
    }

    .tnp-cart .cd-item-remove {
        right: 2em;
    }
}


.tnp-cart .woocommerce-mini-cart__buttons .button {
    display: block !important;
    border: 3px solid #000;
    padding: 15px 23px;
}

.tnp-cart .widget_shopping_cart_content {
    min-height: 350px;
}

.tnp-cart .widget_shopping_cart_content .woocommerce-mini-cart__buttons {
    position: relative;
    width: calc(100% - 2em);
}

.tnp-cart-close {
    position: absolute;
    top: 20px;
    right: 0px;
    float: right;
    font-size: 25px;
    padding: 0 1em;
}
.tnp-cart-close img{
    width: 30px;
    height: 30px;
}
p a, label a{
    text-decoration: underline;
}

#shipping_method label, #shipping_method label span {
    display: inline !important;
    text-align: left !important;
    left: 0 !important;
}

.tnp-cart .free-delivery{
    color: #00498F !important;
    margin-top: 10px;
}

.tnp-cart .free-delivery p{
    font-size: 12px;
}

.comment:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.book_table_r .text p:last-of-type {
	display:none !important;
}

