/*
 Theme Name:   Alfonso WI
 Theme URI:    https://wordpress.org/themes/twentyninteen/
 Description:  Custom theme built for Alfonso WI
 Author:       
 Template:     twentynineteen
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  alfonso-wi
*/

/* ========= COLOR REFERENCES ========= */
:root {
  --offWhite: #e5e6e6;
  --primary: #002b49;
  --secondary: #e1251b;
  --tertiary: #418bd8;
  --gray: #353535;
}

/* ==================================== */

/* ======== TABLE OF CONTENTS =========
	1. TYPOGRAPHY
	2. GLOBAL
	3. MAIN CONTENT
	- 3a. Home Page
	- 3b. Meet Page
  - 3c. Issues Page
  - 3d. Media Page
  - 3e. Footer
/* ==================================== */

/* ------------------------------ 
    1. Start Typography
------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6,
a,
ul,
.btn,
button {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  margin: 0;
}

h1,
.h1 {
  font-size: 120px;
  line-height: 1;
}

h2,
.h2 {
  font-size: 80px;
  line-height: 0.875;
  letter-spacing: 1.6px;
}

h3,
.h3 {
  font-size: 36px;
  line-height: 1;
}

h4,
.h4 {
  font-size: 26px;
}

h5,
.h5 {
  font-size: 21px;
}

p,
.p {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
}

small {
  font-size: 11px;
}

a,
.anchor-theme {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  text-decoration: none !important;
  transition: none;
  color: white;
  border: none;
  background: none;
}

a:hover,
a:focus,
.anchor-theme:hover,
.anchor-theme:focus {
  color: white;
  font-weight: 700;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.menu {
  display: flex;
  list-style: none;
  padding: 0 20px 0 0;
}

.menu-item {
  padding: 0 12px;
}

.main-menu-more {
  display: none;
}

.nav-link {
  padding: 0.5rem;
}

nav .current_page_item a {
  font-weight: 700;
  border-bottom: 2px solid var(--secondary);
}

/* ------------------------------ 
    1. End Typography
------------------------------ */

/* ------------------------------ 
    2. Start Global
------------------------------ */
@-ms-viewport {
  width: device-width;
}

html {
  font-size: 16px;
}

body {
  font-family: "Roboto Flex", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.3px;
  /* Adjust this on mobile to globally change P-tags :NOT H-tags) */
  background: var(--offWhite);
  color: var(--gray);
}

header .site-logo img {
  max-width: 196px;
}

.industry {
  font-family: "industry", sans-serif;
}

.pliego {
  font-family: "pliego", sans-serif;
}

.ls-13 {
  letter-spacing: 1.3px;
}

.ls-52 {
  letter-spacing: 5.2px;
}

.ls-100 {
  letter-spacing: 0.1em;
}

.ls-108 {
  letter-spacing: 10.8px;
}

.white {
  color: white !important;
}

.gray {
  color: var(--gray) !important;
}

.desktop {
  /* display: block !important; */
}

.mobile {
  display: none !important;
}

.fw-300 {
  font-weight: 300;
  /* Book */
}

.fw-400 {
  font-weight: 400;
  /* Regular */
}

.fw-500 {
  font-weight: 500;
  /* Medium */
}

.fw-700 {
  font-weight: 700;
  /* Bold */
}

.fw-800 {
  font-weight: 800;
  /* Black */
}

.italic {
  font-style: italic;
}

.normal {
  font-style: normal;
}

section {
  position: relative;
}

img {
  width: 100%;
}

hr {
  height: 2px !important;
  opacity: 1;
}

.bg {
  background: var(--bg);
}

.bg-blue {
  background: var(--blue);
}

.bg-white {
  background: var(--white);
}

.gform-button {
  height: 100%;
}

.gform_button {
  margin: 0 auto !important;
  padding: 8px 32px !important;
}

.gform-button,
.gform_button {
  font-weight: 700;
  color: white;
  border: none;
  border-radius: 4px;
  background: var(--secondary) !important;
  padding: 8px 16px;
}

button:hover,
button:focus {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

button:active {
  background-color: #c10912;
}

/* ------------------------------ 
    2. End Global
------------------------------ */

/* ------------------------------ 
    3. Start Main Content
------------------------------ */
/*  - 3a. Landing Page  */
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 0;
}

