.text-left-not-xs,
.text-left-not-sm,
.text-left-not-md,
.text-left-not-lg {
    text-align: left;
}

.text-center-not-xs,
.text-center-not-sm,
.text-center-not-md,
.text-center-not-lg {
    text-align: center;
}

.text-right-not-xs,
.text-right-not-sm,
.text-right-not-md,
.text-right-not-lg {
    text-align: right;
}

.text-justify-not-xs,
.text-justify-not-sm,
.text-justify-not-md,
.text-justify-not-lg {
    text-align: justify;
}

@media (max-width: 767px) {
    .text-left-not-xs,
    .text-center-not-xs,
    .text-right-not-xs,
    .text-justify-not-xs {
        text-align: inherit;
    }
    .text-left-xs {
        text-align: left;
    }
    .text-center-xs {
        text-align: center;
    }
    .text-right-xs {
        text-align: right;
    }
    .text-justify-xs {
        text-align: justify;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .text-left-not-sm,
    .text-center-not-sm,
    .text-right-not-sm,
    .text-justify-not-sm {
        text-align: inherit;
    }
    .text-left-sm {
        text-align: left;
    }
    .text-center-sm {
        text-align: center;
    }
    .text-right-sm {
        text-align: right;
    }
    .text-justify-sm {
        text-align: justify;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .text-left-not-md,
    .text-center-not-md,
    .text-right-not-md,
    .text-justify-not-md {
        text-align: inherit;
    }
    .text-left-md {
        text-align: left;
    }
    .text-center-md {
        text-align: center;
    }
    .text-right-md {
        text-align: right;
    }
    .text-justify-md {
        text-align: justify;
    }
}

@media (min-width: 1200px) {
    .text-left-not-lg,
    .text-center-not-lg,
    .text-right-not-lg,
    .text-justify-not-lg {
        text-align: inherit;
    }
    .text-left-lg {
        text-align: left;
    }
    .text-center-lg {
        text-align: center;
    }
    .text-right-lg {
        text-align: right;
    }
    .text-justify-lg {
        text-align: justify;
    }
}


/*
* reset
*/

body {
    font-size: 18px !important;
    color: #242424 !important;
    background: #e6e6e6;
    font-family: 'regular' !important;
    text-align: center;
}

body * {
    outline: none !important;
    /*font-weight: normal;*/
}

strong,
b {
    font-weight: bold;
}

.fa {
    display: inline-block;
    line-height: 100%;
    vertical-align: middle;
}

#main {
    max-width: 1140px;
    margin: auto;
    position: relative;
    z-index: 1;
}


/*body #main {
    margin-top: 200px;
}

body .leaderb {
    width: 100%;
    position: absolute;
    top: 0;
    margin-top: -200px;
    z-index: 0;
    background: transparent !important;
}

body .col-md-12.leaderboard1 {
    background: transparent;
    padding: 0 !important;
}

body .col-md-12.leaderboard1 .ad {
    background: transparent;
    padding: 15px 0 !important;
}*/

@media (max-width: 1199px) {
    .single .leaderb {
        padding-top: 50px;
    }
}

@media (min-width: 1199px) {
    body.branding #main {
        margin-top: 200px;
    }
    body.branding .leaderb {
        width: 100%;
        position: absolute;
        top: 0;
        margin-top: -200px;
        z-index: 0;
        background: transparent !important;
    }
    body.branding .col-md-12.leaderboard1 {
        background: transparent;
        padding: 0 !important;
    }
    body.branding .col-md-12.leaderboard1 .ad {
        background: transparent;
    }
}

