/* buttons */
.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: #8064A2 !important;
}


#loginform{
    margin-top: 16px !important;
}
#loginform input{
    text-align: center;
    max-width: 500px;
}
.login_input{
    display:block; margin : 0 auto; !important;
}

.cont{
    text-align: center;
    margin-top: 12px;
}

#container_home{
}

#pet_images{
    overflow-x: auto; !important;
    max-width: 100%;
}
.pet_image{
    margin: auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}

.pet_image img{
    width: 100%;
}

.pet_image span {
    left:0;
    text-align:center;
    width:100%;
    bottom:0;
    padding:20px 0;
}

.pets_container{
    margin-top: 32px;
}

.pet_data{
    float:left;
    width: 100%;
    margin-top: 16px;
    margin-left: 8px;
    background-color: lightcoral;
}
.pet_data_image{
    width: 100px;
    height: 100px;
    float: left;
}
.pet_data_info{
    float: left;
    display: inline-block;
    vertical-align: top;
    margin-left: 8px;
    color: black;
}
.pet_data_info span{
    float:left;
}

.pet_losts{
    overflow-y: auto; !important;
    max-height: 100%;
    margin-bottom: 100px;
    list-style-type: none;
    overflow-x: hidden;
}

.pet_lost{
    margin-top: 12px;
    margin-bottom: 12px;
    margin-right: 18px;
    background: crimson;
    padding: 10px;
    float:left;
}

.pet_lost_image{
    margin-left: 10px;
}

#userform span{
    float: left;
}

.img-container img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

a {
    text-decoration:none;!important;
}

/* Create two equal columns that floats next to each other */
.column {
    float: left;
    width: 100%;
    padding: 10px;
    margin: 8px 16px;
}

#pet_list{
    height: 500px;
}

.copyright{
    padding-bottom: 0px!important;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}


.hidden{
    display: none;
}


/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 48px;
    width: 70%;
    max-width: calc(
            100vw - 8px * 2
    );
    margin-inline: auto;
    visibility: hidden; /* Hidden by default. Visible on click */
    background-color: #bbb; /* Black background color */
    color: #333; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    z-index: 1; /* Add a z-index if needed */
}

#snackbar_ {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}




/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}