/*
Theme Name: Maatwerk Online
Theme URI: https://www.maatwerkonline.nl
Version: 1.0.0
Author: Maatwerk Online
Author URI: https://www.maatwerkonline.nl/contact/
Description: This Theme is designed and developed by Maatwerk Online
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maatwerkonline
Domain Path: /languages
*/

/* Make fonts cleaner on the site */

* {
    -webkit-font-smoothing: antialiased;
}

/* Removes margin from last paragraph child */

p:last-child {
    margin-block-end: 0px !important;
}

p {
    margin-block-start: 0px;
}

p a {
    color: var(--wp--preset--color--primary);
}

h1,h2,h3,h4,h5,h6 {
    margin-block-start: 0px;
}

/* makes content not overflow */

main {
    overflow: hidden;
}

/* Adjustment for core/list-item block */

.wp-block-list li:last-child{
    margin-bottom: 0px !important;
}

.wp-block-button__link{
    display: inline!important;
}

/* show images correctly on the site */

img, .wp-block-image img {
    max-width: 100%;
    height: auto;
    vertical-align: middle !important;
    border: 0;
}

/* Change header */

.site-header {
    position: relative;
    z-index: 1000;
}

.main-menu {
    background-color: #fff;
}

.main-menu.main-menu--sticky {
    position: fixed;
    top: 0px;
    width: 100%;
}

main.main-menu--sticky {
    margin-top: 83px !important;
}

.gw-mm-item__dropdown-content .wp-block-navigation-item  {
    margin-bottom: 0px !important;
}

@media only screen and (max-width: 1140px) {
    .main-menu {
        padding: 20px 20px !important;
    }

    .main-menu-to-bar {
        padding: 0px 20px !important;
    }

    .main-menu-left-column {
        flex-basis: 40% !important;
    }

    .main-menu-columns {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .right-column-menu {
        align-items: center;
    }

    .right-column-menu .gw-mm__toggle {
        margin-top: 10px;
    }
}

.header__contact-information img {
    margin-right: 7px;
}

.site-header .main-menu a {
    color: #001b2f;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition:    all .3s ease-in-out;
    -o-transition:      all .3s ease-in-out;
    -ms-transition:     all .3s ease-in-out;
    transition:         all .3s ease-in-out;
}

.site-header .main-menu a:hover {
    color: var(--wp--preset--color--tertiary);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition:    all .3s ease-in-out;
    -o-transition:      all .3s ease-in-out;
    -ms-transition:     all .3s ease-in-out;
    transition:         all .3s ease-in-out;
}

/* Avatar correction for blog page */

.wp-block-avatar img {
    height: 50px;
    object-fit: cover;
}

/* adjustments for overview blog */

.post_overview-cta-label {
    display: inline;
    padding: 5px 5px !important;
    border-radius: 5px;
}

/* Make font size of blogs 14px by default */

.single-post .wp-block-post-content {
    font-size: 14px;
}

.single-post .wp-block-post-content h2 {
    font-size: 18px !important;
}

.single-post .wp-block-post-content h3 {
    font-size: 16px !important;
}

/* Remove spacing causes by p from form */

.gform_footer p,
.gform_footer br  
{
    display: none !important;
}

.shortcode-form p {
    display: none !important;
}

/* Fix foor Bootstrap blocks */

.editor-styles-wrapper *, .editor-styles-wrapper *::before, .editor-styles-wrapper *::after {
    box-sizing: border-box;
}

/* Column direction changes */

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

    .wp-block-columns {
        padding: 0px 15px;
    }

}

/* Adjustment for banner on course overview pages */

.lean-courses__banner {
    padding: 100px 0px;
}

/* Sticky Mobile CTA  */

.sticky-bottom-cta {
    padding-bottom: 15px;
    padding-top: 15px;
    z-index: 1000000;
    position: fixed;
    bottom: 0px;
    width: 100%;
}

/* Sinlge course related blogs */

.related-blogs-course-page figure {
    position: relative;
}

.related-blogs-course-page figure img {
    filter: sepia(1) hue-rotate(160deg);
}

.related-blogs-course-page figure::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0075FF;
    opacity: .3;
}

.current-menu-item {
    color: #0075FF;
}

/* Overflow hidden website */

.wp-site-blocks {
    overflow-x: hidden;
}

/* Improvements IC form */

.clsSelectInputAllDate{
    width: 100%;
    padding: 10px;
}

.cuscourse_alldate{
    display: block;
    padding-top: 15px;
}

.ui-datepicker .ui-datepicker-prev span {
    background-position: 96px 0!important;
    padding-right: 10px;
}

.ui-icon-circle-triangle-e {
    background-position: 96px 0!important;
}

.ui-datepicker .ui-datepicker-header {
    font-size: 22px;
}

.ui-datepicker .ui-datepicker-header {
    font-size: 22px!important;
}

.ui-datepicker table {
    font-size: 16px;
}