/*
 Theme Name:     Garrett Hurley Personal Website
 Author:         Chris Richter
 Template:       divi
 Version:        1.0.0
*/

@import url("../divi/style.css");

@import url("https://use.typekit.net/mle4gru.css");

@font-face {
   font-family: 'Gotham';
   src: url('fonts/ufonts.com_gotham-medium-opentype.otf');
}

/* =Theme customization starts here
------------------------------------------------------- */

/* Global */
body {
  font-size: 16px;
}

h1 {
  font-family: 'Rift', sans-serif;
  font-weight: bold;
}

h2, h3 {
  font-family: 'Gotham', sans-serif;
}

h1 {
  color: #7f3c57;
  font-size: 48px;
}

h2 {
  font-size: 24px;
  line-height: 1.125em;
}

a,
#top-menu li.current-menu-item > a {
  color: #7f3c57;
}

.light,
.light h1,
.light h2,
.light h3,
.light h4,
.light p,
.light a {
  color: white;
}

/* Buttons */
button {
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  padding: 14px 24px;
  text-transform: uppercase;
}

button.primary {
  background: #00a99d;
  border: none;
  color: white;
  -webkit-transition: all 0.5s; /* Safari 3.1 to 6.0 */
  transition: all 0.5s;
}

button.secondary {
  background: none;
  border: 1px solid #7f3c57;
  color: #7f3c57;
  -webkit-transition: all 0.5s; /* Safari 3.1 to 6.0 */
  transition: all 0.5s;
}

button.secondary.light {
  background: none;
  border-color: white;
  color: white;
  -webkit-transition: all 0.5s; /* Safari 3.1 to 6.0 */
  transition: all 0.5s;
}

button.primary:hover {
  background: #763951;
  color: #white;
}

button.secondary:hover {
  background: #763951;
  border-color: #763951;
  color: white;
}

button.secondary.light:hover {
  background: white;
  border-color: white;
  color: #763951;
}

.gform_footer input[type="submit"],
.form-submit .et_pb_button,
.reply-container .et_pb_button {
  background: #00a99d;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 24px;
  text-transform: uppercase;
  -webkit-transition: all 0.5s; /* Safari 3.1 to 6.0 */
  transition: all 0.5s;
}

.gform_footer input[type="submit"]:hover {
  background: #763951;
  color: #white;
}

.reply-container .et_pb_button,
.form-submit .et_pb_button {
  border-radius: 0;
}

.reply-container .et_pb_button:hover,
.form-submit .et_pb_button:hover {
  background: #763951;
  color: #white;
  padding: 10px 24px;
}

.reply-container .et_pb_button::after {
  content: none;
}

.single-text-column {
  padding: 0 10%;
}

.center-collapse {
  text-align: center;
}

/* CTAs*/
.cta {
  background: url('../../uploads/sites/52/2017/08/world-map-bg.png') no-repeat center, #4c1f34;
  background-size: 800px auto;
  padding: 30px 0 !important;
}

.cta,
.cta h2,
.cta h3 {
  color: white;
  text-align: center;
}

.cta h2 {
  font-family: 'Rift', sans-serif;
  font-size: 36px;
  font-weight: bold;

}

.cta h3 {
  font-size: 18px;
}

.cta-min {
  padding: 0 !important;
}

.cta-min,
.cta-min h2,
.cta-min h3 {
  text-align: left;
}

/* Header */
#top-header {
  background-color: black;
  border-bottom: 1px solid #353535;
}

#main-header {
  font-family: 'Gotham', sans-serif;
  text-transform: uppercase;
}

#et-top-navigation {
  float: left;
  font-weight: 500;
  padding-left: 190px;
}

#et-top-navigation #top-menu-nav ul:before {
  content: "/";
  margin-right: 40px;
}

#top-menu a,
#top-header a {
  color: #999999;
}

/* Divi jumping header fix */
.et_pb_section_0 {
  padding-top: 167px !important;
}

/*Mobile Menu*/
#mobile_menu {
	background-color: black !important;
}

/* Footer - Custom */
.footer-contact {
  background: url('../../uploads/sites/52/2017/09/footer-bg.jpg') no-repeat, #7f3c57;
  background-position: 100% 20%;
  padding: 60px 0;
}

.footer-contact h2 {
  font-family: 'Rift', sans-serif;
  font-size: 36px;
  font-weight: bold;
}

.footer-contact h3 {
  font-size: 18px;
}

.contact-info .name {
  font-weight: bold;
}

.contact-info ul {
  list-style-type: none;
  padding-left: 0;
}

.contact-info ul li .icon {
  display: inline-block;
  margin-right: 6px;
  text-align: center;
  width: 14px;
}

