#fancy_form {
    margin-bottom: 30px;
}

#fancy_form .form-group {
    width: 100%;
    display: flex;
}

#fancy_form [name="fancy_text"], #fancy_form select {
    width: 100%;
    margin-bottom: 15px;
    background: white;
    font-size: 15px;
}

#fancy_form .btn.btn-primary.btn-lg.fancy_submit {
    background: #e70332;
    border: none;
    color: #fff;
    padding: 7px 50px;
    font-size: 18px;
    width: 100%;
    border-radius: 5px;
}

.ket-qua-show .form-group {
    display: flex;
    position: relative;
    margin-bottom: 15px;
}

.ket-qua-show .input-group-addon {
    display: block;
    background: #eee;
    border: 1px solid #ccc;
    border-right: 0;
    line-height: 35px;
    height: 35px;
    padding: 0 15px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    font-size: 14px;
}

.ket-qua-show .copy-text {
    display: block;
    background: #e70332;
    line-height: 35px;
    color: #fff;
    border: 0;
    border-radius: 0;
    padding: 0 20px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    height: 37px;
    white-space: nowrap;
    cursor: pointer;
}


.ket-qua-show .form-control {
    width: 100%;
    border-radius: 0;
    border: 1px solid #ccc;
    margin: 0;
}


.tabs {
    max-width: 100%;
}

.tabs-nav li {
    float: left;
    width: 50%;
}

.tabs-nav, .tabs-nav2 {
    list-style: none;
}

.tabs-nav li a {
    background: #eaeaed;
    border: 1px solid #cecfd5;
    display: block;
    font-weight: 600;
    padding: 5px 0;
    text-align: center;
    text-decoration: none;
    color: #000;
}

.tabs-stage p {
    display: block;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 20px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 40px;
}

.tabs-stage .wpb_wrapper:hover p {
    color: #e70332;
}

.tabs-nav li.tab-active a {
    background: #fff;
    border-bottom-color: transparent;
    color: #e70332;
    cursor: default;
}

.tabs-stage {
    border: 1px solid #cecfd5;
    border-top: 0;
    clear: both;
    padding: 15px;
    position: relative;
    top: -1px;
}


.img-crop {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
    margin-bottom: 10px;
}

.img-crop img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
}

.bai-lquan {
    margin-top: 40px;
}

.search-box-top {
    float: right;
    margin-left: 20px;
    position: relative;
}

.search-box-top input {
    height: 35px;
    margin-top: 5px;
    width: 200px;
    background: white;
    border-radius: 9px;
    padding-left: 30px;
    padding-right: 10px;
    border: 1px solid black;
}

.search-box-top i {
    position: absolute;
    left: 7px;
    top: 14px;
}

.search-box-top .search-submit {
    display: none;
}

.search .navigation.pagination {
    text-align: center;
    margin-top: 50px;
}

.search .page-numbers {
    padding: 7px 11px;
    border: 1px solid black;
    border-radius: 5px;
    margin: 0 1px;
    color: #e70332;
    line-height: 40px;
}

.search .page-numbers.current {
    background: #e70332;
    color: white;
    border-color: #e70332;
}

.blog-item .box-right h2 a {
    text-align: left;
    font-weight: bold;
    color: #e70332;
    font-size: 21px;
}

@media screen and (max-width: 640px) {
    .blog-item .box-right {
        width: 100%;
        float: left;
        display: inline-block;
        padding-left: 0;
        text-align: left;
    }
}

.search-box-top {
    position: relative;
}

.search-box-top .history-search {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1;
    padding-top: 20px;
}

.search-box-top .history-search .inner-search {
    display: inline-block;
    vertical-align: top;
    box-shadow: 0px 14px 40px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    border-radius: 10px;
    min-width: 320px;
    position: relative;
}

.search-box-top .history-search .inner-search:before {
    content: "";
    position: absolute;
    border-width: 20px;
    border-style: solid;
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    border-bottom-color: #fff;
    bottom: 100%;
    right: 30px;
}

.search-box-top .history-search .inner-search .box-search {
    padding: 20px 20px;
    border-bottom: 1px solid #e7e7e7;
}

.search-box-top .history-search .inner-search .box-search:last-child {
    border-bottom: 0;
}

.search-box-top .history-search .inner-search .box-search h4.title {
    color: #bfc4ce;
    font-size: 14px;
    margin-bottom: 10px;
}

.search-box-top .history-search .inner-search .box-search .tag-search a {
    display: inline-block;
    vertical-align: top;
    padding: 5px 18px;
    border: 1px solid #e03;
    border-radius: 8px;
    line-height: 17px;
    color: #e03;
    margin: 4px 2px;
}

.search-box-top .history-search .inner-search .box-search .tag-search a:hover {
    color: #fff;
    background-color: #e03;
}

.search-box-top .history-search .inner-search .box-search .list-search li {
    margin: 7px 0;
    line-height: 20px;
}

.search-box-top .history-search .inner-search .box-search .list-search li:hover a {
    color: #e03;
}

.search-box-top .history-search .inner-search .box-search .delete-history a.btn {
    width: 100%;
    color: #FF0000;
    display: block;
    background: #fff;
    box-shadow: 0px 10px 20px rgba(177, 186, 201, 0.15);
    border-radius: 10px;
    font-size: 14px;
    line-height: 18px;
    padding-top: 11px;
    padding-bottom: 11px;
    border: 1px solid #E03;
    text-align: center;
}

