.text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 20px;
    max-height: 80px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.activeDiv {
    transition: opacity 0.5s ease-in;
    opacity: 1;
    height: auto;
}

.inActiveDiv {
    transition: opacity 1s ease-out;
    opacity: 0;
    overflow: hidden;
}

.quantityForm {
    position: relative;
    max-width: 160px;
}

#quantityForm input[type="number"], .form-control {
    text-align: center;
    align-items: center;
    padding-left: 40px;
    line-height: 1rem !important;
    height: 40px !important;
}

#quantityForm .form-control:disabled, .form-control[readonly] {
    background-color: transparent;
    opacity: 1;
}

#quantityForm input[disabled] {
    cursor: pointer;
}

#inputQuantity {
    background-color: transparent;
    border: 1px solid rgba(39, 146, 255, 0.4);
    border-radius: 5px;
    color: #222a35;
    font-size: 16px;
    font-weight: 400;
    padding-bottom: 9px;
    padding-top: 9px;
    width: 100%;
}

.quantityBtn {
    top: 0;
    margin: 0;
    width: auto;
    border: #007bff;
    font-size: 1rem;
    position: absolute;
    padding: 8px 20px;
    background-color: #007bff;
    color: #ffffff !important;
}

.btn-plus {
    right: 0;
    left: auto;
    border-radius: 0 5px 5px 0;
}

.btn-minus {
    left: 0;
    right: auto;
    border-radius: 5px 0 0 5px;
}

.quantityBtn:hover {
    border: #007bff !important;
    background-color: #007bff !important;
    color: #ffffff !important;
    box-shadow: rgba(39, 146, 255, 0.4);
}

.quantityBtn:active {
    position: absolute;
    top: 1px !important;
}

#addItemButton {
    margin-top: 10px !important;
}

.firstPages{
    margin-right: 25%;
    text-align: center;
}

.firstPagesBtn {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.7em;
    text-transform: uppercase;
    padding-left: 15px !important;
}

.icon-div {
    width: 26px!important;
    height: 26px!important;
    background: url(../images/bukinisti.png) no-repeat;
    background-size: 26px;
}

#bukinistBtn {
    margin-top: 10px !important;
}

#bukinistBtn:hover .icon-div {
    background: url(../images/bukinisti-white.png) no-repeat;
    background-size: 26px;
    transition: 0.25s all;
}