/* common */

#acat .card {
    width: 150px;
    margin: 10px;
    font-size: 12px;
}

#acat .card:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)!important;
}

#acat .card-footer {
    height: 100%;
}

#acat .card-text {
    padding: 5px;
}

#acat .card a {
    color: initial;
    text-decoration: initial;
    background-color: transparent;
}

#acat .card a:hover {
    color: initial;
    text-decoration: initial;
    background-color: transparent;
}

#acat .icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

/* page groups */

#ac-groups img {
    width: 120px;
    height: 80px;
    margin: 10px auto;
}

/* page marks */

#ac-marks img {
    width: 50px;
    height: 50px;
    margin: 10px auto;
}

/* page models */

#ac-models select {
    width: 250px;
}

@media screen and (max-width: 576px) {
    #ac-models select {
        width: 150px;
    }
}

#ac-models img {
    width: 120px;
    height: 80px;
    margin: 10px auto;
}

/* page picture tree */

#ac-pictures li {
    cursor: pointer;
}

#ac-pictures .ac-icon {
    margin-right: 10px;
}

#ac-pictures .ac-subgroup {
    margin-left: 20px;
}

#ac-pictures .ac-picture {
    margin-left: 20px;
}

#ac-pictures .ac-model-img {
    height: 80px;
    width: 120px;
    margin: 5px auto;
    display: block;
}

/* page picture */

#ac-picture-container {
    width: 100%;
    width: calc(100% - 2px);
    height: 500px;
    position: relative;
    overflow: scroll;
    border: lightgray solid 1px;
    scrollbar-width: none;
}

@media screen and (max-width: 576px) {
    #ac-picture-container {
        height: 250px;
    }
}

#ac-picture-container::-webkit-scrollbar {
    display: none;
}

#ac-picture {
    position: absolute;
    left: 0px;
    top: 0px;
    cursor: move;
}

#ac-picture img {
    float: left;
    max-width: initial;
}

.ac-part-rectangle {
    position: absolute;
    border: black solid 1px;
    text-align: center;
    font-size: 16px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    background: white;
}

#ac-picture .selected {
    background: rgba(243, 109, 55, 1) !important;
    color: black;
}

#ac-parts-table .selected {
    font-weight: bold;
    background: rgba(243, 109, 55, 1) !important;
}

#ac-parts-table>tbody>tr {
    cursor: default;
}

/* page search */

#ac-search select {
    width: 250px;
}

#ac-search #ac-search-mode {
    max-width: 250px;
}

@media screen and (max-width: 576px) {
    #ac-search #input-search {
        width: 100%;
    }
    #ac-search #ac-search-mode {
        max-width: 100%;
    }
}

#ac-search .pagination li {
    cursor: pointer;
}

#ac-search .glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}