<?php 
    $edumodo_secondary_color = get_theme_mod('secondary_color', '#242c5e');
    
    $edumodo_secondarycolor_color_selector = [
        '.edumodo-course-1 article.tx-course figure a:after', '.single-course .i-am-single-course-header-row .edumodo-sensi-course-header .header-meta-wrapper .single-course-enroll-and-send-message-wrapper a.button:hover',  '.enter-related-course .edumodo-related-course-1 article.tx-course figure a:after', '.edumodo-notice-1 article.notice figure a:after',  
    ];
    $edumodo_secondarycolor_background_selector = [
        '.mc4wp-form-fields input[type="button"]:hover, .mc4wp-form-fields input[type="reset"]:hover, .mc4wp-form-fields input[type="submit"]:hover,button:hover, input[type="button"]:hover, input[type="reset"]:hover', '.btn:hover', '.btn:hover, .btn:focus, .btn.focus', '.enter-related-course .edumodo-related-course-1 article.tx-course figure a:before, .edumodo-course-1 article.tx-course figure a:before', '.course-teacher-carousel .owl-nav .owl-prev:hover, .content-list .owl-nav .owl-next:hover', '.teacher-2 .teacher-container .teacher-block .teacher-image:before', '#course-curriculum-popup #popup-main #popup-header .popup-close:hover, #course-curriculum-popup #popup-main #popup-header .sidebar-hide-btn:hover, #course-curriculum-popup #popup-main #popup-header .sidebar-show-btn:hover', '.lpcourse-course-wapper-3 .lp-related-course .lp-course-1 .lp-course-thumbnail a:before, .lp-course3-heading:before, #learn-press-course-curriculum .course-item .item-status.item-status-completed, #learn-press-course-curriculum .course-item .item-status.item-status-passed', '.lp-single-course .course-top .course-info .learn-press-course-buttons .purchase-course button.button.purchase-button:hover, .lp-single-course .course-top .course-info .learn-press-course-buttons .purchase-course button.button.enroll-button:hover', '.edumodo-from ul.wpuf-form .wpuf-submit input[type=submit]:hover, .edumodo-from ul.wpuf-form .wpuf-submit input[type=submit]:focus, .edumodo-from ul.wpuf-form .wpuf-submit input[type=submit].focus', '.edumodo-header-2 .login-reg .register:hover', '.i-override-default-template a.tribe-events-button:hover, .tribe-events .tribe-events-calendar-list__event-date-tag-datetime', '.sensei-main-content button[type="submit"]:hover, .sensei-main-content a.send-message-button:hover, .sensei-main-content input[type="submit"]:hover', '.course-teacher-carousel .owl-nav .owl-prev:hover, .content-list .owl-nav .owl-prev:hover', '.widget-area .edumodo-social a:hover', '.course-teacher-carousel .owl-nav .owl-next:hover, .content-list .owl-nav .owl-next:hover', '.edumodo-notice-1 article.notice figure a:before', '.content-field .owl-nav .owl-prev:hover,.tx-teacher-single .single-teacher-post .teacher-info .social a:hover', '.post-password-form input[type="submit"]:hover', '.page-details:before'
    ];
    $edumodo_secondarycolor_bordercolor_selector = [
        '.mc4wp-form-fields input[type="button"]:hover, .mc4wp-form-fields input[type="reset"]:hover, .mc4wp-form-fields input[type="submit"]:hover,button:hover, input[type="button"]:hover, input[type="reset"]:hover', '.btn:hover', '.btn:hover, .btn:focus, .btn.focus', '.lp-single-course .course-top .course-info .learn-press-course-buttons .purchase-course button.button.purchase-button:hover, .lp-single-course .course-top .course-info .learn-press-course-buttons .purchase-course button.button.enroll-button:hover', '.edumodo-from ul.wpuf-form .wpuf-submit input[type=submit]:hover, .edumodo-from ul.wpuf-form .wpuf-submit input[type=submit]:focus, .edumodo-from ul.wpuf-form .wpuf-submit input[type=submit].focus', '.post-password-form input[type="submit"]:hover', 
    ];
?>
<style id="edumodo-secondary-color">
    <?php 
        edumodo_style_property_parser(edumodo_parse_selector_as_string($edumodo_secondarycolor_color_selector), 'color', $edumodo_secondary_color);
        edumodo_style_property_parser(edumodo_parse_selector_as_string($edumodo_secondarycolor_background_selector), 'background', $edumodo_secondary_color);
        edumodo_style_property_parser(edumodo_parse_selector_as_string($edumodo_secondarycolor_bordercolor_selector), 'border-color', $edumodo_secondary_color);
    ?>
</style>