/*
 Theme Name:   EOA Child Theme
 Description:  Custom Child theme for EO-Automation
 Template:     twentyseventeen
 Version:      1.0.0
*/

/*------------ Site Banner -----------*/

/*Video Banner*/
.wp-custom-header-video {="https://eo-automation.com/wp-content/uploads/2023/04/EO-Automation_Ref-en.mp4";}
.wp-custom-header-video-button {
display:none;}

/*Site Branding Position & BG Color*/
.site-branding {direction:ltr;background-color:#4D5E3830;padding:0.3%;}

/*Site Logo*/
img.custom-logo {max-height: 140px !important;}
.translatepress-ar img.custom-logo {padding-right: 1.5rem !important; /*margin-left: -1.5rem !important;*/}

/*Site Title on Media Location*/
/*@media screen and (min-width:48em) {*/
	.wrap { max-width:100%; }

/* Language Switcher Style */
#trp-floater-ls {min-width:0rem;}


/*-------- Child-Theme Fixes ---------*/

/* Fix for Twenty Seventeen Child Theme horizontal scroll */
.has-header-image .custom-header,
.has-header-video .custom-header,
.has-header-image.twentyseventeen-front-page .custom-header,
.has-header-video.twentyseventeen-front-page .custom-header {
    overflow-x: hidden;
    width: 100%;
}

/* Ensure the HTML/Body doesn't allow sideways movement */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}


/* Main navigation Submenu */
body.rtl .main-navigation ul ul li {
    text-align: Right !important;
		width: 15rem !important;
}

.translatepress-en_GB body.rtl .main-navigation ul ul li {
    text-align: Left !important;
		width: 15rem !important;
}

.icon.icon-angle-down {margin-right: 0.5rem; }




/*----------- Mobile Mode ------------*/

