/* @import url('http://example.com/example_style.css'); */

/**
 * CSS @imports must be at the top of the file.      
 * Add them above this section.                             
 */



/* ==========================================================================
   HS COS Boilerplate v1.5.0                                
   ========================================================================== */

/*  */

/* These includes are optional, but helpful. */
/* HTML 5 Reset */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}

audio, canvas, video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]) {
    display: none;
}

/* Support migrations from wordpress */

.wp-float-left {
    float: left;
    margin: 0 20px 20px 0;
}

.wp-float-right {
    float: right;
    margin: 0 0 20px 20px;
}

/* Responsive Google Maps */

#map_canvas img, .google-maps img {
    max-width: none;
}

/* line height fix for reCaptcha theme */
#recaptcha_table td {line-height: 0;}
.recaptchatable #recaptcha_response_field {min-height: 0;line-height: 12px;}







/* ==========================================================================
   Index:         
  1. BASE STYLES   
    - Variables
    - Macros
    - Base
    - Typography
  2. COS STRUCTURE
    - Structure
    - Header
    - Content
    - Footer
  3. MAIN NAVIGATION
    - Custom Menu Primary
    - Mobile Menu
  4. TEMPLATE MODULE CLASSES
    - Common Template Classes
    - Site Pages
    - Landing Pages
    - System Pages
  5. COS COMPONENTS
    - Blog
    - Forms
    - Buttons
  6. MISCELLANOUS
  7. MOBILE MEDIA QUERIES
   ========================================================================== */








/* ==========================================================================
   1. BASE STYLES                                             
   ========================================================================== */





/* ==========================================================================
   Variables                                               
   ========================================================================== */


/**
 * Find the most consistently used font styles, colors, and container widths 
 * for your site and assign them to the jinja variables below for easy use 
 * and reference. 
 *
 * Apply the variable as shown below.  Ignore the jingja comment tags.
 *
 * 
 */










/* Colors */
    /*  */
    /*  */
    /*  */
    /*  */
    /*  */
    /*  */

/* Typography */
            /*  */
                         /*  */
                          /*  */
 /*  */

/* Containers */
 /* Used on '.page-center' in 'Base' and in the 'Portrait tablet to landscape and desktop' media query */




/* ==========================================================================
   Macros                                                  
   ========================================================================== */


/** 
  * Create jinja macros for CSS3 properties that need browser prefixes.
  *
  * Apply the style as shown below on it's own CSS property line.  
  * Ignore the jinja comment tags. 
  *
  * 
  */

 

/** 
  * Example of how to apply the above macro (ignore the jinja comment tags):
  *
  * a {
  *   color: red;
  *   font-size: 12px;
  *    
  * }
  */




/* ==========================================================================
   Base                                                    
   ========================================================================== */


/** 
 * Box Sizing
 * 
 * Applies a natural box layout model to all elements so that width and padding 
 * are essentially combined, making responsive styles easier to manage.
 */

*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
} 

/* Website background color and default font styles */
body {
/*   padding-top: 72px; */
  background: #fff;
  color: #5F10DD;
  font-family: halyard-display, Sans-Serif;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 1px;
  font-weight: 300;
}

/**
 * Page Center
 *
 * Apply .page-center to full-width modules.
 */

.container-fluid .row-fluid .page-center {
  float: none;
  max-width: 1160px;
  margin: 0 auto;
}