.wrapper .clear {
    content: '';
    display: block;
    clear: both;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wrapper,
.wrapper-fluid {
    background: #fafafa;
    text-align: left;
}

.wrapper.container.page {
    padding-top: 30px;
}

.page-template-page-profile .wrapper.container.page,
.page-template-page-profile-photogallery .wrapper.container.page,
.page-template-page-profile-photogallery-insert .wrapper.container.page,
.page-template-page-profile .wrapper.container.page {
    min-height: calc(100vh - 121px);
}

.wrapper p {
    line-height: 1.56em !important;
    padding-bottom: 1.5em !important;
    margin: 0 !important;
}

.wrapper p.thin {
    font-size: 14px !important;
    color: #B2B2B2;
}

.wrapper p:empty {
    display: none !important;
}

.wrapper .text em {
    font-style: italic !important;
}

.colored {
    color: #f59680;
}

.wrapper ul,
.wrapper ol,
.wrapper li {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.wrapper .text ol,
.wrapper .text ul {
    margin-top: 0.5em !important;
}

.single .wrapper .text ul li,
.page .wrapper .text ul li {
    margin-left: 1.5em !important;
    list-style: disc !important;
    /*margin-bottom: 1em !important;*/
}

.wrapper .text ol li {
    margin-left: 1.5em !important;
    list-style: decimal !important;
    margin-bottom: 1em !important;
}

.wrapper i,
.wrapper em {
    font-style: normal !important;
}

.wrapper h1 {
    font-size: 52px !important;
    font-family: bold !important;
    line-height: 1.1em !important;
    padding-bottom: 0.5em !important;
    padding-top: 0.5em !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    color: #ee5b0a;
}

body.single .wrapper h1,
body.error404 .wrapper h1,
.wrapper .counseling-content h1 {
    text-transform: none !important;
}

.wrapper h2 {
    font-size: 24px !important;
    line-height: 1.29em !important;
    padding-top: 0.5em !important;
    padding-bottom: 1em !important;
    margin: 0 !important;
    font-family: bold !important;
    text-transform: uppercase !important;
}

.wrapper h3,
.wrapper h4,
.wrapper h5,
.wrapper h6 {
    font-size: 20px !important;
    padding-top: 0.5em !important;
    font-family: bold !important;
    padding-bottom: 1em !important;
    margin: 0 !important;
}

.wrapper a {
    color: #666666 !important;
}

.page-template-page-login .wrapper .login-info a {
    color: #ee5b0a !important;
}

.wrapper a:hover {
    color: #000 !important;
    text-decoration: underline !important;
}

.wrapper .text a {
    color: #ee5b0a !important;
    text-decoration: none;
}

.wrapper .text a:hover {
    color: #ee5b0a !important;
    text-decoration: underline !important;
}

.wrapper .uppercase {
    text-transform: uppercase;
}

.wrapper .text table {
    width: 100%;
    font-size: 14px;
    margin-bottom: 2em !important;
    font-size: 1em !important;
    color: #6b6b6b;
}

.wrapper .text img {
    margin-bottom: 1em !important;
}

.wrapper .text .gallery_view img {
    margin-bottom: 0 !important;
}

.wrapper table img {
    height: auto;
}

.wrapper .text.text-content img {
    margin-bottom: 0 !important;
}

.wrapper .text th {
    line-height: 1.3em;
    padding: 0.8em 1em;
    border-bottom: 1px solid #242424;
    text-align: left;
    font-family: bold;
    font-size: 13px;
    background: #ededed;
}

.wrapper .text td {
    line-height: 1.3em;
    padding: 0.8em 1em;
    text-align: left;
    font-family: regular;
    font-size: 13px;
    background: #ededed;
}

.wrapper .text td label {
    font-family: regular;
}

.wrapper .text td.valign_top {
    vertical-align: top;
}

.wrapper .text td.multiline a {
    display: inline-block;
    padding-bottom: 5px;
}

.category .wrapper .text td a,
.single .wrapper .text td a {
    color: #EA4235 !important;
}

.wrapper .text td strong {
    font-family: bold;
}

.wrapper .text tr:nth-child(odd) th,
.wrapper .text tr:nth-child(odd) td {
    background: white;
}

.wrapper .text .ad div,
.wrapper .text .ad table,
.wrapper .text .ad td,
.wrapper .text .ad th {
    padding: 0 !important;
    margin: 0 !important;
}


/*.wrapper .text tr:nth-child(even) {
    background: white;
}

.wrapper .text tr:nth-child(odd) {
    background: #ededed;
}

.wrapper .text thead tr:nth-child(odd) {
    background: white;
}*/

.wrapper .text .sq1 tr:nth-child(odd),
.wrapper .text .sq2 tr:nth-child(odd),
.wrapper .text .sq1_sex tr:nth-child(odd),
.wrapper .text .sq2_sex tr:nth-child(odd) {
    background: transparent;
}

.wrapper .text .sq1,
.wrapper .text .sq2,
.wrapper .text .sq1_sex,
.wrapper .text .sq2_sex {
    width: 300px;
    max-height: 633px;
    padding-bottom: 0 !important;
    margin-bottom: 20px !important;
    overflow: hidden;
}

.wrapper .text .sq1 img,
.wrapper .text .sq2 img,
.wrapper .text .sq1_sex img,
.wrapper .text .sq2_sex img {
    width: auto;
    margin-bottom: 0 !important;
}

.wrapper .text .sq1 div,
.wrapper .text .sq2 div,
.wrapper .text .sq1_sex div,
.wrapper .text .sq2_sex div {
    padding-bottom: 0 !important;
    /* margin-bottom: 20px !important; */
}

@media (max-width: 767px) {
    .ad>div {
        text-align: center;
    }
    .ad>div .adFull {
        margin: 0 auto !important;
    }
    .wrapper .text .sq1,
    .wrapper .text .sq2,
    .wrapper .text .sq1_sex,
    .wrapper .text .sq2_sex,
    .wrapper .text .sq2_hp,
    .wrapper .text .sq2_hp,
    .wrapper .text .sq3,
    .wrapper .text .sq4,
    .wrapper .text .sq3_sex,
    .wrapper .text .sq4_sex,
    .wrapper .text .sq3_hp,
    .wrapper .text .sq4_hp {
        text-align: center;
        width: 100%;
    }
    .wrapper .text .adFull,
    .adFull {
        margin: 0 auto !important;
    }
}

.wrapper.fixed {
    position: fixed;
    z-index: 1;
    left: 50%;
    margin-left: -570px;
}

.wrapper.absoluted {
    position: absolute;
    z-index: 1;
    left: 50%;
    margin-left: -570px;
}

.wrapper.navigation {
    z-index: 2;
    height: 50px;
}

.wrapper.navigation .row {
    height: 50px;
}

.wrapper.news {
    padding-top: 50px;
}

.wrapper .site-title {
    display: none;
}

.wrapper.navigation .logo {
    padding: 11px 20px 0 0;
    float: left;
    z-index: 1;
    position: relative;
}

.single-gallery .logo img,
.attachment .logo img,
.wrapper.navigation .logo img {
    max-height: 30px;
    width: 130px;
}

.logo a {
    color: #242424 !important;
    display: block;
    height: 30px;
}

.logo .fa:before {
    font-size: 125px;
    line-height: 30px !important;
    height: 30px !important;
    vertical-align: top !important;
}


/* .wrapper .row_even {
    background-color: white;
} */

.wrapper .excerpt {
    font-size: 20px;
    color: #6b6b6b;
    line-height: 1.4em;
    margin-bottom: 25px;
    font-family: light;
}

.wrapper .caption {
    font-size: 13px;
    color: #6b6b6b;
    margin-bottom: 40px;
    margin: 0.5em 0 1.5em 0 !important;
}

.wrapper .image {
    width: 1100px;
    height: 618px;
    position: relative;
    /*padding-bottom: 0.5em !important;*/
    font-family: 'regular' !important;
}

.wrapper .image a.photo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
}

.wrapper .image img {
    height: auto;
    max-width: 100%;
    display: block;
    -webkit-transition: all 0.5s ease;
    /* Safari and Chrome */
    -moz-transition: all 0.5s ease;
    /* Firefox */
    -ms-transition: all 0.5s ease;
    /* IE 9 */
    -o-transition: all 0.5s ease;
    /* Opera */
    transition: all 0.5s ease;
}

.wrapper .image:hover img {
    -webkit-transform: scale(1.01);
    /* Safari and Chrome */
    -moz-transform: scale(1.01);
    /* Firefox */
    -ms-transform: scale(1.01);
    /* IE 9 */
    -o-transform: scale(1.01);
    /* Opera */
    transform: scale(1.01);
}

.single .wrapper .text p,
.single .wrapper .text div,
.single .wrapper .text li,
.single .wrapper .answers p,
.single .wrapper .answers div,
.page .wrapper .text p,
.page .wrapper .text div,
.page .wrapper .text li,
.page .wrapper .answers p,
.page .wrapper .answers div {
    font-family: Georgia;
    line-height: 1.56em !important;
}

.archive .wrapper .text p,
.archive .wrapper .text div,
.archive .wrapper .text li,
.archive .wrapper .answers p,
.archive .wrapper .answers div {
    font-family: Georgia;
    line-height: 1.56em !important;
}


/* .single .wrapper .text.text-content p,
.single .wrapper .text.text-content div,
.single .wrapper .text.text-content li,
.page .wrapper .text.text-content p,
.page .wrapper .text.text-content div,
.page .wrapper .text.text-content li {
    padding-bottom: 0 !important;
} */

.single .wrapper .text ul,
.page .wrapper .text ul {
    padding-bottom: 0.5em !important;
}

.single .wrapper .text li,
.page .wrapper .text li {
    padding-bottom: 1em !important;
}

body.single-post .wrapper .text>.col-md-12>p:first-child:first-letter {
    float: left;
    font-size: 64px;
    line-height: 62px;
    margin-top: -6px;
    padding-right: 8px;
    font-family: bold;
}

.wrapper .text-wrapper .image-wrapper {
    margin-bottom: 0;
}

.wrapper .page-content {
    padding-top: 50px;
    padding-bottom: 50px;
}

.wrapper .page-content h2 {
    padding-bottom: 1em !important;
}

.wrapper .page-content p {
    font-size: 14px;
}

.wrapper .page-content p:last-child {
    font-size: 14px;
    padding-bottom: 0 !important;
}

.wrapper .have-account {
    text-align: center;
}

.wrapper .have-account a {
    color: #242424 !important;
    border-bottom: 1px solid #e6e6e6;
    text-transform: uppercase;
    font-size: 18px;
    font-family: bold;
    text-decoration: none !important;
}

.wrapper .user-card {
    padding-top: 20px;
    padding-bottom: 20px;
    height: 136px;
    position: relative;
    margin-bottom: 20px;
    margin-top: 20px;
}

.wrapper .user-card p {
    font-size: 13px !important;
}

.wrapper .user-card:after {
    content: '';
    position: absolute;
    left: 20px;
    bottom: 0;
    width: calc(100% - 40px);
    display: block;
    border-bottom: 1px solid #e6e6e6;
}

.wrapper .user-card h3 {
    font-family: regular !important;
    padding-bottom: 5px !important;
}

.wrapper .user-card .col-md-6 {
    height: 100%;
}

.wrapper .user-card .col-md-6 p:last-child {
    position: absolute;
    bottom: 0;
}

.wrapper .user-card .col-md-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.wrapper .user-card .col-md-2 p {
    text-transform: uppercase;
    text-align: center;
}

.wrapper .user-card .col-md-2 p span {
    display: block;
    font-size: 40px;
    font-family: bold !important;
    padding-bottom: 10px;
}

.wrapper .user-nav {
    margin-top: -20px;
    padding-bottom: 20px;
}


/*
* slideci tlacitka
*/

.wrapper .image-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.wrapper .share-buttons-above {
    text-align: right;
    position: absolute;
    top: -66px;
    right: 20px;
}

.wrapper .share-buttons-above .share-buttons {
    text-align: right;
}

.wrapper .share-buttons li {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: #6b6b6b;
    border-radius: 25px;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    -o-border-radius: 25px;
    -ms-border-radius: 25px;
    text-align: center;
    margin-right: 14px !important;
}

.wrapper .share-buttons li:hover {
    background: black;
}

.wrapper .share-buttons li:last-child {
    margin-right: 0 !important;
}

.wrapper .share-buttons li a {
    color: white !important;
    line-height: 25px;
    font-size: 0.7em;
    display: block;
    height: 25px;
    text-decoration: none !important;
}

.wrapper .share-buttons-below {
    text-align: left;
    padding: 25px 0;
}

.wrapper .share-buttons-below .share-buttons {
    text-align: left;
}

.wrapper .share-buttons-below .share-buttons li {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    -o-border-radius: 50px;
    -ms-border-radius: 50px;
    margin-right: 26px !important;
}

.wrapper .share-buttons-below .share-buttons li:last-child {
    margin-right: 0 !important;
}

.wrapper .share-buttons-below .share-buttons li a {
    line-height: 50px;
    font-size: 1.4em;
    height: 50px;
}

.wrapper .category-guidepost .col-md-4:nth-child(3n+3)+.col-md-4 {
    clear: both;
}

.wrapper .category-guidepost {
    background: white !important;
}

.wrapper .category-guidepost table {
    margin-bottom: 0 !important;
}

.wrapper .category-guidepost tr {
    background: transparent !important;
}

.wrapper .category-guidepost td {
    padding: 0 !important;
}


/*.wrapper .category-guidepost .col-md-4.col-last + .col-md-4 {
    clear: both;
}*/

.wrapper .category-guidepost h3 {
    margin-top: 1em !important;
}

.wrapper .category-guidepost a,
.category .wrapper .text a {
    color: #9e9e9e !important;
}


/*
* menu
*/

.wrapper.navigation>.row {
    border-bottom: 1px solid #ebebeb;
}

.wrapper.navigation .hamburger-icon {
    display: none;
}

.wrapper.navigation .icons {
    position: absolute;
    background: #FAFAFA;
    width: 110px;
    height: 48px;
    right: 0;
    top: 0;
    z-index: 1;
}

.wrapper.navigation a.search-icon,
.wrapper.navigation a.user-icon,
.wrapper.navigation a.femina-club-icon {
    position: absolute;
    top: 0;
    right: 8px;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    display: block;
    color: black !important;
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.wrapper.navigation a.search-icon .fa:before,
.wrapper.navigation a.user-icon .fa:before {
    font-size: 20px;
}

.wrapper.navigation a.search-icon {
    right: 58px;
}

.wrapper.navigation .menu-menu-container {
    height: 50px;
    position: relative;
}

.menu {
    overflow: hidden;
    height: 50px;
}

.menu,
.user-menu {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
}

.user-menu {
    border-bottom: 1px solid #e6e6e6;
}

.menu:after,
.user-menu:after {
    content: "";
    display: block;
    clear: both;
}

.menu>li,
.user-menu>li {
    float: left;
    margin: 0;
    position: static;
}

.menu>li>a,
.user-menu>li>a {
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
    display: inline-block;
    color: #000000 !important;
    text-decoration: none;
}

.menu>li>a {
    padding: 0 8px;
    font-size: 12px;
}

.menu li>a:hover,
.user-menu li>a:hover {
    text-decoration: none !important;
}

.menu>li>ul,
.user-menu>li>ul,
.sub-menu>li>ul {
    display: none;
}

.menu>li:hover>a,
.user-menu>li:hover>a,
.user-menu>li.activ>a,
.menu>li.activ>a {
    height: 50px;
    line-height: 50px;
    position: relative;
    display: block;
    color: #242424 !important;
}

.menu>li:hover>a:after,
.user-menu>li:hover>a:after,
.user-menu>li.activ>a:after,
.menu>li.activ>a:after,
.search-icon.activ:after {
    content: "";
    position: absolute;
    width: calc(100% - 20px);
    z-index: 0;
    display: block;
    height: 1px;
    background: #EA4235;
    border: 0;
    margin: 0;
    margin-top: -1px;
}

.search-icon.activ:after {
    bottom: 0;
    left: 0;
    width: 100%;
}

.user-menu .logout {
    float: right;
}

.user-menu .logout .fa {
    font-size: 16px;
    margin-right: 0.5em;
}

.dropdownmenu {
    min-height: 435px;
    position: absolute;
    left: 0;
    top: 50px;
    width: calc(100% + 40px);
    margin-left: -20px;
    display: none;
    background: white;
    border-bottom: 2px solid #ebebeb;
    z-index: 10000000;
    /*display: block !important;*/
}

.dropdownmenu:after {
    content: "";
    width: 100%;
    height: 50px;
    margin-top: -50px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    -webkit-box-shadow: 0px 80px 200px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 80px 200px rgba(0, 0, 0, 1);
    box-shadow: 0px 80px 200px rgba(0, 0, 0, 1);
    clear: both;
}

.dropdownmenu:before {
    content: "";
    width: 100%;
    height: 100%;
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.dropdownmenu ul.sub-menu {
    position: relative;
    z-index: 1;
    float: left;
}

.dropdownmenu ul.sub-menu>li {
    display: block;
    float: none;
    width: 170px;
}

.dropdownmenu ul.sub-menu>li>a {
    display: block;
    width: 170px;
    padding: 0 20px;
    height: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    font-family: bold;
    line-height: 50px;
    background: #fafafa !important;
    border-bottom: 1px solid #ebebeb;
    border-right: 1px solid #ebebeb;
    text-transform: uppercase;
    text-decoration: none !important;
}

.dropdownmenu ul.sub-menu>li:hover a,
.dropdownmenu ul.sub-menu>li.activ a {
    background: white !important;
    border-right: 0;
    text-decoration: none !important;
    color: black !important;
}

.menu>li>a:hover:before {
    content: "";
    display: block;
    width: 200%;
    height: 20px;
    background: rgba(0, 0, 0, 0);
    position: absolute;
    bottom: 0;
    left: -50%;
    z-index: 10;
}

.dropdownmenu ul.sub-menu>li>a:hover:before {
    content: "";
    display: block;
    height: 200%;
    width: 50px;
    background: rgba(0, 0, 0, 0);
    position: absolute;
    top: -50%;
    right: 0;
    z-index: 1000;
}

.menu>li>a:active:before,
.dropdownmenu ul.sub-menu li>a:active:before {
    display: none;
}

.dropdownmenu .articles .article-small-list {
    background: white;
    width: auto;
}

.dropdownmenu .articles {
    display: block;
    float: left;
    padding: 20px 0 0 25px !important;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.dropdownmenu .articles .article-small-list .article:after {
    display: none;
}

.dropdownmenu .articles .article-small-list h2 {
    font-family: regular !important;
    font-size: 16px !important;
}

.dropdownmenu .articles .article-small-list .article {
    margin-right: 28px !important;
    float: left;
    width: 250px;
}

.dropdownmenu .articles .article-small-list .article .thumb {
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.dropdownmenu .articles .article-small-list .article .thumb-big {
    height: 240px;
}

.dropdownmenu .articles .article-small-list .article.middle {
    margin-right: 28px !important;
    float: left;
    width: 528px;
    height: 297px;
    position: relative;
}

.dropdownmenu .articles .article-small-list .article.middle .thumb {
    height: 297px;
}

.dropdownmenu .articles .article-small-list .article.middle .thumb a {
    background: black;
    display: block;
}

.dropdownmenu .articles .article-small-list .article.middle .thumb img {
    width: 528px;
    height: auto;
    opacity: 0.7;
}

.dropdownmenu .articles .article-small-list .article.middle .heading_wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.dropdownmenu .articles .article-small-list .article.middle .heading {
    width: 70%;
    margin: auto;
}

.dropdownmenu .articles .article-small-list .article.middle h2 {
    font-size: 24px !important;
    line-height: 1.3em !important;
    font-family: bold !important;
}

.dropdownmenu .articles .article-small-list .article.middle a,
.dropdownmenu .articles .article-small-list .article.middle .category-name,
.dropdownmenu .articles .article-small-list .article.middle .count {
    color: white !important;
}

.dropdownmenu .articles .article-small-list .article.thumb {
    float: left;
    height: 75px;
    position: relative;
    margin-bottom: 36px !important;
}

.dropdownmenu .articles .article-small-list .article.thumb .thumb {
    height: 75px;
    float: left;
    margin-right: 15px !important;
}

.dropdownmenu .articles .article-small-list .article.thumb .thumb img {
    width: 75px;
    height: auto;
}

.dropdownmenu .articles .article-small-list .article.thumb h2 {
    font-size: 14px !important;
    line-height: 1.3em !important;
    padding-top: 0 !important;
}

.dropdownmenu .articles .article-small-list .article.thumb a {
    display: block !important;
}

.dropdownmenu .articles .article-small-list .article.thumb .icon-count {
    display: none;
}

.dropdownmenu.with_submenu .articles {
    width: 860px;
}

.dropdownmenu.with_submenu .m4 .article:last-child,
.dropdownmenu.with_submenu .b1s6 .article:nth-last-child(-n+3),
.dropdownmenu.with_submenu .m2s6 .article:nth-last-child(-n+3),
.dropdownmenu.with_submenu .b1m2 .article:last-child {
    display: none;
}

.dropdownmenu .articles .button-next-articles {
    display: block;
    position: absolute;
    bottom: -30px;
    right: 30px;
    font-family: regular !important;
    text-align: center !important;
    z-index: 1;
}

.fa-load-more-1 {
    position: relative;
    top: -1.8px;
}

.fa-load-more-1:before {
    top: 1.8px;
    position: relative;
}

.whisperer {
    min-height: 84px;
    position: absolute;
    left: 0;
    top: 50px;
    width: 100%;
    display: block;
    background: white;
    border-bottom: 2px solid #ebebeb;
}

.whisperer:after {
    content: "";
    width: 100%;
    height: 50px;
    margin-top: -50px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    -webkit-box-shadow: 0px 80px 200px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 80px 200px rgba(0, 0, 0, 1);
    box-shadow: 0px 80px 200px rgba(0, 0, 0, 1);
    clear: both;
}

.whisperer input[type=text],
.whisperer>span {
    height: 84px;
    line-height: 84px;
    width: calc(100% - 84px) !important;
    border: none;
    background: transparent;
    font-size: 42px !important;
    outline: none;
    padding: 0 20px;
    position: relative;
    text-transform: lowercase;
    z-index: 1;
}

.whisperer>span {
    position: absolute;
    top: 0;
    left: 0;
    color: #b8b8b8;
}

.whisperer button {
    position: absolute;
    right: 0;
    top: 0;
    height: 84px;
    width: 84px;
    line-height: 84px;
    font-size: 30px;
    background: none;
    border: 0;
}

.whisperer ul {
    border-top: 1px solid #e6e6e6;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    display: none;
}

.whisperer li {
    padding: 5px 20px !important;
    line-height: 1.3em;
}

.whisperer li a {
    position: relative;
    color: #b8b8b8 !important;
}

.whisperer li a:hover {
    color: #b8b8b8 !important;
}

.whisperer li a span {
    display: inline-block;
    text-transform: lowercase !important;
}

.whisperer li a:hover span {
    color: #242424 !important;
}

.whisperer li a span:first-child {
    position: absolute;
    color: #242424;
}

.whisperer li a span::first-letter {
    text-transform: uppercase !important;
}

.social-networks {
    text-align: center;
}

.social-networks a {
    display: block;
    margin-bottom: 1em;
    font-family: regular;
    margin-bottom: 20px !important;
    color: white !important;
}

.wrapper .text .social-networks a {
    color: white !important;
}

.social-networks a img {
    display: none;
}

.social-networks a:hover {
    text-decoration: none !important;
    color: white !important;
}

.social-networks .wp-social-login-connect-with {
    display: none;
}

.social-networks .wp-social-login-provider-list {
    padding: 0;
}

.social-networks .fbl-button {
    /*display: none;*/
    position: relative;
    height: 50px;
    width: 100%;
    margin-bottom: 20px !important;
}

.social-networks .fb-login-button {
    z-index: 1;
    opacity: 0;
}

.social-networks .fbl-button,
.social-networks .wp-social-login-provider-facebook,
.social-networks .wp-social-login-provider-google,
.social-networks .wp-social-login-provider-twitter {
    border-radius: 0 !important;
    margin: 0;
    display: block !important;
    padding: 0 !important;
    font-size: 0 !important;
    color: white !important;
    transition: none;
    text-shadow: none;
    opacity: 1;
    max-width: 100%;
}

.social-networks .fbl-button:after,
.social-networks .wp-social-login-provider-facebook:after {
    content: 'Přihlášení přes Facebook';
    text-transform: uppercase;
    font-size: 16px !important;
    line-height: 50px !important;
    background: #3B5998;
    display: block;
}

.social-networks .fbl-button:after {
    position: absolute;
    top: 0;
    width: 100%;
}

.social-networks .wp-social-login-provider-google:after {
    content: 'Přihlášení přes Google';
    text-transform: uppercase;
    font-size: 16px !important;
    line-height: 3em !important;
    background: #DB4437;
    display: block;
}

.social-networks .wp-social-login-provider-twitter:after {
    content: 'Přihlášení přes Twitter';
    text-transform: uppercase;
    font-size: 16px !important;
    line-height: 50px !important;
    background: #1DA1F2;
    display: block;
}

.page-template-page-registration .social-networks .fbl-button:after,
.page-template-page-registration .social-networks .wp-social-login-provider-facebook:after {
    content: 'Registrace přes Facebook';
    text-transform: uppercase;
}

.page-template-page-registration .social-networks .wp-social-login-provider-google:after {
    content: 'Registrace přes Google';
    text-transform: uppercase;
}

.page-template-page-registration .social-networks .wp-social-login-provider-twitter:after {
    content: 'Registrace přes Twitter';
    text-transform: uppercase;
}

.social-networks-login .user-login {
    display: none;
}

.social-networks a {
    display: block;
    width: 100%;
}

.social-networks a .fa {
    display: none !important;
}

.social-networks .user-login {
    display: none;
}

.apsl-long-login-text,
.apsl-login-text {
    display: none !important;
}

.apsl-icon-block {
    padding: 12px 15px !important;
    display: block !important;
    border-radius: 0 !important;
}

.social-networks .icon-facebook:after {
    content: 'Přihlášení přes Facebook';
    text-transform: uppercase;
    font-size: 16px !important;
}

.social-networks .icon-google:after {
    content: 'Přihlášení přes Google';
    text-transform: uppercase;
    font-size: 16px !important;
}

.social-networks .icon-twitter:after {
    text-transform: uppercase;
    font-size: 16px !important;
    content: 'Přihlášení přes Twitter';
}


/*
* Breadcrumb
*/

p.breadcrumbs {
    /* color: #FF9333; */
    font-size: 13px;
    text-transform: uppercase;
    padding-bottom: 0 !important;
}

p.breadcrumbs a {
    font-family: regular;
    /* color: #9e9e9e !important; */
}

p.breadcrumbs .breadcrumb_last {
    font-family: regular;
}


/*
* velikosti obrázků
*/


/*
* zobrazení galerií
*/

.wrapper .content .gallery_view {
    float: left;
    margin: 0 20px 1.5em -17.667% !important;
    clear: both;
    position: relative;
    font-family: regular !important;
    padding-bottom: 0 !important;
    text-align: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.wrapper .content .video_view {
    float: left;
    margin: 0 20px 1.5em -17.667% !important;
    clear: both;
    padding-bottom: 0 !important;
    width: 618px;
}

.wrapper .content .gallery_view.no_shift_left {
    margin-left: 0 !important;
}

.wrapper .content .gallery_view img {
    width: auto;
    height: auto;
    min-width: 100%;
    vertical-align: middle;
    -webkit-transition: all 0.5s ease;
    /* Safari and Chrome */
    -moz-transition: all 0.5s ease;
    /* Firefox */
    -ms-transition: all 0.5s ease;
    /* IE 9 */
    -o-transition: all 0.5s ease;
    /* Opera */
    transition: all 0.5s ease;
}

.wrapper .content .gallery_view li:hover img {
    -webkit-transform: scale(1.05);
    /* Safari and Chrome */
    -moz-transform: scale(1.05);
    /* Firefox */
    -ms-transform: scale(1.05);
    /* IE 9 */
    -o-transform: scale(1.05);
    /* Opera */
    transform: scale(1.05);
}

.wrapper .content .gallery_view div {
    font-family: regular !important;
}

.wrapper .content .gallery_view ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.wrapper .content .gallery_view ul li {
    background: #eeeeee;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    list-style: none !important;
}

.wrapper .content .gallery_view ul li img {
    margin-bottom: 0 !important;
}

.wrapper .content .gallery_view li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.wrapper .content .gallery_view ul:after {
    content: "";
    clear: both;
    display: block;
    height: 0;
}

.wrapper .content .gallery_view.right {
    float: right;
    margin: 0 -17.667% 0 20px !important;
}

.wrapper .content .gallery_view.count3 li {
    width: 246px;
    height: calc((246px / 16) * 9);
    margin-bottom: 4px !important;
}

.wrapper .content .gallery_view.count3 li:last-child {
    margin-bottom: 0 !important;
}

.wrapper .content .gallery_view.count3.horizontal {
    width: 618px;
    margin-right: 0 !important;
    margin-bottom: 1.5em !important;
}

.wrapper .content .gallery_view.count3.horizontal li {
    width: 203px;
    height: calc((203px / 16) * 9);
    margin-bottom: 0 !important;
    margin-right: 4px !important;
}

.wrapper .content .gallery_view.count4 {
    width: 618px;
    margin-bottom: 1.5em !important;
    margin-right: 0 !important;
}

.wrapper .content .gallery_view.count4 li {
    width: 203px;
    height: calc((203px / 16) * 9);
    margin-bottom: 0 !important;
    margin-right: 4px !important;
}

.wrapper .content .gallery_view.count4 li a img {
    width: 203px;
    height: auto;
}

.wrapper .content .gallery_view.count4 li:last-child,
.wrapper .content .gallery_view.count3.horizontal li:last-child {
    margin-right: 0 !important;
}

.wrapper .content .gallery_view.count4 li:first-child {
    width: 618px;
    height: calc((618px / 16) * 9);
    margin-bottom: 4px !important;
    margin-right: 0 !important;
}

.wrapper .content .gallery_view.count4 li:first-child a img {
    width: 618px;
    height: auto;
}

.wrapper .content .gallery_view.horizontal li {
    float: left;
    margin-left: 0 !important;
}

.wrapper .content .gallery_view.count1 {
    margin-right: 0 !important;
    margin-bottom: 1.5em !important;
    /*background: #eeeeee;*/
    float: none;
}

.wrapper .content .gallery_view.count1 a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.wrapper .content .gallery_view.count1 a img {
    width: 100%;
    height: auto;
}

.wrapper a.gallery-link {
    position: absolute;
    bottom: 35px;
    left: 35px;
    width: 160px !important;
    height: 48px !important;
    background: url(../images/btn-gallery.png);
    text-transform: uppercase;
    color: white;
    font-size: 13px;
    line-height: 1em;
    padding: 18px 0 16px 17px;
    text-align: left;
    white-space: nowrap;
    color: white !important;
    text-decoration: none !important;
    display: block !important;
}

.wrapper a.gallery-link span {
    display: inline-block;
}

.wrapper a.gallery-link span:last-child {
    width: 27px;
    text-align: center;
    margin-left: 3px;
}

.wrapper a.gallery-link:hover {
    background-color: black;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    color: white !important;
}

.wrapper .content .gallery_view.count3 a.gallery-link {
    bottom: 46px;
    top: auto;
    left: 44px;
}

.wrapper .content .gallery_view.count3.horizontal a.gallery-link,
.wrapper .content .gallery_view.count4 a.gallery-link {
    bottom: 33px;
    top: auto;
    left: auto;
    right: 22px;
    text-decoration: none !important;
}


/*
* výpis galerií
*/

.gallery-small-list li {
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 15px !important;
    margin-bottom: 24px !important;
}

.gallery-small-list li:last-child {
    border-bottom: none;
}

.gallery-small-list .thumb {
    height: calc((340px / 16) * 9);
    background: #eeeeee;
    padding-bottom: 0 !important;
    position: relative;
    overflow: hidden;
}

.gallery-small-list .thumb a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.gallery-small-list .thumb a img {
    width: 340px;
    height: auto;
}

.gallery-small-list h2 {
    font-size: 18px !important;
    color: #242424;
    line-height: 1.5em;
    font-family: bold !important;
    padding-bottom: 0 !important;
    padding-top: 20px !important;
}

.gallery-small-list h2 a {
    color: #242424 !important;
    font-family: bold !important;
    text-decoration: none;
}

.gallery-small-list .icon-count {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 32px;
    height: 26px;
    background: url(../images/btn-count.png);
}

.gallery-small-list .icon-count span {
    position: absolute;
    left: 1px;
    bottom: 0;
    width: 26px;
    height: 20px;
    line-height: 20px;
    color: white;
    font-weight: normal !important;
    text-align: center;
    font-size: 13px;
}

.gallery-small-list .info {
    padding-bottom: 0.5em !important;
}


/*
* výpis článků - thumb
*/

.wrapper .article-thumb-list {
    padding: 25px 0 !important;
    font-size: 14px;
    line-height: 1em;
}

.wrapper .article-thumb-list p {
    line-height: 1.35em !important;
    padding-bottom: 0.2em !important;
    margin: 0 !important;
}

.wrapper .article-thumb-list:after {
    content: "";
    display: block;
    clear: both;
}

.wrapper .article-thumb-list a {
    /*text-decoration: none !important;*/
}

.wrapper .article-thumb-list li:hover {
    cursor: pointer;
}

.wrapper .article-thumb-list li:hover p.title a {
    text-decoration: underline !important;
}

.wrapper .article-thumb-list li {
    float: left;
    height: 75px !important;
    width: 300px;
    padding-right: 25px !important;
    overflow: hidden;
}

.wrapper .article-thumb-list img {
    float: left;
    width: 75px;
    height: 75px;
    margin-right: 12px;
    -webkit-transition: all 0.5s ease;
    /* Safari and Chrome */
    -moz-transition: all 0.5s ease;
    /* Firefox */
    -ms-transition: all 0.5s ease;
    /* IE 9 */
    -o-transition: all 0.5s ease;
    /* Opera */
    transition: all 0.5s ease;
}

.wrapper .article-thumb-list li:hover img {
    -webkit-transform: scale(1.05);
    /* Safari and Chrome */
    -moz-transform: scale(1.05);
    /* Firefox */
    -ms-transform: scale(1.05);
    /* IE 9 */
    -o-transform: scale(1.05);
    /* Opera */
    transform: scale(1.05);
}

.wrapper .top-news {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.wrapper .top-news .article-thumb-list {
    width: 100000px;
}

.wrapper .top-news .article-thumb-list li {
    position: relative;
}

.wrapper .top-news .article-thumb-list li .icons {
    position: absolute;
    bottom: -7px;
    left: 85px;
    font-size: 11px;
    color: #b8b8b8;
    max-width: 50%;
    white-space: nowrap;
}

.wrapper .top-news .article-thumb-list li .icons i.ico {
    width: 30px;
    margin-right: 5px;
}

.wrapper .top-news .article-thumb-list li .icons i.ico.last {
    width: 15px;
}

.wrapper .top-news .buttons {
    background: url(../images/grad.png) repeat-y;
    background-position: left;
    /*background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%, color-stop( 40%,rgba(250,250,250,1))); 
    background: -o-linear-gradient(right, rgba(0,0,0,0) 0%, rgba(250,250,250,1) 40%); 
    background: -moz-linear-gradient(right, rgba(0,0,0,0) 0%, rgba(250,250,250,1) 40%); 
    background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(250,250,250,1) 40%); */
    height: 125px;
    width: 74px;
    position: absolute;
    right: -20px;
    top: 0;
}

.wrapper .top-news .buttons a {
    display: inline-block;
    font-size: 18px;
    width: 100%;
    height: 62px;
    text-align: center;
    line-height: 62px;
}

.wrapper .top-news .buttons a span.fa {
    margin-left: 20px;
}

.wrapper .top-news .buttons a.next span.fa {
    margin-top: 7px;
}

.wrapper .top-news .buttons a.prev span.fa {
    margin-bottom: 4px;
}

.wrapper .top-news .buttons a.disable {
    color: #ddd !important;
}


/*
* výpis článků - tiny
*/

.wrapper .article-tiny-list {
    padding: 0 !important;
    font-size: 14px;
    line-height: 1em;
}

.article-tiny-list p.thumb {
    overflow: hidden;
}

.article-tiny-list p.thumb img {
    display: block;
    width: 144px;
    height: 81px;
    -webkit-transition: all 0.5s ease;
    /* Safari and Chrome */
    -moz-transition: all 0.5s ease;
    /* Firefox */
    -ms-transition: all 0.5s ease;
    /* IE 9 */
    -o-transition: all 0.5s ease;
    /* Opera */
    transition: all 0.5s ease;
}

.article-tiny-list h2,
.article-small-list .article-tiny-list h2,
.widget .article-tiny-list h2 {
    font-weight: normal !important;
    font-size: 1em !important;
    text-align: left !important;
    line-height: 1.3em !important;
    padding-bottom: 0.2em !important;
    padding-top: 0 !important;
    text-transform: none !important;
}

.widget .article-tiny-list h2 a,
.article-tiny-list h2 a {
    color: #242424 !important;
}

.article-tiny-list li:hover img {
    -webkit-transform: scale(1.05);
    /* Safari and Chrome */
    -moz-transform: scale(1.05);
    /* Firefox */
    -ms-transform: scale(1.05);
    /* IE 9 */
    -o-transform: scale(1.05);
    /* Opera */
    transform: scale(1.05);
}

.wrapper .article-tiny-list p {
    line-height: 1.4em !important;
    padding-bottom: 0.2em !important;
    margin: 0 !important;
    text-align: left !important;
}

.article-tiny-list p.thumb {
    width: 144px;
    height: 81px;
    float: left;
    margin-right: 12px !important;
}

.wrapper .article-tiny-list:after {
    content: "";
    display: block;
    clear: both;
}

.wrapper .article-tiny-list a {
    /*text-decoration: none !important;*/
}

.wrapper .article-tiny-list li {
    padding-right: 0 !important;
    margin-bottom: 20px !important;
    height: 81px;
    overflow: hidden;
    width: 100%;
}


/*
* vytahy
*/

.wrapper .text div.extract {
    float: left;
    clear: both;
    width: 50%;
    text-transform: uppercase;
    color: #ee5b0a;
    font-family: bold !important;
    margin: 20px 20px 20px 0;
    font-size: 1.5em;
    position: relative;
    margin-left: -16.667% !important;
}

.wrapper .text div.extract p {
    font-family: bold !important;
}

.wrapper .text div.extract.right {
    float: right;
    padding: 20px 0 20px 20px;
    margin-left: auto !important;
    margin-right: -16.667% !important;
}

.wrapper .posts_list li {
    height: 300px;
    box-sizing: border-box;
    margin-bottom: 0;
}


/*
* drobné prvky
*/

.wrapper .category-name {
    font-size: 10px;
    text-transform: uppercase;
    color: #9e9e9e;
    font-family: bold;
}

.wrapper .category-name a,
.wrapper .info .category-name a {
    border: 0 !important;
    /*text-decoration: none !important;*/
    color: #9e9e9e !important;
}

.category-name.separator:before {
    content: "";
    display: inline-block;
    height: 9px;
    width: 0;
    border-left: 1px solid #9e9e9e;
    margin-left: 5px;
    padding-left: 5px;
    position: relative;
    top: 1px;
}

.count {
    font-size: 10px;
    text-transform: uppercase;
    color: #6b6b6b;
    font-family: bold;
}

.wrapper .info,
.wrapper .tags {
    font-size: 13px;
    color: #9e9e9e;
    padding-bottom: 0.5em !important;
}

.wrapper .info a {
    color: #9e9e9e !important;
    text-decoration: none;
}

.wrapper .tags a {
    display: inline-block;
    line-height: 1.8em;
    background: #9e9e9e;
    color: white !important;
    margin-right: 6px;
    margin-bottom: 6px;
    padding: 0 7px;
    text-decoration: none;
    white-space: no-wrap;
}

.content {
    margin-bottom: 40px;
}

.list .col-md-12:first-child:before {
    display: block;
    content: "";
    height: 0;
    border-top: 1px solid #ebebeb;
}

.category .list .col-md-12:first-child:before,
.archive .list .col-md-12:first-child:before,
.page .list .col-md-12:first-child:before {
    border-top: none;
}

.home .list .col-md-12:first-child:before {
    display: none;
}

.list h3 {
    font-size: 28px !important;
    font-family: bold !important;
    text-transform: uppercase;
    color: #242424;
    padding-top: 0 !important;
    padding-bottom: 20px !important;
}

h3.readmore,
h3.sublist_title,
h4.readmore {
    font-size: 18px !important;
    padding-top: 20px !important;
    text-transform: uppercase;
    color: #ee5b0a;
}

.category .page>.list>.row>.col-md-12>h3:first-child,
.archive .page>.list>.row>.col-md-12>h3:first-child,
h3.big_title {
    font-size: 52px !important;
    padding-top: 20px !important;
}


/*
* výpis článků
*/

@media (min-width: 767px) {
    .list {
        overflow: hidden;
    }
}

@media (max-width: 767px) {
    .article-small-list li.ad-place.ad-full-width {
        margin-left: -20px !important;
        width: 100vw;
    }
    .article-small-list li.ad-place.ad-full-width .ad div[class^=sq] {
        width: 100% !important;
    }
    .wrapper .text .ad-full-width.sq2 {
        margin-left: -20px !important;
        width: 100vw;
    }
    .wrapper .text .ad-full-width.sq2>div {
        text-align: center;
    }
}


/*.news_list,
.single .list {
    margin-top: -20px;
}*/

.substitute_list {
    margin-top: 0;
}

.yarpp-related {
    margin: 0 !important;
}

.yarpp-related h3 {
    text-transform: none !important;
}

.yarpp-related a {
    font-weight: normal !important;
}

.article-small-list {
    width: 1140px;
}

.article-small-list li {
    float: left;
    margin-bottom: 20px !important;
    text-align: center;
    margin-right: 37px;
    max-height: 426px;
}


/*.article-small-list li.special_row {
    margin-bottom: 20px !important;
}*/

.article-small-list.onerow li {
    margin-bottom: 20px !important;
}

.article-small-list.onerow li .article:after {
    border: none;
}

.article-small-list .article img {
    width: 342px;
    height: auto;
}

.article-small-list .test_cosmetics.article img,
.article-small-list .product.article img {
    max-height: 100%;
    width: auto;
}


/*.list-items-disabled.article-small-list .article img,
.ended img {
    -webkit-filter: grayscale(100%); 
    filter: grayscale(100%);
}*/

.article-small-list .thumb {
    height: 192px;
    padding-bottom: 0 !important;
    position: relative;
    overflow: hidden;
}

.article-small-list li .thumb img,
.gallery-small-list li .thumb img {
    -webkit-transition: all 0.4s ease;
    /* Safari and Chrome */
    -moz-transition: all 0.4s ease;
    /* Firefox */
    -ms-transition: all 0.4s ease;
    /* IE 9 */
    -o-transition: all 0.4s ease;
    /* Opera */
    transition: all 0.4s ease;
}

.article-small-list li.article:hover .thumb img,
.article-small-list li .article:hover .thumb img,
.gallery-small-list li .article:hover .thumb img {
    -webkit-transform: scale(1.05);
    /* Safari and Chrome */
    -moz-transform: scale(1.05);
    /* Firefox */
    -ms-transform: scale(1.05);
    /* IE 9 */
    -o-transform: scale(1.05);
    /* Opera */
    transform: scale(1.05);
}

.article-small-list li.col-md-8:hover .thumb img,
.gallery-small-list li.col-md-8:hover .thumb img,
.gallery-small-list li:hover .thumb img,
.article-small-list li.middle:hover .thumb img {
    -webkit-transform: scale(1.02);
    /* Safari and Chrome */
    -moz-transform: scale(1.02);
    /* Firefox */
    -ms-transform: scale(1.02);
    /* IE 9 */
    -o-transform: scale(1.02);
    /* Opera */
    transform: scale(1.02);
}

.article-small-list .thumb a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.article-small-list h2,
.gallery-small-list h2 {
    font-size: 18px !important;
    color: #242424;
    line-height: 1.5em;
    font-family: bold !important;
    padding-bottom: 5px !important;
    padding-top: 12px !important;
    text-transform: none !important;
}

.article-small-list h2 a {
    color: #242424 !important;
    text-decoration: none !important;
}

.article-small-list .icon-count {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 32px;
    height: 26px;
    background: url(../images/btn-count.png);
}

.article-small-list .icon-count span {
    position: absolute;
    left: 1px;
    bottom: 0;
    width: 26px;
    height: 20px;
    line-height: 20px;
    color: white;
    font-weight: normal !important;
    text-align: center;
    font-size: 13px;
}

.gallery-small-list .info,
.article-small-list .info {
    padding-bottom: 8px !important;
}

.article-small-list .excerpt {
    font-size: 13px !important;
    text-transform: none;
}

.article-small-list .excerpt a {
    text-decoration: none !important;
    color: #666666 !important;
}

.gallery-small-list li:hover,
.article-small-list li .article:hover,
.article-small-list li.article:hover,
.article-tiny-list li:hover,
.article-small-list li .article_small:hover {
    cursor: pointer;
}

.gallery-small-list li:hover h2 a,
.article-tiny-list li:hover h2 a,
.article-small-list li.article:hover h2 a,
.article-small-list li .article:hover h2 a {
    text-decoration: underline !important;
}

.article-small-list a.gallery-link {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    display: block;
    margin: auto;
    margin-top: 20px;
}

.article-small-list .article {
    width: 342px;
    height: 426px;
    text-align: left;
}

.vote_avg {
    display: inline-block;
    background: #f59680 !important;
    color: white;
    width: 40px;
    line-height: 40px;
    height: 40px;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    -o-border-radius: 40px;
    text-align: center;
}

.article-small-list .article .vote_avg {
    display: block !important;
    margin: -40px 0 10px 10px;
    width: 30px;
    line-height: 30px;
    height: 30px;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -o-border-radius: 30px;
    position: relative;
    z-index: 1;
    font-size: 13px;
}

.article-small-list .article.pending {
    opacity: 0.7;
}

.article-small-list .article:after {
    content: "";
    display: block;
    height: 0;
    border-bottom: 1px solid #ebebeb;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.article-small-list .col-md-8 .article {
    width: 721px;
}

.article-small-list .ad {
    width: 342px;
    height: 426px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.article-small-list .ad-place .ad {
    /*visibility: hidden;*/
}

.article-small-list li.col-md-4 .ad:after {
    content: "";
    display: block;
    height: 0;
    border-bottom: 1px solid #ebebeb;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 379px;
}

.article-small-list li.col-md-4 .ad.big_ad:after {
    display: none;
}

.article-small-list .col-md-12 .ad {
    width: 100%;
    margin-right: 37px;
    background: #EDEDED;
    height: auto;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
}

.article-small-list .col-md-12 .ad img {
    width: auto;
    height: auto;
}

.article-small-list .tiny-list {
    width: 342px;
    height: 426px;
}

.article-small-list .tiny-list:after {
    content: "";
    display: block;
    height: 0;
    border-bottom: 1px solid #ebebeb;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}


/*.category .article-small-list .col-md-12 {
    margin-top: -47px !important;
}*/

.yarpp-related .article-small-list .col-md-12,
.list-template-news_list.article-small-list .col-md-12 {
    margin-top: 0 !important;
}

.article-small-list .col-md-12:before {
    display: none !important;
}

.article-small-list li.rows-2 .ad {
    height: 898px;
}

.article-small-list .col-md-8 .article {
    text-align: center;
    overflow: hidden;
}

.article-small-list .col-md-8 p,
.article-small-list .col-md-8 h2 {
    position: relative;
    width: 100%;
    text-align: center;
}

.article-small-list .col-md-8 h2 {
    font-size: 28px !important;
    line-height: 1.3em !important;
    max-width: 60% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

@media (max-width: 383px) {
    .article-small-list .col-md-8 h2 {
        font-size: 18px !important;
    }
}

.article-small-list .col-md-8 h2 a {
    color: white !important;
    padding: 0 0 12px 0 !important;
}

.article-small-list .col-md-8 .thumb {
    width: 720px;
    height: 404px;
    position: absolute;
}

.article-small-list .col-md-8 .wrap {
    height: 100%;
    vertical-align: middle;
    align-items: center;
    display: table;
    display: flex;
    justify-content: center;
    display: -ms-flexbox;
    display: -webkit-flex;
    -ms-flex-pack: center;
    min-height: 1px;
    width: 100%;
}

.article-small-list .col-md-8 .wrap>div {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}

.article-small-list .col-md-8 .thumb a {
    background: black;
    display: block;
}

.article-small-list .col-md-8 .thumb img {
    width: 720px !important;
    height: auto !important;
    opacity: 0.7;
}

.article-small-list .col-md-8 .excerpt {
    display: none;
}

.article-small-list .col-md-8 .info {
    color: white !important;
}

.article-small-list .col-md-8 .info a,
.article-small-list .col-md-8 .info span {
    color: white !important;
}

.article-small-list .col-md-8 .info .category-name.separator:before {
    border-color: white !important;
}

.article-small-menu-list .article {
    height: 300px;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.article-small-list .article.recipe h2 a {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.article-small-list .article.recipe .excerpt {
    height: 60px;
}

.article-small-list .article.recipe .excerpt a {
    /*text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    height: 60px;*/
    display: block;
    /* Fallback for non-webkit */
    display: -webkit-box;
    height: 60px;
    /* Fallback for non-webkit */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-small-list .col-md-8 .article.recipe h2 {
    margin-bottom: 1em !important;
}


/*
* widgety
*/

.widget {
    margin-bottom: 46px;
    /*color: #6b6b6b;*/
}

.widget h2 {
    color: #ee5b0a;
    font-size: 14px !important;
    text-transform: uppercase;
    font-family: bold;
    padding-bottom: 25px !important;
}

.widget_forum_widget p,
.widget_forum_widget li {
    color: #6b6b6b;
    font-size: 18px;
    margin: 0 !important;
    padding: 0 !important;
}

.widget_forum_widget li {
    margin-left: 1em !important;
    list-style-type: disc !important;
}

.widget_forum_widget h2 a {
    font-size: 28px !important;
    line-height: 1.4em;
}

.sidebar .widget {
    border-top: 1px solid #ebebeb;
    padding-top: 20px;
}

.sidebar .widget:first-child {
    padding-top: 0;
    border-top: 0;
}

.single-gallery .sidebar .widget:first-child {
    padding-top: 20px;
}

.sidebar .widget.widget_text {
    border-top: none;
}

.widget_day_card_widget p.thumb {
    background: white;
}


/*
* formuláře
*/

input[type=text],
input[type=tel],
input[type=email],
input[type=password],
input[type=file],
input[type=date],
textarea,
select {
    display: block;
    border: 1px solid #e6e6e6;
    padding: 1em;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px !important;
    font-family: regular;
}

input.rounded,
textarea.rounded,
select.rounded {
    border-radius: 15px;
    font-size: 12px !important;
}

input.shadowed,
.button.shadowed,
textarea.shadowed,
select.shadowed {
    box-shadow: -3px 3px 3px #dddddd;
}

.gecko select {
    padding-top: 0;
    padding-bottom: 0;
}

label,
select option {
    font-size: 14px !important;
}

select option {
    padding: 1em !important;
}

textarea {
    height: 80px;
}

label strong {
    font-family: bold;
}

em strong {
    font-family: bold;
}

.button-primary {
    background: #242424;
    color: white;
    text-align: center;
    border: none;
    width: 100%;
    box-sizing: border-box;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 2.7em;
}

.button-primary:hover {
    background: black;
}

.button-small {
    font-size: 14px;
    width: auto;
    margin-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.button-small.active {
    background: #24791C;
}

.button-disabled,
.button-disabled:hover {
    background: silver;
}

input[type=checkbox]:not(old),
input[type=radio]:not(old) {
    width: 20px;
    margin: 0;
    padding: 0;
    font-size: 1em;
    opacity: 0;
}

input[type=checkbox]:not(old)+label,
input[type=radio]:not(old)+label {
    display: inline;
    margin-left: -20px;
    line-height: 20px;
}

input[type=checkbox]:not(old)+label>span,
input[type=radio]:not(old)+label>span {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 20px 0 0;
    border: 1px solid #cdcdcd;
    border-radius: 20px;
    background: white;
    vertical-align: bottom;
}

.input_radio_row {
    position: relative;
    padding-left: 40px;
    line-height: 1em;
}

.input_radio_row.green {
    color: #24791C;
}

.input_radio_row.red {
    color: #DB4437;
}

.input_radio_row label {
    font-weight: normal !important;
    font-size: 1em !important;
}

.input_radio_row input[type=checkbox]:not(old)+label>span,
.input_radio_row input[type=radio]:not(old)+label>span {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 20px 0 0;
    border: 1px solid #cdcdcd;
    border-radius: 20px;
    background: white;
    position: absolute;
    left: 0;
    top: 0;
}

input[type=checkbox]:not(old)+label>span {
    border-radius: 0;
}

input[type=checkbox]:not(old):checked+label>span:before {
    content: '✓';
    display: block;
    width: 18px;
    color: #242424;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    font-family: bold;
    font-weight: bold;
    text-align: center;
}

input[type=radio]:not(old):checked+label>span>span {
    display: block;
    width: 12px;
    height: 12px;
    margin: 3px;
    border-radius: 12px;
    background: #242424;
}

.wrapper form label {
    font-weight: normal;
}

.wrapper .button,
.wrapper .comments-button,
.wrapper .forum-button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    font-size: 13px !important;
    display: inline-block;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 50px;
    height: 50px;
    float: none;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -webkit-border-radius: 50px;
    -o-border-radius: 50px;
    border: 1px solid #6b6b6b !important;
    color: #6b6b6b !important;
    text-decoration: none;
    padding: 0 40px 0 40px !important;
    background: white !important;
    text-decoration: none !important;
    font-weight: normal !important;
}

.wrapper .button.small_button {
    border: none !important;
    background: transparent;
    margin-top: 0;
}

.wrapper .button:hover,
.wrapper .comments-button:hover,
.wrapper .forum-button:hover {
    border: 1px solid black !important;
    color: black !important;
    text-decoration: none !important;
}

.wrapper .button.showPosttypeForm {
    /* display: none;*/
    margin-top: -20px;
}

.wrapper .button.small_button:hover {
    border: none !important;
}

.wrapper .button .fa,
.wrapper .comments-button .fa,
.wrapper .forum-button .fa {
    font-size: 26px;
    margin-right: 8px;
}

.wrapper .button,
.wrapper .forum-button {
    float: none;
    margin-top: 20px;
}

.wrapper .button.inverse,
.wrapper .text .button.inverse {
    border: 1px solid #ee5b0a !important;
    background: #ee5b0a !important;
    color: white !important;
    /*min-width: 250px;*/
}

.wrapper .button.inverse:hover,
.wrapper .text .button.inverse:hover {
    border: 1px solid #ee5b0a !important;
    background: #ee5b0a !important;
    color: white !important;
}

.wrapper .button.button-black,
.wrapper .text .button.button-black {
    border: 1px solid #242424 !important;
    background: #242424 !important;
    color: white !important;
}

.wrapper .button.button-black:hover,
.wrapper .text .button.button-black:hover {
    border: 1px solid #242424 !important;
    background: #242424 !important;
    color: white !important;
}

.wrapper .button.facebook-link {
    margin-top: 20px !important;
    background: white !important;
}

.wrapper .profile {
    padding-top: 0;
}

.wrapper .profile-form {
    padding-bottom: 50px;
}

.wrapper .profile-form:last-child {
    padding-bottom: 0;
}

.wrapper .profile-form label {
    padding: 1em 1em 1em 0;
    margin-bottom: 0 !important;
}

.wrapper .profile-form input,
.wrapper .profile-form textarea {
    margin-top: 0 !important;
}

.wrapper .profile-form .row {
    padding-bottom: 1em !important;
}

.wrapper .profile-form .row .row:last-child {
    padding-bottom: 0 !important;
}

.wrapper .required-items {
    text-align: right;
}

#user_gallery_form fieldset,
.profile_form fieldset {
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 0.5em;
    margin-bottom: 1.5em;
}

#user_gallery_form fieldset.photo-info.first,
.profile_form fieldset.photo-info.first {
    display: none;
}

#user_gallery_form fieldset.photo-info .fa,
.profile_form fieldset.photo-info .fa {
    font-size: 12px;
    background: black;
    color: white;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    position: relative;
    top: 47px;
}

#user_gallery_form fieldset.photo-info .fa {
    top: 12px;
}

#user_gallery_form fieldset.photo-info .fa:before,
.profile_form fieldset.photo-info .fa:before {
    position: relative;
    top: 1.5px !important;
}

#user_gallery_form fieldset:last-child {
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: 0;
}

#user_gallery_form .add_photo,
.profile_form .add_photo {
    width: 160px;
    height: 90px;
    border: 1px dashed #cdcdcd;
    line-height: 90px !important;
    text-align: center;
    font-size: 50px;
    font-family: bold;
}

#user_gallery_form .add_photo.loading,
.profile_form .add_photo.loading {
    font-size: 0;
}

#user_gallery_form .add_photo.loading:after,
.profile_form .add_photo.loading:after {
    content: 'Nahrávám...';
    font-size: 16px;
}

#user_gallery_form .photo,
.profile_form .photo {
    width: 160px;
    height: 90px;
    background-position: center center;
    background-size: cover;
}

.input-file-wrapper {
    position: relative;
}

.input-file-wrapper input {
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    height: 50px;
    width: 100%;
    margin-top: 0;
    opacity: 0;
}

.input-file-wrapper .button {
    margin-top: 0;
}

.input-file-wrapper:hover .button {
    border: 1px solid black !important;
    color: black !important;
}

.remove-avatar-link {
    position: relative;
    top: 60px !important;
}

#loginform input {
    margin-top: 5px;
}

#loginform label {
    width: 100%;
}


/*
* user sekce
*/


/*.avatar_wrapper {
    background: black;
    text-align: center;
    position: relative;
    font-size: 24px;
    text-transform: uppercase;
}

.avatar_wrapper img {
    vertical-align: top;
    width: 100%;
    height: 100%;
}

.avatar_wrapper span {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    color: white;
    font-family: bold;
}

.avatar_wrapper.size32 {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 24px;
    line-height: 32px;
}

.avatar_wrapper.size48 {
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 36px;
    line-height: 48px;
}

.avatar_wrapper.size96 {
    width: 96px;
    height: 96px;
    line-height: 96px;
    font-size: 64px;
}

.avatar_wrapper.size128 {
    width: 128px;
    height: 128px;
    line-height: 128px;
    font-size: 96px;
}*/

#wp-admin-bar-user-info .avatar_wrapper,
#wpadminbar .avatar_wrapper,
.avatar_wrapper {
    background: #ee5b0a !important;
    color: white;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
}

#wp-admin-bar-user-info .avatar_wrapper.unregistered,
#wpadminbar .avatar_wrapper.unregistered,
.avatar_wrapper.unregistered {
    background: #e6e6e6;
}

#wp-admin-bar-user-info .avatar_wrapper {
    float: left;
    margin-left: -74px;
}

.avatar-default {
    opacity: 0;
    background: black;
}

.user_errors {
    font-size: 14px;
    font-weight: normal;
    color: #EA4235;
    padding-bottom: 1em;
    font-size: 16px;
    font-family: regular !important;
}

.user_sucesses {
    font-size: 14px;
    font-weight: normal;
    color: #24791C;
    padding-bottom: 1em;
    font-size: 16px;
}

.lostpass-link {
    float: right;
}

.gglcptch {
    padding-bottom: 1.5em;
}

label em {
    display: block;
    width: calc(100% - 40px);
    margin-left: 40px;
    margin-top: -20px;
}

.vsep {
    height: 684px !important;
}

.page-template-page-login .vsep {
    height: 370px !important;
}

.vsep:after {
    content: '';
    height: 100%;
    display: block;
    width: 0;
    border-right: 1px solid #e6e6e6;
}

.vsep span {
    position: absolute;
    top: 50%;
    width: 100px;
    margin-top: -10px;
    margin-left: -50px;
    background: #fafafa;
    text-align: center;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=3);
    font-size: 14px;
    text-transform: uppercase;
}


/*
* galerie
*/

.single-gallery,
.single-babyroku,
.attachment {
    background: #fafafa !important;
    position: absolute;
    width: 100%;
    height: 100vh;
}

.single-gallery .logo,
.single-babyroku .logo,
.attachment .logo {
    padding: 9px 0;
    width: 150px;
    display: inline-block;
}

.single-gallery .wrapper,
.single-babyroku .wrapper,
.attachment .wrapper {
    position: relative;
    height: 100%;
}

.single-gallery .col-left,
.single-babyroku .col-left,
.attachment .col-left {
    position: relative;
    width: calc(100vw - 40px - 320px);
    height: 100%;
}

.attachment .slide .caption,
.single-gallery .slide .caption {
    visibility: hidden;
}

.attachment .caption b,
.attachment .caption strong,
.single-gallery .caption b,
.single-gallery .caption strong,
.single-babyroku .caption b,
.single-babyroku .caption strong {
    font-family: bold;
}

.attachment .caption,
.single-gallery .caption,
.single-babyroku .caption {
    display: block;
    font-size: 14px !important;
    color: #242424;
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px !important;
    margin-bottom: 0 !important;
    bottom: 0;
    left: 0;
    text-align: left;
}

.single-babyroku .caption {
    text-align: center;
}

.attachment .caption p,
.single-gallery .caption p,
.single-babyroku .caption p {
    padding-bottom: 1em !important;
}

.attachment .col-left .content-image,
.single-gallery .col-left .content-image,
.single-babyroku .col-left .content-image {
    position: relative;
    text-align: center;
    margin: auto;
    height: 100%;
    height: calc(100vh - 150px);
    /*overflow: hidden;*/
    max-width: 1024px;
    max-height: 1024px;
    min-height: 400px;
}

.single-gallery .thumbs,
.single-gallery .display_ad,
.single-babyroku .thumbs,
.single-babyroku .display_ad {
    height: auto;
    max-height: none;
}

.single-gallery .heading-wrapper,
.single-babyroku .heading-wrapper {
    height: 100%;
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100vw - 40px - 300px - 20px);
    position: relative;
    z-index: 1;
    max-width: 1024px;
}

.single-gallery .heading-wrapper .heading,
.single-babyroku .heading-wrapper .heading {
    text-align: left;
    vertical-align: middle;
    padding: 20px 150px;
    background: rgba(0, 0, 0, 0.4);
    height: auto;
    overflow: hidden;
    min-height: 50%;
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    -ms-flex-pack: center;
    width: 100%;
    min-height: 1px;
}

.single-gallery .heading-wrapper .heading>div,
.single-babyroku .heading-wrapper .heading>div {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.single-gallery .heading p,
.single-babyroku .heading p {
    color: white !important;
}

.single-gallery .heading p:last-child,
.single-babyroku .heading p:last-child {
    padding-bottom: 0 !important;
}

.single-gallery .heading .breadcrumbs,
.single-babyroku .heading .breadcrumbs {
    color: #e6e6e6 !important;
}

.single-gallery .heading .breadcrumbs a,
.single-babyroku .heading .breadcrumbs a {
    color: #d1d1d1 !important;
}

.single-gallery .heading h1,
.single-babyroku .heading h1 {
    color: white !important;
    line-height: 1.3em !important;
    padding-top: 0.2em !important;
    font-size: 36px !important;
}

.single-gallery .col-right,
.single-babyroku .col-right,
.attachment .col-right {
    position: absolute;
    right: 20px;
    top: 0;
    min-width: 320px;
}

.single-gallery .col-right .sidebar,
.single-babyroku .col-right .sidebar,
.attachment .col-right .sidebar {
    position: absolute;
    top: 50px;
    left: 20px;
    width: 300px;
}

.single-gallery .photo-tiny-list,
.single-babyroku .photo-tiny-list {
    text-align: center;
}

.single-gallery .photo-tiny-list li,
.single-babyroku .photo-tiny-list li {
    display: inline-block;
    padding: 12px 10px !important;
}

.single-gallery .listing,
.single-babyroku .listing {
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -100px;
    width: 200px;
    display: inline-block;
    text-align: center;
}

.single-gallery .prev-link,
.single-gallery .next-link,
.single-gallery .counter,
.single-babyroku .prev-link,
.single-babyroku .next-link,
.single-babyroku .counter {
    text-align: center;
    display: inline-block;
    line-height: 50px;
}

.single-gallery .prev-link .fa,
.single-gallery .next-link .fa,
.single-babyroku .prev-link .fa,
.single-babyroku .next-link .fa {
    font-size: 24px !important;
    color: #242424;
    position: relative;
    top: 2px;
}

.single-gallery .counter,
.single-babyroku .counter {
    font-size: 13px !important;
    line-height: 50px;
    white-space: nowrap;
    width: 100px;
    text-align: center;
}

.single-gallery .share-buttons,
.single-babyroku .share-buttons,
.attachment .share-buttons {
    position: absolute;
    right: 0;
    top: 0;
    text-align: right;
    width: 150px;
    display: inline-block;
}

.single-gallery .share-buttons li,
.single-babyroku .share-buttons li,
.attachment .share-buttons li {
    line-height: 50px;
    margin-top: 12px !important;
    background: #242424;
}

.single-gallery .thumbs-link,
.single-babyroku .thumbs-link,
.attachment .close-link,
.single-gallery .close-link,
.single-babyroku .close-link {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-block;
    text-align: right;
    line-height: 50px;
    color: #242424 !important;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px !important;
}

.single-gallery .thumbs-link,
.single-babyroku .thumbs-link {
    right: 50%;
}

.single-gallery .thumbs-link .fa,
.single-babyroku .thumbs-link .fa,
.attachment .close-link .fa,
.single-gallery .close-link .fa,
.single-babyroku .close-link .fa {
    font-size: 32px !important;
    margin-left: 5px;
}

.single-gallery .col-left .thumbs-link,
.single-babyroku .col-left .thumbs-link,
.attachment .col-left .close-link,
.single-gallery .col-left .close-link,
.single-babyroku .col-left .close-link {
    display: none;
}

.single-gallery .slick-prev,
.single-gallery .slick-next,
.single-babyroku .slick-prev,
.single-babyroku .slick-next {
    position: absolute;
    top: 50px;
    left: 0;
    width: 80px;
    height: calc(100% - 50px);
    text-align: center;
    z-index: 2;
    font-size: 0;
    background: none;
    border: none;
}

.single-gallery .slick-next,
.single-babyroku .slick-next {
    left: auto;
    right: 0;
}

.single-gallery .slick-prev:after,
.single-gallery .slick-next:after,
.single-babyroku .slick-prev:after,
.single-babyroku .slick-next:after {
    content: "\61";
    position: absolute;
    top: 50%;
    left: 20px;
    margin-top: -40px;
    color: white !important;
    text-shadow: 0 0 1px #242424, 0 0 1px #242424;
    font-size: 80px !important;
    font-family: "icons" !important;
}

.single-gallery .slick-next:after,
.single-babyroku .slick-next:after {
    content: "\62";
    left: auto;
    right: 20px;
}

.single-gallery .photo-tiny-list,
.single-babyroku .photo-tiny-list {
    margin-top: 50px !important;
}

.single-gallery .photo-tiny-list img,
.single-babyroku .photo-tiny-list img {
    width: 144px;
    height: 81px;
}

.attachment .slider,
.single-gallery .slider,
.single-babyroku .slider {
    height: 100%;
    /*height: calc(100% - 100px);*/
    max-height: 1024px;
    /*display: none;*/
}

.attachment .slider {
    display: block;
}

.single-gallery .slick-track,
.single-babyroku .slick-track {
    height: 100%;
}

.single-gallery .slick-list,
.single-babyroku .slick-list {
    height: 100%;
}

.attachment .slide,
.single-gallery .slide,
.single-babyroku .slide {
    height: 100%;
    position: relative;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
}

.single-babyroku .slide {
    height: 80%;
}

.attachment .slide img,
.single-gallery .slide img,
.single-babyroku .slide img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
    width: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    /*display: none;*/
}

.attachment .slide.slick-active img,
.single-gallery .slide.slick-active img,
.single-babyroku .slide.slick-active img {
    display: block;
}

.single-gallery .slide.first {
    background-size: cover;
}

.single-babyroku .slide.first {
    background-size: contain;
}

.single-gallery .slide .counter,
.single-babyroku .slide .counter {
    display: none;
}

.mobile-gallery-advert {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    padding: 70px 20px 20px 20px;
    z-index: 1000;
}

.mobile-gallery-advert.active:after {
    content: "\63";
    display: block;
    color: black;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: white;
    font-size: 40px;
    z-index: 100000;
    cursor: pointer;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    -o-border-radius: 40px;
    -ms-border-radius: 40px;
    font-family: "icons" !important;
}

.attachment h1 {
    font-size: 13px !important;
    padding-bottom: 1em !important;
}

.single-gallery .widget_text,
.single-babyroku .widget_text,
.attachment .widget_text {
    display: none;
}

.single-gallery .widget_text:first-child,
.single-babyroku .widget_text:first-child,
.attachment .widget_text:first-child {
    display: block;
}

.newsletter-form {
    background: white !important;
    border-top: 1px solid #ebebeb;
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    color: #6b6b6b;
}

.search-form,
.add-form {
    background: #fff !important;
    border-top: 1px solid #ebebeb;
    padding-top: 50px;
    padding-bottom: 40px;
    text-align: center;
    color: #6b6b6b;
    border-bottom: 1px solid #ebebeb;
}

.newsletter-form h3 {
    color: #242424;
    font-size: 28px !important;
    line-height: 1.5em;
}

.newsletter-form form,
.search-form form,
div.coupon {
    display: block;
    margin: auto;
    width: 360px;
    max-width: 100%;
    position: relative;
    padding-bottom: 10px;
}

.newsletter-form input,
.search-form input,
.search-form select,
.add-form input,
.add-form textarea,
#form-partnersky select,
div.coupon input {
    border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -webkit-border-radius: 50px;
    -o-border-radius: 50px;
    border: 1px solid #ebebeb;
    background: #fafafa !important;
    line-height: 50px;
    height: 50px;
    padding: 0 115px 0 30px;
    font-style: italic;
    white-space: nowrap;
    width: 100%;
    outline: none;
    font-size: 18px !important;
}

.add-form textarea {
    height: 200px;
}

.search-form select {
    padding-right: 30px;
}

.search-form input,
div.coupon input,
.add-form input,
.add-form textarea,
.search-form select,
#form-partnersky select {
    font-size: 13px !important;
}

#form-partnersky select {
    background: #fff !important;
    padding: 0 20px 0 20px !important;
}

.newsletter-form form .button,
.search-form form .button,
div.coupon .button {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 0 !important;
}

div.coupon input {
    width: 100% !important;
}

.newsletterform .user_errors,
.newsletterform .user_sucesses {
    display: none;
}


/*#hledatPoradna,
#hledatKosmetika,
#hledatKosmetikaADD,
#hledatRecepty {
    text-align: right;
    position: absolute;
    top: -20px;
    right: 20px;
    font-size:13px;
    text-decoration:none !important; 
}
#hledatKosmetikaADD {
    right:250px;
}
#hledatPoradna span.poradna,
#hledatKosmetika span.kosmetika,
#hledatKosmetikaADD span.kosmetikaADD,
#hledatRecepty span.recepty {
    padding-left: 10px;
}*/

label[for=test_review_producer] {
    padding-top: 16px;
}

.footer-links {
    border-top: 1px solid #ebebeb;
    padding-top: 35px;
    padding-bottom: 35px;
    text-align: center;
    color: #6b6b6b;
    text-align: left;
}

.footer-links li {
    list-style-type: disc !important;
    margin-left: 1.2em !important;
    padding-left: 0 !important;
    color: #9e9e9e !important;
}

.footer-links li a {
    display: block;
    font-size: 13px !important;
    line-height: 1.2em !important;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #9e9e9e !important;
    text-decoration: none;
}

.footer-links a {
    color: #9e9e9e !important;
}

.footer-links .tagcloud a {
    display: inline-block;
    margin-right: 5px !important;
    white-space: wrap;
}

.footer-links h4 {
    color: #242424;
    text-transform: uppercase;
    font-size: 14px !important;
}

.footer {
    background: #242424 !important;
    border-top: 1px solid #242424;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    color: #fafafa;
}

.footer>.row {
    max-width: 1140px;
    margin: auto;
}

.footer .row>div {
    display: table;
    vertical-align: middle;
}

.footer a {
    color: #fafafa;
}

.footer .logo a {
    color: white !important;
}

.footer .logo {
    text-align: left;
    padding: 20px 0 0 0;
    display: table-cell;
    vertical-align: middle;
}

.footer .footer-nav {
    height: 80px;
    padding: 0;
    display: table-cell;
    height: 80px;
    vertical-align: middle;
}

.footer .footer-nav li:after {
    content: "";
    display: inline-block;
    height: 0.8em;
    border-left: 1px solid #fafafa;
    margin-left: 15px;
    margin-right: 15px;
    position: relative;
    top: 1px;
}

.footer .footer-nav li:last-child:after {
    display: none;
}

.footer .footer-nav li {
    float: none;
    display: inline-block;
}

.footer .footer-nav a {
    color: #fafafa !important;
    text-decoration: none;
    text-transform: none !important;
    font-size: 13px !important;
    line-height: 2em;
    padding: 0 !important;
    height: 2em;
    white-space: normal;
}

.footer .footer-nav a:hover {
    color: white !important;
}

.social-links h4 {
    display: none;
}

.social-links {
    display: table-cell;
    height: 80px;
    vertical-align: middle;
}

.social-links .widget {
    margin-bottom: 0;
}

.social-links ul {
    text-align: right;
}

.social-links li {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #fafafa;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    -o-border-radius: 30px;
    -ms-border-radius: 30px;
    text-align: center;
    margin-left: 17px !important;
}

.social-links li a {
    color: #242424 !important;
    line-height: 30px;
    font-size: 1em !important;
    display: block;
    height: 30px;
}

.alert {
    display: none;
}

.center {
    text-align: center;
}

.next-section {
    padding-bottom: 0;
    padding-top: 0;
    clear: both;
}

.next-article-link {
    clear: both;
    min-width: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 40px !important;
}

.pagination-links {
    position: relative;
    margin-top: -20px;
}

.pagination-links a,
.pagination-links span {
    display: inline-block;
    padding: 0 15px;
    line-height: 50px;
    font-size: 14px !important;
    font-family: light;
}

@-webkit-keyframes rotating
/* Safari and Chrome */

{
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.rotating {
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
}


/*
* anktety a widgety v textu
*/

.wrapper .text .widget p,
.wrapper .text .widget li {
    font-family: regular;
    text-align: left !important;
    font-weight: normal !important;
    font-size: 14px !important;
}

.wrapper .text .widget div {
    padding-bottom: 0 !important;
}

.wrapper .text .widget h3 {
    line-height: 1.5em;
}

.wrapper .text .widget p:last-child {
    padding-bottom: 0 !important;
}

.wrapper .text .widget {
    text-align: left;
    background: #eeeeee;
    /*border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;*/
    padding: 20px;
    margin-bottom: 1.5em !important;
}

.wrapper .text .widget.boxik {
    float: right;
    clear: both;
    width: 50%;
    margin-left: 15px !important;
    margin-right: -17.667% !important;
}

@media (max-width: 1199px) {
    .wrapper .text .widget.boxik {
        float: none;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.wrapper .text .widget.boxik img {
    display: block;
    max-width: 100%;
}

.wrapper .text .widget.boxik .image {
    max-width: 100%;
    height: auto;
}

.wrapper .text .widget.boxik p {
    font-size: inherit !important;
}

.wrapper .text .widget.boxik .meta p {
    font-size: 12px !important;
}


/*.wrapper .text .widget .button {
    border: 1px solid black !important;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}*/

.wrapper .text .widget .wp-polls-ul li {
    font-family: light !important;
    padding-bottom: 0.5em !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    font-size: 14px !important;
}

.wrapper .text .widget .wp-polls-ans .wp-polls-ul li {
    padding-bottom: 1em !important;
}

.wrapper .text .widget .wp-polls-ul li label {
    font-family: light !important;
    font-weight: normal;
}

.wrapper .text .widget .wp-polls-ul li span {
    font-family: bold !important;
}

.wrapper .text .widget .wp-polls .pollfullbar {
    border: 1px solid #6b6b6b;
    margin: 3px 0 0 0;
    max-width: 50%;
    padding-bottom: 0 !important;
}

.wrapper .text .widget .wp-polls .pollbar {
    margin: 0;
    font-size: 8px;
    line-height: 10px;
    height: 10px;
    background: #6b6b6b;
}

.wrapper .text img {
    max-width: 100%;
}

.search {
    /*border-bottom: 1px solid #ebebeb;*/
    margin-bottom: 1.5em;
}

.search p {
    font-size: 14px !important;
    color: #6b6b6b;
}

.search p.viewed {
    font-size: 16px !important;
    padding-top: 1.5em;
}

.search p.gcse {
    font-size: 11px !important;
    text-align: right;
}

.archive .subcategories {
    margin-bottom: 38px !important;
}

.dropdownmenu .subcategories {
    margin-bottom: 0 !important;
}

.subcategories:after {
    content: '';
    display: block;
    height: 0;
    clear: both;
    border-top: 1px solid #e6e6e6;
}

.page .subcategories:after,
.single .subcategories:after {
    border-top: 0;
}

.dropdownmenu .subcategories:after {
    border: none;
}

.subcategories ul {
    width: 379px;
    overflow: hidden;
}

.subcategories ul:last-child {
    width: 342px;
}

.archive .wrapper .subcategories ul li,
.page .wrapper .subcategories ul li,
.single .wrapper .subcategories ul li {
    margin-right: 38px !important;
    margin-left: 0 !important;
    margin-bottom: 38px !important;
    width: calc(100% - 38px);
    background-size: cover;
    background-position: center center;
    background-color: #e6e6e6;
    overflow: hidden;
    position: relative;
    padding-bottom: 0 !important;
    list-style: none !important;
}

body .wrapper .subcategories ul:last-child li {
    width: 100%;
}

body .wrapper .subcategories li h2 {
    width: 100%;
    height: 100%;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    font-size: 30px !important;
}

body .wrapper .subcategories li a {
    font-size: 24px;
    text-transform: uppercase;
    color: white !important;
    text-decoration: none;
    font-family: regular;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    -webkit-transition: all 0.5s ease;
    /* Safari and Chrome */
    -moz-transition: all 0.5s ease;
    /* Firefox */
    -ms-transition: all 0.5s ease;
    /* IE 9 */
    -o-transition: all 0.5s ease;
    /* Opera */
    transition: all 0.5s ease;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.3);
}

body .wrapper .subcategories li span {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    -webkit-transition: all 0.5s ease;
    /* Safari and Chrome */
    -moz-transition: all 0.5s ease;
    /* Firefox */
    -ms-transition: all 0.5s ease;
    /* IE 9 */
    -o-transition: all 0.5s ease;
    /* Opera */
    transition: all 0.5s ease;
    background-position: center center;
    background-size: cover;
}

body .wrapper .subcategories li:hover a {
    color: white !important;
    text-decoration: none !important;
    background: rgba(0, 0, 0, 0.5);
}

body .wrapper .subcategories li:hover span {
    -webkit-transform: scale(1.05);
    /* Safari and Chrome */
    -moz-transform: scale(1.05);
    /* Firefox */
    -ms-transform: scale(1.05);
    /* IE 9 */
    -o-transform: scale(1.05);
    /* Opera */
    transform: scale(1.05);
}

body .wrapper .subcategories .shape-b {
    height: 342px;
}

body .wrapper .subcategories .shape-m {
    height: 152px;
}

body .wrapper .subcategories .shape-s {
    height: 88.6666666667px;
}


/*
*comments
*/

.comment-reply-link,
.reply {
    display: none;
}

.small-view {
    padding: 26px 0px 26px 0px;
}

.comment p,
.comment-author,
.excerpt-small,
.comment-meta {
    font-size: 80%;
}

.excerpt-small {
    font-size: 90% !important;
}

#comment-text p,
#comment-author,
#comment-text,
#comment-form-comment {
    padding-bottom: 0.2em !important;
}

.title-excerpt {
    padding-top: 0.5em;
}

@media (max-width: 991px) {
    .title-excerpt {
        padding-top: 1.5em;
    }
}

.comment {
    overflow: hidden;
    padding-bottom: 2em !important;
}

.fn {
    font-family: bold;
    margin-right: 1em;
}

.fn.author {
    font-family: regular;
    margin-right: 0;
}

#comment-text p {
    font-family: light;
}

.comment-edit-link,
.button,
#comments-title,
#reply-title {
    font-family: regular;
}

#comment {
    resize: none;
    margin-bottom: 1em;
}

#comments .gglcptch,
#comments .gglcptch div {
    padding-bottom: 0 !important;
}

#comments-title {
    padding-bottom: 0 !important;
    font-size: 80%;
}