/*Site Branding size on Mobile*/
@media (max-width: 767px) {
.site-branding {direction:ltr; background-color: #4D5E3830; padding:10% 0%;}
.site-branding-text {font-size:30%;font-family:"Agency FB","Calibri";}
.site-branding-text .site-description {font-size:1.1rem;font-family:"Calibri";font-weight:bold;}
.translatepress-en_GB .site-branding-text .site-description {font-size:0.78rem;/*font-family:"Calibri"*/;text-indent:0%;/*display: none*/}
.translatepress-en_GB .site-branding-text {font-size:0.27rem;font-family:"Calibri";}
/*Maximizing of Site Logo Icon */
img.custom-logo {max-height: 40px !important;}
	
.menu{font-size:100%;font-family:"GE SS Two Light", "Segoe UI Semibold"}

/*Hiding the scroll down arrow*/
#menu-item-327{display:none;}
.wrap {max-width: 100%;}
	
/*Page Heading & Content Styling*/
.translatepress-en_GB .entry-content .wp-block-heading {font-size:110%;font-family: "Calibri"}
.translatepress-en_GB p {font-size:60%;font-family: "Calibri"; text-align: justify}
.translatepress-en_GB .has-text-align-center {text-align: center}
}
 
/*--------- Navigation Menu ----------*/

/*Maintain the full width first*/
.navigation-top .wrap {max-width: 100%;
		padding: 0% 0%;}
/*Then align menu items to Center*/
#top-menu {text-align: center;}

/*Fix Menu List Ident to Zero*/
.menu {text-indent:0%;justify-content: center; }

/*NavMenu Highlight according to Area related to "Page scroll to id" plugin*/
.mPS2id-highlight-first{background: #FCFCFC;}

.main-navigation .menu-scroll-down {display:none;}

/*-------- Page Panels Styling -------*/

.panel-content .wrap {padding:0%;}
.panel-image {height:350px; width:100%; padding:auto-flow; text-align:center; text-anchor:panel1}

#cover_services {height:10%; width:100%; padding:auto; background-position: center center ;background-repeat: no-repeat; background-size: cover; position:relative; background-attachment: fixed;}

/*-------- Page Content Style --------*/

/*Page Content Fullwidth Request*/
.page-one-column .panel-content .wrap {
		max-width: 65%;}

/* Centering Video Content*/
.wp-block-group {text-Align:center; padding:auto;}

/*Sticky Buttons Margin*/
.wp-block-themeisle-blocks-button-group {margin: 3% 0% !important;}
/*Logo Slider Padding & Centering*/
.gs_logo_area {max-width: 100%;padding: 0% 0%;text-align:center;}

/*Flip Card Container*/
.wp-block-themeisle-blocks-flip.anim.flipY.has-dark-back-bg{line-height:1;}

/*------- General Text Styling -------*/

/*To Hide Container Heading Text*/
.entry-title {display: none;}

/*Services Font for arabic digits
.ticss-c00aadbb {text-align:justify;}*/
/*.ticss-a9444b3e {font-family:"GE SS Two" !important;}*/
/*Brands Font for arabic digits*/
.ticss-c00aadba {font-family:"Calibri";}
/*Software Font for arabic digits*/
.software {font-family:"Calibri";}
/*Flip Cards Font for arabic digits*/
.has-dark-back-bg {font-family: "Calibri";font-size:250%;}
/*Projects Justify in Mobile*/
.tw-lg-hidden {text-align:justify;}
/*Hiding Sticky Buttons of SCOPE*/
.o-sticky.o-sticky-pos-top.o-sticky-bhvr-keep.o-sticky-scope-main-area {display: none;}

/*Arabic Text Styling*/
/*h2 {Font-family: "Cairo"}*/
.site-title {font-size:500%;font-family:"Agency FB";font-weight: bold}
.site-description {font-size:195%;font-family:"GE SS Two Bold", "Segoe UI Semibold" !important}
.menu-toggle{font-size:150%;font-family:"GE SS Two Bold", "Segoe UI Semibold"}
.menu{font-size:170%;font-family:"GE SS Two Light", "Segoe UI Semibold"}
.trp-ls-language-name {font-size:100%;font-family:"Cairo", "Agency FB", "Segoe UI Semibold" !important}
.trp-with-flags{font-size:140%;font-family:"Cairo", "Agency FB", "Segoe UI Semibold"}
.trp-language-wrap{font-size:120%;font-family:"Cairo", "Agency FB", "Segoe UI Semibold"}
.wp-block-heading{font-size:180%;font-family:"Cairo", "GE SS Two Bold", "Calibri"}
#trp-floater-ls {font-family:"Cairo"}
.trp-language-wrap.trp-language-wrap-top{font-family:"Cairo"}
.entry-content{font-size:140%;font-family:"GE SS Two Light", "Calibri";text-align:justify}
.site-info {font-size:140%;font-family:"GE SS Two Light"; text-align: center;width:100%;}
.o-flip-inner {font-size:140%;font-family:"Calibri", "Agency FB", "Segoe UI Semibold"}
.forminator-step-label {font-family: "GE SS Two Light" !important;font-size: 1.1rem !important; padding: 0rem 0.5rem;}
.forminator-row, .forminator-field, .forminator-field-checkbox {font-family: "GE SS Two Light" !important; font-size: 2rem !important;}
.forminator-button--text {font-family: "GE SS Two" !important;}
.select2-selection {font-family: "Agency FB" !important;}

/* English Text Styling*/
.translatepress-en_GB .site-description {font-size:300%;font-family:"Agency FB";text-indent:1% !important;}
.translatepress-en_GB .menu{font-size:170%;font-family:"Agency FB"}
/*.translatepress-en_GB .trp-ls-language-name {font-size:100%;font-family:"GE SS Two Bold"}*/
/*.translatepress-en_GB .trp-with-flags{font-size:140%;font-family:"GE SS Two Bold"}*/
/*.translatepress-en_GB .trp-language-wrap{font-size:120%;font-family:"GE SS Two Bold"}*/
/*.translatepress-en_GB #trp-floater-ls {font-family:"Agency FB"}*/
.translatepress-en_GB .wp-block-heading{font-size:210%;font-family:"Agency FB"}
.translatepress-en_GB .entry-content {font-size:200%;font-family:"Agency FB"; text-align: justify}
.translatepress-en_GB .forminator-step-label {font-family: "Agency FB" !important;font-size:1.5rem !important;}
.translatepress-en_GB .forminator-row {font-family: "Agency FB" !important; font-size: 1.5rem !important;}
.translatepress-en_GB .forminator-button--text {font-family: "Agency FB" !important;}
.translatepress-en_GB .forminator-input--wrap {font-family: "Agency FB" !important;}

/*Site-info at Footer*/
.translatepress-en_GB .site-info {font-size:170%;font-family:"Agency FB"; text-align: center;width:100%;}

/*Making the into video Fullwidth*/
.wp-block-group.is-vertical.is-content-justification-stretch.is-layout-flex {
    max-width: none !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wp-block-group.is-vertical.is-content-justification-stretch.is-layout-flex video {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    height: auto !important;
    min-height: 100vh !important;
    object-fit: contain !important;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .wp-block-group.is-vertical.is-content-justification-stretch.is-layout-flex video {
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
        height: auto !important;
        min-height: 50vh !important;
    }
}

/*---------- PRICING PAGES -----------*/

/* Hide navigation on a specific page */

/*.page-id-1989 header,*/
.page-id-1989 .main-navigation,
.page-id-1989 #site-navigation,
/*.page-id-1989 #trp-floater-ls*/ {display: none !important;
}

.page-id-1989 #trp-floater-ls {
    left: auto !important;
    right: 10rem !important; /* Adjust the 20px to your preferred spacing */
	  min-width: 0rem;
}

/*.page-id-2304 header,*/
.page-id-2304 .main-navigation,
.page-id-2304 #site-navigation,
/*.page-id-2304 #trp-floater-ls*/{display: none !important;
}

.page-id-2304 #trp-floater-ls {
    left: auto !important;
    right: 10rem !important; /* Adjust the 20px to your preferred spacing */
	  min-width: 0rem;
}

/*.page-id-2308 header,*/
.page-id-2308 .main-navigation,
.page-id-2308 #site-navigation,
/*.page-id-2308 #trp-floater-ls*/ {display: none !important;
}

.page-id-2308 #trp-floater-ls {
    left: auto !important;
    right: 10rem !important; /* Adjust the 20px to your preferred spacing */
	  min-width: 0rem;
}

