/*
Theme Name: Salud 2023 theme
Author: Gragg Advertising
Version: 0
*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type="button"],[type="reset"],[type="submit"],button{-webkit-appearance:button}[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checklist"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

/* vars/fonts */
:root {
	--buttons-background: #00aa49;
	--form-background: #e0e0e0;
	--headers-background: #3e60ad;
	--secondary-background: #d1e8ce;
	--body-type-dark: #000000;
	--body-type-light: #ffffff;
	--body-type-medium: #d3d3d3;
	--overlay-light: rgba(255,255,255,0.75);
	--overlay-dark: rgba(62,96,173,0.75);
}
/*
	@font-face {
  font-family: Lora;
  src: url(fonts/Lora-VariableFont_wght.ttf);
}
@font-face {
  font-family: Montserrat;
  src: url(fonts/Montserrat-VariableFont_wght.ttf);
}
*/

/* screenreader */
.sr-only {border:0; clip:rect(0, 0, 0, 0); height:1px; overflow:hidden; padding:0; position:absolute; white-space:nowrap; width:1px}
.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto; height:auto; overflow:visible; position:static; white-space:normal; width:auto}
#skipnav {background-color: #2c713c; display: inline-block; color: #fff; left: 0; padding: 0.5em 1em; position: absolute; text-decoration: none; top: 0; z-index: 10}

/* general */
html {height: 100%; scroll-behavior: smooth}
body {background-color: var(--body-type-light); color: var(--body-type-dark); font-family: 'Montserrat', sans-serif; min-height: 100%; position: relative}
/*main p, main li {font-family: 'Lora', serif;}*/
h1, h2, h3, h4, h5, h5, h6 {color: var(--buttons-background); margin: 1rem 0}
main h1, main h2, main h3, main h4, main h5, main h6 {font-family: 'Barlow Condensed', sans-serif}
.section.altcolor h1, .section.altcolor h2, .section.altcolor h3, .section.altcolor h4, .section.altcolor h5 .section.altcolor h6 {color: var(--body-type-dark)}
h1 {font-size: 300%}
h2 {font-size: 250%}
h1::after, h2::after, .post_date::after {border-bottom: 4px solid; content: ""; display: block; padding-bottom: 1rem; width: 6rem}
.center h1::after, .center h2::after, .center h3::after, .center h4::after, .center h5::after, .center h6::after {margin: 0 auto}
h3, h4 {font-size: 150%; margin: 0.8em 0}
h5, h6 {font-size: 100%}
main p, main ol, main ul, main li {font-size: 130%; margin: 1rem 0}
main p, main ol, main ul {line-height: 1.4}
main li {line-height: 1}
#main .container, #footer .container {padding: 0 1em}
.container > :first-child, .copy > :first-child, .copyholder > :first-child {margin-top: 0}
.container > :last-child, .copy > :last-child, .copyholder > :last-child {margin-bottom: 0}
.mt-wrap {border-collapse: collapse; border-style: hidden; display: table; table-layout: fixed; width: 100%}
.mt-row {display: table-row}
.mt-cell {border: 1em solid transparent; display: table-cell; vertical-align: top}
img.check {display: inline-block}
.button {color: inherit; font-weight: bold; text-decoration: none}
.leftarrow {transform: scaleX(-1)}

/* forms */
.theme-form .field {margin: 1em 0}
.theme-form input[type=email], .theme-form input[type=submit], .theme-form input[type=tel], .theme-form input[type=text], .theme-form select, .theme-form textarea {background-color: var(--form-background); border: none; box-sizing: border-box; padding: 0.5em 1em; width: 100%}
.theme-form input[type=submit] {background-color: var(--buttons-background); border: none; color: var(--body-type-light); cursor: pointer;}
.theme-form textarea {height: 4em; min-height: 2.25em; resize: vertical}
.theme-form textarea.comments {display: none}

/* header */
#header {background-color: var(--body-type-light); color: var(--body-type-dark); font-family: 'Barlow Condensed', sans-serif; position: sticky; top: 0; z-index: 1}
#topbar, #logomenubar {display: table; table-layout: fixed; width: 100%}
#topbar_search {display: none}
#topbar_phone, #topbar_rfi, #logomenubar_logo, #logomenubar_menu {display: table-cell; vertical-align: middle}
#topbar_phone, #topbar_rfi {color: var(--body-type-light); padding: 0.5em 1em; text-align: center; text-decoration: none}
#topbar_phone {background-color: var(--headers-background)}
#topbar_rfi {background-color: var(--buttons-background)}
#topbar_phone img {display: none}
#logomenubar_logo img {display: block}
#logomenubar_menu {text-align: right}
#top_menutoggle {background-color: transparent; border: none; color: var(--buttons-background); cursor: pointer; font-size: 350%; line-height: 1}

