/*

Theme Name: X &ndash; robro
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Child theme of X, flavored with robro.
Version: 1.0.0
Template: x

*/



/* * * * * * * * * * * * */
/* rotate logo on hover  */
/* * * * * * * * * * * * */

/*
header .x-brand img {
    transition: transform 0.5s ease-in-out !important;
    transform-origin: 47.5% 47.5%;
}
header .x-brand:hover img {
    transform: rotate(360deg);
}
header .x-brand.img:before {
    content: '';
    display: block;
    background: #1DFFDB;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    position: absolute;
    top: 10px;
    left: 3px;
    z-index: -1;
}
*/



/* * * * * * * * * * * * * */
/* Small header on scroll  */
/* * * * * * * * * * * * * */

header .x-brand,
header .x-brand img,
header .x-navbar .desktop .x-nav > li > a,
header .x-navbar-inner,
header .x-navbar .desktop .x-nav > li > a:hover > span, 
header .x-navbar .desktop .x-nav > li.x-active > a > span, 
header .x-navbar .desktop .x-nav > li.current-menu-item > a > span {
    -webkit-transition: all 0.3s ease-out;
    -webkit-transition-property: height, margin, padding;
    transition: all 0.3s ease-out;
    transition-property: height, margin, padding;
}

header.small .x-brand {
    margin-top: 0;
}
header.small .x-brand img {
    width: 50px;
    margin-bottom: -21px;
}
header.small .x-navbar .desktop .x-nav > li > a {
    height: 35px;
    padding-top: 10px;
}
header.small .x-navbar-inner {
    min-height: 35px;
}
header.small .x-navbar .desktop .x-nav > li > a:hover > span, 
header.small .x-navbar .desktop .x-nav > li.x-active > a > span, 
header.small .x-navbar .desktop .x-nav > li.current-menu-item > a > span {
    box-shadow: 0 4px 0 0 hsl(172,100%,42%);
}



/* * * * * * * * * * * * * * * * * */
/* remove text shadow from buttons */
/* * * * * * * * * * * * * * * * * */

.x-btn, .button, [type="submit"] {
    text-shadow: none !important;
    font-weight: bold;
}



/* * * * * * * */
/* mobile menu */
/* * * * * * * */

.x-navbar .mobile .x-nav>li.menu-item,
.x-navbar .mobile .x-nav>li.x-menu-item-search {
    display: inline-block;
}
.x-navbar .mobile .x-nav li>a {
    border: none !important;
    background: white;
    margin: 0 0 11px 11px;
    padding: 1.05em 1.35em;
}

.x-navbar .mobile .x-nav {
    text-align: right;
}

.x-btn-navbar {
    box-shadow: none;
}



/* * * * * * * * * * */
/* portfolio sidebar */
/* * * * * * * * * * */

.x-portfolio .entry-extra {
    border: none; 
    font-size: inherit; 
    background: #FAFAFA;
}

/* * * * * * */
/* portfolio */
/* * * * * * */

.entry-featured {
    border: none;
    padding: 0;
}


/* * * * * * * * * * * * * */
/* sub-header, breadcrumbs */
/* * * * * * * * * * * * * */

.x-header-landmark {
    padding: 1rem 0;
    border: none;
    background: #FCFCFC;
}

.h-landmark {
    display: none;
}

.x-breadcrumbs {
    font-size: 1.2rem;
}

/* replace icon with text */
.x-breadcrumbs span.home i { display: none; }
.x-breadcrumbs span.home:after { content: 'Home'; }


/* * * * * * * * * * * * * */
/* home: "what i do" cards */
/* * * * * * * * * * * * * */

/* don't show pointer, if one cannot click the card, just the button*/
.x-card-outer {
    cursor: default;
}
/* expand button hitarea to full card */
.x-face-button::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
