/*
 Theme Name: Culler de Pau
 Theme URI: https://www.cullerdepau.com
 Description: Custom theme for Culler de Pau website
 Author: Imaxina Novas Tecnoloxías
 Author URI: https://www.e-imaxina.com
 Template: twentyseventeen
 Version: 1.0.0
 Text Domain: twentyseventeen
*/

@import url(https://fonts.googleapis.com/css?family=Titillium+Web:200,400,600,700);
@import url(https://fonts.googleapis.com/css?family=Amatic+SC:400,700);

/* ==========================================================================
    Culler de Pau - custom icons font
   ========================================================================== */

@font-face {
    font-family: 'cullerdepau';
    src:url('assets/fonts/cullerdepau.eot?-9x5thi');
    src:url('assets/fonts/cullerdepau.eot?#iefix-9x5thi') format('embedded-opentype'),
    url('assets/fonts/cullerdepau.woff?-9x5thi') format('woff'),
    url('assets/fonts/cullerdepau.ttf?-9x5thi') format('truetype'),
    url('assets/fonts/cullerdepau.svg?-9x5thi#cullerdepau') format('svg');
    font-weight: normal;
    font-style: normal;
}

.icon {
    font-family: 'cullerdepau', sans-serif !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-youtube:before {
    content: "\e900";
}
.icon-facebook:before {
    content: "\e600";
}
.icon-twitter:before {
    content: "\e601";
}

/* ==========================================================================
    Variables
   ========================================================================== */

:root {
    --white: #FFF;
    --content: #333;
    --primary: #C39B5E;
    --dark: #000;
    --font-family-sans-serif: 'Titillium Web', sans-serif;
}

/* ==========================================================================
    Reset some parent theme styles
   ========================================================================== */

.wrap {
    max-width: 1170px !important;
    padding: 0 15px !important;
}

.entry-content a:focus, .entry-content a:hover, .entry-summary a:focus, .entry-summary a:hover, .widget a:focus, .widget a:hover, .site-footer .widget-area a:focus, .site-footer .widget-area a:hover, .posts-navigation a:focus, .posts-navigation a:hover, .comment-metadata a:focus, .comment-metadata a:hover, .comment-metadata a.comment-edit-link:focus, .comment-metadata a.comment-edit-link:hover, .comment-reply-link:focus, .comment-reply-link:hover, .widget_authors a:focus strong, .widget_authors a:hover strong, .entry-title a:focus, .entry-title a:hover, .entry-meta a:focus, .entry-meta a:hover, .page-links a:focus .page-number, .page-links a:hover .page-number, .entry-footer a:focus, .entry-footer a:hover, .entry-footer .cat-links a:focus, .entry-footer .cat-links a:hover, .entry-footer .tags-links a:focus, .entry-footer .tags-links a:hover, .post-navigation a:focus, .post-navigation a:hover, .pagination a:not(.prev):not(.next):focus, .pagination a:not(.prev):not(.next):hover, .comments-pagination a:not(.prev):not(.next):focus, .comments-pagination a:not(.prev):not(.next):hover, .logged-in-as a:focus, .logged-in-as a:hover, a:focus .nav-title, a:hover .nav-title, .edit-link a:focus, .edit-link a:hover, .site-info a:focus, .site-info a:hover, .widget .widget-title a:focus, .widget .widget-title a:hover, .widget ul li a:focus, .widget ul li a:hover {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.entry-content a, .entry-summary a, .widget a, .site-footer .widget-area a, .posts-navigation a, .widget_authors a strong {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.single-post:not(.has-sidebar) #primary, .page.page-one-column:not(.twentyseventeen-front-page) #primary, .archive.page-one-column:not(.has-sidebar) .page-header, .archive.page-one-column:not(.has-sidebar) #primary {
    max-width: none;
}

.page.home #content {
    padding: 5.5em 0 0;
}

.page:not(.home) #content {
    padding: 10em 0 0;
}

/** Fix visual composer parallax */
.vc_parallax .vc_parallax-inner {
    background-attachment: fixed !important;
}

/** Missing select styles **/
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, select {
    color: #666;
    background: #fff;
    background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    border: 1px solid #bbb;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    display: block;
    padding: 0.7em;
    width: 100%;
}

/* ==========================================================================
    Core
   ========================================================================== */

body {
    font-family: var(--font-family-sans-serif);
    color: var(--content);
}

p {
    margin-bottom: 10px;
}

address {
    margin-bottom: 10px;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a.read-more {
    font-family: 'Amatic SC', cursive;
    color: #C39B5E;
    margin-bottom: 15px;
    font-size: 3em;
}

a:hover {
    text-decoration: underline;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.amatic-sc {
    font-family: 'Amatic SC', cursive;
    color: #C39B5E;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1em;
    padding-top: 0;
}

h1.amatic-sc { font-size: 6em; }
h2.amatic-sc { font-size: 6em; }
h3.amatic-sc { font-size: 5em; }
h4.amatic-sc { font-size: 4em; }
h5.amatic-sc { font-size: 2em; }
h6.amatic-sc { font-size: 1.5em; }

/* ===============s===========================================================
    Header
   ========================================================================== */
.page:not(.home) .custom-header {
    display: none;
}

.menu-scroll-down {
    display: none !important;
}

/** Remove background color **/
header.site-header {
    background: transparent;
}

.custom-logo-link img {
    max-height: 64px !important;
}

/** Hide Site-branding **/
.has-header-image.twentyseventeen-front-page .site-branding, .has-header-video.twentyseventeen-front-page .site-branding, .has-header-image.home.blog .site-branding, .has-header-video.home.blog .site-branding {
    display: none;
}

/** Remove custom-header shadow **/
.custom-header-media:before {
    display: none;
}

.navigation-top {
    width: 100%;
    position: fixed;
    z-index: 1002 !important;
    bottom: auto;
    top: 0;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.admin-bar .navigation-top {
    top: 32px;
}

.navigation-top.site-navigation-fixed {
    background: var(--white) !important;
}

.page.home .navigation-top {
    background: transparent;
    border: none;
}

.navigation-top .main-navigation a {
    font-family: "Amatic SC", Helvetica, Arial, sans-serif;
    font-size: 1.7em;
    padding: 5px 10px;
}

.navigation-top .main-navigation a.custom-logo-link {
    padding: 10px;
}

.navigation-top .main-navigation ul li:hover > ul,
.navigation-top .main-navigation ul li.focus > ul {
    left: auto;
    right: 0.5em;
}

.navigation-top .main-navigation ul ul a {
    width: auto;
    min-width: 100px;
}

/** Everything in header is inline-block but .menu-toggle **/
.navigation-top .main-navigation > *:not(.menu-toggle) {
    display: inline-block;
    vertical-align: middle;
}

.navigation-top .main-navigation ul.social-networks a {
    padding: 5px;
}

/** Fix social-networks icons **/
.navigation-top ul.social-networks .icon {
    display: block !important;
}

/* ==========================================================================
    Footer
   ========================================================================== */

.site-footer {
    margin-top: 0;
}

.site-footer .site-info {
    text-align: center;
    width: 100%;
}

.site-footer .site-info a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.site-footer .site-info .icon {
    font-size: 3em;
    margin: 15px;
}

/* ==========================================================================
    Content
   ========================================================================== */

/** Hide entry-header on pages */
.page .entry-header {
    display: none;
}

/* ==========================================================================
    Responsive
   ========================================================================== */

/* Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { }
/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .navigation-top,
    .page.home .navigation-top {
        background: var(--white);
    }

    .admin-bar .navigation-top {
        top: 46px;
    }

    .navigation-top .main-navigation > * {
        display: inline-block;
    }

    .navigation-top .main-navigation > div {
        display: block !important;
    }

    .navigation-top .main-navigation > .social-networks {
        display: none;
    }


    .navigation-top .main-navigation.toggled-on > .social-networks {
        display: block;
        text-align: center;
    }

    .navigation-top .main-navigation > .social-networks li {
        display: inline-block;
        margin: 0 15px;
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .navigation-top .main-navigation > .custom-logo-link {
        display: none;
    }
}
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .navigation-top .main-navigation > .custom-logo-link {
        display: inline-block;
    }
}
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {}