/* general */

@font-face {
	font-family: 'Fredoka';
	src: url('Fredoka-VariableFont_wdth,wght.ttf') format('truetype');
}

@font-face {
	font-family: 'CourierPrime';
	src: url('CourierPrime-Regular.ttf') format('truetype');
}

:root {
	--iewc-green: #9aca3c;
	--iewc-light-green: rgb(114, 208, 148);
	--iewc-blue: #3678c2;
	--iewc-light-blue: #60bfe4;
	--iewc-gray: #333;
	--iewc-gray-secondary: #3b3b3b;
	--iewc-gray-light: #505050;
	--iewc-red: rgb(225, 50, 50);
	--iewc-orange: rgb(210, 120, 42);
	--iewc-black: #333;
	--border-radius: 1rem;
	--button-border-radius: 2rem;
	--sm-button-border-radius: 1rem;
	--border-colour: rgba(0,0,0,.125);
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	position: relative;
	flex-grow: 0;
	flex-shrink: 0;
	font-family: 'Fredoka', sans-serif;
	color: var(--iewc-black);
}

ol,ul > li {
    margin-left: 20px;
}

html,
body {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	min-height: 100vh;
}

body {
	display: flex;
	flex-direction: column;
	align-items: center;
}

a {
	color: var(--iewc-blue);
	text-decoration: unset;
}

a:hover {
	text-decoration: underline;
}

dl {
	display: grid;
}
dt {
	grid-column: 1;
}
dd {
	grid-column: 2;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
	padding: .5rem 1rem !important;
	border-radius: 2rem !important;
	border: 2px solid var(--iewc-blue) !important;
}

td input:not([type="checkbox"]),
td textarea,
td select {
	width: 100%;
	max-width: 100%;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
	box-shadow: unset;
	outline: unset !important;
}

#login-input {
	margin: 0 auto;
}

textarea {
	min-height: 3rem !important;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--iewc-black);
}

.form-check .form-check-input {
	float: unset;
}

b {
	font-weight: 500 !important;
}

/* nav */

nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	background-color: var(--iewc-gray);
	width: 100%;
	max-width: 100%;
	z-index: 100;
}

#nav-pre {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-grow: 1;
}

#nav-logo img {
	background-size: cover;
	height: auto;
	width: 300px;
	max-width: 300px;
	margin: 1rem 0;
}

#nav-toggle {
	display: none;
	justify-content: center;
	align-items: center;
	border: 1px solid rgba(0,0,0,0);
	border-radius: .5rem;
	padding: .5rem;
	margin-right: .5rem;
}

#nav-toggle:hover {
	border: 1px solid white;
	cursor: pointer;
}

#nav-toggle i {
	color: white;
	font-size: 150%;
}

ul.nav1,
ul.nav2 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
}

ul.nav1 {
	margin: 0;
	padding: .25rem;
	flex-grow: 1;
	max-width: 100%;
}

ul.nav2 {
	display: none;
	flex-direction: column;
	width: auto;
	height: auto;
	padding: .5rem;
	z-index: 110;
	background-color: var(--iewc-gray-secondary);
	border-radius: 0 0 var(--border-radius) var(--border-radius);
	position: absolute;
	left: 50%;
	bottom: 0;
	top: unset;
	right: unset;
	transform: translateX(-50%) translateY(100%);
}

li.nav1 {
	padding: 1rem;
	height: 100%;
}

li.nav2 {
	white-space: nowrap;
	margin: .5rem;
	width: 100%;
}

li.nav1:hover ul.nav2,
ul.nav2:hover {
	display: flex;
}

.nav-item {
	color: white;
	padding: .5rem 1rem;
	border-radius: 2rem;
	border: 2px solid rgba(0,0,0,0);
	background-color: var(--iewc-gray);
	font-weight: 500;
}

li.nav2 .nav-item {
	font-weight: unset;
	background-color: var(--iewc-gray-secondary);
}

.nav-item:hover {
	text-decoration: unset;
	border: 2px solid var(--iewc-blue);
}

div.logged-in-bar {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	background-color: var(--iewc-gray-light);
	padding: .25rem .5rem;
	color: white;
}

/* contact form */

#contact-form {
	width: 100%;
}

#contact-form input,
#contact-form textarea {
	width: 100%;
}

#contact-form button {
	margin-left: auto;
	margin-right: auto;
}

/* sections */

.section,
.section-body {
	flex-grow: 1;
	padding: 2rem 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 80%;
	max-width: 80%;
	height: auto;
	background-color: white;
}

.section.conn-acc {
	align-items: flex-start;
}

.section.conn-acc > * {
	margin-bottom: 1rem;
}

.section.full-width,
.section-body.full-width {
	width: 100% !important;
	max-width: 100% !important;
}

