/* 
Theme Name: ncgalibrarytheme
Theme URI: https://sites.ncleg.gov/wp-content/themes/ncgalibrarytheme/style.css
Author: vdaraio
Author URI: https://sites.ncleg.gov/
Description: 
Text Domain: ncgatheme library

*/

/* 
**Start styles for text image wrapping**
https://wordpress.stackexchange.com/questions/294562/text-not-wrapping-properly-around-image-in-wordpress-visual-editor */

/* #menu-menu-menu .menu-item-has-children a:hover {
    display: block;
} */

img.alignright { 
    float: right; margin: 0 0 1em 1em; 
}

img.alignleft { 
    float: left; margin: 0 1em 1em 0;
}

img.aligncenter { 
    display: block; margin-left: auto; margin-right: auto;
}

.alignright { float: right; 
}

.alignleft { 
    float: left; 
}

.aligncenter { 
    display: block; margin-left: auto; margin-right: auto; 
}
/* **End styles for text image wrapping** */

body,html {
    height: 100%;
}

footer {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.btn{
    text-align: left !important;
}
/* */ 
/* */ 
@media (min-width: 992px) {
    body {
        padding-top: 133px
    }
}

ul {
    list-style: none !important;
}

li {
    text-align: left;
    list-style-type: none !important;
}

.nav ul li {
    list-style-type: none !important;
    display: inline-block !important;
}

ul, menu, dir {
    list-style-type: disc;
    /* padding-inline-start: 0px !important; */
}

figure {
    margin: 0 !important;
}

/* SEARCH FORM STYLES*/
.wp-search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none; 
}

.ncga-search-button-wp {
    color: #fff !important;
    background-color: #148c9f !important;
    border-color: #45d0e6;
}

.ncga-theme-card-form-wp {
    background-color: #dee6ed;
    padding: 10px 10px 10px 10px;
    border-radius: .25rem;
    min-width: 100px;
}

.searchform label{
    display: none;
}

.search-border{
    border-bottom: 4px solid #17a2b8;
    width: 40%;
    margin-bottom: 0px !important;
    }

#PageTitle{
    width: 100%;
}

p {
    padding-top:10px;
}
/* */
.list-group-item.active {
background-color: #148c9f !important;
width: 100%;
}

.child-pages .list-group-item:first-child {
    border-top: 4px solid #148c9f !important;
}

.active-sub-menu {
    color: #0056b3 !important;
}

#menu-menu .sub-menu li a:before{
    content: '\f041';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    margin:0px 0px 0px 0px;
    padding-right: 10px;
    text-decoration:none;
    color: transparent;
}

.active-sub-menu:before{
    content: '\f041';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    margin:0px 0px 0px 0px;
    padding-right: 10px;
    text-decoration:none;
    color: #148c9f !important;
}

#archives-5 ul.list-group li.list-group-item {
    width: 25%;
    }

ul.child-pages li.list-group-item {
        width: 50%;
        }

.sidebarContainer .sub-menu li {
    text-indent: 10px;
}

.small-border{
    border-width: 25px;
    height: 0.125rem;
    width: 12rem;
    border-bottom: 4px solid #17a2b8;
    border-radius: 5px;
}

.list-group-item:not(.active):hover,
.list-group-item:not(.active):focus {
    background-color: #B22222 !important;
} 

.ncga-nested-nav.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #B22222 !important;
}

/* *//* *//* *//* *//* *//* *//* */

/*************** NAVBAR- ***************/
.divisions-small-nav {
    top: 50px;
    background-color: #ffffff;
    margin-left: -20px !important;
    margin-right: -15px !important;
    margin-top: -10px;
    border-top: 1px solid #8e0318;
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
    border-bottom: 3px solid #bcccdc;
    }

#menu-menu-menu li a{
    text-transform: none !important;
}

.dropdown-menu li:hover {
    width: 100% !important;
}
/* hover over child nav-items */
.dropdown-menu li a:hover {
    background-color:rgb(250, 27, 27) !important;
}

/* #menu-menu .list-group-item:hover{
    background-color: #000000;
} */

.nav-fill .nav-link {
    border-radius: 0;
    color: white;
}

.nav-fill .nav-link.active {
    background-color: #000000;
    color:#B22222 !important;
}

.nav-item:hover {
    text-decoration: none;
}
/* hover over parent nav-items */
#menu-menu-menu .nav-item:hover {
    text-decoration: none;
    background-color: #B22222;
}

a:link, a:visited, a:hover, a:active {
    text-decoration: none !important;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .divisions-small-nav {
        margin-left: 0;
        margin-right: 0;
    }
}

.site-name {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    border-bottom: 3px solid #17a2b8 !important;
    pointer-events:none; 
}  

.site-name:hover {
    background-color: white; 
}

.breadcrumb_last{
    color: #6c757d;
}

.post-date{
    font-size: small;
    padding-left: 0;
    padding-right: 0;
    color: #6c757d;
    background-color: #eef2f6;
    margin-bottom: 0;  
}

@media screen and (min-width: 768px){
    .dropdown:hover .dropdown-menu, .menu-item-has-children:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        margin-top: 0;
    }

    .dropdown-toggle {
        margin-bottom: 2px;
    }

.navbar {
    padding: .5rem 1rem !important; {
    }

    .divisions-small-nav {
        padding: 0;
    }
}

    .navbar .dropdown-toggle, .nav-tabs .dropdown-toggle {
        margin-bottom: 0;
    }

    table, tr, td {
        border: 1px solid black !important;
        padding: .5rem;
    }





