/*
Theme Name: St. David's
Theme URI: https://www.seventhscout.com
Author: Seventh Scout
Author URI: https://www.seventhscout.com
Description: 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stdavids
Tags: 
*/
/*--sidebar style start--*/
#Global-sidebar .elementor-inner-section.elementor-element.elementor-section-boxed {
    margin-bottom: 60px;
    box-shadow: -10px 10px 20px rgba(102,102,102,.075);
    padding: 10px;
}
#Global-sidebar section#sidebar-carousal .elementor-inner-section.elementor-element.elementor-section-boxed{
	box-shadow: none;
	margin-bottom: 0;
	padding:0;
}
#Global-sidebar section#sidebar-carousal .elementor-column-wrap.elementor-element-populated{
	padding:0;
}
#Global-sidebar section#sidebar-carousal section:first-child .elementor-column-wrap.elementor-element-populated:first-child {
    margin-bottom: 20px;
}
a.cta.read-the-story:hover {
    cursor: pointer;
    text-decoration: none;
}
#Global-sidebar .sidebar-readmore{
	display: inherit;;
}
#Global-sidebar .sidebar-readmore a {
	color: inherit !important;
}
.elementor-editor-active h1.theme-color-purple,.elementor-editor-active .col-xs-12.col-md-12~h2{
	display: none;
}
/*--sidebar style end--*/
/*Page title*/
.page-template-default h1.entry-title {
    display: none;
}
.banner-heading h2{
	letter-spacing: 2px !important;
	max-width: 66% !important;
}
/*Sidebar with image and bordered link*/
 .elementor-widget .elementor-icon-list-icon {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: absolute;
    top: -3px;
    
}
 .elementor-icon-list-item a::after {
    content: "\F0da";
    font-family: 'FontAwesome';
    padding-left: 8px;
    color: #404040;
}
.elementor-icon-list-item a:hover {
     text-decoration: underline;

}

.elementor-editor-active .content-right .post-rail-block {
    display: none;
}
.elementor-editor-active .content-left{
    width: 100%;
}
.elementor_library-template-default .content-right .post-rail-block {
    display: none;
}
.elementor_library-template-default .content-left {
    width: 100%;
}

/*recent blogs elementor widget stlying */
.elementor-widget-wp-widget-recent-posts ul {
    list-style: none;
    padding: 0;
    margin: auto;   
}
.elementor-widget.elementor-widget-wp-widget-recent-posts{
	padding:30px 10px 0px;
}
.elementor-widget-wp-widget-recent-posts li a {
    font-size: 16px;
    line-height: 20px;
    color: #666 !important;
    font-weight: 400;

}
.elementor-widget-wp-widget-recent-posts span.post-date {
    font-size: 12px !important;
}

.elementor-widget-wp-widget-recent-posts li {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.elementor-widget-wp-widget-recent-posts a::after {
    content: "\f0da";
    font-family: FontAwesome;
    width: 20px;
    height: 20px;
    font-size: 14px;
    color: #666;
    padding: 0;
    position: relative;
    top: 50%;
    right: -8px;
    margin-top: -10px;
}

.elementor-widget-wp-widget-recent-posts h5 {
    display: block;
    position: relative;
    font-size: 20px;
    line-height: 24px;
    margin: 0 0 25px;
    padding: 0;
    font-family: Montserrat, Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #fab625;
    letter-spacing: 1px;
}

.elementor-widget-wp-widget-recent-posts h5::after {
    content: '';
    width: 20%;
    height: 3px;
    background-color: #404040;
    position: absolute;
    left: 0;
    bottom: -8px;
}

/* for elementor editor header responsive */
.elementor-editor-active ul.menu li {
    width: 13%;
    float: left;
}
@media (max-width: 1199px) and (min-width: 992px){
.elementor-editor-active ul.menu li {
    width: 15% !important;
}
}

/*Dynamic Sidebar */
.recent_post .recent {
    font-size: 16px;
    line-height: 22px;
    color: #666;
    margin-bottom: 12px;
}
.recent_post .recent a {
    position: relative;
    color: #666;
}
.hero-banner {
    height: calc(100vh - 100px) !IMPORTANT;
}
.recent_post .recent a::after {
    content: "\F0da";
    font-family: 'FontAwesome';
    position: absolute;
    padding-left: 8px;
    color: #666;
}
#inner-sidebar-carousal .owl-wrapper-outer {
    overflow: hidden;
}
.owl-theme .owl-controls {
    margin-top: 10px;
    text-align: right !important;
}
.owl-theme .owl-controls .owl-page span{
	width: 15px	!important;
    height: 15px !important;
    margin: 3px 5px	!important;
    background: #0091ba	!important;
    display: block;
    transition: opacity .2s ease;
    border-radius: 15px	!important;
    border: 1px solid #fab625 !important;
}


/* Footer Css Starts Here */
#footer .social-wrapper .icon-social .fa {
    font-family: 'FontAwesome';
    font-weight: 100;
}
ul#menu-grantmaking {
	flex-direction: column;
	display: flex;
	padding-left: 0;

}

ul#menu-our-programs {
	flex-direction: column;
	display: flex;
	padding-left: 0;

}

ul#menu-about-us {
	flex-direction: column;
	display: flex;
	padding-left: 0;

}

.menu-grantmaking-container ul.menu li {
	width: 210px;
	float: none;
	line-height: 22px;
	font-size: 16px;
	padding-top: 8px;

}

.menu-our-programs-container ul.menu li {
	width: 210px;
	float: none;
	line-height: 22px;
	font-size: 16px;
	padding-top: 8px;

}

.footer_section_one {
	width: 550px;
}

.menu-about-us-container ul.menu li {
	width: 210px;
	float: none;
	line-height: 22px;
	font-size: 16px;
	padding-top: 8px;
}

.menu-grantmaking-container ul.menu li:first-child {
	margin: 0 0 20px;
}

.menu-our-programs-container ul.menu li:first-child {
	margin: 0 0 20px;
}

.menu-about-us-container ul.menu li:first-child {
	margin: 0 0 20px;
}

.menu-grantmaking-container ul.menu li a {
	text-decoration: none;
	color: #b3b3b3;
}

.menu-about-us-container ul.menu li a {
	text-decoration: none;
	color: #b3b3b3;
}

.menu-our-programs-container ul.menu li a {
	text-decoration: none;
	color: #b3b3b3;
}

ul#menu-grantmaking>li:first-child>a:hover {
	text-decoration: none !important;
}

ul#menu-our-programs>li:first-child>a:hover {
	text-decoration: none !important;
}

ul#menu-about-us>li:first-child>a:hover {
	text-decoration: none !important;
}

.menu-grantmaking-container ul.menu li a:hover {
	text-decoration: underline !important;
	color: #404040;
}


.menu-our-programs-container ul.menu li a:hover {
	text-decoration: underline !important;
	color: #404040;
}

.menu-about-us-container ul.menu li a:hover {
	text-decoration: underline !important;
	color: #404040;
}

ul#menu-grantmaking>li:first-child>a {
	color: #48cce5 !important;
	font-weight: 500;
	font-size: 16px;
	margin: 0 0 20px;
	text-transform: uppercase;
	text-decoration: none;
}

ul#menu-our-programs>li:first-child>a {
	color: #48cce5 !important;
	font-weight: 500;
	font-size: 16px;
	margin: 0 0 20px;
	text-transform: uppercase;
	text-decoration: none;
}

ul#menu-about-us>li:first-child>a {
	color: #48cce5 !important;
	font-weight: 500;
	font-size: 16px;
	margin: 0 0 20px;
	text-transform: uppercase;
	text-decoration: none;
}

li.menu-item {
	list-style: none;
}

.footer_inner .col-md-5 {
	width: 100%;

}

.footer_inner .col-md-pull-7 {
	right: 0;
}

.footer_inner {
	display: flex;
}

.footer_inner .col-md-3 {
	width: 33.33%;
	padding-left: 30px;
}
#footer .copyright {
    padding: 20px 0 0;
    margin: 0 !important;
}
.search-form-wrapper p {
    font-family: Montserrat,Gotham,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    font-weight: 700;
    text-transform: capitalize;
    text-align: left;
    margin: 0px !important;
    margin-bottom: 10px !important;
}


