/*
Theme Name: Vantage Child
Author: SiteOrigin
Author URI: http://siteorigin.com/
Theme URI: http://siteorigin.com/theme/vantage
Description: Vantage Child Theme
Version: 1.0.0
Template: vantage
Text Domain: vantage
Domain Path: /languages/
*/

/* =Theme customization starts here
-------------------------------------------------------------- */
:root {
--grey: #6D6E71;
--orange: #F58025;
--dkgrey: #525E66;
	--white: #fff;
	--black: #000;
}
.has-grey-background-color {background-color: var(--grey) !important;}
.has-grey-color {color: var(--grey) !important;}
.has-orange-background-color {background-color: var(--orange) !important;}
.has-orange-color {color: var(--orange) !important;}
.has-dkgrey-background-color {background-color: var(--dkgrey) !important;}
.has-dkgrey-color {color: var(--dkgrey) !important;}
.has-white-background-color {background-color: var(--white) !important;}
.has-white-color {color: var(--white) !important;}
.has-black-background-color {background-color: var(--black) !important;}
.has-black-color {color: var(--black) !important;}

@font-face {
    font-family: 'Caramella';
    src: url('https://spop.org/wp-content/themes/vantage-child/fonts/Caramella.eot');
    src: url('https://spop.org/wp-content/themes/vantage-child/fonts/Caramella.eot') format('embedded-opentype'),
         url('https://spop.org/wp-content/themes/vantage-child/fonts/Caramella.woff2') format('woff2'),
         url('https://spop.org/wp-content/themes/vantage-child/fonts/Caramella.woff') format('woff'),
         url(https://spop.org/wp-content/themes/vantage-child/fonts/Caramella.ttf') format('truetype'),
         url('https://spop.org/wp-content/themes/vantage-child/fonts/Caramella.svg#Caramella') format('svg');
}
h1, h2, h3 {font-family: 'Caramella' !important;text-transform: uppercase;line-height: 1.2;}
@media screen and (min-width: 948px) {
h2 {scroll-margin-top: 100px;}
}

/* Gutenberg Block Styles */
.wp-block-cover-image.has-background-dim:not([class*=-background-color]), .wp-block-cover.has-background-dim:not([class*=-background-color]) {
    background-color: #fff;} /* default overlay on cover image */
.wp-block-cover-image .wp-block-cover__inner-container, .wp-block-cover .wp-block-cover__inner-container {color:var(--dkgrey) !important;align-items: center;
	text-align: center;} /* default layout for inner container on cover image */
.wp-block-cover__inner-container h1,
	.wp-block-column h3:first-child {margin: 0 auto;
    max-width: 800px;}
.wp-block-cover__inner-container h2 {max-width: 700px;margin: 0 auto 40px;}
.wp-block-button__link, input[type="submit"], .w3eden button[class^="btn"] {background-color:var(--orange) !important;background:var(--orange);color:var(--white)!important;transition: .5s ease;border:3px solid transparent !important;border-radius: 50px}
.wp-block-button__link:hover, input[type="submit"]:hover, .w3eden button[class^="btn"]:hover {background:var(--orange);border:3px solid #bb5c08;box-shadow: 0 3px 5px rgb(128 128 128 / 46%);}
.wp-block-buttons .wp-block-button, input[type="submit"] {text-shadow: none;}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {border-radius: 3px;}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input {border-radius: 3px;padding: .5em;}
.wp-block-image:not(.is-style-rounded) img {border-radius: 3px;}
.wp-block-separator {border-top: none;border-bottom: none;}
@media (max-width: 599px) {
	.rtl .wp-block-column:first-child {order:2;}
	.rtl .wp-block-column:last-child {order:1;}
}
.is-provider-youtube {max-width:560px;}
.vimeo {max-width: 600px;margin: 0 auto;}


/* header */
.emergency-instructions {background: repeating-linear-gradient(45deg, #f54225, 10px, #f84e32 10px, #f84e32 20px);padding: 20px;color: #fff;font-size: 1.2em;font-weight:bold;text-align: center;}

#masthead .full-container {max-width:100% !important;}
.masthead-sidebar {padding:10px 0 !important;}
#custom_html-10 .custom-html-widget {display: flex;flex-wrap: wrap;align-items: center;justify-content: space-between;padding: 0 40px;}
.logo-wrapper {display: flex;flex-direction: column;align-items: center;}
#masthead .hgroup .logo {display: block;float: left !important;max-width: 100%;width: 240px;}
.mast {text-align:center; width:25%;position: relative;padding: 0 !important;display: flex;align-items: center;flex-direction: column;}
.contact {font-size:1.5em;}
.contact a {color: var(--black) !important;font-weight: bold;}
.ref {line-height: 1.2;margin-bottom: 10px;background: var(--orange);border-radius: 50px;padding:10px;}
.ref a {transition: .5s ease;color: var(--black) !important;font-weight: bold;}
.ref a:hover {text-decoration:underline !important;}
.switcher .selected {background: none !important;}
.switcher .selected a {border-radius: 5px;}
@media (max-width: 900px) {
	#custom_html-10 .custom-html-widget {padding: 0;}
	.logo-wrapper {order: -1;width: 100%;margin-bottom: 20px;}
	.mast {width:50%;}
}
@media (max-width: 600px) {
	.logo-wrapper, .mast {width: 100%;}
	.left {margin-bottom:20px;}
}

.site-navigation:not(.sticky) li.home-menu {display:none;}
.site-navigation.sticky li.home-menu {width: 142px;display:block;position:fixed;left:10px;margin-top: 3px;}
.site-navigation.sticky li.home-menu a {color:transparent;width: 142px;height: 50px;padding: 0;}
.site-navigation.sticky li.home-menu a:before {content: url(https://spop.org/wp-content/uploads/home-menu.jpg);}
.mobilenav-main-link {font-size:1.5em !important;padding: 0 !important;}
a.mobilenav-main-link {color:var(--black) !important;}
.mobilenav-main-link img {margin-right: 0;}
.mobile-nav-icon:before {font-size: 14px;content: "\f0c9";}
.mobile-nav-frame .title h3 {text-shadow: none !important;}
.mobile-nav-frame ul li a.link {text-shadow: none !important;}
.mobile-nav-frame ul {border: none !important;box-shadow: none !important;}
@media (max-width: 400px) {
	.mobile-nav-icon {margin-right: 0;}
}


/* google translate */
.switcher {font-family:Arial;font-size:12pt;text-align:left;cursor:pointer;overflow:hidden;width:173px;line-height:17px;margin: 0 auto;}
.switcher a {text-decoration:none;display:block;font-size:12pt;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}
.switcher a img {vertical-align:middle;display:inline;border:0;padding:0;margin:0;opacity:0.8;}
.switcher a:hover img {opacity:1;}
.switcher .selected {background:#ffffff linear-gradient(180deg, #efefef 0%, #ffffff 70%);position:relative;z-index:9999;}
.switcher .selected a {border:1px solid #cccccc;color:#666666;padding:3px 5px;width:161px;}
.switcher .selected a:after {height:24px;display:inline-block;position:absolute;right:10px;width:15px;background-position:50%;background-size:11px;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 285 285'><path d='M282 76.5l-14.2-14.3a9 9 0 0 0-13.1 0L142.5 174.4 30.3 62.2a9 9 0 0 0-13.2 0L3 76.5a9 9 0 0 0 0 13.1l133 133a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' style='fill:%23666666'/></svg>");background-repeat:no-repeat;content:""!important;transition:all .2s;}
.switcher .selected a.open:after {-webkit-transform: rotate(-180deg);transform:rotate(-180deg);}
.switcher .selected a:hover {background:#f0f0f0}
.switcher .option {position:relative;z-index:9998;border-left:1px solid #cccccc;border-right:1px solid #cccccc;border-bottom:1px solid #cccccc;background-color:#eeeeee;display:none;width:171px;max-height:198px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;overflow-y:auto;overflow-x:hidden;}
.switcher .option a {color:#000000;padding:3px 5px;}
.switcher .option a:hover {background:#ffffff;}
.switcher .option a.selected {background:#ffffff;}
#selected_lang_name {float: none;}
.l_name {float: none !important;margin: 0;}
.switcher .option::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,0.3);border-radius:5px;background-color:#f5f5f5;}
.switcher .option::-webkit-scrollbar {width:5px;}
.switcher .option::-webkit-scrollbar-thumb {border-radius:5px;-webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.3);background-color:#888;}

/* home page */
body.home .wp-block-cover {margin-bottom: 0 !important;}
body.home h3 {margin:0;}

.wp-block-coblocks-gallery-carousel.alignwide {left: 0 !important;width: 100% !important;}

.home-feature {line-height:1.2;}

/* get care */
.process-wrap {padding:0 20px;gap: 40px;}
.process-wrap img {margin-top:20px;}
.process-wrap .wp-block-column {position:relative;}
.process-wrap .wp-block-column:not(:last-of-type):before {position: absolute;content: url("https://spop.org/wp-content/uploads/Asset-2@144x-8.png");top:50%;left:calc(100% - 10px);transform: translate(0, -50%)}
.process-wrap h3 {background: var(--orange);color:var(--white) !important;
  -webkit-clip-path: polygon(0 0, 90% 0, 100% 100%, 10% 100%);
  clip-path: polygon(0 0, 90% 0, 100% 100%, 10% 100%); padding:5px 30px; height: 70px;display: flex;justify-content: center;align-items: center;text-align:center;font-size: 1.2em !important;}
@media (max-width: 1000px) {
	.wp-block-columns.process-wrap {flex-wrap:wrap;}
	.process-wrap .wp-block-column {flex-basis: 100%;flex-grow:1;margin: 0 20px 60px;}
	.process-wrap .wp-block-column:last-of-type {margin-bottom:0;}
	.process-wrap .wp-block-column .wp-block-image {width: 25%;float: left;margin-right:20px;}
	.process-wrap .wp-block-column:before {top: 70% !important;left: 50% !important;transform:translate(-50%) rotate(90deg) !important;}
}
@media (max-width: 400px) {
	.process-wrap .wp-block-column .wp-block-image {width: 100%;float: none;margin-right:0;}
	.process-wrap .wp-block-column:before {top: 85% !important;left: 50% !important;transform:translate(-50%) rotate(90deg) !important;}
}
ul.locations {list-style-type: none; margin-left: 0; -moz-column-count: 3;column-count: 3;column-gap: 50px;} /* hide bullets and set column count */
ul.locations li {line-height: 1.5;margin-left: 0;font-style: italic;break-inside: avoid-column;} /*avoid breaking the list item onto new column  and style 1st level*/
ul.locations li ul  {list-style-type: none; margin:0 0 20px 0;column-count: 1;} /* keep 2nd level in one column*/
ul.locations li ul li  {font-style: normal;} /* style 2nd level */
@media (max-width: 740px) {
	ul.locations { -moz-column-count: 2;column-count: 2;}
}
@media (max-width: 500px) {
	ul.locations { -moz-column-count: 1;column-count: 1;}

}

/* blog */
.wp-block-latest-posts__featured-image {overflow:hidden;}
.wp-block-latest-posts__featured-image img {transition: transform 2s;}
.wp-block-latest-posts__featured-image img:hover {transform: scale(1.2); }
h3.ask {font-size:1.2em; color:var(--orange);border-bottom: 1px solid var(--orange);margin-bottom:5px;}
.prev {float:left;}
.next {float:right;}
.post-pagination a {display:flex;align-items:center;}
.prev a:before,.next a:after {font-family:"FontAwesome";position: relative;}
.prev a:before {content: "\f100";padding-right: 10px;}
.next a:after {content: "\f101";padding-left: 10px;}

/* staff */
body.page-id-36 .wp-block-cover, .wp-block-cover-image {min-height: 250px;width: 250px;}
body.page-id-36 .wp-block-cover img {border-radius:10px 50px / 10px 50px;}
body.page-id-36 .wp-block-column p:first-of-type {margin-top:0;}

/* gravity forms */
footer#colophon .gform_heading {margin-bottom:20px;}
.gform_heading {padding-bottom:15px;}

/* download manager */
body:not(.logged-in) .wpdmlogin-logo, body:not(.logged-in) ul.jqueryFileTree,
body.logged-in .board-login, body.logged-in #wpdmlogin {display:none !important;}
.w3eden .input-wrapper label {display: none;}
.w3eden div#wpdmlogin.lostpass {border-top: 5px solid var(--dkgrey);}
body.wpdmpro-template-default #secondary, body.wpdmpro-template-default .col-md-7, body.wpdmpro-template-default .entry-categories {display:none;}

/* FOOTER */
footer#colophon {background:#fff;-webkit-box-shadow: 0px 0px 6px 1px rgba(168,168,168,.3);
-moz-box-shadow: 0px 0px 6px 1px rgba(168,168,168,.3);
box-shadow: 0px 0px 6px 1px rgba(168,168,168,.3);}
a.social-foot {font-size:4em;}
li.pay a {color:var(--orange) !important;font-weight:bold !important;transition:.5s;}
li.pay a:hover {color:#48a40d !important;}
#theme-attribution {display:none;}
#footer-widgets {display: flex;flex-wrap: wrap;justify-content: space-evenly;max-width: none !important;gap: 20px;}
#footer-widgets .widget .widget-title {color: var(--black);}
#custom_html-5 {text-align:center;}
#footer-widgets .ftr-social {display: flex;align-items: center;justify-content: center;margin-bottom:20px;}
#footer-widgets .ftr-social .svg-inline--fa {padding: 0 15px;}
#footer-widgets .ftr-badge img {max-width:100px;}
#footer-widgets .amznCharityBanner {padding-top:20px;}
#footer-widgets .widget:nth-of-type(4) {flex-grow: 2;}
#footer-widgets .widget:last-of-type {flex-basis: 100%;margin-top: 35px;}

/* PRINT STYLES */
@media print {
body {font-size: 1em;color: #333333;margin-top: 2cm;margin-right: 2cm;margin-bottom: 1.5cm;margin-left: 2cm}
 #masthead,
  .wp-block-video,
  footer {display: none;}
img {max-width: 500px;}
  @page {margin: .5cm;}
#main:before {display: block;
content: "This article was provided by SPOP.org.";
border: 1px solid #bbb;font-style: italic;font-size:12px;padding:10px;color:#eee;}

}