.comments-wrap {
    padding-top: 2em !important;
    border-top: 1px solid #E6E6E6;
}

#commentform {
    padding-bottom: 2em;
}

#commentform * {
    font-family: regular;
}

#diskuze-title {
    padding-top: 0 !important;
}

@media (max-width: 992px) {
    #diskuze-title {
        text-align: center;
    }
}

.small-view .icon-count {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 32px;
    height: 26px;
    background: url(../images/btn-count.png);
}

.small-view .icon-count span {
    position: absolute;
    left: 1px;
    bottom: 0;
    width: 26px;
    height: 20px;
    line-height: 20px;
    color: white;
    font-weight: normal !important;
    text-align: center;
    font-size: 13px;
}

.small-view .thumb a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.small-view .thumb {
    height: 198px;
    padding-bottom: 0 !important;
    position: relative;
    overflow: hidden;
}

.small-view img {
    width: 342px;
    height: auto;
}

.small-view h2 a {
    color: #000 !important;
    text-decoration: none;
}

@media (max-width: 767px) {
    .small-view .thumb {
        height: calc(((100vw - 40px) / 16) * 9);
    }
    .small-view img {
        width: calc(100vw - 40px);
        height: calc(((100vw - 40px) / 16) * 9);
    }
}

.comment-avatar {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (min-width: 1199px) {
    .text-wrapper {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
    .text-wrapper .adapt_sidebar {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        padding-bottom: 200px;
        position: relative;
    }
    .text-wrapper .sidebar {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        padding-bottom: 200px;
    }
    .text-wrapper .sidebar.not_adapt {
        justify-content: flex-start;
    }
    .text-wrapper .sidebar.not_adapt>.row:last-of-type {
        margin-top: auto;
    }
    .text-wrapper .sidebar .row:last-of-type .widget:first-child {
        margin-bottom: 0 !important;
    }
    .wrapper .text-wrapper .info {
        position: absolute;
        bottom: 149px;
    }
    .wrapper .text-wrapper .tags {
        position: absolute;
        height: 139px;
        overflow: hidden;
        bottom: 0;
    }
    .wrapper .text-wrapper .widget .info,
    .wrapper .text-wrapper .sidebar .info {
        position: static;
        margin-top: 0;
    }
    .wrapper .text-wrapper .share-buttons-below {
        padding-bottom: 0 !important;
        margin-top: auto;
    }
    .sidebar .widget h2 {
        padding-bottom: 5px !important;
    }
}


/*
* responzive
*/

@media (max-width: 1199px) {
    body {
        background: #e6e6e6 !important;
    }
    /*body>.leaderboard {
        display: none;
    }*/
    /*.col-md-12.leaderboard1,
    .col-md-12.leaderboard2 {
        display: none;
    }*/
    .wrapper.navigation {
        margin-left: -485px;
    }
    .menu>li ul {
        display: none !important;
    }
    .wrapper .user-card {
        margin-top: 15px;
    }
    .page .wrapper.container.page {
        padding-top: 35px;
    }
    .wrapper.container.page {
        padding-top: 30px;
    }
    .single .wrapper.container.page {
        padding-top: 0;
    }
    .wrapper .article-thumb-list li {
        width: 290px;
    }
    .article-small-list {
        width: 970px;
    }
    .list .col-md-8 {
        width: 50%;
    }
    .list .col-md-4 {
        width: 50%;
    }
    .article-small-list .tiny-list {
        max-height: 485px;
    }
    .article-small-list li {
        max-height: 485px;
    }
    .article-small-list li.col-md-8 {
        max-height: 485px;
    }
    .article-small-list .col-md-8 .article {
        width: 447px;
    }
    .article-small-list .col-md-8 .thumb {
        width: 447px;
        height: 447px;
    }
    .article-small-list .col-md-8 .thumb a {
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
        text-align: center;
    }
    .article-small-list .col-md-8 .thumb a img {
        /* position: absolute;
        top: -9999999px;
        bottom: -9999999px;
        left: -9999999px;
        right: -9999999px;
        margin: auto; */
    }
    .article-small-list .tiny-list,
    .article-small-list .article,
    .article-small-list .ad {
        width: 447px;
        height: 485px;
    }
    .article-small-list .thumb {
        height: 251px;
    }
    .article-small-list .article img {
        width: 447px;
        height: auto;
        min-height: 100%;
    }
    .article-small-list .col-md-8 .thumb img {
        height: 100% !important;
        width: auto !important;
        flex: none;
        /*min-height: 0 !important;*/
    }
    .article-small-list .wrap div {
        margin-top: 0;
    }
    .article-small-list .ad:after {
        width: 447px;
    }
    .ad .pr1,
    .ad .pr1_hp,
    .ad .pr2,
    .ad .pr2_hp {
        width: 447px;
        height: 485px;
    }
    .article-small-list li.rows-2 .ad {
        height: 1016px;
    }
    .text-wrapper .col-md-6 {
        width: 83.33333334%;
    }
    .wrapper .content .gallery_view,
    .wrapper .content .video_view {
        margin: 0 20px 1.5em 0 !important;
        float: none;
    }
    .wrapper .content .gallery_view.count3.vertical {
        float: left;
    }
    .wrapper .image {
        width: 930px;
        height: 523px;
    }
    .wrapper .text .ad {
        padding-bottom: 0 !important;
        margin-bottom: 1.5em !important;
        margin-left: 0 !important;
        text-align: center;
        background: #fafafa;
    }
    .wrapper .text .ad div {
        width: 100%;
        margin: auto !important;
    }
    .wrapper.container .sidebar {
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid #ebebeb;
        width: 100%;
    }
    .wrapper.container .sidebar .row {
        width: 50%;
        float: left;
        margin: 0 !important;
    }
    .wrapper.container .sidebar .row .widget {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .wrapper.container .sidebar .row .widget.widget_forum_widget {
        padding-top: 1.5em;
    }
    .gallery-small-list .thumb {
        height: calc((425px / 16) * 9);
    }
    .gallery-small-list .thumb a img {
        width: 425px;
        height: auto;
    }
    .wrapper .share-buttons-below .col-md-7 {
        width: 60%;
        float: left;
    }
    .wrapper .share-buttons-below .col-md-5 {
        width: 40%;
        float: left;
    }
    .vsep {
        height: 0 !important;
        margin-top: 35px;
        padding-bottom: 35px;
    }
    .page-template-page-login .vsep {
        height: 0 !important;
    }
    .vsep:after {
        width: 100%;
        border-top: 1px solid #e6e6e6;
        border-right: 0;
    }
    .vsep span {
        position: absolute;
        left: 50%;
        width: 100px;
        margin-top: -28px;
        margin-left: -50px;
        background: #fafafa;
        text-align: center;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=0);
        font-size: 14px;
        text-transform: uppercase;
    }
    .user-card .col-md-8 {
        width: 66.66666667%;
    }
    .wrapper .profile-form:last-child {
        padding-bottom: 50px;
    }
    body .wrapper .subcategories ul {
        width: 322.6666666667px;
    }
    body .wrapper .subcategories li a {
        font-size: 24px;
    }
    body .wrapper .subcategories ul:last-child {
        width: 284.6666666667px;
    }
    body .wrapper .subcategories .shape-b {
        height: 284.6666666667px;
    }
    body .wrapper .subcategories .shape-m {
        height: 123.3333333333px;
    }
    body .wrapper .subcategories .shape-s {
        height: 69.55555555556px;
    }
    .wrapper .special_row {
        max-width: 930px !important;
    }
    .wrapper .text div.extract {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 992px) {
    body {
        background: #e6e6e6 !important;
    }
    /*body>.leaderboard {
        display: none;
    }
    .col-md-12.leaderboard1,
    .col-md-12.leaderboard2 {
        display: none;
    }*/
    .wrapper.navigation {
        margin-left: -375px;
    }
    .menu>li ul {
        display: none !important;
    }
    .wrapper .article-thumb-list li {
        width: 290px;
    }
    .article-small-list {
        width: 750px;
    }
    .list .col-md-8 {
        width: 50%;
    }
    .list .col-md-4 {
        width: 50%;
    }
    .article-small-list .tiny-list {
        max-height: 385px;
    }
    .article-small-list li {
        max-height: 385px;
    }
    .article-small-list li.col-md-8 {
        max-height: 385px;
        margin-bottom: 35px !important;
    }
    .article-small-list .col-md-8 .article {
        width: 337px;
    }
    .article-small-list .col-md-8 .article:after {
        display: none;
    }
    .article-small-list .col-md-8 .thumb {
        width: 337px;
        height: 337px;
        position: absolute;
    }
    .article-small-list .col-md-8 h2 {
        font-size: 24px !important;
    }
    .article-small-list .tiny-list,
    .article-small-list .article,
    .article-small-list .ad {
        width: 337px;
        height: 385px;
    }
    .article-small-list .thumb {
        height: 189px;
    }
    .article-small-list .article img {
        width: 337px;
        height: auto;
        min-height: 100%;
        /*width: auto;*/
    }
    .article-small-list .wrap div {
        margin-top: -60px;
    }
    .article-small-list .ad:after {
        width: 337px;
    }
    .ad .pr1,
    .ad .pr1_hp,
    .ad .pr2,
    .ad .pr2_hp {
        width: 337px;
        height: 385px;
    }
    .article-small-list li.rows-2 .ad {
        height: 816px;
    }
    .text-wrapper .col-md-6 {
        width: 100%;
    }
    .wrapper .content .gallery_view,
    .wrapper .content .video_view {
        margin: 0 20px 1.5em 0 !important;
        float: none;
    }
    .wrapper .content .gallery_view.count3.vertical {
        float: left;
    }
    .wrapper .image {
        width: 710px;
        height: 399px;
    }
    .wrapper .text .ad {
        padding-bottom: 0 !important;
        margin-bottom: 1.5em !important;
        margin-left: 0 !important;
        text-align: center;
        background: #fafafa;
    }
    .wrapper .text .ad div {
        width: 300px;
        margin: auto !important;
    }
    .wrapper.container .sidebar {
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid #ebebeb;
        width: 100%;
    }
    .wrapper.container .sidebar .row {
        width: 50%;
        float: left;
        margin: 0;
    }
    .wrapper.container .sidebar .row .widget {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .wrapper.container .sidebar .row .widget.widget_forum_widget {
        padding-top: 1.5em;
    }
    .gallery-small-list .thumb {
        height: calc((315px / 16) * 9);
    }
    .gallery-small-list .thumb a img {
        width: 315px;
        height: auto;
    }
    .footer-links h4 {
        padding-top: 1em !important;
    }
    .footer .logo {
        height: auto;
        width: auto;
        display: block;
        text-align: center;
        padding-top: 0;
    }
    .footer .footer-nav {
        padding-top: 26px;
        display: block;
        text-align: center;
    }
    .footer .row>div {
        display: block;
    }
    .attachment .col-right,
    .single-gallery .col-right,
    .single-babyroku .col-right {
        /* display: none; */
        position: fixed;
        right: -10000px;
    }
    .attachment .col-left,
    .single-gallery .col-left,
    .single-babyroku .col-left {
        width: 100%;
    }
    .attachment .col-left .close-link,
    .attachment .col-left .thumbs-link,
    .single-gallery .col-left .thumbs-link,
    .single-gallery .col-left .close-link,
    .single-babyroku .col-left .thumbs-link,
    .single-babyroku .col-left .close-link {
        display: inline-block;
    }
    .single-gallery .col-left .thumbs-link,
    .single-babyroku .col-left .thumbs-link {
        right: 110px;
    }
    .single-gallery .share-buttons,
    .single-babyroku .share-buttons,
    .attachment .share-buttons {
        display: none;
    }
    .single-gallery .col-left .content-image .heading-wrapper,
    .single-babyroku .col-left .content-image .heading-wrapper {
        width: 100%;
    }
    body .wrapper .subcategories ul {
        width: 249.333333333px;
    }
    body .wrapper .subcategories li a {
        font-size: 18px;
    }
    body .wrapper .subcategories ul:last-child {
        width: 211.3333333333px;
    }
    body .wrapper .subcategories .shape-b {
        height: 211.33333333px;
    }
    body .wrapper .subcategories .shape-m {
        height: 86.6666666667px;
    }
    body .wrapper .subcategories .shape-s {
        height: 45.1111111111px;
    }
    .wrapper .article-tiny-list {
        border-bottom: 1px solid #ebebeb;
    }
    .article-small-list .tiny-list:after {
        display: none;
    }
    .wrapper .special_row {
        max-width: 710px !important;
    }
    .wrapper .share-buttons-above {
        text-align: center;
        position: relative;
        top: 0;
        right: auto;
        padding-bottom: 25px;
    }
}

@media (max-width: 767px) {
    .wrapper h1 {
        font-size: 35px !important;
        word-wrap: break-word;
    }
    .menu {
        height: auto;
    }
    /*.leaderboard {
        display: none;
    }*/
    .wrapper.fixed {
        margin-left: 0;
        left: 0;
    }
    .wrapper.navigation {
        width: 100%;
        white-space: nowrap;
    }
    .wrapper.navigation .menu-menu-container {
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        height: auto;
        background: #fafafa;
        max-height: calc(100vh - 50px);
        border-bottom: 2px solid #ebebeb;
        display: none;
        overflow: hidden;
    }
    .wrapper.navigation.page-user .menu-menu-container {
        display: block;
    }
    .wrapper.navigation .menu-menu-container ul {
        position: relative;
        top: 0;
    }
    .wrapper.navigation .menu-menu-container ul li:first-child {
        border-top: none;
    }
    .wrapper.navigation .icons {
        background: transparent;
    }
    .wrapper.navigation a.hamburger-icon {
        position: absolute;
        top: 0;
        right: 0;
        height: 50px;
        width: 50px;
        text-align: center;
        font-size: 35px;
        line-height: 50px;
        display: block;
        color: black !important;
        text-decoration: none !important;
    }
    .wrapper.navigation a.hamburger-icon .fa {
        position: relative;
        top: -4px;
    }
    .wrapper.navigation a.hamburger-icon .fa:before {
        font-size: 20px;
    }
    .wrapper.navigation a.user-icon {
        right: 50px;
    }
    .wrapper.navigation a.search-icon {
        right: 100px;
    }
    .wrapper.navigation.page-user a.search-icon {
        right: 50px;
    }
    .wrapper.navigation.page-user a.user-icon {
        right: 8px;
    }
    .wrapper.navigation.page-user a.femina-club-icon {
        display: none;
    }
    .menu>li {
        float: none;
    }
    .menu>li>a {
        font-family: bold;
        display: block;
        border-top: 1px solid #ebebeb;
        padding: 0 30px;
    }
    .menu>li ul {
        display: none !important;
    }
    .menu>li>a:hover:before,
    .menu>li:hover>a:after {
        display: none !important;
    }
    .list h3.readmore {
        text-align: left;
    }
    .article-small-list {
        width: auto;
    }
    .article-small-list li {
        text-align: center;
    }
    .article-small-list li {
        max-height: 100%;
        margin-bottom: 25px !important;
    }
    .article-small-list li.col-md-8 {
        max-height: 100%;
    }
    .list .col-md-4 {
        width: 100%;
    }
    .list .col-xs-5 {
        width: 41.66666667%;
    }
    .article-small-list li .article {
        text-align: center;
        float: none;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: left;
        width: 100%;
    }
    .article-small-list li .article .thumb {
        height: calc(((100vw - 40px) / 16) * 9);
    }
    .article-small-list li .article .thumb img {
        width: calc(100vw - 40px);
        height: auto;
        min-height: 100%;
    }
    .article-small-list li .article h2 {
        text-align: left;
    }
    .article-small-list .col-md-8 {
        width: 100% !important;
        padding-top: 100% !important;
        height: 100%;
        position: relative;
    }
    .article-small-list .col-md-8 .article {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .article-small-list .col-md-8 .article .thumb {
        width: 100%;
        height: 100%;
        width: calc(100vw - 40px);
        height: calc(100vw - 40px);
    }
    .article-small-list .col-md-8 .article .thumb a {
        width: 100%;
        display: block;
        overflow: hidden;
        text-align: center;
        display: flex;
        justify-content: center;
    }
    .article-small-list .col-md-8 .article .thumb img {
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        flex: none;
    }
    .article-small-list .col-md-8 h2 {
        text-align: center !important;
    }
    .article-small-list .col-md-8 h2 {
        font-size: 28px !important;
    }
    .list h3 {
        text-align: center;
    }
    .article-small-list .tiny-list {
        text-align: center;
        width: auto;
    }
    .article-small-list .tiny-list .article-tiny-list {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100%;
    }
    .article-small-list .ad {
        width: 100% !important;
        text-align: center;
        height: auto;
        padding-bottom: 25px;
    }
    .article-small-list .ad div[class^=pr] {
        width: 100% !important;
        height: auto;
    }
    .article-small-list .ad div[class^=sq] {
        width: 100% !important;
        text-align: center;
        height: auto;
        margin: auto;
    }
    .article-small-list .ad:after {
        width: 100%;
    }
    .article-small-list li.col-md-4 .ad:after {
        width: 100%;
    }
    .article-small-list .tiny-list {
        height: auto;
        padding-bottom: 25px;
    }
    .article-small-list .article {
        height: auto;
    }
    .article-small-list li.ad-place {
        max-height: 100%;
    }
    .article-small-list li.rows-2 .ad {
        height: auto;
    }
    .article-small-list .wrap div {
        margin-top: 0;
    }
    .wrapper .article-small-list li .ad .article p.excerpt {
        padding-bottom: 0 !important;
    }
    .wrapper .article-small-list .article.last:after {
        display: none !important;
    }
    .wrapper.container.news>.row>.col-md-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .wrapper .top-news li:first-child {
        margin-left: 20px !important;
    }
    .wrapper .top-news .buttons {
        display: none;
    }
    .wrapper .excerpt {
        margin-bottom: 0 !important;
    }
    .wrapper .share-buttons-above {
        text-align: center;
        position: relative;
        top: 0;
        right: auto;
        padding-bottom: 25px;
    }
    .wrapper .share-buttons-above .share-buttons {
        text-align: center;
    }
    .wrapper.container .share-buttons li {
        width: 40px;
        height: 40px;
        margin-right: 25px;
    }
    .wrapper.container .share-buttons li a {
        line-height: 40px;
        font-size: 1.3em;
        height: 40px;
    }
    .wrapper .share-buttons-below {
        text-align: center;
    }
    .wrapper .share-buttons-below .share-buttons {
        text-align: center;
        margin: 0 0 35px 0 !important;
    }
    .wrapper .comments-button {
        margin-bottom: 35px;
        float: none;
    }
    .wrapper .share-buttons-below .col-md-7 {
        width: 100%;
    }
    .wrapper .share-buttons-below .col-md-5 {
        width: 100%;
    }
    .wrapper.container .sidebar .row {
        width: 100%;
        float: none;
        margin: 0;
    }
    .gallery-small-list .thumb {
        height: calc(((100vw - 40px) / 16) * 9);
    }
    .gallery-small-list li .thumb img {
        width: calc(100vw - 40px);
        height: auto;
    }
    .widget_forum_widget {
        text-align: center;
    }
    .widget_forum_widget h2 {
        text-align: left;
    }
    .widget_forum_widget li {
        list-style-type: none !important;
    }
    .widget_forum_widget li:before {
        content: '•';
        font-family: bold;
        font-size: 27px !important;
        line-height: 18px;
        display: inline-block;
        padding-right: 10px !important;
    }
    .sidebar .widget {
        border-top: 1px solid #ebebeb;
        padding-top: 20px;
    }
    /*.leaderb,
    .leaderboard2 {
        display: none;
    }*/
    .wrapper .image {
        width: 100%;
        height: calc(((100vw - 40px) / 16) * 9);
    }
    .wrapper .text .ad {
        padding-bottom: 0 !important;
        margin-bottom: 1.5em !important;
        background: none;
    }
    .wrapper .text .ad div {
        padding-bottom: 0 !important;
        text-align: center;
        width: 300px;
        margin: auto !important;
    }
    .footer-links h4 {
        padding-top: 1em !important;
    }
    .footer .logo {
        height: auto;
        width: auto;
        display: block;
        text-align: center;
        padding-top: 0;
    }
    .footer .footer-nav {
        padding-top: 26px;
        display: block;
        text-align: center;
    }
    .footer .row>div {
        display: block;
    }
    .social-links {
        display: block;
        text-align: center;
        height: auto;
    }
    .social-links ul {
        text-align: center;
    }
    .social-links ul li:first-child {
        margin-left: 0 !important;
    }
    .wrapper .content .gallery_view,
    .wrapper .content .video_view {
        margin-left: auto !important;
        margin-right: auto !important;
        float: none;
        width: auto !important;
    }
    .wrapper .content .gallery_view.count3.vertical {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 1.5em !important;
    }
    .wrapper .content .gallery_view.count4 li,
    .wrapper .content .gallery_view.count3.vertical li,
    .wrapper .content .gallery_view.count3.horizontal li {
        width: calc(50vw - 20px - 2px);
        height: calc(((50vw - 20px - 2px) / 16) * 9);
        float: left !important;
    }
    .wrapper .content .gallery_view.count3.vertical li,
    .wrapper .content .gallery_view.count3.horizontal li {
        margin-bottom: 0 !important;
        margin-right: 4px !important;
    }
    .wrapper .content .gallery_view.count4 li:nth-child(3),
    .wrapper .content .gallery_view.count3 li:nth-child(2) {
        margin-right: 0 !important;
    }
    .wrapper .content .gallery_view.count4 li:first-child,
    .wrapper .content .gallery_view.count1 {
        width: 100% !important;
        height: calc(((100vw - 40px) / 16) * 9) !important;
    }
    .single-test_cosmetics .wrapper .content .gallery_view.count4 li:first-child,
    .single-test_cosmetics .wrapper .content .gallery_view.count1,
    .single-product .wrapper .content .gallery_view.count4 li:first-child,
    .single-product .wrapper .content .gallery_view.count1 {
        height: auto !important;
    }
    .wrapper .content .gallery_view.count4 li:first-child img,
    .wrapper .content .gallery_view.count1 img {
        width: calc(100vw - 40px) !important;
        height: auto;
    }
    .wrapper .content .gallery_view.count3 li:last-child,
    .wrapper .content .gallery_view.count4 li:last-child {
        display: none;
    }
    .wrapper .content .gallery_view.count3.horizontal a.gallery-link,
    .wrapper .content .gallery_view.count3.vertical a.gallery-link,
    .wrapper .content .gallery_view.count4 a.gallery-link {
        bottom: calc(((((50vw - 20px - 2px) / 16) * 9) - 48px) / 2);
        right: calc((50vw - 20px - 2px - 160px) / 2);
        left: auto;
    }
    .user-card .col-md-8 {
        width: 50%;
    }
    #user_gallery_form .add_photo {
        margin: auto;
        margin-bottom: 25px;
    }
    .xs-center {
        text-align: center;
    }
    #user_gallery_form select {
        margin-bottom: 1em;
    }
    .col-xs-12 {
        width: 100%;
    }
    .wrapper .required-items {
        text-align: left;
        margin-bottom: 1em !important;
    }
    body .wrapper .subcategories {
        text-align: center;
    }
    body .wrapper .subcategories ul {
        width: 100% !important;
        max-width: 342px;
        margin-left: auto !important;
        margin-right: auto !important;
        float: none;
    }
    body .wrapper .subcategories li {
        width: 100% !important;
        margin-bottom: 1em !important;
        margin-right: 0 !important;
    }
    body .wrapper .subcategories li a {
        font-size: 18px;
    }
    body .wrapper .subcategories .shape-b,
    body .wrapper .subcategories .shape-m,
    body .wrapper .subcategories .shape-s {
        height: 50px;
    }
    .single-gallery .container-fluid,
    .single-babyroku .container-fluid,
    .attachment .container-fluid {
        padding: 0;
    }
    .single-gallery .slider,
    .single-babyroku .slider {
        height: 100vh;
    }
    .single-gallery .slide.first,
    .single-babyroku .slide.first {
        height: calc(100vh - 50px);
        margin: 0;
        margin-top: 50px;
    }
    .single-gallery .heading-wrapper .heading,
    .single-babyroku .heading-wrapper .heading {
        padding: 20px 20px;
    }
    .attachment .col-left .topbar,
    .single-gallery .col-left .topbar,
    .single-babyroku .col-left .topbar {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        background: #fafafa;
        z-index: 1;
        padding: 0 20px;
    }
    .single-gallery .slick-prev,
    .single-gallery .slick-next,
    .single-babyroku .slick-prev,
    .single-babyroku .slick-next {
        /*display: none !important;*/
        opacity: 0.2;
    }
    .single-gallery .content-image,
    .single-babyroku .content-image {
        height: 100% !important;
    }
    .attachment .col-left .thumbs-link,
    .single-gallery .col-left .thumbs-link,
    .single-babyroku .col-left .thumbs-link {
        font-size: 0 !important;
        margin-right: 0;
        right: 50px;
    }
    .attachment .col-left .close-link,
    .single-gallery .col-left .close-link,
    .single-babyroku .col-left .close-link {
        font-size: 0 !important;
    }
    .single-gallery .col-left .topbar .thumbs-link,
    .single-babyroku .col-left .topbar .thumbs-link {
        right: 70px;
    }
    .attachment .col-left .topbar .close-link,
    .single-gallery .col-left .topbar .close-link,
    .single-babyroku .col-left .topbar .close-link {
        right: 20px;
    }
    .single-gallery .col-left .content-image .heading h1,
    .single-babyroku .col-left .content-image .heading h1 {
        font-size: 28px !important;
    }
    .single-gallery .col-left .content-image .heading p:last-child,
    .single-babyroku .col-left .content-image .heading p:last-child {
        display: none;
    }
    .wrapper .button.showPosttypeForm {
        /* display: none;*/
        margin-top: 20px;
    }
    #select-producer {
        margin-bottom: 1em;
    }
    .wrapper .special_row {
        max-width: 100% !important;
        margin-top: -30px !important;
    }
}

@media (max-width: 500px) {
    .article-small-list .col-md-8 h2 {
        font-size: 24px !important;
    }
    /*.attachment,
    .single-gallery {
        min-width: 340px;
    }*/
    .single-gallery .listing,
    .single-babyroku .listing {
        left: auto;
        right: 120px;
        width: auto;
    }
    .single-gallery .listing .next-link,
    .single-gallery .listing .prev-link,
    .single-babyroku .listing .next-link,
    .single-babyroku .listing .prev-link {
        display: none;
    }
    .single-gallery .listing .counter,
    .single-babyroku .listing .counter {
        width: auto;
    }
    .single-gallery .slick-prev:after,
    .single-babyroku .slick-prev:after {
        left: 0;
    }
    .single-gallery .slick-next:after,
    .single-babyroku .slick-next:after {
        right: 0;
    }
    .wrapper .user-card {
        height: auto;
    }
    .wrapper .user-card>div {
        display: block;
        float: none;
        text-align: center;
        width: 100% !important;
        padding: 15px 0;
    }
    .user-menu li {
        float: none !important;
    }
    .user-menu>li.activ>a:after {
        display: none;
    }
    #user_gallery_form .photo-info .row>div {
        float: none;
        width: 100%;
        text-align: center;
    }
    #user_gallery_form fieldset.photo-info .fa {
        top: 0;
        left: 50%;
        margin-left: -12px;
    }
    #user_gallery_form .photo {
        margin: auto;
        margin-bottom: 1em;
    }
}

