<?php

    $skin_care_products_theme_css= "";

    /*--------------------------- Scroll to top positions -------------------*/

    $skin_care_products_scroll_position = get_theme_mod( 'skin_care_products_scroll_top_position','Right');
    if($skin_care_products_scroll_position == 'Right'){
        $skin_care_products_theme_css .='#button{';
            $skin_care_products_theme_css .='right: 20px;';
        $skin_care_products_theme_css .='}';
    }else if($skin_care_products_scroll_position == 'Left'){
        $skin_care_products_theme_css .='#button{';
            $skin_care_products_theme_css .='left: 20px;';
        $skin_care_products_theme_css .='}';
    }else if($skin_care_products_scroll_position == 'Center'){
        $skin_care_products_theme_css .='#button{';
            $skin_care_products_theme_css .='right: 50%;left: 50%;';
        $skin_care_products_theme_css .='}';
    }

    /*--------------------------- Footer Widget Heading Alignment -------------------*/

    $skin_care_products_footer_widget_heading_alignment = get_theme_mod( 'skin_care_products_footer_widget_heading_alignment','Left');
    if($skin_care_products_footer_widget_heading_alignment == 'Left'){
        $skin_care_products_theme_css .='#colophon h5, h5.footer-column-widget-title{';
        $skin_care_products_theme_css .='text-align: left;';
        $skin_care_products_theme_css .='}';
    }else if($skin_care_products_footer_widget_heading_alignment == 'Center'){
        $skin_care_products_theme_css .='#colophon h5, h5.footer-column-widget-title{';
            $skin_care_products_theme_css .='text-align: center;';
        $skin_care_products_theme_css .='}';
    }else if($skin_care_products_footer_widget_heading_alignment == 'Right'){
        $skin_care_products_theme_css .='#colophon h5, h5.footer-column-widget-title{';
            $skin_care_products_theme_css .='text-align: right;';
        $skin_care_products_theme_css .='}';
    }

    /*--------------------------- Footer Widget Content Alignment -------------------*/

    $skin_care_products_footer_widget_content_alignment = get_theme_mod( 'skin_care_products_footer_widget_content_alignment','Left');
    if($skin_care_products_footer_widget_content_alignment == 'Left'){
        $skin_care_products_theme_css .='#colophon ul, #colophon p, .tagcloud, .widget{';
        $skin_care_products_theme_css .='text-align: left;';
        $skin_care_products_theme_css .='}';
    }else if($skin_care_products_footer_widget_content_alignment == 'Center'){
        $skin_care_products_theme_css .='#colophon ul, #colophon p, .tagcloud, .widget{';
            $skin_care_products_theme_css .='text-align: center;';
        $skin_care_products_theme_css .='}';
    }else if($skin_care_products_footer_widget_content_alignment == 'Right'){
        $skin_care_products_theme_css .='#colophon ul, #colophon p, .tagcloud, .widget{';
            $skin_care_products_theme_css .='text-align: right;';
        $skin_care_products_theme_css .='}';
    }

    /*--------------------------- Copyright Content Alignment -------------------*/

    $skin_care_products_copyright_content_alignment = get_theme_mod( 'skin_care_products_copyright_content_alignment','Center');
    if($skin_care_products_copyright_content_alignment == 'Left'){
        $skin_care_products_theme_css .='.footer-menu-left{';
        $skin_care_products_theme_css .='text-align: left !important;';
        $skin_care_products_theme_css .='}';
    }else if($skin_care_products_copyright_content_alignment == 'Center'){
        $skin_care_products_theme_css .='.footer-menu-left{';
            $skin_care_products_theme_css .='text-align: center !important;';
        $skin_care_products_theme_css .='}';
    }else if($skin_care_products_copyright_content_alignment == 'Right'){
        $skin_care_products_theme_css .='.footer-menu-left{';
            $skin_care_products_theme_css .='text-align: right !important;';
        $skin_care_products_theme_css .='}';
    }

    /*---------------------------Width Layout -------------------*/

    $skin_care_products_width_option = get_theme_mod( 'skin_care_products_width_option','Full Width');
    if($skin_care_products_width_option == 'Boxed Width'){
        $skin_care_products_theme_css .='body{';
            $skin_care_products_theme_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
        $skin_care_products_theme_css .='}';
        $skin_care_products_theme_css .='.scrollup i{';
            $skin_care_products_theme_css .='right: 100px;';
        $skin_care_products_theme_css .='}';
        $skin_care_products_theme_css .='.page-template-custom-home-page .home-page-header{';
            $skin_care_products_theme_css .='padding: 0px 40px 0 10px;';
        $skin_care_products_theme_css .='}';
    }else if($skin_care_products_width_option == 'Wide Width'){
        $skin_care_products_theme_css .='body{';
            $skin_care_products_theme_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
        $skin_care_products_theme_css .='}';
        $skin_care_products_theme_css .='.scrollup i{';
            $skin_care_products_theme_css .='right: 30px;';
        $skin_care_products_theme_css .='}';
    }else if($skin_care_products_width_option == 'Full Width'){
        $skin_care_products_theme_css .='body{';
            $skin_care_products_theme_css .='max-width: 100%;';
        $skin_care_products_theme_css .='}';
    }

    /*------------------ Nav Menus -------------------*/

    $skin_care_products_nav_menu = get_theme_mod( 'skin_care_products_nav_menu_text_transform','Capitalize');
    if($skin_care_products_nav_menu == 'Capitalize'){
        $skin_care_products_theme_css .='.main-navigation .menu > li > a{';
            $skin_care_products_theme_css .='text-transform:Capitalize;';
        $skin_care_products_theme_css .='}';
    }
    if($skin_care_products_nav_menu == 'Lowercase'){
        $skin_care_products_theme_css .='.main-navigation .menu > li > a{';
            $skin_care_products_theme_css .='text-transform:Lowercase;';
        $skin_care_products_theme_css .='}';
    }
    if($skin_care_products_nav_menu == 'Uppercase'){
        $skin_care_products_theme_css .='.main-navigation .menu > li > a{';
            $skin_care_products_theme_css .='text-transform:Uppercase;';
        $skin_care_products_theme_css .='}';
    }

    $skin_care_products_menu_font_size = get_theme_mod( 'skin_care_products_menu_font_size');
    if($skin_care_products_menu_font_size != ''){
        $skin_care_products_theme_css .='.main-navigation .menu > li > a{';
            $skin_care_products_theme_css .='font-size: '.esc_attr($skin_care_products_menu_font_size).'px;';
        $skin_care_products_theme_css .='}';
    }

    $skin_care_products_nav_menu_font_weight = get_theme_mod( 'skin_care_products_nav_menu_font_weight',500);
    if($skin_care_products_menu_font_size != ''){
        $skin_care_products_theme_css .='.main-navigation .menu > li > a{';
            $skin_care_products_theme_css .='font-weight: '.esc_attr($skin_care_products_nav_menu_font_weight).';';
        $skin_care_products_theme_css .='}';
    }

    /*-------------------- Global First Color -------------------*/

    $skin_care_products_first_color = get_theme_mod('skin_care_products_first_color');

    if ($skin_care_products_first_color) {
        $skin_care_products_theme_css .= ':root {';
        $skin_care_products_theme_css .= '--first-color: ' . esc_attr($skin_care_products_first_color) . ' !important;';
        $skin_care_products_theme_css .= '} ';
    }

    /*-------------------- Heading typography -------------------*/

    $skin_care_products_heading_color = get_theme_mod('skin_care_products_heading_color');
    $skin_care_products_heading_font_family = get_theme_mod('skin_care_products_heading_font_family');
    $skin_care_products_heading_font_size = get_theme_mod('skin_care_products_heading_font_size');
    if($skin_care_products_heading_color != false || $skin_care_products_heading_font_family != false || $skin_care_products_heading_font_size != false){
        $skin_care_products_theme_css .='h1, h2, h3, h4, h5, h6, .navbar-brand h1.site-title, h2.entry-title, h1.entry-title, h2.page-title, #latest_post h2, h2.woocommerce-loop-product__title, #top-slider .slider-inner-box h3, .featured h3.main-heading, .article-box h3.entry-title, .featured h4.main-heading, .ser-content h4 a, #colophon h5, .sidebar h5{';
            $skin_care_products_theme_css .='color: '.esc_attr($skin_care_products_heading_color).'!important; 
            font-family: '.esc_attr($skin_care_products_heading_font_family).'!important;
            font-size: '.esc_attr($skin_care_products_heading_font_size).'px !important;';
        $skin_care_products_theme_css .='}';
    }

    $skin_care_products_paragraph_color = get_theme_mod('skin_care_products_paragraph_color');
    $skin_care_products_paragraph_font_family = get_theme_mod('skin_care_products_paragraph_font_family');
    $skin_care_products_paragraph_font_size = get_theme_mod('skin_care_products_paragraph_font_size');
    if($skin_care_products_paragraph_color != false || $skin_care_products_paragraph_font_family != false || $skin_care_products_paragraph_font_size != false){
        $skin_care_products_theme_css .='p, p.site-title, span, .article-box p, ul, li{';
            $skin_care_products_theme_css .='color: '.esc_attr($skin_care_products_paragraph_color).'!important; 
            font-family: '.esc_attr($skin_care_products_paragraph_font_family).'!important;
            font-size: '.esc_attr($skin_care_products_paragraph_font_size).'px !important;';
        $skin_care_products_theme_css .='}';
    }

    /*---------------- Logo CSS ----------------------*/
    $skin_care_products_logo_title_font_size = get_theme_mod( 'skin_care_products_logo_title_font_size');
    $skin_care_products_logo_tagline_font_size = get_theme_mod( 'skin_care_products_logo_tagline_font_size');
    if( $skin_care_products_logo_title_font_size != '') {
        $skin_care_products_theme_css .='#masthead .navbar-brand a{';
            $skin_care_products_theme_css .='font-size: '. $skin_care_products_logo_title_font_size. 'px;';
        $skin_care_products_theme_css .='}';
    }
    if( $skin_care_products_logo_tagline_font_size != '') {
        $skin_care_products_theme_css .='#masthead .navbar-brand p{';
            $skin_care_products_theme_css .='font-size: '. $skin_care_products_logo_tagline_font_size. 'px;';
        $skin_care_products_theme_css .='}';
    }

    /*------------------ Slider CSS -------------------*/

    $skin_care_products_slider_content_layout = get_theme_mod( 'skin_care_products_slider_content_layout','Left');
    if($skin_care_products_slider_content_layout == 'Left'){
        $skin_care_products_theme_css .='.slider-inner-box, #top-slider .slider-inner-box p{';
            $skin_care_products_theme_css .='text-align : left;';
        $skin_care_products_theme_css .='}';
    }
    if($skin_care_products_slider_content_layout == 'Center'){
        $skin_care_products_theme_css .='.slider-inner-box, #top-slider .slider-inner-box p{';
            $skin_care_products_theme_css .='text-align : center;';
        $skin_care_products_theme_css .='}';
    }
    if($skin_care_products_slider_content_layout == 'Right'){
        $skin_care_products_theme_css .='.slider-inner-box, #top-slider .slider-inner-box p{';
            $skin_care_products_theme_css .='text-align : right;';
        $skin_care_products_theme_css .='}';
    }

    /*------------------ Slider CSS -------------------*/
    $skin_care_products_slider_opacity_setting = get_theme_mod( 'skin_care_products_slider_opacity_setting',false);
    $skin_care_products_image_opacity_color = get_theme_mod( 'skin_care_products_image_opacity_color');
    $skin_care_products_slider_opacity = get_theme_mod( 'skin_care_products_slider_opacity');
    if( $skin_care_products_slider_opacity_setting != false) {
        $skin_care_products_theme_css .='.slider-image img{';
            $skin_care_products_theme_css .='opacity: '. $skin_care_products_slider_opacity. ';';
        $skin_care_products_theme_css .='}';
        if( $skin_care_products_image_opacity_color != '') {
            $skin_care_products_theme_css .='.slider-image{';
                $skin_care_products_theme_css .='background-color: '. $skin_care_products_image_opacity_color. ';';
            $skin_care_products_theme_css .='}';
        }
    }

    /*------------------ Footer CSS -------------------*/
    $skin_care_products_footer_bg_color = get_theme_mod( 'skin_care_products_footer_bg_color');
    if($skin_care_products_footer_bg_color != '' ){
        $skin_care_products_theme_css .='#colophon {';
            $skin_care_products_theme_css .='background-color: '.esc_attr($skin_care_products_footer_bg_color).'; ';
        $skin_care_products_theme_css .='}';
    }

    $skin_care_products_footer_content_color = get_theme_mod( 'skin_care_products_footer_content_color');
    if($skin_care_products_footer_content_color != ''){
        $skin_care_products_theme_css .='#colophon, #colophon a, #colophon h5, #colophon .widget #wp-calendar caption {';
            $skin_care_products_theme_css .='color: '.esc_attr($skin_care_products_footer_content_color).';';
        $skin_care_products_theme_css .='}';
    }

    /*------------------ Copyright CSS -------------------*/
    $skin_care_products_copyright_text_color = get_theme_mod( 'skin_care_products_copyright_text_color');
    if($skin_care_products_copyright_text_color != ''){
        $skin_care_products_theme_css .='#colophon .site-info a, #colophon .site-info span {';
            $skin_care_products_theme_css .='color: '.esc_attr($skin_care_products_copyright_text_color).';';
        $skin_care_products_theme_css .='}';
    }

    /*--------------------------- Featured Image Border Radius -------------------*/

    $skin_care_products_post_page_image_border_radius = get_theme_mod('skin_care_products_post_page_image_border_radius', 0);
    if($skin_care_products_post_page_image_border_radius != false){
        $skin_care_products_theme_css .='.article-box img{';
            $skin_care_products_theme_css .='border-radius: '.esc_attr($skin_care_products_post_page_image_border_radius).'px;';
        $skin_care_products_theme_css .='}';
    }

    /*--------------------------- Post Page Image Box Shadow -------------------*/

    $skin_care_products_post_page_image_box_shadow = get_theme_mod('skin_care_products_post_page_image_box_shadow',0);
    if($skin_care_products_post_page_image_box_shadow != false){
        $skin_care_products_theme_css .='.article-box img{';
            $skin_care_products_theme_css .='box-shadow: '.esc_attr($skin_care_products_post_page_image_box_shadow).'px '.esc_attr($skin_care_products_post_page_image_box_shadow).'px '.esc_attr($skin_care_products_post_page_image_box_shadow).'px #cccccc;';
        $skin_care_products_theme_css .='}';
    }

    /*---------------- Single post Settings ------------------*/

    $skin_care_products_single_post_navigation_show_hide = get_theme_mod('skin_care_products_single_post_navigation_show_hide',true);
    if($skin_care_products_single_post_navigation_show_hide != true){
        $skin_care_products_theme_css .='.nav-links{';
            $skin_care_products_theme_css .='display: none;';
        $skin_care_products_theme_css .='}';
    }

    /*--------------------------- Single Post Page Image Box Shadow -------------------*/

    $skin_care_products_single_post_page_image_box_shadow = get_theme_mod('skin_care_products_single_post_page_image_box_shadow',0);
    if($skin_care_products_single_post_page_image_box_shadow != false){
        $skin_care_products_theme_css .='.single-post .entry-header img{';
            $skin_care_products_theme_css .='box-shadow: '.esc_attr($skin_care_products_single_post_page_image_box_shadow).'px '.esc_attr($skin_care_products_single_post_page_image_box_shadow).'px '.esc_attr($skin_care_products_single_post_page_image_box_shadow).'px #cccccc;';
        $skin_care_products_theme_css .='}';
    }

     /*--------------------------- Single Post Page Image Border Radius -------------------*/

    $skin_care_products_single_post_page_image_border_radius = get_theme_mod('skin_care_products_single_post_page_image_border_radius', 0);
    if($skin_care_products_single_post_page_image_border_radius != false){
        $skin_care_products_theme_css .='.single-post .entry-header img{';
            $skin_care_products_theme_css .='border-radius: '.esc_attr($skin_care_products_single_post_page_image_border_radius).'px;';
        $skin_care_products_theme_css .='}';
    }