.footer-contact .contact-info {
  padding: 40px 0;
}

.footer-contact #brokercheck {
  border-top: 1px solid white;
  margin-top: 40px;
  padding-bottom: 0;
}

.footer-contact #brokercheck .brokercheck-button,
.footer-contact #brokercheck .disclaimer {
  float: left;
}

.footer-contact #brokercheck .brokercheck-button {
  width: 30%;
}

.footer-contact #brokercheck .disclaimer {
  margin-left: 2%;
  padding-top: 4px;
  width: 68%;
}

.footer-bottom {
  background: #4c1f34;
}

.footer-bottom #social-icons {
  font-size: 24px;
}

.footer-bottom #social-icons ul li {
  display: inline-block;
  float: left;
  margin-right: 20px;
}

.footer-bottom #copyright {
  float: right;
  font-size: 12px;
}

.footer-bottom #copyright img {
  position: relative;
  top: 1px;
  width: 80px;
}

/* Home */
#hero {
  background: url('../../uploads/sites/52/2017/11/hurley-hero-bg-masked.png') no-repeat, black;
  background-position: 90% 100px;
  padding: 250px 0 140px !important;
}

#hero h1 {
  text-shadow: 0px 0px 20px rgba(0,0,0,0.5);
  width: 60%;
  font-weight: bold;
}

h1.hero-text {
  color: white;
  font-family: 'Gotham', sans-serif;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 6px;
  line-height: 1.125;
  text-transform: uppercase;
}

.hero-text-big {
  color: #763951;
  display:inline-block;
  font-family: 'Rift', sans-serif;
  font-size: 90px;
  letter-spacing: 0;
  margin-bottom: 6px;
}

#see-financial-planning {
  background: url('../../uploads/sites/52/2017/09/planning-chart.png') no-repeat;
  background-size: cover;
  text-align: center;
  padding-top: 170px;
  height: 300px;
}

.disclaimer {
  font-size: 12px;
  line-height: 1.5;
}

.coming-soon {
  background-color: #763951;
  color: white;
  display: inline-block;
  font-size: .9em;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 6px;
  text-transform: uppercase;
}

/* About */
#about h1 {
  margin-top: 60px;
}

#about-profile-pic {
  background: url('../../uploads/sites/52/2017/09/hurley-about-profile-picture-flexible.jpg') no-repeat;
  background-position: 42% 0;
  background-size: cover;
  width: 100%;
  height: 400px;
}

/* Book */
ul.book-sellers {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

ul.book-sellers li {
  width: 100px;
  height: 60px;
  margin: .5rem 1rem;
}

ul.book-sellers li a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

ul.book-sellers li a img {
  max-width: 100%;
  max-height: 100%;
}

/* Work With Garrett */
#work-with-hero {
  background: url('../../uploads/sites/52/2017/09/work-with-garrett-hero-bg.jpg') no-repeat, #4c1f34;
  background-position: 60% 0;
}

#work-with-overview p {
  padding-bottom: 40px;
  padding-top: 20px;
}

.work-with {
  clear: both;
  margin-bottom: 60px !important;
  display: inline-block;
}

.work-with img {
  float: left;
  width: 30%;
}

.work-with p {
  width: 70%;
  padding: 0 40px;
  vertical-align: top;
}

.work-with img,
.work-with p {
  display: inline-block;
}

.work-with:nth-child(even) {
  text-align: right;
}

.work-with:nth-child(even) img {
  float: right;
}

#community {
  background: -moz-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.8) 100%), url('../../uploads/sites/52/2017/11/community-service.jpg') no-repeat;
  background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.8) 100%), url('../../uploads/sites/52/2017/11/community-service.jpg') no-repeat;
  background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.8) 100%), url('../../uploads/sites/52/2017/11/community-service.jpg') no-repeat;
  background-position: -40px -40px;
  background-size: 1200px auto;
}

.quote-container {
  background-image: url('../../uploads/sites/52/2017/08/quote-box-bg-1.png'), url('../../uploads/sites/52/2017/08/quote-box-bg-2.png');
  background-position: left top, right bottom;
  background-repeat: no-repeat, no-repeat;
  background-size: auto;
}

.quote-wrapper {
  margin: 0 auto;
  width: 80%;
}

.quote-box {
  background: #e6e6e6;
  color: black;
  padding: 40px;
}

.quote-tail {
  background: url('../../uploads/sites/52/2017/08/quote-tail.png');
  display: block;
  height: 54px;
  width: 54px;
  position: relative;
  left: 10%;
  top: 0;
}

/* Services */
.service-item {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 40px !important;
  padding-bottom: 18px;
}

