/*--Global Font--*/
@font-face {
    font-family: 'Noka';
	src: url("/wp-content/themes/divi-child/fonts/Noka-Black.woff2") format('woff2');
	font-weight: normal;
	font-style: normal;
}

/*--Sticky header---*/
@media screen and (min-width:981px) {
	.et_pb_section.logo-search-sec.et_pb_sticky {
	    background-image: linear-gradient(180deg,#1a204a 100%,rgba(14,20,51,0) 100%)!important;
	    z-index: 2 !important;
	}
	
	.et_pb_section.logo-search-sec.et_pb_sticky .desktop-logo .et_pb_image_wrap img {
	    height: 70px;
	}
	
	.et_pb_section.logo-search-sec .desktop-logo .et_pb_image_wrap img {
	    transition: 0.7s height;
	}
	
	.et_pb_section.logo-search-sec.et_pb_sticky .et_pb_row {
	    padding-top: 1em;
	    padding-bottom: 1em;
	}
	
	.et_pb_section.logo-search-sec .et_pb_row {
	    transition: 0.7s padding;
	}
}

/*--Header---*/
header .et_pb_row.secondary-header-row {
    padding-top: 0;
    padding-bottom: 0;
}

span.header-telephone:before {
    font-family: 'ETmodules';
    color: #f7b0d0;
    content: "\e090";
    position: relative;
    top: 2px;
    margin-right: 5px;
    display: inline-block;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

span.header-email:before {
    font-family: 'ETmodules';
    color: #f7b0d0;
    content: "\e076";
    position: relative;
    top: 2px;
    margin-right: 5px;
    display: inline-block;
}

.header-links a {
    color: #f7b0d0;
}

/*--Desktop Dropdown---*/
header .et_pb_row.secondary-header-row .et-menu .menu-item-has-children>a:first-child:after {
    content: none;
}

header .et_pb_row.secondary-header-row .et-menu .menu-item-has-children>a {
    padding-right: 0 !important;
}

header .et_pb_row.secondary-header-row .et-menu ul.sub-menu {
    border: none;
    padding: 0;
}

header .et_pb_row.secondary-header-row .et-menu li.primary-menu-link ul.sub-menu a {
    margin: auto;
    display: inline-block;
    font-size: 14px;
    opacity: 1 !important;
}

header .et_pb_row.secondary-header-row .et-menu li.primary-menu-link ul.sub-menu li {
    padding: 0;
    background-color: #f7b0d0;
    padding: 5px;
    /*border-bottom: 1px solid rgba(255,255,255,0.3);*/
	border: 1px solid rgba(255,255,255,0.3);
	border-bottom: 0;
}

header .et_pb_row.secondary-header-row .et-menu li.primary-menu-link ul.sub-menu li:last-child {
    /*border: none;*/
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

header .et_pb_row.secondary-header-row .et-menu li.primary-menu-link ul.sub-menu li:hover {
    background-color: #1a2049;
}

header .et_pb_row.secondary-header-row .et-menu li.primary-menu-link ul.sub-menu li:hover a {
    color: #f7b0d0 !important;
}

/*--Mobile menu--*/
ul#mobile_menu2 {
    left: calc(100% - 96vw);
    width: 101vw!important;
    top: calc(100% + 25px);
    border: none;
    padding: 0 !important;
}

ul#mobile_menu2 li {
    background-color: #204E4A;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

ul#mobile_menu2>li {
    /* padding: 5px; */
}

ul#mobile_menu2.et_mobile_menu li a {
    border: none;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 5%;
    margin: auto;
}

ul#mobile_menu2.et_mobile_menu li.login-button,ul#mobile_menu2.et_mobile_menu li.join-now-button {
    display: none;
}

.et_pb_menu ul#mobile_menu2.et_mobile_menu li ul.sub-menu {
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.et_pb_menu ul#mobile_menu2.et_mobile_menu li ul.sub-menu>li a:before {
    content: '- ';
}

ul#mobile_menu2>li.menu-item-has-children {
    border: none;
}

.et_pb_menu ul#mobile_menu2.et_mobile_menu li ul.sub-menu>li a {
    font-weight: 400;
}

/*---New Mobile Menu---*/
/*--Custom mobile menu---*/
@media screen and (max-width:980px) {
	ul.et_mobile_menu .menu-item-has-children ul.sub-menu {
	    height: 0;
	    opacity: 0;
	    transition: 0.1s;
	}

    li.menu-item-has-children {
        position: relative;
    }
    
	.et_mobile_menu .menu-item-has-children>a {
	    background-color: rgba(0, 0, 0, 0.3);
	}
	
	ul.et_mobile_menu .menu-item-has-children ul.sub-menu {
	    height: 0;
	    opacity: 0;
	    pointer-events: none;
	}	
	
	ul.et_mobile_menu .menu-item-has-children ul.sub-menu.showmenu {
	    height: auto;
	    opacity: 1;
	    pointer-events: all;
	}
	
	.expand {
	    position: absolute;
	    right: 0;
	    top: 0px;
	    display: block;
	    padding: 10px 5%;
	    color: #fff;
	    height: 100%;
	}
	
	.expand:before {
	    font-family: etmodules;
	    content: "\32";
	    font-weight: 100;
	    color: #fff;
	    font-size: 30px;
	}
	
	.expand.alt {background-color: transparent;}
	
	.expand.alt:before {
	    font-family: etmodules;
	    content: "\33";
	}
	
	.expand:hover {
	    cursor: pointer;
	}
	
	.expand.down:after {
	    content: '\2193';
	    color: #b89059 !important;
	}
	
	.expand.down {
	    color: transparent;
	}
	
	h1.large,.et_pb_column_1_3 h1.large, .et_pb_column_2_5 h1.large, .et_pb_column_1_4 h1.large, .et_pb_column_1_5 h1.large, .et_pb_column_1_6 h1.large {
	    line-height: 1.1em;
	    font-size: 56px;
	}	
}