.embed-container iframe,
.embed-container object,
.embed-container embed,
.embed-container video {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-template-page-home .home-intro {
  padding: 362px 0 80px 0;
}

.image-gallery img {
  position: absolute;
}

.image-gallery [src*="square"] {
  width: 234px;
  height: 234px;
  flex-shrink: 0;
}

.image-gallery [src*="square_1"] {
  top: -486px;
  right: 0;
  transform: rotate(-5.073deg);
}

.image-gallery [src*="square_2"] {
  top: -227px;
  right: 0;
  transform: rotate(1.24deg);
}

.image-gallery [src*="square_3"] {
  width: 390px;
  height: 390px;
  top: 110%;
  left: 50%;
  transform: translate(-50%, -110%);
}

.image-gallery [src*="square_4"] {
  top: -486px;
  left: 0;
  transform: rotate(5.07deg);
}

.image-gallery [src*="square_5"] {
  top: -227px;
  left: 0;
  transform: rotate(-1.236deg);
}

.image-gallery [src*="horiz"] {
  width: 312px;
  height: 217px;
  top: -344px;
}

.image-gallery [src*="horiz_1"] {
  left: 211px;
  transform: rotate(-3.86deg);
}

.image-gallery [src*="horiz_2"] {
  right: 211px;
  transform: rotate(3.859deg);
}

.page-template-page-home hr.bg-tertiary {
  width: 98px;
}

.page-template-page-home hr.bg-secondary {
  width: 111.5px;
}

input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: var(--white);
}

input::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--white);
}

input:-ms-input-placeholder {
  /* IE 10+ */
  color: var(--white);
}

input:-moz-placeholder {
  /* Firefox 18- */
  color: var(--white);
}

.page-template-page-home .gform_wrapper {
  width: 636px;
  margin: 0 auto;
}

.gform_wrapper.gravity-theme .gform_fields {
  grid-column-gap: 8px !important;
}

.gform_wrapper.gravity-theme .gfield.gfield--width-third.gfield--type-name {
  grid-column: span 7 !important;
}

.gform_wrapper.gravity-theme .gfield.gfield--width-third.gfield--type-submit {
  grid-column: span 1 !important;
}

.gfield:nth-child(2),
.gfield:nth-child(3),
.ginput_container,
.name_first input,
.name_last input {
  margin: 0 !important;
}

.ginput_container_email input {
  width: 100% !important;
}

.name_first input,
.name_last input,
.ginput_container input {
  color: rgba(229, 230, 230, 0.5);
  background: transparent;
  border: 1px solid var(--tertiary);
  border-radius: 4px;
  padding: 8px 16px !important;
}

.name_first input:hover,
.name_last input:hover,
.ginput_container input:hover,
.name_first input:focus,
.name_last input:focus,
.ginput_container input:focus {
  color: rgba(229, 230, 230, 0.7);
}

.name_first input:active,
.name_last input:active,
.ginput_container input:active,
.name_first input:focus-visible,
.name_last input:focus-visible,
.ginput_container input:focus-visible {
  color: rgba(229, 230, 230, 1);
  outline: var(--tertiary) auto 1px;
}

form {
  position: relative;
}

.gform_confirmation_message {
  color: white;
  text-align: center;
  margin-bottom: 30px;
}

.home-for-section {
  padding: 80px 0;
}

.home-for-section .row:first-child,
.home-tiles {
  margin-bottom: 64px;
}

.home-for-section h2:nth-child(2) {
  padding-left: 80px;
}

.home-for-section h2:nth-child(3) {
  padding-left: 160px;
}

[src*="icon_page"] {
  width: 80px;
  height: 80px;
}

.home-tiles a .tile hr {
  transition: width 0.4s ease;
}

.home-tiles a:hover .tile hr {
  width: 180px;
}

/*  - 3b. Meet Page  */
.page-template-page-meet .splash {
  padding-top: 112px;
}

.page-template-page-meet hr.bg-primary {
  width: 238.5px;
}

.page-template-page-meet .splash hr.bg-secondary {
  width: 54px;
}

[src*="2_gallery_1a"],
[src*="2_gallery_2a"],
[src*="2_gallery_3a"],
[src*="2_gallery_4a"],
[src*="2_gallery_5a"] {
  width: 390px;
  height: 390px;
}

[src*="2_gallery_2b"],
[src*="2_gallery_3b"],
[src*="2_gallery_4b"],
[src*="2_gallery_5b"] {
  transform: rotate(-5.073deg);
}

[src*="2_gallery_2c"],
[src*="2_gallery_3c"],
[src*="2_gallery_4c"],
[src*="2_gallery_5c"] {
  transform: rotate(1.24deg);
}

