/**
* Appended styles for default CE Phoenix template
* ORIGINALLY build for form 2.0; should now be default
* 2024-06-25 21:34:22
*/

/* START - TemplateOverwrites ------------------ */
#bodyWrapper {
    padding-top: 0 !important;
}
#mobileMenuBodyCover {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 90;
}
#mobileMenuBodyCover.mobileMenuBodyCoverShow {
    display: block;
}
.navbar {
    position: sticky;
    top: 0;
    padding: 0 1rem;
    border-bottom: solid 1px #c0c0c0;
    box-shadow: 0 1px 3px rgba(0 0 0 0.25);
    z-index: 99;
}
.headerWrapper {
    position: relative;
    height: 138px;
    background-color: rgba(51, 70, 84, 1);
}
.cm-header-logo a {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 140px;
    height: 76px;
    margin: 5px 0;
    z-index: 2;
}
.cm-header-logo a > img {
    width: 140px;
    height: auto;
}

/* Custom mobile menu */
.mobileMainNavWrapper {
    display: none;
    margin: 5px 0 0;
    padding: 5px 0 0;
    color: #808080;
    border-top: solid 1px #d0d0d0;
}
ul.mobileMainNav {
    list-style: none;
    margin: 0;
    padding: 0 0 0 6px;
}
ul.mobileMainNav li {
    padding: 8px 0;
}
ul.mobileMainNav li + li {
    border-top: solid 1px rgba(0, 0, 0, 0.125);;
}
@media (max-width:768px) {
    .navbar-expand-sm .navbar-collapse {
        display: block !important;
        height: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.15s ease-out;
    }
    .navbar-expand-sm .navbar-collapse.show {
        display: block !important;
        height: auto;
        max-height: 500px;
    }
    /* Custom mobile menu */
    .mobileMainNavWrapper {
        display: block;
    }
}

.breadcrumb {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
}
.input-group {
    max-width: 375px;
    margin: 0 0 0 auto;
}
.body-sans-header {
    padding-top: 20px;
}

.body-sans-header {
    max-width: 1400px;
    margin: 0 auto;
}
#bodyContent {
    padding-left: 30px;
    padding-right: 30px;
}
h1.display-4 {
    font-size: 2.25rem;
}
.alert-info {
    margin: 1rem 0;
}
h4.alert-heading {
    font-size: 1.25rem;
}
.alert-info .alert-link {
    color: #007bff;
}
.cm-i-card-products {
    margin-top: 50px;
}
/* left & right category, manufact, reviews columns */
#columnLeft,
#columnRight {
    min-width: 190px !important;
}
.card-header {
    font-weight: 500;
}
.list-group-item {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.bm-reviews,
.bm-whats-new {
    font-size: 0.875rem;
}
.bm-reviews h5.card-title,
.bm-whats-new h5.card-title {
    font-size: 1rem;
}
.bm-reviews a > img,
.bm-whats-new a > img {
    max-width: 350px;
    height: auto;
}

div.cm-footer-information-links > h4 {
    display: none;
    text-align: center;
}
nav.flex-column {
    flex-direction: row !important;
    justify-content: center;
}
.footer-extra {
    font-size: 13px;
}

/* Misc pages, i.e. shipping, etc */
.pageContentWrapper {
    padding-top: 30px;
    border-top: solid 1px #c0c0c0;
}
.pageContentWrapper > h3 {
    font-size: 1.25rem;
}
.pageContentWrapper > h4 {
    font-size: 1.125rem;
}

@media (max-width:940px) {
    #columnRight {
        display: none !important;
    }
}
@media (max-width:768px) {
    .headerWrapper {
        height: 100px;
    }
    .navbar-header {
        height: 48px;
    }
    .container-fluid {
        flex-wrap: wrap !important;
    }
    .navbar-light .navbar-toggler {
        display: inline-block;
        height: 38px;
    }
    .navbar-collapse {
        display: block;
        flex-basis: 100% !important;
        flex-grow: 1 !important;
    }
    .navbar-expand-sm .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    .collapse:not(.show) {
        display: none !important;
    }
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        margin-bottom: 5px;
    }
    .cm-header-breadcrumb {
        display: none;
    }
    #columnLeft .bm-categories {
        display: none;
    }
    #columnRight {
        display: block;
    }
    .bm-reviews > .card-header,
    .bm-whats-new > .card-header {
        margin-bottom: 1rem;
    }
}
@media (max-width:576px) {
    .cm-header-search {
        display: none;
    }
}
@media (max-width:430px) {
    #bodyContent {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* END ------------------------------ */

/* Custom rules */
.headerBg2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: url(../images/header_banner_3.jpg) center -17px no-repeat #1f272d;
    opacity: 0.2;
    z-index: 0;
}