ul#mobile_menu2 li ul.sub-menu li {
    background-color: rgba(0, 0, 0, 0.3);
}

/*--global---*/
.et_pb_text + .et_pb_button_module_wrapper {
    margin-top: 26px;
}

.et_pb_blurb_content {
    word-wrap: normal;
}

/*--Gradient---*/
.gradient-active:after {
    content: '';
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 40%;
    background: linear-gradient(180deg,rgba(14,20,51,0) 0%,rgb(8,12,33) 100%)!important;
}

/*--SignUPform--*/
input#gform_submit_button_33 {
    color: #1f2971 !important;
    background-color: #f7b0d0;
    cursor: pointer;
}

form#gform_33 input[type=text],
form#gform_33 input[type=email] {
    background-color: #fff;
    border: 1px solid #fff;
}


form#gform_33 input[type=text]::placeholder,
form#gform_33 input[type=email]::placeholder {
    color: #1F2972;
}

form#gform_33 input[type=text]::-webkit-input-placeholder,
form#gform_33 input[type=email]::-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: #1F2972;
}
form#gform_33 input[type=text]::-moz-placeholder,
form#gform_33 input[type=email]::-moz-placeholder { /* Firefox 19+ */
color: #1F2972;
}
form#gform_33 input[type=text]:-ms-input-placeholder,
form#gform_33 input[type=email]:-ms-input-placeholder { /* IE 10+ */
color: #1F2972;
}
form#gform_33 input[type=text]:-moz-placeholder,
form#gform_33 input[type=email]:-moz-placeholder { /* Firefox 18- */
color: #1F2972;
}

/*---Search form---*/
form#fyn_searchform {
    display: flex;
}

form#fyn_searchform label {
    display: none;
}

form#fyn_searchform input#fyn_postalcode_field {
    padding-top: 16px!important;
    padding-right: 14px!important;
    padding-bottom: 16px!important;
    padding-left: 14px!important;
    height: 50px;
    min-height: 0;
    width: 300px;
    background-color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.9);
    font-size: 16px;
}

form#fyn_searchform input#send {
    height: 50px;
    min-height: 0;
    background-color: #4FC4C7;
    appearance: none;
    -webkit-appearance: none;
    border: 0px solid #4FC4C7 !important;
    color: #FCFC05;
    font-family: 'ETmodules';
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
    cursor: pointer;
    font-weight: 800;
    font-size: 24px;
    padding: 12px;
}

form#fyn_searchform a.button {
    color: #fcfc05;
    margin-left: 1em;
}
@media screen and (min-width:551px) {
	.find-nearest-league-section form#fyn_searchform a.button {
		position: absolute;
	    top: 12px;
	}
}

/*--Fixes---*/
@media screen and (max-width:980px) {
	body .db-icon-search input.et_pb_searchsubmit {
	    width: 50px;
	    height: 50px;
	    background-size: 48px;
	}
}

/*--redajusting header aftr icons added---*/
@media screen and (max-width:1170px) and (min-width:981px) {
    li.primary-menu-link>a {
        margin: 18px 17px 0 0 !important;
        font-size: 14px !important;
    }
    
    .header-email,.header-telephone {
        font-size: 13px !important;
    }
    
    body li.login-button a, body li.join-now-button a {
        padding: 18px 20px!important;
    }    
}


@media screen and (max-width:980px) {
    body .two-col-full-width .et_pb_column {
        padding: 60px 5%;
    }    
}


@media screen and (max-width:550px) {
    body.et_pb_button_helper_class .et_pb_button, .et_pb_button {
        width: 100%;
    }    
}

@media screen and (max-width:550px) {
    form#fyn_searchform {
        display: block;
    }
    
    form#fyn_searchform input#send {
        position: absolute;
        top: 0;
        right: 0;
    }
    
    form#fyn_searchform a.button {
        margin-left: 0;
    }
    
    .find-nearest-league-section .et_pb_column {
        margin-bottom: 0 !important;
    }
    
    form#fyn_searchform input#fyn_postalcode_field {
        width: calc(100% - 45px);
    }
}

@media screen and (min-width:981px) {
	.et_pb_section.find-nearest-league-section h3 {
	    padding-bottom: 0 !important;
	    font-size: 28px;
	}

    .find-nearest-league-section .et_pb_column:first-child {
        width: 55%;
    }
    
    .find-nearest-league-section .et_pb_column:last-child {
        width: 60%;
    }    
}

@media screen and (max-width:980px) {
    .find-nearest-league-section .et_pb_column {
        margin-bottom: 0;
    }
}

@media screen and (min-width:31px) {
	.multi-blurb-row>.et_pb_column {
	    display: grid;
	    grid-template-columns: repeat(3, minmax(0, 1fr));
	    grid-column-gap: 30px;
	    grid-row-gap: 30px;
	}
	
	.et_pb_row.multi-blurb-row .et_pb_module:nth-last-child(2) {
	    margin-bottom: 0;
	}
}

@media screen and (max-width:980px) {
	.et_pb_row.multi-blurb-row {
	    width: 90%;
	}
	
	.multi-blurb-row>.et_pb_column {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    grid-column-gap: normal;
	    grid-row-gap: 0px;
	}	
	
	body .three-col-blurb-section .et_pb_module_header {
	    font-size: 18px;
	    padding: 0 !important;
	    width: 95%;
	    max-width: 200px;
	    margin: auto;
	}

}