.section:not(#home-landing),
.section-body:not(.conn-accs) {
	overflow-x: hidden;
}

.section-body.conn-accs .conn-accs-container {
	width: 100%;
	overflow-x: auto;
}

.section-body.conn-accs .conn-accs-container:not(last-of-type) {
	margin-bottom: 1rem;
}

.section-body.conn-accs .conn-accs-container * {
	flex-shrink: 1;
	flex-grow: 1;
}

.section-body.conn-accs .conn-accs-container h2 {
	text-align: center;
}

.section-body.conn-accs .conn-accs-container table {
	margin: 0 auto;
}

.section-text {
	text-align: justify;
	max-width: 100ch;
	flex-shrink: 1;
}

.section-text p {
	text-align: justify;
}

.section-heading {
	font-weight: 500;
	margin-bottom: 3rem;
}

.title-section {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: auto;
}

.title-section-head {
	flex-grow: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.title-section-head h1 {
	font-weight: 500;
	color: white;
	text-transform: uppercase;
	flex-shrink: 1;
	text-align: center;
	margin-right: .25rem;
	margin-left: .25rem;
	padding: 3rem 0;
}

.title-section-head.title-bg-green {
	background-color: var(--iewc-green);
}

.title-section-head.title-bg-blue {
	background-color: var(--iewc-blue);
}

.page-title {
	height: auto;
	width: 100%;
	max-width: 100%;
	padding: 6rem 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-grow: 1;
	flex-shrink: 1;
	flex-wrap:wrap;
}

.page-title h1 {
	height: auto;
	color: white;
	font-weight: 500;
	font-size: 3.5rem;
	flex-grow: 1;
	flex-shrink: 1;
	text-align: center;
	flex-wrap: wrap;
	width: 100%;
	max-width: 100%;
	text-wrap:wrap;
	word-wrap: break-word;
}

.page-title::before {
	position: absolute;
	height: 100%;
	width: 100%;
	bottom: 0;
	left: 0;
	display: flex;
	content: '';
	color: white;
	background-image:url('background-nodes.svg');
	background-size: cover;
	background-position: center;
	mix-blend-mode: color-dodge;
	opacity: .5;
}

.page-title.bg-iewc-blue h1 {
	text-shadow: 0 0 20px var(--iewc-blue);
}

.page-title.bg-iewc-green h1 {
	text-shadow: 0 0 20px var(--iewc-green);
}

/* utility / components */

.text-iewc-green {
	color: var(--iewc-green) !important;
}

.text-iewc-blue {
	color: var(--iewc-blue) !important;
}

.text-iewc-orange {
	color: var(--iewc-orange) !important;
}

.bg-iewc-green {
	background-color: var(--iewc-green) !important;
}

.bg-iewc-light-green {
	background-color: var(--iewc-light-green) !important;
}

.bg-iewc-blue {
	background-color: var(--iewc-blue) !important;
}

.bg-iewc-light-blue {
	background-color: var(--iewc-light-blue) !important;
}

.bg-iewc-orange {
	background-color: var(--iewc-orange) !important;
}

.fill-iewc-green {
	fill: var(--iewc-green) !important;
}

.fill-iewc-blue {
	fill: var(--iewc-blue) !important;
}

.fill-iewc-orange {
	fill: var(--iewc-orange) !important;
}

.button, .button-sm {
	display: flex;
}

.button,
.button-sm,
.button-ssm,
input[type="submit"] {
	justify-content: center;
	align-items: center;
	background-color: var(--iewc-blue);
	color: white;
	font-weight: 500;
}

.button,
input[type="submit"] {
	padding: .25rem 2rem;
	border-radius: var(--button-border-radius);
	border: 2px solid rgba(0,0,0,0);
	text-transform: uppercase;
}

.button:disabled,
input[type="submit"]:disabled {
	background-color: grey !important;
	cursor: not-allowed !important;
}

.button:hover,
.button-sm:hover,
input[type="submit"]:hover {
	cursor: pointer;
}

.button-sm {
	padding: .1rem 1rem !important;
	border-radius: var(--sm-button-border-radius);
	border: 1px solid rgba(0,0,0,0) !important;
}

.button-ssm {
	padding: .05rem .5rem !important;
	border-radius: var(--sm-button-border-radius);
	border: 1px solid rgba(0,0,0,0) !important;
}

.button-white {
	background-color: white !important;
	color: var(--iewc-blue) !important;
	border: 2px solid var(--iewc-blue) !important;
}

.button a,
.button-sm a {
	color: white;
}

.button:hover a,
.button-sm:hover a,
a.button:hover,
a.button-sm:hover {
	text-decoration: unset;
}

.button-container {
	display: flex;
	flex-wrap: wrap;
}

.button-container > * {
	margin-top: .5rem;
}

.button-container > :not(:last-of-type) {
	margin-right: .5rem;
}

.iewc-card,
.iewc-card-sm,
.iewc-card-lg {
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-radius: var(--border-radius);
	color: white;
	overflow: hidden;
	border: 1px solid var(--border-colour);
}

.card-shadow {
	box-shadow: 0 -8px 8px -4px rgba(255,255,255,.1) inset, /* soft bottom highlight */
				0 8px 4px -4px rgba(0,0,0,.3), /* hard bottom shadow */
				8px 16px 20px 0 rgba(0,0,0,.3); /* soft bottom-right shadow */
}

.bounce {
	animation: bounceAnimation 1s infinite;
}

@keyframes bounceAnimation {
	0%, 20%, 50%, 80%, 100% {
	  transform: translateY(0);
	}
	40% {
	  transform: translateY(-20px);
	}
	60% {
	  transform: translateY(-10px);
	}
  }

.iewc-card {
	width: 250px;
	max-width: 250px;
	height: 350px;
	max-height: 350px;
}

.iewc-card-body {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	width: 250px;
	height: 200px;
	padding: .5rem;
}

.iewc-card-body .iewc-card-body-section {
	width: 100%;
	display: flex;
	min-height: 2rem;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.iewc-card-header,
.iewc-card-footer,
.iewc-card-header-external {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 250px;
	height: 75px;
}

.iewc-card-footer {
	margin-top: auto;
}

.iewc-card-header-inner {
	height: 50%;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 500;
	font-size: 140%;
	color: white;
	text-align: center;
	padding: .25rem;
}

.iewc-card-sm {
	width: 175px;
	max-width: 175px;
	height: 250px;
	max-height: 250px;
}

.iewc-card-sm .iewc-card-body {
	width: 175px;
	height: 150px;
}

.iewc-card-sm .iewc-card-header,
.iewc-card-sm .iewc-card-footer {
	width: 175px;
	height: 50px;
}

.iewc-card-lg {
	width: 350px;
	max-width: 350px;
	min-height: 450px;
	height: auto;
	flex-grow: 1;
}

.iewc-card-lg .iewc-card-body {
	width: 350px;
	min-height: 300px;
	height: auto;
	flex-grow: 1;
}

.iewc-card-lg .iewc-card-header,
.iewc-card-lg .iewc-card-footer {
	width: 350px;
	height: 100px;
}

.iewc-card-body.network-card-body {
	justify-content: center;
	background-color: white;
}

.iewc-card-body.network-card-body img {
	max-width: 90%;
	height: auto;
}

.iewc-card-container-horizontal,
.iewc-card-container-horizontal-scroll,
.iewc-card-container-horizontal-no-wrap,
.iewc-card-container-vertical {
	display: flex;
	justify-content: center;
	flex-direction: row;
	flex-shrink: 1;
}

.iewc-card-container-horizontal,
.iewc-card-container-horizontal-scroll,
.iewc-card-container-horizontal-no-wrap {
	max-width: 100%;
}

.iewc-card-container-horizontal-scroll {
	overflow-x: scroll;
	overflow-y: hidden;
	justify-content: flex-start;
	height: 100%;
	max-height: 100%;
}

.iewc-card-container-horizontal {
	flex-wrap: wrap;
}

.iewc-card-container-horizontal-no-wrap {
	flex-wrap: nowrap;
}

.iewc-card-container-horizontal > *,
.iewc-card-container-horizontal-scroll > *{
	margin: 1rem;
}

.iewc-card-container-vertical {
	flex-direction: column;
}

.iewc-card-body-section.card-icon-section {
	margin-bottom: 2rem;
}

.iewc-card-body-section.card-icon-section img {
	max-height: 200px;
	width: auto;
}

.iewc-card-body-section.service-card-description-section {
	flex-grow: 1;
	padding: 0 1rem;
	text-align: center;
}

.dropbtn {
	color: white;
}

.dropdown-content {
	background-color: var(--iewc-gray-light) !important;
	border: none !important;
	border-radius: var(--border-radius) !important;
	max-width: 90vw !important;
}

.dropdown-content-searchbar,
.dropdown-content-searchbar-wrapper {
	background-color: var(--iewc-gray-light) !important;
	z-index: 100;
}

.dropdown-content-searchbar {
	border: 2px solid white;
	padding: 1rem .25rem;
}

.dropdown-content-searchbar:focus {
	outline: none;
}

table {
	border-collapse: unset !important;
}

table a {
	color: var(--iewc-blue);
	font-weight: 500;
}

.tcTable {
	border-left: 1px solid black ;
	border-top: 1px solid black;
}

.tcTable tr:nth-child(even) {
	background-color: #F9F9F9;
}

.tcTable tr:nth-child(odd) {
	background-color: #F0F0F0;
}

.tcTable th, .tcTable td {
	border-right: 1px black solid;
	border-bottom: 1px black solid;
	padding: 3px;
	vertical-align: top;
}

.tcTable th {
	background-color: #cccccc;
	padding: 3px;
	font-weight: 500;
}

.tcAlt {
	background-color: #e0e0e0;
	font-weight: 500;
}

.tcRalign {
	text-align: right;
}

.popup {
	position: fixed;
	right: 50px;
	top: 80px;
	padding: 0px;
	min-width: 50%;
	max-width: 50%;
	display: none;
	z-index: 150;
	border: solid 1px black;
}

.popup-title {
	color: white;
	font-weight: 500;
	padding: 5px;
}

.popup-bar {
	width: 100%;
	background: var(--iewc-blue);
	z-index: 150;
}

a.popup-close {
	background: #cccccc;
	color: red;
	float: right;
	text-decoration: none;
	height: 100%;
	padding: 0 4px 0 4px;
}

.popup-body {
	background: white;
	overflow: auto;
	max-height: 500px;
	z-index: 150;
}

.popup-inner {
	margin: 15px;
	padding: 0px;
	background: white;
}

.ajlink:hover {
	background-color: #cccccc;
}

.ajactlink {
	background-color: #e0e0e0;
}

/* homepage */

#home-landing {
	flex-direction: row;
	min-height: 66vh;
}

#home-landing::before {
	position: absolute;
	content: '';
	height: 100%;
	width: 100vw;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	background-image:url('background-nodes.svg');
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
}

#home-landing-text-container,
#home-landing-img-container {
	width: 45%;
	flex-shrink: 1;
}

