 /*
Theme Name: Elvas
Description: Elvas template, child of MustaTheme
Template: musta
Author: Label Brand Studio
Theme URI: http://www.elvas.pt/
Author URI: label.com.pt
Version: 1.0
Text Domain: elvas
Tags: left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, translation-ready
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

/**
 * MISC
 */
h1 { font-size: 2.571em; }
h2 { font-size: 2.286em; }
h3 { font-size: 1.714em; }
h4 { font-size: 1.286em; }
h5 { font-size: 1em; }
h6 { font-size: 0.857em; }

.fluid-image img {
    width: 100%;
}

.text-center {
    text-align: center;
}

.element-button::before {
    border: none !important;
}

.alpha-list ol {
    list-style-type: lower-alpha;
}

.element-tabs.no-icon .tab-header li .icon {
    display: none;
}

.element-contact-form .wpcf7-submit {
    max-width: 150px;
}

/**
 * HEADER
 */
.is-sticky-header,
.site-fixed-headbar .is-sticky-header,
.site-header {
    background: white;
    background: rgba(255, 255, 255, 0.8);
    border: none;
}

.site-brandingbar {
    padding: 20px 0;
}

.site-brandingbar .column {
    text-align: center;
}

.site-header-social-links li {
    line-height: 1.4;
    text-transform: uppercase;
}

.site-default-headbar .site-topbar-text,
.site-fixed-headbar-dark .site-topbar-text,
.site-topbar-text {
    color: #cb574e;
    text-transform: uppercase;
}

.site-default-headbar .site-topbar-one {
    background: #4b4b4b;
}

.site-default-headbar .site-topbar-three {
    background: white;
}

.is-sticky-header .site-branding .site-logo,
.site-fixed-headbar .is-sticky-header .site-branding .site-logo,
.site-branding .site-logo {
    width: auto !important;
    margin: 10px 0 !important;
}

.is-sticky-header,
.site-fixed-headbar .is-sticky-header,
.site-navbar {
    background: #cb574e !important;
}

.site-fixed-headbar-dark .site-header-menu ul.sf-menu > li > a {
    text-transform: uppercase;
}

.site-default-headbar .site-header-menu ul.sf-menu > li > a,
.site-default-headbar .site-header-menu ul.sf-menu > li.actived > a,
.site-default-headbar .site-header-menu ul.sf-menu > li.selected > a,
.site-default-headbar .site-header-menu ul.sf-menu > li > a:hover,
.is-sticky-header .site-header-menu ul.sf-menu > li.actived > a,
.is-sticky-header .site-header-menu ul.sf-menu > li.selected > a,
.is-sticky-header .site-header-menu ul.sf-menu > li > a:hover,
.site-fixed-headbar-dark .site-header-menu ul.sf-menu > li > a,
.site-header-menu ul.sf-menu > li.actived > a,
.site-header-menu ul.sf-menu > li.selected > a,
.site-header-menu ul.sf-menu > li > a:hover,
.site-fixed-headbar-dark .site-header-menu ul.sf-menu > li.actived > a,
.site-fixed-headbar-dark .site-header-menu ul.sf-menu > li.selected > a,
.site-fixed-headbar-dark .site-header-menu ul.sf-menu > li > a:hover {
    color: white !important;
    text-transform: uppercase;
}

.site-default-headbar .site-header-menu ul.sf-menu > li.actived > a::after,
.site-default-headbar .site-header-menu ul.sf-menu > li.selected > a::after,
.site-default-headbar .site-header-menu ul.sf-menu > li > a:hover::after,
.is-sticky-header .site-header-menu ul.sf-menu > li.actived > a::after,
.is-sticky-header .site-header-menu ul.sf-menu > li.selected > a::after,
.is-sticky-header .site-header-menu ul.sf-menu > li > a:hover::after,
.site-fixed-headbar-dark .site-header-menu ul.sf-menu > li.actived > a::after,
.site-fixed-headbar-dark .site-header-menu ul.sf-menu > li.selected > a::after,
.site-fixed-headbar-dark .site-header-menu ul.sf-menu > li > a:hover::after {
    background: white !important;
}

.muni-link {
    color: #cb574e;
    margin-right: 20px;
    text-transform: uppercase;
    font-size: 1.286em;
}

.today-date {
    font-size: 1em;
    color: black;
    text-transform: uppercase;
    text-align: right;
}

.today-weather {
    padding-top: 20px;
}

.today-weather .wp-forecast-curr-head {
    opacity: 0;
}

.today-weather div.wp-forecast-curr-right {
    font-size: 1em;
    font-weight: 400;
}

.site-header-social-links {
    margin-left: 0;
}

