/*
Theme Name: Thrive Beyond 2019
Author: Paul Seymour
Author URI: https://onemantwodogs.com/
Description: Extension of wp-bootstrap-starter - thanks to the original authors
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: thrive-beyond-2019
Tags:
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Woocommerce
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

html, body {
  margin: 0;
  -webkit-font-smoothing: auto;
    overflow:auto; 
    height:100%;
}

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

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

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

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
    text-decoration:none;
    color:#333;
}

a:active,
a:hover {
  outline: 0;
    text-decoration:none;
    color:#333;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

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

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 2.5rem;
}

hr {
  box-sizing: content-box;
  height: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: lighter !important;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body {
    font-family: 'Cardo', serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Yesteryear', cursive;
    clear: both;
    color: #555;
    margin-top: 2px;
    margin-bottom: 5px;
}
h1 {
  font-size: 64px;
  padding-bottom: 10px;
    text-align: center;
    width:100%;
}
h2 {
  font-size: 24px;
  padding-bottom: 0.3em;
  line-height: 1.25;
}
h3 {
  font-size: 18px;
  line-height: 25px;
}
h4 {
  font-size: 16px;
  line-height: 20px;
}
h5 {
  font-size: 14px;
  line-height: 17.5px;
}
p {
    color:#fefefe;
    margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
}

img {
   /*width: auto;
  /* Make sure images are scaled correctly. */
   /* max-height: 100%; 
  /* Adhere to container width. */
    
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

#top-level-page {
    padding-left: 15px;
    padding-right: 15px;  
}

#top-level-page .row {
    margin-top: 0px;
    margin-bottom: 25px;  
}
#top-level-page img {
    width:100%;
    height:auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);    
}
#top-level-page .text {
    font-size:300%;
    font-weight:200 !important;
}

div[class^="col-"], .grid-item {
  padding-left: 2.5px;
  padding-right: 2.5px;
}

.row {
    margin-left: -2.5px;
    margin-right: -2.5px;
    margin-top: -7px;
    margin-bottom: -10px;    
}

.list-page .row {
    margin-left:0px;
    margin-right:0px;
    margin-top:0px;
    margin-bottom:0px;    
}

.text-page p {
    color:#333;
    font-size:125%;
}

    
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

.contact-form {
    text-align: left;
}
.contact-form input {
    border-radius: 0px;
}

.contact-form .row {
    margin:10px 0px;
}

.wpcf7-recaptcha {
    border:none !important;
}

.wpcf7-recaptcha > div {
    margin: 0 0 15px auto;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

#logo {
    display:block;
    margin:20px auto;
    padding:0px;
    height: auto; 
    width:250px;
}
#logo img {
    width:100%;
    height:auto;
}

button:focus {
    outline:none !important;
}
         
.site-title {
    display:block;
    margin:0px 0px 0px 0px;
    padding:0px;
    float:left;
    width: 200px;
    max-width: 200px;            
    height: auto;
}
.site-title h1 {
    color:#333;
    font-size:220%;
}

header#masthead {
    margin:0px;
    padding:0px;
    z-index:100;
    position:fixed;
    top:0;
    left:0;    
    width:100%;
    background-color:#fff;
    min-height:130px;
    max-height:130px;
}

.navbar-brand > a {
  color: rgba(0, 0, 0, 0.9);
  font-size: 1.1rem;
  outline: medium none;
  text-decoration: none;
  color: #fff;
}

.navbar-brand > a:visited, .navbar-brand > a:hover {
  text-decoration: none;
}

.brand {
    color:#eee;
    margin:10px 0px;
    padding:0px;
    display:block;
    float:left;
    vertical-align: bottom;
}
.brand-mobile {
    display:none;
    margin:0px 0px 0px 0px;
    padding:10px 0px 20px 25px;
    color:#333;
    min-width:100%;
}
.with-spaces {
    margin:20px 0px;
}
.heading {
    position:absolute;
    width:99.55%;
}
.page-heading {
    text-align:center;
    width:100%;
    position:relative;
    z-index:6;    
}
.page-heading-bar {
    height:3px;
    margin:-50px 0px 0px 0px;
    border-bottom: solid 2px #8DBE2C;
    position:relative;
    z-index:5;
}
.heading-padding {
    clear:both;
    margin-bottom:50px;
}

#wpadminbar {
    top: auto !important;
    bottom:0 !important;
}
.socials {
    float:left;
    margin-top:60px;
}
.social-icon {
    font-size:165%;
    color:#555555;
    border:solid 3px #8DBE2C;
    border-radius:10px;
    padding:5px 7px;
}
#masthead nav {
  padding-left: 0;
  padding-right: 0;
}
#masthead .navbar-toggler {
    display: block;
    float:right;
    z-index: 1050;
    border:none;
    position:relative;
    margin-top:70px;
    margin-right:-15px;
}
#masthead .navbar-nav {
    margin: 0px;
    padding: 70px 30px 30px 30px;
    height: 100%;
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:900;
}

.navbar-nav {
    margin:0px 0px 0px 0px !important;
    padding: 0px 30px 30px 30px;
    height: 100%;
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:900;
    background-color:#fefefe;
}

#main-content {
    margin-top:0px;
    padding:0px;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    color: #333;
    padding: 0.2rem;
    font-size: 350%;
    height:auto;
    text-transform:uppercase;
}

.menu-item {
    text-align:center;   
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
  color: #333;
}

