/*
 Theme Name:   FRS Farm Services
 Theme URI:    http://divi.space/
 Description:  A Child Theme built for Divi on Divi Space
 Author:       Keith Buchanan
 Author URI:   http://www.buchanan-solutions.com
 Template:     Divi
 Version:      2.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*
@font-face {
    font-family: 'hk_groteskbold';
    src: url('fonts/hkgrotesk-bold.eot');
    src: url('fonts/hkgrotesk-bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/hkgrotesk-bold.woff2') format('woff2'),
    url('fonts/hkgrotesk-bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'hk_groteskitalic';
    src: url('fonts/hkgrotesk-italic.eot');
    src: url('fonts/hkgrotesk-italic.eot?#iefix') format('embedded-opentype'),
    url('fonts/hkgrotesk-italic.woff2') format('woff2'),
    url('fonts/hkgrotesk-italic.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'hk_grotesklight';
    src: url('fonts/hkgrotesk-light.eot');
    src: url('fonts/hkgrotesk-light.eot?#iefix') format('embedded-opentype'),
    url('fonts/hkgrotesk-light.woff2') format('woff2'),
    url('fonts/hkgrotesk-light.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'hk_groteskmedium';
    src: url('fonts/hkgrotesk-medium.eot');
    src: url('fonts/hkgrotesk-medium.eot?#iefix') format('embedded-opentype'),
    url('fonts/hkgrotesk-medium.woff2') format('woff2'),
    url('fonts/hkgrotesk-medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'hk_groteskregular';
    src: url('fonts/hkgrotesk-regular.eot');
    src: url('fonts/hkgrotesk-regular.eot?#iefix') format('embedded-opentype'),
    url('fonts/hkgrotesk-regular.woff2') format('woff2'),
    url('fonts/hkgrotesk-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: Gilroy-extrabold;
    src: url("fonts/Gilroy-ExtraBold.otf") format("opentype");
}
@font-face {
    font-family: Gilroy-Light;
    src: url("fonts/Gilroy-Light.otf") format("opentype");
}


body {
    font-family: 'hk_groteskregular',sans-serif !important;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Gilroy-extrabold',sans-serif !important;
}
*/

@font-face {
    font-family: 'LyyraExpanded-Regular';
    src: url("fonts/LyyraExpanded-Regular.eot");
    src: url('fonts/LyyraExpanded-Regular.woff2') format('woff2'),
    url('fonts/LyyraExpanded-Regular.woff') format('woff');
}


html {
    --color-primary:#63dfcb;
    --color-text:#37383b;
    --color-accent:#EB5A44;
    --color-slate:#37383b;
}
/*body {
    font-family: 'montserrat-regular',sans-serif !important;
}*/

h1,h2,h3,h4,h5,h6 {
    /*font-family: 'LyyraExpanded-Regular' ,sans-serif !important;
    font-weight:normal !important;*/
    /*font-family: 'montserrat-regular',sans-serif !important;
    font-weight:bold !important;*/
}


h1.page-header-title,
h1.single-post-title,
.lyyra-heading h3,
.lyyra-heading h2 {
    font-family: "LyyraExpanded-Regular", Sans-serif !important;
    font-weight:normal;
}


#top-header {
    display:none;
}
/* Top Menu */
.nav li li ul {
    width: 280px;
}

#top-menu-nav>ul>li>a:hover {
    color:#63dfcb;
}

#top-menu li li a {
    /*width: 260px;*/
    padding: 6px 10px;
    font-size:18px;
}
#top-menu li li a:hover {
    color:#63dfcb !important;
    background:#37383b !important;
}

.mobile_menu_bar:before {
    background:#63dfcb !important;
    color:#fff !important;
    padding:10px;
    font-size:60px;
}

.et-menu-nav ul.et-menu li li {
    padding: 0 !important;
    margin: 0 !important;
}

.et-menu-nav ul.et-menu ul {
    border:none !important;
}
header .et-menu-nav ul.et-menu li a {
    font-size: 18px !important;
    font-weight: 400 !important;
    /*color:var(--color-slate) !important;*/
}
.et-menu-nav ul.et-menu li li a {
    width:240px;
}
.et-menu-nav ul.et-menu li li a:hover {
    background:var(--color-slate);
    color:var(--color-primary) !important;
}

ul.et_mobile_menu {
    list-style-type: none;
    padding:0;
    border:0;
}
ul.et_mobile_menu li a {
    font-size: 18px !important;
    font-weight: 400 !important;
    border:0;
}
ul.et_mobile_menu li a:hover {
    background:var(--color-slate);
    color:var(--color-primary) !important;
    opacity:1;
}
.et_mobile_menu li.menu-item-has-children a {
    background-color:#fff;
    border:0;
}
ul.et_mobile_menu ul.sub-menu {
    list-style-type: none;
    padding:0;
}

/*force mobile menu on all screens*/
@media only screen and (max-width: 10000px) {
    #frs-mobile-menu .et_pb_menu__menu {
        display: none;
    }
    #frs-mobile-menu .et_mobile_nav_menu {
        display: block;
    }
    #frs-mobile-menu .et_mobile_menu {
        width:200px !important;
    }
    #frs-mobile-menu .et_pb_menu__wrap {
        justify-content: center !important;
    }
}

/* Force brands menu never to go mobile */
@media only screen and (max-width: 980px) {
    #frs-brands-menu .et_pb_menu__menu {
        display: block !important;
    }
    #frs-brands-menu .et_mobile_nav_menu {
        display: none !important;
    }
    .et_pb_row_0_tb_header .et_pb_column.et-last-child, .et_pb_row .et_pb_column:last-child {
        margin-bottom: auto !important;
    }
    #frs-mobile-menu .et_mobile_menu {
        margin-left:-150px !important;
    }
}


.et_pb_row_0_tb_header {
    width: 100% !important;
    display:flex !important;
}
.et_pb_column_0_tb_header {
    width: 25% !important;
    margin:auto;
}
.et_pb_column_1_tb_header {
    width: 60% !important;
    margin:auto;
}
.et_pb_column_2_tb_header {
    width: 15% !important;
    margin:auto;
}

@media only screen and (max-width: 600px) {
    .et_pb_column_0_tb_header {
        width: 25% !important;
        margin:auto;
    }
    .et_pb_column_1_tb_header {
        width: 60% !important;
        margin:auto;
    }
    .et_pb_column_2_tb_header {
        width: 15% !important;
        margin:auto;
    }
    .mobile_menu_bar:before {
        padding:5px !important;
        font-size:40px !important;
    }
    .et_pb_image_0_tb_header {
        width: 150px !important;
        margin-left: 10px !important;
    }
    #frs-brands-menu .et-menu-nav .sub-menu {
        margin-left:-100px !important;
    }
    #frs-brands-menu .et-menu-nav ul li a {
        font-size: 14px !important;
    }
    ul.et_mobile_menu li a {
        font-size: 14px !important;
    }

}

/* don't show text over the sliders */
.et_pb_slide_description h2.et_pb_slide_title, .et_pb_slide_description .et_pb_slide_content {
    display:none !important;
}

#et-top-navigation {
    font-weight: 300 !important;
}

.et_pb_bg_layout_light.et_pb_button:hover, .et_pb_bg_layout_light .et_pb_button:hover {
    background-color: var(--color-accent) !important;
    color: #fff !important;
}

h2 {
    margin: 10px 0;
    line-height:1.2em;
}
#footer-widgets {
    padding: 3% 0 0 !important;
}
.footer-widget li:before {
    border-color: #EB5A44 !important;
}
#main-footer .footer-widget h4 {
    font-weight: bold;
}
h3 span {
   color:#477cc0;
}
.et_pb_slide_description .et_pb_slide_title {
    margin-top: 120px;
    font-size: 46px;
    font-weight: 300;
    /*text-align: right;
    text-shadow: 3px 3px 3px #000;*/
}
.et_pb_slide_description .et_pb_slide_title span {
    font-weight:800;
}
.et_pb_more_button {
    background-color: rgba(51,51,51,0.7);
    border: 0;
    float:right;
}
.et_pb_slide_content {
    text-shadow: 1px 1px 2px #000;
}


/* New home info box */
.frs-info-box {
    display:flex;
    flex-direction: column;
    /*justify-content: flex-end;*/
}

.frs-info-box .et_pb_module {
    margin-bottom:15px !important;
}
.frs-info-box img {
    height: 150px;
    object-fit: cover;
}

