@font-face {
	font-family: Poppins Regular;
	src: url(fonts/Poppins/Poppins-Regular.ttf);
}

@font-face {
	font-family: Poppins Bold;
	src: url(fonts/Poppins/Poppins-Bold.ttf);
}

@font-face {
	font-family: Poppins SemiBold;
	src: url(fonts/Poppins/Poppins-SemiBold.ttf);
}

@font-face {
	font-family: Poppins Italic;
	src: url(fonts/Poppins/Poppins-Italic.ttf);
}


/* Preloading Images */

body:after {
	display: block;
	width: 0;
	height: 0;
	overflow: hidden;
	content: url(img/carousel/altafiber.png)
			 url(img/carousel/att.png)
			 url(img/carousel/brightspeed.png)
			 url(img/carousel/century.png)
			 url(img/carousel/directv.png)
			 url(img/carousel/directvc.png)
			 url(img/carousel/directvli.png)
			 url(img/carousel/directvmdu.png)
			 url(img/carousel/earthlink.png)
			 url(img/carousel/fidium.png)
			 url(img/carousel/frontier.png)
			 url(img/carousel/hawaiian.png)
			 url(img/carousel/hughesnet.png)
			 url(img/carousel/kinetic.png)
			 url(img/carousel/metronet.png)
			 url(img/carousel/optimum.png)
			 url(img/carousel/quantum.png)
			 url(img/carousel/starlink.png)
			 url(img/carousel/vivint.png)
			 url(img/carousel/wow.png)
			 url(img/carousel/ziply.png);
}

/* Fonts */

body {
	font-family: Poppins Regular;
	font-size: 0.9rem;
}

h1, h3, .bold {
	font-family: Poppins Bold;
}

h6, .semibold {
	font-family: Poppins SemiBold;
}

.italic {
	font-family: Poppins Italic;
	font-size: small;
}

h1 {
	font-size: 3rem;
}
h3 {
	font-size: 2rem;
}

h4 {
	font-size: 1.3rem;
	color: #007bc1;
	margin-top: 1rem;
}

p {
	margin-bottom: .5rem;
}

.dealer-section h4, .dsi-section h4 {
	margin-bottom: 0.25rem;
}

h6 {
	color: #003c77;
	text-transform: uppercase;
	font-size: 12px;
}

.legal {
	font-size: 10px;
}

em {
	font-style: italic;
}

/* Elements */

ol, ul {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}

li {
	padding-left: 8px;
	font-size: 1rem;
}

/* Header */

.header {
	position: sticky;
	top: 0;
	width: 100%;
	height: 60px;
	background-color: white;
	z-index: 100;
	filter: drop-shadow(0px 6px 12px rgba(0,0,0,.4));
}

.header>.container {
	background-color: white;
	padding-left: 0;
}
.header>.container>a {
	color: black;
	font-size: 12px;
	margin: 0 15px;
}
.header>.container>.dealer-logo {
	cursor: auto;
	pointer-events: none;
	margin-left: 0;
}


.header-link {
	color: black;
	font-size: 12px;
	margin: auto;
	margin-left: 20px;
	text-decoration: underline #ffcf01;
	text-underline-offset: 4px;
	text-align: center;

	transition: .1s ease-in-out;
	-o-transition: .1s ease-in-out;
	-ms-transition: .1s ease-in-out;
	-moz-transition: .1s ease-in-out;
	-webkit-transition: .1s ease-in-out;
}

.header-link:hover {
	color: #003C77;
	text-decoration: underline #00C2F3;
	text-underline-offset: 6px;
}

.logo {
	max-height: 60px;
	padding: 15px 0;
}


/* Hero */

.hero {
	display: flex;
	color: white;
	padding-top: 7rem;
	padding-bottom: 6rem;

	& h4 {
		color: white;
	}
	& .container {
		display: flex;
		flex-direction: column;
		filter: drop-shadow(3px 3px 3px rgba(0,0,0,0.2));

		& span {
			margin-top: 2rem;

			& img {
				height: 70px;
				margin-left: 1rem;
			}
		}
	}
}

.plainLink {
	text-decoration: none;
}

.cta-button {
	color: var(--d-color);
	text-decoration: none;
	background-color: white;
	outline-color: white;

    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

	transition: .1s ease-in-out;
	-o-transition: .1s ease-in-out;
	-ms-transition: .1s ease-in-out;
	-moz-transition: .1s ease-in-out;
	-webkit-transition: .1s ease-in-out;
}

.cta-button:hover {
	color: var(--d-color);
	text-decoration: none;
	outline-offset: 5px;
	outline-style: solid;
	outline-width: 2px;
}


.all-buffer {
	padding-top: 40px;
	padding-bottom: 40px;
}

/* Icon "Tri-Sale" Row */

.icon {
	width: 120px;
}

/* Sections */

.container {
	padding-right: var(--bs-gutter-x, 2rem);
	padding-left: var(--bs-gutter-x, 2rem);
}

.grey-section {
	background-color: #f7f7f7;
}

.grey-section a {
	 color: #007BC1;
	 text-decoration: none;
}
.grey-section .container a:hover {
	 text-decoration: underline;
}
.grey-section>.container>.row>div {
	margin: auto;
}
.grey-section>.container>.row>div>img {
	width: 100%;
}

/* Page Layout */

.btm-buffer {
	padding-bottom: 25px;
}

.top-buffer {
	padding-top: 25px;
}

.centered {
	text-align: center;
}

hr {
	margin-bottom: 40px;
}