.navbar-brand {
    height: auto;
    float:left;
    display:block;
    position:relative;
    z-index:1000;
    margin:0px;
    padding:0px;
}

.navbar-toggle .icon-bar {
  background: #000 none repeat scroll 0 0;
}

.dropdown-menu .dropdown-toggle::after {
  border: 0.3em solid transparent;
  border-left: 0.3em solid;
  border-top: 0.3em solid transparent;
}


/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

.dropdown-menu {
    border: none !important;
}

.dropdown-item {
  line-height: 1.2;
  padding-bottom: 0.313rem;
  padding-top: 0.313rem;
}

.dropdown-menu .menu-item {
    font-size:250%;
    text-transform: uppercase;
}

.dropdown .open .dropdown-menu {
  display: block;
  left: 12.250em;
  top: 0;
}

.dropdown-menu .dropdown-item {
  white-space: normal;
  background: transparent;
  line-height: 1.6;
}
.dropdown-menu .dropdown-item:hover {
  background: transparent;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .dropdown-menu li > .dropdown-menu {
    right: -9.875rem;
    top: 1.375rem;
  }
}
@media screen and (max-width: 991px) {
  .navbar-nav .dropdown-menu {
    border: medium none;
    margin-left: 1.250rem;
    padding: 0;
  }

  .dropdown-menu li a {
    padding: 0;
  }

  #masthead .navbar-nav > li > a {
    padding-bottom: 0.625rem;
    padding-top: 0.313rem;
  }

  .navbar-light .navbar-toggler {
    border: medium none;
    outline: none;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}
.comment-content.card-block {
  padding: 20px;
}

.navigation.post-navigation {
  padding-top: 1.875rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  border: 1px solid #ddd;
  border-radius: 0.938rem;
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
}

.post-navigation .nav-next a::after {
  content: " \2192";
}

.post-navigation .nav-previous a::before {
  content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background: #eee none repeat scroll 0 0;
}


/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.text-right {
    text-align:right;
}
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.no-pad {
    padding-left:0px !important;
    padding-right:0px !important;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}
.clear {
    clear:both;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.home-hero {
    width:100%; 
    height:500px;
    max-height:500px;
    overflow:hidden; 
}

.home-hero img {
    position:relative;
    top:50%;
    left:50%;
    transform: translateX(-50%) translateY(-50%);
    max-width:100%;
    height:auto;
}

#top-level-page .wide {
    height:100% !important;
    width:auto !important;
}

#top-level-page .tall {
    height:auto !important;
    width:100% !important;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.site-content {
    margin-top:120px;
    width:100%;
    height:auto;
    min-height:80vh !important;
}

.with-height {
    display: flex;
    flex-direction: column;
}

.image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    top: 0;
    left: 0;
    margin: auto;  
    text-align: center;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.copyright {
  font-size: 0.875rem;
  margin-bottom: 0;
  text-align: center;
}

.copyright a, footer#colophon a {
  color: inherit;
}

#site-foot {
    background-color:#8DBE2C;
    border-top: solid 20px #8DBE2C;
    min-height:250px;
    padding-top:0px;
    padding-bottom:50px;
}

p.footer-header {
    font-size:150%;
    color:#fff;
    display:block;
    margin-bottom:10px;
    margin-top:30px;
}

.footer-text {
    font-size:120%;
    color:#fff;
    margin-bottom:10px;
}
.footer-socials {
    float:right;
}
.footer-social-icon {
    font-size:165%;
    color:#555555;
    border:solid 3px #555555;
    border-radius:10px;
    padding:5px 7px;
    background-color:#fff;
}
.footer-links {
    float:right;
}
.footer-links a {
    float:right;
    color:#fff;
    font-size:105%;
}

.accreds {
    max-width:300px;
    height:auto;
}

.accreditation {
    width:100%;
    max-width:250px;
    height:auto;
    display:block;
    margin-bottom:20px;
}

.hp-buffer {
    margin-top:25px;
}


/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/
@media only screen and (max-width: 1280px) {
  html {
    font-size: 95%;
  }
    
}

@media screen and (max-width: 1199px) {
  .navbar-dark .dropdown-item {
    color: #fff;
  }
  .navbar-nav .dropdown-menu {
    background: transparent;
    box-shadow: none;
    border: none;
  }
     
}
/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1023px) {
      h1 {
        font-size: 24px;
      }
    header#masthead {
        width:100%;
        height:auto;
    }
    #logo {
        max-width:300px;
    }
    #home-menu div[class*="col-"] {
        margin-bottom:15px !important;
    }
    #main-content {
        margin-top:35px;
    }    
    #masthead .navbar-toggler {
        margin-top:7px;
        margin-right:30px;
        width:40px;
        height:auto;
        text-align: right;
    }
    .hp-buffer {
        margin-top:-15px;
    }

}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {
  html {
    font-size: 85%;
  }  
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/


@media screen and (max-width: 767px) { 
  #masthead .navbar-nav > li > a {
    padding-bottom: 0.938rem;
    padding-top: 0.938rem;
  }
}

@media only screen and (max-width: 768px) {
  html {
    font-size: 80%;
  }
     #logo {
        max-width:150px;
    }  
}

@media only screen and (max-width: 580px) {
  html {
    font-size: 80%;
  }
     #logo {
        max-width:150px;
    }   
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
  html {
    font-size: 75%;
  }
    #logo {
        min-width:200px;
        max-width:200px;
    }
}