@media (max-width: 320px) {
    .article-small-list .col-md-8 h2 {
        font-size: 20px !important;
    }
    .single-gallery .listing .counter {
        display: none;
    }
}

.pea_cook_wrapper,
.pea_cook_more_info_popover {
    display: none;
}

.toplist {
    display: none;
}


/*
*ie
*/

.ie8 .article-small-list .col-md-8 .wrap,
.ie9 .article-small-list .col-md-8 .wrap,
.ie8 .dropdownmenu .articles .article-small-list .middle.article .heading_wrapper,
.ie9 .dropdownmenu .articles .article-small-list .middle.article .heading_wrapper,
.ie8 .single-gallery .col-left .content-image .heading-wrapper,
.ie9 .single-gallery .col-left .content-image .heading-wrapper,
.ie8 .single-babyroku .col-left .content-image .heading-wrapper,
.ie9 .single-babyroku .col-left .content-image .heading-wrapper {
    display: table;
    width: 100%;
}

.ie9 .article-small-list .col-md-8 .wrap>div,
.ie9 .article-small-list .col-md-8 .wrap>div,
.ie8 .dropdownmenu .articles .article-small-list .middle.article .heading_wrapper .heading,
.ie9 .dropdownmenu .articles .article-small-list .middle.article .heading_wrapper .heading,
.ie8 .single-gallery .col-left .content-image .heading-wrapper .heading,
.ie9 .single-gallery .col-left .content-image .heading-wrapper .heading,
.ie8 .single-babyroku .col-left .content-image .heading-wrapper .heading,
.ie9 .single-babyroku .col-left .content-image .heading-wrapper .heading {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
    margin: auto;
}

