/*
Extra small devices (portrait phones, less than 544px)
No media query since this is the default in Bootstrap because it is "mobile first"
*/
    h1 {font-size:1.5rem;} /*1rem = 16px*/
    h2 {font-size:1.25rem;} /*1rem = 16px*/
    h3 {font-size:1.1rem;} /*1rem = 16px*/
    h4 {font-size:1rem;} /*1rem = 16px*/
    h5 {font-size:0.9rem;} /*1rem = 16px*/
    h6 {font-size:0.8rem;} /*1rem = 16px*/
    p {font-size:0.8rem;} /*1rem = 16px*/
    .container-padded {
        padding: 2rem 5vw;
    }

/*
####################################################
M E D I A  Q U E R I E S
####################################################
*/

/*
::::::::::::::::::::::::::::::::::::::::::::::::::::
Bootstrap 4 breakpoints
*/
/* Small devices (landscape phones, 544px and up) */
@media (min-width: 544px) {
    h1 {font-size:1.75rem;} /*1rem = 16px*/
    h2 {font-size:1.5rem;} /*1rem = 16px*/
    h3 {font-size:1.25rem;} /*1rem = 16px*/
    h4 {font-size:1.2rem;} /*1rem = 16px*/
    h5 {font-size:1.1rem;} /*1rem = 16px*/
    h6 {font-size:0.9rem;} /*1rem = 16px*/
    p {font-size:0.9rem;} /*1rem = 16px*/
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
    h1 {font-size:2.5rem;} /*1rem = 16px*/
    h2 {font-size:2rem;} /*1rem = 16px*/
    h3 {font-size:1.75rem;} /*1rem = 16px*/
    h4 {font-size:1.5rem;} /*1rem = 16px*/
    h5 {font-size:1.25rem;} /*1rem = 16px*/
    h6 {font-size:1rem;} /*1rem = 16px*/
    p {font-size:1rem;} /*1rem = 16px*/
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    h1 {font-size:2.5rem;} /*1rem = 16px*/
    h2 {font-size:2rem;} /*1rem = 16px*/
    h3 {font-size:1.75rem;} /*1rem = 16px*/
    h4 {font-size:1.5rem;} /*1rem = 16px*/
    h5 {font-size:1.25rem;} /*1rem = 16px*/
    h6 {font-size:1rem;} /*1rem = 16px*/
    p {font-size:1rem;} /*1rem = 16px*/
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
   h1 {font-size:2.5rem;} /*1rem = 16px*/
    h2 {font-size:2rem;} /*1rem = 16px*/
    h3 {font-size:1.75rem;} /*1rem = 16px*/
    h4 {font-size:1.5rem;} /*1rem = 16px*/
    h5 {font-size:1.25rem;} /*1rem = 16px*/
    h6 {font-size:1rem;} /*1rem = 16px*/
    p {font-size:1rem;} /*1rem = 16px*/
}

.container-padded-latest {
    padding: 5vh 5vw;
}


/* Circle image family members */
.home-img {
    border: 10px solid transparent;
    height: 150px;
    width: 150px;
    margin-left: 0%;
    padding: 0px 0px;
    margin-top: 0px;
    filter:  saturate(0.3) hue-rotate(-30deg);
}

.home-img:hover {
    border-color: #e7f7f2;
    filter:  saturate(1) hue-rotate(-20deg);
}

/* Larger family member image for wider screen*/
@media (min-width: 768px) {
    .home-img {
        height: 120px;
        width: 120px;
    }
}

@media (min-width: 992px) {
    .home-img {
        height: 165px;
        width: 165px;
    }
}

/* Style the carousel*/
.carousel .carousel-item {
    transition-duration: 1.s;
}

.carousel-inner img {
  /*-webkit-filter: grayscale(90%);
  /*filter: grayscale(90%); /* make all photos black and white */
  filter: contrast(3)  saturate(2) opacity(90%) sepia(10%) blur(1px);
  width: 100%; /* Set width to 100% */
  margin: 0;
  margin-top: -1.6rem !important;
  max-height: 450px !important;
  min-height: 225px !important;
}

.carousel-inner {
  margin-top: -1.6rem !important; /*Align the carousel images to the very top*/
}



/*.carousel-caption {
  color: #fff !important;
  width:100%;
  height:100%;
  left:0;
  right:0;
  bottom:0;
  background-color:rgba(0,0,0,0.2);
}*/

@media (max-width: 600px) {
  .carousel-caption {
    display: none; /* Hide the carousel text when the screen is less than 600 pixels wide*/
  }
}

/* Darken carousel*/
.carousel-item:after {
  content:"";
  display:block;
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  background:rgba(0,0,0,0.4);
}

/* Nav tabs bottom page */
.nav-tabs{
    background-color:#fff;
}


.tab-content{
    background-color:#fff;
    color:#949494;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    min-height: 25rem;

}

.tab-pane {
    border-left: 1px solid $nav-tabs-border-color;
    border-right: 1px solid $nav-tabs-border-color;
    border-bottom: 1px solid $nav-tabs-border-color;
    border-radius: 0px 0px $nav-tabs-border-radius $nav-tabs-border-radius;
    padding: 0.7rem;
}

