/*

Theme Name: X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

/*
 * ICON OVERRIDES
 */

/* Header and Navigation */
.x-brand {
    margin-top: 14px;
    margin-bottom: 7px;
    float: none;
}

.x-brand,
.x-nav-wrap.desktop,
.x-nav-wrap.mobile {
    margin-left: auto;
    margin-right: auto;
}

.masthead-inline .desktop .x-nav {
    margin-left: calc( -0.6em - 4px );
    float: none;
}

.x-navbar-static-active .x-navbar .desktop .x-nav>li>a>span,
.x-navbar-fixed-top-active .x-navbar .desktop .x-nav>li>a>span {
    margin-top: 0;
}

.x-navbar .desktop .x-nav>li>a>span,
.x-navbar .desktop .x-nav>.x-active>a>span,
.x-navbar .desktop .x-nav>.current-menu-item>a>span,
.x-navbar .desktop .x-nav>li>a:hover>span {
    border: none;
}

.x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) {
    padding-right: 0 !important;
}

.x-navbar .desktop .x-nav>li>a>span {
    padding-left: 0.6em;
    padding-right: 0.6em;
}

.x-navbar .desktop .x-nav > li > a > span {
    padding-right: calc(0.6em - 0.083em) !important;
}

.masthead-inline .x-navbar .desktop .sub-menu {
    left: 0;
    right: auto;
}

.desktop .sub-menu {
    font-size: 15px;
}

.desktop .sub-menu a {
    padding-left: calc(5px + 0.6em);
    padding-right: calc(5px + 0.6em);
}

/* Page */
.hentry .entry-wrap,
.search-results .x-container>.product .entry-wrap {
    padding-top: 0;
}

.entry-content .x-container.hero img {
    max-width: none;
    width: 100%;
}

.x-navbar .x-container.max.width,
.x-breadcrumb-wrap .x-container.max.width,
.entry-content .x-container.max.width:not(.hero) {
    padding-left: 2.9vw !important;
    padding-right: 2.9vw !important;
}

@media (max-width: 767px) {
    .x-breadcrumb-wrap .x-container.max.width,
    .entry-content .x-container.max.width:not(.hero) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Sidebar */
.x-sidebar .max.width {
    padding-bottom: 60px;
}

/* Typography */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a {
    color: #aa337a !important;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
.h1 a:hover, .h2 a:hover, .h3 a:hover, .h4 a:hover, .h5 a:hover, .h6 a:hover{
    color: #272727 !important;
}

/*
 * DESIGN ELEMENTS
 */

.over-image {
    padding: 5% !important;
    box-shadow: 12px 4px 18px rgba(0,0,0,0.4);
    border-radius: 0 46px;
    background-color: #fff;
    width: 50% !important;
    position: relative;
}

.image-under {
    position: absolute;
    float: right;
    margin-right: 0;
    top: -25%;
    right: -5%;
    width: 60% !important;
}

.pattern-bg {
    background-position: 0 0;
    box-shadow: inset  0  8px 8px -8px #000, inset  0 -8px 8px -8px #000;
}

.entry-content .x-container.max.width.icon-interlude {
    position: relative;
    top: -45px;
    width: 120px;
    height: 60px;
    padding: 15px !important;
    margin: 0 auto !important;
    background-color: #ffffff;
    border-radius: 0 0 60px 60px;
    box-shadow: 0px 5px 10px -2.5px rgba(0,0,0,0.7);
}
.entry-content .x-container.max.width.icon-interlude .x-column {
    margin-top: -60px;
}

.icon-interlude .x-img {
    margin-bottom: 0;
}

.x-sidebar .max.width {
    padding-top: 90px;
}

.x-sidebar .widget .image_container {
    text-align: center;
    padding-bottom: 1.5em;
}


/*
 * Utility
*/

/* Paragraph emphasis */
p.emphasis, .emphasis p,
.emphasis-first > p:first-child {
    font-size: 125%;
    line-height: 1.4;
    font-style: italic;
    margin-bottom: 1em;
}