/*--------------------------------------------------------
	FONT ASSIGNMENTS
--------------------------------------------------------*/

:root {
    --header-height: 239px;
    --footer-height: 305px;
    --primary: #1F5466;
    --secondary: #BD5025;
    --accent: #8DD0BF;
}

body {
	font-family: 'PT Sans', sans-serif;
	font-size: 16px;
}

/* p {
}
.container{
} */

/*--------------------------------------------------------
	H1 - H6
--------------------------------------------------------*/
h1, h2, h3, h4 {
	margin: 0px;
	padding: 20px 0px;
	font-family: 'PT Sans', sans-serif;
	font-weight: bold;
}

h2 {
	font-size: 36px;
	color: var(--primary);
}

h3, h4, h5, h6 {
    color: var(--accent);
}

h5, 
h5 a {
    font-family: 'PT Sans', sans-serif;
    font-weight: bold;
    font-size: 18px;
    /* color: var(--secondary); */
    padding: 10px 0px;
}

h1.title{
	margin-top: 15px;
}

/*--------------------------------------------------------
	LINKS
--------------------------------------------------------*/
a {
	color: #337ab7;
	font-family: 'PT Sans', sans-serif;
}

a:hover, a:focus{
	color: #23527c;
}

.button-link {
    display: block;
    width: fit-content;
    margin: 1.25em 0;
    padding: 9px 35px;
    border-radius: 3px;
    border: none;
    background: var(--secondary);
    color: #fff;
    font-size: 18px;
    text-transform: capitalize;
    transition: .125s background-color ease-in-out, .125s color ease-in-out;
    text-decoration: none;
    white-space: nowrap;
}

.button-link:first-child {
    margin-top: 0;
}

.button-link:last-child {
    margin-bottom: 0;
}

.button-link:is(:hover, :focus) {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

/*--------------------------------------------------------
	IMAGES, Objects
--------------------------------------------------------*/

img {
	border: 0px;
}

input {
	font-family: 'PT Sans', sans-serif;
}

/* Lists */

.three-column-grid {
    display: grid;
    gap: 1rem 20px;
    grid-template-columns: repeat(auto-fill, minmax(min(275px, 100%), 1fr));
}

ul.three-column-grid {
    list-style: none;
    padding: 0;
    margin: 0;
}

.image-list ul {
    list-style: none; 
    padding-left: 0;
}

.image-list ul li {
    padding: 0 0 0 30px; 
    background-image: url('../images/list-image.png');
    background-repeat: no-repeat;
    background-position: left top; 
    background-size: 18px; 
}


//* Tables */

#subpage-main table {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-color: #d9d9d9;
}

@media (max-width: 990px) {
    #subpage-main table {
        max-width: 100%;
    }
}

@media (max-width: 550px) {
    #subpage-main table {
        font-size: 16px;
        line-height: 1.25em;
    }
}

#subpage-main *+table {
    margin-top: 2em;
}

#subpage-main table+* {
    margin-top: 3em;
}

#subpage-main table caption {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* #subpage-main table tr {
    border-left: .35em solid white;
    border-right: .35em solid white;
} */

#subpage-main table *+strong {
    margin-top: .75em;
}

#subpage-main table tbody>tr:nth-of-type(even) {
    background: #F6F6F6;
    /* border-left: .35em solid #F6F6F6;
    border-right: .35em solid #F6F6F6; */
}

#subpage-main table td {
    padding: 3px 10px;
    border-color: #d9d9d9;
}

#subpage-main table tr:is(:hover, :focus),
#subpage-main table tbody>tr:nth-of-type(even):is(:hover, :focus) {
    background-color: #ebebeb;
}

/*--------------------------------------------------------
						HEADER
--------------------------------------------------------*/

#main-header {
    padding: 25px 0px 30px;
}
#logo-wrap {
    margin-top: 10px;
}
#logo-wrap img, #logo-wrap .logo-text {
    display: inline-block;
    vertical-align: middle;
}
#logo-wrap img:hover, #logo-wrap .logo-text:hover, #logo-wrap a:hover {
    background: transparent;
	color: transparent;
	text-decoration: none !important;
}
.logo-text h1 {
    font-size: 23px;
    color: #000;
    font-weight: 300;
    border-top: 5px solid #0072BC;
    border-bottom: 5px solid #8DD8F8;
    padding: 8px 0px;
}
#top-right {
    text-align: right;
    padding-top: 25px;
}
.top-socialmedia-section svg {
    display: inline-block;
    margin-left: 8px;
    height: 40px;
    width: 40px;
    vertical-align: middle;
}
.top-socialmedia-section a, .top-socialmedia-section a:hover {
	background: transparent;
	color: transparent;
	text-decoration: none !important;
}
.top-socialmedia-section {
    display: inline-block;
}
#mobile-menu-col {
    display: inline-block;
}

