html{
    margin: 0;
    padding: 0;
}
body{
    margin: 0;
    padding: 0;
    color: var(--black);
    line-height: 1.5;
}
img{
    width: 100%;
}
.hidden{
    display: none !important;
}

/********** colors **********/
:root {
    --primary: #963c64;
    --secondary: #bb809a;
    --black: #000000;
    --grey: #999999;
    --light-grey: #cccccc;
  }
  .primary{
      color: var(--primary);
  }

/********** typography **********/

body, textarea{
    font-family: 'Open Sans', sans-serif;
    font-weight: 100;
}
p{
    font-weight: 300;
}
h1, h2, summary{
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 300;
}
input[type=text], input[type=email], input[type=tel], textarea{
    font-size: 1rem;
}
h1, h2, h3, summary{
    color: var(--primary);
}
header h2, h3{
    font-size: 1rem;
}
footer, nav, .button-primary, .button-secondary, input[type=submit], button, button.g-recaptcha{
    font-size: .8rem;
}
.caption{
    font-size: .7rem;
}
h1{
    margin-top: 0;
    padding-top: 0;
}
h2, h3{
    font-weight: 500;
}
h3{margin-bottom: 0;}
h3 + p{
    margin-top: 0;
}
.caption{
    color: var(--grey);
}
@media (min-width:768px){
    html{
        font-size: 1rem;
    }
}
@media (min-width:990px){
    html{
        font-size: 1.15rem;
    }
}
@media (min-width:1200px){
    html{
        font-size: 1.25rem;
    }
}
@media (min-width:1400px){
    html{
        font-size: 1.3rem;
    }
}
@media (min-width:1600px){
    html{
        font-size: 1.4rem;
    }
}
/********** layout **********/
.img-grid{
    width: 50%;
    margin: 0.5em auto;
    display: block;
}
.col{
    width: 100%;
    margin-bottom: 25px;
}
hr{
    margin: 25px 0;
    height: 1px;
    background-color: var(--light-grey);
    border: none;
}
.divider{
    height: 25px;
}
@media (min-width:768px){
    .img-grid{
        width: 100%;
    }
    .col{
        margin-bottom: 0;
    }
    .divider{
        height: 50px;
    }
    hr{
        margin: 50px 0;
        width: calc((100vw - 17px) * .9);
        max-width: 1170px;
        margin-left: -2.5vw;
    }
}
@media (min-width:1300px){
    hr{
        width: 90vw;
        margin-left: -2.5vw;
    }
}

/********** grid **********/
.grid-1-3{
    width: 100%;
    margin: 0 auto;
    display: block;
}
.grid-1-3 > div:nth-child(odd){
    flex: 1;
    font-weight: bold;
}
.grid-1-3 > div:nth-child(even){
    flex: 3;
}

@media (min-width:768px){

    .grid-2-4, .grid-4-2, .grid-3-3{
        width: 100%;
        margin: 0 auto;
        display: flex;
        gap: 3%;
    }
    .grid-2-4 > div:nth-child(1){
        flex: 1;
    }
    .grid-2-4 > div:nth-child(2){
        flex: 2;
    }
    .grid-4-2 > div:nth-child(1){
        flex: 2;
    }
    .grid-4-2 > div:nth-child(2){
        flex: 1;
    }
    .grid-3-3 > div{
        flex: 1;
    }
    .grid-6{
        display: block;
        width: 100%;
        margin: 0 auto;
    }
    .grid-1-3{
        width: 100%;
        margin: 0 auto;
        display: flex;
    }
    .grid-1-3 > div:nth-child(odd){
        flex: 1;
        font-weight: bold;
    }
    .grid-1-3 > div:nth-child(even){
        flex: 2;
    }
    
}
@media (min-width:900px){
    .grid-2-4 > div:nth-child(2){
        flex: 3;
    }
    .grid-4-2 > div:nth-child(1){
        flex: 3;
    }
    .grid-1-3 > div:nth-child(even){
        flex: 3;
    }
}
@media (min-width:1200px){
    /*.grid-2-4 > div:nth-child(2){
        flex: 4;
    }
    .grid-4-2 > div:nth-child(1){
        flex: 4;
    }*/
    .grid-1-3 > div:nth-child(even){
        flex: 4;
    }
}

