/* ----- Fonts ----- */
@font-face{
    font-family: "Signika";
    src: url("../fonts/Signika-bold.ttf"),
    url("../fonts/Signika-Bold.eot"); /* IE */
}
@font-face{
    font-family: "SignikaReg";
    src: url("../fonts/signika-regular.ttf"),
    url("../fonts/signika-Regular.eot"); /* IE */
}
@font-face{
    font-family: "SignikaLight";
    src: url("../fonts/signika-light.ttf"),
    url("../fonts/signika-Light.eot"); /* IE */
}

.sigfontlight {
    font-family: "SignikaLight","Verdana",sans-serif;
}
.sigfontreg {
    font-family: "SignikaReg","Verdana",sans-serif;
}
/* ----- Body ----- */
body {
    background-color: #E3D8ED;
    color: #5D0C7A;
    font-size: 16px;
    font-family: "SignikaReg","Verdana",sans-serif;
}
/* ----- Top header styles ----- */
header {
    width: 100%;
    margin: 0px;
    padding: 0px;
    top: 0px;
    left: 0px;
    right: 0px;
}
header img {
    width: 80%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
    padding: 10px,0px,20px,0px;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* ----- Navbar ----- */
nav {
    width: 100%;
    margin: 0 0 10px 0;
    font-size: 1.3em;
}
nav ul {
    margin: 0px 1px 0px 1px;
    padding: 0;
    list-style-type: none;
    text-align: center;
}
nav .sub-menu {
    display: none;
    position: absolute;
    top: 25px;  /* 45px for Safari? */
    left: 0px;
    background-color: #f4eefa;
    padding-top: 8px;
    border-radius: 10px;
    border: 2px solid #6d047c;
    z-index: 100;
}
nav ul li {
    display: inline;
    position: relative;
}
nav ul li:hover > ul, nav ul li:focus > ul {  /* Sub menu */
    display: inherit;
}
nav a {
    text-decoration: none;
    display: inline-block;
    width: 200px;
    color: rgba(0,0,0,0.8);
    background-color: #E7DFED;
    overflow: hidden;
    padding: 10px 0px 8px 0px;
    margin: 0px 1px 2px 1px;
    border: 2px solid #6d047c;
    border-radius: 10px;
 	transition: box-shadow 0.3s;
}
nav a:hover {
    color: rgba(0,0,0,0.9);
    box-shadow: 0px 0px 50px 10px rgba(41,67,116,0.15) inset;
    transition-duration: 0.3s;
}
nav .sub-menu li a {
    border: none;
    background-color: rgba(0,0,0,0);
    border-radius: 0;
}
.selected {
    box-shadow: 0px 0px 50px 10px rgba(41,67,116,0.2) inset;
    color: #5D0C7A;
}
.toggle, [id^=drop] {
    display: none;
}

/* ----- Content area styles ----- */
#content, #contentText {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    margin-bottom: 20px;
    min-height: 350px;
    overflow: hidden;
    display: block;
}
#contentText {
    min-height: 200px;
    margin-top: 40px;
}
.text-centered {
    text-align: center;
}

/* ----- Content area holders ----- */
.picholder img {
    float: left;
    margin-top: 25px;
    width: 25%;
    max-width: 590px;
    height: auto;
    overflow: hidden;
    min-width: 250px;
    box-sizing: border-box;
}
#textholder {
    float: left;
    padding-left: 20px;
    padding-right: 20px;
    width: 50%;
    min-width: 250px;
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
}
.textholdercenter {
    float: left;
    margin-top: 20px;
    margin-left: 30px;
    width: 55%;
    max-width: 54%;
    min-width: 250px;
    margin-right: 10px;
    height: auto;
    overflow: hidden;
}
.textholdercenter {
    width: 80%;
    max-width: 80%;
    min-width: 300px;
    text-align: center;
    margin-top: -10px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    float: none;
}
#textholdergallery {
    width: 90%;
    display: block;
    float: none;
}
#textholder p, .textholdercenter p, .textholdercenter h1 {
    padding: 5px;
    margin: 5px;
    color: #5D0C7A;
}
.textholdercenter h1 {
    font-size: 2em;
}
#textholdercontact h1 {
    margin-bottom: 20px;
}
#textholdercontact p {
    margin-bottom: 20px;
}
.gallery {
    margin-top: 30px;
}
.gallery-row {
    overflow: hidden;
    height: auto;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.gallery-row > div {
    height: auto;
    width: 33%;
    display: block;
    float: left;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}
.gallery-row > div > img {
    max-height: 300px;
    min-height: 150px;
    height: 90%;
    width: 90%;
    object-fit: cover;
    margin: 5px 10px 0px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.gallery-row > div > img:hover {
    opacity: 0.7;
}
.gallery-row > div > p {
    margin-bottom: 30px;
    padding: -5px 2px 0px 2px;
    text-align: center;
    font-family: "SignikaLight","Verdana",sans-serif;
    font-size: 1em;
    color: #5D0C7A;
}
#gallerytitle {
    text-align: center;
}
#bold {
   color: #48085E;
}
.line-divider {
    border: none;
    height: 1px;
    background-color: #5D0C7A;
    border-radius: 40%;
    width: 40%;
    opacity: 0.4;
}

.imageLink {
    text-decoration: none;
    margin: 15px;
}
.imageLink img {
    width: 80px;
    height: 80px;
    opacity: 0.8;
}
.imageLink img:hover {
    opacity: 1;
    transition: opacity ease 0.2s;
}

/* ----- References ----- */
#gdrive-refs {
    width: 100%;
    height: 600px;
    border: 0;
    background-color: rgba(255,255,255,0.3);
    border-radius: 15px;
    text-align: center;
}
#loader {
    position: absolute;
    width: 20%;
    left: 40%;
    margin-top: 20px;
}
.spinner {
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #5D0C7A; /* Blue */
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin: 10px auto 0 auto;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ----- Blog ----- */
.post {
    text-align: left;
    margin-bottom: 20px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 15px;
    padding: 30px;
}
.post .title {
    font-size: 1.6em;
    font-weight: bold;
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(93, 12, 122, 0.2);
    color: black;
}
.post .date {
    display: inline-block;
    text-align: right;
    opacity: 0.7;
    font-size: 1.2em;
}
.post .photos {
    max-width: 50%;
    display: inline-block;
    overflow: hidden;
    float: right;
    margin-left: 10px;
}
.post .photos img {
    height: 150px;
    max-width: 100%;
    border-radius: 5px;
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.3s;
}
.post .photos img:hover {
    opacity: 0.7;
}
.post .text p {
    margin: 5px 0;
    padding: 5px 0;
}

/* Image modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9);
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    max-height: 90%;
    max-width: 80%;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.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 */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* ----- Footer area ----- */
footer {
    background: #E3D8ED;
    width: 100%;
    height: auto;
    min-height: 40px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow: hidden;
    margin-top: 50px;
    text-align: center;
}
footer p {
    font-family: "SignikaLight","Verdana",sans-serif;
    font-size: 12px;
    color: rgba(0,0,0,0.4);
    margin: 3px 0px 5px 0px;
}
footer img {
    float: left;
    max-width: 20%;
    max-height: 300px;
    min-width: 50px;
    margin-bottom: 5px;
}

/* ----- Misc ----- */

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Scroll top */
#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 200;
    border: none;
    outline: none;
    background-color: rgba(255,255,255,0.3);
    color: #5D0C7A;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
}

#backToTop:hover {
    background-color: rgba(255,255,255,0.6);
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -75px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 1s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