@media (min-width: 1201px) {
    #mobile-menu-col {
        display: none !important;
    }
}

.top-right-button {
    margin-bottom: 35px;
}
.find-lawyer-button {
    display: inline-block;
    vertical-align: middle;
    /* margin-right: 10px; */
}
.find-lawyer-button a {
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    padding: 10px 13px;
    border-radius: 3px;
}
.find-lawyer-button a:hover {
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
}

.donate-button {
    display: inline-block;
    vertical-align: middle;
}
.donate-button a {
    background: var(--secondary);
    color: #fff;
    font-size: 16px;
    padding: 10px 21px;
    border-radius: 3px;
}
.donate-button a:hover {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

.join-button {
    display: inline-block;
    vertical-align: middle;
}
.join-button a {
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    padding: 10px 21px;
    border-radius: 3px;
}
.join-button a:hover {
    background: var(--secondary);
    color: #fff;
}


/*----------------------------------Search Bar*/

/*--------------------------------------------------------
					Desktop Navigation
--------------------------------------------------------*/


/*--------------------------------------------------------
	INDEX / MAIN BODY
--------------------------------------------------------*/

/* Main */

body>.container {
    min-height: calc(100vh - var(--header-height) - var(--footer-height))
}


/*----------------Slideshow----------*/

.slideshow-wrap .container {
    width: 100%;
}
.slideshow-wrap [class*="col-"] {
    padding: 0;
}
.slideshow-wrap img {
    width: 100%;
}

/*----------------Default Slideshow----------*/

.carousel-control {
    display: none;
}

.carousel-control.left, .carousel-control.right, .carousel-control:hover{
	background-image: none;
	/* font-size: ;
	font-weight: ; */
	z-index: 101;
}

/* .carousel-control{
	top: ;
	width: ;
} */

.carousel-caption { 
	position: absolute;
    z-index: 100;
    background: rgba(0, 0, 0, .6);
    padding: 15px 110px;
    left: auto;
    top: auto;
    right: 0px;
    bottom: 0px;
    width: 100%;
    text-align: left;
    text-shadow: none;
}

/* @media (min-width: 990px) and (max-width: 1199px) {
	.carousel-caption{
		
	}
}
@media (max-width: 990px){
	.carousel-caption{
		
	}
	#slide-row .col-md-12{
		
	}
} */

.caption-text {
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    padding-bottom: 0px;
    display: block;
    color: #fff;
}

.alt-text {
    font-size: 18px;
    color: #fff;
    margin-bottom: 40px;
}

.carousel-caption a {
    font-weight: normal;
    background-color: #D7161F;
    max-width: 215px;
    border-radius: 6px;
    padding: 13px 28px;
    font-family: 'PT Sans', sans-serif;
    text-align: center;
    margin: 0px auto;
    color: #fff;
    font-size: 18px;
}

.carousel-indicators {
    width: fit-content;
    bottom: 5px;
    margin-left: 0;
    z-index: 102;
    text-align: left;
    /* left: 37.5%; */
}

.carousel-indicators .active {
    width: 15px;
    height: 15px;
    margin: 0;
    background: var(--accent);
    border: 0px;
    margin-left: 8px;
}

.carousel-indicators li {
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 0px;
    margin: 0;
    margin-left: 8px;
}


/*----------------End Slideshow------*/

/*---------- news_feed_pages function ----*/
div#news-button-container {
	margin: 10px 0px 0px 0px;
	text-align: right;
}
div#news-button-verbiage {
	margin-right: 10px;
	display: inline-block;
	color: #5DB2D7;
}
div#news-button-container:active{	
	margin: 9px 0px 0px -1px; /* keeps buttons from jumping around when pressed*/
}
div.news-button {
	display: inline-block;
	padding: 5px 10px;
	background-color: #5DB2D7;
	color: black;
	border: 1px solid black;
	border-radius:5px;
	margin: 0px;
}
div.nb-number:hover {
	opacity:0.7; /*buttons move toward backgound color when hovered over*/
	cursor: pointer;
}
div.nb-number:active {
	/* make buttons look like they are being pressed when clicked*/
	opacity:0.6;
	border-width:2px 0px 0px 2px; 
}
div.nb-selected {	
	/* style the selected button */
	opacity:0.5;
}
div#nb-ellipsis-left, div#nb-ellipsis-right {
	background-color: transparent;
	color: #5DB2D7;
	border: 0px;
	margin: 0px;
	padding: 5px;
	font-weight: bold;
}
/*---------- END: news_feed_pages ----*/

/*--------------------------------------------------------------
				CSS STYLE FOR HOME PAGE CONTENT
--------------------------------------------------------------*/