/********** links and buttons **********/
.col a, .link{
    text-decoration: underline;
    color: var(--primary);
}
.col a:visited, .col a:hover, .col a:focus, .link{
    color: var(--primary);
}
a.underline, a.underline:visited, a.underline:focus, .link{
    text-decoration: underline;
    color: var(--black);
}
a.underline:hover, .link{
    color: var(--primary);
}

a.button-primary, a.button-secondary, a.button-primary:hover, a.button-secondary:hover, a.button-primary:focus, a.button-secondary:focus, a.button-primary:visited, a.button-secondary:visited, input[type=submit], button, button.g-recaptcha, button.g-recaptcha:hover, button.g-recaptcha:focus, button.g-recaptcha:visited{
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    transition: ease-in-out all .05s;
    padding: .5em;
    margin-bottom: 1em;
    border: none;
}
a.button-primary:hover, a.button-secondary:hover, input[type=submit]:hover, button:hover, button.g-recaptcha:hover{
    transform: scale(1.02);
    cursor: pointer;
}
a.button-primary, input[type=submit], button, button.g-recaptcha{
    background-color: var(--primary);
}
a.button-secondary{
    background-color: var(--secondary);
}
#Bookstores{
    scroll-margin-top: 100px;
}
/********** header, footer, container **********/
header, footer, .container, .navbar{
    box-sizing: border-box;
    padding-right: 2.5%;
    padding-left: 2.5%;
    max-width: 1170px;
    width: 100%;
    margin: 0 auto;
}
header, footer, .container{
    position: relative;
    height: auto;  
     
} 
@media (min-width:758px){
    header, footer, .container, .navbar, .shrink{
        width: 90%;
    }
}
header, footer{
    background-color: var(--primary);
    color: #fff;
}
header{
    margin-bottom: 2px;
    padding-top: .5em;
    padding-bottom: .5em;
    text-align: center;
}
.logo{
    width: 50px;
    top: 15px;
}
header h2{
    color: #ffffff;
}
.light-primary{
    color: #ca9db1;
    text-transform: none;
}
.container ul{
    margin-left: 0;
    padding-left: 20px;
    list-style: disc;
    color: var(--primary);
}
@media (min-width:768px){
    .container ul{
        padding-left: 25px;
    }
}
@media (min-width:1200px){
    .container ul{
        padding-left: 30px;
    }
}
.container ul li span {
    color: var(--black);
  }
a{
    text-decoration: none;
}
div, header{
    box-sizing: border-box;
}

footer{
    padding: .83em 10%;
}

footer ul{
    margin: 0;
    padding: 0;
    display: flex;
    text-align: center;
    justify-content: space-around;
}
footer ul li{
    display: inline-flex;
    list-style-type: none;   
    color: #ffffff;;
}
footer ul li a{
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
}
footer ul li a:hover{
    opacity: .8;
}
@media (min-width:768px){
    header{
        text-align: left;
    }
    .logo{
        position: absolute;
        z-index: 101;
        right: 5%;
        top: 50%;
        transform: translateY(-50%);
        height: 60%;
        width: auto;
    }
}
/********** navigation **********/
.navbar{
    position: relative;
    height: 55px;
    text-align: center;
    border-bottom: 1px solid #ccc;
    background-color: var(--secondary);
}

.navbar li a{
    color: #fff;
    text-transform: uppercase;
}

