@charset "utf-8";
/*** GLOBAL STYLES ***/
html{
	font-size:14px;
}
a{
	color:#5c5e55;
}
iframe{
	width: 50%;
	min-width:390px;
    aspect-ratio: 1.8;
}
/*** Headings ***/
h1, h2{
	font-family:"Baskerville", "Times New Roman", serif;
	color:#5c5e55;
}
h1{
	letter-spacing:1px;
	font-size:3.7rem;
}
h2{
	font-size:2.571rem;
	margin-top:15px;
}
h3{
	font-size: 1.5rem;
}
.national-chamber h3, .subnational-chamber h3{
	border-bottom:1px solid #5c5e55;
	padding-bottom:3px;
}
button:focus-visible {
    outline: none;
    box-shadow: 0 0 0.5px 1.5px;
    box-sizing: content-box;
}
/* Icons */
i{
	color:#5c5e55;
}
/* Logo */
#socatt-logo-home{
	width: 175px;
	margin: auto;
	display: block;
}
/* Carousel */
.carousel-item{
	aspect-ratio:1.5;
}
#oldCarouselSOCATT .carousel-item{
	aspect-ratio:initial;
}
#oldCarouselSOCATT .carousel-item img{
height:75vh;
width:100%;
}
.carousel-item img {
    height: 100%;
	width:100%;
    object-fit: cover;
	object-position: center;
}
#carousel-title{
    display: flex;
    background-color: #dee3cd;
    align-items: center;
	padding:1rem 0;
	min-height:515px;
	flex-wrap: wrap;
}
.carousel-indicators{
	position:relative;
	justify-content: flex-start;
	margin-left:0;
	margin-bottom:0.1rem;
	flex-wrap:wrap;
}
.carousel-indicators [data-bs-target]{
	height:24px;
	width:unset;
	aspect-ratio:1;
	border-radius:50%;
	background-color: #5c5e55;
}
/* Responsive carousel for portrait mode */
@media screen and (orientation:portrait), (max-width:992px){
	#carousel-title{
    height:100%
	}
	.carousel-item{
		aspect-ratio:unset;
	}
	.carousel-item img{
		height: unset;
    width: 100%
	}
}
/* Lists */
li {
    margin-bottom: 0.5rem;
}

ol ol {
    list-style: lower-alpha;
}

ol ol ol {
    list-style: lower-roman;
}
ol li::marker {
    font-family: "Garamond";
    font-size: 1.5rem;
    color: #5c5e55;
    font-weight: bold;
}
.socatt-box ul:last-child {
    margin-bottom: 0;
}

.socatt-box ul li:last-child {
    margin-bottom: 0;
}
.socatt-box dl{
	display:flex;
	flex-wrap:nowrap;
	justify-content: flex-start;
}
.socatt-box dl:last-child{
	margin-bottom:0;
}
.socatt-box dt::after{
	content:": ";
	margin-right:3px;
}
.socatt-box dd{
	margin-right:30px;
}
dd:last-child{
	margin-bottom:0;
}
/* Buttons */
.btn{
	padding:8px 15px;
	border-radius:0;
}
.btn-outline-primary{
	--bs-btn-color: #5c5e55;
    --bs-btn-border-color: #5c5e55;
    --bs-btn-hover-bg: #5c5e55;
    --bs-btn-hover-border-color: #5c5e55;
    --bs-btn-active-bg: #5c5e55;
    --bs-btn-active-border-color: #5c5e55;
    --bs-btn-disabled-color: #5c5e55;
    --bs-btn-disabled-border-color: #5c5e55;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #5c5e55;
    --bs-btn-border-color: #5c5e55;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #484A43;
    --bs-btn-hover-border-color: #484A43;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #5c5e55;
    --bs-btn-active-border-color: #5c5e55;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #75786C;
    --bs-btn-disabled-border-color: #75786C;
}
.btn-group{
	gap:10px;
}
/* Collapsible */
button.socatt-collapsing {
    border: none;
    background-color: transparent;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #5c5e55;
    padding: 0;
    margin-bottom: 0.5rem;
}
.socatt-collapsing h2 {
    margin-bottom: 0;
}
.socatt-collapsing h2::after, .socatt-collapsing h3::after{
	content: "";
    background-image: url(../../img/chevron-up-solid.svg);
    display: inline-block;
    vertical-align: middle;
    float: right;
    height: 35px;
    aspect-ratio: 0.87;
	transform: rotate(0deg);
	transition:transform 0.5s;
}
.socatt-collapsing.collapsed h2::after, .socatt-collapsing.collapsed h3::after{
	transform: rotate(180deg);
}

/* Containers */
.socatt-box{
	padding:11px;
	background-color:#f2f2f2;
}
/*** NAVIGATION ***/
.skip-content{
	position: absolute;
    z-index: 99;
    background-color: #dee3cd;
    color: #5c5e55;
    padding: 10px 15px;
    box-shadow: 1px 1px 7px;
}
header{
	margin-bottom:40px;
}
.navbar{
	background-color:#5c5e55;
}
.navbar > .container{
	position:relative;
	justify-content: flex-end;
}
.navbar-dark {
    --bs-navbar-color: rgb(255 255 255 / 75%);
    --bs-navbar-hover-color: rgb(255 255 255);
}
.navbar-brand{
	position:absolute;
	background: #ABBD71;
	color:#333;
    padding: 20px;
    left:0;
		top: -7px;
	z-index:98;
}
.navbar-brand img{
	height:35px;
}

/*** FOOTER ***/
footer{
	margin-top:50px;
}
.socatt-contact{
	background-color:#dee3cd;
	padding:20px;
}
.socatt-links {
    padding: 5px;
    background-color: #5c5e55;
}
.socatt-links ul {
    list-style: none;
    display: flex;
    padding: 0;
    gap: 20px;
    margin: 0;
    justify-content: center;
}

/*** BACK TO TOP ***/
#back-to-top{
    position: fixed;
    display: block;
	background-image: url("../../img/chevron-up-solid.svg");
	background-repeat: no-repeat;
    background-size: 60%;
    background-position: center;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    background-color: #ABBD71;
	padding:10px;
	height:40px;
	aspect-ratio:1;
	font-size:2rem;
}

/*** MEMBERS ***/

#socatt-by-country span.socatt-member-legislature{
	display:none;
}
#database{
	opacity:1;
	transition:opacity 1s;
}
a.socatt-member-email, a.socatt-legislature-email{
	display:inline-block;
	padding:3px 0;
}
/*** SEARCH AND FILTER ***/

.socatt-filter-by{
	gap:0;
	border: 1px solid #ccc;
	padding: 1rem;
	position: relative;
	border-radius:0;
}

.socatt-filter-by label {
  background-color: white;
  position: absolute;
  top: -0.8rem;
  padding: 0.1rem 0.5rem;
  display: block;
}

/* Mobile */
.socatt-menu-mobile{
	background-color: #dee3cd;
    color: #333;
	padding:20px;
	padding-top: 46px;
}
@media(max-width:768px){
	#carousel-title{
		padding:1rem;
	}
}

@media (max-width: 767.98px) {
	.open-data {
		text-align: left;
		justify-content: flex-start;
	}
}

@media (min-width: 992px) {
	.open-data {
		text-align: right;
		justify-content: flex-end;
	}
}

.open-data .btn-export-as {
	border: none;
	border-radius: 0.2rem;
	padding: 0.25rem 0.5rem;
	margin: -2px 2px 2px 2px;
	line-height: 1;
	text-decoration: none;
}

.open-data  i {
	color: #fff;
	font-size: 0.9rem;
	margin-bottom: 1px;
}