a { color: #5F10DD; }
a:hover, a:focus { color: #2B096D; }

hr {
  color: #ccc;
  background-color: #ccc;
  height: 1px;
  border: none;
}

/* Highlighted Text */
::-moz-selection {
  color: #fff;
  background: #5F10DD;
  text-shadow: none;
}
::selection {
  color: #fff;
  background: #5F10DD;
  text-shadow: none;
}

/* Corrects width issues in table elements created via the wysiwyg editor */
table tr td img {
    max-width: initial;
}



/* ==========================================================================
   Typography
   ========================================================================== */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* Basic text */
p {font-size: 1.125rem;} 
small {font-size: 0.875rem;}
strong {font-weight: 400;}
em {}
cite {}
code {}
pre {}

sup, sub {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  color: #5F10DD;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {}

h1 {font-size: 5rem;     line-height: 4.5rem;    letter-spacing: 0px; margin-bottom: 2rem; }
h2 {font-size: 4rem;     line-height: 3.75rem;   letter-spacing: 0px; margin-bottom: 2rem; }
h3 {font-size: 3rem;     line-height: 2.75rem;   letter-spacing: 0px; margin-bottom: 2rem; }
h4 {font-size: 2rem;     line-height: 1.875rem;  letter-spacing: 0px; margin-bottom: 1rem; }
h5 {font-size: 1.5rem;   line-height: 1.5rem;    letter-spacing: 0px; margin-bottom: 1rem; }
h6 {font-size: 1.25rem;  line-height: 1.25rem;   letter-spacing: 0px; margin-bottom: .5rem; }

@media only screen and (max-width: 960px) {
  h1 {font-size: 3.5rem;   line-height: 3.25rem;    letter-spacing: 0px; margin-bottom: 2rem; }
  h2 {font-size: 3rem;     line-height: 2.75rem;   letter-spacing: 0px; margin-bottom: 2rem; }
  h3 {font-size: 2.5rem;   line-height: 2.5rem;   letter-spacing: 0px; margin-bottom: 2rem; }
  h4 {font-size: 2rem;     line-height: 1.875rem;  letter-spacing: 0px; margin-bottom: 1rem; }
  h5 {font-size: 1.5rem;   line-height: 1.5rem;    letter-spacing: 0px; margin-bottom: 1rem; }
  h6 {font-size: 1.25rem;  line-height: 1.25rem;   letter-spacing: 0px; margin-bottom: .5rem; }
}

/* Lists */
ul, ol {}
ul ul, ul ol, ol ol, ol ul {}
li {}

ul.unstyled, ol.unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Quotes */
blockquote {}
blockquote p {}
blockquote small {}
blockquote small:before {}

q:before, q:after, blockquote:before, blockquote:after {}

/* ==========================================================================
   Buttons
   ========================================================================== */

button,
.button,
.hs-button {
  display: inline-block;
  font-size: 1rem;
  line-height: 32px;
  font-weight: 300;
  background-color: #F9F8FB;
  box-shadow: inset 0 0 0 2px rgba(43,9,109,0);
  color: #5F10DD;
  border-radius: 240px;
  padding: 0 16px;
  text-decoration: none;
  transition: all .2s;
  border: none;
}

button:hover,
.button:hover,
.hs-button:hover {
  background-color: #F3F2F5;
}

button:active,
.button:active,
.hs-button:active {
  background-color: #F3F2F5;
  box-shadow: inset 0 0 0 2px rgba(43,9,109,.05);
}

button:focus,
.button:focus,
.hs-button:focus {
  outline: none;
  box-shadow: 0 0px 0px 2px #B9F9C0;
}

.button-lg,
.large {
  line-height: 48px;
  padding: 0 32px;
}

.primary-button,
.primary {
  background-color: #5F10DD;
  color: #fff;
}

.primary-button:hover,
.primary-button:active,
.primary-button:focus,
.primary:active,
.primary:hover,
.primary:focus{
  color: #fff;
}

.primary-button:hover,
.primary:hover {
  background-color: #4F07C1;
}

.primary-button:active,
.primary:active {
  background-color: #3F049E;
  box-shadow: inset 0 0 0 2px rgba(43,9,109,1);
}





/* Icon Buttons */

.icn-button {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  padding: 12px;
}

.icn-button svg {
  transition: transform .1s;
}

.icn-button:active svg {
  transform: scale(.95)
}


/* Header Shiz */

.header-container-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/* background: #fff;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #5F10DD;
    line-height: 32px;
    width: 100%;
    /* border-radius: 16px; */
/*     color: #5F10DD;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 1px; */
    /* padding: 0 16px; */
    /* box-shadow: 0 12px 16px; */


/* All Global Forms
   ========================================================================== */

/* Form Field */
body .hs-form-field {}

body .hs-form > a {
  margin-top: 2rem;
}

/* Descriptions */
body .hs-field-desc {}

/* Labels */
body label {
  font-size: 1rem;
}
body .hs-form-field > label {
  font-size: 1rem;
}

/* One Line Inputs */
body input[type="text"],
body input[type="password"], 
body input[type="datetime"], 
body input[type="datetime-local"], 
body input[type="date"], 
body input[type="month"], 
body input[type="time"], 
body input[type="week"], 
body input[type="number"], 
body input[type="email"], 
body input[type="url"], 
body input[type="search"], 
body input[type="tel"], 
body input[type="color"],
body input[type="file"],
body textarea,
body select {
  width: 100%;
  font-family: halyard-display, Sans-Serif;
  font-size: 1.125rem;
  line-height: 3rem;
  color: #5F10DD;
  font-weight: 300;
  letter-spacing: 1px;
  border: none;
  border-bottom: 1px solid #5F10DD;
  margin-bottom: 8px;
  padding: 0;
  border-left: 0px solid #5F10DD;
  transition: all .3s;
}

body input[type="text"]:focus,
body input[type="password"]:focus, 
body input[type="datetime"]:focus, 
body input[type="datetime-local"]:focus, 
body input[type="date"]:focus, 
body input[type="month"]:focus, 
body input[type="time"]:focus, 
body input[type="week"]:focus, 
body input[type="number"]:focus, 
body input[type="email"]:focus, 
body input[type="url"]:focus, 
body input[type="search"]:focus, 
body input[type="tel"]:focus, 
body input[type="color"]:focus,
body input[type="file"]:focus,
body textarea:focus,
body select:focus {
  padding-left: 8px;
  border-left: 8px solid #5F10DD;
  outline: none;
}

/* Separate Styles for Multiple Line Inputs */
body textarea {}
body textarea:focus {}

/* Separate Styles for Drop Downs */
body select {}
body select:focus {}

/* Multiple Selection Inputs */
body form.hs-form .hs-form-field ul.inputs-list {
  list-style: none;
  padding: 0;
}
body form.hs-form .hs-form-field ul.inputs-list li input {}
body input[type="radio"] {}
body input[type="checkbox"] {}

/* Required */
body input:focus:required:invalid, 
body textarea:focus:required:invalid, 
body select:focus:required:invalid {}

body input:focus:required:invalid:focus, 
body textarea:focus:required:invalid:focus, 
body select:focus:required:invalid:focus {}

/* Placeholder Text */
::-webkit-input-placeholder { /* Webkit Browsers */
   /* color: #555;
   opacity: 1; */
}
:-moz-placeholder { /* Firefox 18- */
   /* color: #555;
   opacity: 1; */
}
::-moz-placeholder { /* Firefox 19+ */
   /* color: #555;
   opacity: 1; */
}
:-ms-input-placeholder { /* IE10 */
   /* color: #555;
   opacity: 1; */
}


/* Form Module
   ========================================================================== */

/* Form Field */
.hs_cos_wrapper_type_form .hs-form-field {}

/* Descriptions */
.hs_cos_wrapper_type_form .hs-field-desc {}

/* Labels */
.hs_cos_wrapper_type_form label {}
.hs_cos_wrapper_type_form .hs-form-field > label {}

/* One Line Inputs */
.hs_cos_wrapper_type_form input[type="text"],
.hs_cos_wrapper_type_form input[type="password"], 
.hs_cos_wrapper_type_form input[type="datetime"], 
.hs_cos_wrapper_type_form input[type="datetime-local"], 
.hs_cos_wrapper_type_form input[type="date"], 
.hs_cos_wrapper_type_form input[type="month"], 
.hs_cos_wrapper_type_form input[type="time"], 
.hs_cos_wrapper_type_form input[type="week"], 
.hs_cos_wrapper_type_form input[type="number"], 
.hs_cos_wrapper_type_form input[type="email"], 
.hs_cos_wrapper_type_form input[type="url"], 
.hs_cos_wrapper_type_form input[type="search"], 
.hs_cos_wrapper_type_form input[type="tel"], 
.hs_cos_wrapper_type_form input[type="color"],
.hs_cos_wrapper_type_form input[type="file"],
.hs_cos_wrapper_type_form textarea,
.hs_cos_wrapper_type_form select {}

.hs_cos_wrapper_type_form input[type="text"]:focus,
.hs_cos_wrapper_type_form input[type="password"]:focus, 
.hs_cos_wrapper_type_form input[type="datetime"]:focus, 
.hs_cos_wrapper_type_form input[type="datetime-local"]:focus, 
.hs_cos_wrapper_type_form input[type="date"]:focus, 
.hs_cos_wrapper_type_form input[type="month"]:focus, 
.hs_cos_wrapper_type_form input[type="time"]:focus, 
.hs_cos_wrapper_type_form input[type="week"]:focus, 
.hs_cos_wrapper_type_form input[type="number"]:focus, 
.hs_cos_wrapper_type_form input[type="email"]:focus, 
.hs_cos_wrapper_type_form input[type="url"]:focus, 
.hs_cos_wrapper_type_form input[type="search"]:focus, 
.hs_cos_wrapper_type_form input[type="tel"]:focus, 
.hs_cos_wrapper_type_form input[type="color"]:focus,
.hs_cos_wrapper_type_form input[type="file"]:focus,
.hs_cos_wrapper_type_form textarea:focus,
.hs_cos_wrapper_type_form select:focus {}

/* Separate Styles for Multiple Line Inputs */
.hs_cos_wrapper_type_form textarea {}
.hs_cos_wrapper_type_form textarea:focus {}

/* Separate Styles for Drop Downs */
.hs_cos_wrapper_type_form select {}
.hs_cos_wrapper_type_form select:focus {}

/* Multiple Selection Inputs */
.hs_cos_wrapper_type_form form.hs-form .hs-form-field ul.inputs-list li input {}
.hs_cos_wrapper_type_form input[type="radio"] {}
.hs_cos_wrapper_type_form input[type="checkbox"] {}


/* Body Shiz */

.body-container-wrapper {}

.body-container .container-fluid {}

.body-container > .row-fluid-wrapper > .row-fluid > .span12 > .row-fluid-wrapper > .row-fluid,
.footer-container > .row-fluid-wrapper > .row-fluid > .span12 > .row-fluid-wrapper > .row-fluid {
  padding: 0 16px;
}

@media only screen and (min-width: 960px) {
  .span12 > .row-fluid-wrapper > .row-fluid {
     max-width: 1160px;
     margin: 0 auto;
   }
}

/* Footer Shiz */

.rivet-footer {
  padding: 2rem 0 6rem;
}

/* Utility Shiz */

.v-center > .row-fluid-wrapper {
  height: 100%;
  display: flex;
  justify-content: center;
}

.bottomless-header > div > span > h1,
.bottomless-header > div > span > h2,
.bottomless-header > div > span > h3,
.bottomless-header > div > span > h4,
.bottomless-header > div > span > h5,
.bottomless-header > div > span > h6 {
  margin-bottom: 0px;
}

.center-everything * {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Specific Shiz */
#hero-div {
  background: url("https://go.rivethealth.com/hubfs/2019%20Theme%20Assets/clouds4.svg") no-repeat right top;
  height: 800px;
  overflow: hidden;
  margin-bottom: 96px;
}

#hero-div > .row-fluid-wrapper > .row-fluid {
  display: flex;
  justify-content: center;
}

#hero-div > .row-fluid-wrapper > .row-fluid > .span6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#hero-div-nobg {
  height: 800px;
  overflow: hidden;
  margin-bottom: 96px;
}

.hero-h1 * {
  font-size: 5rem;
  line-height: 4.5rem;
  letter-spacing: 0px;
  margin-bottom: 2rem;
  margin-top: 0;
  font-weight: 400;
}

.seo-h1 h1 {
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 1rem;
    margin: 0;
    letter-spacing: 1px;
}

.row-fluid .hero-50-main .hero-50-outer .hero-50-right a {
    display: none !important;
}

@media only screen and (max-width: 960px){
  #hero-div {
    background-size: inherit;
    background-position: top center;
    height: auto;
    padding-top: 104px;
  }
  
  #hero-div > .row-fluid-wrapper > .row-fluid {
    display: flex;
    flex-direction: column;
  }
  
  .hero-text {
    order: 2;
  }
  
  .hero-image {
    order: 1;
    max-width: 100%;
  }
  
  .hero-image > .widget-type-linked_image {
    display: flex;
  }
  
  .hero-image > .widget-type-linked_image > span {
    text-align: center;
  }
  
  .hero-image > .widget-type-linked_image > span > img {
    max-width: 100%;
  }
}