.frs-info-box img:after {
    content:'\A';
    position:absolute;
    width:100%; height:100%;
    top:0; left:0;
    background:rgba(235,90,60,0.6);
    opacity:0;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.frs-info-box img:hover:after {
    opacity:1;
}

.frs-info-box h2 {
    padding: 0;
}
.frs-info-box .et_pb_button_module_wrapper {
    margin-top:auto !important;
}

.frs-info-box .et_pb_button_module_wrapper .info-box-button {
    background-color:var(--color-primary) !important;
    color:#fff;
    border:0;

}
.frs-info-box .et_pb_button_module_wrapper .info-box-button:hover {
    background-color:var(--color-accent) !important;
}

/*.et_pb_more_button:after
{
    background-image:url("images/arrow-right.png") no-repeat;
}*/

.home-icon {
    width: 30%;
    margin-right:2%;
    float:left;
    background-color:#1a2e5b;
    height:auto;
    min-height: 250px;
    margin-bottom: 10px;
    background-size:cover;
    overflow:hidden;
}
/*.home-icon:hover {
    opacity: .85;
}*/
.home-icon h3 {
    color: #fff;
    top: 180px;
    width: 210px;
    position: relative;
    font-size: 28px;
    font-weight: normal;
    margin-left: 10px;
}

.flip-icon {
    width: 100%;
    background-color:#1a2e5b;
    height:auto;
    min-height: 262px;
    margin-bottom: 10px;
    background-size:cover;
    overflow:hidden;
}
.flip-icon h3 {
    color: #fff;
    top: 180px;
    width: 310px;
    position: relative;
    font-size: 28px;
    font-weight: normal;
    margin-left: 10px;
    background:none;
    text-shadow: 1px 1px #333;
}
.icon-membership, .icon-membership2 {
    background-color:var(--color-primary);
}
.icon-membership2 h3 {
    top:150px;
}
.icon-join-us h3 {
    color:#1a2e5b;
}
.icon-join-us {
    background-color:var(--color-primary);
}
.icon-services {
    background-color:var(--color-primary);
}
.icon-contact {
    background-color:var(--color-primary);
}
.icon-news {
    text-align:left;
}
.icon-news h3 {
    color: #fff;
    top: 0;
    font-size: 24px;
    font-weight: normal;
    text-align: center;
    position: relative;
    width: auto;
    margin: 10px 10px 0 10px;
    text-align: left;
    padding: 10px 10px 0 10px !important;
}
.icon-news a {
    color:#fff;
}
.icon-news ul {
    line-height:17px;
    list-style-type: none;
    padding: 0 !important;
    margin: .1em 0 .1em 1em !important;
}
.icon-news li {
    margin: 1px 0 1px 5px;
    color:#fff;
}
.icon-news li span {
    font-size: 0.9em;
    font-style:italic;
    color:#c6cd23;
}

.video-banner .header-content {
    background-color: rgba(30,30,30,0.35);
    padding: 50px 0;
}
.video-banner .header-content a {
    color: #fff;
    background: #5f6b21;
    border: 0;
    margin: 20px 15px;
    padding: 10px;
    border-radius: 10px;
}
.video-banner .header-content a:hover {
    background-color: #c6cd23;
}

/********************************/
/* Jobs Page */
/********************************/
.frs_jobs h5.et_pb_toggle_title {
    color: #5f6b21 !important;
    font-size:1.3em;
    font-weight:bold;
}
.frs_jobs {
    margin: 10px 0;
}

.frs_jobs .frs_job {
    margin: 10px 0;
    padding:10px;
    background:#efefef;
    border-radius:5px;
}
.frs_jobs .frs_job h5 {
    color: #5f6b21 !important;
    font-size:1.3em;
    font-weight:bold;
}
.et_pb_accordion_frs_jobs .et_pb_toggle {
    border: 1px solid #5f6b21 !important;
}
.et_pb_accordion_frs_jobs .et_pb_toggle_title {
    color: #5f6b21 !important;
    font-weight:600;
}
.et_pb_accordion_frs_jobs .et_pb_toggle_title:before {
    color:#c6cd23 !important;
}

.frs_jobs .frs_job span, .single-job .frs_job span {
    width: 100%;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
    display:block;
}

.single-job .frs_job {
    margin: 10px 0;
    padding:10px;
    background:#efefef;
    border-radius:5px;
    max-width:100%;
    float:none;
}
.single-job h3 {
    display:inline-block;
}


.col_third { width: 30%; }
.col_third,
.col_twothird,
.col_fourth,
.col_three_fourth,
.col_fifth{
    position: relative;
    display:inline;
    display: inline-block;
    float: left;
    margin-right: 2%;
    margin-bottom: 20px;
}

.panel {
    margin: 0 auto;
    height: 250px;
    position: relative;
    -webkit-perspective: 600px;
    -moz-perspective: 600px;
}

.panel .front,
.panel .back {
    text-align: center;
    color:#fff;
}

.panel .front {
    height: inherit;
    position: absolute;
    top: 0;
    z-index: 900;
    text-align: center;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.panel .front .box-front {
    width: 325px;
    height: 260px;
    margin: 0 auto;
    padding: 20px;

}

.panel .front h3 {
    color: #fff;
    top: 110px;
    font-size: 24px;
    font-weight: normal;
    text-align:left;
    position: relative;
    width: auto;
    margin: 0 0 5px 0;
    text-shadow: 1px 1px #333;
    background:transparent;
}


.panel .back {
    height: inherit;
    position: absolute;
    top: 0;
    z-index: 1000;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;

}
.panel .back .box-back {
    background-color:var(--color-primary);
    width: 325px;
    height: 260px;
    margin: 0 auto;
    padding: 10px;

}
.panel.flip .front {
    z-index: 900;
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
}
.panel.flip .back {
    z-index: 1000;
    -webkit-transform: rotateX(0deg) rotateY(0deg);
    -moz-transform: rotateX(0deg) rotateY(0deg);
}

.panel .back h3 {
    color: #fff;
    top: 0;
    font-size: 18px;
    font-weight: normal;
    text-align:center;
    position: relative;
    width: auto;
    margin: 0 0 1px 0;
    background:transparent;
}
.panel .back a {
    color:#fff;
}
.panel .back .button {
    display: block;
    max-width: 120px;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    background: var(--color-slate);
    margin: 5px auto;
    text-transform: uppercase;
}
.panel .back .button:hover {
    background-color:var(--color-accent);
}
.panel .back ul {
    line-height: 20px;
    list-style-type: none;
    padding: 0;
}
.entry-content .panel .back li:before {
    display:none;
}
.panel .icon-news .back a {
    font-size:0.9em;
}






.et_pb_fullwidth_header {
    /*padding: 10px 0 !important;*/
}


/*Blog*/
.page-id-535 .et_pb_column_3_4 .pt-cv-content-item {
    padding:0 40px 40px;
}


.et_pb_bg_layout_light .et_pb_post .post-meta, .et_pb_bg_layout_light .et_pb_post .post-meta a, .et_pb_post .post-meta {
    color: #888;
    font-size: 0.9em;
    padding: 5px;
    /*background: #f1f1f1;*/
}


.et_pb_bg_layout_light .et_pb_post .post-meta .published, .et_pb_post .post-meta .published {
    background-color: var(--color-primary);
    color:#fff;
    padding:5px;
    border-radius:5px;
}

.et_pb_post h2 a, .et_pb_portfolio_item h3 a {
    color:#1a2e5b;
    line-height:1.4em;
}
.more-link {
    background: #e1e1e1;
    padding: 5px;
    border-radius: 5px;
    margin: 1px 5px;
    display: inline-block;
}
a.more-link {
    color:#333;
}
.more-link:hover {
    background:#ddd;
}

.et_pb_blog_grid .et_pb_post {
    border: 0;
}

.et_pb_text p:last-of-type {
    padding-bottom: 10px !important;
}

.entry-content ul {
    margin: 0.75em 0 1em 1em !important;
    padding: 0 1em !important;
    list-style: none !important;
}
.entry-content li:before {
    content: "";
    border-color: transparent #5f6b21;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 1.2em;
    position: relative;
}

.entry-content .gform_body li:before {
    left:0;
    top:0;
    border:0;
}

#sidebar ul {
    margin: 0.75em 0 1em 1em !important;
    padding: 0 1em !important;
    list-style: none !important;
}

#sidebar li:before {
    content: "";
    border-color: transparent #5f6b21;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 1.2em;
    position: relative;
}



.green-box {
    border-radius: 10px;
    background: var(--color-primary);
    padding: 5px !important;
    color: #fff;
    font-size: 22px;
    text-align: center;
    margin: 10px 0 20px 0;
}
.green-box h2 {
    background: var(--color-primary);
    color: #fff;
}
.heading-grey {
    background: var(--color-accent);
    margin: 10px 0;
    padding: 10px !important;
    color:#fff !important;
}
.heading-grey h2 {
    color:#fff !important;
}
.paragraph-note {
    padding: 10px !important;
    border-radius:5px;
    text-align:center;
    background-color:var(--color-primary);;
    color:#fff;
}
.paragraph-note a {
    color: var(--color-accent) !important;
    font-weight:bold;
}
.paragraph-note h2 {
    color:#fff;
}
.paragraph-note h3 {
    text-align:center;
    color:#fff;
}

.pt-cv-pagination li {
    float: left;
}
.pt-cv-pagination li:before {
    display:none;
}


/* Blog Grid */
.pt-cv-wrapper .btn-success {
    color: #fff;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.pt-cv-content-item {
    padding-bottom: 2em;
    margin-bottom: 2em;
    border-bottom: 1px solid #ccc;
}
.pt-cv-title a {
    color: var(--color-slate);
    font-size: 1.2em;
    font-weight: 500;
}
.pt-cv-title a:hover {
    color: #604810;
}
.pt-cv-wrapper .btn-success:hover {
    background-color: var(--color-accent);
}
.pt-cv-wrapper .entry-date {
    background: var(--color-slate);
    padding: 5px;
    border-radius: 5px;
    color:#fff;
}
.pt-cv-meta-fields a {
    color: var(--color-primary);
}
.pt-cv-wrapper .pagination>.active>a {
    background-color: var(--color-slate);
    border-color: var(--color-slate);
}



/**************************************/
/* Header CTA */
/**************************************/
.header-cta .et_pb_promo {
    min-height:450px;
}

.page-title-header {
    background: var(--color-primary);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    color:#fff;
}
.page-title-header .et_pb_fullwidth_header .header-content .et_pb_fullwidth_header_subhead{
    color:#fff !important;
}


/* New Zealand Exchange */
.page-id-3407 .info-section {
    padding: 0 !important;
}
.page-id-3407 .et_pb_row, .page-id-3411 .et_pb_row {
    padding: 10px 0 !important;
}
.page-id-3407 .info-section li, .page-id-3411 .info-section li {
    padding: 5px !important;
}
.page-id-3407 .info-section h2, .page-id-3411 .info-section h2 {
    padding: 10px !important;
    background: #efefef !important;
    margin-bottom: 5px !important;
}
.page-id-3407 .info-section h3, .page-id-3411 .info-section h3 {
    padding-left: 10px !important;
}
.page-id-3407 .info-section a, .page-id-3411 .info-section a {
    color: #1d304f !important;
}
.page-id-3407 .info-section a:hover, .page-id-3411 .info-section a:hover {
    color: #5f6b21 !important;
}

#exchange-columns .et_pb_column .et_pb_promo {
    border: 1px solid #fff !important;
    padding: 20px !important;
    background: rgba(0,0,0,0.3) !important;
}



/*************************************/

/**************************************/
/* Waste Plastic */
/**************************************/
.waste-steps .et_pb_main_blurb_image img {
    max-width: 150px;
    min-width: 150px;
}

.et_pb_widget_area_left {
    border: 0 !important;
}


#sidebar .gform_widget, .sidebar .gform_widget {
    /*float: none;*/
    width: 100%;
    margin-bottom: 30px;
    padding: 10px;
    border-radius: 5px;
    background:#efefef;
    color:#333;
    border: 1px solid #ccc;
}
#sidebar .gform_widget h4, .sidebar .gform_widget h4 {
    color:#444;
    font-size:16px;
    padding-bottom:0;
    margin-bottom:0;
}
#sidebar .gform_wrapper .top_label .gfield_label, .sidebar .gform_wrapper .top_label .gfield_label {
    margin: .1em 0 0 0;
    font-size:.9em;
}

#sidebar .gform_wrapper .gform_footer, .sidebar .gform_wrapper .gform_footer {
    padding: .1em;
}

#sidebar .gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium, .sidebar .gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
    width: 100% !important;
}

#sidebar .gform_wrapper .gform_footer input.button,.sidebar .gform_wrapper .gform_footer input.button {
    background: var(--color-primary);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    border: 0;
    margin:0;
    font-size:.9em;
}
#sidebar .gform_wrapper .gform_footer input.button:hover,.sidebar .gform_wrapper .gform_footer input.button:hover {
    background:var(--color-accent);
}
#sidebar .gform_wrapper ul, .sidebar .gform_wrapper ul {
    padding:0 !important;
    margin: 0 !important;
}
#sidebar .gform_body li:before {
    display:none;
}
#sidebar .gform_wrapper li.hidden_label input, .sidebar .gform_wrapper li.hidden_label input {
    margin-top: 0;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: #636363;
}
input:-moz-placeholder, textarea:-moz-placeholder {
    color: #636363;
}

.button {
    border-radius: 10px;
    color: #fff !important;
    background: var(--color-primary);
    text-align: center;
    padding: 10px;
    display: inline-block;
    margin: 10px 0;
    font-size: 1.2em !important;
    border: 0 !important;
}
.button:hover {
    background: var(--color-accent);
}

.single-office .post-meta {
    display:none;
}

.main_title {
    background: #efefef;
    padding: 10px;
    margin: 10px 0 !important;
}

H2 {
    /*background: #efefef;*/
    padding: 10px;
    margin: 10px 0 !important;
}

h3 {
    padding: 10px !important;
    text-align: left;
    background-color: var(--color-primary);
    color: #fff !important;
    line-height:28px;
}

.home h3, .et_pb_slide_content h3 {
    background:none;
    padding:0;
}
.home h3 strong, .et_pb_slide_content h3 strong {
    font-weight:600;
}

.et_monarch .et_social_6col li {
    max-width: 50px !important;
}

/* enquiry form in column */
.enquiry-panel .gform_wrapper li.hidden_label input, .enquiry-panel .gform_wrapper .top_label select.medium, .enquiry-panel .gform_wrapper textarea {
    padding: 10px;
    border-radius: 10px;
    margin: 5px 0;
    font-size: 1em;
    color: #1a2e5b;
    font-weight: 6100;
}
.enquiry-panel .gform_wrapper .gform_footer {
    padding: 0;
    margin: 0;
    clear: both;
}
.enquiry-panel .gform_wrapper .gform_footer input.button {
    color: #fff;
    background: var(--color-primary);
    border: 0;
    margin: 10px 15px;
}
.enquiry-panel .gform_wrapper .gform_footer input.button:hover {
    background-color: var(--color-accent);
}
.enquiry-panel .gform_wrapper div.validation_error {
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 1.6em;
    border-top: 1px solid #790000;
    border-bottom: 1px solid #790000;
    padding: 1em 0;
    clear: both;
    width: 97.5%;
    text-align:center;
}

#menu-outer {
    height: auto;
    padding:10px;
    background:#f1f1f1;
}

.table {
    display: table;   /* Allow the centering to work */
    margin: 0 auto;
}

ul.job-categories {
    margin: 5px 0 !important;
}

ul.job-categories li {
    display: inline-block;
    margin: 10px 0;
}

ul.job-categories li a {
    color:#fff !important;
    background: #4b8547;
    margin: 5px 10px;
    padding: 10px;
    color: #fff;
    border-radius: 5px;

}
ul.job-categories li a:hover {
    color:#1a2e5b !important;
    background:#c6cd23;
}

ul.job-categories li:before {
    content: "\200B"; /* 1 */
    position: absolute; /* 2 */
    border:0;
}

.readmore, .apply-farm-work {
    font-size: 20px;
    padding: 10px 20px;

    background-color: rgba(51,51,51,0.7);
    color: #fff;
    border: none;
    border-radius: 3px;
}
.banner-slider-mobile .et_pb_slider .et_pb_slide{
    background-position:center !important;
}
.readmore:hover, .apply-farm-work:hover{
    background-color: transparent;
    border-color:rgba(51,51,51,0.7);
    border:solid 1px;
    cursor:pointer;
}