.unesco-logo img {
    display: block;
    margin: 0 auto;
}

.unesco-logo p {
    width: 100%;
}

.header-multisite-menu .widget_nav_menu {
    margin: 0 auto;
}

.header-multisite-menu .widget-title {
    display: none;
}

.header-multisite-menu ul li {
    display: inline-block;
    font-size: 1.429em;
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid black;
}

.header-multisite-menu li:first-child {
    display: none;
}

.header-multisite-menu li:last-child {
    border: none;
}

.header-multisite-menu li a {
    color: black;
}

.site-topbar .header-multisite-menu li {
    border: none;
    font-size: 1.143em;
}

.site-topbar .header-multisite-menu li a {
    color: white;
}

.site-header-menu ul.sf-menu li li a,
.site-header-menu ul.sf-menu li.mega-menu > ul.sub-menu li li a {
    padding: 0 10px;
}

.header-multisite-menu li.menu-item-home > a,
.header-multisite-menu li.current-menu-item > a,
.header-multisite-menu li.current_page_item > a,
.header-multisite-menu li.activated > a,
.header-multisite-menu li a:hover {
    border-bottom: 3px solid #cb574e;
}

.site-topbar .site-header-menu ul.sf-menu li li a:hover,
.site-topbar .header-multisite-menu li a:hover {
    border-bottom: 3px solid #cb574e;
}

.site-header-menu ul.sf-menu li li.current-menu-item > a,
.site-header-menu ul.sf-menu li li.current_page_item > a,
.site-header-menu ul.sf-menu li li.activated > a,
.site-header-menu ul.sf-menu li li a:hover {
    color: #cb574e;
    border-color: #cb574e;
}

.site-titlebar {
    padding: 60px 0 20px 0;
}

/**
 * LANDING PAGE
 */
.landingpage #content .container {
    padding: 0 !important;
}

.landingpage #page {
    padding-bottom: 0 !important;
}

.landingpage .site-fixed-footbar {
    z-index: 10;
}

/**
 * SIDEBAR
 */
.side-widgets li {
    list-style: none;
    padding: 5px 0;
}

.side-widgets li a {
    color: black;
    font-size: 1.286em;
    line-height: 1.2;
    text-transform: uppercase;
}

.site-mobile-navigation .current_page_ancestor > a,
.site-mobile-navigation .current_page_parent > a,
.site-mobile-navigation .current_page_item > a,
.site-mobile-navigation .actived > a,
.side-widgets li.activated > a,
.side-widgets li.current_page_ancestor > a,
.side-widgets li.current_page_parent > a,
.side-widgets li.current_page_item > a,
.side-widgets li a:hover {
    color: #cb574e;
}

/**
 * FOOTER
 */
.site-footer,
.site-footbar.site-footbar-one {
    background: #cb574e;
}

.site-footer-widgets .widget a,
.site-footer-widgets .widget_archive li a,
.site-footer-widgets .widget_meta li a,
.site-footer-widgets .widget_pages li a,
.site-footer-widgets .widget_categories li a,
.site-footer-widgets .widget_nav_menu li a {
    color: white;
}

.landingpage .site-footer-main {
    border: none;
}

.landingpage .site-footer-copyright {
    font-size: 0.857em;
    color: white;
}

.bottom-footer {
    padding: 40px 0;
}

.bottom-footer .default-logo {
    width: 100px;
    height: auto;
}

.bottom-footer .copyright {
    line-height: 1.2;
    padding: 10px;
}

.bottom-footer .partners {
    margin: 10px 0;
}

.site-footer-widgets .widget-column {
    padding: 0 35px;
    border-left: 1px solid white;
}

.site-footer-widgets .widget-column:first-child {
    border: none;
}

.site-footer-widgets .widget {
    color: white;
    font-size: 0.857em;
}

.site-footer-widgets .widget .widget-title {
    color: black;
    font-size: 1em;
    text-transform: uppercase;
}

.site-footer-widgets .widget p {
    margin-bottom: 0;
}

.site-footer-widgets .widget p.footer-title {
    font-size: 1em;
    color: black;
}

.site-footer-widgets .widget p.phone-number {
    font-size: 2.143em;
}

.site-footer-widgets .widget li a {
    font-size: 1em;
    text-transform: uppercase;
}

.site-footer-widgets .menu-footer-menu-2-container li a {
    font-size: 1.429em;
    font-weight: 300;
}