/*--Homepage banner work---*/
@media screen and (max-width:980px) {
	.et_pb_section.home-banner-section.moved {
	    min-height: 60vh;
		background-position-y: -10px;
	}
	
	.et_pb_section.mobile-banner-section {
        background-color: #1f2972;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
	}
	
	body #main-content .home-banner-section .et_pb_bottom_inside_divider {
		background-image: url('data:image/svg+xml,<svg width="100%" height="60px" viewBox="0 0 1280 140" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><g fill="%1f2972"><path d="M0 0v140h1280L0 0z"/></g></svg>');
	    height: 30px;
	    background-size: 100% 30px;
	}
	
	.et_pb_section.mobile-banner-section h1 {
	    color: #fff;
	}
	
	.et_pb_section.mobile-banner-section .et_pb_text + .et_pb_button_module_wrapper {
	    margin-bottom: 10px;
	}
	
	.et_pb_section.mobile-banner-section:after {
	    content: '';
	    width: 100%;
		background-image: url('data:image/svg+xml,<svg width="100%" height="60px" viewBox="0 0 1280 140" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><g fill="%1f2972"><path d="M0 0v140h1280L0 0z"/></g></svg>');
	    height: 30px;
	    background-size: 100% 30px;
	    position: absolute;
	    z-index: 2;
	    bottom: -30px;
	    transform: rotateX(180deg);
	}
	
}

@media screen and (max-width:550px) {
	.et_pb_section.mobile-banner-section .et_pb_text {
	    text-align: left;
	}
}

/*---Custom Column stacking---*/
@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
/*margin-bottom: 30px;*/
}
 
}

/*--Responsivness fixes or homepage and global elements---*/
@media screen and (max-width:980px) {
    .et_pb_section.footer-section {
        padding-top: 60px !important;
        padding-bottom: 30px !important;
    }
    
    .footer-section .custom_row:last-child .et_pb_column:last-child {
        margin-bottom: 60px;
    }
    
    .et_pb_section.footer-section>.et_pb_row {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }  

    .et-l--footer .et_pb_section.sign-up-form .et_pb_row {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

@media screen and (max-width:640px) {
    body div.et_pb_section.sign-up-form {
        background-position-x: -100vw;
    }
}

@media screen and (max-width:550px) {
    .et_pb_section.home-banner-section.moved {
        min-height: 50vh;
    }
    body #main-content .home-banner-section .et_pb_bottom_inside_divider {
        height: 10px;
        background-size: 100% 10px;
    }

    .et_pb_section.mobile-banner-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .et_pb_section.mobile-banner-section:after {
        height: 10px;
        background-size: 100% 10px;
        bottom: -10px;
    }

    .two-col-background-image-column {
        min-height: 50vh !important;
    }

    #et-main-area .et-l--footer .et_pb_section.sign-up-form .et_pb_bottom_inside_divider {
        background-size: 100% 10px;
        height: 10px;
    }

    .et_pb_section.mobile-banner-section + .et_pb_section .et_pb_column, .et_pb_section.mobile-banner-section + .et_pb_section .et_pb_column .et_pb_module {
        margin-bottom: 0;
    }
    
    .et_pb_section.three-col-blurb-section .et_pb_module.et_pb_text_align_center {
        text-align: left;
        margin-bottom: 0;
    }   

    .et_pb_section.find-nearest-league-section {
        padding-top: 60px!important;
        padding-bottom: 60px!important;
    }
}

/*--League Template--*/
body.single-find_your_nearest .et-l.et-l--body {
    background-color: #4FC4C7!important;
}

.et_pb_module.league-title-blurb {
    margin: auto;
    text-align: center;
    max-width: fit-content;
}

.fixtures-section .fixtures-tabs a.et_pb_button {
    text-transform: none;
    width: 100%;
    padding: 20px !important;
    font-weight: 800;
    font-family: 'Work Sans',Helvetica,Arial,Lucida,sans-serif;
    font-size: 20px !important;
    background-color: transparent;
}

.fixtures-section .fixtures-tabs a.et_pb_button:hover {
    color: #fff !important;
    opacity: 1 !important;
    text-transform: none;
    width: 100%;
    padding: 20px !important;
    font-weight: 800;
    font-family: 'Work Sans',Helvetica,Arial,Lucida,sans-serif;
    font-size: 20px !important;
    background-color: transparent;
    background-color: #163734;
}

@media screen and (min-width:981px) {
	.fixtures-tabs .et_pb_column {
	    width: 100% !important;
	}
}
	
.costing-column{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    overflow: hidden;
}

.text-module-grid.et_pb_module.et_pb_text {
    display: block;
    width: 210%;
    height: 100%;
    text-align: center;
    margin-top: 18%;
}

.costing-column .et_pb_blurb:nth-last-child(-n+2) {
    margin-top: 30px;
}

@media screen and (max-width:1280px) and (min-width:981px) {
    body .two-col-full-width .et_pb_column {
        padding: 100px 3%;
    }    
}


@media screen and (max-width:980px) {
	.text-module-grid.et_pb_module.et_pb_text {
	    margin-top: 0;
	}	
	.costing-column	{
	    grid-row-gap: 0px;		
	}
	.costing-column .et_pb_blurb:not(:nth-last-child(-n+2)) {
	    margin-top: -30px;
	}
	
	.costing-column .et_pb_blurb:nth-last-child(-n+2) {
	    margin-top: 10px;
	}

    body .et_pb_section.league-page-blue-background-section {
        margin-top: 0;
        padding-top: 25%!important;
        padding-bottom: 60px!important;
    }
    body .league-page-banner-image .et_pb_row:last-child {
        padding: 30vh 5% 50px 5%;
    }
    
	.custom_row:last-child .et_pb_column.two-col-background-image-column:last-child {
	    margin-bottom: 0;
	}
}

@media screen and (max-width:550px) {
    body .et_pb_section.league-page-blue-background-section {
        margin-top: 0;
        padding-top: 30%!important;
        padding-bottom: 60px!important;
    }
    body .league-title-blurb .et_pb_main_blurb_image {
        width: 20% !important;
    }
    
    body .league-page-banner-image>.et_pb_row:first-child {
        padding-left: 0;
        padding-right: 0;
    }
}


