/*
 Theme Name:   CrowdPress Child
 Theme URI:    http://theme-stall.com/crowdpress
 Description:  Crowdfunding Responsive WordPress Child Theme
 Author:       themestall
 Author URI:   https://themeforest.net/user/themestall
 Template:     crowdpress
 Version:      1.0.0
 License:      GNU General Public License version 3.0
 License URI:  http://www.gnu.org/licenses/gpl-3.0.html
 Tags:         custom-background, threaded-comments, custom-menu, featured-images, full-width-template, theme-options, translation-ready
 Text Domain:  crowdpress-child
*/

@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@400;600;700&display=swap');

body:not(.role-administrator) .hidden-not-admin,
body.give-test-mode:not(.role-administrator) :is(#user-menu, #donate-button),
body.give-test-mode:not(.role-administrator) #donate-form,
body.give-test-mode:not(.role-administrator, .home) #make-a-donate,
.page-template-home-page .hero [id*=give-form] .give-form-title,
.page-template-home-page .milestones .services-content.style4 .default-icon,
.page-template-home-page .milestones .services-content.style4 .hover-icon,
.bg-banner:before, .counter-align-left .elementor-counter-number-prefix,
.article-grid .posts-content .blog-meta a:first-child, .login #nav
{
	display: none;
}

dd {
	margin-bottom: 0px;
}
table td,
table th {
	border: none;
}
table th {
	font-weight: 700;
}
/* input[type="email"] {
	text-transform: lowercase;
} */

/* Custom fonts */

.font-sarabun, .tagline-message h1, [id*=give-form] .give-form-title, h4.blog-des-title, .blog-grid .blog-desc h4,
.nav-steps .nav-title {
	font-family: 'Sarabun', sans-serif;
	line-height: 1.5em;
	letter-spacing: 0;
}

/* 
 * Changing theme color
 * 
 * CIF Pink 	#E2398F
 * CIF Navy 	#024B6C
 * Text 		#5E848C
*/
.text-color-cif-pink, .text-secondary,
.light-header.transparent-header .navbar-nav > .menu-item.current-menu-item > a, 
.light-header.transparent-header .navbar-nav > .menu-item:hover > a,
.footer-menu li a:hover, .footer-menu li a:focus,
.single .blog-meta a:hover, .single .blog-meta a:focus,
.form-check-input:checked:before, .btn-outline-primary, .btn-outline-primary:hover,
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link,
.nav-steps .nav-link.active .nav-title,
.tax-methods .form-check-input:checked + .form-check-label,
.blog-meta a:hover, .blog-meta a:focus, .notfound h2
{
	color: #E2398F !important;
}
.text-color-cif-navy, .text-primary,
.copyright-style2.copyrights,
.copyright-style2.copyrights p,
.light-header.transparent-header .navbar-nav > .menu-item > a,
form[id*=give-form] .give-donation-amount #give-amount,
form[id*=give-form] .give-donation-amount .give-currency-symbol,
.transparent-header.light-header .navbar .mobile-nav-toggler,
.mobile-menu .close-btn, .form-check-label,
.form-control:focus, .dropdown-item,
table th, .elementor-social-icon:hover, .pagination li a
{
	color: #024B6C !important;
}
.bottom-menu li a,
.form-control::placeholder,
.nav-contact .nav-item a
{
	color: #5E848C;
}
.pagination li a {
	border: none !important; 
}
.form-select-card input:checked,
.btn-outline-primary:hover,
.btn-outline-primary,
.nav-steps .nav-link.success .circle,
.nav-steps .nav-link.success .line,
.nav-steps .nav-link.active .circle,
.nav-steps .nav-link.active .line,
.tax-methods .form-check-input:checked,
.alert-success,
body.login div#login form#lostpasswordform p.submit input#wp-submit
{
	border-color: #E2398F !important;
}
.bg-secondary,
.page-template-home-page .milestones .services-content.style4:hover, 
.services-content.style4.active-yes, 
.posts-style2 .blog-meta, .elementor-widget-tabs .elementor-tabs-wrapper:after,
.nav-steps .nav-link.success .circle,
.nav-steps .nav-link.active .circle:before,
.alert-success, 
body.login div#login form#lostpasswordform p.submit input#wp-submit
{ 
	background-color: #E2398F; 
}
.menu-backdrop 
{
	background-color: #024B6C; 
}
.alert-success, .alert-dismissible .close, 
.pagination li a:hover, .pagination li a:focus {
	color: #ffffff !important;
}
.bg-white,
.mobile-menu .menu-box 
{
	background-color: #ffffff;
}
.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.error404.layout-rs .blog-box
{
	background-color: transparent;
}
.btn-outline-secondary, .btn-outline-secondary:hover  
{
	color: #cccccc;
}
.btn-primary.disabled, .btn-primary:disabled,
.btn-primary.disabled:hover, .btn-primary:disabled:hover 
{
	background-color: #C4C4C4;
}
.bg-light-gray,
.nav-social-links li a,
body.login, .error404 .bgwhite,
.pagination li a
{
	background-color: #f5f7f8;
}

/* Header & Footer */

.header {
	background-color: #ffffff;
}
.header-style2.bg-banner {
	margin-top: 76px;
}
.transparent-header .header-main {
	border-bottom: none;
}
.transparent-header .navbar {
	padding: 7px 0;
}
.transparent-header .navbar-nav > .menu-item > a {
	padding: 17px
}
.footer {
	padding-top: 1.5rem;
}
.footer-top-part {
	padding-bottom: 1.5rem;
	margin-bottom: 1.5rem;
}
.footer-style2 .footer-bottom-part {
	padding-bottom: 20px;
}
.bottom-menu li a,
.bottom-menu li:first-child a {
	border: none;
}
.transparent-header .navbar-nav > .menu-item > a,
.footer-style2 .footer-widget-area ul li a {
	padding-left: 9px;
	padding-right: 9px;
}

/* Social Links */

.nav-social-links {
	display: inline-grid;
  	grid-template-columns: 47px 47px 47px;
}
.nav-social-links .nav-item a {
	border-radius: 50%;
	width: 42px;
	height: 42px;
	display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    background-color: #f5f7f8;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

/* Bootstrap */

.pagination li span {
	line-height: 1;
	padding: 20px 24px;
	font-size: 14px;
}
.dropdown-toggle::after,
.nav-steps .nav-link.success .circle:before,
.form-check-input:checked:before {
	font-family: 'Font Awesome 5 Free';
}
.dropdown-toggle::after {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	width: 0;
	height: 0;
	margin-left: 0.3em;
	vertical-align: middle;
	border-top: 0.3em solid;
	border-right: 0.3em solid transparent;
	border-left: 0.3em solid transparent;
}
.dropdown-toggle::after { 
	content: "";
	/* content: "\f0d7"; */
}
.btn,
.form-control {
	border-radius: 4px;
}
.btn-rounded {
	border-radius: 30px;
}
[id*=give-form].give-display-modal .give-btn:not(.give-donation-level-btn), 
[id*=give-form].give-display-reveal .give-btn:not(.give-donation-level-btn) {
	font-weight: 600;
	padding: 17px 40px;
	border-radius: 30px;
	color: #ffff;
	background-color: #E2398F;
	border: none;
	-webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
[id*=give-form].give-display-modal .give-btn:not(.give-donation-level-btn):hover, 
[id*=give-form].give-display-reveal .give-btn:not(.give-donation-level-btn):hover {
	background-color: #024B6C;
}
.tab-pane#thankyou .btn-outline-primary,
.transparent-header .btn-primary,
.transparent-header .btn-outline-primary,
.header.transparent-header.light-header .btn-outline-primary {
	font-weight: 600;
	max-height: 52px;
	font-size: 16px;
    line-height: 1;
    padding: 17px 23px;
    cursor: pointer;
}
.tab-pane#thankyou .btn-outline-primary,
.header.transparent-header.light-header .btn-outline-primary {
	border-width: 2px;
}
.btn-link {
	line-height: 2;
}
.read-more-wrapper {
	position: static;
}
.form-control,
.custom-select,
.input-group-addon {
	font-size: 1rem;
	border: 1px solid #eaeaea;
}
.form-control {
	padding: 0.75rem;
	height: auto;
	border-radius: 0;
	background-color: #ffffff !important;
}
.form-control::placeholder {
	font-weight: 400;
	color: #636c72;
}
.form-check-inline + .form-check-inline {
	margin-left: 0;
}
.form-check-inline {
	margin-right: 0.75rem;
}
.form-check-input {
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 0;
	appearance: none;
    -moz-appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	border: 2px solid #024B6C;
	margin-left: 0;
	margin-top: 0.15rem;
}
.form-check-input:hover,
.form-select-card input:hover {
	cursor: pointer;
}
.form-check-input:checked:before {
	content: '\f00c';
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	position: absolute;
	left: 2px;
	top: 2px;
}
.form-check-label {
	padding-left: 2rem;
}
.input-group-addon {
    border-radius: 0;
    background-color: #ffffff;
    color: #024B6C;
}
.form-select-card {
	border: none;
}
.form-select-card input {
	appearance: none;
    -moz-appearance: none;
	-webkit-appearance: none;
	width: 100%;
	height: 100%;
	border-radius: 0.25rem;
	position: absolute;
	border: 1px solid rgba(0,0,0,0.125);
	top: 0;
	left: 0;
	z-index: 1
}
.form-select-card input:checked {
	border-width: 3px;
	border-style: solid;
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__arrow {
	min-height: 46px;
}
.select2-container--default .select2-selection--single {
	border: 1px solid #eaeaea;
	border-radius: 0;
}
.select2-container--open .select2-dropdown--below {
	border-top: 1px solid #eaeaea;
}
/* .select2-search--dropdown {
	padding: 0;
} */
.select2-container--default .select2-search--dropdown .select2-search__field {
	border: none;
}
.nav-steps .nav-title,
.nav-steps .nav-helper {
	color: #7A7A7A;
}
.nav-steps .nav-helper {
	line-height: 1.5rem;
	margin-top: 0.25rem;
}
.nav-steps .nav-link {
	padding: 0px;
	cursor: default;
}
.nav-steps .nav-item {
	position: relative;
	padding-bottom: 34px;
}
.nav-steps .nav-item .circle {
	position: absolute;
	display: block;
	width: 36px;
	height: 36px;
	border: 2px solid #C4C4C4;
	background-color: #ffffff;
	border-radius: 50%;
	top: -16px;
	z-index: 1;
}
.nav-steps .nav-link.active .circle:before {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -6px;
	margin-top: -6px;
}
.nav-steps .nav-link.success .circle:before {
	content: "\f00c";
	font-weight: 700;
	font-size: 1rem;
	color: #ffffff;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -8px;
	margin-top: -14px;
}
.nav-steps .nav-item .line {
	display: block;
	position: relative;
	width: 100%;
	border: 1px solid #C4C4C4;
	left: -100%;
}
.nav-steps .nav-title {
	margin-top: 30px;
	margin-bottom: 0px;
}
.nav-steps .nav-link.success .nav-title {
	color: #000000;
}
.skip-group {
	max-width: 262px;
}
.skip-helper {
	font-size: 80%;
	line-height: 1.5;
	color: #7A7A7A;
}
.tax-methods .form-check {
	/* width: 207px; */
	height: 118px;
	margin: 0;
}
.tax-methods .form-check-input {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	border: 2px solid #C4C4C4;
	background-color: transparent;
	margin: 0;
}
.tax-methods .form-check-label {
	padding-left: 0px;
}
.tax-methods .form-check-input:before {
	display: none;
}

/* Skeleton Loader */

@keyframes placeHolderShimmer {
	0% {
		background-position: -468px 0
	  }
	  100% {
		background-position: 468px 0
	  }
}
@-webkit-keyframes placeHolderShimmer {
	0% {
	  background-position: -468px 0
	}
	100% {
	  background-position: 468px 0
	}
}
.skeleton-overlay {
	width: 100%; 
	height: 100%; 
	z-index: 1;
	overflow: hidden;
	position: absolute;
}
.skeleton-loader {
	width: 100%;
	height: 100%;
	-webkit-animation-duration: 1s;
	-webkit-animation-fill-mode: forwards;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-name: placeHolderShimmer;
	-webkit-animation-timing-function: linear;
	background: #d8d8d8;
	background-image: linear-gradient(to right, #d8d8d8 0%, #bdbdbd 20%, #d8d8d8 40%, #d8d8d8 100%);
	background-repeat: no-repeat;
	background-size: 800px 104px;
	position: relative;
}
.skeleton-loader div {
	background: #ffffff;
	height: 6px;
	left: 0;
	position: absolute;
	right: 0
}
div._2iwr {
	height: 40px;
	left: 40px;
	right: auto;
	top: 0;
	width: 8px;
  }
  div._2iws {
	height: 8px;
	left: 48px;
	top: 0
  }
  div._2iwt {
	left: 136px;
	top: 8px
  }
  div._2iwu {
	height: 12px;
	left: 48px;
	top: 14px
  }
  div._2iwv {
	left: 100px;
	top: 26px
  }
  div._2iww {
	height: 10px;
	left: 48px;
	top: 32px
  }
  div._2iwx {
	height: 20px;
	top: 40px
  }
  div._2iwy {
	left: 410px;
	top: 60px
  }
  div._2iwz {
	height: 13px;
	top: 66px
  }
  div._2iw- {
	left: 440px;
	top: 79px
  }
  div._2iw_ {
	height: 13px;
	top: 85px
  }
  div._2ix0 {
	left: 178px;
	top: 98px
  }
  div._2ix1 {
	left: 0px;
	top: 104px;
	height: 100%;
  }
  

/* Elementor */

.elementor-widget-tabs.elementor-tabs-view-vertical .elementor-tab-content {
	padding: 30px !important;
}
.elementor-widget-tabs.elementor-tabs-view-vertical .elementor-tabs-wrapper {
	padding-top: 15px;
}
/* .elementor-tabs-view-vertical.elementor-widget-tabs .elementor-tab-desktop-title {
	padding-left: 0px !important;
}
.elementor-tabs-view-vertical.elementor-widget-tabs .elementor-tabs-wrapper:after {
	left: 0px;
} */
.elementor-tab-mobile-title {
	margin-left: 12px;	
} 

/* Givewp */

.give-login-message {
	display: none;
}
.give-modal .mfp-content {
	max-width: 480px;
}
.give-modal form[id*="give-form"] legend {
	margin-top: 15px;
}
form[id*=give-form] .give-donation-amount #give-amount,
form[id*=give-form] .give-donation-amount .give-currency-symbol {
	padding: 0px;
	font-size: 24px;
	font-weight: bold;
	background: none;
}
form[id*=give-form] .give-donation-amount input.give-amount-top {
    width: 100%
}
form[id*=give-form] .give-donation-amount .give-currency-symbol,
form[id*=give-form] .give-donation-amount .give-currency-symbol.give-currency-position-after {
    border: none;
}
form[id*=give-form] .give-donation-amount .give-currency-symbol {
	position: absolute;
	right: 18px;
}
form[id*="give-form"] .give-donation-amount {
	padding: 10px 0;
}
form.give-form, form[id*=give-form],
#give-donation-level-button-wrap li {
	/* margin-bottom: 0px; */
}
[id*=give-form].give-display-modal .give-btn {
	margin-bottom: 0px;
}
.badge-tax {
	font-size: 0.875rem;
	font-weight: 400;
	color: #1d2327;
    padding: 9px 11px;
    background-color: #f7f7f7;
}

/* Hide page banner */

.page-banner-hide .bg-banner,
.error404 .bg-banner {
	height: 0px;
	padding: 0px;
}
.page-banner-hide .bg-banner > *,
.error404 .bg-banner > * {
	display: none;
}

/* Nextend Social Login */

div.nsl-container-block .nsl-container-buttons a {
	max-width: 100% !important;
}

/* Mobile */

.navbar .mobile-nav .navbar-brand {
/* 	padding-top: 0; */
}
.navbar .mobile-nav .nav-user {
	float: right;
    margin-top: 9px;
}
.navbar .mobile-nav .nav-user .dropdown-menu {
	left: -57px;
}
.mobile-menu, .mobile-menu .menu-box {
	opacity: 1;
	visibility: visible;
}
.mobile-menu {
	-webkit-transform: translateX(101%);
	-ms-transform: translateX(101%);
	transform: translateX(101%);
	-webkit-transition: all 0.7s ease;
	-o-transition: all 0.7s ease;
	transition: all 0.7s ease;
}
.menu-backdrop {
	position: fixed;
	right: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 2;
	opacity: 0.9;
}
.mobile-menu .menu-box {
	-webkit-transform: translateX(0%);
	-ms-transform: translateX(0%);
	transform: translateX(0%);
}
.mobile-menu .menu-box .nav-user {
	display: none;
}
.mobile-menu .menu-box .btn {
	display: block;
	margin: 0 25px 10px 25px !important;
}
.mobile-menu .close-btn {
	font-size: 21px;
}
.mobile-menu .navbar-nav {
	margin-bottom: 30px;
}
.mobile-menu-visible .mobile-menu {
	-webkit-transform: translateX(0%);
	-ms-transform: translateX(0%);
	transform: translateX(0%);
}
/* .mobile-menu-visible .menu-backdrop {
	visibility: visible;
} */

.page-template-home-page .hero form[id*=give-form] .give-donation-amount .give-currency-symbol {
	right: 30px;
}
.page-template-home-page .hero form.give-form, 
.page-template-home-page .hero form[id*=give-form],
.page-template-home-page .hero #give-donation-level-button-wrap,
.page-template-home-page .hero #give-donation-level-button-wrap > li:last-child,
.page-template-home-page .hero [id*=give-form].give-display-modal .give-btn-level-custom {
	margin-bottom: 0px;
}
.page-template-home-page .hero [id*=give-form].give-display-modal .give-btn:not(.give-donation-level-btn) {
	/* position: absolute;
	right: 20px;
	bottom: 5px; */
}

@media (min-width: 992px) and (max-width: 1144px) { 
	.navbar-brand {
		width: 64px;
    	overflow: hidden;
	}
}

@media (max-width: 767px) {
	.pagination li span {
		padding: 12px 15px;
	}
	.section.bg-banner {
		padding-top: 0px;
	}
}
@media screen and (max-width: 600px) {
	.navbar-brand img,
	.footer-logo img {
		max-width: 200px;
	}
	
}
@media (min-width: 992px) {
	.navbar ul li .dropdown-menu {
		padding: 11px 0;
	}
	.navbar .mobile-nav {
		display: none;
	}
	.nav-steps .nav-item .line {
		position: absolute;
		width: 46.14px;
		height: 0px;
		left: -5.29px;
		top: -24px;
		transform: rotate(90deg);
	}
	.nav-steps .nav-item .circle {
		top: 0px;
		left: 0px;
	}
	.nav-steps .nav-item:first-child .line {
		display: none;
	}
	.nav-steps .nav-title,
	.nav-steps .nav-helper {
		margin-left: 48px;
		margin-top: 0px;
		margin-bottom: 0px;
	}
	.nav-steps .nav-title {
		margin-top: 0px;
	}
}
@media (min-width: 1200px) {
	.footer .container-fluid,
	.copyrights .container-fluid {
		max-width: 1550px;
	}
}
@media screen and (max-width: 600px) {
	[id*=give-form].give-display-modal .give-btn,
	[id*=give-form].give-display-reveal .give-btn {
		margin-bottom: 0px;
	}
}
@media screen and (max-width: 480px) {
	#give_user_history tbody {
		border-top: none;
	}
	#give_user_history .give-mobile-title {
		min-width: 7em;
		display: none;
	}
	#give_user_history td {
		padding-top: 0;
		padding-bottom: 0.25rem;
	}
	#give_user_history_mobile .give-donation-row:not(:last-child) {
		border-bottom: 1px solid #eceeef;
	}
	#give_user_history .badge-tax {
		padding: 0;
		background-color: transparent;
	}
	#give_user_history .btn-payment {
		padding: 0;
		border: none;
	}
}