@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,200;0,400;0,600;1,200;1,400&display=swap');

a:link, a:visited, a:active {
	color: #eee;
	text-decoration: none;
	font-weight: normal;
}

a:hover {
    color: #999999;
	text-decoration: none;
	font-weight: normal;
}

img {
	border: 0;
}

body {
	color: #eee;
	background: #222;
	font-family: 'Kanit', sans-serif;
	font-weight: normal;
	font-size: 0.875rem;
	line-height: 1rem;
	margin: 0;
}

main h1 {
	font-size: 1.875rem;
	line-height: 2rem;
}

main h2 {
	font-size: 1.5rem;
	line-height: 1.75rem;
    margin: 0;
}

main h1+h2 {
    line-height: 1.25rem;
}

main h3 {
	font-size: 1.25rem;
	line-height: 1.5rem;
}

main h4 {
	font-size: 1.12rem;
	line-height: 1.25rem;
}

main hr {
    color: #eee;
    margin: 1rem 0 0 0;
}

section .header-pg {
    position: sticky;
    top: 48px;
    background-color: #222;
    z-index: 999;
}

section .header-ind {
    position: sticky;
    top: 101px;
    background-color: #222;
    z-index: 998;
    padding: 0.5rem 0;
}

section .header-ind p {
    margin-bottom: 0;
}

section .blurb {
    position: sticky;
    top: 141px;
    background-color: #222;
}

section .blurb-cs {
    position: sticky;
    top: 133px;
    background-color: #222;
}

p.project_title {
	margin: 0 0 0.25rem;
	color: #eee;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1rem;
}

p.img_caption {
    font-size: 0.7rem;
    line-height: 0.875rem;
    text-align: right;
}

span.details {
    float: right;
}

a span.details:hover {
    color: #eee;
}

[aria-expanded="false"] > .expanded,
[aria-expanded="true"] > .collapsed {
    display: none;
}

.details_card {
    background-color: #555;
    color: #FFF;
    line-height: 1.5rem;
}

.arrow {
    border: solid #eee;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin: 0 0 0 5px;
}

.right {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.left {
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.up {
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.down {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#portfolio h3 {
    margin-bottom: 0;
}

#caseStudies p {
    line-height: 1.25rem;
}

#casePA, #caseForms, #caseAmara {
    scroll-margin-top: 48px;
}

#daliaAmara, #champaleGold, #moneyMachine {
    scroll-margin-top: 141px;
}

#about {
    margin-bottom: 50px;
}

#about .badge {
    margin: 2px;
}

#about p {
    line-height: 1.25rem;
}

/* ------------------------------------------------------------------------------------------------------------ */
/* SIDEBAR ---------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------ */

.sidebar {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
    background-color: #333;
	z-index: 100;
	padding: 48px 0 0;
	font-size: 1rem;
	line-height: 1.5rem;
}

.sidebar .nav-link {
	font-weight: 500;
	color: #eee;
}

.sidebar .nav-link.active {
	color: #eee;
    background-color: #222;
}

/* ------------------------------------------------------------------------------------------------------------ */
/* NAVBAR ----------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------ */

.navbar {
	background-color: #333;
}

.nav > li > a:hover {
	color: #eee;
    background-color: #444;
}

.navbar-brand {
	font-size: 1rem;
}

.navbar .navbar-toggler {
	right: 1rem;
}

#navbarPortfolio .nav-item {
    background-color: #222;
}

#navbarPortfolio .nav-item > a:hover {
	color: #eee;
    background-color: #444;
}

#navbarPortfolio .nav-link.active {
	color: #eee;
    background-color: #333;
}

/* ------------------------------------------------------------------------------------------------------------ */
/* CARD ------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------ */

.card > p:last-child {
  margin-bottom: 0;
}

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

footer {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 999;
	width: 100%;
	background-color: #222;
}

footer p {
	font-size: 10px;
	margin: 0;
	text-align: right;
}

/* ------------------------------------------------------------------------------------------------------------ */
/* MODAL ------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */

.modal-dialog {
	margin: .5rem auto;
}

.modal-content {
	background-color: transparent;
	border: none;
}

.carousel-control-next,
.carousel-control-prev {
	align-items: flex-start;
	padding-top: 1rem;
}

/* ------------------------------------------------------------------------------------------------------------ */
/* MEDIA QUERIES ---------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------ */

/* XS (less than 576px) --------------------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
    img.profile {
        max-height: 400px;
    }

    p.img_caption {
        text-align: center;
    }
}

/* SM (576px to 767px) ---------------------------------------------------------------------------------------- */
@media (min-width: 576px) and (max-width: 767.98px) {
    img.profile {
        max-height: 400px;
    }
}

/* MD (768px to 991px) ---------------------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 991.98px) {
    #about {
        margin-bottom: 150px;
    }
	/* MODAL --------------------- */
	.carousel-control-next {
		right: -75px;
		opacity: 65%;
	}
	.carousel-control-prev {
		left: -75px;
		opacity: 65%;
	}
}

/* LG (992px to 1199px) --------------------------------------------------------------------------------------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
    #about {
        margin-bottom: 150px;
    }
	/* MODAL --------------------- */
	.carousel-control-next {
		right: -75px;
		opacity: 65%;
	}
	.carousel-control-prev {
		left: -75px;
		opacity: 65%;
	}
}

/* XL (1200px to 1399px) -------------------------------------------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    #about {
        margin-bottom: 100px;
    }
	/* MODAL --------------------- */
	.carousel-control-next {
		right: -75px;
		opacity: 65%;
	}
	.carousel-control-prev {
		left: -75px;
		opacity: 65%;
	}
}

/* XXL (1400px and up) ---------------------------------------------------------------------------------------- */
@media (min-width: 1400px) {
    #about {
        margin-bottom: 75px;
    }
	/* MODAL --------------------- */
	.carousel-control-next {
		right: -75px;
		opacity: 65%;
	}
	.carousel-control-prev {
		left: -75px;
		opacity: 65%;
	}
}