/* some globals */
:root {
    --redDark: #9C1B28;
    --redMid: #A8595D;
    --redLight: #AA797D;
    --redExtraLight: #FFDDE0;
    --gray: #D5DBEA;
}

/* Add a black background color to the top navigation */
.topnav {
    background-color: white;
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: var(--redMid);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 15px;
    font-family: sans-serif;
}

/* Change the color of links on hover */
.topnav a:hover {
    color: var(--redExtraLight);
}

/* Add an active class to highlight the current page */
.topnav a.active {
    background-color: var(--redExtraLight);
    color: var(--redMid);
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* vertical lists */
ul {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
}

/* vertical list items */
li {
    float: left;
    display: block;
    flex: 0 1 auto;
    list-style-type: none;
    height: auto;
}

/* responsive behavior for images for small devices/resolutions */
@media screen and (max-width: 600px) {
    .topnav a {
        float: left;
        color: var(--redMid);
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 10px;
    }

    div.container {
        display: table;
        align-items: center;
        justify-content: center;
    }

    div.polaroid {
        display: table;
    }
}

/* responsive behavior for images for very small devices/resolutions */
@media screen and (max-width: 375px) {
    ul {
        align-items: stretch;
        justify-content: space-between;
        display: table;
        width: 100%;
    }
}

/* button */
.btn-primary {
    height: 80%;
    background-color: var(--redMid);
    border-color: white !important;
    color: white !important;
    transform: translateX(0%) translateY(10%);
}

/* button hover */
.btn-primary:hover {
    background-color: var(--redExtraLight);
    color: var(--redMid) !important;
    border-color: white;
}

/* button for footer */
.btn-secondary {
    height: 80%;
    color: var(--redMid) !important;
    background-color: white;
    border-color: white !important;
    transform: translateX(0%) translateY(10%);
    font-size: 120%;
    
}

/* button for footer, hover */
.btn-secondary:hover {
    background-color: var(--redMid);
    color: white !important;
    border-color: white;
}

/* link color */
a {
    color: #9C1B28;
    text-decoration: none;
}

/* link color */
.a-footer {
    color: #FFF200;
    text-decoration: none;
}

/* link hover color */
a:hover {
    color: #FFFFFF;
}

/* menu item hover color */
ul.nav a:hover {
    color: #FFFFFF !important;
}

/* generic text: book style indenting */
.text-manager {
    text-indent: 50px;
    margin: 7%;
    font-size: medium;
    font-family: sans-serif;
}

/* Title standalone */
.text-manager-head {
    text-align: center;
    margin: auto;
    font-family: sans-serif;
    vertical-align: middle;
}

/* titles */
.title-manager {
    color: #9C1B28;
    padding-top: 25px;
    text-align: center;
    padding: 5;
    font-size: large;
    font-family: sans-serif;
}

/* UNUSED: a nice scrollable image list item */
/*ul.images {
    margin: 7%;
    padding: 0;
    white-space: nowrap;
    width: 90%;
    overflow-x: auto;
    background-color: #ddd;
}*/

/* UNUSED: a nice scrollable image list item */
/*ul.images li {
    display: inline;
    margin: 1%;
    width: 150px;
    height: 150px;
    float: left;
}*/

/* polaroid standalone image */
div.polaroid-head {
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 25px;
}

/* polaroid modified image wrapper */
div.polaroid {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 25px;
}

/* polaroid text */
div.container {
    text-align: center;
    text-decoration: none;
    padding: 10px 10px;
}

/* polaroid modified image look */
.polaroid-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #dddddd;
    border-radius: 8px;
    padding: 5px;
    width: 100%;
    text-decoration: none;
}

html,
body {
  overflow-x: hidden;
}

/* top-bar properties */
.top-div {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

/* footer properties */
.footer-div {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--redLight);
    color: white;
    text-align: center;
    z-index: 10;
    align-items: stretch;
}

/* footer sizes */
.footer-manager {
    display: block;
    font-size: 80%;
}

/* footer items spacing */
.footer-ul {
    margin: 1%;
    width: 98%
}

/* image default */
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #dddddd;
    border-radius: 8px;
    padding: 5px;
}

/* image home */
.img-head {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #dddddd;
    border-radius: 8px;
    padding: 5px;
    width: 320px;
}

/* images icon */
.img-icon {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #dddddd;
    border-radius: 3px;
    padding: 5px;
    width: 76px;
    height: 102px;
}

/* table std */
.table {
    table-layout: auto;
    position: relative;
    color: black;
    line-height: 1.0;
}

/* table row color */
.table.tr {
    background-color: white;
}

/* table borders */
table td {
    border: 1px solid white;
}

/* table row hover color */
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #FFDDE0;
}

/* static stratche bg with scalable opacity */
.background::before{
    content: "";
    background-image: url(./images/bg/bg_05.jpg);
    background-size: 100%;
    position: fixed;
    width: 100%;
    height: 100vh;
    opacity: 0.1;
    z-index: -1;
}

.auto-resizable-iframe {
  max-width: 320px;
  margin: 0px auto;
}

.auto-resizable-iframe > div {
  position: relative;
  padding-bottom: 75%;
  height: 0px;
}

.auto-resizable-iframe iframe {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}