html, body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  height: 100%;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-color: #f6f0df;
  color: #2b4525;
}

a {
  color: #2b4525;
}

    a:hover {
      color: #7b8344;
      text-decoration: none;
    }


/* -------------------------------------------------------BACKGROUNDS */

.bg-cover {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.green-bg {
  background-color: #2b4525;
}

.light-green-bg {
  background-color: #afaf72;
}

.v-light-green-bg {
  background-color: #cfcfaa;
}

.light-grey-bg {
  background-color: #f0f0f0;
}

.male-bg {
  background-color: #d4edfc;
}

.mid-grey-bg {
  background-color: #e0e0e0;
}

/* -------------------------------------------------------BORDERS */

.border-light-green-1px {
  border: 1px solid #7b8344;
}

/* -------------------------------------------------------BUTTONS */

.btn-bg-green {
  background-color: #2b4525;
  color: #ffffff;
}

    .btn-bg-green:hover {
       background-color: #7b8344;
       text-decoration: none;
    }



.btn-bg-grey {
  background-color: #898b8b;
}

    .btn-bg-grey:hover {
       background-color: #6A6C6E;
       text-decoration: none;
    }

.btn-bg-red {
  background-color: #FF0000;
  color: #ffffff;
}

    .btn-bg-red:hover {
       background-color: #990000;
       text-decoration: none;
       color: #ffffff;
    }


.btn_round_base {
  border: none;
  border-radius: 50%;
  padding: 10px 15px 10px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 2px 2px;
}

.btn_round_white-orange {
  background-color: #ffffff;
  color: #ec671b;
}

    .btn_round_white-orange:hover {
      background: rgba(255, 255, 255, 0.5);
      color: #ec671b;
    }

.btn_round_white-blue {
  background-color: #ffffff;
  color: #007fd1;
}

    .btn_round_white-blue:hover {
      background: rgba(255, 255, 255, 0.5);
      color: #007fd1;
    }

.btn_round_white-green {
  background-color: #ffffff;
  color: #95c11f;
}

    .btn_round_white-green:hover {
      background: rgba(255, 255, 255, 0.5);
      color: #95c11f;
    }


/* -------------------------------------------------------CARDS */

.card {
    flex: 1 5 auto;
    margin: 5px;
}


/* ------------------------------------------------------- DIVIDERS */

.height-20px {
	height: 20px;
}

.height-30px {
	height: 30px;
}

.height-40px {
	height: 40px;
}

.height-60px {
	height: 60px;
}

.height-80px {
	height: 80px;
}

.height-150px {
  height: 150px;
}

.height-200px {
  height: 200px;
}


/* -------------------------------------------------------FAMILY TREE */

#family-tree {
  width: 800px;
  height: 600px;
}


/* -------------------------------------------------------FLEX */

.flex {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;;
}

.flex-50pc {
  flex-basis: 50%;
  flex-grow: 0;
}



/* -------------------------------------------------------FONTS */

.font_default {
  font-family: 'Source Serif Pro', serif;
}

/* -------------------------------------------------------FONT WEIGHTS */

.font-bold {
    font-weight: 600;
}

.font-light {
    font-weight: 300;
}


/* -------------------------------------------------------GRIDS */

.grid-box {
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(auto-fill,minmax(20rem, 1fr));
}

/* -------------------------------------------------------HEIGHTS */

.height-100pc {
  height: 100%;
}



/* -------------------------------------------------------IMAGES */

.person-img-box {
  width: 100%;
  object-fit: cover;
}

.person-img-box-sml {
  width: 100px;
  object-fit: cover;
}


/* ------------------------------------------------------- MARGINS */

.margin-20px {
  margin: 20px;
}

.margin-bottom-10px {
  margin-bottom: 10px;
}

.margin-bottom-20px {
  margin-bottom: 20px;
}

.margin-left-20px {
  margin-left: 20px;
}

.margin-left-right-100pc {
  margin-left: 100pc;
  margin-right: 100pc;
}

.margin-right-10px {
  margin-right: 10px;
}

.margin-right-20px {
  margin-right: 20px;
}

.margin-top-10px {
  margin-top: 10px;
}

.margin-top-20px {
  margin-top: 20px;
}


/* -------------------------------------------------------MEDIA QUERIES */

@media only screen and (max-width : 480px) {
   /* Smartphone view: 1 tile */
   .box {
      width: 100%;
      padding-bottom: 100%;
   }
}

@media only screen and (max-width : 650px) and (min-width : 481px) {
   /* Tablet view: 2 tiles */
   .box {
      width: 50%;
      padding-bottom: 50%;
   }
}

@media only screen and (max-width : 1050px) and (min-width : 651px) {
   /* Small desktop / ipad view: 3 tiles */
   .box {
      width: 33.3%;
      padding-bottom: 33.3%;
   }
}

@media only screen and (max-width : 1290px) and (min-width : 1051px) {
   /* Medium desktop: 4 tiles */
   .box {
      width: 25%;
      padding-bottom: 25%;
   }
}



/* -------------------------------------------------------NAVS */

.nav-tabs > a {
  color: #2b4525;
}

.nav-tabs.active > a {
  color: #7b8344;
}

nav .navbar-nav li a{
  color: #2b4525 !important;
  }


/* -------------------------------------------------------PADDINGS */

.padding-default {
  padding: 1em;
}

.padding-feature {
  padding: 50px;
}


/* -------------------------------------------------------RIBBON */

.ribbon {
  font-size: 20px;
  position: inherit;
  display: inline-block;
  text-align: left;
  margin-left: -1em;
}

.text {
  color: #ffffff;
  display: inline-block;
  padding: 0.5em 1em;
  line-height: 1.2em;
  background: #ec671b;
  position: relative;
}

.ribbon:after, .text:after {
  content: '';
  position: absolute;
  border-style: solid;
}

.text:after {
  top:100%; right:0;
  border-width: .5em 2em 0 0;
  border-color: #813a11 transparent transparent transparent;
}

.ribbon:after {
  top: 0.5em; right: -2em;
  border-width: 1.1em 1em 1.1em 3em;
  border-color: #813a11 transparent #813a11 #813a11;
  z-index: -1;
}

.bold:before {
  border-color: #813a11 transparent #813a11 #813a11;
  top: 0.7em;
  right: -2.3em;
}


/* ------------------------------------------------------- TABLES */

table {
    margin: 0 auto;
    width:100%;
    table-layout: fixed;
    overflow-wrap: break-word;
  }

.table_cell_pad td, th {
    padding: 8px;
}

/* ------------------------------------------------------- TEXT COLOURS */

.text-blue {
  color: #4169E1;
}

.text-red {
  color: #FF0000;
}

#link-red {
  color: #FF0000 !important;
}




/* ------------------------------------------------------- TEXT SIZES */

.text-sml {
  font-size: .8em;
}

.text-large {
  font-size: 1.5em;
}

.text-medium {
  font-size: 1.5em;
}

.text-regular {
  font-size: 14px;
}

.text-42 {
  font-size: 42px;
}


/* ------------------------------------------------------- TEXT FORMATS */

.text-center {
  text-align: center;
}

.text-justified {
  text-align: justify;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-uppercarse {
  text-transform: uppercase;
}


/* ------------------------------------------------------- WIDTHS */

.max-width-380px {
  max-width: 380px!important;
  margin-left: auto;
  margin-right: auto;
}

.max-width-50pc {
  max-width: 50pc!important;
  margin-left: auto;
  margin-right: auto;
}

.max-width-370px {
  min-width: 370px!important;
  max-width: 370px!important;
  margin-left: auto;
  margin-right: auto;
}