/*--New Search header---*/
.header-form form#fyn_searchform a.button {
    font-size: 15px;
    color: #FCFC05;
    position: absolute;
    width: auto;
    top: 10px;
    right: 0;
    text-align: right;
}

.header-form form#fyn_searchform {
    justify-content: flex-end;
}

.header-form form#fyn_searchform input#fyn_postalcode_field {
    background-color: rgba(255,255,255,0.4);
    border-color: rgba(255,255,255,0);
    position: absolute;
    right: 115px;
    top: 0;
    width: calc(100% - 120px);
    color: #fff;
}

.header-form form#fyn_searchform input#send {
    background-color: #FCFC05;
    color: #163734;
    margin-right: 80px;
}

@media screen and (max-width:980px) {
	.header-form form#fyn_searchform a.button {
	    display: none;
	}
	
	.header-form form#fyn_searchform {
	    display: block;
	}
	
	.header-form form#fyn_searchform input#send {
	    float: right;
	    margin: 0;
	}
	
	.header-form form#fyn_searchform input#fyn_postalcode_field {
	    width: calc(100% - 45px);
	    right: auto;
	}
}

@media screen and (max-width:550px) {
	.header-form form#fyn_searchform input#fyn_postalcode_field {
		position: relative;
	}
}

/*---SEARCH PAGE---*/
body #main-content .et_builder_inner_content>p {
    line-height: 0;
    padding: 0;
    display: none;
}

div#FYN_container {
    max-width: 1400px;
    width: 90%;
    margin: auto;
	position: relative;
}

div#search_results .fyn-searchform, div#search_results .filters, div#search_results ul.tabs {
    display: none;
}

/*div#search_results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
	padding-top: 120px;
	position: relative;
}*/

div#search_results {
    position: relative;
    width: 35%;
    margin-right: 30px;
}

.fyn-result {
    background-color: #eee;
    padding: 20px;
    position: relative;
}

.fyn-container {
    width: 70%;
    margin-left: auto;
    margin-right: 0;
    position: relative;
}

p.distance {
    background-color: #204E4A;
    color: #fff;
    padding: 5px 1em !important;
}

.fyn-result h3 {
    color: #4FC4C7;
}

.fyn-container h3 + p {
    padding-bottom: 10px;
}

.fyn-container:before {
    content: '';
    position: absolute;
    left: calc(-40% + -10px);
    top: 0;
    background-image: url(/wp-content/uploads/sites/6/2023/07/PlayHockeyWebsiteIconsLocation1.png);
    background-size: contain;
    height: 75%;
    width: 40%;
    background-position: center;
    background-repeat: no-repeat;
}

.btns-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 20px;
    margin-top: 20px;
    border-top: 1px solid #c9c9c9;
    padding-top: 20px;
}

.btns-row .et_pb_button {
    width: 100% !important;
    display: block;
}

.et_pb_section.league-page-blue-background-section>.et_pb_bottom_inside_divider {
    z-index: auto !important;
}

h2.fyn-heading {
    width: 100%;
}

h2.fyn-heading span {
    color: #fff;
}

.search-map-page.league-page-banner-image .et_pb_row {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.search-map-page .et_pb_module.league-title-blurb {
    max-width: 100%;
}

.search-map-page .league-title-blurb h1 {
    text-align: center !important;
}

.search-map-page .league-title-blurb .et_pb_blurb_content {
	padding-bottom: 0 !important;
}

h2.fyn-heading {
    position: relative;
    margin-top: 0.5em;
    padding-top: 0.5em;
    text-align: center;
}

h2.fyn-heading:before {
    content: '';
    width: 100%;
    height: 1px;
    background-color: rgba(255,255,255,0.5);
    position: absolute;
    left: 0;
    top: 0;
}

/*--New scrolling map--*/
img.loading-img {text-align: center !important;margin: auto !important;width: 100px;display: block !important;}

div#FYN_container {
    display: flex;  
}

.search-map {
    width: 70%;
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    top: 200px;
    align-self: flex-start; /* <-- this is the fix */
}

.search-map div#FYN_display_results_map {
    height: calc(85vh - 100px) !important;
}


.fyn-result:not(:last-child) {
    margin-bottom: 30px;
}

.et_pb_section.league-page-blue-background-section.search-map-page {
    padding-top: 60vh!important;
    padding-bottom: 60px!important;
    background-image: none !important;
}

.et_pb_section.league-page-banner-image.search-map-page {
    z-index: 999;
    margin-top: -45vh;
}

.fyn-section {
    background-color: #4FC4C7;
    padding-top: 50px;
    padding-bottom: 60px;
}

/*--Map Popup---*/
.ui-dialog[aria-describedby="FYN-viewmap-dialog"] .ui-dialog-titlebar {
    background: #FCFC05;
    color: #1F2972;
    height: 50px;
    border-bottom: none;
}

.ui-dialog[aria-describedby="FYN-viewmap-dialog"] .ui-button.ui-dialog-titlebar-close {
    background: #4FC4C7;
    color: #fff;
    height: 50px;
    width: 50px;
}

.ui-dialog[aria-describedby="FYN-viewmap-dialog"] .ui-button.ui-dialog-titlebar-close:hover {
    color: #fff;
    opacity: 0.9;
}

.ui-dialog[aria-describedby="FYN-viewmap-dialog"] .ui-dialog-titlebar-close:before {
    width: 50px;
    line-height: 50px;
    height: 50px;
}

.ui-dialog[aria-describedby="FYN-viewmap-dialog"] span#ui-id-1 {
    font-size: 22px;
    line-height: 50px;
    font-family: 'Noka';
    color: #4FC4C7;
}

.ui-dialog[aria-describedby="FYN-viewmap-dialog"] .ui-button.ui-dialog-titlebar-close:focus {
    outline: none;
    box-shadow: none;
}


