/*------------------------------------------------------------------------------------- 
Theme Name:		 Hostech Child
Theme URI:		 https://gramentheme.com/wp/hostech/
Description:	 Hostech - Web hosting & WHMCS WordPress Theme
Author:			 GramenTheme
Author URI:		 https://themeforest.net/user/hostech
Template:		 hostech
Version:		 1.0.0
Text Domain:	 hostech-child
-------------------------------------------------------------------------------------*/
/*
    Please Add your custom styles here
*/

.header-2 .header-main {
	padding: 17px 25px;
}

.header-logo-2 img {
	max-height: 45px
}

@media only screen and (max-width: 768px){
	.header-logo-2 img{
		max-height: 38px !important;
	}
}

.doming-input form span {
	color: #ffffff;
}

@media (max-width: 768px) {
  br {
    display: block;
  }
}

@media only screen and (max-width: 499px) {
  .doming-input input[type="submit"] {
    width: 115px !important;
	position: inherit;
  }

/* Preloader*/
	.preloader p {
		text-transform: capitalize;
	}
.doming-input .wp24-dc form select {
	width: inherit !important;
	right:30px;
	top: 45px;
	}
}

@media only screen and (max-width: 425px) {
  select#dc-tld-1 {
    right: 30px;
  }
}


/* Mouse cursor */
/* 1. Force the default browser cursor to show up everywhere */
body, html, * {
    cursor: auto !important;
}

/* 2. Force the 'pointer' hand icon on clickable elements */
a, button, input[type="submit"], input[type="button"], .elementor-button {
    cursor: pointer !important;
}

/* 3. Hide the custom cursor graphic elements */
/* Note: These are common class names for custom cursors. */
.mouse-cursor, 
.magic-cursor, 
.custom-cursor, 
.tm-cursor,
.cursor-inner,
.cursor-outer,
#magic-cursor {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}
/* Mouse cursor Done*/

/* Mobile Navigation Menu */
.offcanvas__logo a img {
	max-height: 38px;
}

.offcanvas__contact {
	display: flex;
	flex-direction: column;
}
.offcanvas__contact .header-button {
	order: 1;
}

.offcanvas__contact h4{
	order: 2;
	margin-top: 30px;
}

.offcanvas__contact ul{
	order: 3;
	display: flex;
	flex-direction: column
}

.offcanvas__contact .social-icon {
	order: 4;
	margin-bottom: 30px;
	margin-top: 10px !important;
}

.offcanvas__contact ul li:first-child{
	order: 4;
}
.offcanvas__contact ul li:nth-child(2){
	order: 2;
}

.offcanvas__contact ul li:nth-child(3){
	order: 1;
}

.offcanvas__contact ul li:last-child{
	order: 3;
}


/* Home Page Domain Search */
@media only screen and (max-width: 480px) {
	.doming-name-wrapper.style-2 {
	margin-top: 50px !important;
	}
}


/* Domain check Button */
@media only screen and (max-width: 768px){
#wpdc-btn-search {
	border: 2px solid #2155d6;
	/*background-color: #2155d6;*/
	color: #ffffff;
}

}

.offcanvas__wrapper .offcanvas__content .offcanvas__contact ul li{
    margin-bottom: 15px !important;
}

.offcanvas__contact ul li a[href^="mailto:"]{
    text-transform: lowercase;
}

/*Footer advance*/

.footer-widgets-wrapper .single-footer-widget .footer-content .contact-info {
    /*padding-top: 30px;*/
}


.footer-widgets-wrapper .single-footer-widget .footer-content .social-icon {
    padding-bottom: 30px;
}

.footer-credential {
    margin-top: 15px;
}

.footer-credential a {
    position: relative;
      z-index: 2;
      overflow: hidden;
      vertical-align: middle;
      font-weight: 700;
      border-radius: 0;
}

.single-footer-widget a img {
	max-height: 60px;
}

@media only screen and (max-width: 375px){
	.single-footer-widget a img {
		max-height: 55px;
	}
}

/*.footer-credential > :first-child {*/
/*    background-color: #ffa31a;*/
/*}*/

