/* TODO .btn-simple - hover */
/* TODO .single-investment-domain-details .domain-details.btn-domain-details - hover */
/* todo - add godaddy logo in cpanel files */
/* TODO - change colors from original website to ones from design once the design is finished */
/* TODO - check the sections that are just images in the figma once the design is done - single-investment-domain, banner-advertising-section */
/* TODO -  banner-advertising-section has margin-top but when positioned immediately after the single-investment-domain-details (when show class is active) it shouldn't be there */
/* TODO - custom range slider filter */
/* Ð¢ODO - transitions buttons and modals , domain section on show */


/*!!! FOR JS/REACT:
located in the Hero section:
-- add class "open" - to open the Select Filter menu (element with class "filter-menu") 

located in the Investment Domain section:
-- add class "show" - to open the inner banner with more details (element with class "single-investment-domain-details") of a single investment domain (element with class "single-investment-domain") once the View Details button (element with class "btn-outline") is clicked 

located in the Investment Domain section:
-- add class "even" to each single investment domain (element with class "single-investment-domain") which is with even number order - to position the inner banner with more details (element with class "single-investment-domain-details") of a single investment domain (element with class "single-investment-domain") properly 
*/

/* 
font-family: "Inter", sans-serif; 600, 700
font-family: "Montserrat", sans-serif; 400 600 700 800
*/

/* TABLE OF CONTENT--------------------------
    Main, Colors, Typography & Buttons
		--Media Queries Typography

    1.Hero
        1.1.Form Domain Search 
    2.Investment Domain
*/

/* Start Main, Colors, Typography & Buttons */
:root {
	--dw-accent: #ef4b47;
	--dw-gray: #979a9b;
	--dw-black: #303538;
	--dw-blue: #0089d1;

	--clr-black: #000000;


	--clr-black-04: #6e7274;
	--clr-red-05: #eb4b46;
}

html {
	font-size: 100%;
}

body {
	font-size: 1rem;
	font-weight: 400;
	line-height: 19.5px;
	color: #000;
}

.cursor__pointer {
	cursor: pointer;
}

.entry {
	display: flex;
	flex-direction: column;
	max-width: 100%;
}

.entry-content {
	align-self: center;
	margin: 0 !important;
	padding: 0 !important;
}

#domainwheel_generator_root {
	max-width: 1540px;
}

.container {
	align-self: center;
	max-width: 1110px;
}


.filter-menu label {
	font-weight: 600;
}

/* Media Queries Typography */


/* Colors */
.search-details-container-top .keyword-input,

.featured-tag,
.text {
	color: var(--clr-black-04);
}

h2,
h3 {
	color: #000;
}

.single-investment-domain-info .domain-name .text {
	color: rgba(0, 0, 0, 0.65);
}

/* Special styles and aligning */
h1,
h2,
.hero-container {
	text-align: center;
}

/* Buttons */
a {
	text-decoration: none !important;
	cursor: pointer;
}

input,
.checkbox-container label {
	cursor: pointer;
}

.btn-primary,
.btn-primary:hover {
	background: var(--dw-accent);
	padding: 10px 24px;
	border-radius: 4px;
	font-weight: 700;
	border: 0;
	color: #fff;
}

.form-domain-search-btn, .form-domain-search-btn:hover {
	min-width: 30%;
	padding: 14px 24px;
}

.btn-centered {
	margin: 0 auto;
}

.btn-outline,
.btn-outline:hover {
	display: inline-block;
	font-size: 0.875rem;
	line-height: 31.9922px;
	color: rgba(0, 0, 0, 0.65);
	/* todo - color from original website */
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	background-color: transparent;
	padding: 0 10px;
}

.filter-menu .btn-outline,
.filter-menu .btn-outline:hover {
	font-size: 1rem;
	font-weight: 700;
	color: var(--dw-accent);
	border-color: currentColor;
}

