/*
Theme Name: Automento Theme
Theme URI: https://automento.eu
Author: gopher
Author URI: https://automento.eu
Description: Theme for automento.eu
Version: 1.0
License: MIT
License URI: https://opensource.org/license/mit
Text Domain: automento-theme
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: rgb(15, 15, 15);
    background-color: #07092f;
}
#wpadminbar {
    display: none;
}
.container {
    background-color: #fff;
}
nav {
    position: fixed;
    width: 100%;
    background-color: #07092f;
    z-index: 1000;
    top: 0;
}
nav a {
    color: white;
    text-decoration: none;
}
nav a:hover {
    text-decoration: underline;
}
.clear {
    clear: both;
    line-height: 0;
}

.nav-contact {
    float: left;
}
.nav-contact a {
    display: block;
    padding: 1em;
}

.nav-menu {
    float: right;
}
/*
.menu {
    display: none;
}
*/
h1, .content, footer {
    max-width: 1200px;
    margin: 0 auto;
}
h1 > span {
    font-weight: normal;
    font-size: 1.5em;
    color: #111;
    display: block;
    padding: 2.2em 1em 1em 1em;
}

.content a {
    text-decoration: none;
    color: #00a917;
}
.content a:hover {
    text-decoration: underline;
}
.cards {
    padding-top: 1.5em;
}
.cards h2 {
    text-align: center;
    padding: 1em 1em 0 1em;
    margin: 0;
}
.cards i {
    font-size: 4em;
    color: #555;
    display: block;
    margin: 0 auto;
}
.cards p {
    margin: 0;
}

footer {
    padding: 2em;
}
.wp-block-columns {
    margin: 2em 0;
}
p, h2, h3, h4 {
    margin: 1em;
}
hr.wp-block-separator {
    border-color: #ccc;
}

.hamburger-menu {
    display: block;
    float: right;
    padding: 0.75em 0.5em;
}
.hamburger-menu i {
    color: #fff;
    font-size: 1.5em;
}
.hamburger-menu-content {
    display: none;
    padding-bottom: 15px;
}
/** only mobile **/
@media screen and (max-width: 48em) {
    .hamburger-menu-content {
        float: right;
        position: absolute;
        left: 0;
        width: 100%;
        text-align: right;
        background: #07092f;
        padding: 0;
    }
    .hamburger-menu-content ul, .hamburger-menu-content li {
        width: 100%;
    }
    .hamburger-menu-content li {
        padding: 1em;
    }
}

.is-mobile {
    display: block;
}

@media screen and (min-width: 783px) {
    .is-mobile {
        display: none;
    }
    .hamburger-menu {
        display: none;
    }
    .hamburger-menu-content {
        display: block;
        padding: 1em;
    }
    .hamburger-menu-content ul {
        display: inline-block;
    }
    .hamburger-menu-content li {
        display: inline-block;
        padding: 0 2em;
        border-left: 1px solid #fff;
    }
    .hamburger-menu-content li:last-child {
        padding-right: 1em;
    }
    .hamburger-menu-content li:first-child {
        border-left: none;
    }

}

/*** featured slider ***/

#featured_slider  {
    height: 333px;
    position: relative;
    overflow: hidden;
}
#featured_slider .current, #featured_slider .next {
    position: absolute;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    cursor: default; /* pointer */
}
#featured_slider .next {
    display: none;
}
#featured_slider .link {
    text-decoration: none;
    cursor: default; /* pointer */
}
#featured_slider h1 {
    font-weight: normal;
    display: inline-block;
    margin: 150px 0 0 25px;
    font-family: UrwDemi, sans-serif;
    font-size: 22px;
    line-height: 25px;
    color: #fff;
    background: #000;
    padding: 0 10px;
}
#featured_slider .excerpt {
    display: inline-block;
    margin: 0 0 0 25px;
    font-family: UrwBook, sans-serif;
    font-size: 14px;
    line-height: 14px;
    color: #c8ff87;
    background: #000;
    padding: 3px 10px 6px 10px;
    max-width: 50%;
}
#featured_slider .pager {
    position: absolute;
    width: 100%;
    height: 32px;
    bottom: 0;
    text-align: center;
}
#featured_slider .page {
    display: inline-block;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    background-color: #fff;
    margin: 3px 6px;
    cursor: pointer;
}
#featured_slider .active {
    width: 18px;
    height: 18px;
    margin: 0 3px;
    background-color: transparent;
    border: 3px solid #fff;
    cursor: default;
}
#featured_slider .loader {
    position: absolute;
}
/** only mobile **/
@media screen and (max-width: 48em) {
    #featured_slider {
        height: 233px;
    }
    #featured_slider h1 {
        margin: 75px 0 0 0;
        font-size: 16px;
        line-height: 28px;
    }
    #featured_slider .excerpt {
        display: inline-block;
        font-size: 12px;
        line-height: 22px;
        margin: 0;
        max-width: 75%;
        padding: 0 10px 3px 10px;
    }
}

#featured_slider h1, #featured_slider .excerpt {
    display: none;
}