body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
    height: 100%;
    background: gainsboro;
}

/*----------LAYOUT----------*/
/* -----Layout Container----- */
.cont {
    display: flex;
    margin: 0;
    padding: 0;
}

/* ----- Direction ----- */
.row {flex-direction: row;}

.col {flex-direction: column;}

.abs {position: absolute;}

/* ----- Container Size ----- */
.fb-30 {flex-basis: 30%;}

.fb-40 {flex-basis: 40%;}

.fb-50 {flex-basis: 50%;}

.fb-60 {flex-basis: 60%;}

.fb-70 {flex-basis: 70%;}

.fb-100 {flex-basis: 100%;}

/* ----- Container Height ----- */
.h-100 {height: 100vh;}

.h-90 {height: 90vh;}

/* ----- Container Width ----- */
.w-100 {width: 100%;}

/* Container Flex */
.f1 {flex: 1;}

/* ----- Margins and Padding ----- */
.m2 {margin: 2px;}

.m5 {margin: 5px;}

.m10 {margin: 10px;}

.p2 {padding: 2px;}

.p5 {padding: 5px;}

.p10 {padding: 10px;}

/* ----- Overflow ----- */
.ofa {overflow: auto;}

/* ----- Max Height ----- */
.h-fit {max-height: 80.5vh;}

.mh-100 {max-height: 100vh;}

/* ----- Justify Content ----- */
.jc-c {justify-content: center;}

.jc-fs {justify-content: flex-start;}


/* ----- Align Items ----- */
.ai-c {align-items: center;}

.ai-s {align-items: stretch;}

/* ----- Border ----- */
.test-border {
    border: #131414 dotted 1px;
}

/* ------------ BUTTONS ---------- */
.btn {
    padding: 5px 12px;
    margin: 2px 0 2px 5px;
    border-radius: 5px;
    border: 0;
    color: #fff;
    cursor: pointer;
    transition: background-color .25s;
}

