﻿
/*Navbar*/

.wf-active #name h1,
.wf-active #pageHead h4,
.wf-active #dbName {
    font-style: normal;
    font-weight: normal;
    font-family: 'Nixie One', sans-serif;
    text-rendering: auto;
}

.wf-inactive #name h1,
.wf-inactive #pageHead h4,
.wf-inactive #dbName {
    font-style: normal;
    font-weight: normal;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
}

#name h1 {
    margin-top: 5px;
    margin-bottom: 5px;
    
    font-size: 16pt;
    display: inline-block;
}

#name h4 {
    font-size: 12pt;
    display: inline-block;
}

#linkRow {
    padding-bottom: 5px;
    font-size: 11px;
}

#linkRow a {
    padding-right: 25px;
}

#symbolForm {
    margin-top: 30px;
    margin-bottom: 5px;
}

#symbolTextboxGroup {
    display: inline-block;
    padding-left: 0px;
    padding-right: 0px;
} 

.form-inline label {
    display: block;
}

#main {
    padding-top: 15px;
}

.matchText a { 
    color: #3F4E60;
   }

.tabDate { font-size: 8px; }

/* Match Box styles */
.match-boxes-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 15px;
}

.matchBox {
    display: block;
    padding: 8px 16px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background-color: transparent;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.matchBox:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    transform: translateX(2px);
}

.matchBox.active {
    background-color: #fff;
    border: 3px solid #495057;
    color: #495057;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for match boxes */
@media (max-width: 767.98px) {
    .match-boxes-container {
        padding-left: 0;
        margin-top: 20px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .matchBox {
        flex: 0 0 calc(50% - 4px);
        padding: 6px 12px;
        font-size: 0.875rem;
    }
}

/* Tab styles */
.matchTab {
    display: inline-block;
}

/* Tab styles - Override Bootstrap */
.matchTab a {
    display: block !important;
    padding: 8px 12px !important;
    text-decoration: none !important;
    border: 2px solid #dee2e6 !important;
    border-bottom: none !important;
    border-radius: 4px 4px 0 0 !important;
    background-color: #f8f9fa !important;
    color: #495057 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.matchTab a.active {
    background-color: #fff !important;
    border: 3px solid #495057 !important;
    border-bottom: none !important;
    color: #495057 !important;
    font-weight: bold !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

.matchTab a:hover {
    background-color: #e9ecef !important;
    border-color: #adb5bd !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12) !important;
}

#symbolTabs {
    border-bottom: 2px solid #dee2e6 !important;
    margin-bottom: 0;
}

/* Additional Bootstrap override selectors */
#symbolTabs .matchTab a {
    border: 2px solid #dee2e6 !important;
    border-bottom: none !important;
    background-color: #f8f9fa !important;
    color: #495057 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

#symbolTabs .matchTab.active a,
#symbolTabs .matchTab a.active {
    border: 3px solid #495057 !important;
    border-bottom: none !important;
    background-color: #fff !important;
    color: #495057 !important;
    font-weight: bold !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

#symbolTabs .matchTab a:hover {
    border-color: #adb5bd !important;
    background-color: #e9ecef !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12) !important;
}

#symbolTabs li {
    margin-bottom: -1px;
}

.border {
    border-right-style: solid;
    border-right-width: 1px;
    border-left-style: solid;
    border-left-width: 1px;
    border-color: #eeeeee;
    border-top-style: solid;
    border-top-width: 1px;
}

.tabs-right > .nav-tabs .inactive > a {
    border-color: #ddd #ddd #ddd #ddd;
    background-color: #fdfdfd;
}

#chartHeader h1 {
    line-height: 30px;
    text-align: center;
}

#description h2 {
    font-size: 1.5em;
    line-height: 1.5em;    
}

#symbol h1 {
    text-align: left;
    color: #3F4E60;
}

#symbol h1 small { color: #8695A9; }