.feature-row {
  margin-bottom: 10rem;
}

@media only screen and (max-width: 960px){
  #feature-div {
    margin: 8rem 0;
  }
  .feature-row {
    margin: 0;
  }
  .feature-row > .row-fluid-wrapper > .row-fluid > .span6 {
    margin-bottom: 6rem;
  }
  .feature-image > .widget-type-linked_image {
    display: flex;
  }
  
  .feature-image > .widget-type-linked_image > span {
    text-align: center;
  }
  
  .feature-image > .widget-type-linked_image > span > img {
    max-width: 90%;
  }
}

#reviews-div {
  background: url("https://go.rivethealth.com/hubfs/2019%20Theme%20Assets/clouds5.svg") no-repeat center top;
  padding: 10rem 0;
  width: inherit;
  overflow: scroll;
}

/* ==========================================================================
   Blog Stuff
   ========================================================================== */

.broad-header {
  padding-top: 6rem;
  width: 100%;
  background: #fff;
}

.broad-header h1 {
  margin-bottom: 1rem;
}

.rivet-container {
  max-width: 1192px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.blog-container {
  background: url('https://go.rivethealth.com/hubfs/2019%20Theme%20Assets/pattern-2.svg') repeat ;
  padding-top: 3rem;
}

.blog-container > .rivet-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.blog-card {
  display: flex;
  flex-direction: column;
  flex-basis: 378px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  text-decoration: none;
  height: 408px;
  transition: all .2s;
}

@media only screen and (max-width: 960px) {
  .blog-container > .rivet-container {
    justify-content: space-around;
  }
}

.blog-image-wrapper {
  height: 232px;
  overflow: hidden
}

.blog-image {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: all .4s;
}

.blog-card > h2 {
  font-size: 2rem;
  line-height: 2rem;
  margin: 1rem;
  text-decoration: none;
}

.blog-card:hover {
  box-shadow: 0 0 0 2px #5F10DD;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-div {
  max-width: 732px;
  padding: 0 16px;
  margin: 10rem auto;
}

/* ==========================================================================
   Landing Page Stuff
   ========================================================================== */

.landing-hero {
  min-height: calc(100vh - 72px);
  background: url("https://go.rivethealth.com/hubfs/2019%20Theme%20Assets/clouds4.svg") no-repeat top right;
  padding-top: 72px;
  display: flex;
  align-items: center;
}

.landing-hero.long > .rivet-container {
  align-items: flex-start;
}


.landing-hero > .rivet-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100%;
}