.ie8 .single-gallery .col-left .content-image .heading-wrapper .heading,
.ie9 .single-gallery .col-left .content-image .heading-wrapper .heading,
.ie8 .single-babyroku .col-left .content-image .heading-wrapper .heading,
.ie9 .single-babyroku .col-left .content-image .heading-wrapper .heading {
    background: transparent;
    padding: 20px 0;
}

.ie8 .single-gallery .col-left .content-image .heading-wrapper .heading>div,
.ie9 .single-gallery .col-left .content-image .heading-wrapper .heading>div,
.ie8 .single-babyroku .col-left .content-image .heading-wrapper .heading>div,
.ie9 .single-babyroku .col-left .content-image .heading-wrapper .heading>div {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 150px;
}

@media (max-width: 767px) {
    .ie8 .single-gallery .col-left .content-image .heading-wrapper .heading>div,
    .ie9 .single-gallery .col-left .content-image .heading-wrapper .heading>div,
    .ie8 .single-babyroku .col-left .content-image .heading-wrapper .heading>div,
    .ie9 .single-babyroku .col-left .content-image .heading-wrapper .heading>div {
        padding: 20px 20px;
    }
}

@-ms-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}


/*
* ie8
*/

html.ie .logo .fa:before {
    position: relative;
    top: 5px;
}

