﻿.box-customer {
    padding: 75px 0 0;
}

.box-customerh1 {
    color: #002e6e;
    font-family: paresefid-700;
    font-size: 1.8em;
    text-align: center;
}

.box-search-top {
    background-color: #78cdd1;
    padding: 35px 0;
}

    .box-search-top .form-group {
        margin-bottom: 0px;
    }

    .box-search-top .form-control {
        border: 2px solid #78cdd1;
        border-radius: 15px;
        box-shadow: 0 0 0 2px #fff;
        height: 40px;
    }

.btn-search {
    background-color: #002e6e;
    border: 2px solid #78cdd1;
    border-radius: 15px;
    box-shadow: 0 0 0 2px #f1821d;
    color: #fff;
    font-family: paresefid-700;
    font-size: 0.9em;
    height: 40px;
    width: 100%;
}

    .btn-search:hover {
        background-color: #fff;
        border: 2px solid #78cdd1;
        box-shadow: 0 0 0 2px #fff;
    }

/*---------customer---------*/

#box-best-new-customer {
    background-image: url(../images/template.jpg);
    background-repeat: repeat-x;
    display: inline-block;
    padding: 65px 0;
    width: 100%;
}

    #box-best-new-customer .box-customer-title {
        display: inline-block;
        position: relative;
        width: auto;
    }

    #box-best-new-customer .title-section {
        position: relative
    }

        #box-best-new-customer .title-section img {
            background-color: #fff;
            height: 60px;
            padding: 0 15px;
            position: relative;
            z-index: 100;
        }

.box-customer-title:after {
    -moz-border-radius: 50%;
    -moz-transform: translateY(-80%);
    -ms-transform: translateY(-80%);
    -o-transform: translateY(-80%);
    -webkit-border-radius: 50%;
    -webkit-transform: translateY(-80%);
    background-color: #79cdd1;
    border-radius: 50%;
    content: '';
    display: inline-block;
    height: 15px;
    position: absolute;
    right: -15px;
    top: 80%;
    transform: translateY(-80%);
    width: 15px;
}

.box-customer-title:before {
    -moz-border-radius: 50%;
    -moz-transform: translateY(-80%);
    -ms-transform: translateY(-80%);
    -o-transform: translateY(-80%);
    -webkit-border-radius: 50%;
    -webkit-transform: translateY(-80%);
    background-color: #79cdd1;
    border-radius: 50%;
    content: '';
    display: inline-block;
    height: 15px;
    left: -15px;
    position: absolute;
    top: 80%;
    transform: translateY(-80%);
    width: 15px;
}

.title-section hr {
    -moz-transform: translateY(-35%);
    -ms-transform: translateY(-35%);
    -o-transform: translateY(-35%);
    -webkit-transform: translateY(-35%);
    border-top: 3px solid #4a8a8a;
    position: absolute;
    top: -23%;
    transform: translateY(-23%);
    width: 100%;
}

.title-section strong {
    background-color: #fff;
    color: #777;
    display: inline-block;
    font-family: paresefid-400;
    font-size: 1em;
    font-weight: 500;
    margin-top: 3px;
    padding: 0 25px;
    position: relative;
    width: 100%;
    z-index: 1000;
}

.title-section a {
    position: relative;
    z-index: 10001;
}

    .title-section a:hover {
        color: #0088b2;
    }

.title-section p {
    color: #c7c7c7;
    font-family: paresefid-400;
    font-size: 1em;
    margin: 10px 0;
}

.box-customer-list {
    display: inline-block;
    list-style: none;
    margin: 35px 0;
    padding: 0;
    width: 100%;
}

    .box-customer-list li.box-item-customer {
        -webkit-border-radius: 5px;
        background-color: #f7f7f7;
        border: 1px solid #ddd;
        border-radius: 5px;
        display: inline-block;
        height: 185px;
        overflow: hidden;
        width: 100%;
        margin: 10px 0;
    }

.box-img-item-customer {
    display: inline-block;
    height: 185px;
    text-align: right;
    width: 100%;
}

    .box-img-item-customer a {
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        display: inline-block;
        left: -15px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
    }

        .box-img-item-customer a img {
            border: 5px solid #fff;
            border-radius: 50%;
            box-shadow: 0 0 0 2px #002e6e;
            height: 80px;
            width: 80px;
            transition: border 0.3s ease-in-out;
            object-fit: cover;
            object-position: center;
        }

        .box-img-item-customer a:hover img {
            border: 3px solid #fff;
            transition: border 0.3s ease-in-out;
        }

.background-width-customer {
    background-color: #002e6e;
    display: inline-block;
    height: 100%;
    width: 61%;
}

.box-more-item-customer {
    padding: 15px 0;
}

.box-customer-content {
    padding: 15px 0;
}

.box-more-item-customer a {
    background-color: #002e6e;
    border: 2px solid #78cdd1;
    border-radius: 15px;
    box-shadow: 0 0 0 2px #002e6e;
    color: #fff;
    display: inline-block;
    font-family: paresefid-700;
    font-size: 0.9em;
    margin: 20px auto;
    padding: 3px 15px;
    width: 100%;
    width: 100%;
}

    .box-more-item-customer a:hover {
        background-color: #fff;
        border: 2px solid #78cdd1;
        box-shadow: 0 0 0 2px #fff;
        color: #333;
    }

.star-customer i {
    color: #78cdd1;
    font-size: 1.3em;
}

.number-visit strong {
    color: #002e6e;
    font-family: paresefid-number, paresefid-700;
    font-size: 1.6em;
    font-weight: bold;
}

.number-visit span {
    color: #999999;
    font-family: paresefid-700;
    font-size: 1em;
}

.box-customer-content {
    display: inline-block;
    text-align: justify;
    width: 100%;
}

    .box-customer-content a {
        color: #002e6e;
        display: inline-block;
        font-family: paresefid-700;
        width: auto;
    }

        .box-customer-content a:hover {
            color: #78cdd1;
        }

    .box-customer-content strong {
        color: #807e7e;
        display: inline-block;
        font-family: paresefid-300;
        font-size: 0.9em;
        margin: 5px 0;
        width: 100%;
    }

    .box-customer-content p {
        color: #6b6b6b;
        display: inline-block;
        font-family: paresefid-300;
        font-size: 0.9em;
        line-height: 2;
        margin: 5px 0;
        width: 100%;
    }

@media (max-width: 1024px) {
    .box-img-item-customer a {
        left: -10px;
    }

        .box-img-item-customer a img {
            height: 60px;
            width: 60px;
        }

    .box-search-top .form-group {
        margin: 10px;
    }
}

@media (max-width: 767px) {
    .box-search-top .form-group {
        margin: 10px;
    }

    .box-customer-list li.box-item-customer {
        height: auto !important;
    }

    .background-width-customer {
        height: 120px;
        width: 100%;
    }

    .box-img-item-customer {
        height: auto;
        text-align: center;
    }

        .box-img-item-customer a {
            left: 0;
            right: 0;
        }

            .box-img-item-customer a img {
                display: inline-block;
            }

    .box-customer-content {
        padding: 15px;
    }

    .box-more-item-customer {
        padding: 15px;
    }
}
