﻿/* set header background */
.sleb-header {
    background-image: url("/Images/Technology/banner.jpg");
}

/* banner */
.banner {
    position: relative;
    background: url("/Images/Technology/banner.jpg") no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
}
.banner .wrapper {
    background: rgba(33, 33, 33, .5);
}
.banner .content {
    position: relative;
    z-index: 10;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 480px;
    min-height: 412px;
    margin: 0 auto;
    line-height: 36px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    pointer-events: none;
}
.banner .content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 32px;
    margin: 0 0 24px;
}
.banner .search-bar {
    pointer-events: auto;
    font-size: 0;
    width: 370px;
    height: 48px;
    background: #fff;
    border: 2px solid #eee;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border-radius: 24px;
    padding: 4px;
    overflow: hidden;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.banner .search-bar input,
.banner .search-bar button {
    border: 0;
}
.banner .search-bar input {
    width: calc(100% - 36px);
    height: 100%;
    vertical-align: top;
    padding: 0 10px;
    font-size: 16px;
}
.banner .search-bar button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #04C648 url("/Images/Home/banner_icon_search.png") no-repeat;
    background-size: 24px 24px;
    background-position: center;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}
#particles-js {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
}

/* types */
.types .list > .row:not(:last-child) {
    padding-bottom: 30px;
}
.types .content {
    background: #fff;
    box-shadow: 0px 4px 8px rgba(183, 183, 183, 0.5);
    border-radius: 16px;
    padding: 24px;
    height: 376px;
    display: flex;
    flex-direction: column;
}
.types .content .icon {
    width: 60px;
    height: 60px;
}
.types .content .title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    color: #04C648;
    margin: 8px 0;
}
.types .content ul li {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 18px;
    height: 36px;
    color: #242424;
    padding-left: 18px;
}
.types .content ul li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #fff;
    border: 3px solid #04C648;
    border-radius: 50%;
    margin-right: 8px;
}
.types .content .view-more {
    flex: auto;
    display: flex;
    align-items: flex-end;
}
.types .content .view-more a{
    display: inline-block;
    background: #04c648;
    box-shadow: 0px 4px 8px rgba(30, 119, 87, 0.5);
    border-radius: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    color: #fff;
    padding: 12px 26px;
}

/* Technologies slider */
.tech-slider .slider-item {
    background: #fff;
    box-shadow: 0px 4px 8px rgba(183, 183, 183, 0.5);
    border-radius: 16px;
    overflow: hidden;
}
.tech-slider .slider-item .img {
    background: rgba(196, 196, 196, .2);
}
.tech-slider .slider-item .img img {
    display: block;
    width: 100%;
    height: 250px;
}
.tech-slider .slider-item .name {
    padding: 16px 16px 24px;
}
.tech-slider .slider-item .name  a {
    display: block;
    height: 60px;
    display: flex;
    align-items: center;
}
.tech-slider .slider-item .name span {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 20px;
    color: #272727;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.tech-slider .owl-carousel .owl-stage-outer {
    padding: 8px;
    margin: 0 -8px;
}
.tech-slider .owl-dots {
    font-size: 0;
    line-height: 1;
    margin: 14px 0 0;
}
.tech-slider .owl-dots .owl-dot {
    background: none;
    padding: 4px 0;
}
.tech-slider .owl-dots .owl-dot span {
    width: 14px;
    height: 14px;
    border: 3px solid #04C648;
    margin: 0 12px;
}
.tech-slider .owl-dots .owl-dot.active span {
    background-color: #04C648;
}

/* Browse All */
.browse-all {
    margin: 64px 0;
}
.browse-all a {
    display: block;
    width: 276px;
    height: 48px;
    margin: 0 auto;
    color: #fff;
    background: #04C648;
    box-shadow: 0px 4px 8px rgba(30, 119, 87, 0.5);
    border-radius: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 48px;
    text-align: center;
}

@media (max-width: 1200px) {
    .types .list .item:nth-child(-n+2) {
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    .banner {
        padding-top: 50px;
        margin-top: -50px;
    }
    .types .list .item:not(:last-child) {
        margin-bottom: 30px;
    }
}
@media (max-width: 520px) {
    .banner .content {
        width: 100%;
        padding: 0 30px;
    }
    .banner .search-bar {
        width: 100%;
    }
}