@media (max-width: 1199px) {
	.right-content {
		left: 33.33333333%;
	}
	.left-content-sec,.right-content{
		width: 59% !important;
	}
}
/*footer responsive starts here */
@media (max-width: 991px) {
	.sidebar-template-content {
	    width: 100% !important;
	    padding:0 15px;
	}
	#Global-sidebar{
		width: 100%;
		padding:0 30px;
	}
	.hero-banner p {
	    font-size: 28px !important;
	    font-weight: 700 !important;
	    line-height: 32px !important;
	}
	.banner-heading h2{
		font-size: 42px !important;
	    line-height: 50px !important;
	    width: 100% !important;
	    letter-spacing: 0 !important;
		}
	.right-content {
		left: 25%;
	}
	.left-content-sec,.right-content{
		width: 67% !important;
	}
	.footer_inner {
		display: flex;
		flex-direction: column-reverse;
	}

	.footer_section_two {
		display: flex;
		/*flex-direction: column;*/
	}

	.footer_section_one {
		width: 100%;
	}

	.menu-grantmaking-container ul.menu li:first-child {
	 margin: 10px 0 0px;
	}

	.menu-our-programs-container ul.menu li:first-child {
	 margin: 10px 0 0px;
	}

	.menu-about-us-container ul.menu li:first-child {
	 margin: 10px 0 0px;
	}
}
@media (max-width: 768px) {
	.footer_inner {
		display: flex;
		flex-direction: column-reverse;
	}

	.footer_section_two {
		display: flex;
	}

	.footer_section_one {
		width: 100%;
	}

	.menu-grantmaking-container ul.menu li:first-child {
	 margin: 10px 0 0px;
	}

	.menu-our-programs-container ul.menu li:first-child {
	 margin: 10px 0 0px;
	}

	.menu-about-us-container ul.menu li:first-child {
	 margin: 10px 0 0px;
	}
}
@media (max-width: 767px){
	#Global-sidebar{
		padding: 45px 30px 0;
	}
	.banner-heading h2{
		font-size: 36px;
    	line-height: 44px;
	}
	.hero-banner .elementor-spacer-inner {
	    height: 35px !important;
	}
	.hero-banner p{
		width: 100% !important;
	}
	.side-content{
		background-position: center !important;
	}
	 .right-content .elementor-column-wrap.elementor-element-populated {
	    padding: 40px 30px 0 !important;
	}
	.link-list a,.our-mission,.side-content p{
		font-size: 14px !important;
		line-height: 20px !important;
	}
	.side-content h2::after{
		bottom: -12.5px !important;
		height: 4px !important;
	}
	.side-content h2{
		margin-bottom: -35px;
	    font-size: 36px !important;
	    line-height: 42px !important;
	    width: 100% !important;
	}
	.side-content{
		min-height: auto !important;
	}
	.left-content-sec, .right-content {
		margin-top: 3vh !important;
	    width: 96% !important;
	    top: 0 !important;
	    min-height: auto !important;
	}
	.right-content ,.left-content-sec{
	    left: 2% !important;
	}
}
@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
{
	.footer_inner {
		display: flex;

	}

	.footer_section_two {
		display: flex;
	}

	.footer_section_one {
		width: 100%;
	}

	.footer_inner .col-md-5 {
		width: 100%;

	}

	.menu-grantmaking-container ul.menu li {
		width: 151px;
		float: none;
		line-height: 22px;
		font-size: 16px;
		padding-top: 8px;
	}
	.menu-our-programs-container ul.menu li {
		float: none;
		line-height: 22px;
		font-size: 16px;
		padding-top: 8px;
	}
	.menu-about-us-container ul.menu li {
		width: 151px;
		float: none;
		line-height: 22px;
		font-size: 16px;
		padding-top: 8px;
	}
}
/*Responsive footer*/
@media (max-width: 380px){
.footer_section_two {
    display: flex;
    flex-direction: column;
}
}

/*For iphone - 6/7/8*/
/* Portrait and Landscape */
@media only screen 
and (min-device-width: 375px) 
and (max-device-width: 667px) 
and (-webkit-min-device-pixel-ratio: 2){
	.footer_section_two {
		display: flex;
		flex-direction: column;
		}.menu-grantmaking-container ul.menu li {
			width: 210px;
			float: none;
			line-height: 22px;
			font-size: 16px;
			padding-top: 8px;

		}
	}



/* Iphone -X Portrait and Landscape */
@media only screen 
and (min-device-width: 375px) 
and (max-device-width: 812px) 
and (-webkit-min-device-pixel-ratio: 3)
	{ 
.footer_inner {
	display: flex;
    flex-direction: column-reverse;
    display: flex;
    }

	.footer_section_two {
    display: flex;
    /*flex-direction: column;*/
	}

	.footer_section_one {
		width: 100%;
	}

	.footer_inner .col-md-5 {
		width: 100%;

	}
	.menu-grantmaking-container ul.menu li {
		width: 151px;
		float: none;
		line-height: 22px;
		font-size: 16px;
		padding-top: 8px;
	}
	.menu-our-programs-container ul.menu li {
		float: none;
		line-height: 22px;
		font-size: 16px;
		padding-top: 8px;
	}
	.menu-about-us-container ul.menu li {
		width: 151px;
		float: none;
		line-height: 22px;
		font-size: 16px;
		padding-top: 8px;
	}
	}
/* ----------- iPad Pro ----------- */
/* Portrait */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
  	.footer_inner .col-md-5 {
    width: max-content;
}
.footer_inner .col-md-3 {
    width: 30%;
    padding-left: 30px;
}
}