/*.footer-credential > :last-child {*/
/*    background-color: #00289A;*/
/*}*/



.footer-credential > a::before {
  content: "";
  position: absolute;
  height: 100%;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: var(--header);
  z-index: -1;
  transition: all 0.4s ease-out;
  border-radius: inherit;
}

.footer-credential a:hover::before {
  width: 100%;
}

.footer-credential > a.login-button:hover::before {
  background-color: #ffffff;
}

.footer-credential > a.login-button:hover{
    color: #000000;
}


.footer-widgets-wrapper {
    padding-bottom: 50px;
}

.footer-bottom .footer-wrapper p {
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .footer-widgets-wrapper {
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 576px){
    .footer-bottom .footer-wrapper p {
        font-size: 13px;
    }
}

.footer-content .footer-input input {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    background-color: #6c757d !important;
    border-radius: 0 !important;
}

.footer-content .footer-input input[type="submit"]{
    position: absolute;
    right:0;
    top: 0;
    background-color: #0d6efd !important;
    color: #fff !important;
    font-weight: bold;
    width: 100%;
    max-width: 100px;
    transition: .5s;
}

.footer-content .footer-input input[type="submit"]:hover {
    background-color: #000000 !important;
}

.footer-content .footer-input {
    position: relative;
}

.wpcf7-response-output {
    display: none !important;
}

.footer-widgets-wrapper .single-footer-widget .footer-content .contact-info {
    margin-top: 10px;
}

.footer-widgets-wrapper .single-footer-widget .footer-content .social-icon {
    margin-top: 20px;
}

.footer-content .footer-input form {
    position: relative;
    padding-bottom: 30px;
}

.footer-content .footer-input form .wpcf7-spinner {
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-content .footer-input form .wpcf7-not-valid-tip {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255, .4);
    padding-left: 10px;
}

/* ==========================================
   Scroll To Top Button (Bottom Left)
   ========================================== */
#scrollUp {
    position: fixed;
    left: unset !important;
    top: inherit;
    bottom: 18px;
    right: 17px; /* Positioned strictly to the bottom left */
    z-index: 9999;
    width: 45px;
    height: 45px;
    background-color: #0d6efd; /* Update this to Hostech's primary brand color */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px; /* Change to 50% if you want a perfect circle */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    
    /* The Animation Starting State */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Starts slightly pushed down */
    transition: all 0.4s ease-in-out; /* Controls the 'slowly appear' speed */
}

/* Hover Effect */
#scrollUp:hover {
    background-color: #0b5ed7; /* Darker shade for hover */
    color: #ffffff;
    transform: translateY(-3px); /* Slight pop-up effect when hovered */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* The Active State (Triggered by JS) */
#scrollUp.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Floats up to its natural bottom: 40px position */
}

@media only screen and (max-width: 576px) {
    .footer-bottom.style-2 .footer-wrapper {
        padding-bottom: 100px;
    }
}

/*Price table*/

.price-list {
    display: none !important;
}

/* Domain Page */
@media only screen and (max-width: 768px){
	.domain-page #wpdc-btn-transfer {
		background-color: rgba(255,255,255,0.2);
	}
}

/* Preload Issue */
.site-header {
    position: relative !important;
}


/* Domain Price Page */

@media only screen and (max-width: 1200px) {
    .domain-price-mb .row {
        flex-wrap: nowrap !important;
        overflow-x: scroll;
    }
    
    .domain-price-mb .row > div.wow {
        width: 100% !important;
        max-width: 25% !important;
    }   
}

@media only screen and (max-width: 768px) {
    .domain-price-mb .row > div.wow {
        width: 100% !important;
        max-width: 200px !important;
    }   
}

.mega-menu-wrapper {
    margin-top: 30px;
}

.header-2 {
    margin-top: 0;
}

.sticky .mega-menu-wrapper {
    margin-top: 0;
}

.sticky .hf-bulletin-wrapper {
    background-color: #031243;
    display: none !important;
}

.tab-content .row {
    justify-content: center;
}


@media only screen and (max-width: 575px) {
  .breadcrumb-wrapper .page-heading {
    padding: 200px 0 60px;
  }
}


