

/* BODY */

/* Remove all margins and padding */


html {
    width: 100% !important;
    height:100% !important;
   /* padding-left: 10px !important;
    padding-right: 10px !important; */
}

body {
   /*font-family: OpenSans,sans-serif;*/
    font-weight: 400;
}

#story {
    width: 100%;
    margin: auto;
}

.blue-primary {
    color: rgb(30,117,186,1)
}

/* Margins */

.mb-16 {
    margin-bottom: 25px !important;
}

.mb-26 {
    margin-bottom: 30px !important;
}

.mb-64 {
    margin-bottom: 64px !important;
}

.mt-24 {
    margin-top: 25px !important;
}

.mt-36 {
    margin-top: 5rem !important;
}

/* Font */

.text-h1 {
    font-family: Barlow !important;
    font-size: 5rem !important;
    font-weight: 700 !important;
    line-height: 1.3em;
}

.text-h1-secondary {
    font-family: Tillana,cursive,Georgia,serif !important;
    font-size: 3rem !important;
    font-weight: 400;
    line-height: 3.1rem;
    
}

.text-h2 {
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    line-height: 1.7rem !important;
    color: #1e75ba;
}


.text-h2-vis-secondary, .text-h2-vis-content {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    line-height: 2.2rem !important;
}

.text-red {
    color: rgb(138,19,6);
}

.date {
    font-size: 17px !important;
    font-weight: 400 !important;
}

.text-body-1 {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
}

.text-body-2 {

    font-size: 1.2rem !important;
    font-weight: 400;
}

.text-body-3 {
    font-size: 1.15rem !important;
    font-weight: 300 !important;
}

p {
    font-weight: 400;
    color: rgb(35, 33,29);
}

/* Links */

a.link-text {
    color: inherit;
    text-decoration: none;
    font-weight: normal;
    border-bottom: 2px solid rgb(30,117,186,1);
}

.link-text:hover {
    color: inherit;
    background-color:rgb(30,117,186,.6);
    border-bottom: inherit;
}

button.accordion-button {
    color: white !important;
    background: rgb(30,117,186) !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }

.accordion-button:focus {
    box-shadow: none !important;
    border-color: rgba(0,0,0,.125) !important;
}


#vis1 > div:last-child,
#vis2 > div:last-child {
    padding-bottom: 3em;
}

.nav-link {
    color:inherit !important;
    background-color: rgb(138,19,6,.08) !important;
    border-bottom: none !important;
    margin: 1.5px !important;
}

.nav-link.active {
    color: white !important;
    background-color: rgb(138,19,6) !important;
    border: 0px !important;
    border-color: black !important;
}

.nav-link:hover {
    border-color:  rgb(138,19,6) !important;
}

.nav-link:focus {
    outline: none !important;
}

.card,
.card-body,
.card-header,
.card-footer {
    background-color: inherit !important;
}

.card {
    border: none !important;
    overflow: hidden !important;
}


.card-flip > div {
    backface-visibility: hidden  !important;
    transition: transform 300ms  !important;
    transition-timing-function: linear  !important;
    width: 100%  !important;
    height: 100%  !important;
    margin: 0 !important;
    display: flex  !important;
    border: 1.3px solid rgb(30,117,186,1) !important;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2) !important;
    border-radius: 5px !important;
    /*overflow: hidden !important;*/
  }
  
  .card-front {
    backface-visibility: hidden  !important;
    transform: rotateY(0deg) !important;
    width: 100%  !important;
    height: 100%  !important;
    border: 1.3px solid rgb(30,117,186,1) !important;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2) !important;
    border-radius: 5px !important;
  }
  
  .card-back {
    transform: rotateY(180deg) !important;
    position: absolute !important;
    top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
    width: 100%  !important;
    height: 100%  !important;
    border: 1.3px solid rgb(30,117,186,1) !important;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2) !important;
    border-radius: 5px !important;
    /*background-color: rgb(47,59,82,1) !important;*/
  }

  .card-flip:hover .card-front {
    transform: rotateY(-180deg) !important;
    transform-style: preserve-3d !important;
  }

  .card-flip:hover .card-back {
    transform: rotateY(0deg) !important;
    transform-style: preserve-3d !important;
  }

  .card-flip:hover {
    /* On mouse-over, add a deeper shadow */
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2) !important;
  }

  .box-shadow:after {
    content:"";
    position:absolute;
    width:100%;
    bottom: 10px;
    z-index:-1;
    transform:scale(.9);
    box-shadow: 0px 0px 20px 2px #000000;
}

@media screen and (max-width: 600px) {

    div.header {
      display: none !important;
    }

    .text-h1, .text-h1-secondary {
        font-size: 2.9rem !important;
        line-height: 2.9rem !important;
    }

    div#header-small > .col-12 > .text-h2 {
        font-size: 1.5rem !important;
        line-height: 1.5rem !important;
    }

    .date {
        font-size: .9rem !important;
    }
  }

  @media screen and (min-width: 601px) {

    div#header-small {
      display: none !important;
    }

    .card-img-overlay {
        padding-top: 30px !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .text-h1, .text-h1-secondary {
        font-size: 2.8rem !important;
        line-height: 2.8rem !important;
    }

    div.card-img-overlay > .text-h2 {
        font-size: 1.4rem !important;
        line-height: 1.4rem !important;
        padding-top: 10px !important;
        padding-left: 150px !important;
        padding-right: 150px !important;
    }

    .date {
        font-size: .9rem !important;
    }

  }

  @media screen and (min-width: 668px) {

    .card-img-overlay {
        padding-top: 50px !important;
        padding-left: 50px !important;
        padding-right: 50px !important;
    }

    div.card-img-overlay > .text-h2 {
        padding-top: 20px !important;
    }

  }

  @media screen and (min-width: 744px) {

    .card-img-overlay {
        padding-top: 70px !important;
        padding-left: 70px !important;
        padding-right: 70px !important;
    }

    .text-h1, .text-h1-secondary {
        font-size: 2.9rem !important;
        line-height: 2.9rem !important;
    }

    div.card-img-overlay > .text-h2 {
        font-size: 1.6rem !important;
        line-height: 1.6rem !important;
        padding-top: 30px !important;
        padding-left: 170px !important;
        padding-right: 170px !important;
    }
    
  }

  @media screen and (min-width: 850px) {

    .card-img-overlay {
        padding-top: 80px !important;
        padding-left: 80px !important;
        padding-right: 80px !important;
    }

    .text-h1, .text-h1-secondary {
        font-size: 3rem !important;
        line-height: 3rem !important;
    }

    div.card-img-overlay > .text-h2 {
        font-size: 1.7rem !important;
        line-height: 1.7rem !important;
        padding-top: 40px !important;
        padding-left: 180px !important;
        padding-right: 180px !important;
    }

    .date {
        font-size: 1.2rem !important;
    }
    
  }

  @media screen and (min-width: 980px) {
   
    .card-img-overlay {
        padding-top: 100px !important;
        padding-left: 100px !important;
        padding-right: 100px !important;
    }

    .text-h1, .text-h1-secondary {
        font-size: 3.2rem !important;
        line-height: 3.2rem !important;
    }

    div.card-img-overlay > .text-h2 {
        font-size: 1.9rem !important;
        line-height: 1.9rem !important;
        padding-top: 60px !important;
        padding-left: 200px !important;
        padding-right: 200px !important;
    }


    
  }

  