#home-landing-img-container {
	height: 100%;
	background-image: url('iewc-logo.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	margin-right: 5%;
}

#home-landing-heading-1,
#home-landing-heading-2 {
	font-size: 350%;
	display: flex;
	align-items: center;
	width: auto;
	background-color: white;
	box-shadow: 0 0 0 4px white;
	padding-left: 1rem;
}

#home-landing-heading-2 {
	font-size: 600%;
	font-weight: 500;
	margin-top: -1rem;
	margin-bottom: 1rem;
}

#home-landing .button-container {
	padding-left: 1rem;
}

#home-landing-button {
	box-shadow: 0 0 0 12px white;
}

#home-coverage-section .section-body {
	min-height: unset;
}

.why-choose-us-reasons-container {
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
	flex-shrink: 1;
}

.why-choose-us-reason {
	width: 80%;
	padding: 4rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.why-choose-us-reason:not(:last-child) {
	border-bottom: 2px solid var(--border-colour);
}

.why-choose-us-reason:nth-child(2n+1) {
	flex-direction: row-reverse;
}

.why-choose-us-reason:nth-child(2n+1) .why-choose-us-reason-body,
.why-choose-us-reason:nth-child(2n) .why-choose-us-reason-image {
	margin-right: 2rem;
}

.why-choose-us-reason-image {
	width: 150px;
	height: 150px;
}

.why-choose-us-reason-body {
	overflow-wrap: break-word;
	word-wrap: break-word;
	width: 60%;
	max-width: 60%;
	flex-shrink: 1;
	flex-grow: 1;
	font-size: 110%;
}

.why-choose-us-reason-header {
	font-weight: 500;
	text-align: left;
	font-size: 180%;
	margin-bottom: 1rem;
}

#home-faq {
	width: 80%;
	height: 100%;
	flex-grow: 1;
}

