/*plugin specific styling*/
.ant-btn {
    text-transform: none;
}
#domainwheel_generator_root {
	margin: 84px 0 70px;
	padding: 10px;
}
#domainwheel_generator_root input {
	height: 64px;
	padding-left: 15px;
    font-size: 20px;
    font-family: inherit;
}
#domainwheel_generator_root .ant-input-search-button {
	height: 64px;
}
.ant-input-affix-wrapper {
    z-index: 1;
}
.ant-layout-content {
	position: relative;
}
.ant-layout-content h2 {
    font-weight: 500;
}

.select-tlds-checkbox-group::before {
    content: "\25bc";
    color: #fc7b74;
    font-size: 20px;
    position: absolute;
    right: 16px;
    top: -1px;
    line-height: 64px;
    -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
            transform: rotate(0deg);
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
}

.select-tlds-checkbox-group {
    height: 64px;
    display: inline-block;
    overflow: hidden;
    background-color: #FFFFFF;
    position: absolute;
    right: 155px;
    top: 0;
    border: 1px solid #fc7b74;
    z-index: 2;
    text-align: left;
    padding: 4px 16px !important;
}

.select-tlds-checkbox-group:hover {
    border-color: #fc7b74;
    height: auto;
    z-index: 9999;
}

.select-tlds-checkbox-group:hover:before {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
}

.select-tlds-checkbox-group .ant-checkbox-group-item {
    display: block;
    width: 100%;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.65);
}
#domainwheel_generator_root .ant-alert-message {
	color: rgba(0, 0, 0, .65);
}
@keyframes spinner {
  to {transform: rotate(360deg);}
}
.dw-spinner {
    animation: spinner 1s linear infinite;
}

.ant-list.handpicked-premium .anticon {
    display: none;
}
.ant-list.handpicked-premium .ant-alert {
    background: transparent;
    padding: 0 !important;
}
.ant-list.handpicked-premium .ant-list-items {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    justify-content: center;
    margin-bottom: 60px;
}
.ant-list.handpicked-premium .ant-list-item {
    display: flex !important;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,.1);
    background: rgba(0,0,0,.02);
    padding: 0 !important;
    flex-basis: 31%;
    margin: 10px;
}
.ant-list.handpicked-premium .ant-list-item .right {
    flex-basis: 62%;
}
.ant-list.handpicked-premium .ant-list-item .right div {
    position: static !important;
    text-align: center;
}
.ant-list.handpicked-premium .ant-list-item .left {
    flex-basis: 35%;
    display: flex;
}
.ant-list.handpicked-premium .ant-list-item .left img {
    display: block;
}

/*AMP homepage form*/
#amp-dw {
    margin: 84px 0 70px;
    padding: 10px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    position: relative;
}
#amp-dw input[type="search"] {
    height: 64px;
    padding-left: 15px;
    font-size: 20px;
    -ms-flex-preferred-size: 100%;
            -webkit-flex-basis: 100%;
            flex-basis: 100%;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}
#amp-dw input[type="search"]:focus {
    border-color: #fc7b74;
    box-shadow: 0 0 0 2px rgba(239, 75, 71, 0.2);
    outline: none;
}
#amp-dw input[type="search"]::-webkit-input-placeholder {
    opacity: .5;
}
#amp-dw input[type="search"]::-moz-placeholder {
    opacity: .5;
}
#amp-dw input[type="search"]:-ms-input-placeholder {
    opacity: .5;
}
#amp-dw input[type="search"]:-moz-placeholder {
    opacity: .5;
}
#amp-dw button[type="submit"] {
    width: 100%;
    max-width: 156px;
    height: 64px;
    background: #ef4b47;
    color: #fff;
    padding: 0 15px;
    font-size: 16px;
    line-height: 1.5;
    text-transform: capitalize;
    font-weight: 400;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    position: absolute;
    right: 0;
}
#amp-dw button[type="submit"]:focus {
    outline: none;
}
#amp-dw .featured_tags_wrapper a {
    padding: 0 7px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px dashed #d9d9d9;
    color: rgba(0, 0, 0, 0.65);
    margin: 4px;
    display: inline-block;
    transition: .3s ease all;
}
#amp-dw .featured_tags_wrapper a:hover,
#amp-dw .featured_tags_wrapper a:focus {
    color: #fc7b74;
    border-color: #fc7b74;
}

@media (max-width: 768px) {
    #amp-dw {
        margin: 30px 0 0;
    }
    #amp-dw button[type="submit"] {
        width: auto;
    }
    #amp-dw button[type="submit"] span {
        display: none;
    }
    #amp-dw button[type="submit"] i {
        position: relative;
        top: 2px;
    }
    #amp-dw .featured_tags_wrapper {
        display: none;
    }
}
/*end*/


