/*
Theme Name: Vantage Child
Author: Westchester Marketing Cafe LLC
Template: vantage
Text Domain: vantage
Domain Path: /languages/
Version:      2.0.0
*/
-------------------------------------------------------------- */
/* Color Theme Swatches in Hex */
:root {
  --grey: #d5d1d1;
  --blue: #255aa7;
  --red: #e1635c;
}

/* custom color palette */
.has-grey-background-color {background-color: #d5d1d1;}
.has-grey-color {color: #d5d1d1;}
.has-blue-background-color {background-color:#255aa7;}
.has-blue-color {color: #255aa7;}
.has-red-background-color {background-color:  #e1635c;}
.has-red-color {color:  #e1635c;}
.has-white-background-color {background-color: #fff;}
.has-green-color {color: #fff;}
.has-black-background-color {background-color: #000;}
.has-black-color {color: #000;}

#main {padding: 0;}
.full-container {max-width: 1460px !important;}
.alignfull {width:100% !important;max-width: 1420px; margin: 0 auto;margin-left: 0 !important;} 
.wp-block-spacer {background:#d4d3d3;margin: 0 -20px;}
#primary {background-color:#fff;padding:20px;}
.entry-header {background: #fff;}
.entry-content a {font-weight:bold;}
.social-media-icon .svg-inline--fa {width: 20px;height: 20px;padding: 3px;color: #fff;}
hr {background-color: #ccc;border: 0 !important;height: 1px; margin: 0 20px;}
h1.entry-title  {font-size: 1.9em !important;font-weight: 700 !important;}
.entry-content h3 {font-size:1.5em !important;}
ul, ol {margin-left:0;}

/*MASTHEAD STYLES*/
#masthead .hgroup #header-sidebar {display: flex;flex-wrap: wrap;justify-content: flex-end;position:static;}
#header-sidebar .widget_nav_menu ul.menu > li > a, #masthead-widgets .widget_nav_menu ul.menu > li > a {padding: 0;}
@media only screen and (max-width: 745px) {
  body.responsive #masthead .hgroup .logo {float: none;}
  body.responsive #masthead .hgroup #header-sidebar {justify-content: center;margin-top: 10px; padding-top: 0 !important; padding-bottom: 0 !important;}
  #nav_menu-2 {text-align:center;}
  #masthead .hgroup #header-sidebar aside.widget {margin: 10px 0 !important;}
}
.fab {font-size: 2em;color: #fff;padding:5px;}
ul#social-media-icon {display: flex;list-style-type: none;}
ul#social-media-icon li {height:34px;width:35px;margin-right:15px;border-radius:3px;display: flex;justify-content: center;align-items: center;}
ul#social-media-icon li.fb {background:#4267B2;}
ul#social-media-icon li.twitter {background:#00acee;}
ul#social-media-icon li.youtube {background:#b2071d;}

/*Media Query for language menu. Disables the hamburger*/
.main-navigation ul li {font-size:22px !important;}
.mobile-nav-icon {font-family: "Font Awesome 6 Pro" !important;}
.mobile-nav-icon:before {font-size: 20px;content: "\f0c9";}
ul#mobile-nav-item-wrap-2 {text-align: center;}
@media screen and (max-width: 1200px) {
#header-sidebar .so-mobilenav-standard+* {display: block;}
#header-sidebar .so-mobilenav-mobile+* {display: none;}
  .widget .searchform input {width:92px;padding:0;}
}
ul#menu-language-menu img {max-width:50px;height:auto;}
@media screen and (max-width: 500px) {
	#masthead {padding: 0 20px;}
	ul#social-media-icon {justify-content: center;}
	ul#menu-language-menu img {max-width:40px !important;}
}

/* home page */
body.home .pagination {display: none;}
body.home h2.home-sect {margin-top:-30px;margin-bottom:0;}
p.more-link {padding-right:20px;}

.metaslider {padding-bottom:20px;}
.metaslider .flex-control-nav {bottom: 10px !important;right: 20px;}
.slider-wrapper {z-index: 100;height:100%;position:relative;}
.slider-text p {text-align: justify;padding-bottom:20px;}

@media only screen and (min-width: 1061px) {
  .slider-text {background: rgba(0, 4, 0, 0.50);width:32%;position: absolute;top:50%;margin-top:-140px;margin-left:20px;padding:20px;z-index:999;color:#fff !important;}
  .slider-text h3.widget-title {color:#fff;}
}
.home h2 {font-size:2.2em !important;padding: 20px;}

.home .wp-block-latest-posts.wp-block-latest-posts__list li {border-top: 1px solid #eee;padding-top:20px;margin: 20px;clear:both;min-height: 150px;}
.home a.wp-block-latest-posts__post-title {font-size:18px}
.wp-block-latest-posts__featured-image img {width: 165px;}
@media only screen and (min-width: 550px) {
	.home .wp-block-latest-posts__featured-image {float:left;padding-right:20px;}
}

.home .strong-view.wpmtst-default .strong-content {margin: 0;}
.home .strong-view.wpmtst-default {display: block;width: auto;margin:0;padding: 0 20px;}


/* number counter */
.statistics-inner {padding: 0px;}
.statistics {background: #fff;border: 1px solid #ebe7e7;margin: 10px !important;padding: 20px 0px;}
.stat .count-title {font-size: 1.25em;margin-bottom: 0;height:60px;}
.stat .number {color: #e95c41;font-size: 4em;}
.stat .fa {font-size: 4em;}
[id*="tf-stat-"] h3 {display:none !important;}

body:lang(en) #tf-stat-4793 .count-title:before {content:'Adverse drug reaction reports worldwide';}
body:lang(es) #tf-stat-4793 .count-title:before {content:'Informes de reacciones adversas';}
body:lang(zh) #tf-stat-4793 .count-title:before {content:'全球不良药物反应报告';}
body:lang(ru) #tf-stat-4793 .count-title:before {content:'Негативная реакция по миру';}
body:lang(hi) #tf-stat-4793 .count-title:before {content:'दुनिया भर में प्रतिकूल दवा प्रतिक्रिया रिपोर्ट';}

body:lang(en) #tf-stat-4792 .count-title:before {content:'Known suicides worldwide';}
body:lang(es) #tf-stat-4792 .count-title:before {content:'Suicidios reconocidos internacionalmente';}
body:lang(zh) #tf-stat-4792 .count-title:before {content:'全球已知的自杀事件';}
body:lang(ru) #tf-stat-4792 .count-title:before {content:'Случаи самоубийства по всему миру';}
body:lang(hi) #tf-stat-4792 .count-title:before {content:'दुनिया भर में ज्ञात आत्महत्याएं';}

body:lang(en) #tf-stat-4791 .count-title:before {content:'Nations warning of PFS';}
body:lang(es) #tf-stat-4791 .count-title:before {content:'Naciones alertando del SPF';}
body:lang(zh) #tf-stat-4791 .count-title:before {content:'发出PFS警告的国家';}
body:lang(ru) #tf-stat-4791 .count-title:before {content:'Страны предупреждают о ПФС';}
body:lang(hi) #tf-stat-4791 .count-title:before {content:'पीएफएस की चेतावनी देश';}

body:lang(en) #tf-stat-4790 .count-title:before {content:'PFS research studies published';}
body:lang(es) #tf-stat-4790 .count-title:before {content:'Estudios de investigación publicados';}
body:lang(zh) #tf-stat-4790 .count-title:before {content:'发表的PFS研究报告';}
body:lang(ru) #tf-stat-4790 .count-title:before {content:'Опубликованные исследования о ПФС';}
body:lang(hi) #tf-stat-4790 .count-title:before {content:'पीएफएस शोध अध्ययन प्रकाशित';}

body:lang(en) #tf-stat-4789 .count-title:before {content:'Doctors & researchers speaking out';}
body:lang(es) #tf-stat-4789 .count-title:before {content:'Doctores e investigadores opinando';}
body:lang(zh) #tf-stat-4789 .count-title:before {content:'医生和研究人员声明';}
body:lang(ru) #tf-stat-4789 .count-title:before {content:'Мнение врачей и исследователей';}
body:lang(hi) #tf-stat-4789 .count-title:before {content:'डॉक्टर और शोधकर्ता बोलते हैं';}

body:lang(en) #tf-stat-4788 .count-title:before {content:'National media reports worldwide';}
body:lang(es) #tf-stat-4788 .count-title:before {content:'Informes de medios nacionales';}
body:lang(zh) #tf-stat-4788 .count-title:before {content:'全球媒体报道';}
body:lang(ru) #tf-stat-4788 .count-title:before {content:'Национальные СМИ';}
body:lang(hi) #tf-stat-4788 .count-title:before {content:'राष्ट्रीय मीडिया दुनिया भर में रिपोर्ट करता है';}

/* patient services */
.services h3.wp-block-heading {padding:0;font-size:1.3em !important;}
.services {padding:0 20px;}

/* quilt styles */
.quilt-masonry {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/09/gray-check-fabricv2.png');padding: 20px;column-count: 3;column-gap: 30px;}
.quilt-masonry ul {gap: 0 !important;}
.quilt-masonry li {break-inside: avoid-column;margin-bottom: 20px !important;}
.quilt-masonry h2.wp-block-post-title {background:#d4d3d3;font-size: 2rem !important;text-align:left;padding: 10px 20px;margin:0;}
.quilt-masonry h2.wp-block-post-title a {pointer-events: none;cursor: default;} /*hides link on post title */
.quilt-masonry .entry-content {background:#fff;}
.quilt-masonry h2:not(.wp-block-post-title) {font-size:1.6em !important;line-height: 1;color: #3e3b3f;margin: 0px;padding:20px;text-align: left;}
.quilt-masonry h2:not(.wp-block-post-title):before,
	.quilt-masonry h2:not(.wp-block-post-title):after {font-family: "Font Awesome 6 Pro";font-weight: 900; color: #656565;font-size: .8em;}
.quilt-masonry .entry-content h2:not(.wp-block-post-title):before {content: "\f10d";padding-right: 10px;position:relative;top:-3px;}
.quilt-masonry .entry-content h2:not(.wp-block-post-title):after {content: "\f10e";padding-left: 10px;position:relative;bottom:-3px;}
.quilt-masonry .entry-content p {text-align: left;padding: 0 20px;margin: 0;}
.quilt-masonry .entry-content h3 {color: #3e3b3f;font-size: 1.1em;text-align:left;padding: 20px;margin:0;}
.quilt-masonry .entry-content h3:before {font-family: "Font Awesome 6 Pro";font-weight: 900;content: "\f068";padding-right: 2px;}
.quilt-masonry .entry-content h4 {font-size: 1.1em;text-align:left;margin:10px 20px;}
.quilt-masonry .entry-content img {width:100%;}

.condition {color: #fff !important;padding: 5px 15px;margin-top: -10px !important;margin-bottom: 10px !important;}
.improved {background: #4caf50;}
.no-improvement {background: #9e9e9e;}
.worse-bad {background: #f44336;;}
.unknown {background: #ffc107;}
.suicide {background: #000;}

/*home page quilt styles */
.quilt-masonry.sticky .entry-content {padding-bottom: 5px;height: 400px;overflow: hidden;text-overflow: ellipsis;content: "";position: relative;
    display: flex;flex-direction: column;}
.quilt-masonry.sticky .entry-content:before {content:'';width:100%;height:100%;position:absolute;left:0;top:0;
  background:linear-gradient(to bottom, transparent, #ffffff3d 29%, #ffffffab 83%, transparent 85%, transparent 100%)}
.quilt-masonry.sticky p {overflow: hidden;}
.quilt-masonry.sticky p:after {content: '...';}

.quilt-masonry a.wp-block-latest-posts__post-title {color: #255aa7;background: #d4d3d3;padding: 0 20px;font-size:2em;}
.quilt-masonry .wp-block-latest-posts__post-full-content {background-color: rgba(255,255,255);padding: 20px;}
.quilt-masonry li:nth-of-type(6n+0) {position: relative;background: linear-gradient(135deg, red, orange);padding: 3px;}
.quilt-masonry li:nth-of-type(6n+1) {position: relative;background: linear-gradient(135deg, orange, yellow);padding: 3px;}
.quilt-masonry li:nth-of-type(6n+2) {position: relative;background: linear-gradient(135deg, yellow, green);padding: 3px;}
.quilt-masonry li:nth-of-type(6n+3) {position: relative;background: linear-gradient(135deg, green, blue);padding: 3px;;}
.quilt-masonry li:nth-of-type(6n+4) {position: relative;background: linear-gradient(135deg, blue, indigo);padding: 3px;}
.quilt-masonry li:nth-of-type(6n+5) {position: relative;background: linear-gradient(135deg, indigo, violet);padding: 3px;}

@media screen and (min-width: 1200px) {
  .quilt-masonry.sticky {max-height:520px;}
}
@media screen and (max-width: 1199px) {
  .quilt-masonry.sticky {column-count: 1;}
  }
@media screen and (max-width: 900px) {
  .quilt-masonry {column-count: 1;}
  }
@media (min-width: 600px) {
.quilt-masonry li {width: 100% !important;}
}

/* flags */
.quilt-masonry h2.wp-block-post-title {background-repeat: no-repeat;background-position: 95%;background-size: 45px;}
.quilt-masonry ul li[class*="tag-usa"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/flag-usa.png');}
.quilt-masonry ul li[class*="tag-southafrica"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/flag-of-South-Africa.png');}
.quilt-masonry ul li[class*="tag-argentina"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Argentina.png');}
.quilt-masonry ul li[class*="tag-australia"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/flag-of-Australia.png');}
.quilt-masonry ul li[class*="tag-bolivia"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Bolivia.png');}
.quilt-masonry ul li[class*="tag-brazil"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Brazil.png');}
.quilt-masonry ul li[class*="tag-canada"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Canada.png');}
.quilt-masonry ul li[class*="tag-china"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/China.png');}
.quilt-masonry ul li[class*="tag-colombia"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Colombia.png');}
.quilt-masonry ul li[class*="tag-croatia"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Croatia.png');}
.quilt-masonry ul li[class*="tag-england"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/England.png');}
.quilt-masonry ul li[class*="tag-france"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/France.png');}
.quilt-masonry ul li[class*="tag-germany"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Germany.png');}
.quilt-masonry ul li[class*="tag-india"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/India.png');}
.quilt-masonry ul li[class*="tag-iraq"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Iraq.png');}
.quilt-masonry ul li[class*="tag-ireland"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Ireland.png');}
.quilt-masonry ul li[class*="tag-kuwait"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Kuwait.png');}
.quilt-masonry ul li[class*="tag-mexico"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Mexico.png');}
.quilt-masonry ul li[class*="tag-norway"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Norway.png');}
.quilt-masonry ul li[class*="tag-poland"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Poland.png');}
.quilt-masonry ul li[class*="tag-portugal"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/flag-of-Portugal.png');}
.quilt-masonry ul li[class*="tag-slovenia"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Slovenia.png');}
.quilt-masonry ul li[class*="tag-south-africa"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/flag-of-South-Africa.png');}
.quilt-masonry ul li[class*="tag-south-korea"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/flag-of-Korea-South.png');}
.quilt-masonry ul li[class*="tag-spain"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Spain.png');}
.quilt-masonry ul li[class*="tag-sweden"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Sweden.png');}
.quilt-masonry ul li[class*="tag-switzerland"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Switzerland.png');}
.quilt-masonry ul li[class*="tag-thailand"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Thailand.png');}
.quilt-masonry ul li[class*="tag-turkey"] h2.wp-block-post-title {background-image: url('https://www.pfsfoundation.org/wp-content/uploads/2020/10/Turkey.png');}
.quilt-masonry ul li[class*="tag-psa"] h2.wp-block-post-title {display: none;}


/*patient services */
#services-img {padding-top:0 !important;}

/*testimonials */
.strong-view.default .testimonial-inner {border:none;}
.strong-view.default .testimonial {border: none;border-bottom: 1px solid #eeeeee;}
.strong-view.default .readmore-page {border: none;text-align: right;}

/* news pages */
ul.wp-block-latest-posts__list.alignleft wp-block-latest-posts a.wp-block-latest-posts__post-title {font-size:1.9em;line-height: 1.35em;}
.news-excerpts ul li figure.wp-block-post-featured-image {max-width:150px !important;max-height:150px !important;}
.news-excerpts h2.wp-block-post-title {text-align:left !important;}

.publications a {font-weight:normal!important;} /*resets link style on Publications page */



/* map */
.imapsLabel foreignObject > div {white-space: nowrap;}
.imapsLabel foreignObject h2 {font-size:1em;margin:0;}
.imapsLabel foreignObject blockquote:before {font-family: "Font Awesome 6 Pro";font-weight: 900;color: #656565;font-size: .8em;content: "\f10d";padding-right: 10px;position: relative;top: -3px;}
.imapsLabel foreignObject blockquote {border-left:none;margin:0;padding-left:0;}
.imapsLabel foreignObject a {text-decoration:underline;font-weight:normal;}

/*footer*/
#footer-widgets .panel-grid {background-color:transparent;}
#footer-widgets .widget:first-of-type {width: 33%;}
#footer-widgets .widget:last-of-type {width: 66%;}
.ctct-form-defaults {background: rgba(255, 255, 255, 0.3) !important;}
.ctct-form-button  {background-color:#255AA7 !important;border:#255AA7 !important;}
.ctct-form-button:hover {background-color:#3f6fb3 !important;border:#255AA7 !important;}
.ctct-form-listitem {width: 50%;float: left;}
div.ctct-form-embed form.ctct-form-custom div.ctct-form-listitem label.ctct-form-checkbox-label, 
   div.ctct-form-embed form.ctct-form-custom div.ctct-form-listitem input[type="checkbox"].ctct-form-checkbox {display: initial;}

/* tablepress */
.entry-content table {margin: 0 auto;width: 90%;}
.tablepress tfoot th, .tablepress thead th {background-color: #ffffff;}
.tablepress-responsive * {word-break: break-word;}


/*tablepress - litigation pages */
h2.red-banner{font-size: 3rem;padding: 5px 10px;margin: 0;text-align: left;}
.subtitle {text-transform: none;font-weight: normal;font-size: .7em;}
.tablepress.litigation {line-height:1.1;}
.subhead {text-transform: capitalize;font-size:13px;font-style:italic;}
.tablepress.litigation h2 {line-height: 1;color: #3e3b3f;margin-top: 0px;}
.tablepress.litigation h2:before,
	.tablepress.litigation h2:after {font-family: "Font Awesome 6 Pro";font-weight: 900; color: #656565;font-size: .8em;}
.tablepress.litigation h2:before {content: "\f10d";padding-right: 10px;position:relative;top:-3px;} /*quote marks in media table */
.tablepress.litigation h2:after {content: "\f10e";padding-left: 10px;position:relative;bottom:-3px;} /*quote marks in media table */
.tablepress.litigation tbody tr td {font-size:1.2em;line-height: 1.3;}
.tablepress img {height:250px !important;width:auto !important;}
.tablepress.litigation tr p:first-child {margin-top: 0;}
.tablepress.litigation tr td a {font-weight:normal;}
.tablepress.litigation tr td strong a {font-weight:bold;}
.tablepress.litigation tfoot {font-size: 1.3em;}

@media only screen and (min-width: 601px) {
	.tablepress.litigation tr td:first-child {width:20%;}
	.tablepress.litigation tr td:nth-of-type(2) {width:20%;text-align: center;}
}
@media only screen and (max-width: 600px) {
	.tablepress.litigation table tr td {text-align: left;}
  /* .tablepress.litigation.personnel tbody .column-3:before {content:'Personnel:';float:none;}*/
  .tablepress.litigation.personnel tbody .column-3:before {content:'Document Date: ';float:none;}
  .tablepress.litigation.personnel tbody tr .column-4:before {content:'Document Length: ';float:none;}
 .tablepress.litigation.personnel tfoot tr .column-4:after {content: '*Unsealed by court order in 2021';font-size: .8em;
    font-style: italic;}
}

.anchor {scroll-margin-top: 100px;}


/* table styles */
table {border: 1px solid #ccc; border-collapse: collapse;  margin:0;  padding:0;  width: 100%;}
table tr {  border: 1px solid #ddd;  padding: 5px;}
table th, table td {  padding: 10px; text-align: center;}
table th {  font-size: 15px;  letter-spacing: 1px;  text-transform: uppercase;}
@media screen and (max-width: 600px) {
  table {    border: 0;  }
  table thead {    display: none;  }
  table tr {    border-bottom: 2px solid #ddd;    display: block;    margin-bottom: 10px;  }
  table td {    border-bottom: 1px dotted #ccc;    display: block;    font-size: 13px;    text-align: right;  }
  table td:last-child {    border-bottom: 0;  }
  table td:before {    content: attr(data-label);    float: left;    font-weight: bold;  }
}


/*spacing edits*/
.entry-header .entry-title {padding-bottom:0;}
#post-5305 {margin-bottom:0;} /*post loop margin under news*/
.page article[class*='category-'] .panel-grid-cell {padding-left:0px !important;}
#pg-6664-1 {margin-bottom:0;}



@media screen and (max-width: 580px) {
  article.post.post-with-thumbnail-icon .entry-thumbnail {
    margin:auto;
    float:none;
    width:auto;
    max-width:250px;}
}

/* snipe */
#new {background: url('https://www.pfsfoundation.org/wp-content/uploads/2020/12/new-bg.png') no-repeat;
    position: absolute;width: 167px;height: 57px;left: calc(100% - 145px);margin-top: 0;}
#new h3{color: #fff;transform: rotate(45deg);position: relative;z-index: 999;top: 43px;left: 37px;}
#new h3:lang(zh) {top: 105px;left: 68px;}

