/*
Theme Name: Jims Hub Enfold
Description: Enfold Child theme for Jims Franchise websites
Version: 1.0
Author: Georgios Antoniou
Author URI: http://jims.net
Template: enfold
Text Domain: jimsnetenfold
*/

/**
==============================
ENFOLD ADDITIONs
==============================
 */

.hidden_section {
    display: none!important;
}

/**
==============================
DIVISIONS BUTTONS
==============================
 */

#mylinks ul, #jims-division-buttons ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

#mylinks ul li, #jims-division-buttons ul li {
    box-sizing: border-box;
    width: 22%;
    text-align: center;
    background-color: #0974b2;
    padding: 1.4em;
    margin: 0 1% 1.3em 0;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;

    transition: background-color 300ms ease-in-out;
}

#mylinks ul li a, #jims-division-buttons ul li a {
    color: #ffffff;
    text-shadow: none;
    display: inline-block;
    width: 100%;
    height: 100%;
    font-size: 1em;
    transition: text-shadow 300ms 100ms ease-in;
}

#mylinks ul li a:hover, #jims-division-buttons ul li a:hover {
    text-decoration: none;
}

#mylinks ul li:hover, #jims-division-buttons ul li:hover {
    background-color: #fe560d;
}

#mylinks ul li:hover a, #jims-division-buttons ul li:hover a {
    color: white;
    text-shadow: 2px 2px 3px #a2a1a1;
}

@media (min-width: 1421px) {
    #mylinks ul li:nth-child(4n), #jims-division-buttons ul li:nth-child(4n) {
        margin-right: 0;
    }
}

@media (max-width: 1420px) {
    #mylinks ul li, #jims-division-buttons ul li {
        width: 31%;
    }

    #mylinks ul li:nth-child(3n), #jims-division-buttons ul li:nth-child(3n) {
        margin-right: 0;
    }

    #mylinks ul li:nth-child(4n), #jims-division-buttons ul li:nth-child(4n){
        margin-right: 1%;
    }

}

@media (max-width: 1100px) {
    #mylinks ul li, #jims-division-buttons ul li {
        width: 48%;
    }

    #mylinks ul li:nth-child(2n), #jims-division-buttons ul li:nth-child(2n) {
        margin-right: 0;
    }

    #mylinks ul li:nth-child(3n),#jims-division-buttons ul li:nth-child(3n) {
        margin-right: 1%;
    }

    #mylinks ul li:nth-child(4n), #jims-division-buttons ul li:nth-child(4n) {
        margin-right: 1%;
    }

}

@media (max-width: 720px) {
    #mylinks ul li, #jims-division-buttons ul li {
        width: 100%;
        font-size: 1.3em;
        margin-bottom: 10px;
    }

    #mylinks ul li:nth-child(1n), #jims-division-buttons ul li:nth-child(1n) {
        margin-right: 0;
    }

    #mylinks ul li:nth-child(2n), #jims-division-buttons ul li:nth-child(2n) {
        margin-right: 0;
    }

    #mylinks ul li:nth-child(3n), #jims-division-buttons ul li:nth-child(3n) {
        margin-right: 0;
    }

    #mylinks ul li:nth-child(4n), #jims-division-buttons ul li:nth-child(4n) {
        margin-right: 0;
    }

}

/**
=================================
SOCIAL BAR
=================================
 */

#social-bar {
    display: block;
    position: fixed;
    top: 60%;
    transform: translateY(-50%);
    z-index: 9999;
}

.sharing-providers {
    list-style-type: none;
}
.sharing-providers {
    padding: 0;
    margin: 0;
}
.sharing-providers > li {
    display: block;
    text-align: center;
    width: 75px;
    height: 45px;
    padding: 0;
    margin: 0;
    background: #322f30;
    transition: 0.5s all;
    border: 1px solid transparent;
}
#social-bar.light .sharing-providers > li {
    background: #ededec;
    border: 1px solid #e1e1e1;
}

#social-bar.light .sharing-providers > li:hover a {
    color: white;
}

.sharing-providers.circle > li {
    border-radius: 50%;
    margin: 2px;
}
#social-bar.left {
    left: 0;
}
#social-bar.left .sharing-providers > li {
    margin-left: 0;
    transform: translateX(-20px);
}

#social-bar.left .sharing-providers > li {
    margin-bottom: 2px;
}

#social-bar.right {
    right: 0;
}
#social-bar.right .sharing-providers > li {
    margin-right: 0;
}

.sharing-providers > li > a {
    text-decoration: none !important;
    font-family: 'FontAwesome';
    width: 55px;
    height: 45px;
    line-height: 45px;
    display: inline-block;
    text-align: right;
    margin: 0 10px 0 0;
    transition: .5s color;
}
.sharing-providers.circle > li > a {
    border-radius: 50%;
}
.sharing-providers > li > a {
    color: white;
    font-size: 25px;
}

#social-bar.light .sharing-providers > li > a {
    color: #616161;
    font-size: 25px;
}