.nav-tabs .nav-link {
    border: 1px solid #ddd;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.nav-tabs > li > a{
    background-color: #fff !important;
    color:#adb5bd;
    font-size: 0.8rem;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active  {
    background-color: #fff;
    border-color: #ddd #ddd #ddd;
}

@media (min-width: 544px) {
    .nav-tabs > li > a{
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .nav-tabs > li > a{
        font-size: 1rem;
    }
}

.nav-tabs > li.active > a,
.nav-tabs > li > a:focus,
.nav-tabs > li > a:active {
    color:#0fc8c8;
}

.nav-tabs > li > a:hover
{
    color:#000;
    background-color: #ddd !important;
}


/* Top navbar */
/* Add a dark background color with a little bit see-through */
.navbar {
  margin-bottom: 0;
  border: 0;
  font-size: 0.9rem !important;
  letter-spacing: 4px;
  opacity: 0.7;
  padding: 0.5rem 1rem;
  line-height: 0;
}
.nav-link {
    padding: 1rem 1rem;
}

/* Get navbar link spacing in horizontal */
.fa, .fab, .fal, .far, .fas {
    line-height: 0 !important;
}
@media (min-width: 768px) {
    .nav-link {
        padding: 0.5rem 1rem;
    }

    /* Get navbar link spacing in vertical collapsable */
    .fa, .fab, .fal, .far, .fas {
        line-height: 1 !important;
    }
}


/* Button on mobile*/
.navbar-toggler {
    padding: 0.175rem .75rem;
}
.navbar-toggler-icon {
    width: 1em;
    height: 1em;
}

/* Add a gray color to all navbar links */
.navbar li a, .navbar .navbar-brand {
  color: #dae0e5 !important;
  vertical-align: bottom;
}

.navbar-brand:hover {
   color: #0fc8c8 !important;
}

.navbar-brand {
  margin-top: 1px;
  line-height: 0px; /*Minimal navbar height*/
}

.navbar-nav > li > a {
  float: right;
  /*line-height: 0px; /*Minimal navbar height*/
}

/* On hover, the links will turn green */
.navbar-nav > li > a:hover {
  color: #0fc8c8 !important;
}

/* Remove border color from the collapsible button */
.navbar-default .navbar-toggle {
  border-color: transparent;
}

.nav-dropdown-menu {
    background-color: #486888 !important;
    font-size: 0.7rem;
    padding: 0rem 0rem;
    border-radius: .2rem;
}

/* On hover, the dropdown links will turn red */
.dropdown-menu a:hover {
    color: #20c997 !important;
    background-color: #3c5f82 !important;
}

/* Icons on main page (footer arrow up, etc.) */
.my-icons {
    color: #9494b8;
    text-shadow: 2px 2px 4px #e0e0eb;
    font-size: 2rem;
}

.my-icons:hover, .my-icons:focus, .my-icons:active, .my-icons.active, .open>.dropdown-toggle.my-icons {
    color: #3c3c5d;
    border-color: #285e8e; /*set the color you want here*/
}

/* Black buttons with extra padding and without rounded borders */
.form-group {
    margin-top: 0.5rem;
}


.btn-primary,
.btn-secondary,
.btn-danger,
.btn-dark,
.btn-outline-dark
{
  padding: 5px 10px;
  border-radius: 0;
  transition: .5s;
}

.btn-primary {
  background-color: #333;
  color: #f1f1f1;
  border-color: #5d6f82;
}

/* On hover, the color of .btn will transition to white with black text */
.btn-primary:hover,
.btn-primary:focus
{
  border: 1px solid #333;
  background-color: #fff;
  color: #000;
}

.btn-danger:hover,
.btn-danger:focus
{
  border: 1px solid #b60e22;
  color: #ffe500;
}


html {
  scroll-behavior: smooth;
}

html {
    height: 100%;
}
body {
    min-height: 100%;
   display: flex;
   flex-direction: column;
}
.container-padded {
    flex-grow: 1;
}

/* Register form, blog post */
.content-section {
  background: #EEEEEE;
  padding: 10px 20px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 20px;
}

.article-title {
  color: #444444;
}

a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e3e3e3
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-img {
  height: 125px;
  width: 125px;
  margin-right: 20px;
  margin-bottom: 16px;
}

.account-heading {
  font-size: 2.5rem;
}

.gallery {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
-webkit-column-width: 33%;
-moz-column-width: 33%;
column-width: 33%; }
.gallery .pics {
-webkit-transition: all 350ms ease;
transition: all 350ms ease; }
.gallery .animation {
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1); }

@media (max-width: 450px) {
.gallery {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
-webkit-column-width: 100%;
-moz-column-width: 100%;
column-width: 100%;
}
}

@media (max-width: 400px) {
.btn.filter {
padding-left: 1.1rem;
padding-right: 1.1rem;
}
}

/* Line in post*/
.h-divider{
margin-top:0px;
margin-bottom:15px;
height:0px;
width:100%;
border-bottom: 1px solid #e3e3e3
}

.modal-open {
    overflow: hidden;
    padding-right:0 !important;
}

.fieldset {
    box-shadow: 0 0 8px #d1d1d1;
    border: 1px solid #d1d1d1;
    border-radius: 1px;
}

fieldset > legend + * {
  clear: both;
}