img {
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.model_container, .methods_container {
    text-align: center;
}
.model,.method {
    background-color: white;
    margin: 4px;
    display: inline-block;
    text-align: center;
    /* box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1); */
    vertical-align: top;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}
.model {
    width: calc(20% - 4px);
    max-width: 256px;
    margin: 2px;
}
.model.archived {
    display: none;
}

.model:hover,.method:hover {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1); 
}


.model.inactive {
    opacity: 0.20;
}
.model img {
    width: 100%;
    /*height: 164px;*/
    object-fit: contain;
    vertical-align: top;
}
.model .model_name {
    text-transform: capitalize;
    font-size: medium;
    margin: 0.25em;
}
.method {
    width: calc(33% - 16px);
    max-width: 512px;
    margin: 8px;
    margin-top: 0px;
    display: inline-block;
}
.method.landscapes {
    /*width: 323px;*/
}
.method img,video {
    width: 100%;
    vertical-align: top;
}

.inactive {
    box-shadow: none;
    opacity: 0.5;
}
.disabled {
    box-shadow: none;
    opacity: 0.5;
    cursor: not-allowed;
}
a.method {
    text-decoration: none;
}
.method h3 {
    margin: 0.5em;
}
.title {
    margin-top: 1.5em;
}

/*  For the temp notifcation card.
 */

.card-row {
    width: 100%;
    margin-bottom: 10px
}
.card {
    max-width: 768px;
    display: inline-block;
    background-color: white;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 20px;
}

.legacy_methods a {
    margin-left: 4px;
}

.model_img {
    display: block;
    opacity: 1.0;
    /* transition: height 0.15s ease-out; */
    transition: width 0.15s ease-out;
    transition: opacity 0.15s ease-out;
}
#models_row {
    position: relative;
}
#models_row.small_models .model {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
}
#models_row.small_models .model_img {
    width: 50px; 
    height: 50px; 
    /* opacity: 0.0; */
    /* transition: height 0.15s ease-out; */
    transition: width 0.15s ease-out;
    transition: opacity 0.15s ease-out;
}

#view-legacy {
    /* float: right; */
    position: absolute;
    float: right;
    top: 0px;
    right: 0px;
}

@media (max-width: 1000px) {
    .title {
        margin-top: 0.5em;
        margin-bottom: 0.1em;
    }
    .model {
        width: calc(25% - 4px);
        margin: 2px;
    }
    .model .model_name {
        font-size: .9em;
    }
    .method {
        width: calc(33% - 4px);
        margin: 2px;
        /* width: 128px; */
    }
    .method.landscapes {
        /* width: 206px; */
    }
    .method h3 {
        font-size: .9em;
    }

}

@media (max-width: 600px) {
    .model {
        width: calc(33% - 4px);
        margin: 2px;
    }
}