.sharing-providers > li > a,
.sharing-providers > li > a:hover {
    text-decoration: none;
}

#social-bar.animate .sharing-providers > li:hover {
    transform: translateX(0px);
}

#social-bar.right.animate .sharing-providers > li:hover {
    transform: translateX(-5px);
}

.sharing-providers > li:hover, #social-bar.light .sharing-providers > li:hover {
    background: #eb8231;
    border-color: #eb8231;
}

.sharing-providers > li.mail:hover, #social-bar.light .sharing-providers > li.mail:hover {
    background: #16b2ff;
    border-color: #16b2ff;
}

.sharing-providers > li.rss:hover, #social-bar.light .sharing-providers > li.rss:hover {
    background: #eb8231;
    border-color: #eb8231;
}

.sharing-providers > li.facebook:hover, #social-bar.light .sharing-providers > li.facebook:hover {
    background: #4267B2;
    border-color: #4267B2;
}

.sharing-providers > li.gplus:hover, #social-bar.light .sharing-providers > li.gplus:hover {
    background: #d14836;
    border-color: #d14836;
}

.sharing-providers > li.twitter:hover, #social-bar.light .sharing-providers > li.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.sharing-providers > li.youtube:hover, #social-bar.light .sharing-providers > li.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.sharing-providers > li.instagram:hover, #social-bar.light .sharing-providers > li.instagram:hover {
    background: #d12d8f;
    border-color: #d12d8f;
}

.sharing-providers > li.linkedin:hover, #social-bar.light .sharing-providers > li.linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
}

.sharing-providers > li.tumblr:hover, #social-bar.light .sharing-providers > li.tumblr:hover {
    background: #2c4762;
    border-color: #2c4762;
}

.sharing-providers > li.digg:hover, #social-bar.light .sharing-providers > li.digg:hover {
    background: #333333;
    border-color: #333333;
}

.sharing-providers > li.reddit:hover, #social-bar.light .sharing-providers > li.reddit:hover {
    background: #5f99cf;
    border-color: #5f99cf;
}

.sharing-providers > li.pinterest:hover, #social-bar.light .sharing-providers > li.pinterest:hover {
    background: #cb2027;
    border-color: #cb2027;
}

.sharing-providers > li.stumbleupon:hover, #social-bar.light .sharing-providers > li.stumbleupon:hover {
    background: #EB4924;
    border-color: #EB4924;
}

.sharing-providers > li.email:hover, #social-bar.light .sharing-providers > li.email:hover {
    background: #E3A129;
    border-color: #E3A129;
}

@media (max-width: 680px) {
    #social-bar {
        bottom: 0;
        top: auto;
        transform: translate(-50%, 0);
        left: 50% !important;
        right: auto;
        background: white;
        width: 100%;
        text-align: center;
        padding: 8px;
    }
    #social-bar .sharing-providers > li {
        width: 45px;
        display: inline-block;
    }

    #social-bar .sharing-providers > li > a {
        width: 45px;
        text-align: center !important;
        margin: 0 !important;
    }

    #social-bar.left .sharing-providers > li {
        transform: translateX(0);
        margin-left: 2px;
        margin-bottom: 0;
    }



    #social-bar.animate .sharing-providers > li:hover {
        transform: translateX(0px) !important;
        transform: translateY(-5px) !important;
    }
}

/**
=================================
STICKY MENU
=================================
 */

#menu-widget-1 {
    transition: 200ms ease-in-out;
    height: 0;
    opacity: 0;
    overflow: hidden;
    width: 100%;
}

#menu-widget-1.visible {
    height: auto;
    opacity: 1;
}
#menu-widget-1 .customized-grid {
    vertical-align:top;
    padding: 1em 50px;
}

#menu-widget-1 .iconbox_left_content .iconbox_content,
#menu-widget-1 .iconbox_right_content .iconbox_content {
    overflow: hidden;
    height: 2em;
    text-align: center;
}

#menu-widget-1 .av-layout-grid-container > div {
    transition: all 200ms ease-in;
    cursor: pointer;
}
#menu-widget-1 .av-layout-grid-container > div:hover {
    background-color: #fa7619!important;
}

#menu-widget-1 .iconbox .iconbox_content .iconbox_content_title {
    padding: 4px 0 0 0;
}


/*FORMS*/

form.enquiry_form {
    margin-top: 10px;
    padding: 10px;
}

form.enquiry_form h3 {
    text-align: center;
    text-transform: capitalize!important;
    font-size: 1em;
    margin: 0;
}

form.enquiry_form input[type=submit] {
    width: 100%;
    font-size: 1.5em;
    border-radius: 12px;
}

/**
Country Selector
 */

#country-menu.av-menu-button-colored > a span.avia-menu-text {
    background-color: #eaeaea!important;
    color: #000!important;
    border-color: #eaeaea!important;
}


#header.header-scrolled.header-scrolled-full .avia-menu.av-main-nav-wrap {
    height: 75px;
}


