/*
Theme Name: Castella Child
Theme URI: https://castella.qodeinteractive.com
Description: A child theme of Castella
Author: Mikado Themes (edited by 01DEV srl)
Author URI: https://qodeinteractive.com
Version: 1.0.2
Text Domain: castella
Template: castella
*/

.qodef-h1, h1 {
    word-wrap: normal;
}

.qodef-h2, h2 {
    word-wrap: normal;
}

.qodef-h3, h3 {
    word-wrap: normal;
}

.qodef-h4, h4 {
    word-wrap: normal;
}

.qodef-h5, h5 {
    word-wrap: normal;
}

.qodef-h6, h6 {
    word-wrap: normal;
}

#qodef-page-header-inner {
    padding: 0 30px;
}

.qodef-header--standard #qodef-page-header-inner {
    border-bottom-color: #bdc3c7 !important;   
}

.qodef-header-navigation>ul>li>a:before {
    background-color: #bdc3c7;
}

#qodef-side-area {
    border-left-color: #bdc3c7;
}

.qodef-accordion.qodef-layout--simple .qodef-accordion-content p {
    margin: 0 0 10px 0;
}

.qodef-accordion.qodef-layout--simple .qodef-accordion-content p:last-child {
    margin: 0;
}

#qodef-back-to-top.qodef--predefined .qodef-back-to-top-icon .qodef--bg:before {
    border-color: #00b7bd;
    background: #00b7bd;
}

#qodef-back-to-top.qodef--predefined .qodef-back-to-top-icon svg {
    stroke: #ffffff;
}

.qodef-section-title .qodef-m-subtitle {
    font-size: 16px;
}

/* Buttons */

.qodef-button.qodef-layout--outlined {
    border-color: #00b7bd;
}

/* Social Icons */

.widget.widget_castella_core_social_icons_group .qodef-icon-holder.qodef-layout--normal a .qodef-icon,
.widget.widget_castella_core_social_icons_group .qodef-icon-holder.qodef-layout--normal a .qodef-icon:before {
    position: relative !important;
    z-index: 100;
    color: #ffffff;
}

.widget.widget_castella_core_social_icons_group .qodef-icon-holder.qodef-layout--normal a .qodef-icon:after {
    border-color: #00b7bd;
    background: #00b7bd;
}

/* Timeline */

.qodef-process .qodef-e-line-holder .qodef-e-point {
    border-color: #00b7bd;
    background-color: #00b7bd;
}

.qodef-process .qodef-e-line .qodef-e-line-inner {
    border-color: #bdc3c7;
}

/* Events page vertical slider */

.qodef-vertical-split-slider {
    height: calc(100vh - 98px);
}

/* Icon + Text */

.qodef-icon-with-text .qodef-m-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Timeline */

.qodef-process .qodef-e-title {
    display: grid;
	align-items: center;
}

.wpcf7-submit {
    color: #ffffff !important;
    border-color: #00b7bd !important;
    background-color: #00b7bd !important;
}

.wpcf7-submit .qodef-m-diamond {
    display: none !important;
}

#multiscroll-nav.right {
    right: 20px !important;
}

/* Side Area button */

.qodef-opener-icon.qodef-source--predefined .qodef-m-diamond {
    background-color: #00b7bd !important;
}

.widget .qodef-side-area-opener.qodef-source--predefined:hover {
    color: #00b7bd !important;
}

/* MOBILE CUSTOM */

@media screen and (max-width: 1199px) {
    #qodef-page-mobile-header-inner {
        padding: 0 25px;
    }
    #qodef-back-to-top {
        right: 30px !important;
        bottom: 30px !important;
    }
}

@media only screen and (max-width: 991px) {
    h2, .qodef-h2 {
        font-size: 40px !important;
    }
}

@media only screen and (max-width: 767px) {
    h2, .qodef-h2 {
        font-size: 36px !important;
    }
}

@media screen and (max-width: 576px) {
    .qodef-h1, h1 {
        font-size: 40px !important;
    }
    h2, .qodef-h2 {
        font-size: 32px !important;
    }
    .qodef-h3, h3 {
        font-size: 30px !important;
    }
    .qodef-h5, h5 {
        font-size: 24px !important;
    }
    .qodef-section-title .qodef-m-subtitle {
        font-size: 14px;
    }
    #qodef-page-mobile-header-inner {
        padding: 0 20px;
    }
    #qodef-back-to-top {
        right: 20px !important;
        bottom: 20px !important;
        width: 40px !important;
        height: 40px !important;
    }
}