/* 
Theme Name:		Hello Elementor Child
Theme URI:		https://elementor.com/
Description:	Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author:			Elementor Team
Author URI:		https://elementor.com/
Template:		hello-elementor
Version:		1.0.0
Text Domain:	hello-elementor-child
Tags:           flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Roobix Font: Source Sans Pro */

/* source-sans-pro-regular - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
        url('assets/fonts/source-sans-pro-v13-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('assets/fonts/source-sans-pro-v13-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

/* source-sans-pro-600 - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'),
         url('assets/fonts/source-sans-pro-v13-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('assets/fonts/source-sans-pro-v13-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

/* source-sans-pro-700 - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'),
        url('assets/fonts/source-sans-pro-v13-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
        url('assets/fonts/source-sans-pro-v13-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

body {
    color: #404041;
    font-family: 'Source Sans Pro';
    overflow-x: hidden;
}

a {
    color: #1c658e;
}

/* Roobix Color Palette */

.strat-f { color: #1C658E; }
.strat-b { background-color: #1C658E; }

.brand-f { color: #E26726; }
.brand-b { background-color: #E26726; }

.comms-f { color: #F5CA19; }
.comms-b { background-color: #F5CA19; }

.digit-f { color: #BB2027; }
.digit-b { background-color: #BB2027; }

.event-f { color: #822779; }
.event-b { background-color: #822779; }

.autom-f { color: #65923F; }
.autom-b { background-color: #65923F; }

.black-f { color: #404041; }
.black-b { background-color: #404041; }

.white-f { color: #ffffff; }
.white-b { background-color:#ffffff; }

.bold {
    font-weight: bold;
}

/* MISC SECTION */

/* Back to top button */

#rb-btt {
    position: fixed;
    bottom: 130px;
    right: 30px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#rb-btt i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#rb-btt:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Front Page */

.hexagons {
    opacity:0;
}

/* rb_filter_posts styling  - roobix template */

.rb_filter_posts.tpl-roobix .item, .rb_slide_posts.tpl-roobix .item {
    text-align:center;
}

.rb_filter_posts.tpl-roobix .item .button,
.rb_slide_posts.tpl-roobix .item .button,
.rb_tab_posts .button {
    display: block;
    text-align:center;
    background-color: #1C658E;
    color: #fff;
    border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    -webkit-border-radius: 0.25em;
    padding:0.5em 1em;
    transition:all .3s ease-in-out;
}

.rb_filter_posts.tpl-roobix .item .button:hover,
.rb_slide_posts.tpl-roobix .item .button:hover,
.rb_tab_posts .button:hover {
    transform:scale(1.05);
}

.rb_slide_posts.tpl-roobix .item .button,
.rb_filter_posts.tpl-roobix .item .button {
    width:100%;
}

.rb_slide_posts.tpl-roobix .item .perc_num,
.rb_filter_posts.tpl-roobix .item .perc_num {
    font-size:2.7em;
    font-weight:bold;
}

.rb_slide_posts.tpl-roobix .item .perc_sym,
.rb_filter_posts.tpl-roobix .item .perc_sym {
    vertical-align: super;
    font-size:2em;
    margin:0 0.1em;
}

.rb_slide_posts.tpl-roobix .item .perc_inc,
.rb_filter_posts.tpl-roobix .item .perc_inc {
    vertical-align: sub;
}

.rb_slide_posts.tpl-roobix .item .perc_msg,
.rb_filter_posts.tpl-roobix .item .perc_msg {
    font-size:0.8em;
    margin-bottom:1em;
}

/* Your Needs */

.rb_filter_posts.tpl-roobix-needs {
    text-align: center;
}

.rb_filter_posts.tpl-roobix-needs .item:hover {
    transform:scale(1.05);
}

.rb_filter_posts.tpl-roobix-needs .item .title {
    margin:0;
    padding:0;
    min-height:auto;
}

.rb_filter_posts.tpl-roobix-needs .item a {
    display:block;
    border-radius: 0.7em;
}

.rb_filter_posts.tpl-roobix-needs .upper {
    color: #404041;
    position: relative;
    min-height:7em;
}

.rb_filter_posts.tpl-roobix-needs .lower {
    color:white;
    padding:1em;
    position: relative;
    min-height:10em;
    border-radius:0.5em;
    border-bottom:none;
}

.rb_filter_posts.tpl-roobix-needs .lower .title {
    font-size:2em;
    width:100%;
}

.rb_filter_posts.tpl-roobix-needs .inner {
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    width:95%;
}


.rb_filter_posts.tpl-roobix-needs .item-2941 .upper .inner > div:first-child {
    display:none;
}

/* Our People */

.rb_filter_posts.tpl-roobix-people .item .title,
.rb_filter_posts.tpl-roobix-people .item .department {
    text-align:center;
}

.rb_filter_posts.tpl-roobix-people .item .title {
    min-height:1.5em;
    line-height:1.5em;
    margin-top:0.75em;
}

/* News + Insights + Our People (Similar/Shared) */

.rb_filter_posts.tpl-roobix-people .item .image {
    padding-bottom:155.83%;
}

.rb_filter_posts.tpl-roobix-news .item .title {
    font-weight:normal !important;
    line-height:1.1em;
}

.rb_filter_posts.tpl-roobix-news .item .image {
    padding-bottom:78.9%;
}

.rb_filter_posts.tpl-roobix-news .grid.filters {
    margin-bottom:1.5em;
}

.rb_filter_posts.tpl-roobix-news .grid.filters .term.active:hover {
    color:white;
}

.rb_filter_posts.tpl-roobix-news .grid.filters .term.active {
    background-color:#BB2027;
    outline:1px solid #BB2027;
    color:#fff;
}

.rb_filter_posts.tpl-roobix-news .grid.filters .term {
    outline:1px solid #aaa;
    color:#aaa;
    padding: 0.75em 0.75em;
}

.rb_filter_posts.tpl-roobix-news .grid.filters .term:hover {
    color: #000;
    outline:1px solid #000;
}

.rb_filter_posts.tpl-roobix-news .terms {
    color: #BB2027;
    font-weight:bold;
    padding:0.5em 0;
    text-transform: uppercase !important;
}

.rb_filter_posts.tpl-roobix-news .terms .term {
    display:inline-block;
    padding:0.25em 0.5em;
    border:1px solid #BB2027;
    /*border-radius:0.25em;*/
    margin:0; margin-right:0.5em;
    font-size:0.75em;
    font-weight:normal;
}

.rb_filter_posts.tpl-roobix-news .terms .term:hover {
    cursor: pointer;
    background-color:#BB2027;
    color:#fff;
}

.rb_filter_posts.tpl-roobix-people .item .image,
.rb_filter_posts.tpl-roobix-news .item .image {
    position:relative;
}

.rb_filter_posts.tpl-roobix-people .item .image .overlay,
.rb_filter_posts.tpl-roobix-news .item .image .overlay {
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-image:url(assets/images/news-overlay-hex.svg);
    background-repeat:no-repeat;
    background-position:160% 50%;
    background-size:150%;
    transition:all .3s ease-in-out;
}

.rb_filter_posts.tpl-roobix-people .item .image .overlay {
    background-size:250%;
    background-position:120% 50%;
}

.rb_filter_posts.tpl-roobix-people .item .image .overlay:hover,
.rb_filter_posts.tpl-roobix-news .item .image .overlay:hover {
    background-position:300% 50%;
}

/* Search Page Styling */

.rb_filter_posts.tpl-roobix-search .item .title {
    font-size:1.3em;
    line-height:1.1em;
    font-weight:600;
    min-height:auto;
}

.rb_filter_posts.tpl-roobix-search .rb_load_more {
    border:none;
    outline:none;
    background-color: #1C658E;
    color:white;
}

/* Mega Menu (and other menu related tweaks) */

.mega-menu .rb_list_posts .rb_item {
    border-bottom:1px solid #555555;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li {
    letter-spacing:normal !important;
}

/* Hide mobile menu on tablet/desktop */
#mega-menu-wrap-secondary #mega-menu-wrap-menu-1 {
    display:none;
}

/* ul */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 { text-align:right !important; }

@media(max-width:767px){
    /* wrapper */
    #mega-menu-wrap-secondary #mega-menu-wrap-menu-1 {
        display:block;
    }
    /* ul */
    #mega-menu-wrap-menu-1 #mega-menu-menu-1 { text-align:center !important; }
}

/* Our Services font-size adjustments */
@media(min-width:1024px) and (max-width:1250px){
    .rb_item, .rb_title {
        font-size:0.8em !important;
    }
}

/* Youtube video message */

@media(min-width:768px){

    .rb_yt_embed .message {
        font-size:2em;
        line-height:1em;
    }
}

/* Support icon */

.elementor-element.support-menu.elementor-widget-icon {
    margin-bottom:0 !important;
}

/* Roobix Tab posts */

.rb_tab_posts .header .tab, .rb_tab_posts .body .title {
    color: rgba(28, 101, 142, 0.3);
    font-size:1.5em;
    padding:0.75em 0;
    line-height:1;
}

.rb_tab_posts .header .tab.active, .rb_tab_posts .body .title.active {
    color: #1c658e;
}

.rb_tab_posts .header .tab:hover, .rb_tab_posts .body .title:hover {
    color: #1c658e;
}

.rb_tab_posts .readmore .button {
    display:inline-block;
}

/* Gravity Forms Reset */

.gform_wrapper form .gform_body ul,
.gform_wrapper form .gform_body ul li {
    list-style-type: none !important;
    list-style-image: none !important;
    list-style: none !important;
    background-image: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important
}
.gform_wrapper form .gform_body ul > li:before {
    content: "";
}

.gform_wrapper .gfield_required,
.gform_wrapper .gform_validation_container {
    display: none;
}

.gform_wrapper .gfield_label {
    text-transform: uppercase;
    font-weight:600;
    font-size:1.2em;
    margin:1em 0 0.5em;
}

.gform_wrapper .gform_page_footer, .gform_wrapper .gform_footer {
    margin:1em 0;
}

.gform_wrapper .ginput_complex .name_first label {
    display: none;
}

/* Button */
.gform_wrapper input.button {
    margin-top:1.5em;
    border-color: #65923F;
    background-color: #65923F;
    color:#fff;
}

/* Validation */
.gform_wrapper .gfield_description.validation_message,
.gform_wrapper .validation_error {
    color: red;
    display: inline;
    position: absolute;
    font-size: 0.75em;    
}

/* Time field styling */
.gfield_time_hour, .gfield_time_minute, .gfield_time_ampm {
    display: inline;
    display: inline-block;
}
.gfield_time_hour i { display:none; }
.gfield_time_hour label, .gfield_time_minute label { display: block; text-align:center; color: #65923F; }
.gfield_time_hour input, .gfield_time_minute input { max-width:4em; height:2.5em; text-align:center; }
.gfield_time_ampm { vertical-align: top; }
.gfield_time_ampm select { vertical-align: top; height:2.5em; }

/* Call me back */
.greenform .gfield_time_hour label,
.greenform .gfield_time_minute label,
.greenform .gform_wrapper .gfield_label {
    color: #65923F;
}

.greenform .gform_wrapper ::placeholder { color: #65923F;  opacity: 1; }
.greenform .gform_wrapper :-ms-input-placeholder { color: #65923F; }
.greenform .gform_wrapper ::-ms-input-placeholder { color: #65923F; }


.greenform .gform_wrapper .ginput_container input,
.greenform .gform_wrapper .ginput_container select,
.greenform .gform_wrapper .ginput_container textarea,
.greenform .gform_wrapper input.gform_button.button {
    border-color: #65923F;
}

/* Textarea */

body .gform_wrapper textarea {
    height: 120px!important;
}

/* Progress Bar on Multi-steps */

.gform_wrapper .gf_progressbar { background-color: #c4cebb; border-radius:0.25em; overflow:hidden; }
.gform_wrapper .gf_progressbar_title { font-size: 1em; line-height: 1em; margin: 0 0 0.5em; text-transform: uppercase; }

.gform_wrapper .gf_progressbar .gf_progressbar_percentage { background-color: #65923F; min-height:2.5em; line-height:2.5em;}
.gform_wrapper .gf_progressbar .gf_progressbar_percentage span { color:white; text-align:center; display:inherit; }



/* Columns */

@media(min-width:768px){
    li.gf_left_half {
        clear: none;
        float: left;
        padding-right: 10px;
        padding-bottom: 10px;
        width: 48%;
    }
    li.gf_right_half {
        clear: none;
        float: right;
        padding-bottom: 10px;
        width: 48%;
    }
}

/* Checkboxes */

ul.gfield_checkbox,
ul.gfield_radio {
    list-style: none;
    padding: 0;
}
ul.gfield_checkbox input,
ul.gfield_radio input {
    margin-right: 10px;
    position: relative;
}

.gform_wrapper input[type="radio"] {
    margin-top: -1px;
    vertical-align: middle;
}

ul.gfield_radio input {
    margin-left: 2px;
}

/* Final Tweaks */

/* Hide Header on Marketing Products Services (Xmas) page */

.page-id-22931 .elementor-4531 .elementor-element.elementor-element-e511ef0 {
    display:none;
}

/* Hide Talk to someone and Our Clients on Xmas page */
.page-id-22931 .elementor-element-3975e15,
.page-id-22931 .elementor-element-cbccf6b {
    display:none;
}

/* Swiper Step Slider */

.rb_step_slider .swiper-container .swiper-pagination .swiper-pagination-bullet .wrap .tab_txt {
    font-size:1.4em;
    font-weight:600;
}

/* Optimization: Replace Angle-down dashicon with font-awesome angle-down, saves 28KB (by not having to load dashicons) */

@media only screen and (max-width: 600px){
    .elementor-widget-wrap #mega-menu-wrap-secondary #mega-menu-secondary li.mega-menu-item-has-children.mega-toggle-on > a.mega-menu-link > span.mega-indicator:after {
        content: '\f107';    
    }
}

.elementor-widget-wrap #mega-menu-wrap-secondary .mega-menu-toggle.mega-menu-open .mega-toggle-block-1:after {
    content: '\f106';
}

.elementor-widget-wrap #mega-menu-wrap-secondary .mega-menu-toggle .mega-toggle-block-1:after,
.elementor-widget-wrap #mega-menu-wrap-secondary #mega-menu-secondary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
    content: '\f107';
}


/* Single Post - Featured Image injection */

.elementor img.single_feat {
    display: block;
    margin:0;
    margin-bottom:1em;
    float:left;
    margin-right:1.5em;
    max-width:33%;
}

@media(max-width:767px){
    .elementor img.single_feat {
        max-width:100%;
    }
}

/* Specific Backbone image centering */
img[src*="Backbone"], img.aligncenter {
    display:block;
    margin:0 auto;
}