@media screen and (min-width:981px) {
    div#FYN_container div#search_results,div#FYN_container .search-map {
        display: block !important;
    }    
    
	.ui-dialog[aria-describedby="FYN-viewmap-dialog"] {
	    width: 70% !important;
	    max-width: 960px;
	}  
	
	div#FYN-viewmap-dialog {
	    height: auto !important;
	}
	
	div#FYN_map {
	    width: 100% !important;
	    height: 50vh !important;
	}
}

@media screen and (max-width:1240px) and (min-width:981px) {
    div#search_results {
        width: 45%;
    }   
    
    body .btns-row .et_pb_button {
        padding: 13px 30px 12px 30px!important;
    }
}

@media screen and (max-width:980px) {
    .et_pb_section.league-page-blue-background-section.search-map-page {
        padding: 0vh!important;
    }
    
    .et_pb_section.league-page-banner-image.search-map-page {
        margin-top: -35vh;
    }    
}

@media screen and (max-width:980px) {
    .fyn-section {
        padding-top: 30px;
    }
        
    .search-map {
	    display: none;
	    width: 100%;
        top: 50px;
    }    
    
    div#FYN_container {
        display: block;
    }
    
    div#search_results {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        margin: auto;
    }
    
    .btns-row {
        position: absolute;
        width: calc(100% - 40px);
        left: 20px;
        bottom: 20px;
    }
    
	body #main-content .btns-row .et_pb_button {
        padding: 13px 10px 12px 10px!important;
    }
    
    .fyn-result {
        padding-bottom: 140px;
        margin-bottom: 0 !important;
    }  
    
	.ui-dialog[aria-describedby="FYN-viewmap-dialog"] {
	    width: 80% !important;
	}  
	
	div#FYN-viewmap-dialog {
	    height: auto !important;
	}
	
	div#FYN_map {
	    width: 100% !important;
	    height: 50vh !important;
	}
}

@media screen and (max-width:767px) {
    .fyn-result {
        padding-bottom: 180px;
    }
    .btns-row {
        display: block;
    }
    
	body #main-content .btns-row .et_pb_button:first-child {
        margin-bottom: 1em;
    }
}

@media screen and (max-width:600px) {
    div#search_results {
        width: 100%;
        display: block;
    }

    .fyn-result {
        padding-bottom: 20px;
        margin-bottom: 30px !important;
    }

    .btns-row {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        display: grid;
    }

	body #main-content .btns-row .et_pb_button:first-child {
        margin: auto;
    }

    .fyn-container h3 {
      word-wrap: break-word;
      overflow-wrap: break-word;
      -webkit-hyphens: auto;
      -moz-hyphens: auto;
      hyphens: auto;
    }
}

@media screen and (max-width:380px) {
    .btns-row {
        display: block;
    }
	body #main-content .btns-row .et_pb_button:first-child {
        margin-bottom: 1em;
    }

  
  .fyn-container {
      width: 80%;
  }
  
  .fyn-container:before {
      width: 20%;
      left: calc(-20% + -10px);
  }
}

/*---New mobile toggles---*/
@media screen and (max-width:980px) {
	div#mobile-toggle {
	    padding-top: 10px !important;
	    padding-bottom: 10px !important;
	    background-color: transparent;
	    margin-bottom: -3px;
	}
	
	div#mobile-toggle .et_pb_row {
	    display: flex;
	    text-align: center;
	    max-width: 1400px !important;
	    width: 90%;
	}
	
	div#mobile-toggle .et_pb_row .et_pb_column {
	    margin-bottom: 0 !important;
	}
	
	div#mobile-toggle .et_pb_button {
	    width: calc(100% - 10px);
		padding-left: 0 !important;
	    padding-right: 0 !important;
	    padding-top: 14px !important;
	}
	
	div#mobile-toggle .et_pb_row .et_pb_column:first-child .et_pb_button_module_wrapper {
	    text-align: left;
	}
	
	div#mobile-toggle .et_pb_row .et_pb_column:last-child .et_pb_button_module_wrapper {
	    text-align: right;
	}
	
	div#mobile-toggle.et_pb_sticky--top {
	    background-color: #204E4A;
	    padding-top: 30px !important;
	    padding-bottom: 30px !important;
	}
	
	div#mobile-toggle .et_pb_button.active {
	    opacity: 1;
	    /* text-decoration: underline !important; */
	    background-color: #fff;
	}
	
	div#mobile-toggle {
	    display: none;
	}
	
	div#mobile-toggle {
	    display: block;
	}
}


/*--Misc Fixes--*/
body:not(.et_pb_pagebuilder_layout) .container, body.search .container {
    max-width: 1400px;
    width: 90%;
}

body:not(.et_pb_pagebuilder_layout) .et_pb_section.logo-search-sec, body.search  .et_pb_section.logo-search-sec{
    background-color: #1F2972!important;
}

body.single-find_your_nearest .et_pb_section.logo-search-sec {
    background-color: transparent !important;
}

/*----iOS/Safari fixes---*/
form#fyn_searchform input#fyn_postalcode_field {
    border-radius: 0;
}

form#fyn_searchform input#send {
    border-radius: 0;
}

/*--BugHerd---*/
/*Bh1*/
.gform_wrapper .gform_validation_errors>h2 {
    padding: 0 !important;
    color: #c02b0a !important;
}

.gform_wrapper.gravity-theme #field_submit input#gform_submit_button_33 {
    max-height: 50px;
}

#main-content .et_pb_section.league-page-banner-image .league-title-blurb .et_pb_blurb_content {
    padding-bottom: 1em !important;
}

.search-map-page .et_pb_blurb_container {
    padding-left: 0;
}