.service-item .icon {
  display: inline-block;
  float: left;
  width: 20%;
  text-align: center;
}

.service-item .icon img {
  max-width: 80%;
}

.service-item .description {
  display: inline-block;
  width: 80%;
}

.service-item .description h3 {
  font-size: 18px;
}

.service-item .description p {
  padding-bottom: 20px;
}

/* Quiz */
#quiz-landing {
  background: url('../../uploads/sites/52/2017/09/hurley-quiz-bg.jpg') no-repeat;
  background-position: 75% 100px;
  background-size: auto 800px;
}

#quiz-landing-container {
  padding: 120px 0 160px 0;
}

#quiz-landing-container h1 {
  font-size: 60px;
}

#quiz-landing-container button {
  font-size: 24px;
  padding: 16px 24px;
}

/* Contact */
#gform_wrapper_1 {
  padding: 10px 30px 40px;
  border: 1px solid #dadada;
}

#gform_wrapper_1 .gform_footer {
  text-align: center;
}

.contacts .contact-info {
  margin: 0 40px;
}

.contacts .contact-info.left {
  float: right;
}

.contacts .contact-info p {
  margin-bottom: 10px;
}

#gform_confirmation_message_1 {
	background: #baf3ef;
	text-align: center;
	border: 1px solid #00a99d;
	padding: 20px;
}

/* Newsletter Sign Up */
#gform_wrapper_2 {
  margin-bottom: 0;
}

#gform_2 {
  display: inline;
  text-align: center;
}

#gform_2 label {
  display: none;
}

#gform_2 ul li {
  padding-right: 0;
}

#gform_2 input[type="text"] {
  height: 38px;
  border: none;
}

/* Press - Press Hits*/
.press-hits {
  display: flex;
  flex-wrap: wrap;
}
.press-hit {
  flex-basis: 100%;
}
.press-container {
  display: flex;
  align-items: center;
}
.press-img-container {
  flex-basis: 120px;
  height: 80px;
}
.press-img-container a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.press-img-container img {
  max-height: 100%;
  max-width: 100%;
}

.press-text-container {
  flex-basis: auto;
  padding-left: 1.5rem;
  margin-left: 1.5rem;
  border-left: 1px solid #ccc;
}

.press-hit h3 {
  color: black;
  font-size: 18px;
}

.press-hit .date {
  color: gray;
  font-size: 14px;
}

/*Press - Downloads */
#downloads {
  background: #f3f3f3;
}

.download {
  float: left;
}

/* Blog */
h1.blog-header {
  margin-bottom: 40px;
}

.post-date {
  background: black;
  color: #d9d9d9;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 6px 1px;
  padding: 0 10px;
}

#sidebar,
#sidebar h4 {
  font-family: 'Gotham', sans-serif;
}

#sidebar h4 {
  border-bottom: 1px solid #e2e2e2;
  color: black;
  font-size: 16px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

#sidebar ul li {
  font-size: 14px;
}

.widget_search input#searchsubmit {
  background: #7f3c57;
  text-transform: uppercase;
  font-weight: bold;
  font-family: "Gotham", sans-serif;
  color: white;
  width: auto;
}

.widget_search input#s {
  background: #eee;
  border: none;
}

.widget_search #s {
  border-radius: 0;
}

iframe#iFrameResizer0 {
  height: 400px !important;
}

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
  #hero {
    background-position: 85% 100px;
  }

  #hero h1 {
    width: 100%;
  }

  .work-with p {
    padding-top: 20px;
    width: 50%;
  }

  #community {
    background: -moz-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 59%, rgba(0,0,0,1) 100%), url('../../uploads/sites/52/2017/11/community-service.jpg') no-repeat;
    background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 59%,rgba(0,0,0,1) 100%), url('../../uploads/sites/52/2017/11/community-service.jpg') no-repeat;
    background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 59%,rgba(0,0,0,1) 100%), url('../../uploads/sites/52/2017/11/community-service.jpg') no-repeat;
    background-size: cover, 60% auto;
    background-position: left center;
  }

  .footer-contact {
    background-position: 80% 20%;
  }

  #quiz-landing {
    background: url('../../uploads/sites/52/2017/09/hurley-quiz-bg.jpg') no-repeat 80% -15%;
  }
}

/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
  #hero {
    background-position: 85% 100px;
  }

  #hero h1 {
    width: 100%;
  }

  .work-with p {
    padding-top: 20px;
    width: 60%;
  }

  #community {
    background: -moz-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.8) 100%), url('../../uploads/sites/52/2017/11/community-service.jpg') no-repeat;
    background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.8) 100%), url('../../uploads/sites/52/2017/11/community-service.jpg') no-repeat;
    background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.8) 100%), url('../../uploads/sites/52/2017/11/community-service.jpg') no-repeat;
    background-size: 1505px auto;
    background-position: -100px -60px;
  }
}