.search-box-top .history-search .inner-search .box-search .delete-history a.btn:hover {
    background-color: #f00;
    color: #fff;
}

.search-box-top:hover .history-search {
    display: block;
}

#list-search {
    list-style: none;
}

#list-search a {
    color: #e03;
}

.no-results .search-form {
    display: none;
}

.main-box {
    display: flex;
}

.main-box .g-left {
    width: 40%;
}

.main-box .box-left, .main-box .box-right {
    width: 50%;
}

.main-box .box-right {
    padding-left: 20px;
}

.main-box .g-right {
    width: 60%;
    padding-left: 30px;
}

.main-box .g-right .g-title {
    color: #f00;
    font-size: 20px;
    margin: 0 !important;
    font-weight: 400;
}

.g-gia {
    color: #000;
    font-size: 20px;
    margin: 0 !important;
    font-weight: bold;
    margin-bottom: 20px !important;
}

.main-box .g-left .slider-for img, .main-box .g-left .slider-nav img {
    width: 100%;
    height: auto;
}

.main-box .g-left .slider-nav {
    margin-top: 20px;
}

.main-box .g-left .slider-nav .slick-slide {
    opacity: 0.6;
    padding: 0 5px;
}

.main-box .g-left .slider-nav .slick-current {
    opacity: 1;
}

.main-box .g-left .slick-track {
    transform: unset !important;
}

.main-box a.dk-cuoc {
    display: inline-block;
    overflow: hidden;
    clear: both;
    padding: 9px 0;
    border-radius: 4px;
    font-size: 18px;
    line-height: normal;
    text-transform: uppercase;
    color: #fff !important;
    text-align: center;
    background: #f00;
    text-decoration: none;
    border-bottom: 0 !important;
    /*max-width: 350px;*/
    width: 100%;
    margin: 30px 0 20px;
}

.main-box a.dk-cuoc span {
    display: block;
    font-size: 14px;
    color: #fff;
    text-transform: none;
    margin: 2px 0 0 0;
}

.main-box .posted_in {
    font-size: 80%;
    border-top: 1px solid #0000001a;
    padding-top: 15px;
    width: 100%;
    display: block;
}

.main-box .posted_in a {
    color: #e03;
}

.box-right .entry-title a {
    text-align: left;
    font-weight: bold;
    color: #e70332;
    font-size: 21px;
    line-height: 22px;
}

.main-box a.dk-cuoc:hover {
    text-decoration: none !important;
    background: #f59000;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f59000), to(#fd6e1d));
    background: -webkit-linear-gradient(top, #fd6e1d, #f59000);
    background: -moz-linear-gradient(top, #fd6e1d, #f59000);
    background: -ms-linear-gradient(top, #fd6e1d, #f59000);
    background: -o-linear-gradient(top, #fd6e1d, #f59000);
    color: #fff;
}

.tabs-stage2 ul, .tabs-stage2 ol {
    padding-left: 20px;
}

#modal_dkcuoc .info-goi {
    display: flex;
}

#modal_dkcuoc .info-goi img {
    width: auto;
    height: 90px !important;
}

#modal_dkcuoc .info-goi .info p {
    font-size: 18px;
    color: #333;
    font-weight: 700;
    padding-bottom: 10px;
    display: block;
    line-height: 20px;
    padding-left: 15px;
    margin: 0 !important;
}

#modal_dkcuoc .info-goi .info .price {
    color: #f00;
}

.quy-trinh {
    margin-top: 20px;
    font-size: 15px;
}

#modal_dkcuoc .wpcf7-form-control {
    background-color: rgba(0, 0, 0, .03);
    box-shadow: none;
    color: #000;
    width: 100%;
    padding: 5px 10px;
    border: 1px solid #000;
    font-family: arial, Geneva, sans-serif;
    font-size: 15px;
}

#modal_dkcuoc .wpcf7-submit {
    width: 100%;
    padding: 8px 30px;
    background: #c3002a;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 0;
}

#modal_dkcuoc .hinhthuc .wpcf7-form-control {
    border: none;
    padding-left: 0 !important;
}

#modal_dkcuoc .hinhthuc .wpcf7-form-control .wpcf7-list-item {
    margin: 0;
    margin-right: 20px;
}

#modal_dkcuoc .wpcf7 .ajax-loader {
    position: absolute;
    bottom: 24px;
}

#modal_dkcuoc .wpcf7-form-control-wrap {
    display: flex;
    flex-wrap: wrap;
}

#modal_dkcuoc .wpcf7-response-output {
    margin: 0;
}

.d-none {
    display: none;
}

#modal_dkcuoc .wpcf7-spinner {
    position: absolute;
    right: 0;
    margin-top: 6px;
}

@media screen and (max-width: 550px) {
    .main-box {
        display: block;
    }

    .main-box .g-right {
        margin-top: 20px;
        padding: 0;
    }

    .main-box .g-right, .main-box .g-left,.main-box .box-left, .main-box .box-right {
        width: 100%;

    }
    .main-box .box-left{
        padding: 0 15px;
    }

    .author-top .box-left {
        display: block !important;
        align-items: center;
    }

    .author-top .date {
        margin-left: 0;
        font-size: 15px;
        margin-top: 10px;
    }
    #modal_dkcuoc .main-box {
        padding: 0 15px;
    }

    #modal_dkcuoc .main-box .box-right{
        padding: 0;
    }
}