/*
Theme Name: TheGem Child
Description: Multi-Purpose Wordpress Theme
Author: Codex Themes.
Theme URI: http://codex-themes.com/thegem/
Author URI: http://codex-themes.com/thegem/
Template: thegem
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, dark, light
License: GNU General Public License
License URI: license.txt
*/

.thegem_pf_item-template-default .page-title-title h1 {
    display: none;
}

.thegem_pf_item-template-default #page-title {
    background-position: center top;
    padding-bottom: 1080px !important;
    max-height: 1080px;
}

.thegem_pf_item-template-default .block-content {
    padding-top: 0;
}

.thegem_pf_item-template-default #main-content>.block-content>.container>.panel.row {
    position: relative;
    margin-top: -25vh;
    background-color: white;
    padding: 4rem calc(4rem - 21px);
}

.damme-store-desc {
    text-align: justify;
}

.damme-store-title {
    margin: 0 0 2rem;
    font-size: 32px;
    line-height: 34px;
    font-weight: bold;
    text-transform: uppercase;
    display: none;
}

.damme-store-info {
    background-color: #ebecec;
    padding: 3.5rem 4rem;
}

.damme-store-hours-label {
    text-transform: uppercase;
    display: block;
}

.damme-store-hours {
    border-bottom: 2px solid white;
}

.damme-store-hours {
    padding-bottom: 3.5rem;
}

.damme-store-social {
    padding-top: 3.5rem;
}

.damme-icon-phone::before {
    font-family: thegem-icons;
    content: '\e625';
}

.damme-icon-email::before {
    font-family: thegem-icons;
    content: '\e607';
}

.damme-icon-globe::before {
    font-family: thegem-icons;
    content: '\e665';
}

.damme-icon-camera::before {
    font-family: thegem-icons;
    content: '\e60f';
}

.damme-icon-speech::before {
    font-family: thegem-icons;
    content: '\e631';
}

@media (max-width: 1199px) {
    .thegem_pf_item-template-default .row>* {
        margin-top: 0;
    }

    .thegem_pf_item-template-default #main-content>.block-content>.container>.panel.row {
        margin-top: 0;
    }
}

fieldset.damme {
    border: none;
    padding-left: 0;
}

.damme-stores .caption {
    display: none;
}

/*
 * PS 2019-06-05: new store post type
 */

.tcd-store {
    background-color: #fff;
    padding-top: 40%;
}

.tcd-store-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.tcd-store-photo img {
    width: 100%;
    height: auto;
}

.tcd-store-content {
    background-color: #fff;
    margin: 0 auto;
    padding-top: 21px;
    padding-bottom: 21px;
    position: relative;
    z-index: 2;
}

@media (min-width: 1212px) {
    .tcd-store-content {
        padding-right: 45px;
        padding-left: 90px;
    }
}

.tcd-store {
    color: #000;
    line-height: 1.2;
}


.damme-store-logo {
    float: left;
    max-width: 160px;
    height: auto;
    margin-right: 3.5rem;
    width: 100%;
}

.damme-store-logo img {
    width: 100%;
    height: auto;
}

.tcd-store .damme-store-social a {
    color: #000;
}

ul.tcd-categories {
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

ul.tcd-categories li {
    list-style-type: none;
    margin: 0 10px 10px 0;
}

ul.tcd-categories li a {
    line-height: 2;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    padding: 0 25px;
    background-color: #dfe5e8;
    text-transform: uppercase;
    color: #5f727f;
    font-family: 'Montserrat UltraLight';
}

ul.tcd-categories li a.active {
    color: #fff;
    background-color: #00bcd4;
}

ul.tcd-categories li a:hover {
    background-color: #b6c6c9;
    color: #fff;
}

ul.tcd-categories li:first-child {
    margin-left: 0;
}

.tcd-stores {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

.tcd-store-item img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1000px) {
    .tcd-stores {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 650px) {
    .tcd-stores {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 500px) {
    .tcd-stores {
        grid-template-columns: 1fr;
    }
}

.tcd-block-content {
    padding-top: 32px;
}

ul.tcd-categories {
    margin: 20px 0;
}

.tcd-store-item {
    position: relative;
    overflow: hidden;
}

.tcd-store-item::before {
    content: '';
    display: block;
    position: absolute;
    background-color: rgba(0, 188, 212, 0.75);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 200ms ease-in;
    border-radius: 100%;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.tcd-store-item:hover::before {
    width: 150%;
    height: 150%;
    opacity: 0.4;
}

.damme-store-categories.tcd-categories {
    justify-content: start;
}

.damme-store-social>div {
    margin-bottom: 0.7em;
}


/* Inline #28 | https://tcdamme.lv/stores/ */

#colophon {
    background-color: #e92f23;
}

.widget-title::after {
    color: white;
}

.site-footer .widget_text ul li::before {
    background-color: #fff;
}

#colophon .gem-contacts .gem-contacts-item::before {
    color: #fff;
}

#colophon .widget {
    color: white;
}

#colophon .widget a {
    color: white !important;
    text-decoration: underline;
}


/* Inline #28 | https://tcdamme.lv/stores/ */

.site-footer .widget_text ul li {
    border-bottom-color: white;
}

.site-footer .gem-contacts-item.gem-contacts-address {
    border-bottom-color: white;
}

/* Inline #28 | https://tcdamme.lv/stores/ */

#footer-nav {
    background-color: #e92e22;
}

.footer-site-info {
    color: white;
}

#footer-nav {
    border-top: none;
}



