/**
* Theme Name: AWSM Child
* Description: This is a child theme of AWSM, generated by Merlin WP.
* Author: <a href="https://mekshq.com/">meks</a>
* Template: awsm-wp
* Version: 1.8.12
*/


/* Additional Base Styles */
figure {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 25px;
}


/* Styles for the custom header */

.hero {
    width: calc(100% + 40px);
	height: 100vh;
    clear: both;
    float: left;
    position: relative;
	background-color: #000;
}

.hero .background {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero .background .leftpart {
    width: 33%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0
}

.hero .background .rightpart {
    width: 100%;
    height: 100%;
    float: left;
    padding-left: 40%;
	padding-right: 10%;
}

.hero .background .rightpart .inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden
}

.hero .background .rightpart .image {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
	background-image: url('/wp-content/uploads/2022/04/andy-ngo-color-corrected-v2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
	background-color: #000;
    background-position: center
}

.hero .content .container {
    height: 100%
}

.hero .content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 4
}

.hero .content_inner {
    position: absolute;
    top: 30%;
	left: 15%;
}

.hero .content_inner h1 {
    font-family: 'Montserrat', sans-serif;
    color: #FFF;
    font-size: 9vw;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    line-height: 1.1
}

.hero .content_inner span {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 1.25vw;
	color: #BBB;
	display: inline-block;
	padding-top: 1.25vw;
}

.customSelect {
	background-color: white;
	padding: 6px 10px 6px 30px;
	border: none;
	border-bottom: 1px solid #DDD;
	background: url(assets/images/icon-menu.png) no-repeat 10px center;
}

@media(max-width: 1024px) {
	.hero .background .rightpart {
		padding-right: 0;
	}
	.hero .content_inner {
		left: 10%;
	}
}

@media(max-width: 767px) {
	.hero .background .rightpart {
		padding-left: 0;
	}
 	.hero .content_inner span {
		font-size: 3.25vw;
		color: #FFF;
		line-height: 1.2em;
	}
	.hero .content_inner {
		top: unset;
		bottom: 3%;
		left: 15%;
	}
	
}

@media(max-width: 480px) {
	.hero {
		height: 95vh;
	}
 	.hero .content_inner span {
		display: block;
		font-size: 4.25vw;
		text-shadow: 1px 1px 2px rgba(150, 150, 150, 1);
	}
}
/* END Styles for the custom header */

/* General typography and styling */
.home .post-content h3 {
	color: #999 !important;
	text-align: center;
	line-height: 1.6em;
	padding-left: 10px;
	padding-right: 10px;
}


/* overrides for the theme styles powering the contact form */
.services_box > div {
	width: 100%;
	border-radius: 5px;
}
.services_box img {
	margin-bottom: 0 !important;
}
#aws_contact_form input[type="submit"] {
	float: left !important;
}
#mc_embed_signup .names-container {
	display: flex;
	margin-bottom: 10px;
}
#mc_embed_signup .names-container .mc-field-group {
	margin-right: 3%;
}
#mc_embed_signup .button,
#mc_embed_signup .button:hover {
	background-color: #34799e !important;
}

/* Add style to center the contact form */
@media (min-width: 900px){
	#contact .centered {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
}

/* ovverrides for the services boxes, e.g. the "Contribute" section */
.services_box a:focus {
	color:#FFF;
}

/* hide the category, comments, and "read more" from the articles timeline */
.timeline_blog .data_meta_hold .category_list,
.timeline_blog .data_meta_hold .timeline_comments {
	display: none;
}

/* make the article titles font color be black */
h3.entry-title a {
	color: #444;
}

/* adjust the spacing above the source of the article or video (the "subtitle") */
.timeline_unit .subtitle_with_image {
    margin: 5px 0 5px !important;
}

/* Add the CSS to power the "more" link for the videos section on the homepage */
#aws_timeline_videos_more a {
	background-image: url('assets/images/more_arrow.png');
	background-repeat: no-repeat;
	background-position: center 25px;
	padding: 10px 0 0 0;
	height: 60px;
	width: 100%;
	float: left;
	margin: -20px 0 0 0;
	color: #000;
	-webkit-transition: all 600ms cubic-bezier(0.39, 0.575, 0.565, 1);
	transition: all 600ms cubic-bezier(0.39, 0.575, 0.565, 1);
	font-size: 12px;
	letter-spacing: 1px;
}
#aws_timeline_videos_more a:hover{
	padding: 20px 0 0 0;
	color: #fff;
	text-decoration: none;
	background-position: center 35px;
}
#aws_timeline_videos_more a.more_spin{
	background: url('assets/images/loader.gif') no-repeat center center;
	text-indent: -9999px;
	display: block;
	height: 56px;
}

/* Adjust the "About" section on the homepage */
#about-andy-ngo .post-content p {
	font-size: 26px;
	font-family: 'Merriweather', Georgia, serif;
	color: #999;
	text-align: center;
	line-height: 1.6em;
	padding-left: 10px;
	padding-right: 10px;
}

/* Adjust the "Lawsuit" section on the homepage */
#lawsuit .post-content p {
	max-width: 800px;
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
	font-family: 'Merriweather', Georgia, serif;
	font-size: 20px;
	color: #444;
}


/* allow for both a mobile and desktop image on the about section */
.mobile-only {
	display: block;
}
.desktop-only {
	display: none;
}
@media (min-width: 1024px) {
	.desktop-only {
		display: block;
	}
	.mobile-only {
		display: none;
	}
}

/* hide the caption */
.promo-image figcaption {
	display: none !important;
}

/* Add width to book buttons */
@media (max-width: 660px){
	.wp-block-buttons .buttons-container {
		justify-content: center;
	}
}
.wp-block-button.book-button {
    width: 100%;
}
@media (min-width: 660px){
	.wp-block-button.book-button {
		max-width: 200px;
	}
}
.wp-block-button.book-button a {
    width: 100%;
}

/* Edit font in the donate section */
.donation-text h3 {
	text-align: left !important;
    font-size: 22px !important;
}

/* Edit styles for Social Media list */
.social-list .services_box > div {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
	transition: all 0.25s linear;
}
.social-list .services_box img {
    width: 65px;
}
.social-list .services_box h3 {
    margin-bottom: 0;
}
.social-list .services_box > div:hover {
    box-shadow: inset 0 0 0px 0.3em rgb(255 255 255 / 50%);
	background: #e2e2e2;
}

/* In order to center the items when using the Gutenberg flex row layout, put the width and margin back on the items */
.row .donate-grid .threecol {
    width: 22.05%;
    margin-right: 3.8%;
}
.row .donate-grid .threecol.last {
    margin-right: 0;
}
@media screen and (max-width: 897px){
	#donate .donate-grid {
		flex-wrap: wrap;
	}
}
/* Set mobile and tablet columns for Donate grid and Social Media list */
@media screen and (max-width: 897px){
	.row .donate-grid .threecol,
	.row .social-list .threecol {
		width: 50%;
		margin-bottom: 0;
		margin-right: 0;
		clear: none;
		float: left;
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media screen and (max-width: 600px){
	.row .donate-grid .threecol,
	.row .social-list .threecol {
		width: 100%;
		clear: both;
		float: none;
	}
}

/* Increase width for Donate grid buttons for mobile screens */
@media screen and (max-width: 897px){
	.donate-grid .services_box .button {
		width: 80%;
	}
}

/* Remove spacer height for grouped service blocks on mobile screens */
@media (max-width: 900px) {
	.group-spacer {
		height: 0 !important;
	}
}