.faq {
	min-height: 50px;
	max-width: 100%;
}

.faq:not(:last-child) {
	margin-bottom: 1rem;
}

.faq .faq-header {
	height: auto;
	display: flex;
	align-items: center;
	flex-grow: 1;
	flex-shrink: 1;
}

.faq .faq-header .bullet {
	width: auto;
	height: 100%;
	aspect-ratio: 1;
	margin-right: 1rem;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.faq .faq-header .bullet svg {
	height: 22px;
	width: 22px;
	fill: var(--iewc-black);
	display: flex;
	justify-content: center;
	align-items: center;
}

.faq .faq-header .question {
	display: flex;
	align-items: center;
	padding: 1rem 0;
	border-bottom: 1px solid var(--border-colour);
	font-size: 110%;
	cursor: pointer;
	flex-grow: 1;
	flex-shrink: 1;
}

.faq .answer {
	flex-shrink: 1;
	padding-left: calc(50px + 1rem);
	margin-top: 1rem;
}

#home-faq li {
	display: flex;
	align-items: center;
	flex-shrink: 1;
	padding-left: 1rem;
}

.testimonials-container {
	display: flex;
	align-items: flex-end;
	width: auto;
	flex-shrink: 1;
	max-width: 100%;
	overflow-x: scroll;
	margin: 0 1rem;
}

.testimonial {
	margin: 1rem;
	width: 250px;
	max-width: 250px;
}

.testimonial-header,
.testimonial-body,
.testimonial-rating {
	justify-content: center;
	align-items: center;
	text-align: center;
}

.testimonial-header {
	margin-top: .5rem;
	font-weight: 500;
	font-size: 120%;
}

.testimonial-body {
	font-style: italic;
}

.testimonial-rating {
	margin-top: .5rem;
}

.testimonial-rating img {
	height: auto;
	width: 50%;
}

#home-partners-section .section-body {
	min-height: unset;
}

.partners-container {
	display: flex;
	justify-content: flex-start;
	overflow-y: hidden;
	overflow-x: scroll;
	width: 100%;
	max-width: 100%;
	height: 100%;
	margin: 1rem 0;
	flex-shrink: 1;
	padding: 1rem 0;
}

.partner {
	height: 100px;
	width: 300px;
	border: 1px solid var(--iewc-black);
	margin-right: 1rem;
}

/* contact us */

#contact-us-body {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

#contact-us-text,
#contact-us-map {
	width: 45%;
}

#contact-us-map {
	aspect-ratio: 1;
}

.contact-us-text-section {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
}

.contact-us-text-section:not(:last-of-type) {
	border-bottom: 2px solid var(--border-colour);
}

/* about us */

.about-us-person {
	display: flex;
	align-items: center;
	margin-bottom: 4rem;
}

.about-us-person .person-img-container {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 2rem;
	border-radius: 50%;
	overflow: hidden;
	height: 300px;
	width: 300px;
}

.about-us-person .person-img-container img {
	width: 100%;
	height: 100%;
}

.about-us-person .person-text-container {
	flex-grow: 1;
	flex-shrink: 1;
	max-width: 80ch;
}