.site-footer-widgets .widget li.current-page-ancestor > a,
.site-footer-widgets .widget li.menu-item-home > a,
.site-footer-widgets .widget li.current-menu-item > a,
.site-footer-widgets .widget li.current_page_item > a,
.site-footer-widgets .widget li.activated > a,
.site-footer-widgets .widget a:hover,
.site-footer-widgets .widget_archive li a:hover,
.site-footer-widgets .widget_meta li a:hover,
.site-footer-widgets .widget_pages li a:hover,
.site-footer-widgets .widget_categories li a:hover,
.site-footer-widgets .widget_nav_menu li a:hover {
    color: white;
    font-weight: bold;
}

.site-footer-widgets .widget .footer-btn {
    background: none;
    color: white;
    border: 1px solid white;
    padding: 5px 20px;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;

    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.site-footer-widgets .widget .footer-btn:hover {
    background: white;
    color: #cb574e;
}

/**
 * 404
 */
.error404 .error-wrapper .number-wrapper {
    background: #cb574e;
}

.error404 .error-wrapper .not-found,
.error404 .error-wrapper .text a {
    color: #cb574e;
}

/**
 * SINGLE
 */
.single-project .related-project {
    margin: 50px 0;
}

.site-titlebar .titlebar-in {
    max-width: 100%;
}

/**
 * PROJECT LIST
 */
.project-list-grid .list .item-in {
    height: 100%;
}

.project-list-grid .list .item {
    padding: 0;
    margin: 30px 30px 0px 30px;
}

.project-list-grid.nomargin-grid .list .item {
    margin: 30px 0 0 0;
}

/**
 * EVENTS
 */
.eo-event-board-more,
.eo-event-board,
.event {
    padding: 40px 0;
}

.event h2,
.event p {
    margin-bottom: 0;
}

.date-time,
.title-local {
    display: inline-block;
}

.date-time {
    margin-right: 20px;
}

.event-meta-header {
    margin-bottom: 20px;
    line-height: 1;
}

.event-meta-header .day {
    font-size: 2.286em;
    font-weight: 700;
    text-transform: lowercase;
}

.event-meta-header .time {
    font-size: 2.000em;
    font-weight: 300;
}

.event-meta-header .day,
.title-local h2 {
    color: black;
}

.title-local {
    line-height: 1.6;
}

.eo-event-board-more {
    margin-top: 40px 0 !important;
    background: white !important;
}

.eo-eb-filter {
    color: #cb574e !important;
    background: #f4f4f4 !important;
    padding: 5px 20px !important;
}

.eo-eb-filter-on {
    background: #cb574e !important;
    color: white !important;
}

.eo-event-board-items .eo-eb-event-meta,
.eo-event-board-filters .eo-eb-filter-category-0 {
    display: none !important;
}

.eo-event-board-items .eo-eb-event-box {
    padding: 20px !important;
    opacity: 1;
    font-size: 1em;
    line-height: 1.4;
    width: 300px !important;
}

.eo-event-board-items .eo-eb-event-title a {
    font-size: 1.714em !important;
    line-height: 1 !important;
}

.eo-event-board-items .eo-eb-date-container {
    margin-left: 10px;
}

.eo-eb-date-month {
    background: #cb574e !important;
    color: white !important;
}

.eo-eb-date-day {
    background: #cc8d88 !important;
    color: white !important;
}

.eo-event-board-items img {
    margin: 20px auto !important;
}

.single-post .related-posts {
    padding: 0 80px;
}

.related-project .list.row > .item {
    padding: 0 15px;
    margin-top: 20px;
    text-align: center;
}

.related-project .list .item-in .featimg img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: transform 0.35s ease;
    transition: transform 0.35s ease;
}

.related-project .list .item-in:hover .featimg img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.related-project .list .foottext {
    margin-top: 20px;
}

.related-project .list .item-title {
    font-size: 18px;
    line-height: 1.4;
}

/**
 * FAQ'S
 */
.element-accordion-tab .tab-content,
.element-accordion-tab .tab-header:hover,
.element-accordion-tab .tab-header {
    background: white;
}

.element-accordion-tab .tab-header .tab-title {
    font-size: 1.250em;
    line-height: 1.2;
}

/**
 * Icons
 */
.element-icon-items .item {
    padding: 0;
}

.element-icon-items .icon-item-in .icon {
    display: block;
}


@media screen and (max-width: 1024px) {

    .secondary-wrapper-left {
        display: none;
    }

    .primary-wrapper-offset-left {
        margin-top: 0;
    }

    .single-post .related-posts {
        padding: 0 30px;
    }

}

@media screen and (max-width: 768px) {

    .site-footer-widgets .widget-column {
        border: none;
    }

    .kc-row-container.container {
        padding: 0;
    }

    .post-filter-terms ul li a {
        height: auto;
        line-height: 1;
    }

    .project-list-grid .list .item {
        margin: 30px 0px;
    }

}