/* Safe & Secure widget */
.cm-footer-page_end_widget {
    margin: 1.563rem 0 0 0;
}
.securityIconWrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10% 60px 10%;
}
.securityIconSet {
    position: relative;
    display: block;
    padding: 25px 0;
    box-sizing: border-box;
    border-top: solid 1px #d4dce1;
    border-bottom: solid 1px #d4dce1;
}
.securityIconSet .yearsOfService {
    text-align: center;
}
.securityIconSet .badgeSet {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding-top: 10px;
}
.securityIconSet .badgeSet > div {
    flex-grow: 1;
    text-align: center;
}
div.button, 
a.button,
button.button {
    display: inline-block;
    padding: 0.25rem 0.63rem;
    background-color: #e0e0e0;
    border: solid 1px #c0c0c0;
    border-bottom: solid 1px #a0a0a0;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
	cursor: pointer;
}
div.button:hover, 
a.button:hover,
button.button:hover {
	background-color: #d0d0d0;
	border-color: #a0a0a0;
}
.button.buttonTrgGrey {
    color: #fff;
    background-color: #477a87;
}
.button.buttonTrgGrey:hover {
    background-color: #21778d;
    border-color: #222;
}


@media (max-width:940px) {
    .securityIconSet .badgeSet {
        flex-wrap: wrap;
    }
}

/* Custom ModalBox */
.modalBoxWrapper {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}
.modalBoxShow {
    display: block;
}
.modalBoxWrapper .modalBox {
    position: absolute;
    min-width: 300px;
    width: 380px;
    max-width: 100%;
    min-height: 200px;
    max-height: 100%;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: auto;
    color: #303030;
    background-color: #efefef;
    border: solid 1px #c0c0c0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}
.modalBoxWrapper .modalBox .modalBoxHeader {
    width: 100%;
    min-height: 40px;
    padding: 11px 50px 10px 10px;
    background-color:#efefef;
    border-bottom: solid 1px #cfcfcf;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.modalBoxWrapper .modalBox .modalBoxHeader span {
    font-weight: bold;
}
.modalBoxWrapper .modalBox .modalBoxHeader kbd {
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.25rem;
    cursor: pointer;
    padding: 0 5px;
    border: solid 1px #c0c0c0;
    background-color: #d0d0d0;
    border-radius: 4px;
}
.modalBoxWrapper .modalBox .modalBoxBody {
    padding: 10px;
}
.modalBoxWrapper .modalBox .modalBoxBody p:first-of-type {
    margin-top: 5px;
}
/* Custom Tooltip */
kbd.tooltip {
	position: absolute;
	box-sizing: border-box;
	display: inline-block;
	right: 0;
	width: 18px;
	height: 18px;
	font-size: 13px;
	text-align: center;
	vertical-align: baseline;
	border-radius: 15px;
	border: solid 1px #666;
	color: #fff;
	background-color: #08a;
}
kbd.tooltip:hover {
	cursor: pointer;
	background-color: #0af;
}
kbd.tooltip.noAnchor {
    width: 0;
    height: 0;
    border: none;
    background-color: transparent;
    border-radius: unset;
}
kbd.tooltip > span {
	position: absolute;
	display: none;
	left: 50%;
	right: 0;
	top: -65px;
	max-width: 300px;
	width: 240px;
	min-height: 40px;
	padding: 5px 8px;
	transform: translateX(-50%);
	font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #fff;
	background-color: #316363;
	border: solid 1px #666;
	border-radius: 6px;
}
kbd.tooltip > span::after {
	content: " ";
	position: absolute;
	top: 100%; /* At the bottom of the tooltip */
	left: 50%;
	margin-left: -8px;
	border-width: 8px;
	border-style: solid;
	border-color: #316363 transparent transparent transparent;
}
kbd.tooltip > span.showTooltip {
	display: block;
}
kbd.tooltip > span.position_right {
	left: unset;
	transform: unset;
	border-bottom-right-radius: 3px;
}
kbd.tooltip > span.position_right::after {
	left: unset;
	right: 0;
	margin-left: 0;
}
kbd.tooltip > span.position_left {
	left: 0;
	right: unset;
	transform: unset;
	border-bottom-left-radius: 3px;
}
kbd.tooltip > span.position_left::after {
	left: 0;
	right: unset;
	margin-left: 0;
}
kbd.tooltip > span.showTooltip .showTooltipExit {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 18px;
    height: 18px;
    z-index: 3;
    color: #316363;
    font-family: monospace, Andale Mono, Apple Braille, Consolas;
    background-color: #fff;
    text-align: center;
    line-height: 1.1rem;
    border-radius: 18px;
    border: solid 1px #316363;
}
kbd.tooltip > span.showTooltip .showTooltipExit::before {
    content: 'X';
}