.about-us-person .person-text-container .person-name,
.about-us-person .person-text-container .person-title,
.about-us-person .person-text-container .person-description {
	text-align: justify;
	flex-shrink: 1;
}

.about-us-person .person-text-container .person-name {
	font-size: 160%;
	font-weight: 500;
}

.about-us-person .person-text-container .person-title {
	font-size: 120%;
	color: var(--iewc-blue);
	margin-bottom: 1rem;
}

/* services - connectivity */

#coverage-input-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-bottom: 2rem;
	width: 80%;
}

.section-body.full-width #coverage-input-container {
	width: 60% !important;
}

#coverage-input-inner-container {
	width: 100%;
	max-width: 100%;
	display: flex;
	margin-bottom: 1rem;
}

#coverage-input-container input[type="text"] {
	flex-grow: 1;
	flex-shrink: 1;
	margin-right: 1rem;
}

#coverage-input-container #coverage-map-search-button {
	margin-right: 1rem;
}

#coverage-map-container {
	width: 80%;
	max-width: 80%;
	margin: 0 auto 2rem auto;
	height: 500px;
}

#coverage-map {
	opacity: 1;
	border-radius: 1rem;
}

#coverage-map-manual-location-button {
	border-radius: 1rem;
}

#coverage-map-current-location-button {
	border-radius: 1rem;
}

#coverage-map-container.loading #coverage-map {
	opacity: 0 !important;
}

#coverage-map-loading-indicator {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	border: 1px solid var(--border-colour);
	border-radius: 1rem;
}

#coverage-map-container.loading #coverage-map-loading-indicator {
	display: flex;
}

#coverage-map-container #coverage-map {
	width: 100%;
	height: 100%;
}

#all-products-button {
	margin-top: 4rem;
	margin-bottom: 2rem;
}

.map-control-button {
	min-width: 42px;
	min-height: 42px;
	background-color: rgb(255, 255, 255);
	border: 2px solid rgb(255, 255, 255);
	border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 6px;
	cursor: pointer;
	margin: 10px;
	padding: 8px 5px;
	display: flex;
	justify-content: center;
	align-items: center;
  }

.map-control-button > i {
	color: rgb(25, 25, 25);
	font-size: 24px;
	margin: auto 0px;
}

.category-products-container {
	display: none;
	border-radius: var(--border-radius);
	border: 1px solid var(--iewc-blue);
	max-width: 80%;
	margin: 4rem auto 0 auto;
}

[data-category-card] {
	border-radius: var(--border-radius);
	border: 1px solid var(--border-colour);
	display: flex;
}

[data-category-card]:not(:last-of-type) {
	margin-right: 1rem;
}

[data-category-card] .iewc-card-lg {
	border: none;
}

[data-category-card].selected {
	border: 1px solid var(--iewc-blue);
}

[data-category-card].selected [data-category-button] {
	background-color: var(--iewc-blue) !important;
	color: white !important;
}

[data-category-card].selected::after {
	position: absolute;
	top: 100%;
	left: 50%;
	content: '';
	height: calc(4rem + 1px);
	transform: translateY(1px);
	border-right: 1px solid var(--iewc-blue);
}

.category-card-body-section {
	width: 90%;
	max-width: 90%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	min-height: 2rem;
	border-bottom: 1px solid var(--border-colour);
	padding: 1rem;
	text-align: center;
}

.category-card-body-section * {
	max-width: 100%;
	display: flex;
	flex-wrap: wrap;
}

.network-card {

}

.network-card.checking-coverage::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.6);
	animation: transparencyAnimation 1s infinite;
}

@keyframes transparencyAnimation {
	0%, 100% {
		background-color: rgba(255, 255, 255, 0.6);
	}
	50% {
		background-color: rgba(255, 255, 255, 0.8);
	}
}

.network-card.available {
	border: 1px solid var(--iewc-green) !important;
}

.network-card.available:hover {
	cursor: pointer;
}

.network-card.unavailable {
	border: 1px solid var(--iewc-red) !important;
}

.network-card.unavailable::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.6);
}

#view-all-products-button {
	margin: 2rem 0 2rem 0;
}

.products-filter {
	display: flex;
	width: 80%;
	max-width: 80%;
	height: auto;
	border-radius: var(--border-radius);
	background-color: var(--iewc-blue);
	margin: 0 auto;
}

.products-filter-section {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: .5rem;
	border-right: 2px solid white;
	color: white;
}

.products-filter-section  .form-check-label {
	color: white;
}

.products-filter-section:last-of-type {
	border-right: unset;
}

.products-filter-section-header {
	color: white;
	font-weight: 500;
}

#connectivity-generate-filter-link-button {
	margin: 1rem auto;
}

