/*

Theme Name: Anchor Network Solutions

Description: Child theme for Avada theme

Author: 5280 Accelerator

Author URI: https://5280accelerator.com

Template: Avada

Version: 1.0.0

Text Domain:  Avada

*/

/* Global */
* {
	font-variant-ligatures: no-common-ligatures;
}

/* Header */
.fusion-tb-header {
	z-index:999999999;
	position:relative;
}
/* Navigation */

.awb-menu__mega-wrap {
	max-width:1220px !important;
}
@media only screen and (max-width: 1281px) {
.primary-navigation a {
	font-size:16px !important;
}
.primary-navigation li {
	margin-left:10px;
	margin-right:15px;
}
}
@media only screen and (max-width: 1249px) {
.awb-menu__mega-wrap {
	max-width:1190px !important;
}
}
@media only screen and (max-width: 1182px) {
.primary-navigation a {
	font-size:15px !important;
}
.primary-navigation li {
	margin-left:8px;
	margin-right:8px;
}
}

@media only screen and (max-width: 1200px) {
.awb-menu__mega-wrap {
	max-width:1050px !important;
}
}
.awb-menu__mega-wrap .fusion-button span {
	text-align:center;
}

/* Misc */
.header-phone p {
	white-space:nowrap;
}
.no-underline-link a:not(.fusion-button) {
	text-decoration:none !important;
}
.no-underline-link a:not(.fusion-button, .fusion-social-network-icon):hover {
	text-decoration:underline !important;
}
.slide-boxes {
	padding:0 50px 30px !important;
}
.slide-boxes .swiper-pagination {
	pointer-events:none !important;
}
.faq-toggle .fusion-panel {
	border-radius:20px !important;
} 
.faq-toggle .fusion-panel .fusion-toggle-icon-wrapper i {
	border-radius:50px !important;
	padding:10px !important;
}
.contact-popup .contact-popup-form {
	max-height:80vh;
	overflow-y:scroll;
}
.price-table-icon {
	text-align:center !important;
	vertical-align:middle !important;
}
.price-table-icon i {
	float:none !important;
}
.wp-post-image {
	margin-bottom:30px;
}

/* Price Table */
@media screen and (max-width: 767px) {
  /* Force table elements to display as block structures instead of traditional table layouts */
  .responsive-price-table table, 
  .responsive-price-table thead, 
  .responsive-price-table tbody, 
  .responsive-price-table th, 
  .responsive-price-table td { 
    display: block; 
  }
.responsive-price-table tr {
	display:flex;
	flex-direction:column;
}
.responsive-price-table .price-table-service {
	order:-3;
}
.responsive-price-table .fa-circle {
	display:none;
}
  
  /* Completely hide the horizontal table header visually */
  .responsive-price-table thead tr { 
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  
  /* Convert each row into a standalone card container */
  .responsive-price-table tr { 
    border: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }
  
  /* Style the table cells to look like rows within the card */
  .responsive-price-table td { 
    border: none !important;
    border-bottom: 1px solid #eee !important; 
    position: relative;
    padding-left: 50% !important; 
    text-align: right !important;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  /* Ensure the last element doesn't have a double bottom border */
  .responsive-price-table td:last-child {
    border-bottom: none !important;
  }
  
  /* Inline label insertion for mobile context mapping */
  .responsive-price-table td:before { 
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 45%; 
    padding-right: 10px; 
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    color: #333;
    content: attr(data-label);
  }
}
@media screen and (max-width: 767px) {
.hero-bar {
	background-position:-800px top !important;
	background-color:rgba(148, 79, 16, 0.5) !important;
}
.technology-supported .hero-bar {
	background-position:-600px !important;
}
}