/* Inline #28 | https://tcdamme.lv/discounts/ */

.tcd-discounts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
}

.tcd-discount img {
    width: 100%;
    height: auto;
}

/* Inline #40 | https://tcdamme.ml/ */

.tcd-discount {
    height: 100%;
}

.tcd-discount-inner {
    height: 100%;
}



/* Inline #28 | https://tcdamme.lv/discounts/ */

.tcd-discount {
    padding: 21px;
}


/* Inline #28 | https://tcdamme.lv/discounts/ */

.tcd-discount {
    text-align: center;
    transition: all 0.2s linear;
}

.tcd-discount::after {
    content: '';
    display: block;
    border: 1px solid #f4f6f7;
}

.tcd-discount h2 {
    margin: 32px 0 0;
}

.tcd-discount:hover .tcd-discount-inner {
    background-color: #f4f6f7;
}

.tcd-discount-inner {
    padding-bottom: 30px;
    transition: all 0.2s linear;
}

.tcd-discount-image {
    position: relative;
}

.tcd-discount-image::before {
    background-color: rgba(0, 188, 212, 0.8);
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.2s linear;
}

.tcd-discount:hover .tcd-discount-image::before {
    opacity: 1;
}

#colophon {
    padding-top: 0;
    padding-bottom: 0;
}

#colophon .inline-column {
    margin-bottom: 0;
}

#footer-nav {
    padding-top: 0;
}

.block-content {
    padding-top: 20px;
}


.single-damme_store .mapplic-popup-link,
.single-damme_store .mapplic-tooltip-content {
    display: none !important;
}


/* Inline #28 | https://tcdamme.lv/stores/ */

.damme-title {
    text-align: center;
    color: #fff;
    background-color: #6c7cd0;
    padding: 80px 0;
    line-height: 1;
}


/* Inline #28 | https://tcdamme.lv/stores/ */

.tcd-search input {
    padding: 5px 10px;
}


.tcd-search label {
    position: relative;
    display: inline-block;
}

.tcd-search label::after {
    content: "\e612";
    font-family: "thegem-icons";
    font-size: 24px;
    width: 25px;
    line-height: 35px;
    pointer-events: none;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    margin-right: -25px;
}

.tcd-search button[type="submit"] {
    opacity: 0;
    overflow: hidden;
    width: 25px;
    line-height: 35px;
    z-index: 2;
}

#tcd-search-form {
    display: flex;
}

#tcd-search-form label {
    width: 100%;
}

#tcd-search-form input {
    width: 100%;
}

#tcd-search-form {
    max-width: 350px;
}

@media screen and (max-width: 640px) {
    #tcd-search-form {
        max-width: none;
        width: 100%;
    }
}

.home .mapplic-button.mapplic-fullscreen-button {
    display: none;
}


/* style.css | https://tcdamme.lv/wp-content/themes/thegem-child/style.css?ver=1.15 */

#footer-nav {
    padding-bottom: 0;
}

#colophon {
    /* padding-top: 0; */
    padding-top: 30px;
}

#colophon .footer-widget-area {
    display: flex;
    align-items: center;
}

#colophon .widget {
    position: static !important;
}

#colophon .widget-title {
    display: none;
}

.site-footer .widget_text ul li {
    border-bottom: none;
}

.site-footer .gem-contacts-item.gem-contacts-address {
    border-bottom: none;
    padding-bottom: 5px;
}

.site-footer .widget_text ul li {
    margin-left: 0;
}

.site-footer .widget_text ul li::before {
    display: none;
}

.damme-icon {
    font-family: FontAwesome;
    font-style: normal;
    font-size: 18px;
    display: inline-block;
    width: 20px;
    text-align: center;
}

/* Inline #38 | https://tcdamme.lv/ */

#footer-nav {
    padding-bottom: 30px;
}

body.search .post-meta-author {
    display: none;
}

.damme-footer-list {
    margin-left: 0;
    padding-left: 0;
}

.damme-footer-list li {
    line-height: 25px;
    padding: 8px 0;
}

.damme-footer-list li::before {
    display: none;
}

.custom-footer a {
    text-decoration: underline;
}

.custom-footer a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Inline #36 | https://tcdamme.lv/veikali/gards/?location=lm-gards */

.damme-store-social a {
    text-decoration: underline;
}

.damme-store-social a:hover {
    color: #e93024;
}

/* style.css | https://tcdamme.lv/wp-content/themes/thegem/style.css?ver=d27d5467400257881ede7d83796c1471 */

#primary-menu.no-responsive > li ul {
  /* width: 280px; */
  width: 230px;
}

@media screen and (min-width: 680px) {
    .damme-store {
        display: grid;
        grid-template-columns: 70% 1fr;
        grid-template-rows: auto auto;
    }

    .damme-store-desc {
        padding-right: 2rem;
    }

    .damme-store-info {
        grid-column: 2;
        margin-bottom: 2rem;
    }

    .damme-store-map {
        grid-row: 2;
        grid-column: 1/3;
    }

    .damme-store-map {
        background-color: #ebecec;
    }
}

@media screen and (min-width: 560px) and (max-width: 680px) {
    .damme-store-info {
        display: flex;
    }

    .damme-store-info>* {
        width: 50%;
    }

    .damme-store-hours {
        border-bottom: none;
        border-right: 2px solid white;
        padding-bottom: 0;
    }

    .damme-store-social {
        padding-left: 2rem;
        padding-top: 0;
    }
}

.pp_pic_holder .ppt {
    display: none !important;
}