@media screen and (max-width: 869px) {
    #menu-widget-1 .iconbox .iconbox_content .iconbox_content_title {
        font-size: 1em;
    }
}
@media screen and (max-width: 764px) {
    #menu-widget-1.visible.fixed .av-layout-grid-container{ display: flex!important;}
    #menu-widget-1.visible.fixed { position: fixed; top: 0; left: 0; width: 100%; }
    #menu-widget-1.visible.fixed .av-layout-grid-container > div { width: 33.3%;}


    #menu-widget-1.visible.fixed .customized-grid {
        vertical-align:top;
        padding: .5em 20px;
    }

    #menu-widget-1 .iconbox_content {
        height: 3em!important;
        padding: .5em;
    }

    #menu-widget-1 .iconbox .iconbox_content .iconbox_content_title {
        font-size: .75em;
    }

    #menu-widget-1.visible.fixed.logged-in {
        top: 46px;
    }
}

/**
===================================
MODAL WINDOW
===================================
 */

.jims-elements .jims-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
    background-color: rgba(0, 0, 0, 0.4);
}
.jims-elements .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}
.jims-elements .modal-content .inner-content {
    text-align: center;
}
.jims-elements .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.jims-elements .close:hover,
.jims-elements .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/*#divisions-active-countries {*/
    /*color: black!important;*/
    /*background-color: #eaeaea!important;*/
    /*border-color: #e5e5e5!important;*/
/*}*/

/**
-----------------------------------------
THREE BUTTON MENU MOBILE
-----------------------------------------
 */
.jims-enfold-three-button-menua.desktop {
    display: none;
}
.jims-enfold-three-button-menu a.mobile {
    display: none;
}

@media only screen and (min-width: 980px) {
    .jims-enfold-three-button-menu a.desktop {
        display: inline;
    }
    .jims-enfold-three-button-menu a.mobile {
        display: none;
    }
}

@media only screen and (max-width: 980px) {
    .jims-enfold-three-button-menu a.desktop {
        display: none;
    }
    .jims-enfold-three-button-menu a.mobile {
        display: inline;
    }
}

@media only screen and (max-width: 767px) {
    .jims-enfold-three-button-menu.floated a {
        font-size: 1.5em;
    }

    .jims-enfold-three-button-menu.floated .iconbox_content {
        padding: 0.5em !important;
    }
}

@media only screen and (max-width: 490px) {

    .jims-enfold-three-button-menu.floated a {
        font-size: 2.3em;
    }

    .fixed .jims-enfold-three-button-menu.floated a {
        font-size: .9em!important;
    }

    .responsive #top #wrap_all .av-flex-cells .no_margin,
    .fixed .jims-enfold-three-button-menu.floated > flex_cell.no_margin.avia-full-stretch.customized-grid {
        padding-left: 2%!important;
        padding-right: 2%!important;
    }
    .fixed .jims-enfold-three-button-menu.floated .iconbox_content {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ---------------------------------
    JIMS AJAX FORM
 -----------------------------------*/
jims-modal .lds-ring {
    display: none;
}
.jims_ajax_form.disabled {
    pointer-events: none;
    opacity: 0.4;
    position: relative;
}

jims-modal .jims_ajax_form.disabled + .lds-ring {
    display: block;
    position: absolute;
    top: calc(50% - 32px);
    left: calc(50% - 32px);
}
#existing-opportunities-modal .jims_ajax_form.disabled + .lds-ring {
    left: calc(72% - 32px);
}
@media (max-width: 960px) {
    #existing-opportunities-modal .jims_ajax_form.disabled + .lds-ring {
        left: calc(50% - 32px);
        top: calc(69% - 32px);
    }
}

.jims_ajax_form .form_element button,
.jims_ajax_form .form_element input[type=button]
{
    cursor: pointer;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #05acf2;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #05acf2 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 
 * Sam Change | All P fonts to Black Joel Request 30-06-2023
 * */

.main_color, .main_color .site-background, .main_color .first-quote, .main_color .related_image_wrap, .main_color .gravatar img .main_color .hr_content, .main_color .news-thumb, .main_color .post-format-icon, .main_color .ajax_controlls a, .main_color .tweet-text.avatar_no, .main_color .toggler, .main_color .toggler.activeTitle:hover, .main_color #js_sort_items, .main_color.inner-entry, .main_color .grid-entry-title, .main_color .related-format-icon, .grid-entry .main_color .avia-arrow, .main_color .avia-gallery-big, .main_color .avia-gallery-big, .main_color .avia-gallery img, .main_color .grid-content, .main_color .av-share-box ul, #top .main_color .av-related-style-full .related-format-icon, .main_color .related_posts.av-related-style-full a:hover, .main_color.avia-fullwidth-portfolio .pagination .current, .main_color.avia-fullwidth-portfolio .pagination a, .main_color .av-hotspot-fallback-tooltip-inner, .main_color .av-hotspot-fallback-tooltip-count p{
	color:#000 !important;
}