.filter-menu .btn-primary,
.filter-menu .btn-primary:hover,
.filter-menu .btn-outline,
.filter-menu .btn-outline:hover {
	padding: 10px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.filter-menu .btn-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.filter-menu .btn-container>a {
	flex: 1 1 50%;
}

.btn-simple,
.btn-simple:hover {
	color: var(--dw-blue);
	padding: 0 16px;
}

.btn-simple span {
	margin-right: 10px;
}

.btn-select-filter {
	font-size: 1rem;
	font-weight: 500;
	color: var(--dw-black);
	outline: transparent;
	border: 1px solid var(--clr-black-04);
	background: transparent;
	width: 170px;
	padding: 14px 44px 14px 20px;
	position: relative;
}

.btn-select-filter:hover {
	background: transparent;
}

.btn-select-filter-icon {
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
}

.btn-pill {
	border-radius: 4px;
}

/* Hover Effects */

a:hover {
	text-decoration: none;
	color: var(--dw-accent);
}

div>a.btn-primary {
	color: #fff;
}

.closer__icon {
    position: absolute;
    top: 15px;
    right: 15px;
}

.btn-primary:hover,
.btn-outline:hover,
.filter-menu .btn-outline:hover,
.btn-simple:hover,
.single-investment-domain-details .domain-details.btn-domain-details:hover,
.show-btn:hover {
	opacity: 0.85;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-select-filter:hover,
.btn-select-filter:focus {
	/* todo - color from original website */
	color: var(--dw-accent);
	border-color:   var(--dw-accent);
}


.btn-select-filter:hover svg path,
.btn-select-filter:focus svg path {
	stroke: var(--dw-accent);
}

/* Media Queries Buttons */
@media screen and (max-width: 992px) {
	.form-domain-search-btn {
		position: absolute;
		bottom: 8px;
		right: 8px;
		z-index: 100;
		height: 49px;
	}
}

@media screen and (max-width: 520px) {
	.btn-select-filter {
		width: 100%;
	}

	.form-domain-search-btn {
		width: calc(100%);
		bottom: 0;
		/* display: none; */
		left: 0px;
		right: 0px;
	}
}

/* End Main, Colors, Typography & Buttons */

/* 1.Hero */
.hero-container {
	padding: 0 40px;
	margin-top: 50px;
	margin-bottom: 40px;
}

/* 1.1.Form Domain Search */
.form-domain-search {
	display: flex;
	width: 100%;
	max-width: 971px;
	margin-top: 55px;
	margin-left: auto;
	margin-right: auto;
}

/* Search Details */
.search-details-container {
	width: 100%;
}

.search-details-container-top,
.search-details-container-bottom {
	display: flex;
	justify-content: space-between;
	background-color: #fff;
}

.search-details-container-top {
	box-shadow: 0 2px 13px 6px rgba(0, 0, 0, 0.05);
	border-radius: 10px;
	height: 65px;
	padding: 8px;
}

.search-details-container-bottom {
	height: 35px;
	margin-top: 16px;
}

.search-details-container-top .keyword {
	position: relative;
	width: -webkit-fill-available;
	flex-grow: 1;
    height: 100%;
    margin-right: 10px;
}

.search-details-container-top .keyword-input {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 10px;
	padding-left: 45px;
	outline: none;
}

.search-details-container-top svg {
	position: absolute;
	top: 50%;
	left: 13px;
	transform: translate(0, -50%);
}

.featured-tags-container {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.toggle-availability-container {
	display: flex;
}

.toggle-availability-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-weight: 200;
	font-size: 0.7rem;
	color: var(--dw-gray);
}

.toggle-availability-input {
	display: none;
}

.toggle-availability-fill {
	position: relative;
	width: 35px;
	height: 20px;
	border-radius: 16px;
	border: 1px solid var(--dw-gray);
	margin-left: 6px;
}

.toggle-availability-fill::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	width: 11px;
	height: 11px;
	background-color: var(--dw-gray);
	border-radius: 50%;
	margin: 0 3px;
	transition: all 0.3s ease;
}

.toggle-availability-input:checked~.toggle-availability-fill {
	background: var(--dw-accent);
}

.toggle-availability-input:checked~.toggle-availability-fill {
	border-color: #fff;
}

.toggle-availability-input:checked~.toggle-availability-fill::after {
	left: 50%;
	background: #fff;
}

/* Search Filter */
.filter-container {
	position: relative;
	height: 65px;
	padding: 8px 8px 8px 18px;
}

.filter-menu {
	position: absolute;
	top: 73px;
	right: 0;
	background-color: #fff;
	text-align: left;
	padding: 20px;
	border-radius: 4px;
	z-index: 100;
	box-shadow: 0 1px 13px rgba(0, 0, 0, 0.1);
	gap: 50px;
	grid-template-columns: 1fr 1fr;
}

.filter-menu .text {
	margin-bottom: 20px;
}

.filter-menu .input-group {
	margin-bottom: 60px;
	line-height: 1.5;
}

.filter-menu .input-group label {
	margin-bottom: 15px;
}

/* Search Filter checkboxes */
.tld-inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 5px ;
}
.tld-inputs .show-btn{
	grid-column: span 2;
	font-weight: 600;
}