.connectivity-checkout-form {
	width: 80%;
	max-width: 80%;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.connectivity-checkout-form-section {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.connectivity-checkout-form-section:last-of-type {
	margin-bottom: unset;
}

.connectivity-checkout-form-section-header {
	width: 100%;
	max-width: 100%;
	padding: 1rem;
	border-radius: var(--border-radius);
	background-color: var(--iewc-blue);
}

.connectivity-checkout-form-section-header[data-bs-toggle]:hover {
	cursor: pointer;
}

.connectivity-checkout-form-section-title {
	font-size: 150%;
	font-weight: 500;
	color: white;
}

.connectivity-checkout-form-section-subtitle {
	color: white;
}

.connectivity-checkout-form-section-body {
	width: 100%;
	max-width: 100%;
	margin: 1rem 0;
}

#provider-status-message {
	margin-bottom: 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

#provider-status-message-button {
	margin-right: .5ch;
	margin-left: .5ch;
	cursor: pointer;
	display: inline-block;
	text-decoration: underline;
}

.router-card {
	height: auto;
	max-height: unset;
}

.router-card-body {
	text-align: center;
	height: auto;
	max-height: unset;
	flex-grow: 1;
	background-color: white;
	color: black;
	justify-content: center;
}

.router-card-body img {
	max-width: 90%;
	width: auto;
	max-height: 60%;
	height: auto;
}

.router-card-footer {
	height: auto;
	max-height: unset;
	flex-direction: column;
	padding: 1rem;
}

.router-card-price {
	display: inline-flex;
}

.router-card-price-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	height: 100%;
}

.router-card-price-container .form-check {
	flex-grow: 1;
	display: flex;
}

.router-card-price-container .form-check label {
	margin-left: .5rem;
}

.router-card.selected {
	border: 1px solid var(--iewc-blue);
}

#cost-breakdown-body {
	padding: 0 0 0 1rem;
}

.cost-breakdown-section {
	width: 100%;
	margin-bottom: 1rem;
	font-size: 150%;
	font-weight: 500;
}

.cost-breakdown-value {
	display: inline-flex;
}

#phase-1-submit-button,
#phase-2-submit-button {
	margin-left: auto;
}

#contact-details-form-container {
	padding: 0 1rem;
}

#delivery-address-form-container h3,
#rica-address-form-container h3 {
	margin-bottom: 1rem;
}

#delivery-address-form-container {
	margin: 0 0 2rem 0;
}

#delivery-address-form-container,
#rica-address-form-container {
	padding: 0 1rem;
}

#order-summary-container-phase-2 {
	padding: 0 1rem;
}

#order-summary-container-phase-3 {
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-direction: column;
	width: 50%;
	margin-bottom: 2rem;
}

.order-summary-section-phase-3 {
	display: flex;
	justify-content: space-between;
}

.order-summary-subsection-phase-3 {
	display: inline-flex;
	flex-direction: column;
	flex-grow: 1;
}

.order-summary-subsection-phase-3:nth-of-type(2) {
	flex-grow: 0;
}

.order-summary-section-phase-3:last-of-type {
	margin-top: 1rem;
}

.product-card.selected {
	border: 1px solid var(--iewc-blue);
}

.product-card.unavailable::after,
.router-card.unavailable::after {
	z-index: 110;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.8);
}

.product-card.promo .product-card-header .discount {
	background-color: var(--iewc-red);
	padding: .25rem 1rem;
	border-radius: var(--button-border-radius);
	border: 1px solid white;
}

.product-card-body {
	padding: unset;
	height: 200px;
}

.product-card-body-img-container {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: white;
	width: 100%;
	height: 75px;
	min-height: 75px;
	max-height: 75px;
	margin-bottom: 1rem;
}

.product-card-body-img-container img {
	max-height: 100%;
	width: auto;
	max-width: 75%;
}

.product-price-section .price {
	border-bottom: 1px solid var(--border-colour);
	font-weight: 500;
	padding: .5rem;
	width: 75%;
	text-align: center;
}

.iewc-card-lg .product-price-section .price {
	font-size: 300%;
}

.product-detail-section {
	font-weight: 500;
}

.product-discount-section {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	color: var(--iewc-red);
	bottom: 0;
	right: 0;
	z-index: 100;
	font-weight: 500;
	font-size: 120%;
	background-color: white;
	padding: 0 .5rem;
	border-radius: .5rem;
	transform: translateY(50%);
}

.iewc-card-sm .product-card-body-section {
	min-height: 1rem;
	padding: 0 .5rem;
	text-align: center;
	flex-direction: column;
}

.iewc-card-sm .product-card-body-section::after {
	width: 80%;
	content: '';
	border-top: 1px solid white;
	margin: .25rem 0;
}

.iewc-card-sm .product-card-body-section:last-of-type::after {
	width: 80%;
	content: '';
	border-top: unset;
}

.product-card-footer .button.button-white {
	width: 80%;
	font-weight: unset;
	color: var(--iewc-black) !important;
	padding: .25rem;
}

.iewc-card-lg .product-card-footer {
	font-size: 140%;
	height: 75px;
	display: flex;
}

/* services - voip */

#voip-order {
	display: none;
	width: 100%;
}

.iewc-card-body-section.voip-card-body-feature-prefix {
	border-radius: var(--border-radius);
	border: 1px solid var(--border-colour);
	padding: 1rem;
	text-align: center;
	width: 80%;
	margin-bottom: 2rem;
	flex-direction: column;
}

.iewc-card-body-section.voip-card-body-feature-prefix .bold {
	display: inline-flex;
	font-weight: 500;
}


.iewc-card-body-section.voip-card-body-feature {
	width: 80%;
}