/*premium section on premium search pages*/
.dw-premium-alternatives {
	display: flex;
	flex-wrap: wrap;
}
.dw-premium-alternatives .dw-premium-item {
	flex-basis: 49%;
	margin: 0 auto 16px;
	background: #f6ffed;
	display: flex;
	align-items: center;
	padding: 8px 20px;
}
.dw-premium-alternatives .dw-premium-item svg {
	margin: 7px 5px 0 0;
}
.dw-premium-alternatives .dw-premium-item b {
	font-size: 15px;
	line-height: 32px;
}
.dw-premium-alternatives .dw-premium-item a {
	margin-left: auto;
	font-size: 14px;
	color: rgba(0, 0, 0, 0.65);
	padding: 5px 15px;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	transition: .3s ease all;
}
.dw-premium-alternatives .dw-premium-item a:hover,
.dw-premium-alternatives .dw-premium-item a:focus {
	color: #fc7b74;
	opacity: .9;
    border-color: #fc7b74;
}
/*end*/

/*responsive*/
@media (max-width: 916px) {
    .ant-list.handpicked-premium .ant-list-item {
        flex-basis: 30%;
    }
}
@media (min-width: 769px) {
	.dw-desktop-hide {
	    display: none !important;
	}
}

@media (max-width: 768px) {
	.ant-dropdown {
        left: 0 !important;
    }
    .select-tlds-checkbox-group {
        height: auto;
        position: relative;
        padding: 5px 15px !important;
        right: 0;
    }
    .select-tlds-checkbox-group .ant-dropdown-menu-group-item {
        width: 25%;
        font-size: 18px;
        line-height: 1.5;
        padding: 2px;
        color: rgba(0,0,0,.65);
    }
    .ant-dropdown-trigger  {
        height: 64px !important;
        font-weight: 500 !important;
    }
    .ant-dropdown-menu-input {
        height: auto !important;
    }
    .ant-dropdown-menu {
        box-shadow: none !important;
        top: 1px;
        margin-right: 3px !important;
    }
    .dw-submit-search span,
    .featured-tags,
    .features,
    .select-tlds-checkbox-group:before {
        display: none;
    }
    #domainwheel_generator_root {
        margin: 30px 0 0;
    }
    .ant-list.handpicked-premium .ant-list-item {
        flex-basis: 45%;
    }
}

@media (max-width: 767px) {
	.dw-premium-alternatives .dw-premium-item {
    	flex-basis: 100%;
    }
}

@media (max-width: 600px) {
    .ant-list.handpicked-premium .ant-list-item {
        flex-basis: 100%;
    }
}

@media (max-width: 480px) {
	.select-tlds-checkbox-group .ant-dropdown-menu-group-item {
        width: 33%;
    }
    #domainwheel_generator_root {
        padding: 0;
    }
    .ant-list-grid .ant-col > .ant-list-item {
        margin-bottom: 8px !important;
    }
    #domainwheel_generator_root .ant-alert-icon {
        left: 7px !important;
    }
    #domainwheel_generator_root .ant-alert {
        padding-left: 27px;
    }
    #domainwheel_generator_root .ant-alert-message strong,
    .dw-premium-alternatives .dw-premium-item b {
        font-size: 13px;
    }
    #domainwheel_generator_root .ant-alert-message button {
        padding: 0 10px;
    }
    .dw-premium-alternatives .dw-premium-item a  {
    	padding: 5px 10px;
    }
    #domainwheel_generator_root .ant-card-body {
        padding: 10px;
    }
    #domainwheel_generator_root .ant-card-body button {
        margin: 5px 0 !important; 
    }
    #domainwheel_generator_root .ant-card-body button span {
        font-size: 13px;
        font-weight: 600;
    }
    #domainwheel_generator_root .ant-card-head-title {
        padding: 10px 0 !important;
    }
    #domainwheel_generator_root .ant-card-head {
        min-height: 0 !important;
    }
    .dw-premium-alternatives .dw-premium-item {
    	padding: 8px;
    }
}

@media (max-width: 414px) {
	.ant-list-item > div {
		text-align: center;
		padding: 10px 20px 20px!important;
	}
	.ant-list-item i,
	.dw-premium-alternatives .dw-premium-item i {
		display: none;
	}
	.ant-list-item .ant-alert-message span > div {
		position: static !important;
	}
	.dw-premium-alternatives .dw-premium-item {
		text-align: center;
		flex-wrap: wrap;
		justify-content: center;
		padding: 10px 20px 20px;
	}
	.dw-premium-alternatives .dw-premium-item b {
		flex-basis: 100%;
	}
	.dw-premium-alternatives .dw-premium-item a {
		margin-left: 0;
	}
    .ant-list.handpicked-premium .ant-list-item .left {
        padding: 0 !important;
    }
}

@media (max-width: 360px) {
    .select-tlds-checkbox-group .ant-dropdown-menu-group-item {
        width: 50%;
    }
}