@media screen and (max-width:980px) {
    #main-content .et_pb_section.shallow-blue-banner {
        padding-bottom: 60px !important;
    }
    
    .iphone #main-content .et_pb_section.shallow-blue-banner,.osx #main-content .et_pb_section.shallow-blue-banner {
        padding-bottom: 90px !important;
    }
    
    #main-content .et_pb_section.shallow-blue-banner .et_pb_bottom_inside_divider {
        background-size: 100% 40px;
        height: 40px;
    }    
}


/*--New header fixes--*/
/*@media screen and (min-width:1331px) {
    header .et_pb_row.secondary-header-row .et_pb_column:first-child {
        width: auto;
    }
    
    header .et_pb_row.secondary-header-row .et_pb_column:last-child {
        width: 70%;
    }    
}

---*/
	header .et_pb_row.secondary-header-row .et_pb_column:first-child {
	    width: 30%;
	}
	
	header .et_pb_row.secondary-header-row .et_pb_column:last-child {
	    width: 70%;
	}

@media screen and (max-width:1280px) and (min-width:981px) {
    /*header .et_pb_row.secondary-header-row .et_pb_column:first-child {
        width: auto;
        z-index: 4;
    }

    header .et_pb_row.secondary-header-row .et_pb_column:last-child {
        width: 100%;
    }    
    */
    
	header .et_pb_row.secondary-header-row .et_pb_column:first-child {
	    width: 20%;
	}
	
	header .et_pb_row.secondary-header-row .et_pb_column:last-child {
	    width: 80%;
	}
    
    .pn-contact .et_pb_text_inner span {
        visibility: hidden;
        position: absolute;
        top: -15px;
    }
    
    .pn-contact .et_pb_text_inner :before {
        visibility: visible;
        top: 0;
        font-size: 20px;
    }

    .pn-contact .et_pb_text_inner span.header-email:before {
	    margin-left: 30px;
    }
}

/*--BH Fixes--*/
@media screen and (max-width:980px) {
    #main-content .et_pb_section .et_pb_row.league-title-row {
        padding-left: 0;
        padding-right: 0;
    }
    
    #main-content .et_pb_section .et_pb_row.league-title-row .league-title-blurb .et_pb_main_blurb_image {
        width: 60px !important;
    }
    
    body .et_pb_section.league-page-blue-background-section {
        padding: 0 !important;
        height: 30vh;
    }
    
    #main-content .et_pb_section.league-page-banner-image {
        margin-top: -28vh;
    }
    
	.league-title-blurb .et_pb_blurb_content {
	    padding-bottom: 1em !important;
	}
    
}

@media screen and (max-width:767px) {
    .et_pb_module.league-title-blurb {
        max-width: 100%;
    }    

    .league-title-blurb h1 {
        font-size: 40px !important;
    }
    
    .league-title-blurb h2 {
        font-size: 28px;
    }
}

@media screen and (max-width:550px) {
    .league-title-blurb h1 {
        font-size: 38px !important;
    }
    
    .league-title-blurb h2 {
        font-size: 26px;
    }
}

.gm-style .gm-style-iw-c {
    font-size: 16px;
}

.gmap_marker {
    padding: 10px;
    display: inline-block;
}

body #main-content .btns-row .et_pb_button {
    padding-left:  0 !important;
    padding-right: 0 !important;
    text-align: center;
}

/*--BH4&5--*/
body #main-content .et_pb_module.title-only {
    margin-bottom: 0;
}

body #main-content .et_pb_module.title-only * {
    /* padding-bottom: 0; */
}

.entry-content .tablepress td, .entry-content .tablepress th {
    padding: 5px;
}

.et_pb_row.position-image-row {
    padding-bottom: 0 !important;
}

/*---Dynamic Banner Height---*/
@media screen and (min-width:981px) and (min-height: 600px) {
    body .et_pb_section.home-banner-section {
        padding-top: 0 !important;
        height: 800px;
        height: calc(100vh - 60px);
        display: -moz-flex;
        display: -ms-flex;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-flow: row wrap;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        flex-flow: row wrap;
        -moz-justify-content: center;
        -ms-justify-content: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    
	body.admin-bar .et_pb_section.home-banner-section {
	    height: 800px;
	    height: calc(100vh - 92px);
	}
    
    body .et_pb_section.home-banner-section .et_pb_row {
        bottom: 0;
        -webkit-align-self: flex-end !important;
        -moz-align-self: flex-end !important;
        -ms-align-self: flex-end !important;
        align-self: flex-end !important;
        margin-bottom: 0;
		padding: 0 !important;
    }
    
}

/*--Fixes--*/
@media screen and (max-width:1170px) and (min-width:981px) {
    .fixtures-section .pa-inline-buttons .et_pb_button_module_wrapper {
        margin-bottom: 10px !important;
    }    
}

@media screen and (max-width:550px) {
    .fixtures-section .pa-inline-buttons .et_pb_button_module_wrapper {
        display: block;
    }
}

/*--BH7--*/
.et_pb_button.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

/*---Popup Style---*/
.pum-title.popmake-title {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    width: 100%;
    background: #FCFC05;
    line-height: 50px;
    padding-left: 20px;
    font-family: 'Noka';
    font-size: 22px;
}

.pum-content.popmake-content {
    margin-top: 50px;
}

.pum-container.pum-responsive.pum-responsive-medium {
    max-width: 960px !important;
    width: 80%;
}

.pum-content.popmake-content .et_pb_section.faqs-section {
    padding: 0 !important;
}

.pum-content.popmake-content .et_pb_row {
    width: 100%;
    padding: 0 !important;
}

@media screen and (max-width:550px) {
	.pum-content .faqs-section h5 {
	    font-size: 18px;
	    line-height: 1.3em;
	}
	
	.pum-content, .pum-content p {
	    line-height: normal;
	}
}

/*--remove line break from Gform confirmation of Quiz page---*/
div#gform_confirmation_message_34 br {
    display: none;
}

