/**
 * Pages CSS File
 *
 * This file contains the styles for various pages in the Codehills Kickstarter theme.
 * It includes structural styles, theme-specific page styles, and WordPress page styles.
 *
 * @since 2.0.0
 * @package WordPress
 * @subpackage Codehills Kickstarter Theme
 */

/*********************** Pages *********************** *
 *  1. Structural
 *      1.1. Sections
 *      1.2. Pagetitles
 *  2. Theme pages
 *      2.1. Homepage
 *  3. WordPress pages
*****************************************************/

/****************** 1. Structural *******************/

/**** 1.1. Sections ****/

.uk-section {
    padding: 60px 0;
    background-color: var(--kickstarter-light-gray);
    background-position: center;
}
.archive .uk-section,
.search .uk-section {
    background: #fff;
}
article#main {
    padding: 20px 0 0;
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, var(--kickstarter-light-gray) 100%);
    border-bottom: 1px solid var(--kickstarter-border);
}
.uk-border-bottom {
    border-bottom: 1px solid var(--kickstarter-border);
}
#main {
    position: relative;
}
#main::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(58, 58, 58, 0.25);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#main.uk-disabled::after {
    opacity: 1;
    visibility: visible;
}

/**** 1.2. Pagetitles ****/

.pagetitle-block {
    font-size: 16px;
    font-weight: 500;
    font-family: var(--kickstarter-font-primary);
    background: rgb(34, 34, 34) !important;
    background: linear-gradient(0deg, rgba(34, 34, 34, 0.75) 0%, rgba(34, 34, 34, 0) 75%) !important;
}
.pagetitle-block > .uk-container {
    min-height: 525px;
    padding-bottom: 30px;
}
.pagetitle-block h4 {
    font-size: 14px;
    font-weight: 500;
    font-family: var(--kickstarter-font-primary);
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

/**************** 2. Theme pages *******************/

/**** 2.1. Product box / post box ****/

.product-box-image {
    background: var(--kickstarter-green);
}
.product-box-content {
    background: #fff;
    padding: 20px 20px 35px;
    line-height: 1.25;
}
.product-box-content h3,
.post-box-content h3,
.post-box-content h3 a {
    font-size: 16px;
    font-weight: 700;
    color: var(--kickstarter-dark-blue);
    margin: 10px 0 20px;
}
.product-box-content a {
    color: var(--kickstarter-green);
}
.product-box-item-active .product-box-image img {
    width: auto;
    height: 100%;
}

/**** 2.2. Product single ****/

#product-hero {
    background-color: var(--kickstarter-dark-blue);
    background-image: url("../../img/red-background.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 90px;
}
#product-main {
    background: var(--kickstarter-light-gray);
    padding-bottom: 70px;
}
.single-product h1,
.single-product .uk-h1 {
    font-size: 40px;
}
.product-categories a,
.post-box-content time,
.article-date {
    font-size: 12px;
    font-weight: 500;
    font-family: var(--kickstarter-font-primary);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--kickstarter-green);
}
.product-categories a {
    font-size: 14px;
}
.product-info-item strong {
    color: var(--kickstarter-pink);
    font-weight: 700;
}
.pharmacy-item p {
    color: var(--kickstarter-pink);
    font-size: 24px;
    font-weight: 700;
    font-family: var(--kickstarter-font-primary);
    line-height: 1;
}
.pharmacy-item p small {
    font-size: 16px;
    font-weight: 500;
}

/* 2.2.1. Related products */

.related-product-item,
.related-product-item a {
    color: #fff;
    line-height: 1.25;
}
.related-product-item {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    width: 320px;
}
.related-product-item:hover,
.related-product-item:focus {
    background: #de0a28;
}

/*************** 3. WordPress pages ****************/

/**** 3.1. Post box ****/

.post-box-item:hover .post-box-image img {
    transform: scale(1.1);
}
.post-box-content {
    padding: 20px 0;
}
.post-box-content h3 a:hover,
.post-box-content h3 a:focus,
.post-box-item:hover .post-box-content h3 a,
.post-box-item:focus .post-box-content h3 a {
    color: var(--kickstarter-green);
}

