@import 'common.css';

/* HOME PAGE */

#slide_sec,
#slide_sec .item {
    position: relative;
}

#slide_sec .item:before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.6;
    background: #2A2F54;
}

#slide_sec .item h2,
#slide_sec .item p {
    text-align: center;
}

#slide_sec .item h2 {
    line-height: 60px;
    width: 60%;
    font-weight: 500;
    margin: 0 auto;
}

#slide_sec .item p {
    font-weight: 500;
}

#slide_sec .item h2 strong {
    font-weight: 700;
}

#slide_sec .container {
    width: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-nav.disabled+.owl-dots {
    position: absolute;
    bottom: 90px;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 0px;
}

.owl-dots .owl-dot.active span,
.owl-dots .owl-dot:hover span {
    background: #8CC63F;
}

.owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
}


/* INFO */

.info {
    margin: -40px 0 80px;
    position: relative;
    z-index: 2;
}

.info .row {
    background: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 35px 0;
}

.info ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.info ul li {
    text-align: center;
    border-left: 1px solid #e2e2e2;
    width: 25%;
}

.info ul li:first-child {
    border: none;
}

.info ul li h6 {
    color: #848484;
    width: 100px;
    margin: 0 auto;
}

.info ul li:hover img {
    transform: scale(1.2);
}

.about {
    margin: 0 0 80px;
}

.about .col-lg-7 {
    padding-left: 80px;
}


/* PRODUCTS */

.products {
    margin-bottom: 80px;
}

.products h2,
.products p {
    text-align: center;
}

.products h2+p {
    margin: 0 auto;
    color: #2A2F54;
    margin-bottom: 30px;
}

.products.bg {
    background: #ECF9F5;
    padding: 40px 0;
    margin: 0;
}

.products .pro-det {
    background: white;
    border: 1px solid #e2e2e2;
    padding: 20px;
    margin: 15px 0;
}

.products .pro-det p {
    font-weight: 600;
}

.products .pro-det .pro-img {
    width: 100%;
    display: flex;
    align-items: center;
    height: 200px;
    justify-content: center;
    margin: 30px 0;
}

.products .pro-det h6 {
    border-top: 1px solid #848484;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.products .pro-det h6 i {
    font-size: 14px;
}

.pro-det h6 a {
    padding: 3px 10px;
    font-size: 15px;
    text-transform: uppercase;
}

.contact {
    margin-bottom: 30px;
}

.contact form {
    margin-top: 20px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
}

.modal-header h5 {
    color: #8CC63F;
}

.modal-body input[type="submit"] {
    margin: 0 auto;
    display: block;
}

.modal-header .close {
    background: none;
    color: #8CC63F;
    opacity: 1;
    padding: 5px;
    margin: 0;
}

@media(min-width:1000px) {
    header nav {
        display: flex;
        align-items: center;
        height: 100%;
    }
    header nav>ul {
        display: flex;
        justify-content: space-evenly;
        width: 100%;
        padding-top: 5px;
    }
    .products h2+p {
        width: 685px;
    }
}

@media (max-width:999px) {
    .container {
        width: 100%;
    }
    header .menu {
        position: relative;
        right: 0;
        top: 0;
        margin-left: 20px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background: #8CC63F;
        transition: all 200ms linear;
        z-index: 10;
    }
    header .menu span {
        display: block;
        width: 50%;
        height: 2px;
        position: relative;
        border-radius: 10px;
        transition: all 200ms linear;
        background: #fff;
    }
    header .menu span:before,
    header .menu span:after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        transition: all 200ms linear;
        background: #fff;
    }
    header .menu span:before {
        top: -5px;
    }
    header .menu span:after {
        top: 5px;
    }
    header nav {
        position: fixed;
        left: -100%;
        top: 0;
        width: 200px;
        padding: 30px 0 0;
        height: 100vh;
        background: #8CC63F;
        z-index: 10;
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    }
    header nav ul li:hover>a,
    header nav ul li.active a {
        background: white;
        color: #8CC63F;
    }
    header.current nav {
        left: 0;
    }
    header nav li a {
        padding: 10px;
        display: block;
    }
    header.current .menu span {
        background: none !important;
    }
    header.current .menu span:before {
        transform: rotate(45deg) translate(3px, 4px);
    }
    header.current .menu span:after {
        transform: rotate(-45deg) translate(3px, -4px);
        -webkit-transform: rotate(-45deg) translate(3px, -4px);
        -moz-transform: rotate(-45deg) translate(3px, -4px);
        -ms-transform: rotate(-45deg) translate(3px, -4px);
        -o-transform: rotate(-45deg) translate(3px, -4px);
    }
    header .col-md-7 {
        position: absolute;
    }
    header .txt_rgt {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    #slide_sec .item h2 {
        width: 100%;
        line-height: 38px;
        font-size: 29px;
    }
    #slide_sec .item p {
        display: none;
    }
    .info {
        margin-top: 0;
    }
}

@media(max-width:460px) {
    header p {
        display: none;
    }
    .info ul li {
        width: 50%;
    }
    .info ul li:nth-child(3) {
        border-left: none;
    }
}