.btn-primary {background:#0d6efd}

.btn-danger {background: #dc3545;}

.btn-primary:hover {background: #0358d7}

.btn-danger:hover {background: #b50b1c;}


/* ---------- MAIN NAVIGATION ----------*/
header {
    background: rgb(26, 26, 26);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 2px 20px;
    margin: 0;
    box-shadow: 0 1px 6px rgb(46, 45, 45);
}

ul.main-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.main-nav a {
    font-size: .99em;
    color: #5c7a96;
    text-decoration: none;
    padding: 5px 5px;
	text-transform: uppercase;
	text-align: center;
	display: block;
}

.main-nav a:hover {
	color: #718daa;
}

.main-nav li {
    display: inline-block;
}

.logo {
    margin: 0;
    font-size: 1.45em;
    text-decoration: none;
    margin-right: auto;
}

.logo a {
    color: #5c7a96;
    text-decoration: none;
}

.logo a:hover {
	color: #718daa;
}

/*----------SIDE NAVIGATION----------*/
.side-nav {
    width: 200px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-basis: 20%;
    position: sticky;
    top: 0;
    background: #3e5165;
    color: azure;
    overflow: auto;
    height: calc(100vh - 98px);
    font-size: 14px;
}

.side-nav p {
    margin: 0;
}

.side-nav a {
    text-decoration: none;
    color: azure;
}

.side-nav a:hover {
    color: #7ebafa
}

.side-nav-sect {
    margin: 10px 0
}

.side-nav-sect ul {
    list-style: none;
    padding: 0
}

.side-nav-sect h3, h2{
    margin: 5px 0;
    border-bottom: solid 1px azure;
}

/* ----- EXIF CONTAINER ----- */
.exif-container {
    font-size: 12px;
}

.page-container {
    display: flex;
    flex-direction: row;
}

.content-container {
    display: flex;
    flex-basis: 75%;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.content-container p, h3 {
    margin: 2px 0 10px;
}

.action-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background-color: #34495e;
    color: whitesmoke
}

.action-container form {
    display: flex;
    align-items: center;
}

.action-container label {
    margin-right: 5px;
}

.action-container p {
    margin: 0;
}

.action-container a {
    text-decoration: none;
    color: whitesmoke;
}

.action-container a:hover {
    color: #7ebafa
}

.image-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    overflow: auto;
    height: calc(100vh - 78px);
}

/*----------IMAGE CARD----------*/
.image-card {
    width: 210px;
    background: #ecf4fc;
    border: #a7bbcea6 solid 1px;
    margin: 5px;
    padding: 5px;
    font-size: 0.75em;
}

.image-card img {
    object-fit: cover;
    width: 210px;
    height: 175px;
}

.image-card p {
    margin: 0;
}

.image-container input {
    position: relative;
    float: right;
    bottom: 180px;
}

/* ----- Form Container ----- */
.form-container {
    display: flex;
    flex-direction: column;
    background: #077deb;
    color: azure;
    border-radius: 5px;
    margin: 0;
    padding: 0;
}

.form-container input {
    width: 100%;
    box-sizing: border-box;
}

.form-container select {
    width: 100%;
    box-sizing: border-box;
}

.form-container textarea {
    width: 100%;
    box-sizing: border-box;
}

.form-container-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-radius: 5px 5px 0px 0px;
    background: #315474;
}

.form-container-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 15px;
    padding: 0 10px;
    background-color: #2c4560;
}

.form-container-footer {
    display: flex;
    font-size: 24px;
    padding: 10px;
    justify-content: flex-end;
    background: #315474;
    border-radius: 0px 0px 5px 5px;
}

.form-container label {
    display: block;
}

.form-container button {
    margin: 0 5px 0 5px;
}

.form-container-image {
    display: flex;
    align-items: center;
    padding: 10px;
    border-right: 1px solid #4f6980;
    background: #2c4560;
    color: azure;
}

/* ----- ICONS ----- */
.fa-arrow-left {
    background-image: url(/static/icons/arrow-left-solid.svg);
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 100%;
    margin: 2px 5px;
}

/* ----- ALBUMS TABLE ----- */
.table-container {
    overflow: auto;
    height: 85vh;
    width: 100%;
    padding: 0px 10px;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    background: gainsboro;
    font-size: 14px;
  }

  td, th {
    border: 1px solid #d1cfcf;
    text-align: left;
    padding: 5px;
  }

  tr:nth-child(even) {
    background-color: gainsboro;
  }


/* ----- BREADCRUMBS ----- */
.bread-crumbs {
    font-size: 13px;
}

a.bread-crumb:last-child {
    text-decoration: underline;
    text-underline-offset: 2px
}


/* ----- MEDIA QUERIES ----- */
/* Extra small devices (phones, 576px and down) */
/* @media only screen and (max-width: 576px) {...} */
/* Small devices (portrait tablets and large phones, 576px and up) */
/* @media only screen and (min-width: px)576 {...} */
/* Medium devices (landscape tablets, 768px and up) */
/* @media only screen and (min-width: 768px) {...} */
/* Large devices (laptops/desktops, 992px and up) */
/* @media only screen and (min-width: 992px) {...} */
/* Extra large devices (large laptops and desktops, 1200px and up) */
/* @media only screen and (min-width: 1200px) {...} */



@media screen and (max-width: 992px) {
    header {
        height: 90px;
        font-size: 1.75em;
    }
    .action-container {
        flex-wrap: wrap;
        padding: 10px 10px;
    }

    .action-container .bread-crumbs {
        display: none;
    }

    .action-container form {
        font-size: 2em;
        /* margin: 10px; */
    }

    .action-container .btn {
        height: 40px;
        font-size: .75em;
        margin-left: 15px;
    }

    .action-container select {
        width: 300px;
        height: 40px;
    }

    .image-container {
        justify-content: space-evenly;
        align-content: flex-start;
        flex-basis: content;
    }

    .exif-container {
        flex-basis: content;
        padding: 50px;
        font-size: 1.25em;
        overflow: auto;
        max-height: 60%;
    }

    .image-card {
        width: 40%;
        height: auto;
        font-size: 1em;
        justify-content: space-around;
        margin-bottom: 15px;
    }

    .image-card img {
        width: 370px;
        height: 280px;
    }

    .image-card input {
        bottom: 380px;
        right: 30px;
        width: 15px;
        height: 15px;
    }

    .side-nav {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 1;
        top: 164.75px;
        left: 0;
        overflow-x: hidden;
        transition: 0.1s;
        font-size: 2em;
        padding: 0;
        flex-wrap: nowrap;
    }

    .side-nav.open {
        width: 50%;
        padding: 10px;
        color: azure;
        transition: 0.3s;
    }

    .hb {
        height: 75px;
        width: 75px;
        padding: 10px;
        margin-top: 15px;
        background: #4f6980;
        border-radius: 35%;
        font-size: 2em;
        text-align: center;
        line-height: 0;
    }

    .fa-arrow-left {
        width: 40px;
        height: 40px;
    }

    .back-arrow a {
        display: flex;
        align-items: center;
    }

    .cc {
        flex-direction: column;
    }

    .form-container {
        width: 80%;
        height: 60%;
        margin-top: 50px;
        font-size: 1.5em;
    }

    .form-container p {
        font-size: 2em;
    }

    .form-container-header {
        font-size: 1.5em;
    }

    .form-container-body {
        height: 100%;
        padding: 0 20px;
    }

    .form-container textarea {
        height: 400px;
    }

    .form-container input {
        height: 50px;
    }

    .form-container select {
        height: 50px;
    }

    .form-container label {
        font-size: 1.5em;
    }

    .form-container .btn {
        font-size: 1.5em;
        padding: 15px;
    }

    .form-container input::file-selector-button {
        height: 40px;
        width: 200px;
        font-size: 2em;
        padding-bottom: 10px;
        margin-top: 10px;
        text-align: center;
    }

    .form-container-footer {
        padding: 20px;
    }


}

@media screen and (min-width: 992px) {
    .hb {
        display: none;
    }

    .back-arrow {
        display: none;
    }

}