.iewc-card-body-section.voip-card-body-feature-plus {
	width: 80%;
	margin-bottom: 2rem;
	font-size: 200%;
	font-weight: 500;
}

.iewc-card-body-section.voip-card-body-feature:not(:last-child) {
	border-bottom: 1px solid var(--border-colour);
	margin-bottom: .5rem;
	padding: .5rem 0;
}

.iewc-card-body-section.voip-price-circle {
	margin-bottom: 2rem;
}

.iewc-card-body-section.voip-price-circle .price {
	color: white;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	font-size: 350%;
	font-weight: 500;
}

.iewc-card-body-section.voip-price-circle .price-prefix,
.iewc-card-body-section.voip-price-circle .price-suffix,
.iewc-card-body-section.voip-price-circle .price-suffix-low {
	color: white;
	position: absolute;
	text-align: center;
	font-size: 90%;
}

.iewc-card-body-section.voip-price-circle .price-suffix-low b {
	color: white;
}

.iewc-card-body-section.voip-price-circle .price-prefix {
	left: 35%;
	top: 25%;
}

.iewc-card-body-section.voip-price-circle .price-suffix {
	left: 50%;
	bottom: 15%;
	transform: translateX(-50%);
}

.iewc-card-body-section.voip-price-circle .price-suffix-low {
	left: 50%;
	bottom: 5%;
	transform: translateX(-50%);
}

.iewc-card-body-section.voip-price-circle svg {
	width: 200px;
	height: 200px;
}

.iewc-card-footer.voip-card-footer {
	height: unset;
	padding: 1rem 0;
}

/* services - linux solutions */

#linux-logo-container {
	margin-bottom: 2rem;
}

#linux-logo-container img {
	fill: red !important;
	height: 200px;
	width: auto;
}

#linux-price-container svg {
	fill: var(--iewc-red);
	height: 150px;
	width: 150px;
}

#linux-price-container {
	position: absolute;
	top: -20%;
	right: -75%;
	height: 150px;
	width: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: var(--iewc-red);
}

#linux-price {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 100;
	transform: translateX(-50%) translateY(-50%);
}

#linux-price-prefix {
	color: white;
	text-align: center;
	margin-bottom: -14px;
}

#linux-price-amount {
	color: white;
	font-size: 200%;
	font-weight: 500;
}

#solutions-intro-title {
	margin-bottom: 3rem;
}

#solutions-price-circle {
	position: absolute;
	top: 50%;
	left: 50%;
	fill: var(--iewc-red);
}

#solutions-price {
	position: absolute;
	top: 50%;
	left: 50%;
}

#solutions-intro-img {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 3rem;
}

#solutions-linux-logo-container svg {
	height: 250px;
	width: auto;
	fill: var(--iewc-blue);
}

/* footer */

#back-to-top {
	background: none;
	margin: 0;
	position: fixed;
	bottom: 0;
	right: 0;
	width: 70px;
	height: 70px;
	z-index: 100;
	text-decoration: none;
	color: #333;
	opacity: 0.5;
	filter: alpha(opacity = 50);
	cursor: pointer;
}

#back-to-top i {
	font-size: 60px;
	text-shadow: 0 0 10px white;
}

footer {
	background-color: var(--iewc-gray);
	width: 100%;
	overflow-x: hidden;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

footer > * {
	margin: 0 1rem;
}

#ispa {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: .25rem 0;
}

#bottombar {
	background-color: var(--iewc-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 0;
	color: white;
	width: 100%;
}

/* media queries */

/* custom */
@media ( max-width: 1650px ) {
	[data-category-card] .iewc-card-lg,
	[data-category-card] .iewc-card-lg .iewc-card-footer,
	[data-category-card] .iewc-card-lg .iewc-card-body,
	[data-category-card] .iewc-card-lg .iewc-card-header,
	[data-category-card] .iewc-card-lg .iewc-card-header .iewc-card-header-inner {
		width: 300px;
	}
}

/* custom */
@media ( max-width: 1500px ) {
	#order-summary-container-phase-3 {
		width: 75%;
	}
}

/* laptop */
@media ( max-width: 1366px ) {
	#home-landing-heading-1 {
		font-size: 250%;
	}
	#home-landing-heading-2 {
		margin-top: 0;
		font-size: 400%;
	}
	#contact-us-body {
		flex-direction: column;
	}
	#contact-us-text {
		width: 50%;
		margin: 0 auto;
	}
	#contact-us-map {
		width: 100%;
	}
}

/* custom */
@media ( max-width: 1260px ) {

}

/* custom */
@media ( max-width: 1070px ) {
	[data-category-card] .iewc-card-body-section.card-icon-section img {
		max-height: 100px;
	}

	[data-category-card] .iewc-card-body-section.card-icon-section {
		margin-bottom: 1rem;
	}

	[data-category-card] .iewc-card-lg,
	[data-category-card] .iewc-card-lg .iewc-card-body {
		min-height: unset;
		flex-shrink: 1;
	}

	[data-category-card] .iewc-card-lg,
	[data-category-card] .iewc-card-lg .iewc-card-footer,
	[data-category-card] .iewc-card-lg .iewc-card-body,
	[data-category-card] .iewc-card-lg .iewc-card-header,
	[data-category-card] .iewc-card-lg .iewc-card-header .iewc-card-header-inner {
		width: 200px;
	}

	[data-category-card] .category-card-body-section {
		padding: .5rem;
		min-height: 60px;
	}

	[data-category-card] .iewc-card-lg .iewc-card-footer {
		padding: .5rem;
		padding-bottom: 1rem;
		height: auto;
		flex-shrink: 1;
	}
}

