* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 
colors
background: #282828
blue: #5374a5
darker blue: #36577c
silver: #c0c0c0
lighter silver: #e0e0e0;
 */

/* general */

body {
    background-color: #282828 !important;
    color: #f0f0f0;
}

.h5-cont {
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    margin-bottom: 30px;
}

h5 {
    color: #f0f0f0 !important;
    flex: 8;
    font-weight: bold;
    margin-bottom: 20px;
    padding: 5px;
    padding-left: 0px;
    text-transform: uppercase;
    width: 100%;
}

.h5-cont button, .h5-cont a {
    display: inline-block;
    flex: 1;
}

.center {
    text-align: center;
}

.last-col {
    text-align: right;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.pad-left {
    padding-left: 10px;
}

/* flex shortcuts */
.flex1 { flex: 1; }
.flex2 { flex: 2; }
.flex3 { flex: 3; }
.flex4 { flex: 4; }
.flex5 { flex: 5; }
.flex6 { flex: 6; }
.flex7 { flex: 7; }
.flex8 { flex: 8; }

/* rando */

.nopadding {
    padding: 0px !important;
}

/* messages */

.missing {
    background-color: rgba(153, 15, 2, 0.5) !important;
    border: 1px solid #990f02 !important;
    color: #fff !important;
}

.missing::placeholder {
    color: #eee !important;
}

/* nav */

.nav-container {
    background-color: #5374a5;
    display: flex;
    height: 60px;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.nav-container a {
    align-items: center;
    color: #f0f0f0;
    display: flex;
    flex: 1;
    font-size: 1.5rem;
    font-weight: bold;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}

.active,
.nav-container a:hover {
    background-color: #36577c;
    color: #f0f0f0;
    text-decoration: none;
}

/* bootstrap overrides */
/* 
background: #282828
blue: #5374a5
darker blue: #36577c
silver: #c0c0c0
lighter silver: #e0e0e0;
*/

.btn {

}
.btn-primary {
    background-color: #5374a5 !important;
    border-color: #5374a5 !important;
}

.btn-primary:hover {
    background-color: #36577c !important;
    border-color: #36577c !important;
}

.input-group-prepend div {
    border-radius: .375rem 0rem 0rem .375rem !important;
}

.input-group-text {
    background-color: #5374a5 !important;
    border: 1px solid #5374a5 !important; 
    color: #fff !important;
    height: 38px !important;
}

.form-control {
    background-color: #f0f0f0 !important;
    border: 1px solid #5374a5 !important;
}

/* body */

.my-container {
    margin-top: 80px;
    padding: 20px;
}

.row {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

/* input stuff */

.input-group>.input-group-prepend>.input-group-text {
    justify-content: center;
    text-align: center;
    width: 45px;
}

/* buttons */

.note { /* overriding bootstrap defaults */
    border-radius: 50px !important;
    font-size: 16px !important;
    padding: 1px 10px !important;
}

.btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn-note {
    background-color: #358eac !important;
    color: #fff;
}

.new-btn {
    align-items: center;
    background-color: #36577c !important;
    border-color: #36577c !important;
    color: #f0f0f0; 
    display: flex !important;
    justify-content: center;
    margin-bottom: 7px;
    max-height: 40px;
    max-width: 35px;
    padding-left: 2px !important;
    padding-right: 2px !important;
}

.new-btn:hover {
    background-color: #5374a5 !important;
    border-color: #36577c !important;
    color: #f0f0f0;
}

.mybtn {
    color: #f0f0f0;
    max-height: 40px;
    max-width: 35px;
}

.save-btn {
    background-color: #6CA468 !important;
    border-color: #6CA468 !important;
    width: 100%;    
}

.cancel-btn {
    background-color: #888 !important;
    border-color: #888 !important;
    margin-right: 10px;
    width: 100%;
}

.edit-btn {
    background-color: #f4c2c1 !important;
    border-color: #f4c2c1 !important;
}

.month-btn {
    color: #f4c2c1;
}

.month-btn:hover {
    color: #047971;
}

/* login / index page */

.login {
    margin: auto;
    /* padding-left: 50px !important;
    padding-right: 50px !important; */
}
/* 
colors
background: #282828
blue: #5374a5
darker blue: #36577c
silver: #c0c0c0
lighter silver: #e0e0e0;
*/

.login input {
    /* background: #282828 !important;
    color: #f0f0f0 !important; */
}

.login-btn {
    background-color: #36577c !important;
    border-color: #36577c !important;
    margin-top: 20px;
    width: 100%;
}

.login-btn:hover {
    background-color: #282828 !important;
    border-color: #36577c !important;
}

.register-link {
    margin-top: 20px;
    text-align: center;
}

/* home page */

/* lists page */

.lists-header {

    border-bottom: 1px solid #5374a5;

}

/* search page */

.search-box {
    margin-bottom: 20px;
    margin-top: 10px;
    padding: 5px; 
}

.buttons {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

/* search result cards */

.card {
    background-color: #282828 !important;
    border: 1px solid #5374a5 !important;
    color: #f0f0f0;
    border-radius: 10px !important;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
}

.card-bg {
    position: absolute;
    opacity: 0.15;
    left: 0;
    top: -50px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-content {
    padding: 10px;
    position: relative;
}

.card-content p {
    padding-bottom: 50px !important;
}

.card-content img {
    border: 1px solid #36577c;
    float: left;
    margin: 0px 10px 10px 10px;
    padding: 5px;
}

.margin-right {
    margin-right: 10px !important;
}

.small {
    font-size: 12px !important;
    font-weight: bold !important;
    margin-bottom: 5px !important;
}

/* modal */

.modal-input {
    margin-top: 10px; 
}