.ie8 .wrapper a.gallery-link span {
    display: inline-block;
}

.ie8 .wrapper a.gallery-link span {
    width: 27px;
    text-align: center;
    margin-left: 3px;
}

.ie8 .wrapper a.gallery-link span:first-child {
    display: inline-block;
    width: auto;
    margin-left: 0;
}

.ie8 .navigation.wrapper .menu-menu-container {
    position: static;
}

.ie8 .dropdownmenu {
    width: 100%;
    margin-left: 0;
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .logo .fa:before {
        position: relative;
        top: 5px;
    }
}


/* custom basic css */

.centered {
    text-align: center;
}

.right-side {
    text-align: right;
}

.list.link,
.link {
    border-bottom: 1px solid #ebebeb;
    /*#ebebeb;*/
    padding-bottom: 15px !important;
    margin-bottom: 24px !important;
}

p.spojka {
    padding: 10px 0 !important;
    width: 20%;
    text-align: center;
    float: left;
}

.wrapper .special_row {
    max-width: 1100px;
    border-bottom: 1px solid #ebebeb;
    padding-top: 20px !important;
    margin-top: -20px !important;
}

.wrapper .special_row .hi {
    font-size: 65px;
    color: black;
    line-height: 1em;
}

.wrapper .special_row li {
    text-align: center;
    margin-bottom: 20px !important;
}