@media ( max-width: 950px ) {
	#coverage-input-inner-container {
		flex-direction: column;
	}
	#coverage-map-search-button,
	#coverage-map-share-button {
		width: fit-content;
		margin: 0 auto;
	}
	#coverage-map-search-button {
		margin: 1rem auto;
	}
	ul.nav1 {
		justify-content: center;
	}
	li.nav1 {
		padding: .25rem;
	}
	.nav-item {
		padding: .125rem .5rem;
		font-weight: unset;
	}
	#nav-logo img {
		margin: 0;
	}
}

/* custom */
@media ( max-width: 850px ) {
	.products-filter-section .input-group {
		flex-direction: column;
	}
	.products-filter-section .input-group select {
		width: auto;
	}

	#provider-status-message {
		flex-direction: column;
	}

	#order-summary-container-phase-3 {
		width: 100%;
	}
}

/* tablet */
@media ( max-width: 768px ) {
	.iewc-card-container-horizontal > *,
	.iewc-card-container-horizontal-scroll > *{
		margin: .5rem;
	}

	.section,
	.section-body,
	.why-choose-us-reason,
	.connectivity-checkout-form,
	.products-filter,
	.category-products-container,
	#coverage-map-container,
	#home-faq {
		width: 90%;
		max-width: 90%;
	}
	#home-landing-heading-1 {
		font-size: 200%;
	}
	#home-landing-heading-2 {
		font-size: 300%;
	}
	.title-section-head h1 {
		padding: 1.5rem 0;
	}
	.why-choose-us-reason {
		padding: 2rem 0;
	}
	.why-choose-us-reason:nth-child(2n+1) .why-choose-us-reason-body,
	.why-choose-us-reason:nth-child(2n) .why-choose-us-reason-image {
		margin-right: 2rem;
	}
	.why-choose-us-reason-image {
		width: 100px;
		height: 100px;
	}
	#coverage-input-container input[type="text"] {
		margin-right: .5rem;
	}
	.page-title {
		padding: 4rem 0;
	}
	.about-us-person {
		flex-direction: column;
	}
	.about-us-person .person-img-container {
		margin-right: unset;
		margin-bottom: 2rem;
	}
	[data-category-card] .iewc-card-lg,
	[data-category-card] .iewc-card-lg .iewc-card-footer,
	[data-category-card] .iewc-card-lg .iewc-card-body,
	[data-category-card] .iewc-card-lg .iewc-card-header,
	[data-category-card] .iewc-card-lg .iewc-card-header .iewc-card-header-inner {
		width: 150px;
	}

	[data-category-card] .iewc-card-body-section.card-icon-section img {
		max-height: 50px;
	}

	[data-category-card] .iewc-card-lg .iewc-card-header .iewc-card-header-inner {
		height: 75%;
	}
}

/* custom */
@media ( max-width: 575px ) {
	#coverage-input-container input[type="text"] {
		margin-right: 0;
		margin-bottom: .5rem;
	}
	.page-title {
		padding: 2rem 0;
	}
	#linux-price-container {
		height: 100px;
		width: 100px;
		right: -50%;
	}
	#linux-price-amount {
		font-size: 150%;
	}

	.order-summary-section-phase-3 {
		flex-direction: column;
		margin-bottom: .5rem;
	}

	.order-summary-subsection-phase-3:nth-of-type(1) {
		font-weight: 500;
	}

	.order-summary-subsection-phase-3:nth-of-type(2) {
		padding-left: .5rem;
	}
	#home-landing {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
	}
	#home-landing-text-container, #home-landing-img-container {
		margin: 0;
		width: 100%;
		height: 200px;
		flex-shrink: 0;
		flex-grow: 1;
	}
	#home-landing-img-container {
		height: 300px;
		margin-bottom: .5rem;
	}
	.products-filter {
		flex-direction: column;
	}
	.products-filter-section {
		border-right: unset;
	}
	.products-filter-section .input-group select {
		padding: .5rem !important;
	}
}

/* custom */
@media ( max-width: 500px ) {
	[data-category-card] .iewc-card-lg .iewc-card-body {
		padding: .25rem;
	}

	[data-category-card] .category-card-body-section {
		padding: .25rem;
		min-height: 50px;
	}

	[data-category-card] .iewc-card-lg,
	[data-category-card] .iewc-card-lg .iewc-card-footer,
	[data-category-card] .iewc-card-lg .iewc-card-body,
	[data-category-card] .iewc-card-lg .iewc-card-header,
	[data-category-card] .iewc-card-lg .iewc-card-header .iewc-card-header-inner {
		width: 120px;
	}

	[data-category-button] {
		padding: .25rem .5rem;
	}
}

/* common mobile */
@media ( max-width: 411px ) {

}

/* common mobile */
@media ( max-width: 375px ) {

}

/* common mobile */
@media ( max-width: 360px ) {

}
