/*------------------------------------*\
    
    WebFX WYSIWYG Customizations - Global styling for all ACF WYSIWYG's

    Add custom WYSIWYG styling to this file if it should be applied to all ACF WYSIWYG's on the site
    Otherwise, put your block-specific styles in individual block stylesheets

\*------------------------------------*/

.wysiwyg { 
    position: relative;
    color: #004A46;
    z-index: 1;
}

.wysiwyg.bg-white:first-child {
    padding-top: 0;
}

.wysiwyg__wrapper {
    max-width: 1162px;
    margin: 0 auto;
}

.js-wysiwyg__table-wrapper {
/*     overflow-x: auto; */
	overflow: hidden;
}

.wysiwyg--top-wave svg {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
}
  
.wysiwyg p a:not(.btn) {
    word-break: break-word;
    font-weight: 600;
    position: relative;
    color: inherit;
    text-decoration: none;
    transition: all .3s;
    background: linear-gradient(to bottom, #65C8C7 0%, #65C8C7 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 2px 2px;
}


a:not(.btn):hover::after {
    background-color: #EF96A6;
    transition: all .3s;
}

.wysiwyg--padding {
    padding: 40px 0 60px 0;
}

@media( max-width : 767px ) {
    .wysiwyg--padding svg {
        position: relative;
        top: -5px;
    }
}

.wysiwyg--top-wave {
    padding: 62px 0 40px 0;
}

.small-map {
    background-color: #FEF5E2;
    border-radius: 20px;
    padding: 24px 35px;
    margin-bottom: 25px;
}

.small-map img {
    display: block;
    margin: 0 auto;
}

.right-map {
    display: flex;
    justify-content: center;
    margin: 0 -13px;
    flex-wrap: wrap;
    align-items: stretch;
}

.right-map__col {
    width: 50%;
    padding: 0 13px;
    margin-bottom: 15px;
}

.right-map__item {
    background-color: #fff;
    box-shadow: 0 0 15px rgba(29,43,84,0.09);
    border-radius: 20px;
    text-align: center;
    position: relative;
    height: 100%;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
   
}

.right-map__image {
    padding: 0 0 0 0;
    display: flex;
    align-items: flex-end;
    position: relative;
    justify-content: center;
    height: 55px;
    margin: 11px auto 7px auto;
    width: 100px;

}

.right-map__image img {
    height: 100%;
}

.right-map__details {
    font-size: 15px;
    color: #D13B53;
}

.right-map__item .map-close {
    position: absolute;
    width: 28px;
    height: 28px;
    background-color: #D13B53;
    color: #fff;
    font-size: 11px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    right: 0;
    bottom: 0;
}

.right-map {
    padding-bottom: 15px;
}

@media (min-width: 768px) {
    .wysiwyg--padding {
        padding: 40px 0 80px 0;
    }

    .wysiwyg--top-wave {
        padding: 84px 0 60px 0;
    }

    .wysiwyg--top-wave--nobottom,
    .wysiwyg--top-wave-bottom {
        padding-bottom: 0;
    }

    .small-map {
        width: 316px;
        float: right;
        margin-left: 32px;
    }

    .right-map {
        width: 372px;
        float: right;
        padding-left: 32px;
    }
    
}

@media (min-width: 1200px) {
    .wysiwyg--padding {
        padding: 64px 0 74px 0;
    }

    .wysiwyg--top-wave {
        padding: 123px 0 120px 0;
    }

    .wysiwyg p a:not(.btn):hover {
        transition: all .3s;
        background: linear-gradient(to bottom, #EF96A6 0%, #EF96A6 100%);
        background-position: 0 100%;
        background-repeat: repeat-x;
        background-size: 2px 2px;
        color: #CB4E96;
        
    }

    .wysiwyg--top-wave-bottom {
        padding-bottom: 0;
    }

    .small-map {
        border-radius: 30px;
        width: 380px;
    }

    .right-map {
        width: 478px;
    }

    .right-map__image {
        height: 73px;
        width: 125px;
        margin-top: 14px;
        margin-bottom: 9px;
    
    }
    
    .right-map__details {
        font-size: 20px;
        padding-bottom: 20px;
    }

    .right-map__item .map-close {
        width: 36px;
        height: 36px;
        font-size: 14px;
        bottom: -3px;
    }
    
    .right-map {
        padding-top: 25px;
    }

    .right-map__item {
        border-radius: 30px;       
    }
    
    
}

/* table */

.wysiwyg table,
.table-structure {
    padding: 0 0;
    position: relative;
    color: #004A46;
    box-shadow: 0 0 15px rgba(29,43,84,0.09);
}

.wysiwyg table,
.table-structure table {
    border-collapse: collapse;
    width: 856px;
    border-radius: 30px;
    overflow: hidden;
}

.wysiwyg table tr:first-child,
.wysiwyg table tr:first-child td,
.table-structure table thead {
    background-color: #00817B;
    color: #FFFFFF;
}

.wysiwyg table tr:first-child td,
.table-structure table thead tr th {
    padding: 16px 0 16px 30px;
    text-align: left;
    font-size: 17px;
    font-weight: 700;
    border: none;
    color: #ffffff;
}

.wysiwyg table tr:first-child td {
    padding: 20px 15px;
}

.wysiwyg table tr,
.table-structure table tbody tr {
    background-color: #E6F3F2;
}

.wysiwyg table tr:nth-child(odd),
.table-structure table tbody tr:nth-child(odd) {
    background-color: #fff;
}

.wysiwyg table tr td,
.wysiwyg table tr th,
.table-structure table tbody tr td,
.table-structure table tbody tr th {
    padding: 14px 30px 14px 30px;
    text-align: left;
    font-size: 15px;
    font-weight: 400;
    color: #004A46;
    line-height: 1.4em;
    vertical-align: top;
    max-width: 200px;
}

@media( max-width : 767px ) {
    .wysiwyg table tr td,
    .wysiwyg table tr th,
    .table-structure table tbody tr td,
    .table-structure table tbody tr th {
        padding: 14px 5px 14px 5px;
    }
}

.wysiwyg table tr:first-child td,
.table-structure table tbody tr th {
    font-weight: 700;
    width: 220px;
}



.table-scroll {
    scrollbar-width: thin;
    scrollbar-color: #F6C254 #FFFFFF;
    border-radius: 30px;
    position: relative;
    padding-bottom: 20px;
    overflow-x: auto;
    margin-right: -50px;
    margin-bottom: 30px;
}

.table-scroll::-webkit-scrollbar {
    width: 15px;
    height: 15px;
    padding-bottom: 30px;
    border-radius: 30px;
}

.table-scroll::-webkit-scrollbar-track {
    background-clip: content-box;
    border: 15px solid #489B7A;
}

.table-scroll::-webkit-scrollbar-thumb {
    background-color: #489B7A;
}

.table-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #489B7A;
}

.table-scroll::-webkit-scrollbar-corner, 
.table-scroll::-webkit-scrollbar-track {
    background-color: #489B7A;
}


@media (min-width: 768px) {

    .wysiwyg table,
    .table-structure table {
        width: 100%;
    }
    
    .table-structure table tbody tr td, 
    .table-structure table tbody tr th,
    .table-structure table thead tr th {
        padding: 18px 22px;
    }
}

@media (min-width: 1200px) {
    .wysiwyg--gap h2 {
        padding-bottom: 5px;
    }

    .table-structure table {
        width: 100%;
    }


    .table-structure table tbody tr td, 
    .table-structure table tbody tr th,
    .table-structure table thead tr th {
        padding: 18px 28px;
        font-size: 18px;
        width: 33.33%;
    }

    .table-structure table tbody tr {
        background-color: #fff;
    }

}

.single .wysiwyg > svg {
    display: none;
}

.wysiwyg ol li {
    padding-left: 30px;
}

/* Testimonial */
.testimonials__author-info {
    display: flex;
    justify-content: center;
}

.testimonials__author-image img {
    padding-right: 20px;
    width: 100px;
}

.testimonials__author-info span {
    font-size: 14px;
    color: #004a46;
}

.testimonials__rating-info {
    display: flex;
    justify-content: center;
}

.testimonials__star-rating li {
    display: inline-block;
    padding: 0!important;
}

.testimonials__star-rating li:before {
    display: none;
}

.testimonials__star-rating li img {
    width: 25px;
    height: 25px;
}

.testimonials__google-logo {
    padding-left: 10px;
    margin-top: -5px;
}

.testimonial__content {
    padding-top: 20px;
}


.progress,
.progress-1  {
    display: block;
    width: 330px;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    background-image: linear-gradient(to right, #F6C254, #F6C254);
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size .4s ease-in-out;
    margin: 0 auto;
}
  

@media (min-width: 768px) {
    .progress {
        width: 664px;
    }
}

@media (min-width: 1200px) {
    .progress {
        width: 533px;
    }
}


/* COMBINATION FIX */
.wysiwyg.bg-white + .wysiwyg > svg path,
.wysiwyg.bg-white + .module > svg path,
.wysiwyg.bg-white + .bg-pink > svg path {
    fill: #fff !important;
}

.wysiwyg.bg-pink + .wysiwyg > svg path,
.wysiwyg.bg-pink + .module > svg path,
.wysiwyg.bg-pink + .image-text  svg path {
    fill: #FFEAE9 !important;
}

.wysiwyg.bg-blue + .wysiwyg > svg path,
.wysiwyg.bg-blue + .module > svg path,
.wysiwyg.bg-blue + .image-text svg path {
    fill: #E6F3F2 !important;
}

.wysiwyg.bg-yellow + .wysiwyg > svg path,
.wysiwyg.bg-yellow + .module > svg path,
.wysiwyg.bg-yellow + .image-text svg path {
    fill: #FEF5E2 !important;
}

.wysiwyg.bg-white + .image-text--pink,
.wysiwyg.bg-blue + .image-text--pink {
    margin-top: 0;
}


.show-mobile{
    display: block;
    float: right;
}

@media(min-width: 421px) {
   .show-mobile{
        display: none;
    }
}
@media(max-width:420px) {
  
    .table-wrapper{
        overflow: scroll;
      }
}

.wysiwyg-flag {
    display: block;
    position: relative;
    top: -90px;
}

@media (min-width: 768px) {
	.wysiwyg-flag {
		top: -100px;
	}
}

@media (min-width: 1200px) {
	.wysiwyg-flag {
		top: -130px;
	}
}

/*
*** -----------------------------------
** Screen Resizing -------------------------------------TEMP DISABLED
*** -----------------------------------

@media ( min-width: 1280px ) and ( max-width: 1799px ) {
    section.wysiwyg {
        padding: 70px 0 0;
    }
    
    section.wysiwyg > .container {
        transform: scale( 0.8 ) !important;
        -moz-transform: scale( 0.8, 0.8 ) !important;
        -ms-transform: scale( 0.8 ) !important;
        -webkit-transform: scale( 0.8 ) !important;
    }
	
	.page-id-61 section.wysiwyg > .container {
		transform: scale( 0.95 ) !important;
		-moz-transform: scale( 0.95, 0.95 ) !important;
		-ms-transform: scale( 0.95 ) !important;
		-webkit-transform: scale( 0.95 ) !important;
	}
	
	.page-id-4817 section.wysiwyg {
		margin: -220px 0 0;
	}
	
	.page-id-4907 section.wysiwyg>.container {
		transform: scale(0.9) !important;
	    margin-top: -450px;
    	margin-bottom: -350px;
		transform: scale( 0.9 ) !important;
		-moz-transform: scale( 0.9, 0.9 ) !important;
		-ms-transform: scale( 0.9 ) !important;
		-webkit-transform: scale( 0.9 ) !important;
	}
}*/