<?php

function dtlms_generate_skin_colors() {

	$output = '';

	$skin_settings = get_option('dtlms-skin-settings');

	$primary_color = ( isset($skin_settings['primary-color']) && '' !=  $skin_settings['primary-color'] ) ? $skin_settings['primary-color'] : '';
	$secondary_color = ( isset($skin_settings['secondary-color']) && '' !=  $skin_settings['secondary-color'] ) ? $skin_settings['secondary-color'] : '';
	$tertiary_color = ( isset($skin_settings['tertiary-color']) && '' !=  $skin_settings['tertiary-color'] ) ? $skin_settings['tertiary-color'] : '';

	$primary_alternate_color = ( isset($skin_settings['primary-alternate-color']) && '' !=  $skin_settings['primary-alternate-color'] ) ? $skin_settings['primary-alternate-color'] : '';
	$secondary_alternate_color = ( isset($skin_settings['secondary-alternate-color']) && '' !=  $skin_settings['secondary-alternate-color'] ) ? $skin_settings['secondary-alternate-color'] : '';
	$tertiary_alternate_color = ( isset($skin_settings['tertiary-alternate-color']) && '' !=  $skin_settings['tertiary-alternate-color'] ) ? $skin_settings['tertiary-alternate-color'] : '';
	

	# Primary BG Color
	$output .= '
	.dtlms-login-form-container .dtlms-login-form .dtlms-title.dtlms-login-title:after, .dtlms-class-registration-form-container .dtlms-class-registration-form-inner .dtlms-title.dtlms-registration-title:after, .dtlms-title:after, .dtlms-total-items .dtlms-total-item-title, .dtlms-statistics-container .dtlms-chart-holder ul.dtlms-purchases-overview-chart-options li a, .dtlms-statistics-container .dtlms-chart-holder ul.dtlms-commissions-overview-chart-options li a, .page-template-default.page .dtlms-chart-holder ul.dtlms-purchases-overview-chart-options li a, .page-template-default.page .dtlms-chart-holder ul.dtlms-commissions-overview-chart-options li a, div[class*="list-item-wrapper"] .dtlms-item-status-details .dtlms-proceed-button, div[class*="list-item-wrapper"] .dtlms-item-status-details .dtlms-proceed-button > a.dtlms-cart-link:hover, div[class*="list-item-wrapper"] .dtlms-item-status-details .dtlms-proceed-button > .dtlms-cart-link.dtlms-button:hover, .dtlms-button, .dtlms-badge-certificate-holder a.dtlms-generate-certificate-content, .dtlms-item-status-details > .dtlms-package-proceed-button > a, .dtlms-package-pricing-details > .dtlms-package-proceed-button > a, .dtlms-payment-details .dtlms-item-status-details .dtlms-proceed-button > a, .dtlms-tabs-vertical-content .dtlms-course-detail-group-section .action > .group-button, div[class$="share-holder"] ul li a, .dtlms-author-details .dtlms-author-description .dtlms-author-contact-details > li > a, .dtlms-tabs-horizontal-content #comments .reply .comment-reply-link, .dtlms-tabs-vertical-content #comments .reply .comment-reply-link, .dtlms-class-single #comments .reply .comment-reply-link, .dtlms-course-single #comments .reply .comment-reply-link, .dtlms-tabs-horizontal-content .dtlms-course-detail-group-section .action > .group-button a, .dtlms-tabs-vertical-content .dtlms-course-detail-group-section .action > .group-button a, .dtlms-course-detail.type3 .dtlms-tabs-horizontal-container ul.dtlms-tabs-horizontal li a.current:after, .dtlms-class-detail.type3 .dtlms-tabs-horizontal-container ul.dtlms-tabs-horizontal li a.current:after, .dtlms-tabs-vertical-container ul.dtlms-tabs-vertical > li > a.current:after, .dtlms-quiz-questions .dtlms-boolean input[type="checkbox"]:checked + label:after, .dtlms-quiz-questions .dtlms-boolean input[type="radio"]:checked + label::after, .dtlms-quiz-questions ul:not(.dtlms-question-image-options) li input[type="checkbox"]:checked + label::after, .dtlms-quiz-questions ul:not(.dtlms-question-image-options) li input[type="radio"]:checked + label:after, div[class*="listing-filters"] > div[class$="filter"] > ul > li > input[type="checkbox"]:checked + label:after, div[class*="listing-filters"] > div[class$="filter"] > ul > li > input[type="radio"]:checked + label:after, .dtlms-course-category-item.type2:after, .dtlms-course-category-item.type5 .dtlms-course-category-meta-data:before, .dtlms-instructor-item.type4:after, .dtlms-instructor-item.type4:hover:before, .dtlms-course-category-item.type5 .dtlms-category-total-items, div[class*="listing-holder"] div[class*="display-filter"] a[class*="display-type"].active, .dtlms-apply-isotope div[class*="listing-isotope-filter"] a:hover:after, .dtlms-apply-isotope div[class*="listing-isotope-filter"] a.active-sort:after, .dtlms-pagination.dtlms-ajax-pagination .prev-post a:hover, .dtlms-pagination.dtlms-ajax-pagination .next-post a:hover, .dtlms-pagination.dtlms-ajax-pagination ul.page-numbers li span, .dtlms-pagination.dtlms-ajax-pagination ul.page-numbers li a:hover, .swiper-container-horizontal .dtlms-swiper-pagination-holder .dtlms-swiper-arrow-pagination a:hover, #dtlms-course-curriculum-popup .dtlms-curriculum-details .dtlms-curriculum-detailed-links .dtlms-toggle-group-set li.active:before, #dtlms-course-curriculum-popup .dtlms-curriculum-details .dtlms-curriculum-detailed-links .dtlms-toggle-group-set li:hover:before, .dtlms-info-box, ul.dtlms-quiz-statistics-counter li.dtlms-quiz-total-questions, .dtlms-course-detail .dtlms-coursedetail-cart-link, .dtlms-course-detail-author .dtlms-author-contact-details > li > a, .dtlms-class-detail .dtlms-classdetail-cart-link, .dtlms-class-detail-author .dtlms-author-contact-details > li > a, .dtlms-questions-list .dtlms-question-title .dtlms-question-title-counter:before, #dtlms-course-curriculum-popup .dtlms-course-curriculum-popup-container .dtlms-questions-list-container .dtlms-questions-list .dtlms-answer-hint span, .dtlms-course-detail.type1 .dtlms-toggle-group-set .dtlms-toggle.active, .dtlms-course-detail.type3 .dtlms-toggle-group-set .dtlms-toggle.active, .dtlms-class-detail.type1 .dtlms-toggle-group-set .dtlms-toggle.active, .dtlms-class-detail.type3 .dtlms-toggle-group-set .dtlms-toggle.active, .dtlms-tabs-horizontal-container ul.dtlms-tabs-horizontal li a.current, .dtlms-tabs-horizontal-container ul.dtlms-tabs-horizontal li a:hover, .dtlms-quiz-sidebar .dtlms-timer-container h4:before, .dtlms-quiz-sidebar .dtlms-question-counter-holder h4:before, .dtlms-quiz-sidebar .dtlms-question-counter-holder ~ div[class$="box"], #dtlms-course-curriculum-popup .dtlms-course-curriculum-popup-container .dtlms-four-fifth .dtlms-curriculum-content-holder > div.dtlms-quiz-results-container h2:before, #dtlms-course-curriculum-popup .dtlms-course-curriculum-popup-container .dtlms-four-fifth .dtlms-curriculum-content-holder > div.dtlms-post-quiz-msg, .dtlms-quiz-questions ul.dtlms-question-image-options li.selected .dtlms-quiz-answers-container, #dtlms-course-curriculum-popup .dtlms-course-curriculum-popup-container .dtlms-four-fifth .dtlms-curriculum-content-holder > form.formAssignment .dtlms-add-upload-assignment-field, #dtlms-course-curriculum-popup .dtlms-curriculum-details .dtlms-curriculum-detailed-links .dtlms-curriculum-list li .dtlms-curriculum-meta-items .dtlms-curriculum-meta-preview, .dtlms-dashboard-quiz-statistics > .dtlms-column > h6:before, .dtlms-curriculum-content-holder .dtlms-note, #dtlms-course-curriculum-popup .dtlms-course-curriculum-popup-container .dtlms-four-fifth .dtlms-curriculum-content-holder ul.dtlms-assignment-submission li .dtlms-four-fifth > ul > li a, .dtlms-instructor-item.type10 .dtlms-team-social-links, #dtlms-course-curriculum-popup:before, #dtlms-course-result-popup:before, #dtlms-course-result-popup .dtlms-course-result-popup-container .dtlms-three-fifth .dtlms-curriculum-assignment-holder ul.dtlms-assignment-submission li .dtlms-four-fifth > ul > li a, .dtlms-tabs-horizontal-content > h2:after, .dtlms-course-result-curriculum-container .dtlms-curriculum-items.active td:last-child:after, .dtlms-title:after, div[class*="dynamic-section-holder"] div[class$="item-details"] > span, .dtlms-class-result-curriculum-container .dtlms-class-curriculum-table tr.active td:last-child:after, .dtlms-course-category-item.type10 .dtlms-course-category-meta-data, .dtlms-course-category-item.type10:hover .dtlms-course-category-meta-data > span, .dtlms-course-category-item.type7 .dtlms-course-category-meta-data:before, .dtlms-course-category-item.type7:hover .dtlms-category-total-items:before, div[class*="listing-holder"] div[class*="listing-filters"] > div[class$="filter"] > ul > li > input[type="radio"]:checked + label:before, div[class*="listing-holder"] div[class*="listing-filters"] > div[class$="filter"] > ul > li > input[type="checkbox"]:checked + label:before, .dtlms-package-detail .dtlms-package-items table th, .dtlms-course-detail .dtlms-coursedetail-cart-details .added_to_cart, .dtlms-payment-details .dtlms-packagedetail-cart-details > a.added_to_cart, .academy-carousel .dtlms-pagination.dtlms-ajax-pagination ul.page-numbers li a:hover, .academy-carousel .dtlms-pagination.dtlms-ajax-pagination .prev-post a:hover, .academy-carousel .dtlms-pagination.dtlms-ajax-pagination .next-post a:hover, .dtlms-class-detail .dtlms-classdetail-cart-details .added_to_cart, .type7.dtlms-courselist-item-wrapper .dtlms-courselist-tags a, .dtlms-courselist-item-wrapper .dtlms-courselist-thumb .dtlms-courselist-featured-post, .type10.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-courselist-metadata p, .type10.dtlms-courselist-item-wrapper .dtlms-courselist-bottom-right-section, .type3.dtlms-classlist-item-wrapper .dtlms-classlist-bottom-section-right a, /* Packages */ .type2.dtlms-packagelist-item-wrapper .dtlms-packagedetail-cart-details a:hover, .type3.dtlms-packagelist-item-wrapper .dtlms-packagelist-details .dtlms-packagelist-inclusion p, .type3.dtlms-packagelist-item-wrapper .dtlms-packagelist-details .dtlms-packagedetail-cart-details a, .type1.dtlms-packagelist-item-wrapper .dtlms-packagelist-details-inner .dtlms-packagedetail-cart-details > .dtlms-packagedetail-cart-link, .type1.dtlms-packagelist-item-wrapper .dtlms-packagelist-details-inner .dtlms-packagedetail-cart-details > .added_to_cart, .dtlms-course-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar thead.tribe-mini-calendar-nav td, .dtlms-course-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar .tribe-events-present, .dtlms-course-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar .tribe-events-has-events.tribe-mini-calendar-today, .dtlms-course-detail .tribe-mini-calendar .tribe-events-has-events.tribe-events-present a:hover, .dtlms-course-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar td.tribe-events-has-events.tribe-mini-calendar-today a:hover, .dtlms-course-detail-media-attachment th, .dtlms-class-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar thead.tribe-mini-calendar-nav td, .dtlms-class-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar .tribe-events-present, .dtlms-class-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar .tribe-events-has-events.tribe-mini-calendar-today, .dtlms-class-detail .tribe-mini-calendar .tribe-events-has-events.tribe-events-present a:hover, .dtlms-class-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar td.tribe-events-has-events.tribe-mini-calendar-today a:hover, .dtlms-instructor-item.type1:before, .dt-sc-button.alternate-bg-color.filled:hover, .dtlms-curriculum-list .dtlms-curriculum-meta-preview, .dtlms-course-detail .dtlms-course-detail-content .dtlms-coursedetail-cart-details .dtlms-button:hover, .dtlms-class-detail .dtlms-class-detail-content .dtlms-classdetail-cart-details .dtlms-button:hover, .dt-sc-button.filled.dt-sc-skin-highlight, .dt-sc-button.filled.dt-skin-secondary-bg:hover, .dtlms-default-intro-section h3:after, .type5.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a:hover, .type8.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a:hover, .type1.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a:hover, #avatar-crop-actions a.button, .dt-sc-portfolio-sorting.type9 a.active-sort, .dt-sc-portfolio-sorting.type9 a:hover, .dtlms-default-intro-section h3:before, .dt-sc-newsletter-section .dt-sc-subscribe-frm input[type="submit"], .dt-sc-team.hide-details-show-on-hover.dt-sc-one-course-team li a, div[class$="details-holder"] .dtlms-pagination.dtlms-ajax-pagination ul.page-numbers li > span.current, .dtlms-course-detail.type2 .dtlms-course-detail-content-meta > div:before, /* New */ .type8.dtlms-courselist-item-wrapper.grid-item .dtlms-coursedetail-price-details .dtlms-price-status, .swiper-pagination-bullet:hover, .type6.dtlms-courselist-item-wrapper .dtlms-coursedetail-price-details .dtlms-price-status, .dtlms-course-category-item.type8:before, .dtlms-apply-isotope div[class*="listing-isotope-filter"] a:hover, .dtlms-apply-isotope div[class*="listing-isotope-filter"] a.active-sort, .wpb_column.dtlms-slider-overlay form .dtlms-courses-listing-searchform-submit:hover, .dtlms-course-detail.type5 .dtlms-coursedetail-price-details, .dtlms-course-detail.type5 .dtlms-toggle-group-set h5.dtlms-toggle.active, .dtlms-course-detail.type5 .dtlms-curriculum-list > li.preview-item > .dtlms-curriculum-meta-icon, .dtlms-course-detail.type5 .dtlms-toggle-group-set .dtlms-curriculum-list li.preview-item:after, .dtlms-course-detail-related-courses-list-wrapper, .dtlms-course-detail-related-courses-list-wrapper:before{ background-color:'.$primary_color.'}';
	
	# Primary Border Color
	$output .= '
	.dtlms-instructor-item.type2:hover, .dtlms-instructor-item.with-border img, .dtlms-instructor-item.rounded-with-border img, .dtlms-instructor-item.type3:hover, .dtlms-course-category-item.type1:hover:before, .dtlms-course-category-item.type6:after,

	.dtlms-pagination.dtlms-ajax-pagination .prev-post a:hover, .dtlms-pagination.dtlms-ajax-pagination .next-post a:hover, 
	.dtlms-pagination.dtlms-ajax-pagination ul.page-numbers li span, .dtlms-pagination.dtlms-ajax-pagination ul.page-numbers li a:hover,
	.swiper-container-horizontal .dtlms-swiper-pagination-holder .dtlms-swiper-arrow-pagination a, 

	.dtlms-tabs-horizontal-content #comments .reply .comment-reply-link, .dtlms-tabs-vertical-content #comments .reply .comment-reply-link, .dtlms-class-single #comments .reply .comment-reply-link, .dtlms-course-single #comments .reply .comment-reply-link, 

	.dtlms-quiz-features-list, .dtlms-question .dtlms-title-container, .dtlms-questions-list .dtlms-question::before, .dtlms-quiz-results-container, 
	div[class*="listing-filters"] > div[class$="filter"] > ul > li > input[type="radio"]:checked + label:before, .dtlms-instructor-item.type6 .dtlms-instructor-item-meta-data-detailed, body[class*="single-dtlms"] div[class$="certificate-badge"] span, .type2.dtlms-packagelist-item-wrapper.grid-item:hover:before, .dtlms-course-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar thead.tribe-mini-calendar-nav td, .dtlms-class-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar thead.tribe-mini-calendar-nav td, .type1.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a, .type1.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a:hover, /* New */ .dtlms-instructor-item.type2.team-profile .dtlms-instructor-item-thumb:before, /* New */ .dtlms-course-detail.type5 .dtlms-toggle-group-set .dtlms-toggle.active:after { border-color:'.$primary_color.'}';

	
	# Primary Border Bottom Color
	$output .= '
	.dtlms-instructor-item.type3:after, #dtlms-course-curriculum-popup:not(.dtlms-curriculum-quiz-lock) .dtlms-questions-list-container .dtlms-questions-list .dtlms-question, #dtlms-course-result-popup .dtlms-questions-list-container.dtlms-dashboard-questions-list .dtlms-questions-list .dtlms-question, .dtlms-questions-list-container.dtlms-quiz-underprogess .dtlms-questions-list .dtlms-question:not(.dtlms-questions-oneatatime), .dtlms-default-intro-section:hover h3 { border-bottom-color:'.$primary_color.'}';


	# Primary Border Left Color
	$output .= '
	.dtlms-instructor-item.type3:before { border-left-color:'.$primary_color.'}';


	# Primary Border Right Color
	$output .= '
	.dtlms-instructor-item.type3:after { border-right-color:'.$primary_color.'}';


	# Primary Border Top Color
	$output .= '
	.dtlms-instructor-item.type3:before { border-top-color:'.$primary_color.'}';


	
	# Primary Color
	$output .= '

	table.dtlms-custom-table td a:hover, .dtlms-custom-box table td a:hover, table.dtlms-custom-table tbody.dtlms-custom-dashboard-table ul li a:hover,  .dt-sc-dark-bg ul.dtlms-custom-login a:hover, .dtlms-course-category-item.type1:hover h3 a, .swiper-container-horizontal .dtlms-swiper-pagination-holder .dtlms-swiper-arrow-pagination a, .dt-sc-dark-bg .swiper-container-horizontal .dtlms-swiper-pagination-holder .dtlms-swiper-arrow-pagination a:hover, .dt-sc-skin-highlight .swiper-container-horizontal .dtlms-swiper-pagination-holder .dtlms-swiper-arrow-pagination a:hover, .dtlms-instructor-item.type5 .dtlms-instructor-item-meta-data h4 a:hover, .dtlms-course-category-item.type2 *:hover, .dtlms-classes-listing-holder #dtlms-ajax-load-image .dtlms-loading, .dtlms-courses-listing-holder #dtlms-ajax-load-image .dtlms-loading, .dt-sc-skin-highlight .dtlms-pagination.dtlms-ajax-pagination ul.page-numbers li a, .dt-sc-skin-highlight .dtlms-pagination.dtlms-ajax-pagination .prev-post a, .dt-sc-skin-highlight .dtlms-pagination.dtlms-ajax-pagination .next-post a, .dtlms-course-detail .dtlms-coursedetail-price-details span, .dtlms-class-detail .dtlms-classdetail-price-details span, #dtlms-course-curriculum-popup .dtlms-course-curriculum-popup-container .dtlms-four-fifth .dtlms-curriculum-content-holder > div.dtlms-assignment-details-container strong, #dtlms-course-curriculum-popup.dtlms-course-curriculum-popup-quiz .dtlms-course-curriculum-popup-container .dtlms-four-fifth .dtlms-curriculum-content-holder > div.dtlms-quiz-details-container strong, #dtlms-course-curriculum-popup.dtlms-course-curriculum-popup-lesson .dtlms-course-curriculum-popup-container .dtlms-four-fifth .dtlms-curriculum-content-holder > div.dtlms-lesson-details-container strong, .dtlms-course-results-main-detail-wrapper .dtlms-author-details .dtlms-author-image img, .dtlms-class-results-main-detail-wrapper .dtlms-author-details .dtlms-author-image img, .dtlms-course-results-main-detail-wrapper .dtlms-author-details .dtlms-author-title h5 a:hover, .dtlms-class-results-main-detail-wrapper .dtlms-author-details .dtlms-author-title h5 a:hover, .dtlms-package-detail .dtlms-packagelist-price-details ins, div[class*="dynamic-section-holder"] p > a, .dtlms-course-category-item.type5:hover .dtlms-course-category-meta-data > img, .type2.dtlms-packagelist-item-wrapper .dtlms-packagelist-details h5 a, .type2.dtlms-packagelist-item-wrapper .dtlms-packagelist-price-details span, .type2.dtlms-packagelist-item-wrapper .dtlms-packagelist-inclusion p:before, .dtlms-class-detail .dtlms-class-detail-info li a:hover, .dtlms-course-detail .dtlms-course-detail-info li a:hover, .dtlms-course-detail.type2 .dtlms-course-detail-content-meta a:hover, .dtlms-instructor-item.type7.default .dtlms-team-social-links ul li a:hover, .online-learning-carousel .type7.dtlms-courselist-item-wrapper .dtlms-courselist-bottom-right-section .dtlms-coursedetail-cart-details a, .online-learning-carousel .type7.dtlms-courselist-item-wrapper .dtlms-courselist-bottom-left-section .dtlms-coursedetail-price-details ins, .dtlms-default-intro-section .dt-sc-button.transparent span, .dtlms-default-intro-section h3:before, .type1.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a, .dtlms-course-category-item.type9 h3 a:hover, .dtlms-course-detail .dtlms-course-detail-author-title h5 a:hover, .dtlms-class-detail.type2 .dtlms-class-detail-author-title h5 a:hover, /* New */ .dtlms-course-detail.type5 .dtlms-curriculum-list li.preview-item .dtlms-curriculum-meta-title a, .type6.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-coursedetail-cart-details a:hover, .dtlms-course-detail.type5 .dtlms-toggle-content .dtlms-curriculum-list li.preview-item .dtlms-curriculum-meta-title a, .dtlms-course-detail.type5 .dtlms-toggle-content .dtlms-toggle-group-set .dtlms-curriculum-list li.preview-item:before, .dtlms-course-detail.type5 .dtlms-toggle-group-set .dtlms-curriculum-list li.preview-item:before{ color:'.$primary_color.'}';
	
	# Secondary BG Color
	$output .= '
	.dtlms-button:hover, .dtlms-badge-certificate-holder a.dtlms-generate-certificate-content:hover, .dtlms-author-details .dtlms-author-description .dtlms-author-contact-details > li > a:hover, .dtlms-social-logins-container a[class^="dtlms-social"]:hover, .dtlms-payment-details .dtlms-item-status-details .dtlms-proceed-button > a:hover, .dtlms-tabs-vertical-content .dtlms-course-detail-group-section .action > .group-button:hover, div[class$="share-holder"] ul li a:hover, .dtlms-tabs-horizontal-content #comments .reply .comment-reply-link:hover, .dtlms-tabs-vertical-content #comments .reply .comment-reply-link:hover, .dtlms-class-single #comments .reply .comment-reply-link:hover, .dtlms-course-single #comments .reply .comment-reply-link:hover, .dtlms-tabs-horizontal-content .dtlms-course-detail-group-section .action > .group-button a:hover, .dtlms-tabs-vertical-content .dtlms-course-detail-group-section .action > .group-button a:hover, .dtlms-course-category-item.type3:hover, .dtlms-instructor-item.with-bg .dtlms-team-social-links ul li a.fa:hover, .dtlms-course-category-item.type5 .dtlms-course-category-meta-data > span, div[class*="list-item-wrapper"] div[class*="list-thumb"] div[class$="list-overlay"] a.dtlms-button:hover, div[class*="list-item-wrapper"] .dtlms-item-status-details > a:hover, div[class*="list-item-wrapper"] .dtlms-item-status-details > .dtlms-button:hover, div[class*="list-item-wrapper"] .dtlms-item-status-details .dtlms-proceed-button > a:hover, div[class*="list-item-wrapper"] .dtlms-item-status-details .dtlms-proceed-button > .dtlms-button:hover, div[class*="list-item-wrapper"] .dtlms-item-status-details .dtlms-proceed-button > a.dtlms-cart-link, div[class*="list-item-wrapper"] .dtlms-item-status-details .dtlms-proceed-button > .dtlms-cart-link.dtlms-button, div[class*="list-item-wrapper"] div[class*="list-details"] div[class*="list-metadata"] p > span, div[class*="list-item-wrapper"] div[class*="list-details"] div[class*="list-metadata"] p > i, div[class*="list-item-wrapper"] div[class*="list-details"] div[class*="list-duration"] i, div[class*="listing-containers"] .dtlms-item-status-details .dtlms-item-pricing-details, div[class*="listing-containers"] .dtlms-item-status-details > span, .dtlms-packagelist-item .dtlms-package-pricing-details > span, .dtlms-instructor-item.type5:hover:after, .dtlms-classlist-item-wrapper .dtlms-classlist-details .dtlms-classlist-meta-wrapper .dtlms-class-type, .dtlms-tabs-vertical-content .dtlms-course-detail-total-students span, .dtlms-statistics-container .dtlms-chart-holder ul.dtlms-purchases-overview-chart-options li a:hover, .dtlms-statistics-container .dtlms-chart-holder ul.dtlms-commissions-overview-chart-options li a:hover, .page-template-default.page .dtlms-chart-holder ul.dtlms-purchases-overview-chart-options li a:hover, .page-template-default.page .dtlms-chart-holder ul.dtlms-commissions-overview-chart-options li a:hover, .dtlms-statistics-container .dtlms-chart-holder ul.dtlms-purchases-overview-chart-options li a.active, .dtlms-statistics-container .dtlms-chart-holder ul.dtlms-commissions-overview-chart-options li a.active, .page-template-default.page .dtlms-chart-holder ul.dtlms-purchases-overview-chart-options li a.active, .page-template-default.page .dtlms-chart-holder ul.dtlms-commissions-overview-chart-options li a.active, .dtlms-total-items:hover .dtlms-total-item-title, .dtlms-total-items span, .dt-sc-skin-highlight .dtlms-pagination.dtlms-ajax-pagination ul.page-numbers li a:hover, .single > #dtlms-course-curriculum-popup:after, .dtlms-course-detail .dtlms-coursedetail-cart-link:hover, .dtlms-course-detail-author .dtlms-author-contact-details > li > a:hover, .dtlms-class-detail .dtlms-classdetail-cart-link:hover, .dtlms-class-detail-author .dtlms-author-contact-details > li > a:hover, #dtlms-course-curriculum-popup .dtlms-course-curriculum-popup-container .dtlms-four-fifth .dtlms-curriculum-content-holder > form.formAssignment .dtlms-add-upload-assignment-field:hover, dtlms-course-curriculum-popup .dtlms-course-curriculum-popup-container .dtlms-four-fifth .dtlms-curriculum-content-holder ul.dtlms-assignment-submission li .dtlms-four-fifth > ul > li a:hover, .dtlms-instructor-item.type9 .dtlms-team-social-links ul li a:hover, .dtlms-instructor-item.type10:hover .dtlms-team-social-links,  #dtlms-course-result-popup .dtlms-course-result-popup-container .dtlms-three-fifth .dtlms-curriculum-assignment-holder ul.dtlms-assignment-submission li .dtlms-four-fifth > ul > li a:hover, .dtlms-course-category-item.type10 .dtlms-course-category-meta-data > span, .dtlms-course-category-item.type10:hover .dtlms-course-category-meta-data, .dtlms-course-detail .dtlms-coursedetail-cart-details .added_to_cart:hover, .dtlms-payment-details .dtlms-packagedetail-cart-details > a.added_to_cart:hover, #dtlms-course-curriculum-popup .dtlms-course-curriculum-popup-container .dtlms-four-fifth .dtlms-curriculum-content-holder ul.dtlms-assignment-submission li .dtlms-four-fifth > ul > li a:hover, .dtlms-class-detail .dtlms-classdetail-cart-details .added_to_cart:hover, input.dtlms-button:hover, input.dtlms-button[type="button"]:hover, input.dtlms-button[type="submit"]:hover, .dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a:hover, .type2.dtlms-courselist-item-wrapper .dtlms-coursedetail-price-details .dtlms-price-status, .type2.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-courselist-bottom-section .dtlms-coursedetail-cart-details a, .type5.dtlms-courselist-item-wrapper .dtlms-coursedetail-price-details .dtlms-cost, .type6.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-coursedetail-price-details ins, .type7.dtlms-courselist-item-wrapper .dtlms-courselist-duration, .type10.dtlms-courselist-item-wrapper .dtlms-courselist-tags:before, .type4.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a, .type5.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a, .type8.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a, .type9.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-coursedetail-cart-details a, .type2.dtlms-classlist-item-wrapper .dtlms-classlist-metadata, .type3.dtlms-classlist-item-wrapper .dtlms-classlist-details .dtlms-classdetail-price-details ins, div[class*="list-item-wrapper"].type10 div[class*="list-details"] div[class*="list-metadata"] p > i, .type3.dtlms-courselist-item-wrapper.list-item .dtlms-coursedetail-cart-details a, .type3.dtlms-classlist-item-wrapper .dtlms-classlist-bottom-section-right a:hover, /* Packages */ .type2.dtlms-packagelist-item-wrapper .dtlms-packagedetail-cart-details a, .type3.dtlms-packagelist-item-wrapper .dtlms-packagelist-details .dtlms-packagedetail-cart-details a.added_to_cart, .type3.dtlms-packagelist-item-wrapper .dtlms-packagelist-details .dtlms-packagedetail-cart-details a:hover, .type1.dtlms-packagelist-item-wrapper .dtlms-packagelist-price-details, .type1.dtlms-packagelist-item-wrapper .dtlms-packagelist-details-inner .dtlms-packagedetail-cart-details > .dtlms-packagedetail-cart-link:hover, .type1.dtlms-packagelist-item-wrapper .dtlms-packagelist-details-inner .dtlms-packagedetail-cart-details > .added_to_cart:hover, .dt-sc-button.alternate-bg-color.filled, .wpb_column.dtlms-slider-overlay .dtlms-courses-listing-holder .chosen-container .chosen-results li.active-result.highlighted, .dtlms-course-detail .dtlms-course-detail-content .dtlms-coursedetail-cart-details .dtlms-button, .dtlms-class-detail .dtlms-class-detail-content .dtlms-classdetail-cart-details .dtlms-button, .dt-sc-button.filled.dt-sc-skin-highlight:hover, .dt-sc-button.filled.dt-skin-secondary-bg, .type1.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-coursedetail-price-details ins, #avatar-crop-actions a.button:hover, .dt-sc-newsletter-section .dt-sc-subscribe-frm input[type="submit"]:hover, .dt-sc-team.hide-details-show-on-hover.dt-sc-one-course-team li a:hover, .dtlms-course-category-item.type8 .dtlms-course-category-meta-data > span, .type7.dtlms-courselist-item-wrapper .dtlms-courselist-tags a:hover,/* New */.dtlms-course-category-item.type8:after, .dtlms-course-detail.type5 .dtlms-curriculum-list .dtlms-curriculum-meta-preview{ background-color:'.$secondary_color.'}';
	
	# Secondary Border Color
	$output .= '
	.dtlms-instructor-item.type3, .dtlms-course-category-item.type6:before, .dtlms-tabs-horizontal-content #comments .reply .comment-reply-link:hover, .dtlms-tabs-vertical-content #comments .reply .comment-reply-link:hover, .dtlms-class-single #comments .reply .comment-reply-link:hover, .dtlms-course-single #comments .reply .comment-reply-link:hover, .dt-sc-skin-highlight .dtlms-pagination.dtlms-ajax-pagination ul.page-numbers li a:hover, .dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a:hover, .type6.dtlms-courselist-item-wrapper .dtlms-courselist-author-image img, .type6.dtlms-courselist-item-wrapper.list-item .dtlms-courselist-details .dtlms-coursedetail-cart-details a { border-color:'.$secondary_color.'}';
	# Secondary Border Bottom Color 
	$output .= '
	.dtlms-instructor-item.type3:hover:after, .type6.dtlms-courselist-item-wrapper .dtlms-courselist-thumb { border-bottom-color:'.$secondary_color.'}';

	# Secondary Border Left Color 
	$output .= '
	.dtlms-instructor-item.type3:hover:before, .dtlms-instructor-item.type4, 
	div[class*="list-item-wrapper"] .dtlms-item-status-details > span:before,
	div[class*="list-item-wrapper"] .dtlms-item-status-details .dtlms-item-pricing-details:before, .type1.dtlms-packagelist-item-wrapper .dtlms-packagelist-price-details:before { border-left-color:'.$secondary_color.'}';

	# Secondary Border Right Color 
	$output .= '
	.dtlms-instructor-item.type3:hover:after { border-right-color:'.$secondary_color.'}';

	# Secondary Border Top Color 
	$output .= '
	.dtlms-instructor-item.type3:hover:before { border-top-color:'.$secondary_color.'}';

	
	
	# Secondary Color
	$output .= '
	.dtlms-login-form-container .dtlms-login-form .dtlms-title.dtlms-login-title strong, 
	.dtlms-class-registration-form-container .dtlms-class-registration-form-inner .dtlms-title.dtlms-registration-title strong, 
	div[class*="list-item-wrapper"] div[class*="list-details"] div[class*="list-metadata"] p > a:hover,
	.dtlms-main-title-section-wrapper .dtlms-breadcrumb a:hover, 

	.dtlms-course-category-item.type1:hover *, .dtlms-course-category-item.type1:hover .dtlms-course-category-meta-data > span, .dtlms-course-category-item.type1:hover .dtlms-course-category-meta-data .dtlms-category-total-items, .dtlms-course-category-item.type4 h3 a:hover, .dtlms-instructor-item .dtlms-instructor-item-meta-data h4 a:hover, .dtlms-instructor-item.type3 .dtlms-instructor-item-meta-data h4 a:hover, .dtlms-instructor-item.type5.with-bg .dtlms-team-social-links ul li a:hover,
	
	.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-author-details .dtlms-author-description h5 a:hover, .dtlms-quiz-questions .dtlms-boolean span label:hover, .dtlms-quiz-questions ul:not(.dtlms-question-image-options) li label:hover, div[class*="listing-filters"] > div[class$="filter"] > ul > li > label:hover,

	div[class*="list-item-wrapper"] div[class*="list-details"] h5 a:hover, .dtlms-package-single .dtlms-package-items table td > a:hover, 

	.dtlms-team-details h4 a:hover, .dtlms-course-detail-group-section .item-title a:hover, .dtlms-course-news-item .dtlms-course-detail-news-details h5 a:hover, .dtlms-review-box .dtlms-average-value, body[class*="single-dtlms"] ul.commentlist li .author-name > a:hover, #comments #respond h3#reply-title #cancel-comment-reply-link:hover, div[class$="details-holder"] ul li a:hover, 

	.dtlms-course-results-main-detail-wrapper .dtlms-author-title h5 a:hover, .dtlms-curriculum-list li .dtlms-curriculum-meta-title a:hover, .dtlms-curriculum-list li .dtlms-curriculum-meta-title a.active, .dtlms-curriculum-list li.active > .dtlms-curriculum-meta-title a, .dtlms-curriculum-list > li.locked:before, .dtlms-mark, #dtlms-course-curriculum-popup .dtlms-course-curriculum-popup-container:before, #dtlms-course-result-popup .dtlms-course-curriculum-popup-container:before, 
dtlms-class-result-popup .dtlms-course-curriculum-popup-container:before, .dtlms-course-detail.type1 div[class$="share-holder"] ul li a:hover, .dtlms-course-detail-media-attachment td a:hover, .dtlms-course-result-curriculum-container table.dtlms-course-curriculum-table .dtlms-curriculum-items.active td, .dtlms-course-result-curriculum-container table.dtlms-course-curriculum-table .dtlms-curriculum-items.active .dtlms-view-curriculum-details, #dtlms-course-curriculum-popup:after, #dtlms-course-result-popup:after, #dtlms-class-result-popup:after, .dtlms-package-detail .dtlms-package-items table td a:hover, .dtlms-course-detail-news-item .dtlms-course-detail-news-details h5 a:hover, .type1.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-courselist-metadata i, .dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a, .type2.dtlms-courselist-item-wrapper .dtlms-coursedetail-price-details .dtlms-price-status:before, .type1.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-courselist-details-inner h5 a:hover, .type2.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-courselist-details-inner h5 a:hover, .type3.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-courselist-duration i, .type4.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-courselist-meta ul li span a:hover, .type4.dtlms-courselist-item-wrapper .dtlms-courselist-details-inner h5 a:hover, .type4.dtlms-courselist-item-wrapper .dtlms-courselist-bottom-section .dtlms-coursedetail-price-details ins, .type5.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-courselist-details-inner h5 a:hover, .type5.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-courselist-bottom-section i, .type6.dtlms-courselist-item-wrapper .dtlms-courselist-tags, .type6.dtlms-courselist-item-wrapper .dtlms-courselist-tags a:hover, .type6.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-courselist-bottom-section .dtlms-courselist-bottom-left-section i, .type7.dtlms-courselist-item-wrapper .dtlms-courselist-bottom-left-section .dtlms-coursedetail-price-details ins, .type7.dtlms-courselist-item-wrapper .dtlms-courselist-bottom-right-section .dtlms-coursedetail-cart-details a:hover, .grid-item.type8.dtlms-courselist-item-wrapper .dtlms-courselist-bottom-section .dtlms-courselist-metadata i, .type8.dtlms-courselist-item-wrapper .dtlms-courselist-bottom-section .dtlms-coursedetail-price-details ins, .type9.dtlms-courselist-item-wrapper .dtlms-courselist-bottom-section .dtlms-coursedetail-price-details ins, div[class*="classlist-item-wrapper"] div[class*="list-details"] h5 a:hover, .type2.dtlms-classlist-item-wrapper .dtlms-classlist-bottom-section-left .dtlms-classdetail-price-details ins, .type2.dtlms-classlist-item-wrapper .dtlms-classlist-bottom-section-right a, .type3.dtlms-classlist-item-wrapper .dtlms-classlist-details .dtlms-classlist-metadata p, .type3.dtlms-courselist-item-wrapper.list-item .dtlms-courselist-bottom-section .dtlms-coursedetail-price-details ins, .dtlms-login-form-container .dtlms-login-form p.tpl-forget-pwd a, .online-learning-carousel .type7.dtlms-courselist-item-wrapper .dtlms-courselist-bottom-right-section .dtlms-coursedetail-cart-details a:hover, .dtlms-default-intro-section .dt-sc-button.transparent:hover, .dtlms-default-intro-section .dt-sc-button.transparent:hover span, .dtlms-course-category-item.type1.alternate-color-on-hover:hover h3 a, /* New */ .dtlms-course-detail.type5 .dtlms-coursedetail-cart-details .added_to_cart:hover{ color:'.$secondary_color.'}';
	

	
	# Tertiary Color

	$output .= '
	.dtlms-author-details .dtlms-author-title, .dt-sc-dark-bg ul.dtlms-custom-login.dt-skin-tertiary-color-on-hover a:hover, .type3.dtlms-packagelist-item-wrapper .dtlms-packagelist-details > h5 a { color:'.$tertiary_color.'}';
	
	$output .= '
	div[class*="list-item-wrapper"] div[class*="list-thumb"] div[class$="list-overlay"] a.dtlms-button, .type9.dtlms-courselist-item-wrapper .dtlms-courselist-bottom-section, .type10.dtlms-courselist-item-wrapper .dtlms-courselist-bottom-left-section, /* Packages */ .type3.dtlms-packagelist-item-wrapper .dtlms-packagelist-details .dtlms-packagelist-price-details, .type3.dtlms-packagelist-item-wrapper .dtlms-packagelist-details .dtlms-packagedetail-cart-details a.added_to_cart:hover, .type3.dtlms-packagelist-item-wrapper .dtlms-packagelist-details .dtlms-packagelist-inclusion p:before, /* New */ .dtlms-course-detail.type5 .dtlms-tabs-horizontal.scroll_tabs_container { background-color:'.$tertiary_color.'}';



	# Primary Color Override (If Lighter one)
	if($primary_alternate_color != '') {

		$output .= '
		.dtlms-login-form-container .dtlms-login-form .dtlms-login-form-holder p #wp-submit, 

		.dtlms-total-items, .dtlms-total-items .dtlms-total-item-title, 
		.dtlms-admin-dashboard table tr td a.dtlms-view-class-result, 
		.dtlms-admin-dashboard table tr td a.dtlms-view-course-result, 		
		.dtlms-statistics-container .dtlms-chart-holder ul.dtlms-purchases-overview-chart-options li a, 
		.dtlms-statistics-container .dtlms-chart-holder ul.dtlms-commissions-overview-chart-options li a, 
		.page-template-default.page .dtlms-chart-holder ul.dtlms-purchases-overview-chart-options li a, 
		.page-template-default.page .dtlms-chart-holder ul.dtlms-commissions-overview-chart-options li a, 	

		.dtlms-button, .dtlms-author-details .dtlms-author-description .dtlms-author-contact-details > li > a, .dtlms-payment-details .dtlms-item-status-details .dtlms-proceed-button > a, .dtlms-badge-certificate-holder a.dtlms-generate-certificate-content, .dtlms-view-class-result, .dtlms-view-course-result, .dtlms-social-logins-container a[class^="dtlms-social"], div[class$="share-holder"] ul li a, body[class*="single-dtlms"] #respond p.form-submit input[type="submit"], 

		div[class*="listing-holder"] div[class*="display-filter"] a[class*="display-type"].active, 
		
		div[class*="list-item-wrapper"] div[class*="list-thumb"] div[class$="list-overlay"] a.dtlms-button,
		
		div[class*="list-item-wrapper"] div[class*="list-details"] div[class*="list-metadata"] p > a,
				
		div[class*="list-item-wrapper"] div[class*="list-details"] div[class*="list-duration"],
		
		.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-author-details .dtlms-author-description h5 a,
		
		div[class*="list-item-wrapper"] .dtlms-item-status-details > a, div[class*="list-item-wrapper"] .dtlms-item-status-details > .dtlms-button, 
		div[class*="list-item-wrapper"] .dtlms-item-status-details .dtlms-proceed-button > a, div[class*="list-item-wrapper"] .dtlms-item-status-details .dtlms-proceed-button > .dtlms-button,		

		.swiper-container-horizontal .dtlms-swiper-pagination-holder .dtlms-swiper-arrow-pagination a:hover,

		.dtlms-pagination.dtlms-ajax-pagination .prev-post a:hover, .dtlms-pagination.dtlms-ajax-pagination .next-post a:hover,
		.dtlms-pagination.dtlms-ajax-pagination ul.page-numbers li span, .dtlms-pagination.dtlms-ajax-pagination ul.page-numbers li a:hover,

		.dtlms-tabs-horizontal-content #comments .reply .comment-reply-link, .dtlms-tabs-vertical-content #comments .reply .comment-reply-link, .dtlms-class-single #comments .reply .comment-reply-link, .dtlms-course-single #comments .reply .comment-reply-link,
		.dtlms-tabs-horizontal-content .dtlms-course-detail-group-section .action > .group-button a, .dtlms-tabs-vertical-content .dtlms-course-detail-group-section .action > .group-button a, .dtlms-timer-container > h4, 
		div[class*="list-item-wrapper"] div[class*="list-thumb"] div[class$="list-overlay"] a.dtlms-button, 
		.dtlms-course-detail .dtlms-coursedetail-cart-link, .dtlms-course-detail-author .dtlms-author-contact-details > li > a, .dtlms-questions-list-container .dtlms-questions-list .dtlms-question .dtlms-answer-hint span, .dtlms-course-detail.type1 .dtlms-toggle-group-set .dtlms-toggle.active a, .dtlms-course-detail.type1 .dtlms-toggle-group-set .dtlms-toggle.active:before, .dtlms-course-detail.type3 .dtlms-toggle-group-set .dtlms-toggle.active a, .dtlms-course-detail.type3 .dtlms-toggle-group-set .dtlms-toggle.active:before, .dtlms-class-detail.type1 .dtlms-toggle-group-set .dtlms-toggle.active a, .dtlms-class-detail.type1 .dtlms-toggle-group-set .dtlms-toggle.active:before, .dtlms-class-detail.type3 .dtlms-toggle-group-set .dtlms-toggle.active a, .dtlms-class-detail.type3 .dtlms-toggle-group-set .dtlms-toggle.active:before, .dtlms-tabs-horizontal-container ul.dtlms-tabs-horizontal li a.current, .dtlms-tabs-horizontal-container ul.dtlms-tabs-horizontal li a:hover, .dtlms-course-category-item.type10 .dtlms-course-category-meta-data h3 a, .dtlms-course-category-item.type10:hover .dtlms-course-category-meta-data > span, .dtlms-course-category-item.type7 h3 a, .dtlms-course-category-item.type7:hover .dtlms-category-total-items, .dtlms-package-detail .dtlms-package-items table th, .dtlms-course-detail .dtlms-coursedetail-cart-details .added_to_cart, .dtlms-payment-details .dtlms-packagedetail-cart-details > a.added_to_cart, .academy-carousel .dtlms-pagination.dtlms-ajax-pagination ul.page-numbers li a:hover, .academy-carousel .dtlms-pagination.dtlms-ajax-pagination .prev-post a:hover, .academy-carousel .dtlms-pagination.dtlms-ajax-pagination .next-post a:hover, .dtlms-course-detail.type1 .dtlms-tabs-horizontal-container ul.dtlms-tabs-horizontal li a.current, .dtlms-course-detail.type1 .dtlms-tabs-horizontal-container ul.dtlms-tabs-horizontal li a:hover, .dtlms-class-detail.type1 .dtlms-tabs-horizontal-container ul.dtlms-tabs-horizontal li a.current, .dtlms-course-detail .dtlms-coursedetail-cart-link, .dtlms-course-detail-author .dtlms-author-contact-details > li > a, .dtlms-class-detail .dtlms-classdetail-cart-link, .dtlms-class-detail-author .dtlms-author-contact-details > li > a, .dtlms-tabs-horizontal-container ul.dtlms-tabs-horizontal li a:hover, .dtlms-class-detail .dtlms-classdetail-cart-details .added_to_cart, input.dtlms-button, input.dtlms-button[type="button"], input.dtlms-button[type="submit"], .dtlms-classlist-item-wrapper .dtlms-class-listing-featured, .type10.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-courselist-metadata p, .type10.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-courselist-metadata p a, .type10.dtlms-courselist-item-wrapper .dtlms-courselist-bottom-right-section ins, .type10.dtlms-courselist-item-wrapper .dtlms-price-status.dtlms-free, .type7.dtlms-courselist-item-wrapper .dtlms-courselist-tags a, .type3.dtlms-packagelist-item-wrapper .dtlms-packagelist-details .dtlms-packagelist-inclusion p, .type3.dtlms-packagelist-item-wrapper .dtlms-packagelist-details .dtlms-packagedetail-cart-details a, .dtlms-instructor-item.type10 .dtlms-team-social-links ul li a, body[class*="single-dtlms"] .dtlms-course-detail-media-attachment th, div[class*="dynamic-section-holder"] div[class$="item-details"] > span, .dtlms-courses-listing-holder input[type="submit"], .dtlms-courses-listing-holder input[type="reset"], .dtlms-courses-listing-holder button, .dtlms-courses-listing-holder input[type="button"], .dtlms-classes-listing-holder input[type="submit"], .dtlms-classes-listing-holder input[type="reset"], .dtlms-classes-listing-holder button, .dtlms-classes-listing-holder input[type="button"], .dtlms-course-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar thead.tribe-mini-calendar-nav td, .dtlms-course-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar .tribe-events-present, .dtlms-course-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar .tribe-events-has-events.tribe-mini-calendar-today, .dtlms-course-detail .tribe-mini-calendar .tribe-events-has-events.tribe-events-present a:hover, .dtlms-course-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar td.tribe-events-has-events.tribe-mini-calendar-today a:hover, .dtlms-course-detail-media-attachment th, .dtlms-class-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar thead.tribe-mini-calendar-nav td, .dtlms-class-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar .tribe-events-present, .dtlms-class-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar .tribe-events-has-events.tribe-mini-calendar-today, .dtlms-class-detail .tribe-mini-calendar .tribe-events-has-events.tribe-events-present a:hover, .dtlms-class-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar td.tribe-events-has-events.tribe-mini-calendar-today a:hover, .dtlms-course-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar thead.tribe-mini-calendar-nav td a, .dtlms-class-detail .widget.tribe_mini_calendar_widget .tribe-mini-calendar thead.tribe-mini-calendar-nav td a, #dtlms-course-curriculum-popup .dtlms-curriculum-details .dtlms-curriculum-detailed-links .dtlms-curriculum-list li .dtlms-curriculum-meta-items .dtlms-curriculum-meta-preview, .dt-sc-button.alternate-bg-color.filled:hover, #dtlms-course-curriculum-popup.dtlms-course-curriculum-popup-assignment .dtlms-course-curriculum-popup-container .dtlms-four-fifth .dtlms-curriculum-content-holder > form.formAssignment .dtlms-add-upload-assignment-field, .dtlms-curriculum-list .dtlms-curriculum-meta-preview, .wpb_column.dtlms-slider-overlay .dtlms-courses-listing-holder .chosen-container .chosen-results li.active-result.highlighted, .dtlms-course-detail .dtlms-course-detail-content .dtlms-coursedetail-cart-details .dtlms-button:hover, .dtlms-class-detail .dtlms-class-detail-content .dtlms-classdetail-cart-details .dtlms-button:hover, .type2:not(.dtlms_classes) .dt-sc-toggle-frame h5.dt-sc-toggle-accordion.active a, .type2:not(.dtlms_classes) .dt-sc-toggle-frame h5.dt-sc-toggle.active a, .dt-sc-button.filled.dt-sc-skin-highlight, .dt-sc-button.filled.dt-skin-secondary-bg:hover, .type8.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a:hover, .type1.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a:hover, .dtlms-class-detail.type4 .dtlms-tabs-horizontal-container ul.dtlms-tabs-horizontal li a.current, .dtlms-class-detail.type4 .dtlms-tabs-horizontal-container ul.dtlms-tabs-horizontal li a:hover, #avatar-crop-actions a.button, .dt-sc-portfolio-sorting.type9 a.active-sort, .dt-sc-portfolio-sorting.type9 a:hover, .dt-sc-newsletter-section .dt-sc-subscribe-frm input[type="submit"], .dt-sc-team.hide-details-show-on-hover.dt-sc-one-course-team li a, .dtlms-course-category-item.type5 .dtlms-category-total-items, .page-template-default.page table.dtlms-custom-table td a.dtlms-button.dtlms-view-class-result, .page-template-default.page table.dtlms-custom-table td a.dtlms-button.dtlms-view-course-result, .dtlms-course-category-item.type5 .dtlms-course-category-meta-data h3 a, .dtlms-class-detail.type1 .dtlms-tabs-horizontal-container ul.dtlms-tabs-horizontal li a:hover, .type5.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a:hover, div[class$="details-holder"] .dtlms-pagination.dtlms-ajax-pagination ul.page-numbers li > span.current, .dtlms-quiz-features-list ~ .dtlms-info-box, #dtlms-course-curriculum-popup.dtlms-course-curriculum-popup-quiz .dtlms-course-curriculum-popup-container .dtlms-four-fifth .dtlms-curriculum-content-holder > div.dtlms-quiz-details-container .dtlms-info-box strong, #dtlms-course-curriculum-popup.dtlms-course-curriculum-popup-lesson .dtlms-course-curriculum-popup-container .dtlms-four-fifth .dtlms-curriculum-content-holder > div.dtlms-lesson-details-container .dtlms-info-box strong, .dtlms-quiz-questions .dtlms-boolean span label, .dtlms-quiz-questions ul:not(.dtlms-question-image-options) li label, .type2.dtlms-packagelist-item-wrapper .dtlms-packagedetail-cart-details a:hover { color:'.$primary_alternate_color.'}';

		$output .= '.type2:not(.dtlms_classes) .dt-sc-toggle-frame h5.dt-sc-toggle-accordion.active:after { background-color:'.$primary_alternate_color.'}';
		
	}


	# Secondary Color Override (If Lighter one)
	if($secondary_alternate_color != '') {
		$output .= '

		.dtlms-course-detail .dtlms-coursedetail-cart-link:hover, .dtlms-course-detail-author .dtlms-author-contact-details > li > a:hover, .dtlms-class-detail .dtlms-classdetail-cart-link:hover, .dtlms-class-detail-author .dtlms-author-contact-details > li > a:hover, .dtlms-course-category-item.type10 .dtlms-course-category-meta-data > span, .dtlms-course-category-item.type10:hover .dtlms-course-category-meta-data h3 a, .dtlms-course-detail .dtlms-coursedetail-cart-details .added_to_cart:hover, .dtlms-payment-details .dtlms-packagedetail-cart-details > a.added_to_cart:hover, input.dtlms-button:hover, input.dtlms-button[type="button"]:hover, input.dtlms-button[type="submit"]:hover, .type2.dtlms-classlist-item-wrapper .dtlms-classlist-metadata, .type7.dtlms-courselist-item-wrapper .dtlms-courselist-duration, .dtlms-instructor-item.type10:hover .dtlms-team-social-links ul li a, .dtlms-class-detail .dtlms-classdetail-cart-details .added_to_cart:hover, .dtlms-courses-listing-holder input[type="submit"]:hover, .dtlms-courses-listing-holder input[type="reset"]:hover, .dtlms-courses-listing-holder button:hover, .dtlms-courses-listing-holder input[type="button"]:hover, .dtlms-classes-listing-holder input[type="submit"]:hover, .dtlms-classes-listing-holder input[type="reset"]:hover, .dtlms-classes-listing-holder button:hover, .dtlms-classes-listing-holder input[type="button"]:hover, .dt-sc-button.filled.alternate-bg-color, .type8.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a, .dtlms-course-detail .dtlms-course-detail-content .dtlms-coursedetail-cart-details .dtlms-button, .dtlms-class-detail .dtlms-class-detail-content .dtlms-classdetail-cart-details .dtlms-button, .dt-sc-button.filled.dt-skin-secondary-bg, .dt-sc-button.filled.dt-sc-skin-highlight:hover, .dt-header-menu ul.dt-primary-nav li.has-mega-menu div[class*="list-item-wrapper"].type1 div[class*="list-details"] a.dtlms-button:hover, .type1.dtlms-courselist-item-wrapper .dtlms-courselist-details .dtlms-coursedetail-price-details ins, #avatar-crop-actions a.button:hover, .dt-sc-newsletter-section .dt-sc-subscribe-frm input[type="submit"]:hover, .dt-sc-team.hide-details-show-on-hover.dt-sc-one-course-team li a:hover, .dt-sc-university-tab ul.dt-sc-tabs-horizontal-frame > li > a.current, .dt-sc-university-tab ul.dt-sc-tabs-horizontal-frame > li > a.current:hover, .page-template-default.page table.dtlms-custom-table td a.dtlms-button.dtlms-view-class-result:hover, .page-template-default.page table.dtlms-custom-table td a.dtlms-button.dtlms-view-course-result:hover, .type7.dtlms-courselist-item-wrapper .dtlms-courselist-tags a:hover { color:'.$secondary_alternate_color.'}';
	}


	# Tertiary Color Override
	if($tertiary_alternate_color != '') {
		$output .= '.dtlms, .type10.dtlms-courselist-item-wrapper .dtlms-coursedetail-cart-details a { color:'.$tertiary_alternate_color.'}';
	}


	// Font Family
	$title_font_family = dtlms_option('typography', 'title-font-family');

	if($title_font_family != '') {
		$output .= '.question-title-counter, .dtlms-title, .dtlms-question div[class$="container"] > h5, .wp-admin div[id*="result-popup"] .dtlms-question div[class$="container"] > h5, .dtlms-questions-list .dtlms-question-title .dtlms-question-title-counter, .dtlms-course-detail .dtlms-main-title-section h2, .dtlms-class-detail .dtlms-main-title-section h2 { font-family:'.$title_font_family.';}';		
	}


	return $output;

}

?>