/*
 * Theme Name: Liberty Fund Theme
 * Description: Custom theme built for Liberty Fund by Element Three
 * Author: Element Three
 * Version: 1.2.0
*/


/*.nav-eyebrow-right a.menu-item{
	padding:0.5rem;
}*/

.bg-theme-blue .container {
    justify-content: end;
}

.nav-eyebrow-right li.nav-item {
    border-right: 2px solid gray;
}

.nav-eyebrow-right li.nav-item:hover {
    /*font-weight:300 !important;*/
}

.nav-eyebrow-right>a.menu-item {
    padding: 7px 10px;
}

.nav-eyebrow-right a.menu-item,
.nav-eyebrow-right a.menu-item:hover {
    color: #fff !important;
    opacity: 1 !important;
}

.nav-eyebrow-right a.nav-link,
.nav-eyebrow-right a.nav-link:hover {
    color: #fff !important;
}

.nav-eyebrow-right ul.sub-nav li.flex {
    padding: 5px 7px !important;
    line-height: 1.2rem !important;
}

.nav-eyebrow-right a.lfs-label-menu,
.nav-eyebrow-right li:hover a.lfs-label-menu {
    color: #a1bdb7 !important;
}

.nav-eyebrow-right li:hover .sub-nav a {
    text-shadow: none;
    padding: 3px 8px !important;
}

.sub-nav li a:hover {
    text-shadow: 1px 1px 1px #fff !important;
}

.san-mob-nav .sub-nav a.nav-link {
    color: rgba(255, 255, 255, 1) !important;
}

nav .nav-item:hover .menu-item,
.sub-nav li a:hover,
nav .nav-item:hover .sub-nav li:hover a.nav-link {
    text-shadow: none !important;
    color: #000;
}

.nav-lfn {
    font-weight: 600;
    /*margin-right:20px;*/
}

.mob-lfn-ul {
    display: none;
}

/*nav.nav-eyebrow-right li.nav-item a:hover{
	font-weight:500 !important;
}*/

@media (min-width: 1024px) {
    #main-menu {
        justify-content: left;
    }
}

@media (min-width: 1280px) {
    #main-menu a.menu-item {
        padding: 2rem;
    }
}


/*@media (min-width: 1025px) {*/

.nav-lfn:after {
    font-family: "Font Awesome 5 Pro";
    margin-left: 10px;
    content: " \f0d7";
}


/* } */


/*.lfn-liberty-of-law{
	border-bottom:1px solid #fff;
	padding-bottom:20px !important;
}*/

a.lfs-label-menu,
.san-mob-nav .sub-nav a.lfs-label-menu {
    color: #a1bdb7 !important;
    cursor: default !important;
}

#top-menu-wrap {
    padding: 5px 0;
}

#secondary-top-menu>li a {
    padding: 3px 12px;
}

#main-menu.active {
    display: flex;
    flex-direction: column-reverse;
}

#wpadminbar #wp-admin-bar-wp-mail-smtp-menu,
#wpadminbar #wp-admin-bar-gform-forms {
    display: none !important;
}

#5f3de4a2aece9 div.flex-col {
    background: #fff !important;
    padding: 40px !important;
}

#5f3de4a2aece9 h2.text-white {
    color: #00396e !important;
}

#5f3de4a2aece9 p {
    color: #000 !important;
}


/* BOOK BUNDLES */

body.term-book-bundles .product-info div:nth-child(1),
body.term-book-bundles .product-info p:nth-child(3) {
    display: none;
}

.book-bundle-info h3 {
    font-size: 22px;
}

.product_cat-book-bundles div.flex.flex-wrap.items-start .fa-book,
.product_cat-book-bundles div.flex.flex-wrap.items-start .text-sm {
	display: none;
}

.product_cat-book-bundles button.single_add_to_cart_button{
	margin-left: 20px !important;
}

@media (min-width: 768px) {
    .home .module-hero div.flex-col {
        padding: 40px !important;
        max-width: 55% !important;
    }
    .home .module-hero h2.text-white {
        font-size: 2rem !important;
    }
    .home-stories-carousel {
        padding: 3em 0 2em 0;
    }
    .home-stories-carousel ul {
        display: flex !important;
    }
    .home-stories-carousel .rss-link {
        display: block !important;
    }
    .home-stories-carousel .grid {
        display: grid !important;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    /*.home_books_sec .container .card {
        width: 50% !important;
        float: left;
    }
    .home_books_sec {
        overflow: auto;
    }*/
    .home-stories-carousel h2 {
        font-size: 1.2rem !important;
    }
}

@media (min-width: 1024px) {
    /*.home_books_sec .container .card:nth-child(1),
    .home_books_sec .container .card:nth-child(3) {
        width: 20% !important;
    }
    .home_books_sec .container .card:nth-child(2),
    .home_books_sec .container .card:nth-child(4) {
        width: 30% !important;
    }*/

    .home_books_sec .hbs-flex{
        display: flex !important;
        width: 50% !important;
    }
    .home_books_sec .hbs-flex:nth-child(1) .card{
        display: flex;
        margin-bottom:0;
        padding-bottom:0;
        width:50% !important;
    }
    .home_books_sec .hbs-flex:nth-child(2){
        display:block !important;	
    }
    .home_books_sec .hbs-flex:nth-child(2) .card{
        height: 265px;
        float:left !important;
        width:50% !important;
        margin-bottom:0;
    }
    .home_books_sec .hbs-flex:nth-child(2) .card:nth-child(5){
        clear:left;
    }
}

@media (min-width: 1081px) {
    .tns-controls button[data-controls="prev"] {
        left: -30px !important;
    }
    .tns-controls button[data-controls="next"] {
        right: -25px !important;
    }
}

#tbl-policy td{
	padding:5px;
}

.combo-button{
	display:inline-block;
}


.carousel-bottom{
	padding:30px;
	background:url('https://www.libertyfund.org/wp-content/uploads/2023/02/LF_Amagi_white-sm-d.png');
}
.carousel-bottom .cbc{
	flex-grow:1;
}
.carousel-bottom .cbc a{
	font-size:18px;
	font-weight:600;
	color:#fff;
}
.carousel-bottom .link-visit-econlib{
	text-align:right;
}

.gform_heading .gform_required_legend{
	display:none;
}