
/* Bootstrap component replacements and secure static site overrides */

/* Bootstrap Caret Styles */
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

/* Fix double chevron issue on Other Fluke Companies dropdown */
/* Hide the Bootstrap caret when FontAwesome chevron is already present */
#topHeading .other-company-list .arrow_append_cls .caret {
  display: none !important;
}

/* Alternative: Hide the FontAwesome chevron if we want to keep Bootstrap caret */
/* 
#topHeading .other-company-list .arrow_append_cls:after {
  display: none !important;
}
*/

/* Bootstrap Caret Styles */
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.dropdown-toggle:focus .caret {
  outline: 0;
}

/* Arrow append styles removed - using Bootstrap carets instead */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
}

.dropdown-menu > li > a:hover {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

/* Form validation styles */
.error {
    border-color: #d9534f !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ce8483;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

/* Fix FontAwesome icon alignment */
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Social media icons styling */
.social-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Missing social media icon fallbacks if images don't load */
.fa-facebook::before {
    content: "\f09a";
}

.fa-twitter::before {
    content: "\f099";
}

.fa-youtube::before {
    content: "\f167";
}

.fa-angle-left::before {
    content: "\f104";
}

.fa-angle-right::before {
    content: "\f105";
}

.fa-angle-up::before {
    content: "\f106";
}

.fa-angle-down::before {
    content: "\f107";
}

.fa-times::before {
    content: "\f00d";
}