.checkbox-container {
	display: flex;
	align-items: center;
}

.filter-menu-left {
	min-width: 180px;
}
.checkbox-container input[type="checkbox"] {
	width: 14px;
	height: 14px;
	margin-right: 5px;
}

/* Search Filter range sliders */
.range-value-badge-container {
	position: relative;
	width: 100%;
}

.first__slider .range-value-badge {
    left: 100%;
}

.range-value-badge {
	position: absolute;
	top: 12px;
	transform: translateX(-50%);
	right: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 400;
	background: #fff;
	width: 22px;
	height: 22px;
}

.range-input {
	-webkit-appearance: none;
	-moz-appearance: none;
	position: relative;
	display: block;
	background: var(--dw-accent);
	border-radius: 12px !important;
	border: none !important;
	padding: 0 !important;
	width: 100%;
	height: 6px;
	outline: none !important;
	outline-offset: 0 !important;
}

.range-input::-webkit-slider-runnable-track {
	-webkit-appearance: none;
	height: 6px;
}

.range-input::-moz-track {
	-moz-appearance: none;
	height: 6px;
}

.range-input::-ms-track {
	appearance: none;
	height: 6px;
}

.range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	background: var(--dw-accent);
	border-radius: 50%;
	margin-top: -7px;
	border: none;
	cursor: pointer;
}

.range-input::-moz-range-thumb {
	-moz-appearance: none;
	width: 20px;
	height: 20px;
	background: var(--dw-accent);
	border-radius: 50%;
	margin-top: -7px;
	border: none;
	cursor: pointer;
}

.range-input::-ms-thumb {
	appearance: none;
	width: 20px;
	height: 20px;
	background: var(--dw-accent);
	border-radius: 50%;
	margin-top: -7px;
	border: none;
	cursor: pointer;
}

/* Media Queries Hero */
@media screen and (max-width: 992px) {
	.form-domain-search {
		position: relative;
		flex-direction: column;
		align-items: flex-start;
	}

	.filter-container {
		width: 100%;
		padding-left: 8px;
		margin-top: 20px;
	}

	.filter-menu {
		left: 0;
	}
}

@media screen and (max-width: 768px) {
	.search-details-container-bottom {
		flex-direction: column;
		height: auto;
		justify-content: center;
		align-items: center;
	}

	.featured-tags-container,
	.toggle-availability-container {
		height: 35px;
	}

	.toggle-availability-container {
		margin-top: 16px;
	}
}

@media screen and (max-width: 520px) {
    .filter-menu {
    	top: unset !important;
    	bottom: 63px;
    }
	.hero-container {
		padding: 0 !important;
		margin: 0 0 40px 0;
	}

	.search-details-container-bottom {
		display: none;
	}

	.search-details-container-top .keyword {
		width: 100%;
		margin: 0;
	}

	.filter-container {
		height: auto !important;
		position: fixed;
		bottom: 0;
		margin: 0 !important;
		left: 0;
		background: #FFF !important;
		z-index: 9999;
	}

	.form-domain-search {
		/* padding-bottom = .form-domain-search-btn height + 10px as margin-bottom for the same button*/
		padding-bottom: 65px;
		margin-top: 40px;
	}

	.filter-menu {
		left: 0;
		width: 100%;
	}
}

@media screen and (max-width: 390px) {
	.toggle-availability-container {
		margin-top: 26px;
	}
}

/* 2.Investment Domain */
.investment-domains-section {
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
}

.investment-domains-container {
	display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 10px;
	margin-bottom: 30px;
}