.menuBtn {
    height: 30px;
    width: 30px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 103;
}
.menuBtn > span {
    background-color: #fff;
    border-radius: 1px;
    height: 2px;
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -1px 0 0 -15px;
    -webkit-transition: height 100ms;
    -moz-transition: height 100ms;
    -o-transition: height 100ms;
    transition: height 100ms;
}
.menuBtn > span:after,
.menuBtn > span:before {
    content: '';
    background-color: #fff;
    border-radius: 1px;
    height: 2px;
    width: 100%;
    position: absolute;
    left: 50%;
    margin-left: -15px;
    -webkit-transition: all 200ms;
    -moz-transition: all 200ms;
    -o-transition: all 200ms;
    transition: all 200ms;
}
.menuBtn > span:after {
    top: -7px;
}
.menuBtn > span:before {
    bottom: -7px;
}

.menuBtn.act > span {
    height: 0;
}
.menuBtn.act > span:after,
.menuBtn.act > span:before {
    background-color: #fff;
    top: 1px;
}
.menuBtn.act > span:after {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
          transform: rotate(45deg);
}
.menuBtn.act > span:before {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.mainMenu {
    background-color: var(--secondary);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    height: 100%;
    width: 100%;
    display: table;
    text-align: center;
    opacity: 0;
    -webkit-transition: all 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -moz-transition: all 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -ms-transition: all 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -o-transition: all 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
          transform: scale(0);
}

.mainMenu.act {
    z-index: 100;
    opacity: 1;
    top: 55px;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
          transform: scale(1);
}
.mainMenu.act ul li {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
          transform: translateX(0);
}

.mainMenu ul {
    margin: 0;
    padding: 0;
    display: table-cell;
    vertical-align: middle;
}

.mainMenu li {
    height: 55px;
    border-bottom: 1px solid #ccc;
    -webkit-transition: all 400ms 510ms;
    -moz-transition: all 400ms 510ms;
    -ms-transition: all 400ms 510ms;
    -o-transition: all 400ms 510ms;
    transition: all 400ms 510ms;
    opacity: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.mainMenu li a{
    position: relative;
    display: block;
    width: 100%;
    padding: 20px 0;
    text-align: center;
}
.mainMenu li:hover{
    color: #d40d65;
}
a.ani-link:after{
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    border-bottom: 3px solid var(--primary);
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}
a.ani-link:hover:after, a.ani-link:focus:after{
    width: 100%;
}
.navbar .active:after{
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    border-bottom: 3px solid var(--primary);
}
@media (min-width:768px){
    .navbar{
        height: auto;
        border-bottom: none;
    }
    .menuBtn{
        display: none;
    }   
    .mainMenu{
        position: relative;
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
        transition: all .2s;
    }
    .mainMenu.act{
        top: 0;
    }
    .mainMenu ul{
        display: flex;
        justify-content:space-between;
    }
    .mainMenu li{
        display: inline-block;
        margin-right: 25px;
        border-bottom: 0;
        opacity: 1;
        height: auto;
        transition: all .1s;
    }
    .mainMenu li a{
        width: auto;
        padding: 10px 0;
    }
    .mainMenu li:last-of-type{
        margin-right: 0;
    }
    a.ani-link:after, .navbar .active:after{
        bottom: -5px;
    }
}
/*** fixed navbar ***/
.shrink {
    position: fixed; 
    top: 0;
    width: 100%;
    opacity: .95;
    z-index: 199;
    border-bottom: none;
    max-width: 1170px;
    left: 50%;
    transform: translateX(-50%);
  }
@media (min-width:768px){
    .shrink{
        width: 90%;
        max-width: 1170;
    }
}

/********** modal **********/
.sample{
    display: block;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto 25px;
}
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  #myImg:hover {opacity: 0.7;}
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 200; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    text-align: center;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: scroll; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content img{
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  /* Caption of Modal Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation */
  .modal-content, #caption {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  img.close{
    width: 1em;
    top: 30px;
    background-color: var(--grey);
    border-radius: 50%;
    
  }
  
  .close {
    position: fixed;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    opacity: .7;
  }
  

  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }

/********** accordion **********/
summary {
    text-align: center;
    position: relative;
    display: block;
    cursor: pointer;
    padding: 10px 0;
    margin-top: 5px;
    margin-bottom: 5px;
    transition: 0.3s;
    user-select: none;
    list-style-image: none;
}
summary:focus, summary:active {
    border:none;
    outline: none;
}
summary::-webkit-details-marker {
  background: none;
  color: transparent;
}


details{  
    border-top: 1px solid var(--grey);
    
}
details:last-of-type{
    border-bottom: 1px solid var(--grey);
}
details > div {
    text-align: left;
    display: block;
    margin-top: 25px;
    overflow: auto;
    height: 100%;
    user-select: none;
    padding: 0;
    line-height: 1.5;
}
.magenta-text{
    color: var(--grey);
}
i.fas{
    display: none;
}
/*summary > i{
    position: absolute;
    right: 5px;
    font-size: 16rem;
    -webkit-transition: .2s ease;
    -moz-transition: .2s ease;
    -ms-transition: .2s ease;
    -o-transition: .2s ease;
    transition: .2s ease;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.fa-3x{
    font-size: 1.5rem !important;
}*/
summary img{
    width: 3%;
    position: absolute;
    right: 5px;
    font-size: 16rem;
    -webkit-transition: .2s ease;
    -moz-transition: .2s ease;
    -ms-transition: .2s ease;
    -o-transition: .2s ease;
    transition: .2s ease;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
details[open] summary ~ div {
  animation: sweep .1s ease-in-out;
}
details[open] summary > img {
    -webkit-transition: .2s ease;
    -moz-transition: .2s ease;
    -ms-transition: .2s ease;
    -o-transition: .2s ease;
    transition: .2s ease;
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(180deg);
    -moz-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    -o-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
}

/********** slider **********/
.splide__slide{
    text-align: center; 
    color: var(--black);
}
.splide__slide img{
    max-width: 80%;
    height: auto;
    max-height: 80vh;
    width: auto;
    border: 1px solid var(--black);
}
.splide__slide > div{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
ul.splide__pagination{
    display: none;
    padding-left: 0;
    width: 100%;
}
ul.splide__pagination li{
    box-sizing: border-box;
}
button.splide__pagination__page{
    box-sizing: border-box;
    margin: 0 5px;
    border: 1px solid var(--primary);
    width: 15px !important;
    height: 15px !important;
    border-radius: 100%;
    background-color: #fff;
}
button.splide__pagination__page:hover, .slider-prev:hover, .slider-next:hover{
    cursor: pointer;
}
button.splide__pagination__page.is-active{
    background-color: var(--primary);
}
.slider-arrows{
    display: block;
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}
.slider-arrow img{
    min-width: 100px;
    min-height: 100px;
    width: 60%;
    float: right;
}
.slider-arrow{
    display: inline-block;
    background-color: transparent;
    border: none;
}
.slider-prev{
    transform: scale(-1);
}
.slider-next{
    position: absolute;
    right: 0;
}
button:disabled img{
    opacity: .2;
}

@media (min-width:768px){
    ul.splide__pagination{
        display: flex;
    }
    .splide__slide img{
        max-width: 60%;
        height: auto;
        max-height: 80vh;
        width: auto;
        border: 1px solid var(--black);
    }
    .slider-arrow img{
        width: 40%;
        /*float: none;*/
    }
}

/********** form **********/
input, textarea {
    box-sizing: border-box;
    width: 100%;
    border-radius: none;
    border: 1px solid var(--black);
    padding: .8em;
    /*margin-bottom: 25px;*/
    text-align: left;
    color: var(--grey);
}
input:focus, textarea:focus{
    outline: none;
    border: 1px solid var(--primary);
}
input[type=submit]{
    border: none;
}
.required{
    border-color: red;
}
::placeholder{
    color: var(--light-grey);
}
span.error{
    font-size: .8rem;
    color: var(--primary);
}
.success{
    color: var(--secondary);
}
form .col{
    margin-bottom: 25px;
}
@media (min-width:768px) {
    input[type=submit], .send, button.g-recaptcha{
        max-width: 60%;
        float: right;
    } 
}
.mandatory{
    font-size: .8rem;
    color: var(--light-grey);
    line-height: 50%;
}