#baseTab {
    color: #3E6697;
    font-weight: bold;
    padding-top: 6px;
    padding-bottom: 4px;
    padding-left: 0px;
    padding-right: 0px;
    min-width: 161px;
    
}
#baseTabSymbol {
    font-size: 15pt;
}

#baseTabArrow {
    padding-left: 2px;
}
#stockDescription {
    color: #3F4E60;
}

#formPanel {
    border-color: transparent
}


#pageHead {
    margin: 15px 0 0;
    border-top: 1px solid #3F4E60;
    border-bottom: 1px solid #131820;
    color: white;
    background-color: #4F6279;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#8695A9), color-stop(70%, #4F6279), to(#4F6279));
    background-image: -webkit-linear-gradient(#8695A9, #4F6279 70%, #4F6279);
    background-image: -moz-linear-gradient(top, #8695A9, #4F6279 70%, #4F6279);
    background-image: -o-linear-gradient(#8695A9, #4F6279 70%, #4F6279);
    background-image: linear-gradient(#8695A9, #4F6279 70%, #4F6279);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8695A9', endColorstr='#4F6279', GradientType=0);
}

#pageHead a {
    color: white;
}

#submitsymbolbutton { min-width: 85px; }

#footer {
    min-height: 30px;
    padding-bottom: 8px;
    padding-top: 10px;
    margin: 20px 0 0;
    border-bottom: 1px solid #3F4E60;
    border-top: 1px solid #131820;
    color: white;
    background-color: #4F6279;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4F6279), color-stop(70%, #8695A9), to(#8695A9));
    background-image: -webkit-linear-gradient(#4F6279, #8695A9 70%, #8695A9);
    background-image: -moz-linear-gradient(top, #4F6279, #8695A9 70%, #8695A9);
    background-image: -o-linear-gradient(#4F6279, #8695A9 70%, #8695A9);
    background-image: linear-gradient(#4F6279, #8695A9 70%, #8695A9);
    background-repeat: no-repeat;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4F6279', endColorstr ='#8695A9', GradientType =0);    
}



/*****************
* Utility Classes *    
******************/

.no-top-margin {
    margin-top: 0px;
}
.no-bottom-margin {
    margin-bottom: 0px;
}

/************************
*   Full Width Styles   *
*************************/

@media only screen and (min-width: 992px) {
    #inputs {
        margin-bottom: 15px;
    }

        #symbolTabs a {
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    #monthButtonGroup {
        float: right !important;
    }
}

/********************
*   767 - 991
*********************/
@media only screen and (max-width: 991px) {
        #inputs {
        margin-bottom: 15px;
    }
        #symboltextbox{ width: 120px;}
        #submitsymbolbutton { min-width: 0px; }

    /*switch to small label*/
/*    #symbolTabLabel {
        display: block;
    }*/

/*
    #baseTabLi {
        display: none;
    }
*/

    #symbolTabs a {
        text-align: center;
        padding-left: 6px;
        padding-right: 6px;
    }

    #monthsMatched a {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/********************
*   500 - 767
*********************/
@media only screen and (max-width: 767px) {
        #pageHead {
        margin-top: 0px;
    }

    #main {
        padding-top: 0px;
    }
    .panel-body {
        padding: 0px;
    }


    .symbolGroup input{
    display: inline-block;
    width: auto;
    }

    #monthButtonGroup{
        margin-top: 10px;
    }

    #symboltextbox {
        width: 60%;
        float: left;
        margin-right: 10px;
    }
    #submitsymbolbutton {
        float: left;
    }

    #baseTabSymbol {
        font-size: 14px;
    }

    #symbolTabs a {
        text-align: center;
        padding: 8px;
    }
}

/********************
*   Small Mobile Portrait Styles   *
*********************/
@media only screen and (max-width: 500px) {
    /*switch to small label*/

            #symbolTabs a {
    text-align: center;
    padding: 5px 8px 5px 8px;
}


}