body {
    font-family: 'Urbanist', sans-serif;
    overflow-x: hidden;
}
h3 {
    color: #2F3191;
    font-weight: bold;
}
.grey-text {
    color: #696868;
}
li.nav-item a {
    color: #000;
    text-decoration: none;
}
.bg-automation {
    background-image: url("../images/automation-division-02.jpg");
    background-size: cover;
    background-position: center;
    height: 80vh;
}
.bg-plastics {
    background-image: url("../images/plastics-division-02.jpg");
    background-size: cover;
    background-position: center;
    height: 80vh;
}
.bg-about {
    background-image: url("../images/bg-about.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}
.bg-blue {
    color: #fff;
    background-color: #2F3191;
    border: solid 4px #fff;
    padding: 16px;
    position: relative;
    left: 80px;
    top: -60px;
}
.text-small {
    font-size: 14px;
}
.text-white a {
    color: #fff;
    text-decoration: none;
}
.link-text {
    color: #fff;
}
.link-text:hover {
    color: #cc9332;
}
.call-link {
    color: #212529;
    text-decoration: none;
}
.specifies h2 {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    margin:  0;
    padding:  8px 16px;
    font-size:  32px;
    transition: all 2s;
}
.specifies .cnt {
    color: #fff;
    padding:  8px 40px 0px 16px;
}
.btn-read-more {
    color: #fff;
    background-color: #BC951E;
    padding: 8px 16px;
    display: inline;
    cursor: pointer;
    position: relative;
    left: 16px;
    text-decoration: none;
}
.btn-read-more img {
    width: 18px;
    height: 18px;
}
.btn-read-more:hover {
    color: #000;
    background-color: #fff;
}
.btn-read-more:hover img {
    filter: grayscale(1) brightness(0) sepia(1) hue-rotate(0deg) saturate(500%);
}
.btn-readmore {
    color: #fff;
    background-color: #BC951E;
    border-radius: 0px;
    border-color: #BC951E;
    padding: 8px 24px;
}
.btn-readmore:hover {
    color: #000;
    background-color: #fff;
    border-color: #fff;
}
.specifies {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 10px 20px;
    box-sizing: border-box;
    width: 100%;
    height: 180px;
    transition: all 0.8s; /* animation delay */
    display: flex;
    justify-content: end;
    align-items: baseline;
    flex-direction: column;
}
.division {
    position: relative;
    height: calc(100vh - 126px);
    overflow: hidden;
}
.division img.product-img{
    height: calc(100vh - 126px);
    width: 100%;
    object-fit:cover;
}
.division .specifies .cnt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 50px;
    /*transition: all 2s;*/
    -webkit-transform: translateY(40%);
    transform: translateY(40%);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: opacity 0.2s, -webkit-transform 0.8s;
    transition: opacity 0.2s, -webkit-transform 0.8s;
    transition: transform 0.8s, opacity 0.2s;
    transition: transform 0.8s, opacity 0.2s, -webkit-transform 0.8s;
    position: relative;
    top: -24px;
}
.division .specifies .btn-read-more {
    display: none;
}
.division:hover .specifies {
    height: 100%;
    opacity: 1;
    transition: all 1s;
}
.division:hover .specifies .btn-read-more {
    display: block;
    margin-bottom: 28px;
}
.division:hover .specifies .cnt  {
    display: block;
    height:auto;
    transition: all 3s;
    -webkit-line-clamp: none;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: opacity 0.1s, -webkit-transform 0.5s;
    transition: opacity 0.2s, -webkit-transform 0.5s;
    transition: transform 0.5s, opacity 0.2s;
    transition: transform 0.5s, opacity 0.2s, -webkit-transform 0.5s;
    position: relative;
    top: 0px;
}
.divide-line{
    width: 10%;
    height: 1.5px;
    background: #fff;
    margin-bottom: 20px;
    margin-top: 20px;
    padding-left: 16px !important;
    position: relative;
    left: 16px;
}
/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .bg-blue {
        position: relative;
        left: 0px;
        top: 0px;
    }
    .division img{
        height: 100%;
        object-fit: cover;
    }
    .specifies {
        height: 100%;
        justify-content: center;
        align-items: start;
    }
    .specifies h2 {
        font-size: 28px;
    }
    .division .specifies .cnt {
        display: flex;
        height: auto;
        position: relative;
        top: -100px;
    }
    .division .specifies .btn-read-more {
        display: flex;
        font-size: 20px;
    }
    .btn-read-more img {
        width: 26px;
        height: 26px;
        margin-left: 8px;
    }
}