.col-text-left {
	padding-right: 120px;
}
.col-text-right {
	padding-left: 120px;
}
.col-sm-12 {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.desktop-br {
	display: none;
}
.mobile-br {
	display: block;	
}

/* Footer */

.footer {
	background-color: #f7f7f7;
	padding-top: 40px;
	padding-bottom: 40px;
}

.topLink {
	color: black;
}

.topLink:hover {
	color: #087cc1;
}

.topLink>p {
	font-size: 30px;
}

/* Flickity Carousel */

.carousel a {
	filter: grayscale(100%) opacity(40%);
	transition: .3s ease;
}
.carousel a:hover {
	filter: none;
}

.carousel.carousel-loaded { 
	height: 8rem;
}

.flickity-page-dots {
	position: absolute;
	width: 100%;
	bottom: -25px;
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
	line-height: 1;
	z-index: 3;
	height: 10px;
}

.flickity-page-dots .dot {
	display: inline-block;
	position: relative;
	margin: 0 4px;
	width: 10px;
	height: 10px;
	cursor: pointer;
	border-radius: 50%;
	overflow: hidden;
	background-color: transparent;
	transition: background 0.8s ease;
	box-shadow: inset 0 0 0 2px #c1c3ce;
}

.flickity-page-dots .dot:after {
	background-color: #c1c3ce;
	outline: medium none;
	text-indent: -999em;
	border-radius: 50%;
	overflow: hidden;
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	box-shadow: 0 0 1px #c1c3ce;
	transition: height 0.3s ease;
}

.flickity-page-dots .dot.is-selected:after {
	height: 100%;
}

/* Responsiveness */

@media (max-width: 767px) { /* Mobile/Tablets */
	.hero {
		background-size: auto;
		background-position-x: center;
	}

	.mobile-top-buffer {
		padding-top: 40px;
	}

	.mobile-align-switch {
		text-align: left;
	}

	.col-text-left {
		padding-right: calc(var(--bs-gutter-x) * .5);
	}
	.col-text-right {
		padding-left: calc(var(--bs-gutter-x) * .5);
	}

}

@media (min-width: 768px) { /* Desktops */
	.mobile-align-switch {
		text-align: left;
	}
}




/* reCAPTCHA */

.g-recaptcha>div {
	margin: auto;
	margin-bottom: 15px;
} 
#submitBtn:disabled, #submitBtn[disabled] {
	background-color: lightgrey;
	border-color: lightgrey;
	cursor: default;
}




/* Card Gallery Section */
.card-gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.card {
	-webkit-transition: 3s ease;
	transition: .3s ease;
	width: auto;
	padding: 20px;
	margin-bottom: 0;
}
.card:hover {
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transform: translateY(-10px);
	cursor: pointer;
}
#dealer-gallery .card-gallery {
	margin: 0;
	gap: 1rem;
}
#dealer-gallery .card {
	box-sizing: border-box;	
	text-align: center;
	padding: 5px;
	width: 150px;
	height: 75px;
	flex: 0 18%;
	-webkit-transition: .3s ease;
	transition: .3s ease;
}
#dealer-gallery .card:active {
	transform: translateY(-10px) scale(95%);
}
.card-img {
	height: auto;
	width: auto;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

#dealer-gallery {
	& p {
		font-size: 1.2rem;
		line-height: 1.2rem;
		margin-bottom: 2.4rem;
	}
	& .card {
		height: 150px;
		width: 200px;
		flex: 48%;
		max-width: 300px;
		background-color: transparent;
		perspective: 1000px;
		border: none;
		box-shadow: 0px 0px 0px rgba(0,0,0,0);

		&:hover {
			box-shadow: 0px 0px 0px rgba(0,0,0,0);

			& .card-inner {
				transform: rotateY(180deg);
			}
		}
		& .card-inner {
			position: relative;
			width: 100%;
			height: 100%;
			text-align: center;
			transition: transform 0.6s;
			transform-style: preserve-3d;
			box-shadow: 0px 4px 8px 0 rgba(0,0,0,0.2);

			& .card-front, & .card-back {
				position: absolute;
				width: 100%;
				height: 100%;
				-webkit-backface-visibility: hidden;
				backface-visibility: hidden;
			}
			& .card-back {
				transform: rotateY(180deg);
				background-color: var(--d-color);
				display: flex;
				flex-direction: column;
				justify-content: center;
				gap: .5rem;
				padding: 1rem;

				& p {
					color: white;
					font-size: 0.8rem;
					margin: 0;
					font-family: 'Poppins Semibold';
				}
			}
		}
	}
}
@media (min-width: 992px) {
	#dealer-gallery {
		& .card {
			flex: 0 18%;
		}
	}

	.desktop-br {
		display: block;	
	}
	.mobile-br {
		display: none;
	}
}

.banner {
	display: flex;
	flex-direction: column;
	width: 100%;

	& h4 {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		color: white;
		font-size: 2rem;
		text-transform: uppercase;
		text-align: center;
		width: 100%;
		line-height: 2rem;
		margin-top: 2rem;
		letter-spacing: .25rem;
	}
	& img {
		display: flex;
		flex: 1;
		width: 100%;
		height: auto;
	}
}
@media (min-width: 992px) {
	.banner {
		flex-direction: row;

		& img {
			width: 25%;
		}
	}
}



/* ZOHO Form */

.zoho {
	display: flex;
	justify-content: center;
	margin-left: 0;
	margin-right: 0;
}
@media (min-width:992px) {.zoho {margin-left:15rem;margin-right:15rem;}} 
@media (min-width:1400px) {.zoho {margin-left:25rem;margin-right:25rem;}} 
@media (min-width:2000px) {.zoho {margin-left:30rem;margin-right:30rem;}}