/*---Team Geneator styles---*/
div#client-team-generator-section {
    padding-bottom: 50px !important;
}

.team-names-portal {
    max-width: 960px;
    margin: auto;
    width: 90%;
}

/*----QUIZ STYLES---*/
.gform_wrapper.gravity-theme {
	counter-reset: fieldset;
}

.gform_wrapper.gravity-theme fieldset legend.gfield_label:before {
    counter-increment: fieldset;
    content:attr(data) counter(fieldset)".";
    color: #FCFC05;
    padding-right:5px;
}

.gform_wrapper.gravity-theme legend {
    font-size: 30px !important;
    font-family: 'Noka';
    text-transform: uppercase;
    line-height: 1.1em;
}

body.safari .gform_wrapper.gravity-theme fieldset legend.gfield_label:after {
	content: none;
}

.gform_wrapper.gravity-theme fieldset {
    position: relative;
}

.gform_wrapper.gravity-theme .gfield_label {
    padding-bottom: 12px;
}

.gform_heading p.gform_required_legend {
    display: none;
}

div#field_34_16 {
    margin-bottom: 30px;
}

.ginput_container.ginput_container_radio {
    padding-left: 30px;
}

.gform_wrapper.gravity-theme .gfield-choice-input[type="radio"] {
  /* ...existing styles */
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  appearance: none;
  /* For iOS < 15 to remove gradient background */
  background-color: #fff;
  /* Not removed via appearance */
  margin: 0;
  display: inline-grid;
  place-content: center;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 2px solid #cecece;
  border-radius: 50%;
  transform: translateY(-0.075em);
  padding: 10px !important;
}

.gform_wrapper.gravity-theme .gfield-choice-input[type="radio"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #FCFC05;
}

.gform_wrapper.gravity-theme .gfield-choice-input[type="radio"]:checked::before {
  transform: scale(1);
}

.form-control:focus-within {
  color: #FCFC05;
}

.gform_wrapper.gravity-theme .gfield_radio label {
    font-size: 18px;
}

.gfield_radio .gchoice:not(:last-child) {
    margin-bottom: 10px;
}

#gform_wrapper_34 .gform_footer.top_label {
    margin-top: 40px !important;
}

.gform_wrapper.gravity-theme .gfield {
    /*padding-bottom: 18px;*/
}

hr.gravity-pink {
    border: none;
    border-top: 1px solid #FCFC05;
    margin: 15px 0;
}

/*---Quiz Confirmations---*/
div#gform_confirmation_message_34 h2 {
    color: #204E4A;
}

div#gform_confirmation_message_34 {
    border-top: 1px solid #204E4A;
    padding-bottom: 20px;
    border-bottom: 1px solid #204E4A;
    padding-top: 20px;
    display: inline-block;
}

@media screen and (max-width:550px) {
    div#gform_confirmation_message_34 img.alignleft {
        display: block;
        float: none;
        text-align: center;
        margin: auto;
        max-width: 250px;
    }    
}

/*---Team name front end---*/
div#name_generator_code {
    text-align: center;
    border-top: 1px solid rgba(31,41,114,0.2);
    border-bottom: 1px solid rgba(31,41,114,0.2);
    padding: 50px 0;
    margin: 50px 0;
    height: 142px;
}

div#name_generator_code * {
    font-family: 'Noka';
}

a#generate-new-name {
	background-color: #4FC4C7;
    color: #fff !important;
    border-radius: 50px;
    padding-left: 55px !important;
    padding-right: 15px !important;
    position: relative;
    width: 175px;
    /* text-align: left !important; */
    line-height: 1.1em !important;
    text-transform: none;
}

a#generate-new-name:before {
    display: block !important;
    opacity: 1;
    content: '' !important;
    height: 100%;
    width: 50px;
    position: absolute;
    left: 40px;
    top: 0;
    background-image: url("/wp-content/uploads/2022/12/circular-arrow-2.png");
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
}

@-webkit-keyframes rotate {
  from {-webkit-transform:rotate(0deg);}
  to {  -webkit-transform:rotate(360deg);}
}

@-moz-keyframes rotate {
  from {-moz-transform:rotate(0deg);}
  to {  -moz-transform:rotate(360deg);}
}


a#generate-new-name.rotate:before {
    /*-webkit-transition: -webkit-transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);*/
  -webkit-animation-name: rotate;
  -webkit-animation-duration:0.5s;
  -webkit-animation-iteration-count:infinite;
  -webkit-animation-timing-function:linear;
  -moz-animation-name: rotate;
  -moz-animation-duration:0.5s;
  -moz-animation-iteration-count:infinite;
  -moz-animation-timing-function:linear;
}

/*--Animated ellipsis---*/
#name_generator_code h4 {
    /* width: 40%; */
    /* max-width: 960px; */
    width: 480px;
    margin: auto;
    color: #204E4A;
    font-size: 30px;
    line-height: 40px;
    text-align: left;
}
#name_generator_code h4:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4,end) 900ms infinite;      
  animation: ellipsis steps(4,end) 900ms infinite;
  content: "\2026"; /* ascii code for the ellipsis character */
  width: 0px;
}

@keyframes ellipsis {
  to {
    width: 1.25em;    
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 1.25em;    
  }
}

@keyframes pulsate {
    0%   { text-shadow: 0 0 0 black; }
    50%  { text-shadow: 0 0 17px black; }
    100% { text-shadow: 0 0 0 black; }
}

@-webkit-keyframes pulsate {
    0%   { text-shadow: 0 0 0 black; }
    50%  { text-shadow: 0 0 17px black; }
    100% { text-shadow: 0 0 0 black; }
}

div#fyn-anchor, a#generate-new-name {
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}

div#fyn-anchor.reveal, a#generate-new-name.reveal {
    visibility: visible;
    opacity: 1;
}

