/* footer in fondo alla pagina*/
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    word-wrap:break-word;
    font-family: "Times New Roman", Times, serif !important;
}

/* container della pagina*/
#main {
    flex: 1 0 auto;
}
/*-------------------------*/

@media only screen and (max-width: 1200px) {
    .hide-on-large-and-down {
        display: none !important;
    }
}


::placeholder {
    color: #e2e2e2 !important;
}

.bold {
    font-weight: bold !important;
}

.underline {
    text-decoration: underline !important;
}

.max-width {
    width: 100% !important;
}

.green-success {
    background-color: #1fba62 !important;
}

.green-success-text {
    color: #1fba62 !important;
}

header {
    background-image: url("../images/bg-1.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.header-big {
    min-height: 75vh;
}

.title-logo {
    font-family: 'Pacifico', cursive !important;
    font-weight: 400;
    color: white;
    margin: 0;
}

nav {
    background: transparent;
    box-shadow: 0 0 0 0;
    height: 70px;
    line-height: 70px;
}

nav.nav-center ul.center {
    text-align: center;
}
nav.nav-center ul.center li.center {
    display: inline;
    float: none;
}
nav.nav-center ul.center li.center a {
    display: inline-block;
}

nav .dropdown-content a {
    width: 100%;
    color: black;
}

nav a{
    height: 60px;
}

nav li img {
    vertical-align: middle;
}

.float-left {
    float: left;
}

.navbar-fixed > nav {
    background: white;
    top: 0;
}

.navbar-fixed > nav a {
    color: black;
}

.sidenav-overlay {
    z-index: 1;
}

div#page-title {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.collection-index .collection-item{
    background: transparent !important;
}

.collection-index .collection-item a{
    color: white;
}

.searchbar-form {
    text-align: center;
}

form #searchbar {
    transition: .3s;
    width: 100%;
    text-align: center;
    border-bottom: 2px solid #e1e1e1;
}

form #searchbar-mobile {
    transition: .3s;
    width: 100%;
    text-align: center;
    border-bottom: 2px solid #ffa000;
}

form #searchbar-result {
    transition: .3s;
    width: 90%;
    text-align: center;
    border-bottom: 2px solid #ffa000;
}

@media only screen and (max-width: 743px) {
    form #searchbar-result {
        width: 75%;
    }
}

form #searchbar:focus, form #searchbar-mobile:focus, form #searchbar-result:focus {
    background: #e2e2e2;
    border-bottom-width: 2px !important;
    border-bottom-color: #ffa000 !important;
    box-shadow: 0 0 0 !important;
}

label {
    width: auto !important;
}

.input-field .prefix.active {
    color: black;
}

input:focus:not([readonly]), textarea:focus:not([readonly]) {
    border-bottom: 1px solid #1fba62 !important;
    box-shadow: 0 1px 0 0 #1fba62 !important;
}

input:focus:not([readonly])+label, textarea:focus:not([readonly])+label {
    color: #1fba62 !important;
}

input.center {
    text-align: center;
}

#map_canvas {
    width: 100%;
    height: 400px;
}

form .dropdown-content li > a, .dropdown-content li > span {
    color: black !important;
}

[type="checkbox"].filled-in:checked+span:not(.lever):after {
    background-color: #1bb54e !important;
    border-color: #169643 !important;
}

.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating) {
    margin: 0;
}

.card-title.plant-info {
    padding: 10px !important;
    opacity: 0.7;
}

.card-content.plant {
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.detail-image {
    max-width: 100% !important;
    display: block;
    margin-left: auto;
    margin-right: auto
}

.selected-image > img {
    display: none;
}

.selected-image > img.selected {
    display: block;
}

.thumb {
    opacity: 0.5;
}

.selected-thumb {
    border: 4px solid black;
    opacity: 0.7;
}

.thumb:hover {
    cursor: pointer;
}

.result-image {
    max-height: 200px !important;
    max-width: 100%; /* larghezza massima è uguale al massimo della larghezza del div*/
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.shop-element {
    max-width: 100%;
    width: auto !important;
    margin: auto;
}

.card-image {
    background: black;
}

.plant-link {
    transition: .2s;
}

.plant-link:hover {
    color: #ff6f00 !important; /* amber darken 4*/
}

.add-cart-button {
    margin-left: 15px;
}

hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

blockquote {
    border-left: 5px solid #d32f2f;
}

.toast.success {
    background-color: #00c853;
}
.toast.error {
    background-color: #e53935;
}

footer a {
    color: black;
}

footer {
    border-top: 5px solid #e0e0e0;
}
