<?php

    $traveller_agency_theme_css= "";

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

    $traveller_agency_global_color = get_theme_mod('traveller_agency_global_color');

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

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

    $tour_operator_agency_slider_content_layout = get_theme_mod( 'tour_operator_agency_slider_content_layout','Right');
    if($tour_operator_agency_slider_content_layout == 'Left'){
        $traveller_agency_theme_css .='.slider-inner-box, .slider-inner-box h1, .slider-inner-box h2{';
            $traveller_agency_theme_css .='text-align : left !important;';
        $traveller_agency_theme_css .='}';
        $traveller_agency_theme_css .='.slider-inner-box{';
            $traveller_agency_theme_css .='left: 15%; right: 45%;';
        $traveller_agency_theme_css .='}';
    }
    if($tour_operator_agency_slider_content_layout == 'Center'){
        $traveller_agency_theme_css .='.slider-inner-box, .slider-inner-box h1, .slider-inner-box h2{';
            $traveller_agency_theme_css .='text-align : center !important;';
        $traveller_agency_theme_css .='}';
        $traveller_agency_theme_css .='.slider-inner-box{';
            $traveller_agency_theme_css .='left: 30%; right: 30%;';
        $traveller_agency_theme_css .='}';
    }
    if($tour_operator_agency_slider_content_layout == 'Right'){
        $traveller_agency_theme_css .='.slider-inner-box, .slider-inner-box h1, .slider-inner-box h2{';
            $traveller_agency_theme_css .='text-align : right !important;';
        $traveller_agency_theme_css .='}';
    }

    /*--------------------------- Preloader color -------------------*/
    $traveller_agency_preloader2_dot_color = get_theme_mod( 'traveller_agency_preloader2_dot_color');
    if( $traveller_agency_preloader2_dot_color != '') {
        $traveller_agency_theme_css .='.load hr {';
            $traveller_agency_theme_css .='background-color: '. $traveller_agency_preloader2_dot_color. ';';
        $traveller_agency_theme_css .='}';
    }