/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */
/* ===================================================
   2k20 Theme - Footer Fix for WHMCS 9
   Restores dark footer styling overridden by WHMCS core CSS
   =================================================== */

section#footer {
    background: #272a2f !important;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    border-top: none !important;
    color: #898989 !important;
}

section#footer h4 {
    color: #FFF !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 20px !important;
    margin-bottom: 25px !important;
}

section#footer a {
    color: #898989 !important;
    margin-top: 5px !important;
    padding: 0 !important;
    font-weight: 300 !important;
    font-size: 13px !important;
}

section#footer a:hover {
    color: #E3E3E3 !important;
    background: none !important;
}

section#footer a:focus {
    background: none !important;
}

section#footer .nav > li > a:focus,
section#footer .nav > li > a:hover {
    background-color: transparent !important;
    color: #E3E3E3 !important;
}

section#footercompany {
    background: #1e2125 !important;
    color: #666 !important;
}

section#footercompany p,
section#footercompany a {
    color: #666 !important;
}

section#footercompany a:hover {
    color: #999 !important;
}

section#partners {
    background: #1e2125 !important;
    padding: 15px 0 !important;
}

/* ===================================================
   2k20 Theme - Dropdown Z-Index Fix for WHMCS 9
   Fixes dropdown menu appearing behind page content
   =================================================== */

section#menu {
    position: relative;
    z-index: 1030 !important;
}

section#menu .navbar {
    position: relative;
    z-index: 1030 !important;
}

section#menu .dropdown-menu {
    z-index: 1031 !important;
}

/* Modal must always be above navbar */
.modal { z-index: 1050 !important; }
.modal-backdrop { z-index: 1040 !important; }

section#menu .navbar-nav > li {
    position: relative;
}

/* Ensure subbanner and main content don't cover dropdowns */
section#subbanner {
    position: relative;
    z-index: 1;
}

section#main-body {
    position: relative;
    z-index: 1;
}

/* ===================================================
   Dropdown-submenu explicit fix
   =================================================== */

/* Parent dropdown - overflow visible so child submenu shows */
section#menu .dropdown-menu.normal {
    overflow: visible !important;
}

/* dropdown-submenu items */
section#menu .normal .dropdown-submenu {
    position: relative !important;
}

section#menu .normal .dropdown-submenu > .dropdown-menu {
    top: 0 !important;
    left: 100% !important;
    margin-top: 0 !important;
    display: none;
    z-index: 100000 !important;
}

section#menu .normal .dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
}



/* ===================================================
   Modal Backdrop Fix
   2k20 original theme had opacity:1 which blacks out entire page
   Fix to semi-transparent so content is visible behind modal
   =================================================== */
.modal-backdrop.in {
    opacity: 0.5 !important;
    background: #000 !important;
}