div#name_generator_code p.team-name {
    font-size: 30px !important;
    line-height: 40px;
    transition: .75s;
    visibility: visible;
    opacity: 1;
}

div#name_generator_code .team-name.hideme {
    visibility: hidden;
    opacity: 0;
    transition: .75s;	
}

div#fyn-anchor {
    margin-bottom: 0px !important;
}

div#fyn-anchor + .et_pb_button_module_wrapper {
    margin-top: 20px;
}

a#generate-new-name:hover {
    opacity: 70%;
}

@media screen and (max-width:550px) {
	#name_generator_code h4 {
	    max-width: 480px;
	    width: 100%;
	    font-size: 25px !important;		
	}
}

/*---New Quiz answers----*/
.et_pb_module.et_pb_blurb.netball-position {
    padding-top: 10px;
    border-top: 1px solid;
    margin-top: 10px;
}

.et_pb_module.et_pb_blurb.netball-position .et_pb_main_blurb_image {
    width: 100px;
    order: 2;
    padding-left: 20px;
    display: inline-flex;
    margin-bottom: 0;
}

.et_pb_module.et_pb_blurb.netball-position h2.et_pb_module_header {
    padding-bottom: 0;
}

.et_pb_module.et_pb_blurb.netball-position .et_pb_blurb_container {
    padding-left: 0;
    order: 1;
    align-self: center;
    display: inline-flex;
}

.et_pb_module.et_pb_blurb.netball-position .et_pb_blurb_content {
    display: flex;
    justify-content: center;
}

.et_pb_row.fyp-result-content {
    padding-top: 0;
}

.et_pb_section.netball-position-result-section .et_pb_module.title-only {
	margin: auto;
}

.netball-position-title h2 {
    padding-bottom: 0;
    color: #204E4A;
    text-align: center;
}
.netball-position-title {
    padding-top: 30px;
    margin-top: 20px;
    border-top: 2px solid;
}

/*--Social sharing icons---*/
.et_pb_row.social-sharing-code {
    padding-top: 0 !important;
}

ul.social-footer-icons {
    list-style-type: none;
    padding: 0 !important;
}

ul.social-footer-icons li {
    display: inline-block;
    position: relative;
}

ul.social-footer-icons li a::before {
    height: 50px;
    width: 50px;
    font-size: 18px;
    color: #fff;
    font-family: ETmodules;
    font-weight: 400;
    padding: 8px;
    background-color: #4FC4C7;
    background-color: #163734;
    background-color: #FCFC05;
    position: relative;
    margin-right: 5px;
    vertical-align: middle;
}

ul.social-footer-icons li a.facebook-icon:before {
    content: "\e093";
}

ul.social-footer-icons li a.twitter-icon:before {
    content: "\e094";
}

ul.social-footer-icons li a.linkedin-icon:before {
    content: "\E09D";
}

ul.social-footer-icons li a.mail-icon:before {
    content: "\e076";
}

ul.social-footer-icons li a.whatsapp-icon:before {
    content: "\F232";
    font-family: "FontAwesome";
}

.et_pb_row.social-sharing-code .et_pb_code_inner {
    display: flex;
    align-items: center;
}

.et_pb_row.social-sharing-code .et_pb_code_inner h3 {
    color: #204E4A;
    padding-right: 20px;
}

.et_pb_row.fyp-result-content {
    border-bottom: 2px solid;
    margin-bottom: 20px;
}

@media screen and (min-width:981px) {
	.et_pb_section.netball-position-result-section .et_pb_module.title-only {
		max-width: 90%;
	}
}

@media screen and (max-width:980px) and (min-width:670px) {
    .et_pb_section.netball-position-result-section .et_pb_module.title-only {
        max-width: 80%;
    }    
}

@media screen and (max-width:980px) and (min-width:767px) {
    .et_pb_row.fyp-result-content {
        display: flex;
    }
    
    .et_pb_row.fyp-result-content .et_pb_column:first-child {
        width: 31.3333%;
        margin-right: 3%;
    }
    
    .et_pb_row.fyp-result-content .et_pb_column:last-child {
        width: 65.667%;
    }    
}

@media screen and (max-width:768px) {
    .et_pb_module.et_pb_blurb.netball-position .et_pb_blurb_container {
        text-align: left;
    }

    .et_pb_module.et_pb_blurb.netball-position .et_pb_main_blurb_image {
        padding-left: 10px;
        width: 120px;
    }
    .netball-position-title h2 {
	    text-align: left;
    }
    
	.et_pb_row.social-sharing-code .et_pb_code_inner h3 {
	    padding-right: 10px;
		font-size: 26px;
	}
}

@media screen and (max-width:550px) {
	.et_pb_row.social-sharing-code .et_pb_code_inner {
	    display: block;
	}	
	
    div#name_generator_code {
        padding: 25px 0;
        margin: 25px 0;
        height: auto;
    }    
    
	div#name_generator_code h4 span {
	    display: none;
	}
}

/*--Meet the Team---*/
.et_pb_row.team-grid .et_pb_column {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}

.et_pb_row.team-grid .et_pb_column .et_pb_team_member {
    display: block;
    margin-bottom: 0;
}

.et_pb_row.team-grid .et_pb_team_member_image {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    text-align: center !important;
}

.et_pb_row.team-grid .et_pb_column .et_pb_team_member_description p.et_pb_member_position {
    margin-bottom: 10px;
}

@media screen and (max-width:980px) {
 .et_pb_row.team-grid .et_pb_column {
    grid-template-columns: repeat(2, minmax(0, 1fr));  
    grid-column-gap: 40px;
    grid-row-gap: 40px;
 }   
}

@media screen and (max-width:550px) {
 .et_pb_row.team-grid .et_pb_column {
    grid-template-columns: repeat(1, minmax(0, 1fr));

 }   
}