﻿/* File:    custom.css                               */
/* Author:  Gravitate Solutions                      */
/* Purpose: customize combined styles to override
            Bootstrap, netFORUM, and the NDIA theme
            without altering the original files
            so newer versions can easily be replaced */

#OTIResponsiveTopPane > table > tbody > tr > td { /* Override table cellspacing="1" */
    margin: 0;
    padding: 0;
}

#TopPane,
#BottomPane,
#eWebBottomPaneTable,
header { /* Override netFORUM page layout */
    margin: 0px auto;
    width: 100%;
    max-width: none !important;
}

#OTIResponsiveContentPane { /* Emulate theme container for netFORUM content pane */
    max-width: 1238px;
    margin: 0 auto;
}

.main-header,
nav,
footer { /* Override netFORUM base font */
    line-height: 1.7em;
    font-size: 16px;
}

.main-header .container,
.footer-wrpr .container { /* Override Bootstrap v.2.3.2 container */
    width: 100% !important;
}

.logo { /* Override netFORUM logo */
    width: auto;
    height: auto;
    margin-left: 0;
    margin-top: 0;
    background: none;
    background-size: inherit;
}

header [class^="icon-"],
header [class*=" icon-"],
footer [class^="icon-"],
footer [class*=" icon-"] { /* Override Bootstrap v2.3.2 icons */
    display: inline-block;
    width: auto;
    height: auto;
    margin-top: 0;
    line-height: inherit;
    vertical-align: baseline;
    background: none;
}

footer .view-01 { /* Override Bootstrap v2.3.2 for view displaying as table */
    border-collapse: separate;
}

header li,
nav li,
footer li { /* Override Bootstrap v2.3.2 list items */
    line-height: 1.7em;
}

footer li {
	margin-bottom: 0 !important;
}

@media(min-width: 1200px) {
    header .row { /* Override Bootstrap v2.3.2 rows for header mega menu */
        margin-left: 0;
    }
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input { /* Override Bootstrap v2.3.2 inputs */
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    height: auto;
}

.btn { /* Override Bootstrap v2.3.2 buttons */
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
}

.accordion-group,
.alert,
.thumbnail,
.panel,
.nav-tabs > li > a,
.nav-pills > li > a,
.nav-pills .dropdown-menu,
.btn-group > .btn:first-child,
.btn-group > .btn:last-child,
.btn-group > .dropdown-toggle,
.btn-group > .btn.large:first-child,
.btn-group > .btn.large:last-child,
.btn-group > .large.dropdown-toggle { /* Override Bootstrap v2.3.2 rounded corners on various elements */
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.search input[type="text"] { /* Override Bootstrap v2.3.2 search textbox */
    line-height: normal;
    height: auto;
    vertical-align: baseline;
    border: 2px solid #ddd;
}

.search .btn { /* Override Bootstrap v2.3.2 search button */
    line-height: normal;
}

/* Override Bootstrap v2.3.2 placeholder */
input:-moz-placeholder,
textarea:-moz-placeholder {
    color: #777;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #777;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #777;
}

.module-header { /* Override netFORUM form heading, like on the login form */
    height: auto;
}

h1 { /* Mimick page headers from theme */
    font-weight: bold;
    text-transform: uppercase;
    color: #A6192E;
}

#eWebLoginControl_TextBoxLoginName,
#eWebLoginControl_TextBoxPassword { /* Override netFORUM login controls */
    padding: 4px 8px;
    font-size: 14px;
    line-height: 20px;
    height: auto;
}

.special-nav-item > span:before { /* Fix theme background offset issue for Join NDIA mobile menu item hover */
    height: 100%;
    top: 0;
}

/* Override theme to allow for Bootstrap v2.3.2 button sizes */

.btn, a.btn
{
    padding: 5px 15px;
    margin: 0px 3px;
}

.btn-large,
a.btn-large {
    padding: 11px 19px;
    font-size: 17.5px;
}
.btn-small,
a.btn-small {
    padding: 2px 10px;
    font-size: 11.9px;
}
.btn-mini,
a.btn-mini {
    padding: 0 6px;
    font-size: 10.5px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; /* More readable font for mini */
}

.btn:hover,
.btn:focus,
a.btn:hover,
a.btn:focus { /* Override Bootstrap v2.3.2 button hover/focus */
    opacity: 0.9;
    background: #002855;
    color: #fff;
    text-decoration: none;
}

.btn .glyphicons i:before { /* Override Bootstrap v2.3.2 button icons */
    color: #fff;
}

.alert.alert-info, .alert a { /* Override theme to allow for Bootstrap v2.3.2 info alerts */
    color: #3a87ad;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.nav-pills > .active > a,
.nav-pills > .active > a:hover,
.nav-pills > .active > a:focus { /* Override Bootstrap v2.3.2 nav pills */
    color: #fff;
    background-color: #002855;
}

.nav .dropdown-toggle .caret { /* Override Bootstrap v2.3.2 dropdown caret */
    border-top-color: #002855;
    border-bottom-color: #002855;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a { /* Override Bootstrap v2.3.2 highlighted menu item */
    color: #fff;
    background-color: #002855;
    background-image: none;
    filter: none;
}

.control-group .controls .help-block { /* Override bootstrap help block text for forgot password page */
    color:#222;
}

#SuperSearchNoLabelTop_SearchGoButtonNoLabelTop
{
    height: 30px;
    padding-top: 5px;
}

body > .main-nav
{
    z-index: -250; /* MCF UPDATE 8/17/2018 SD #4450 from 250 to -250 */
}

/* NEW MCF 8/17/2018 SD #4450 */

.social-icons
{
    display: none;
}

.cm-js-menu-active .main-nav
{
    padding-left: 17%;
    right: 17%;
    left: auto;
    z-index: 250;
}

.cm-js-menu-active .social-icons
{
    display: block;
}

/* END NEW MCF  8/17/2018 SD #4450 */

.site-wrap
{
    z-index: 500;
}

#upcoming-pager-bookmark, a[name=search]
{
    padding-top: 120px;
    margin-top: -120px;
    display: block;
}

.btn.disabled
{
    display: none;
}

#ForgotPwdControl_ForgotPasswordDiv .control-group .controls .help-block {
    color: #ff6a00;
}

.alert.alert-success {
    color: #468847;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.btn.btn-primary{
    border:0px;
}

.ui-dialog {
    z-index: 10000;
}

.form-horizontal select.hidden {
    display: none;
}

[class^="icon-"], [class*=" icon-"] {
    background-image: url(../../images/glyphicons-halflings-white.png);
}

#eWebTopPaneBottomLinksCell {
    display: none;
}

/* Override bootstrap button style for header nav button in WID site */
.subscribe-btn a.btn {
	margin: 0;
	padding: 15px 28px;
}

.wid-header {
	margin-bottom: 25px;
}

.form-horizontal .control-label {
    position: relative; /* 5/31/2018 MCF SD #4163 Forgot PW form label overlapping text box */
}

/* Fix for fact that sometimes baseline renders a css class with a lowercase 'F' */
.DataformLabelErrorMessage, .DataformValidationSummary {
    color: red;
    background-color: #fff1f1;
    padding: 10px;
    border: 1px solid #f00;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    width: 98%;
    display: block;
    margin: 10px 0;
}

.logo-hold {
    text-align: center;
}


h1custom {
    font-size: 45px;
    line-height: 1.1em;
    color: #C8102E;
    font-weight: bold;
	font-family: 'Kanit', sans-serif;
}