@media only screen and (max-width: 960px){
  .landing-hero > .rivet-container {
    flex-direction: column;
  }
  .right-stuff {
    order: -1;
    margin: 3rem 0;
   }
  .left-stuff {
    margin-bottom: 3rem;
  }
  .landing-hero {
    background-position: top center;
  }
}

.landing-hero > .rivet-container > div {
  flex: 1;
}

.right-stuff {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.right-stuff > span > img {
  max-width: 100%;
  max-height: 100%;
}

.right-stuff > span {
  width: 100%;
}

/* ==========================================================================
   E-books stuff
   ========================================================================== */

.ebooks-container {
  min-height: calc(100vh - 340px);
  padding-top: 40px;
  padding-bottom: 160px;
  overflow: hidden;
}

.ebooks-container > ul {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.ebooks-container > ul > li {
  display: block;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
  transition: all .3s;
  border-radius: 16px;
}

.ebooks-container > ul > li:hover {
  background: #F9F8FB;
}

.ebooks-container > ul > li > a {
  display: block;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

.ebooks-container > ul > li > a > img {
  display: block;
  margin: 0 auto;
  padding: 0;
  max-width: 90%;
}

@media only screen and (max-width: 960px){
  .ebooks-container > ul {
    flex-direction: column;
  }
}