/**** 3.2. Article ****/

.single article#main h1 {
    margin-top: 10px;
}
.article-content h4 {
    font-family: var(--kickstarter-font-secondary);
    color: var(--kickstarter-gray);
    font-weight: 700;
}
.article-content ul li,
.article-content ol li {
    padding: 15px 0;
}
.single-job .article-content ul li,
.single-job .article-content ol li {
    padding: 5px 0;
}
.article-featured-image {
    margin: 30px 0;
}
.article-share {
    font-size: 14px;
    font-weight: 500;
    font-family: var(--kickstarter-font-primary);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--kickstarter-green);
}
.article-share .eapps-social-share-buttons-position-left .eapps-social-share-buttons-container {
    transform: none;
}
.article-share .eapps-social-share-buttons-item-icon-container {
    top: 10px;
    padding: 0;
}
.article-share .eapps-social-share-buttons-text-hide .eapps-social-share-buttons-inner .eapps-social-share-buttons-item-icon-container {
    left: 50%;
    margin-left: -10px;
}
.article-share .eapps-social-share-buttons-bg-color-white .eapps-social-share-buttons-item::before,
.article-share .eapps-social-share-buttons-bg-color-on-hover-white .eapps-social-share-buttons-item::after {
    background: transparent;
}
.article-share .eapps-social-share-buttons-icon-color-black .eapps-social-share-buttons-item .eapps-social-share-buttons-item-icon,
.article-share .eapps-social-share-buttons-text-color-black .eapps-social-share-buttons-item .eapps-social-share-buttons-item-icon,
.article-share .eapps-social-share-buttons-icon-color-black .eapps-social-share-buttons-item .eapps-social-share-buttons-item-icon * {
    fill: var(--kickstarter-dark-blue);
}
.article-share .eapps-social-share-buttons-item-icon {
    width: 20px;
    height: 20px;
}

/**** 3.3. Zaposli se u Galenici ****/

.page-zaposli-se-u-galenici article#main {
    background: #F8F8F8;
}
.job-box-item .uk-grid-divider > :not(.uk-first-column)::before {
    border-color: #5f6567;
}
.job-meta {
    font-size: 14px;
    line-height: 1;
}
.page-prijava-na-oglas #pagetitle > div {
    min-height: 480px;
    padding: 40px 0 100px;
}
.page-prijava-na-oglas #pagetitle > div h3,
.page-prijava-na-oglas #pagetitle .job-meta {
    color: var(--kickstarter-green);
}
.page-prijava-na-oglas .rank-math-breadcrumb {
    padding: 0;
}
.page-prijava-na-oglas article {
    background: #f8f8f8;
    border-bottom: 1px solid var(--kickstarter-border);
    padding-bottom: 100px;
    padding-top: 60px;
}
.dropdown-trigger {
    padding-left: 30px;
    cursor: pointer;    
}
.flags-dropdown.uk-select {
    min-width: auto;
    height: 46px;
    overflow: auto;
    padding: 0;
    background: transparent !important;
    border: none !important;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    font-size: 0 !important;
}
.flags-dropdown.uk-select option {
    font-size: 14px;
}
.flags-dropdown .uk-nav li {
    cursor: pointer;
}
.flags-dropdown .uk-nav li {
    line-height: 1;
    padding: 8px 0 !important;
}
.custom-input-phone-number {
    height: 50px;
}
.custom-input-phone-number .uk-input {
    border: none;
    background: transparent;
}
.custom-input-phone-number .uk-divider-vertical {
    height: 100%;
    border-color: #ccc;
}
.hidden-file-field span {
    width: 100%;
    height: 100%;
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}
.page-prijava-na-oglas .wpcf7-not-valid-tip {
    position: absolute;
    right: 15px;
    top: 0;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--kickstarter-font-primary);
}
.page-prijava-na-oglas .custom-input-phone-number .wpcf7-not-valid-tip {
    top: 5px;
    right: -12px;
}