/*-----Removing Header Gaps*/

/* ADD PAGE IDs HERE*/
.page-id-1989, 
.page-id-2304, 
.page-id-2308 {

    /* 1. Collapse the main content container gap */
    & .site-content {
        padding-top: 0 !important;
    }

    /* 2. Hide the entry header (Page Title) */
    & .entry-header {
        display: none !important;
    }

    /* 3. Remove margins from the main content areas */
    & .site-main,
    & .entry-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* 4. Remove space from theme header/branding */
    & .custom-header,
    & .site-branding {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* 5. Hide the navigation bar container */
    & .navigation-top {
        display: none !important;
    }

    /* 6. Hide the gap over the navigation bar while scrolling */
	  & .ticss-b3e298a1 {top:0 !important
		}
	
	& #wp-block-themeisle-blocks-advanced-columns-dab9e0bf {padding-top: 20px}	
}

& .translatepress-en_GB .site-description {font-size:200%;font-family:"Agency FB";text-indent:1%;}

/*----- Fixing Forminator Issues -----*/

/* Solve reject of keystrokes in input*/
.forminator-field--phone { padding-left: 0px !important; padding-right: 0px !important; }

/* 1. Target the input using its specific Forminator and ITI classes */
.translatepress-ar #phone-1 .iti__tel-input, 
.translatepress-ar #phone-1 input.forminator-input {
    /* Forces the text direction from Left-to-Right */
    direction: ltr !important;
    
    /* Aligns the text and cursor to the left */
    text-align: right !important;    
}

/* ------ Hide WP link @ footer ------*/

.imprint {
    pointer-events: none; /* Disables clicking */
    cursor: default;     /* Removes the pointer finger icon */
    text-decoration: none; /* Removes the underline */
    color: inherit;      /* Makes it match the surrounding text color */
}