/*
Theme Name: MineListings 2026
Theme URI: http://minelistings.com
Author: MineListings, LLC
Author URI: http://minelistings.com/
Description: Updated theme with Bootstrap 5.3, security fixes, and HTML improvements
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html


This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

TABLE OF CONTENTS
  Section 1 - Header and Login Menu
  Section 2 - Navbar
  Section 3 - Body
  Section 4 - Footer Area
  Section 5 - Sidebar and Widgets
  Section 6 - Pages and Posts
  Section 7 - Links, Text, Buttons
  Section 8 - Tables
  Section 9 - Custom Views and Content Templates (wp-types) 
  Section 10 - Off Canvas
  Section 11 - Misc
  Section 12 - WooCommerce Overrides
  Section 13 - Direct Ads
*/

/***************************************************/
/***** Section 1 - Header and Login Menu 
/***************************************************/
.not-used-but-is-hover-color-for-minelistings-blue{background-color:#243975;}
div.headerarea, .container-fluid.headerarea, .headerarea {
    position: relative;
    padding: 0px;
    background-color: #243875 !important;
    color: #ffffff !important;
}
.loginmenu {text-align: right; color: #ffffff; padding: 5px 10px 0 0;}
a.loginmenulink {color: #ffffff;}
.socialmenu {text-align: right !important; color: #ffffff !important; margin: 5px 0 5px 0; display: block; width: 100%;}
.socialmenu a, .socialmenu i {color: #ffffff !important;}
div.headerlogo {padding: 0px 0px 10px 10px;}
ul.dropdownright {float:right; position:relative;}
.dropdown-menu > li > a {display: block; padding: 3px 20px; clear: both; font-weight: normal; line-height: 1.42857143; color: #333333; white-space: nowrap;}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { background-color: #f2f2f2;}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {background-color: #f2f2f2;}
.header-headline{height: 100%; margin:auto; font-weight:bold;}
.header-headline h1{font-size: clamp(1.25rem, 2.5vw, 2rem); margin-bottom: 0.25rem;}
.header-subheadline{margin: 0; font-size: clamp(0.85rem, 1.5vw, 1rem); opacity: 0.9;}
.row-wider{padding:0;}
.header-widget {width:100%;padding:0px;background-color:#f1f1f1;text-align:center; height:auto;margin:0;}


/***************************************************/
/***** Section 2 - Navbar (Clean White Sticky)
/***************************************************/

/* Main Navbar Container */
.ml-navbar-dark {
    background: #ffffff;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 1030;
    border-bottom: 1px solid #e9ecef;
}

/* Adjust sticky navbar when admin bar is present */
.admin-bar .sticky-top {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .sticky-top {
        top: 46px;
    }
}

.ml-navbar-dark .container-fluid {
    padding: 0 30px;
}

/* Nav Links */
.ml-nav-links {
    margin: 0;
    padding: 0;
}

.ml-nav-links .nav-item {
    margin: 0;
}

.ml-nav-links .nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 18px 20px !important;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.ml-nav-links .nav-link:hover,
.ml-nav-links .nav-link:focus {
    color: #243875 !important;
    background: #f8f9fa !important;
    border-bottom-color: #243875;
}

.ml-nav-links .nav-item.active > .nav-link,
.ml-nav-links .nav-link.active {
    color: #243875 !important;
    border-bottom-color: #243875;
}

/* Dropdown Menus */
.ml-nav-links .dropdown-menu {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
    margin-top: 0;
}

.ml-nav-links .dropdown-item {
    color: #333;
    padding: 10px 25px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.ml-nav-links .dropdown-item:hover,
.ml-nav-links .dropdown-item:focus {
    background: #f8f9fa;
    color: #243875;
}

/* Right Side Navigation */
.ml-nav-right {
    gap: 10px;
}

.ml-nav-account .nav-link {
    font-size: 0.9rem;
}

/* CTA Button */
.ml-nav-cta {
    background: linear-gradient(135deg, #d4af37 0%, #b8960c 100%);
    color: #1a1a1a !important;
    font-weight: 600;
    padding: 10px 22px !important;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    margin-left: 15px;
}

.ml-nav-cta:hover {
    background: linear-gradient(135deg, #b8960c 0%, #9a7d0a 100%);
    color: #1a1a1a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.ml-nav-cta i {
    margin-right: 6px;
}

/* Mobile Toggle Button */
.ml-navbar-toggler {
    border: 2px solid #243875;
    color: #243875;
    padding: 8px 12px;
    font-size: 1.2rem;
    border-radius: 5px;
    background: transparent;
}

.ml-navbar-toggler:hover,
.ml-navbar-toggler:focus {
    background: #243875;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .ml-navbar-dark .container-fluid {
        padding: 10px 15px;
    }

    .ml-nav-links .nav-link {
        padding: 12px 15px !important;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .ml-nav-links .nav-link:hover,
    .ml-nav-links .nav-link:focus {
        border-left-color: #243875;
        border-bottom-color: transparent;
    }

    .ml-nav-right {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
        border-top: 1px solid #e9ecef;
        margin-top: 10px;
    }

    .ml-nav-cta {
        margin: 10px 15px;
        text-align: center;
    }

    .ml-nav-links .dropdown-menu {
        background: #f8f9fa;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }
}

/* Legacy support - hide old navborder */
div.navborder {
    display: none;
}

/***************************************************/
/***** Section 3 - Body 
/***************************************************/
body {padding-bottom: 20px;font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;font-size: 15px;line-height: 1.42857143;color: #333333;}
.container-fluid {padding-left: 40px !important;padding-right: 40px !important;}

/***************************************************/
/***** Section 4 - Footer Area 
/***************************************************/
div.footer, .col-12.footer, .footer {
    height: 120px;
    width: 100%;
    background-color: #243875 !important;
    color: #ffffff !important;
    padding: 15px;
    margin: auto;
}
a.footer-links {color: #ffffff;text-decoration: underline;}
a.footer-links:hover,a.footer-links:focus {color: #ffffff;text-decoration: none;}

/***************************************************/
/***** Section 5 - Sidebar and Widgets 
/***************************************************/
.sidebar {margin-top: 15px;color: #333333;text-align: center;margin-left: auto;margin-right: auto;}
.widget-title {color: #333333;text-align: center;padding: 3px;margin: 0;}
.widget {margin: 0px 0px 0px 0px;padding: 0;border: none;background-color: #ffffff;}

/***************************************************/
/***** Section 6 - Pages and Posts 
/***************************************************/
div.page {
  margin-top: 15px;
  min-height: 500px;
}
div.clean {
  padding: 5px;
}	

nopadding {
  padding: 0 !important;
  margin: 0 !important;
}

.panel {
  padding: 10px 10px 10px 10px;
  color: #ffffff;
  min-height: 120px;
  margin-bottom: 15px;
  background-color: #333333;
  background-position: 10px center;
  background-repeat: no-repeat;
  width: 100%;
}

.panel-item {
  width: 100px;
  vertical-align: middle;
  padding: 10px;
  color: #ffffff;
  background-color: #333333;
  float: left;
}

.panel-desc {
  margin-left: 110px;
  padding: 5px 10px 10px 0;
  
}

.panel-desc p {
  margin-bottom: 10px;
}

.panel-desc a,
.panel-desc hover,
.panel-desc focus {
  color: #ffffff;
  font-size: 24px;
}
.glyphicon {
  font-size: 75px;
}
/***************************************************/
/***** Section 7 - Links, Text, Buttons, Images
/***************************************************/
h1 {
  margin: 0 0 2px 0;
  font-size: 2.00em;
  text-align: center;
}

h2 {
  margin: 0 0 10px 0;
  font-size: 1.70em;
}

h3 {
  margin: 0 0 10px 0;
  font-size: 1.40em;
}

h4 {
  margin: 10px 0 10px 0;
  font-size: 1.10em;
}

h5 {
  margin: 10px 0 10px 0;
  font-size: 0.80em;
}
.btn-block {
  display:block;
  padding-left:0;
  padding-right:0
}

a {
  color: #1122CC;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #ffffff;
  background-color: #999999;
  text-decoration: none;
}


a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.img-responsive {  
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/***************************************************/
/***** Section 8 - Tables 
/***************************************************/

/***************************************************/
/***** Section 9 - Custom Views & Content Templates 
/***************************************************/

/***************************************************/
/***** Section 10 - Off Canvas 
/***************************************************/

/***************************************************/
/***** Section 11 - Misc 
/***************************************************/
.prev-next {
	font-size: 24px;
	margin-top: 30px;
	text-align: right;
}
/***************************************************/
/***** Section 12 - Woocommerce Overrides */
/***************************************************/


/***************************************************/
/***** Section 13 - Direct Ads */
/***************************************************/
div.square-text-only {
	border: 2px !important;
	border-color: #243875 !important; 
	width: 240px !important;
	height: 240px !important;
}


div.banner-text-only {
	border: 2px;
	border-color: #243875;
	width: 1580px;
	height: 200px;
}

/* Banner Ads - Modern Styling */
.ml-banner-ad {
    width: 100%;
    max-width: 100%;
    margin: 0 0 3px 0;
    border-radius: 0;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.ml-banner-ad:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ml-banner-ad a {
    display: block;
    text-decoration: none;
    color: inherit;
    background: transparent;
}

.ml-banner-ad a:hover,
.ml-banner-ad a:focus {
    text-decoration: none;
    color: inherit;
    background: transparent;
}

/* Banner - Image Only */
.ml-banner-ad.ml-banner-image-only {
    aspect-ratio: 728 / 90;
}

.ml-banner-ad.ml-banner-image-only img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Banner - Image with Text Overlay */
.ml-banner-ad.ml-banner-image-with-text {
    position: relative;
    min-height: 250px;
}

.ml-banner-ad.ml-banner-image-with-text .ml-banner-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.ml-banner-ad.ml-banner-image-with-text img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.ml-banner-ad.ml-banner-image-with-text .ml-banner-text-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    min-height: 250px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.ml-banner-ad.ml-banner-image-with-text .ml-banner-headline {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.ml-banner-ad.ml-banner-image-with-text .ml-banner-subheadline {
    font-size: clamp(1.1rem, 3vw, 2rem);
    opacity: 0.95;
}

.ml-banner-ad.ml-banner-image-with-text .ml-banner-cta-btn {
    padding: 18px 45px;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-left: 40px;
}

.ml-banner-ad .ml-banner-text-content {
    flex: 1;
}

.ml-banner-ad .ml-banner-headline {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.2;
}

.ml-banner-ad .ml-banner-subheadline {
    font-size: 0.85rem;
    opacity: 0.9;
}

.ml-banner-ad .ml-banner-cta-btn {
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

.ml-banner-ad .ml-banner-cta-btn:hover {
    transform: scale(1.05);
}

/* Banner - Template (colored background) */
.ml-banner-ad.ml-banner-template {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    min-height: 250px;
    color: #fff;
}

.ml-banner-ad.ml-banner-template a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #fff;
    background: transparent;
}

.ml-banner-ad.ml-banner-template a:hover,
.ml-banner-ad.ml-banner-template a:focus {
    background: transparent;
    color: #fff;
}

.ml-banner-ad.ml-banner-template .ml-banner-text-content {
    flex: 1;
}

.ml-banner-ad.ml-banner-template .ml-banner-headline {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.ml-banner-ad.ml-banner-template .ml-banner-subheadline {
    font-size: clamp(1.1rem, 3vw, 2rem);
    opacity: 0.9;
    color: #fff;
}

.ml-banner-ad.ml-banner-template .ml-banner-cta-btn {
    padding: 18px 45px;
    border-radius: 5px;
    background: #fff;
    color: #1a1a1a;
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    text-decoration: none;
    transition: transform 0.2s ease;
    margin-left: 40px;
}

/* Banner Mobile responsive */
@media (max-width: 768px) {
    .ml-banner-ad {
        max-width: 100%;
        border-radius: 0;
        margin: 0;
    }

    .ml-banner-ad.ml-banner-template {
        flex-direction: column;
        padding: 25px 20px;
        min-height: 100px;
        text-align: center;
    }

    .ml-banner-ad.ml-banner-template a {
        flex-direction: column;
    }

    .ml-banner-ad.ml-banner-template .ml-banner-text-content {
        margin-bottom: 15px;
    }

    .ml-banner-ad.ml-banner-template .ml-banner-cta-btn {
        margin-left: 0;
    }

    .ml-banner-ad.ml-banner-image-with-text {
        min-height: 100px;
    }

    .ml-banner-ad.ml-banner-image-with-text .ml-banner-text-overlay {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        min-height: 100px;
    }

    .ml-banner-ad.ml-banner-image-with-text .ml-banner-text-content {
        margin-bottom: 15px;
    }

    .ml-banner-ad.ml-banner-image-with-text .ml-banner-cta-btn {
        margin-left: 0;
    }

    .ml-banner-ad .ml-banner-headline {
        font-size: 1.2rem;
    }

    .ml-banner-ad .ml-banner-subheadline {
        font-size: 0.9rem;
    }
}
