/* Custom Overrides for SOM Law */

/* 
   FORCE SLIDER BUTTONS TO BE STATIC GREEN 
   This file should be loaded last to ensure it overrides everything else.
*/

/* Target every possible variation of the slider button */
#tg-wrapper .tg-homeslider .tg-btn,
.tg-homeslider .tg-btn,
.tg-homeslider .tg-btn:link,
.tg-homeslider .tg-btn:visited,
.tg-homeslider .tg-btn:hover,
.tg-homeslider .tg-btn:focus,
.tg-homeslider .tg-btn:active,
a.tg-btn,
a.tg-btn:hover {
    background: #488767 !important;
    background-color: #488767 !important;
    border: 2px solid #488767 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: none !important;
    transform: none !important;
    text-decoration: none !important;
    display: inline-block !important;
}

/* Force all children to be white and visible */
#tg-wrapper .tg-homeslider .tg-btn *,
.tg-homeslider .tg-btn *,
.tg-homeslider .tg-btn:hover *,
.tg-homeslider .tg-btn:focus *,
.tg-homeslider .tg-btn:active *,
a.tg-btn *,
a.tg-btn:hover * {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
}

/* Force Mobile Menu Text to White */
@media (max-width: 991px) {
    .tg-navigation ul li a,
    .tg-navigation ul li ul li a,
    .tg-hasdropdown ul li a,
    .mega-menu-col a,
    .mega-menu-col ul li a {
        color: #ffffff !important;
    }
}

/* Fix Burger Button Dimensions for Bootstrap 5 pages */
.icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
}
.icon-bar + .icon-bar {
    margin-top: 4px;
}

/* Polyfill Bootstrap 3 .navbar-toggle styles for Bootstrap 5 pages */
.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.navbar-toggle:focus {
    outline: 0;
}
