/* main detail */

#main-detail {
    padding-top: 30px;
}

.btn-product-menu {
    color: #444;
    cursor: pointer;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.product-down-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

#down-menu {
    border-left: 1px solid #ced4da;
}

#down-menu a {
    font-size: 14px;
    margin-left: 10px;
    /*float: right;*/
}

.button {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    width: 50px;
    height: 30px;
    background: #666666;
    color: #fff;
    border: none;
    padding-right: 10px;
    border-radius: 99px;
    -webkit-border-radius: 99px;
    -moz-border-radius: 99px;
    -ms-border-radius: 99px;
    -o-border-radius: 99px;
}

.mySlides {
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
}

.mySlides img {
    display: block;
    background-size: 100%;
    transition: transform .5s ease;
}


/* .mySlides:hover img {
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
} */


/* Position the image container (needed to position the left and right arrows) */

.container {
    position: relative;
}

.cursor {
    cursor: pointer;
}

.deal-detail {
    position: absolute;
    top: 10px;
    left: 27px;
    z-index: 2;
    width: 45px;
    height: 45px;
    background: #fa9400;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.deal-detail p {
    font-weight: bold;
    text-align: center;
    line-height: 45px;
    color: #fff;
}

.detail-img:hover .next,
.detail-img:hover .prev {
    opacity: 1;
}


/* Next & previous buttons */

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 30%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 23px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    opacity: 0;
    transition: .5s ease;
    -webkit-transition: .5s ease;
    -moz-transition: .5s ease;
    -ms-transition: .5s ease;
    -o-transition: .5s ease;
}


.next {
    right: 15px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}


.detail-sp-text p {
    padding-top: 10px;
    margin-bottom: 0px;
}

.buttons_added {
    margin-top: 25px;
    opacity: 1;
    display: inline-block;
    display: -ms-inline-flexbox;
    display: inline-flex;
    white-space: nowrap;
    vertical-align: top;
}

.is-form {
    overflow: hidden;
    position: relative;
    background-color: #f9f9f9;
    height: 2.2rem;
    width: 1.9rem;
    padding: 0;
    text-shadow: 1px 1px 1px #fff;
    border: 1px solid #ddd;
}

.is-form:focus,
.input-text:focus {
    outline: none;
}

.is-form.minus {
    border-radius: 99px 0 0 99px;
    -webkit-border-radius: 99px 0 0 99px;
    -moz-border-radius: 99px 0 0 99px;
    -ms-border-radius: 99px 0 0 99px;
    -o-border-radius: 99px 0 0 99px;
}

.is-form.plus {
    border-radius: 0 99px 99px 0;
    -webkit-border-radius: 0 99px 99px 0;
    -moz-border-radius: 0 99px 99px 0;
    -ms-border-radius: 0 99px 99px 0;
    -o-border-radius: 0 99px 99px 0;
}

.input-qty {
    background-color: #f9f9f9;
    height: 2.2rem;
    text-align: center;
    font-size: 1rem;
    display: inline-block;
    vertical-align: top;
    margin: 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: 0;
    border-right: 0;
    padding: 0;
    outline: none;
}

.input-qty:focus {
    outline: none;
}

.input-qty::-webkit-outer-spin-button,
.input-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.single_add_to_cart_button {
    padding-left:10px;
    margin-top: -2px;
    margin-left: 50px;
    width: 120px;
    background: #fa9400;
    text-align: center;
    height: 40px;
    outline:none;
}

.detail-meta {
    margin-top: 30px;
}

.detail-meta p {
    margin-bottom: -15px;
    border-top: 1px dotted #ddd;
}

.detail-footer {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.detail-footer .display_flex .tabs {
    list-style: none;
}

.display_flex {
    margin-bottom: 0px;
    display: flex;
}

@media (max-width: 375px) {
    .display_flex {
        display: block;
    }
    .display_flex .tabs {
        display: inline-grid;
        width: 100%;
        border: 1px solid #ddd
    }
    .display_flex .tabs .tittle-tabs {
        margin: 0;
    }
}

.tab-panels {
    border: 1px solid #ddd;
    /* margin: 15px 0; */
}

.Tabs-panel-text {
    text-align: justify;
    border-bottom: 1px solid #eee;
}
.Tabs-panel-text img{
  width:100% !important;
}
.tabs.active .tittle-tabs {
    background-color: #fff;
    border-top-color: #004895;
}

.tittle-tabs {
    cursor: pointer;
    background-color: rgba(0,0,0,0.04);
    border-top: 2px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    color: #000;
    padding: 10px 15px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    margin-right: 5px;
    display: inline-block;
}

.tabs.active .text {
    border-top: 2px solid #004895;
    display: block;
}

.tab-panels {
    display: none;
}

.tab-panels.show {
    display: block;
    width: 100%;
}

.mau_sac a,
.mau_sac a:hover {
    text-decoration: none;
    color: #000;
    font-size: 16px;
}

.Reviews {
    margin-top: -15px;
}

.Reviews-title {
    margin-left: 30px;
    margin-top: 30px;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Times New Roman', Times, serif;
}

.review_form_wrapper {
    margin: 25px;
    border: 2px solid #004895;
    padding: 15px 10px;
}

.comment-form p {
    font-weight: 700;
}

.comment-form ul {
    display: flex;
}

.comment-form .heart li {
    padding: 0 5px;
    border-right: 1px solid #eee;
}

.stars a {
    font-size: 16px;
    margin-left: -10px;
    display: inline-block;
    color: transparent !important;
    overflow: hidden;
}

.stars a+a {
    margin-left: .3em;
    border-left: 1px solid #ececec;
}

.stars a.active::after {
    color: red;
}

.stars a:after {
    color: #242526;
    content: '\2730';
}

.stars a.star-2:after {
    content: '\2730\2730';
}

.stars a.star-3:after {
    content: '\2730\2730\2730';
}

.stars a.star-4:after {
    content: '\2730\2730\2730\2730';
}

.stars a.star-5:after {
    content: '\2730\2730\2730\2730\2730';
}

.stars a:hover:after,
.stars a.active:after {
    color: #d26e4b;
}

.fa-heart {
    color: #000;
    display: block;
}

.product-section {
    margin: 25px 0 50px;
}

.form-submit {
    margin: 20px 0px;
}

.form-submit button {
    padding: 7px 25px;
    color: #f1f1f1;
    background: #004895;
    font-weight: 600;
    border: none;
    text-transform: uppercase;
}

.product-sp {
    padding-bottom: 30px;
}

.detail-tuongtu {
    margin-bottom: 40px;
}

.detail-tuongtu h4 {
    font-size: 20px;
    font-weight: 600;
    padding: 15px 0px;
}

@media(max-width: 999px) {
    .detail-sp-text {
        padding: 30px 0px;
    }
    .detail-right {
        border: 0px;
    }
}


/* click zoom */

#myImg {
    cursor: pointer;
    transition: 0.3s;
}


/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 50px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(60, 60, 60, 0.9);
    /* Black w/ opacity */
}


/* Modal Content (image) */

.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 600px;
    border: 0px !important;
}


/* Add Animation */

.modal-content {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}


.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.detail-img{
  margin-left:15px;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 1023px) {
    .detail-right{
      border-left:0px !important;
    }
}
@media only screen and (max-width: 767px) {
    .modal-content {
        width: 60%;
    }
}