.page-template-page-meet hr.bg-secondary {
  width: 80px;
}

.page-template-page-meet .container .row {
  margin-bottom: 32px;
}

.page-template-page-meet .container .row.meet-issues {
  margin-bottom: 0;
  padding: 96px 0;
  gap: 64px;
}

/*  - 3c. Issues Page  */
.page-template-page-issues .splash {
  padding: 72px 0;
}

.page-template-page-issues .splash img {
  height: 483px;
  object-fit: cover;
}

.page-template-page-issues .col-lg-8 {
  margin-top: -400px;
}

.page-template-page-issues .bg-white {
  margin-left: 85px;
}

.page-template-page-issues .splash hr.bg-primary {
  width: 292px;
}

.page-template-page-issues .splash hr.bg-secondary {
  width: 66px;
}

.page-template-page-issues .splash h4 {
  margin: 0 160px 0 230px;
}

.page-template-page-issues hr.bg-primary {
  width: 90.5px;
}

.issues-bio {
  margin: 80px 0;
}

.page-template-page-issues hr.bg-secondary {
  width: 50px;
}

.page-template-page-issues .issues-content-section hr.bg-secondary:last-child {
  width: 246px;
}

.page-template-page-issues [src*="icon"] {
  width: 40px;
}

/*  - 3d. Media Page  */
.page-template-page-media .splash img {
  height: 390px;
  object-fit: cover;
}

.page-template-page-media .d-grid {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 25px;
  row-gap: 16px;
}

.grid-one {
  grid-template-columns: repeat(1, 415px) !important;
}

.grid-two {
  grid-template-columns: repeat(2, 415px) !important;
}

.close {
  background: none;
  width: fit-content;
  max-width: none;
  border: none;
  color: var(--gray) !important;
  font-size: 24px;
  position: absolute;
  right: 15px;
  top: 15px;
  padding: 0 5px;
  cursor: pointer;
}

.close:focus,
.close:hover {
  box-shadow: none !important;
}

.close:active {
  background: transparent !important;
}

.press-releases .modal a {
  color: var(--tertiary) !important;
  font-weight: 700;
}

.join {
  padding: 37.5px 0;
}

.join .gform_wrapper.gravity-theme .gform_fields {
  grid-row-gap: 10px;
}

.gform_wrapper.gravity-theme .ginput_container_address .address_line_1 {
  margin-bottom: 10px !important;
}

.gform_wrapper.gravity-theme .ginput_container_address .address_city,
.gform_wrapper.gravity-theme .ginput_container_address .address_zip {
  margin-bottom: 0 !important;
}

.gform_wrapper.gravity-theme .ginput_container_address span {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.gform_wrapper.gravity-theme .ginput_address_city,
.gform_wrapper.gravity-theme .ginput_address_state,
.gform_wrapper.gravity-theme .ginput_address_zip {
  flex: 0 0 32% !important;
}

.gform_wrapper.gravity-theme .ginput_address_state {
  margin: 0 12px !important;
}

.ginput_address_state select {
  color: rgba(229, 230, 230, 0.5);
  background: transparent;
  border: 1px solid var(--tertiary);
  border-radius: 4px;
  height: 100%;
}

.gfield_checkbox {
  display: inline-flex;
  justify-content: space-between;
  width: 440px;
  flex-wrap: nowrap;
}

.gform_wrapper.gravity-theme .gfield_label {
  font-size: 15px !important;
  font-weight: 400 !important;
}

.gfield_checkbox .gchoice {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0 !important;
  border: none;
  font-size: 12px !important;
  margin-right: 8px !important;
}

input[type="checkbox"]:before {
  content: "\202A";
  font-size: 1.33em;
  text-align: center;
  line-height: 0.66;
  display: inline-block;
  width: 16px;
  height: 16px;
  color: var(--secondary);
  border: 1px solid white;
  border-radius: 5px;
  text-indent: 1px;
}

input[type="checkbox"]:checked:before {
  content: "\2713";
}

.gform_wrapper.gravity-theme .gfield-choice-input + label {
  color: rgba(229, 230, 230, 0.5) !important;
}

/*  - 3e. Footer  */
footer {
  padding: 64px 0 32px 0;
}

footer .site-logo img {
  width: 368px;
  max-width: 368px;
}

footer .border-white {
  width: fit-content;
}
/* ------------------------------ 
    3. End Main Content
------------------------------ */