.wrapper .special_row li .horoscope-sing-name {
    display: block;
    text-align: center;
    color: #231f20;
    font-size: 11px;
    text-transform: uppercase;
    margin-top: -10px;
}

.wrapper .special_row li a {
    color: #231f20;
}

.wrapper .special_row li a:hover .hi {
    color: #f59680 !important;
}

.single .wrapper .special_row {
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 30px;
}

.single .wrapper .special_row {
    margin-top: 0 !important;
}


/* custom css - souteze */

.single-competitions .wrapper .answers h3.readmore {
    padding-top: 20px !important;
    font-family: Georgia !important;
    text-transform: none !important;
    font-weight: 800;
}

.single-competitions .wrapper .answers form ul li {
    list-style: none !important;
}

.single-competitions .wrapper .answers .caption {
    padding-top: 15px !important;
    padding-bottom: 10px !important;
}

.single-competitions .wrapper .answers form input[type=radio] {
    opacity: 1 !important;
    vertical-align: middle !important;
}


/* custom css - test kosmetiky */

input#form-recenze-button {
    margin-bottom: 30px !important;
}


/* poradna */

.maxWidth {
    width: 100% !important;
}

.cleared {
    clear: both;
}

.nahoru {
    vertical-align: top;
}

#hlaska {
    margin-top: 40px !important;
}

#hodnoceni {
    margin-bottom: 0 !important;
}

#hodnoceni .col-md-12,
#hodnoceni .col-md-6,
#hodnoceni .col-md-4,
#hodnoceni .col-md-2 {
    padding: 0;
    font-family: regular;
    font-size: 14px;
}

.single-recipes #hodnoceni img {
    margin-bottom: 5px !important;
    height: 24px;
}

#hodnoceni post-ratings-femina img {
    margin-right: 0;
}

.post-ratings {
    display: inline;
}

.post-ratings IMG,
.post-ratings-loading IMG,
.post-ratings-image IMG {
    margin-right: 3px;
}

.post-ratings-loading {
    display: none !important;
}

.single-recipes .post-ratings IMG,
.single-recipes .post-ratings-loading IMG,
.single-recipes .post-ratings-image IMG {
    /*-webkit-filter: grayscale(100%); 
    filter: grayscale(100%);*/
}

#dotaz label,
#recenze label {
    font-family: bold !important;
}

#dotaz input,
#dotaz textarea,
#recenze input,
#recenze textarea {
    font-family: light !important;
}

.wrapper .text ul.counseling-small-list,
.wrapper .text ul.test_review-small-list {
    margin-top: 0 !important;
    padding-bottom: 0 !important;
}

.wrapper .text ul.counseling-small-list li,
.wrapper .text ul.test_review-small-list li {
    list-style-type: none !important;
    margin-left: 0 !important;
}

.wrapper .text ul.counseling-small-list li span.link {
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 0 !important;
    margin-bottom: 24px !important;
    width: 100%;
    display: block;
}

.wrapper .text ul.counseling-small-list li .odpovedel {
    font-size: 10px;
    color: #9e9e9e;
    font-family: light !important;
}

.single-test_cosmetics ul.wp-polls-ul li {
    float: left;
}

.single-test_cosmetics .wrapper .content .gallery_view.count1 a img {
    width: auto;
    min-width: 0;
    max-height: 300px;
}

.single-test_cosmetics ul.wp-polls-ul li input[type=radio]:not(old)+label>span {
    margin: 0 10px 0 30px;
}

.single-test_cosmetics ul.wp-polls-ul li:first-child input[type=radio]:not(old)+label>span {
    margin: 0 10px 0 0;
}


/* recepty */

.recepty-type {
    background: #fff !important;
    border-top: 1px solid #ebebeb;
    padding-top: 50px;
    padding-bottom: 40px;
    color: #6b6b6b;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 40px;
}

i.ico {
    text-align: center;
    display: inline-block;
    height: 30px;
    width: 40px;
    vertical-align: middle;
    margin-right: 20px;
}

span.ico {
    /*position: relative;*/
    display: inline-block;
    background-image: url(../images/recepty-ikony.png);
    background-repeat: no-repeat;
    height: 26px;
    width: 31px;
    text-decoration: none;
    /*margin: -3px 0 0 -70px;*/
}

.col-md-4 .recipe span.ico,
.listInfo span.ico,
.top-news span.ico {
    background-image: url(../images/recepty-ikony-silver.png);
    -ms-transform: scale(0.8, 0.8);
    /* IE 9 */
    -webkit-transform: scale(0.8, 0.8);
    /* Safari */
    transform: scale(0.8, 0.8);
}

.top-news span.ico {
    -ms-transform: scale(0.7, 0.7);
    /* IE 9 */
    -webkit-transform: scale(0.7, 0.7);
    /* Safari */
    transform: scale(0.7, 0.7);
}

.col-md-8 .recipe span.ico {
    -webkit-filter: grayscale(100%) brightness(3);
    filter: grayscale(100%) brightness(3);
}

.article-small-list .listInfo a,
.gallery-small-list .listInfo a {
    display: inline-block;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    max-width: 100%;
}

.article-small-list .listInfo,
.gallery-small-list .listInfo {
    vertical-align: middle;
    font-size: 14px !important;
    padding-bottom: 1em;
    margin-top: 1em;
}

.article-small-list .listInfo i.ico,
.gallery-small-list .listInfo i.ico {
    margin-right: 10px;
}