/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
  #hero {
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0.8) 100%), url('http://garrett-hurley.amsystem.wpengine.com/wp-content/uploads/sites/52/2017/09/hurley-hero-bg-masked.png') no-repeat, black;
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 50%,rgba(0,0,0,0.8) 100%), url('http://garrett-hurley.amsystem.wpengine.com/wp-content/uploads/sites/52/2017/09/hurley-hero-bg-masked.png') no-repeat, black;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 50%,rgba(0,0,0,0.8) 100%), url('http://garrett-hurley.amsystem.wpengine.com/wp-content/uploads/sites/52/2017/09/hurley-hero-bg-masked.png') no-repeat, black;
    background-repeat: no-repeat;
    background-position: right 40px;
  }

  #hero h1 {
    width: 60%;
  }

  /* Divi jumping header fix */
  .et_pb_section_0 {
    padding-top: 129px !important;
  }

  .single-text-column {
    padding: 0;
  }

  .footer-contact {
    background-size: cover;
    background-position: 20%;
  }

  .footer-contact #brokercheck .brokercheck-button,
  .footer-contact #brokercheck .disclaimer {
    float: none;
    width: 100%;
  }

  .footer-contact #brokercheck .disclaimer {
    margin-left: 0;
    padding-top: 20px;
  }

  .work-with p {
    width: 70%;
    padding: 0 0 0 40px;
  }

  .work-with:nth-child(even) {
    text-align: left;
  }

  .work-with:nth-child(even) img {
    float: left;
  }

  #community {
    background: -moz-linear-gradient(left, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0.8) 100%), url('../../uploads/sites/52/2017/11/community-service.jpg') no-repeat;
    background: -webkit-linear-gradient(left, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0.8) 100%), url('../../uploads/sites/52/2017/11/community-service.jpg') no-repeat;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%,rgba(0,0,0,0.8) 100%), url('../../uploads/sites/52/2017/11/community-service.jpg') no-repeat;
    background-position: center center;
    background-size: cover;
  }

  .service-item .icon {
    display: block;
    float: none;
    margin-bottom: 20px;
    text-align: left;
  }

  .service-item .description {
    display: block;
    width: 100%;
  }

  .contacts .contact-info {
    margin: 0;
  }

  .contacts .contact-info.left {
    float: none;
  }

  .footer-contact {
    background-position: 80% 0;
  }

  #quiz-landing {
    background: linear-gradient(rgba(255,255,255,0.9),rgba(255,255,255,0.9)), url('../../uploads/sites/52/2017/09/hurley-quiz-bg.jpg') no-repeat;
    background-size: auto, cover;
  }
}

/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
  .hero-text-big {
    font-size: 72px;
    line-height: .9;
  }
}

/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
  #hero {
    background-size: 100%, 300px;
    background-position: bottom, right 40px;
    padding: 220px 0 40px !important;
  }

  #hero h1 {
    width: 100%;
  }

  .hero-text-big {
    font-size: 60px;
    line-height: .9;
  }

  .center-collapse {
    text-align: left;
  }

  #work-with-overview p {
    padding-bottom: 0;
    padding-top: 0;
  }

  iframe#iFrameResizer0 {
    height: 500px !important;
  }

  #quiz-landing {
    background-position: 60%;
  }

  #quiz-landing-container {
    padding: 120px 0 0 0;
  }
  .press-container {
    flex-wrap: wrap;
  }

  .press-img-container {
    flex-basis: 100px;
    margin-bottom: 1rem;
    height: auto;
  }
  
  .press-text-container {
    flex-basis: 100%;
    padding-left: 0;
    margin-left: 0;
    border-left: none;
  }
}

/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
  #hero {
    background-size: 316px;
    background-position: right bottom;
    padding: 230px 0 40px !important;
  }

  .footer-contact {
    background-position: 50%;
  }

  .work-with img,
  .work-with:nth-child(even) img {
    float: none;
    width: 100%;
    display: block;
  }

  .work-with p {
    width: 100%;
    vertical-align: bottom;
    display: block;
    padding: 0;
    margin-top: 20px;
  }

}

/*** iPhone5 fix ***/
@media all and (max-width: 320px) {
  #hero {
    background-size: 260px;
    background-position: right bottom;
    padding: 160px 0 40px !important;
  }

  h1.hero-text {
    font-size: 14px;
  }

  .hero-text-big {
    font-size: 48px;
  }
}