@media only screen and (max-width: 670px) {
    .readmore, .apply-farm-work {
        font-size: 16px;
        padding: 8px 16px;
    }
}
@media only screen and (max-width: 480px) {
    .readmore, .apply-farm-work {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/*mobile banner slider*/
@media only screen and (max-width: 480px){
    .et_pb_slider .et_pb_slider_4,  .et_pb_slider .et_pb_slider_5{
        background-position: center !important;
        background-size:cover !important;
    }
}

/* WP Job Manager */
.search_jobs .search_submit input {
    color:#fff;
    background:var(--color-primary);
    border: 1px solid var(--color-primary);
}
.search_jobs .search_submit input:hover {
    color:#fff;
    background:var(--color-primary);
    border: 1px solid #fff;
}
ul.job_listings li.job_listing {
    border-bottom:0;
}
.job_listings ul {
    margin: 0 !important;
    padding: 0 !important;
}
.job_listings li:before, .single-job_listing .entry-content li:before {
    display:none;
}
.position h3 {
    background:transparent;
    font-size:18px !important;
    padding:5px 0 !important;
}
ul.job_listings li.job_listing a div.position .company .tagline {
    margin:10px 0;
    color:var(--color-slate);
}
ul.job_listings li.job_listing a div.location {
    color:var(--color-slate);;
}
ul.job_listings li.job_listing a .meta {
    color:var(--color-slate);
    background:#f1f1f1;
    padding:5px !important;
    width:18%;
}
ul.job_listings li.job_listing a .meta li {
    font-size:12px;
}
ul.job_listings li.job_listing a .meta .job-type {
    color:var(--color-slate);;
}
ul.job_listings li.job_listing a .meta .job-location {
    color:var(--color-slate);
    font-weight:bold;
}
ul.job_listings li.job_listing a .meta .date {
    font-style:italic;
}

ul.job_listings .company_logo {
    display:none;
}
ul.job_listings li.job_listing a div.position {
    padding:0;
    width:80%;
}
ul.job_listings li.job_listing a {
    padding:1em !important;
    background:#fdfdfd;
    margin: 10px 0;
    border:1px solid #eee;
}
.single-job_listing .post-meta {
    display:none;
}
.single_job_listing .meta .salary::before {
    display:none;
}
.single-job_listing .entry-content {
    padding-top:0;
}
.single_job_listing .meta .location::before {
    display:none;
}
.single_job_listing .meta .date-posted::before {
    display:none;
}
.single_job_listing .meta {
    margin:10px 0 !important;
    padding: 0 !important;
}
ul.job_listings li.job_listing a div.position .company {
    font-size:12px;
}
ul.job_listings li.job_listing a div.position .company p, ul.job_listings li.job_listing a div.position .company ul li , ul.job_listings li.job_listing a div.position .company ul {
    padding:0;
    display:inline;
}

@media only screen and (max-width: 1320px) {
    .panel .front .box-front,.panel .back .box-back  {
        width: 250px;

    }
}

@media only screen and (max-width: 1110px) {
    #top-menu li a {
        font-size: 16px !important;
    }
    #top-menu li {
        padding-right:15px !important;
    }
}

@media only screen and (min-width: 981px) {
    #logo {
        max-height: 90% !important;
    }
    .et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a, .et_header_style_split .et-fixed-header #et-top-navigation nav>ul>li>a {
        padding-bottom: 38px !important;
    }
}


@media only screen and (max-width: 980px) {
    .home-icon {
        width: 47%;
    }
    .col_third {
        width: 48%;
    }
    .panel .front .box-front,.panel .back .box-back  {
        width: 295px;
    }
    #logo {
        max-height: 120px !important;
    }

}

@media only screen and (max-width: 768px) {
    .col_third {
        width: 98%;
    }
    .panel .front .box-front,.panel .back .box-back  {
        width: 325px;

    }


}

@media only screen and (max-width: 600px) {
    .home-icon {
        width: 97%;
    }

}

@media only screen and (max-width: 420px) {
    .panel .front .box-front,.panel .back .box-back  {
        width: 260px;

    }

}

@media (max-width: 767px) {
    .et_pb_slide_image, .et_pb_slide_video {
        display: block !important;
        margin: 20px auto 0;
    }
    a.et_pb_more_button {
        display: block !important;
        margin-bottom: 30px !important;
    }
    .et_menu_container {
        min-height:110px;
    }
    .et_header_style_left #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation {
        padding-top: 44px;
    }
    .frs-info-box img {
        height: auto;
        width:100% !important;
        max-width:342px;
    }
}