.article-small-list li.col-md-8 .listInfo a {
    color: white !important;
}

.single-recipes .wrapper .text .detailInfo p.last {
    padding-bottom: 0 !important;
}

.single-recipes .detailInfo a {
    text-decoration: none;
    color: black !important;
}

.single-recipes .detailInfo a .ico {
    text-decoration: none;
    color: black !important;
}

.single-recipes .detailInfo a:hover {
    text-decoration: underline !important;
    color: black !important;
}

.single-recipes .detailInfo span.ico {
    background-image: url(../images/recepty-ikony-silver.png);
}

.single-recipes .detailInfo a strong {
    font-family: Georgia !important;
    font-weight: bold;
}

.single-recipes .wrapper .text .widget.ingredients p {
    line-height: 2em !important;
}

span.ico.t-americka {
    background-position: -15px -53px;
    height: 30px;
    width: 11px;
}

span.ico.t-ceska {
    background-position: -31px -30px;
    height: 30px;
    width: 20px;
}

span.ico.t-cinska {
    background-position: -64px -70px;
    height: 29px;
    width: 37px;
}

span.ico.t-francouzska {
    background-position: -31px -60px;
    height: 31px;
    width: 20px;
}

span.ico.t-indicka {
    background-position: -178px -26px;
    height: 31px;
    width: 40px;
}

span.ico.t-italska {
    background-position: -31px -91px;
    height: 30px;
    width: 16px;
}

span.ico.t-japonska {
    background-position: -31px -121px;
    height: 30px;
    width: 31px;
}

span.ico.t-madarska {
    background-position: -31px -151px;
    height: 29px;
    width: 32px;
}

span.ico.t-mexicka {
    background-position: -31px -180px;
    height: 25px;
    width: 33px;
}

span.ico.t-recka {
    background-position: -218px -0px;
    height: 27px;
    width: 42px;
}

span.ico.t-ruska {
    background-position: -31px -206px;
    height: 30px;
    width: 24px;
}

span.ico.t-slovenska {
    background-position: -139px -25px;
    height: 16px;
    width: 39px;
}

span.ico.t-spanelska {
    background-position: -31px -235px;
    height: 30px;
    width: 19px;
}

span.ico.t-staroceska {
    background-position: -63px -99px;
    height: 26px;
    width: 37px;
}

span.ico.t-thajska {
    background-position: -47px -91px;
    height: 30px;
    width: 17px;
}

span.ico.t-ostatni {
    background-position: -63px -125px;
    height: 27px;
    width: 28px;
}

span.ico.t-bezmasa-jidla {
    background-position: -0px -0px;
    height: 26px;
    width: 31px;
}

span.ico.t-chu-ovky {
    background-position: -0px -26px;
    height: 27px;
    width: 30px;
}

span.ico.t-cukrovi {
    background-position: -0px -53px;
    height: 30px;
    width: 15px;
}

span.ico.t-drubez {
    background-position: -0px -83px;
    height: 30px;
    width: 25px;
}

span.ico.t-fitness {
    background-position: -0px -113px;
    height: 30px;
    width: 26px;
}

span.ico.t-grilovani {
    background-position: -0px -143px;
    height: 27px;
    width: 31px;
}

span.ico.t-hovezi-maso {
    background-position: -31px -0px;
    height: 30px;
    width: 33px;
}

span.ico.t-kralik {
    background-position: -0px -170px;
    height: 30px;
    width: 26px;
}

span.ico.t-lusteniny {
    background-position: -64px -0px;
    height: 21px;
    width: 37px;
}

span.ico.t-moucniky-a-dezerty {
    background-position: -0px -200px;
    height: 30px;
    width: 29px;
}

span.ico.t-napoje {
    background-position: -0px -230px;
    height: 30px;
    width: 19px;
}

span.ico.t-pecivo {
    background-position: -101px -0px;
    height: 15px;
    width: 38px;
}

span.ico.t-pizza-a-testoviny {
    background-position: -0px -260px;
    height: 27px;
    width: 26px;
}

span.ico.t-pokrmy-z-masa {
    background-position: -139px -0px;
    height: 25px;
    width: 39px;
}

span.ico.t-polevky {
    background-position: -64px -21px;
    height: 26px;
    width: 36px;
}

span.ico.t-prilohy {
    background-position: -0px -287px;
    height: 30px;
    width: 21px;
}

span.ico.t-ryby-a-morske-plody {
    background-position: -101px -15px;
    height: 25px;
    width: 38px;
}

span.ico.t-salaty {
    background-position: -64px -47px;
    height: 23px;
    width: 35px;
}

span.ico.t-sladka-jidla {
    background-position: -0px -317px;
    height: 29px;
    width: 30px;
}

span.ico.t-svatebni {
    background-position: -0px -346px;
    height: 30px;
    width: 28px;
}

span.ico.t-veprove-maso {
    background-position: -178px -0px;
    height: 26px;
    width: 40px;
}

span.ico.t-zavareniny {
    background-position: -0px -376px;
    height: 29px;
    width: 20px;
}

span.ico.t-zverina {
    background-position: -101px -144px;
    height: 30px;
    width: 29px;
}

span.ico.t-do-30-minut {
    background-position: -101px -119px;
    height: 26px;
    width: 38px;
}

span.ico.t-1-hodina {
    background-position: -101px -40px;
    height: 26px;
    width: 38px;
}

span.ico.t-2-hodiny {
    background-position: -101px -66px;
    height: 26px;
    width: 38px;
}

span.ico.t-vice-jak-3-hodiny {
    background-position: -101px -92px;
    height: 26px;
    width: 38px;
}

span.ico.t-snadne {
    background-position: -0px -431px;
    height: 29px;
    width: 20px;
}

span.ico.t-obtizne {
    background-position: -0px -405px;
    height: 26px;
    width: 23px;
}

span.ico.t-stredne-tezke {
    background-position: -0px -460px;
    height: 30px;
    width: 25px;
}


/* kviz */

#otazkyEnd li {
    padding-left: 40px !important;
    padding-bottom: 8px !important;
    padding-top: 8px !important;
}

#otazkyEnd li.correctYES {
    color: green;
}

#otazkyEnd li.correctNO {
    color: red;
}

.page-template-horoscope-day-card .gallery_view img {
    max-width: 250px;
    min-width: 0 !important;
}

.hidden_block {
    display: none;
}


/*pruh s odkazy*/

.links_special_row li:first-child {
    text-align: left;
    font-size: 14px;
    font-family: regular;
    line-height: 48px;
}

.links_special_row a.link_button {
    text-align: center;
    text-transform: uppercase;
    color: #666666 !important;
    display: block;
    font-size: 13px;
    font-family: regular;
}

.links_special_row a.link_button img {
    display: block;
    margin: auto;
    max-height: 20px;
    margin-bottom: 10px;
}

.special_row.out_of_list {
    border-bottom: 1px solid #ebebeb;
    border-top: 1px solid #ebebeb;
}

@media (max-width: 1199px) {
    .links_special_row li:first-child {
        text-align: center;
    }
    .links_special_row .jmeno-pro {
        display: none;
    }
}


/*reklamy*/

.leaderb {
    background: #EDEDED !important;
}

body>.leaderboard {
    max-width: 1140px;
    position: relative;
    margin: auto;
    text-align: center;
}

body>.leaderboard {
    padding: 0;
}

body>.leaderboard>div,
body>.leaderboard table {
    text-align: center;
    margin: auto;
}

body.lb>.leaderboard>div,
body.lb>.leaderboard table {
    padding: 10px 0 10px 0;
}

body.branding>.leaderboard>div,
body.branding>.leaderboard table {
    padding: 0;
}

.col-md-12>.ad {
    background: #EDEDED;
    height: auto !important;
}

.col-md-12.leaderboard1,
.col-md-12.leaderboard2 {
    background: #EDEDED;
    padding: 10px 0 !important;
}

.col-md-12.leaderboard2 {
    margin-bottom: 46px !important;
    margin-left: -20px !important;
}

.leader-fullwidth {
    margin-left: -20px !important;
    margin-right: -20px !important;
    width: calc(100% + 40px) !important;
}

.leader-fullwidth .ad {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.ad .leaderboard,
.ad .leaderboard2,
.ad .leaderboard>div,
.ad .leaderboard2>div {
    margin: auto;
    text-align: center;
}

.ad .pr1,
.ad .pr1_hp,
.ad .pr2,
.ad .pr2_hp {
    width: 342px;
    height: 426px;
    overflow: hidden;
    text-align: left;
}

.ad table {
    margin: auto;
    margin-bottom: 0 !important;
}

.ad td {
    text-align: center;
}

.partner_ad img {
    max-width: 100%;
}

.leaderboardm {
    display: none;
}


/* @media (max-width: 1199px) {
    .leaderboard,
    .leaderboard1,
    .leaderboard2 {
        display: none;
    }
    .leaderboardm,
    .leaderboardm .leaderboard {
        display: block;
    }
    .leaderboardm {
        padding-left: 0;
        padding-right: 0;
    }
} */


/*
 Ostatní
*/

.centrovany {
    text-align: right;
}


/* fotočlánky */

.wrapper .photoarticle_button {
    position: absolute;
    left: 0;
    width: 100% !important;
    height: 60px !important;
    top: 50%;
    margin-top: -30px;
    text-align: center;
    text-decoration: none !important;
}

.wrapper .photoarticle_button:hover {
    text-decoration: none !important;
}

.wrapper .photoarticle_button span {
    line-height: 56px;
    background: rgba(0, 0, 0, 0.8);
    padding: 0 30px;
    color: white !important;
    font-family: bold;
    border: 2px solid white;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
}

.wrapper .photoarticle_caption {
    font-size: 16px;
    color: #242424;
    font-family: regular;
    text-align: center;
    margin-left: -17.667% !important;
}

body.single-photoarticle .wrapper .text>.col-md-12>.caption_text>p:first-child:first-letter {
    float: none;
    font-size: 1em;
    line-height: auto;
    margin-top: 0;
    padding-right: auto;
    font-family: inherit;
}

@media (max-width: 1199px) {
    .wrapper .photoarticle_caption {
        margin-left: 0 !important;
    }
}

.wrapper .photoarticle_caption .listing>a,
.wrapper .photoarticle_caption .listing>span {
    margin: 0 10px;
}

.wrapper .photoarticle_image {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
}

@media (min-width: 1199px) {
    .wrapper .photoarticle_image {
        margin-left: -17.667% !important;
    }
}

.wrapper .photoarticle_image img {
    max-width: 100%;
    height: auto;
    max-height: 800px;
    width: auto;
}

.wrapper .content .photoarticle_image .video_view {
    float: none;
    margin: 0 !important;
}

.wrapper .photoarticle_image .prev-link,
.wrapper .photoarticle_image .next-link {
    position: absolute;
    left: 0;
    top: 0;
    height: 100% !important;
    width: 50px !important;
    text-align: center;
    color: white !important;
    font-size: 50px;
    text-shadow: 0 0 1px #242424, 0 0 1px #242424;
    text-decoration: none !important;
}

.wrapper .photoarticle_image .prev-link .fa,
.wrapper .photoarticle_image .next-link .fa {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -29px;
}

.wrapper .photoarticle_image .next-link {
    left: auto;
    right: 0;
}

.page-template-page-redakce .wrapper .text td {
    vertical-align: top;
    background: transparent !important;
    color: #909090;
    line-height: 1.8em;
    padding: 0 !important;
}

.page-template-page-redakce .wrapper .text table {
    width: auto;
}

.page-template-page-redakce .wrapper .text td a {
    color: #909090 !important;
}

.page-template-page-redakce .wrapper .text tr td:first-child {
    text-align: right;
    padding-right: 1em !important;
}

.wrapper .list2-item {
    height: 330px;
    overflow: hidden;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .wrapper .list2-item {
        height: auto;
    }
}

.wrapper .list2-item.list2-item-without-info {
    height: auto;
    margin-bottom: 0;
}

.wrapper .list2-item .thumb {
    width: 213px;
    height: 256px;
    overflow: hidden;
    padding-bottom: 5px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto;
}

@media (max-width: 1199px) {
    .wrapper .list2-item .thumb {
        width: 202px;
        height: 242px;
    }
}

@media (max-width: 992px) {
    .wrapper .list2-item .thumb {
        width: 210px;
        height: 249px;
    }
}

@media (max-width: 700px) {
    .wrapper .list2-item .thumb {
        max-width: 150px;
        max-height: 177px;
    }
}

@media (max-width: 508px) {
    .wrapper .list2-item .thumb {
        max-width: 100px;
        max-height: 118px;
    }
    .wrapper .list2-item .icons {
        border-left: none !important;
    }
}

.wrapper .list2-item .thumb img {
    min-height: 256px;
    width: auto;
    max-width: inherit;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

@media (max-width: 1199px) {
    .wrapper .list2-item .thumb img {
        min-height: 256px;
    }
}

@media (max-width: 992px) {
    .wrapper .list2-item .thumb img {
        min-height: 249px;
    }
}


/* @media (max-width: 768px) {
    .wrapper .list2-item .thumb img {
        min-height: calc((100vw - 40px) * (249/210));
    }
} */

.wrapper .list2-item .thumb:hover img {
    -webkit-transform: scale(1.05);
    /* Safari and Chrome */
    -moz-transform: scale(1.05);
    /* Firefox */
    -ms-transform: scale(1.05);
    /* IE 9 */
    -o-transform: scale(1.05);
    /* Opera */
    transform: scale(1.05);
}

.wrapper .list2-item p {
    font-family: regular !important;
    font-size: 12px !important;
    color: #909090 !important;
    padding-bottom: 0 !important;
}

.wrapper .list2-item h4 {
    font-family: bold !important;
    font-size: 14px !important;
    color: #909090 !important;
    padding-bottom: 5px !important;
}

.wrapper .list2-item a {
    color: #424242 !important;
}

.wrapper .list2-item .icons {
    border-left: 1px solid #f1f1f1;
}

.wrapper .list2-item .ico {
    color: #424242;
    margin-top: 5px;
    width: auto;
    height: auto;
}

.page-template-page-fullwidth h1 {
    text-transform: none !important;
}

.page-template-page-fullwidth h2 {
    text-transform: none !important;
    color: #EE5B0A !important;
}

.page-template-page-fullwidth .text p {
    /* font-family: regular !important;
    color: #909090;
    font-size: 14px; */
}

.page-template-page-fullwidth .text p strong {
    /* color: #808080; */
}

.fullwidth-image-wrapper {
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fullwidth-image-wrapper img {
    width: 100% !important;
    height: auto;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.fullwidth-image-wrapper img:hover {
    -webkit-transform: scale(1.01);
    /* Safari and Chrome */
    -moz-transform: scale(1.01);
    /* Firefox */
    -ms-transform: scale(1.01);
    /* IE 9 */
    -o-transform: scale(1.01);
    /* Opera */
    transform: scale(1.01);
}

.wrapper .text .subtiles {
    overflow: hidden;
}

.wrapper .text .subtiles p:empty {
    display: none;
}

.wrapper .text .subtiles ul,
.wrapper .text .subtiles ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wrapper .text .subtiles ul {
    width: calc(100% + 40px);
}

.wrapper .text .subtiles ul li {
    height: 152px;
}

.wrapper .text .subtiles ul li span {
    height: calc(100% - 20px);
    display: block;
    margin-right: 40px !important;
}

.wrapper .text .subtiles ul li:nth-child(3n+0) span {
    margin-left: 0 !important;
}

.wrapper .text .subtiles ul li a {
    font-size: 20px;
    color: #A2A2A2 !important;
    text-decoration: none;
    font-family: bold;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    padding: 0 20px;
    background: white;
    text-decoration: none !important;
}

@media (max-width: 992px) {
    .wrapper .text .subtiles ul li {
        height: 120px;
    }
    .wrapper .text .subtiles ul li a {
        font-size: 14px;
        line-height: 1.3em;
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        display: none;
    }
    .wrapper .text .subtiles ul {
        width: 100%;
    }
    .wrapper .text .subtiles ul li {
        height: 50px;
        margin-bottom: 20px !important;
    }
    .wrapper .text .subtiles ul li span {
        max-width: 342px;
        height: 100%;
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .wrapper .text .subtiles ul li:nth-child(3n+0) span {
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .wrapper .text .subtiles ul li a {
        font-size: 14px;
        line-height: 1.3em;
    }
}

.wrapper .square_number span {
    text-align: center;
    display: block;
    border-bottom: 1px solid #242424;
    line-height: 50px;
    height: 50px;
}

.wrapper .square_number span:last-child {
    border-bottom: 0;
    font-size: 11px;
    background: #ededed;
    line-height: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.number_select {
    font-family: bold;
    border: none;
    width: 50px;
    padding: 0;
}

.number_select option {
    padding: 0 !important;
}

.wrapper .page-text ul {
    margin-bottom: 1em !important;
    list-style: disc !important;
}

.wrapper .page-text ul,
.wrapper .page-text li {
    margin-left: 1em !important;
    font-size: 14px !important;
    list-style: disc !important;
}

.sources_caption {
    position: absolute;
    bottom: 7px;
    right: 7px;
    font-size: 10px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    -ms-border-radius: 20px;
    line-height: 1.2em;
    font-family: regular;
    max-width: calc(100% - 7px - 7px);
    white-space: normal;
}

.caption_link {
    color: #666666;
}

.sources_caption .caption_link {
    color: white;
}

.caption_link:hover {
    text-decoration: underline;
    cursor: pointer;
}