.main-content {
    padding: 15px 0px;
}

/* Member Login */

.memberlogin-wrap {
    background: #EEEEEE;
    padding: 30px 20px;
    margin-top: 10px;
}
.memberlogin-wrap #login input,
.memberlogin-wrap .login-form input {
    width: 100% !important;
    height: 40px;
    border-radius: 0px;
    margin: 0px auto;
    margin-bottom: 20px;
    border: 1px solid #C4C4C4;
    padding: 10px;
    background: transparent;
}
.memberlogin-wrap #login a,
.memberlogin-wrap .login-form a {
    margin-bottom: 20px;
    display: block;
    color: #333333;
    text-decoration: underline;
    font-size: 16px;
}
.memberlogin-wrap #login a:hover,
.memberlogin-wrap .login-form a:hover {
    color: var(--primary);
    text-decoration: none;
}
.memberlogin-wrap #login input[type="submit"],
.memberlogin-wrap .login-form input[type="submit"] {
    background: var(--secondary);
    color: #fff;
    border: 1px solid var(--secondary) !important;
    border-radius: 3px !important;
    padding: 0px;
    width: 140px !important;
    margin-bottom: 3px;
}
.memberlogin-wrap #login input[type="submit"]:hover,
.memberlogin-wrap .login-form input[type="submit"]:hover {
    background: var(--primary);
    border: 1px solid var(--primary) !important;
}


/* Twitter */

.twiter-wrap {
	margin-top: 50px;
}
.twiter-wrap iframe#twitter-widget-0, .twitter-feed-section iframe, .twiter-wrap iframe#twitter-widget-1 {
    border: 1px solid #E2E9EC !important;
}
.timeline-Footer {
    display: none !important;
    border: none !important;
}


/* Upcoming Events */

.event-outside-wrap {
    margin-top: 10px;
}
.eventsfeed-wrap h2 {
    margin-bottom: 12px;
}
.event-content {
    padding-bottom: 20px;
}
.event-date-wrap {
    border: 1px solid var(--secondary);
    background: #fff;
    width: 50px;
}
.event-month {
    background: var(--secondary);
    text-align: center;
    color: #fff;
    font-size: 16px;
    padding: 0px 0px;
}
.event-date {
    background: #fff;
    text-align: center;
    color: var(--primary);
    font-size: 20px;
    font-weight: bold;
    padding: 3px 0px;
}
h3.event-title {
    padding: 0px;
}
a.ev-title-link {
    color: #333333;
    font-size: 20px;
    font-weight: bold;
    text-decoration: underline;
}
a.ev-title-link:hover {
    color: var(--primary);
    text-decoration: none;
}
p.event-blurb {
    padding-top: 10px;
}


/* Referral Service */

.content-button {
    margin-top: 30px;
}
.content-button a {
    background: var(--secondary);
    color: #fff;
    font-size: 18px;
    border-radius: 3px;
    padding: 9px 35px;
}
.content-button a:hover {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}



/* News */
#news-row:not(#mycanvas #news-row)>.column {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 4rem 30px;
}
.news-item {
    display: flex;
    flex-direction: column;
}
.news-item .news-img-wrap:empty {
    display: none;
}
.news-item .news-img-wrap img {
    min-height: 220px;
    height: 220px;
    max-width: 100%;
    width: 380px;
    object-fit: cover;
    object-position: center;
    background-position: center;
    background-size: cover;
}
.news-details-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    height: 100%;
}
.news-details-wrap a.news-title-link {
    font-size: 18px;
    text-decoration: underline;
    color: #333333;
}
.news-details-wrap time {
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
    margin-top: auto;
}
.news-details-wrap time i {
    color: #333333;
    font-size: 15px;
    font-weight: 400;
}




/*--------------------------------------------------------
	CSS STYLE FOR INNER PAGES
--------------------------------------------------------*/

/*--------------------------------------------------------------
                        Modal Log In
--------------------------------------------------------------*/
.modal{
    overflow-y: visible;
}
.modal-dialog{
    max-width: 250px;
    margin: 50px auto;
}
.modal-content {
    background: #EEEEEE;
}
.modal-header{
    text-align: center;
}
.modal-body {
    padding: 15px 23px;
}
#login input{
    width: 200px;
    height: 30px;
    border-radius: 5px;
    margin: 0px auto;
    margin-bottom: 10px;
    border: 1px solid #999;
    padding: 3px;
}
#login input[type="submit"] {
    background: var(--secondary);
    color: #fff;
    border: 1px solid var(--secondary) !important;
    border-radius: 3px !important;
    padding: 0px;
}
#login input[type="submit"]:hover {
    background: var(--primary);
    border: 1px solid var(--primary) !important;
    color: #fff;
}
#login a {
    margin-bottom: 10px;
    display: block;
    color: #333333;
    text-decoration: underline;
}
#login a:hover {
    color: var(--primary);
    text-decoration: none;
}
#login input:last-of-type{
    width: 100px;
    margin: none;
}
h6.modal-title {
    color: var(--primary);
    font-size: 24px;
    font-weight: bold;
}
#login input {
    width: 200px !important;
    height: 30px;
    border-radius: 5px;
    margin: 0px auto;
    margin-bottom: 10px;
    border: 1px solid #C4C4C4;
    padding: 5px;
}

