/* Contact Form */
.wpcf7-form {
    background: #f4f4f4;
    padding: 2rem 2rem 0;
}

.wpcf7-form .wpcf7-form-control-wrap {
    display: block
}

.wpcf7-form .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 1em;
    font-weight: 400;
    display: block;
    position: absolute;
    top: -1.5rem;
    left: 1rem;
}

form.wpcf7-form input[type=text], 
form.wpcf7-form input[type=tel], 
form.wpcf7-form input[type=email], 
form.wpcf7-form textarea,
form.wpcf7-form select {
    border: none;
}

form.wpcf7-form textarea {
    margin-bottom: 0;
}

form.wpcf7-form select {
    color: #757575;
}

/* Network Map */
.network-map .map {
    padding-bottom: 56.75%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.network-map .data {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.network-map .pins {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
}

.network-map .pins::before {
    content: '';
    height: calc(100% - 1rem);
    width: 1px;
    background: var(--li-purple);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateY(1rem);
}

.network-map .pins::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 4rem;
    height: 4rem;
    background-image: url(../images/icon-pin.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, 4rem);
}

.network-map .pins.namex::after,
.network-map .pins.ny::after,
.network-map .pins.jpix::after {
    background-image: url(../images/icon-pin-orange.svg);
}

.network-map .pins.isle-of-man::after,
.network-map .pins.jedix::after {
    background-image: url(../images/icon-pin-green.svg);
}

.network-map .pin {
    position: relative;
    margin-bottom: 1.2rem;
    margin-left: 20rem;
}

.network-map .pin::before {
    content: '';
    border-top: 1px solid var(--li-purple);
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateX(-3rem);
}

.network-map .pin::after {
    content: '';
    background: var(--li-green);
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: 50%;
    left: 0;
    border-radius: 50%;
    transform: translate(-4.45rem, -50%)
}

.network-map .pin.left {
    margin-left: 0;
    margin-right: 20rem;
}

.network-map .pin.left::before {
    transform: translateX(3rem);
}

.network-map .pin.left::after {
    transform: translate(4.5rem, -50%);
    right: 0;
    left: unset;
}

.network-map .btn {
    margin: 0;
}

.network-map .btn.blue {
    background: rgb(69, 21, 180);
}

.network-map .btn.orange {
    background: rgb(254, 102, 68);
}

.network-map .btn.green {
    background: rgba(97, 238, 137, 1);
}

.network-map .pins.london {
    /* left: 47%;
    top: 28%; */
    left: 48%;
    top: 34%;
}

.network-map .pins.isle-of-man {
    top: 40%;
    left: 45%;
}

.pins.isle-of-man .pin {
    margin-bottom: 5.5rem;
}

.network-map .pins.ny {
    left: 31%;
    top: 50%;
}

/* Bandwidth Block */
.bandwidth-fees, .port-access-fees {
    position: relative;
    margin-bottom: 5rem;
}

.main-form input, .main-form-port input {
    position: absolute;
    bottom: -4rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
}

.step-one__container, .step-one-port__container {
    background-color: #F4F4F4;
    padding: 1.5rem 1rem;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.step-one__container label, .step-one-port__container label {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.step-one__container .row, .step-one-port__container .row {
    margin: 0 auto;
}

.step-one__container .location-button, .step-one-port__container .port-button {
    margin: 10px 0;
}

.step-two__container, .step-two-port__container {
    padding: 1.5rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.step-two__container label, .step-two-port__container label {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.step-two__container .step-one-selected-option span, .step-two-port__container .step-one-port-selected-option span {
    font-weight: bold;
}

.step-two__container .row, .step-two-port__container .row {
    margin: 0 auto;
}

.bandwidth-options, .bandwidth-port-options {
    display: none;
}

.bandwidth-options, .bandwidth-port-options {
    width: 100%;
}

.bandwidth-options__content, .bandwidth-port-options__content {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    justify-content: center;
}

.bandwidth-card {
    margin: 5px;
    cursor: pointer;
    width: 13%;
    display: flex;
    flex-direction: column;
    flex: 1;
    box-shadow: none;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.bandwidth-port-card {
    margin: 5px;
    cursor: pointer;
    width: 15%;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.bandwidth-card.feature, .bandwidth-port-card.feature {
    background: rgb(254, 102, 68);
    background: linear-gradient(180deg, rgba(254, 102, 68, 1) 0%, rgba(247, 230, 35, 1) 100%);
}

.bandwidth-card:first-child, .bandwidth-port-card:first-child {
    background: rgb(254, 102, 68);
    background: linear-gradient(180deg, rgba(69, 21, 180, 1) 0%, rgba(36, 193, 175, 1) 60%);
}

.bandwidth-card.feature .title, .bandwidth-port-card.feature .title {
    border-left: 5px solid #FC863B;
    border-right: 5px solid #FC863B;
}

.bandwidth-card.feature .content, .bandwidth-port-card.feature .content {
    border-left: 5px solid #FC863B;
    border-right: 5px solid #FC863B;
    border-bottom: 5px solid #FC863B;
}

.bandwidth-card:first-child .title,.bandwidth-port-card:first-child .title {
    border-left: 5px solid #317bb1;
    border-right: 5px solid #317bb1;
}

.bandwidth-card:first-child .content, .bandwidth-port-card:first-child .content {
    border-left: 5px solid #317bb1;
    border-right: 5px solid #317bb1;
    border-bottom: 5px solid #317bb1;
}

.bandwidth-card .top-text, .bandwidth-port-card .top-text {
    color: #000;
    font-weight: bold;
    font-size: .8rem;
    padding: 1rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bandwidth-card:first-child .top-text, .bandwidth-port-card:first-child .top-text {
    color: #fff;
}

.bandwidth-card.feature .top-text, .bandwidth-port-card.feature .top-text {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 1rem;
    text-transform: capitalize;
}

.bandwidth-card .title, .bandwidth-port-card .title {
    position: relative;
    padding: 1.5rem 0;
    box-shadow: 0px 1px 2px 0px #0000001f;
}

.bandwidth-card .title p, .bandwidth-port-card .title p {
    color: #fff;
    font-weight: bold;
    margin-bottom: 0;
    z-index: 2;
    position: relative;
    font-size: 1.5rem;
}

.bandwidth-card .title::after, .bandwidth-port-card .title::after {
    content: '';
    background-image: url(../images/bandwidth-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.bandwidth-card .content, .bandwidth-port-card .content {
    padding: 1rem .8rem;
    background: #fff;
    display: flex;
    flex: 1;
    align-items: center;
    flex-flow: column;
    border: 1px solid #0000001f;
    border-top: none;
}

.bandwidth-card .price, .bandwidth-port-card .price {
    font-weight: bold;
    margin-bottom: 1rem;
}

.bandwidth-card .bottom-text, .bandwidth-port-card .bottom-text {
    font-size: .65rem;
    margin-bottom: 1rem;
}

.bandwidth-button, .bandwidth-port-button {
    display: flex;
    align-items: center;
    color: #fff;
    border: none;
    border-radius: 3rem;
    padding: 0;
    font-weight: 400;
    position: relative;
    transition: all .5s;
    background: rgb(69, 21, 180);
    background: linear-gradient(90deg, rgba(69, 21, 180, 1) 0%, rgba(36, 193, 175, 1) 100%);
    opacity: 0;
    visibility: hidden;
    height: 0;
    transition-property: visibility, opacity, height, padding;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
    margin-top: auto;
}

.bandwidth-button:hover,
.bandwidth-button:active, 
.bandwidth-port-button:hover,
.bandwidth-port-button:active {
    color: #fff;
    box-shadow: 3px 3px 5px 0 rgba(38,38,38,.15);
}

.bandwidth-button:focus,
.bandwidth-port-button:focus {
    outline: none;
}

.bandwidth-button::after, .bandwidth-port-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: -12rem 0, 0 0;
    background-image: linear-gradient(160deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 29.5%,
            rgba(255, 255, 255, 0.005) 30%,
            rgba(255, 255, 255, 0.1) 40%,
            rgba(255, 255, 255, 0.2) 49.5%,
            rgba(255, 255, 255, 0.0) 50%);
    background-size: 250% 250%, 100% 100%;
    transition: background-position .5s ease-in-out;
}

.bandwidth-button:after,
.bandwidth-button:hover:after,
.bandwidth-port-button:after,
.bandwidth-port-button:hover:after {
    background-position: 0 0, 0 0;
    transition-duration: .5s;
}

.bandwidth-card:hover .bandwidth-button, .bandwidth-port-card:hover .bandwidth-port-button {
    opacity: 1;
    padding: .5rem 2rem;
    visibility: visible;
    height: 40px;
}

.bandwidth-card.selected .bandwidth-button, .bandwidth-port-card.selected .bandwidth-port-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(254, 102, 68);
    background: linear-gradient(90deg, rgba(254, 102, 68, 1) 0%, rgba(247, 230, 35, 1) 100%);
    margin-top: auto;
    opacity: 1;
    padding: .5rem 2rem;
    visibility: visible;
    height: 40px;
}

.port-access-fees form.wpcf7-form, .bandwidth-fees form.wpcf7-form {
    padding: 2rem 2rem 2rem;
    border-radius: 15px;
}


@media screen and (min-width: 1600px) { 
    .pins.isle-of-man .pin {
        margin-bottom: 8rem;
    }
}

@media screen and (min-width: 769px) {
    .pins.ny .pin {
        margin-bottom: 3.5rem;
    }

    .pins a.coming-soon::before {
        content: 'coming soon';
        display: block;
        position: absolute;
        bottom: -10px;
        font-size: 10px;
        background: #24c0af;
        padding: 1px 10px;
        border-radius: 10px;
    }
}

@media screen and (max-width: 1300px) { 
    .pins.isle-of-man .pin {
        margin-bottom: 4.2rem;
    }

    .bandwidth-options__content, .bandwidth-port-options__content {
        justify-content: center;
    }

    .bandwidth-card, .bandwidth-port-card {
        width: 20%;
        margin-top: 2rem;
        flex: 0 20%;
    }
}

.network-map .pins.nova {
    left: 28%;
    top: 54%;
}

.network-map .pins.namex {
    left: 52%;
    top: 57%;
}

.network-map .pins.jedix {
    left: 59%;
    top: 65%;
}

.network-map .pins.jpix {
    left: 81%;
    top: 54%;
}

.network-map .pins.africa {
    top: 73%;
    left: 55%;
}

.network-map .key {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.network-map .key>div {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 3rem;
    font-weight: 600;
}

.network-map .key>div::before {
    content: '';
    width: 2rem;
    height: 2rem;
    background: var(--li-purple);
    display: inline-block;
    margin-right: 1rem;
    border-radius: .75rem;
}

.network-map .key>div:last-child {
    margin-right: 0;
}

.network-map .key>div.orange::before {
    background: #fe6644;
}

.network-map .key>div.green::before {
    background: rgba(97, 238, 137, 1);
}

@media(max-width: 1599px) {
    .network-map .pin {
        margin-bottom: 1rem;
    }

    .network-map .pins {
        width: 34rem;
    }

    .network-map .pins::after {
        width: 3rem;
        height: 3rem;
        transform: translate(-50%, 3rem);
    }

    .network-map .pin::before {
        width: 75%;
    }

    .network-map .pin::after {
        width: 1rem;
        height: 1rem;
        transform: translate(-3.45rem, -50%);
    }

    .network-map .pin.left::before {
        transform: translateX(6rem);
    }

    .network-map .pin.left::after {
        transform: translate(3.5rem, -50%);
    }

    .network-map .btn {
        min-width: 10rem;
    }
}

@media(max-width: 1399px) {
    .network-map .pin {
        margin-bottom: 0;
    }

    .network-map .btn {
        min-width: unset;
    }

    .network-map .pin::before {
        width: 60%;
    }

    .network-map .pin.left::before {
        transform: translateX(9rem);
    }
}

@media(max-width: 1199px) {
    .network-map .btn {
        font-size: .8rem;
        padding: .25rem 1rem;
    }
    .network-map .pin::before {
        width: 40%;
    }
    .network-map .pin.left::before {
        transform: translateX(3rem);
        width: 100%;
    }
}

@media(max-width: 991px) {
    .network-map .map {
        background-size: 0;
        padding-bottom: 0;
    }
    .network-map .data {
        position: static;
        display: flex;
        flex-wrap: wrap;
    }
    .network-map .pins {
        position: static;
        transform: none;
        width: unset;
    }
    .network-map .pins::before,
    .network-map .pins::after {
        display: none;
    }
    .network-map .pin {
        margin: 0;
    }
    .network-map .pin.left {
        margin: 0;
    }
    .network-map .pin::before,
    .network-map .pin::after {
        display: none;
    }
    .network-map .btn {
        margin-right: .5rem;
        margin-bottom: .5rem;
    }
    .network-map .pins.london {
        flex-basis: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .bandwidth-card, .bandwidth-port-card {
        width: 32%;
        flex: 0 32%;
    }

    .bandwidth-card .bandwidth-button, .bandwidth-port-card .bandwidth-port-button {
        opacity: 1;
        padding: .5rem 2rem;
        visibility: visible;
        height: 40px;
    }
    
    .bandwidth-card.selected .bandwidth-button, .bandwidth-port-card.selected .bandwidth-port-button {
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgb(254, 102, 68);
        background: linear-gradient(90deg, rgba(254, 102, 68, 1) 0%, rgba(247, 230, 35, 1) 100%);
        margin-top: auto;
        opacity: 1;
        padding: .5rem 2rem;
        visibility: visible;
        height: 40px;
    }
}

@media(max-width: 767px) {
    .step-one__container .location-button, .step-one-port__container .port-button {
        width: 50%;
    }
}

@media(max-width: 575px) {
    .network-map .key {
        margin-top: 1rem;
    }
    .network-map .key>div {
        margin-right: 1rem;
    }
    .network-map .key>div::before {
        width: 1rem;
        height: 2rem;
        margin-right: .5rem;
    }

    .step-one__container .location-button, .step-one-port__container .port-button {
        width: 100%;
    }

    .bandwidth-options__content, .bandwidth-port-options__content {
        display: inline-block;
    }

    .bandwidth-card, .bandwidth-port-card {
        width: 100%;
        margin-top: 1rem;
        flex: 0 100%;
    }

    .bandwidth-card .top-text, .bandwidth-port-card .top-text {
        min-height: 0;
    }

    .bandwidth-card.feature, .bandwidth-port-card.feature {
        margin-top: 3rem;
    }
}


.leaflet-container {
    background: #efefef !important;
}

.leaflet-linx-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
    padding-top: 50%;
    width: 100%;
    border-radius: 10px;
}

.leaflet-linx {
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 600px) {
    .leaflet-linx-wrapper {
        padding-top: 125%;
    }
}

.marker-pin {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border: 1px solid #ffffff;
}

.linx-marker.blue .marker-pin { background: var(--li-purple); } 
.linx-marker.orange .marker-pin { background: #fe6644; } 
.linx-marker.green .marker-pin { background: #61ee89; }

.marker-pin::after {
    content: '';
    background-image: url(https://www.linx.net/wp-content/themes/linx/assets/images/icon-pin.svg);
    display: block;
    width: 40px;
    height: 64px;
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

.green .marker-pin::after {
    background-image: url(https://www.linx.net/wp-content/themes/linx/assets/images/icon-pin-green.svg);
}

.orange .marker-pin::after {
    background-image: url(https://www.linx.net/wp-content/themes/linx/assets/images/icon-pin-orange.svg);
}

.marker-pin::before {
    z-index: 3;
    content: '';
    position: absolute;
    top: -35px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.leaflet-popup-content-wrapper {
    background: transparent;
    box-shadow: none;
    text-align: center;
}

.leaflet-popup-content-wrapper a {
    color: #fff;
    margin: 3px auto !important; 
}
.leaflet-popup-tip {
    width: 1px;
    transform: none;
    height: 100%
}
.leaflet-popup-tip-container {
    height: calc(100% - 6px);
    top: 30px;
    margin: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.leaflet-popup-content-wrapper { z-index: 3; position: relative; }
.leaflet-container a.leaflet-popup-close-button {
    background: red;
    font-weight: bold;
    border-radius: 50%;
    color: #fff;
}

.leaflet-container a.leaflet-popup-close-button {
    background: #ff6c6c;
    font-weight: bold;
    border-radius: 50%;
    color: #fff;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: -45px;
}

 h3::after {
    content: "";
    display: block;
    width: 48px;
    height: 5px;
    background-color: #61EE89;
    margin: auto;
    margin-top: 32px;
}
h3.no-graphic::after,
h3.is-style-no-graphic::after {
    display: none;
}
section h3 {
    margin-bottom: 32px;
}