.single-investment-domain {
	position: relative;
	display: flex;
	align-items: center;
	background: #f6ffed;
    font-weight: 400;
    border-radius: 4px;
	/* always synchronise with .single-investment-domain-details top */
	height: 48px;
	padding: 8px;
	cursor: pointer;
}

.single-investment-domain:hover {
    background: #f6ffed;

}

.single-investment-domain-info {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.single-investment-domain-info .domain-name svg {
	/* todo - color from original website */
	fill: #52c41a;
	margin: 0 8px;
}

.domain-name {
    display: flex;
    align-items: center;
    flex-shrink: 1;
}

.single-investment-domain.show {
	z-index: 99;
}

.single-investment-domain-details {
	display: none;
	grid-column: span 2;
	cursor: default;
	width: 204.09%;
	/* always synchronise with .single-investment-domain.show margin-bottom - below height plus top and bottom margin of this element here */
	margin: 40px 0;
	background-color: #fff;
	position: absolute;
	/* always synchronise with .single-investment-domain height */
	top: 48px;
	left: 0;
	box-shadow: 0px 1px 13px rgba(0, 0, 0, 0.1);
	border-radius: 14px;
	padding: 36px 24px 40px 24px;
}

.single-investment-domain.even .single-investment-domain-details {
	left: -104.09%;
}

.single-investment-domain.show .single-investment-domain-details {
	display: grid;
}

.single-investment-domain-details .advertising-section {
	display: flex;
}

.single-investment-domain-details .advertising-logo {
	margin-right: 21px;
}

.domain-details-wrapper {
	display: grid;
	grid-template-columns: 1fr 30px 1fr;
	align-items: center;
	grid-column-gap: 70px;
	grid-row-gap: 40px;
}

.domain-details-wrapper .advertising-section {
	grid-column: span 3;
}

.domain-details {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.domain-details a{
	font-weight: 800;
}

.btn-domain-details {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: var(--dw-accent);
	color: #fff;
	border-radius: 4px;
	padding: 12px 8px;
	font-weight: 700;
}

.btn-domain-details:hover {
	color: #fff;
}


.view__button svg {
	display: none;
}


/* 2.1.GoDaddy Banner */
.banner-advertising-section {
    grid-column: span 2;
}

/* Media Queries Investment Domain */
@media screen and (max-width: 992px) {
	.single-investment-domain {
		flex: 0 0 100%;
	}


	.single-investment-domain.even .single-investment-domain-details {
		left: 0;
	}
}

@media screen and (max-width: 768px) {

	.advertising-logo {
		margin-bottom: 10px;
	}

	.single-investment-domain-details .domain-details-wrapper {
		grid-template-columns: 1fr;
		gap: 20px;
	}


	.investment-domains-container, .domain-details-wrapper {
		grid-template-columns: 1fr;
	}

	.banner-advertising-section {
		grid-column: span 1;
	}

	.single-investment-domain-details {
		width: 100%;
	}

	.domain-details-wrapper .advertising-section {
		grid-column: span 1;
	}

	.single-investment-domain-details {
		padding: 30px 15px;
	}

	.filter-menu {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.filter-menu .input-group {
		margin-bottom: 40px;
	}

	.tld-inputs {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
	}
}

@media screen and (max-width: 530px) {

	.single-investment-domain-details {
		/* always synchronise with .single-investment-domain.show margin-bottom - below height plus top and bottom margin of this element here */
		/* always synchronise with .single-investment-domain-details - height plus top and bottom margin */
		top: 30px;
	}

	.single-investment-domain {
		/* always synchronise with .single-investment-domain height */
		padding: 10px 8px;
	}

	.single-investment-domain-info {
		gap: 10px;
	}

	.view__button {
		border: 0;
		height: 24px;

	}
	.view__button>span {
		display: none;
	}

	.view__button svg {
		display: block !important;
	}
}

@media screen and (max-width: 430px) {
}

@media screen and (max-width: 385px) {
    .filter-menu {
        zoom: 90%;
    }
}


@keyframes spinner {
	to {
		transform: rotate(360deg);
	}
}

.dw-spinner {
	animation: spinner 1s linear infinite;
}
.featured-tags > button {
	margin: 4px;
    border: none;
    opacity: 0.5;
}