/*--------------------------------------------------------
	FOOTER
--------------------------------------------------------*/

#footer-row {
    padding: 40px 0px 20px;
    border-top: 5px solid var(--primary);
    margin-top: 50px;
}
#footer-row p {
    color: var(--primary);
    font-size: 18px;
}
#footer-row a {
    color: var(--secondary);
    font-size: 18px;
    text-decoration: underline;
}
#footer-row a:hover {
    color: var(--primary);
    text-decoration: none;
}
.footer-con-left img {
    display: inline-block;
}
.tel-icon {
    color: var(--primary) !important;
}
.tel-icon:hover {
    color: var(--secondary) !important;
}


/*-----------------------------------Footer Menu*/

/*-------------------------------End-Footer Menu*/

/*--------------------------------------------------------
	UTILITIES
--------------------------------------------------------*/


/*----------- MEDIA QUERY --------------------*/

/* @media (min-width: 1000px) {
    .container {}
} */


@media (min-width: 990px) and (max-width: 1199px) {
    /* .container {} */

    .find-lawyer-button a, .donate-button a, .join-button a {
	    font-size: 14px;
	    padding: 10px 10px;
	}
	.carousel-caption {
		padding: 15px 45px;
    }
	.carousel-indicators {
	    left: 33.5%;
	}
	.event-content-container {
	    padding-left: 30px;
	}

}

/* @media (max-width: 991px) {
    .container {}

} */

@media (min-width: 768px) and (max-width: 990px) {
    /* .container {} */

    .carousel-caption {
		background: var(--primary);
        display: block;
        position: static;
        width: 100%;
        height: auto !important;
        padding-bottom: 60px !important;
        padding-left: 50px;
        padding-right: 50px;
    }
    .alt-text, p.alt-text {
	    width: 100%;
	    margin-bottom: 5px;
	}
	.carousel-indicators {
	    left: 35%;
	}
	.event-content-container {
	    padding-left: 25px;
	}
	#member-outside-wrap {
		display: none;
	}
	#footer-row p.text-right {
	    text-align: left;
	    margin-top: 20px;
	}
}


@media (max-width: 767px) {
    /* .container {} */

    #main-header {
	    padding-bottom: 5px;
	}
	#logo-wrap {
	    margin: 0 auto;
	    text-align: center;
	}
	.top-right-button {
	    margin-bottom: 0px;
	}
	.carousel-caption {
		background: var(--primary);
        display: block;
        position: static;
        width: 100%;
        height: auto !important;
        padding-bottom: 60px !important;
        padding-left: 20px;
        padding-right: 20px;
        min-height: 225px;
    }
    .caption-text {
	    font-size: 26px;
	}
    .alt-text, p.alt-text {
	    width: 100%;
	    font-size: 16px;
	    margin-bottom: 5px;
	}
	.carousel-indicators {
	    left: 32.5%;
	}

	#member-outside-wrap {
		display: none;
	}
    .event-date-container {
        float: left;
    }
	#footer-row p.text-right {
	    text-align: left;
	    margin-top: 20px;
	}

}


@media (max-width: 480px) {
    /* .container {} */

	#main-header {
	    padding-bottom: 5px;
	}
	#logo-wrap {
	    margin: 0 auto;
	    text-align: center;
	}
	.top-right-button {
	    margin-bottom: 0px;
	}
	.carousel-caption {
		background: var(--primary);
        display: block;
        position: static;
        width: 100%;
        height: auto !important;
        padding-bottom: 60px !important;
        padding-left: 20px;
        padding-right: 20px;
        min-height: 325px;
    }
    .caption-text {
	    font-size: 26px;
	}
    .alt-text, p.alt-text {
	    width: 100%;
	    font-size: 16px;
	    margin-bottom: 5px;
	}
	.carousel-indicators {
	    left: 34.5%;
	}
	#member-outside-wrap {
		display: none;
	}
	#footer-row p.text-right {
	    text-align: left;
	    margin-top: 20px;
	}
    .email-icon {
        display: block;
    }
}


/* Safari Browser */

@media only screen and (-webkit-min-device-pixel-ratio: 1) {
     ::i-block-chrome, .carousel-caption a {
        padding: 13px 27px;
    }
}