/* footer */
#footer {background-color: var(--secondary-background); color: var(--body-type-dark); padding: 1em 0; text-align: center}
#footer a {color: inherit}
.footercol {margin: 2em 0}

/* hero */
#hero_copy {background-color: var(--buttons-background); color: var(--body-type-light); padding: 4em 0}
#hero_copy h1 {color: inherit; font-size: 300%; font-weight: normal; line-height: 1.1}
#hero_copy h1 .subheading {display: block; font-size: 60%}
#hero_img {background-position: center; background-size: cover; padding-bottom: 100%}
/*home*/
body.home #hero_copy {border: 2em solid var(--headers-background); border-bottom-width: 0; border-top-width: 0}

/* footer CTA */
#footerCTA {background-color: var(--buttons-background); background-size: cover; color: var(--body-type-light); padding: 4em 0; text-align: center}
#footer_cta_cta {font-size: 200%; margin-bottom: 1em}
#footerCTA.hasBG {position: relative; z-index: 0}
#footerCTA.hasBG::before {background-color: var(--overlay-dark); content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 100%}
#footerCTA.hasBG #footer_cta_wrap {position: relative; z-index: 1}

/* posts */
.blogpost {background-color: var(--secondary-background); background-size: cover; color: var(--body-type-dark); margin: 2em 1em; padding: 3em 1em 5em; position: relative; z-index: 0}
.blogpost::before {background-color: var(--overlay-light); content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 100%}
.blogpost a, .blogpost p {color: inherit; position: relative; text-decoration: none; z-index: 1}
.blogpost .post_date {font-size: 90%}
.blogpost .post_title {font-size: 112.5%; font-weight: bold}
.blogpost .post_link {background-color: var(--buttons-background); bottom: 0; color: var(--body-type-light); padding: 1em; position: absolute; right: 0; z-index: 1}
.paginationwrap {margin: 2rem 0; text-align: center}
.pagination {color: var(--buttons-background); font-size: 125%}
.pagination a {color: inherit; font-weight: bold}
.pagination .page-numbers {display: inline-block; margin: 0 0.25rem}

/* sections */
.section {margin: 4em 0}
.section.altcolor {background-color: var(--secondary-background); padding: 4em 0}
.copy.center {text-align: center}

/*boxes*/
.boxes_section .copy {margin-bottom: 2em}
.box {background-color: var(--headers-background); background-clip: padding-box; color:var(--body-type-light); margin: 1em; padding: 2em; text-align: center}
.altcolor .box {background-color: var(--body-type-light); color: var(--body-type-dark)}
.boxes.over .box {text-align: left}
.box h1, .box h2, .box h3, .box h4, .box h5, .box h6 {font-size: 150%; color: inherit;}
.box h1 .countup, .box h2 .countup, .box h3 .countup, .box h4 .countup, .box h5 .countup, .box h6 .countup {font-size: 200%}
.box h1::after, .box h2::after, .box h3::after, .box h4::after, .box h5::after, .box h6::after {display: none}
.boxes.over .box h1, .boxes.over .box h2,.boxes.over .box h3, .boxes.over .box h4, .boxes.over .box h5, .boxes.over .box h6 {border-top: 2px solid; padding-top: 0.5em}

/*people*/
.person {background-color: var(--headers-background); color: var(--body-type-light); margin: 2em 0}
.personImg {  background-color: var(--secondary-background); background-size: cover; padding-bottom: 100%}
.personInfo {padding: 1em}
.personName {font-size: 125%; font-weight: bold; margin-bottom: 0}
.personTitle {margin: 0.5em 0}
.personBtn {text-align: right}

/*row*/
.row .copyholder, .row .imgholder {margin: 2em 0}
.row .imgholder, .collage_img {background-clip: padding-box; background-position: center; background-size: cover}
.row.img .imgholder, .row .collage_img {background-color: var(--secondary-background)}
.row.img .imgholder::after {content: ""; display: block; padding-bottom: 61.8033%}
.collage_cell {border-width: 0.5em}
.collage_img {padding-bottom: 50%}
.collage_row.one_img .collage_img {transform: translateX(50%)}

/*video/image*/
.vid_bg {background-size: cover; padding-bottom: 50%}
.vid_bg.hasVid {min-height: 7em; padding-bottom: calc(50% - 7em); overflow: hidden; position: relative}
.vid_bg .playbutton {background-image: url('img/play.svg'); color: transparent; display: block; height: 6em; left: 50%; overflow: hidden; position: absolute; top: 50%; transform: translate(-50%,-50%); width: 6em}

/* single post */
.post_img {display: block; margin: 2em auto}

/* carousel */
.carousel_next, .carousel_prev {background: none; border: none; padding: 0 0.5em}
.carouselNav {font-size: 200%; text-align: center}