/*imported aj or mp from old page*/
.tag-category .firstletter_nav a:focus {
    box-shadow: none;
    background-color: none;
    text-decoration: none;
}

main .tag-category .firstletter_nav a,
.tag-category .firstletter_nav nav > span {
        display: inline-block;
        padding: 3px 6px;
        font-size: 100%;
        color: #333;
        text-align: center;
        text-shadow: 0 1px 1px rgba(255,255,255,0.75);
        vertical-align: middle;
        background-color: #f5f5f5;
        background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
        background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
        background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
        background-image: -o-linear-gradient(top,#fff,#e6e6e6);
        background-image: linear-gradient(to bottom,#fff,#e6e6e6);
        background-repeat: repeat-x;
        border: 1px solid #ccc;
        border-color: #e6e6e6 #e6e6e6 #bfbfbf;
        border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
        border-bottom-color: #b3b3b3;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
        -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
        -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
        opacity:0.3;
        width: 30px;
        margin: 0 8px 8px 0;
        transition: all 150ms ease-in-out;
}
main .tag-category .firstletter_nav a,
main .tag-category .firstletter_nav a:hover {
    text-decoration: none;
    padding: 0.2em 0.4em;
    display: inline-block;
    opacity: 1;
    cursor: pointer;
}


main .tag-category .firstletter_nav a:hover {
    background-color: var(--sw-primary);
    border-color: var(--sw-primary);
    background-image: none;
    color: #FFF;
    text-shadow: none;
}

main .tag-category .firstletter_nav a.active span{
    color: white; 
}
main .tag-category .firstletter_nav a.active {
        background-color: #666666;
        border-color:#666666;
        background-image: none;
        color: #FFF;
        text-shadow: none;
}






/*styling adjustments*/
body.view-tag .filters .filter_title,
.company_filters.filters .filter_title{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin-top: 25px;
}
body.view-tag .filters #filter-search,
.company_filters.filters #filter-search,
.company_filters.filters select{
width: 48%;
height: 45px;
border-radius: 20px;
padding: 0 15px;
margin-right: 20px;
border: 2px solid #000;
}
body.view-tag .filters button,
body.view-tag .filters .a_z_search_reset{
background: var(--sw-primary);
border: 1px solid var(--sw-primary);
border-radius: 20px;
width: 24%;
}

.company-tags .firstletter_nav{
margin-top: 50px;
}
.company_filters.filters #filter-search,
.company_filters.filters select,
.company_filters.filters button{
width: 24%;
margin: 0;
}

main .tag-category .firstletter_nav div a{
width: 100px;
}
@media only screen and (max-width: 1023px){
body.view-tag .filters #filter-search{
    width: 100%;
    margin: 0;
}
body.view-tag .filters button,
body.view-tag .filters .a_z_search_reset{
    width: 48%;
    margin-top: 15px;
}

.company_filters.filters #filter-search,
.company_filters.filters select,
.company_filters.filters button{
    width: 48%;
}
.company_filters.filters button{
    margin-top: 15px;
}
}
@media only screen and (max-width: 599px){
body.view-tag .filters button,
body.view-tag .filters .a_z_search_reset{
    width: 100%;
}
.company_filters.filters #filter-search,
.company_filters.filters select,
.company_filters.filters button{
    width: 100%;
    margin-top: 15px;
}
}
body.view-tag .filters button:hover,
body.view-tag .filters .a_z_search_reset:hover,
body.view-tag .filters button:active,
body.view-tag .filters .a_z_search_reset:active{
background: var(--sw-primary);
border-color: var(--sw-primary);
opacity: 0.7;
}

body.view-tag .tag_items h3 a{
text-decoration: none;
}
body.view-tag .tag_items .cat-list-entry{
margin-top: 50px;
}
body.view-tag .tag_items .cat-list-entry p{
margin: 0;
}