/**/
/**/
/*=========== WHOIS Lookup ==========*/
/* Force WP24 WHOIS results into a popup overlay */
.whois-info, #whois-info {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 999999 !important; /* Forces it above the theme header/footer */
    background-color: #ffffff !important;
    padding: 30px !important;
    box-shadow: 0px 10px 40px rgba(0,0,0,0.5) !important;
    max-width: 800px !important;
    width: 90% !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    border-radius: 8px !important;
}

/* Optional: Add a dark backdrop behind it */
body.wp24-overlay-active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 999998;
}

/* Force WP24 WHOIS results into a popup overlay */
.whois-info, #whois-info {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 999999 !important;
    background-color: #ffffff !important;
    padding: 40px 30px 30px 30px !important; /* Extra padding on top for the X button */
    box-shadow: 0px 10px 40px rgba(0,0,0,0.8) !important;
    max-width: 800px !important;
    width: 90% !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    border-radius: 8px !important;
    border: 2px solid #ddd !important;
    cursor: pointer;
}

/*.table-cell-domain a strong {*/
/*    color: #000000 !important;*/
/*}*/

.table > :not(caption) > * > * {
    padding: 0 !important;
    background-color: transparent !important;
    color: #ffffff !important;
}

.table-cell-status {
    margin-right: 10px;
}

.table-cell-whois {
    padding: 0 !important;
    padding-top: 10px !important;
}


.table-cell-whois a {
    color: #ffffff !important;
    font-weight: bold;
    text-decoration: underline !important;
    background-color: transparent !important;
    transition: all 500ms ease;
}

.table-cell-whois a:hover {
    color: var(--theme2) !important;
    text-decoration: none !important;
}

.table .table-cell-domain {
  margin-left: 0 !important;
  padding: 11px 10px 8px 0 !important;
}

.domain-page .doming-name-wrapper {
    background-color: rgba(56,75,255,.3);
}

@media only screen and (max-width: 767px) {
  .doming-input input[type="submit"] {
    width: 150px !important;
  }
}


@media only screen and (max-width: 500px) {
  .doming-input input[type="submit"] {
    width: 100% !important;
  }
}


/* WHOIS Lookup */
/* Custom WHOIS Layout Styles */
.custom-whois-layout {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.whois-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 24px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    overflow: hidden;
}

.whois-card-header {
    background-color: #fafafa;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 16px;
    color: #333333;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whois-card-header span {
    color: #f28b00; /* Subtle orange to mimic the Whois.com aesthetic */
    font-size: 18px;
}

.whois-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.whois-details-table tr {
    border-bottom: 1px solid #f5f5f5;
}

.whois-details-table tr:last-child {
    border-bottom: none;
}

.whois-details-table td {
    padding: 14px 20px;
    font-size: 14px;
    vertical-align: top;
    color: #333333;
}

.whois-details-table td:first-child {
    width: 30%;
    color: #888888;
    font-weight: 500;
}

.whois-details-table a {
    color: #0066cc;
    text-decoration: none;
}

.whois-details-table a:hover {
    text-decoration: underline;
}




/**/
/**/
/* 1. Hide the raw ugly data container permanently */
#whois-info { 
    display: none !important; 
}

/* 2. Custom WHOIS Beautiful Layout */
.custom-whois-layout {
    width: 100%;
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.whois-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 24px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    overflow: hidden;
    text-align: left;
}

.whois-card-header {
    background-color: #fafafa;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 16px;
    color: #333333;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whois-card-header span {
    color: #f28b00; 
    font-size: 18px;
}

.whois-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.whois-details-table tr {
    border-bottom: 1px solid #f5f5f5;
}

.whois-details-table tr:last-child { border-bottom: none; }

.whois-details-table td {
    padding: 14px 20px;
    font-size: 14px;
    vertical-align: top;
    color: #333333;
    word-break: break-all; /* Prevents long emails from breaking the box */
}

.whois-details-table td:first-child {
    width: 35%;
    color: #888888;
    font-weight: 500;
    word-break: normal;
}

.whois-details-table a {
    color: #0066cc;
    text-decoration: none;
}

.whois-details-table a:hover { text-decoration: underline; }