/*
Theme Name: MDSCO
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/


/* CSS Contact */
.map-contact p {
    padding: 0px;
    margin-bottom: 0px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.wpcf7 input[type="text"]:focus {
    background: #fff;
}

.wpcf7-submit {
    float: right;
    background: #CA0002;
    color: #fff;
    text-transform: uppercase;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
}

.wpcf7-submit:hover {
    background: #c8a00a;
}

span.wpcf7-not-valid-tip {
    text-shadow: none;
    font-size: 12px;
    color: #fff;
    background: #ff0000;
    padding: 5px;
}

div.wpcf7-validation-errors {
    text-shadow: none;
    border: transparent;
    background: #f9cd00;
    padding: 5px;
    color: #9C6533;
    text-align: center;
    margin: 0;
    font-size: 12px;
}

div.wpcf7-mail-sent-ok {
    text-align: center;
    text-shadow: none;
    padding: 5px;
    font-size: 12px;
    background: #59a80f;
    border-color: #59a80f;
    color: #fff;
    margin: 0;
}

#responsive-form {
    max-width: 600px
        /*-- change this to get your desired form width --*/
    ;
    margin: 0 auto;
    width: 100%;
}

.form-row {
    width: 100%;
}

.column-half,
.column-full {
    float: left;
    position: relative;
    padding: 0.25rem;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/**---------------- Media query ----------------**/
@media only screen and (min-width: 48em) {
    .column-half {
        width: 50%;
    }
}
/* End CSS Contact */

/* CSS Trang Testimoni */
.btn-review a.button.primary {
    border-radius: 7px;
}
.rd-rating .col-inner.text-left {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.btn-review .col-inner.text-right {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.btn-review .col-inner.text-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.row-rating {
    margin-bottom: 20px;
}
.rating-number .star-rating {
    margin-right: 0px !important;
}
.rating-number .star-rating span:before {
    color: #EAB309;
}
.rating-number {
    display: flex;
    align-items: center;
}
.number-rt {
    font-size: 20px;
    color: #111;
    font-weight: bold;
    margin-right: 10px;
}
.number-res {
    font-size: 16px;
    color: #111;
    margin-left: 5px;
}
/* End CSS Trang Testimoni */


/* CSS Online Order */
a.button.primary.expand.btn-ord:hover {
     background: #fff;
    border-color: unset;
    box-shadow: unset;
    color: #111;
}
#online-order .col {
    padding: 0px !important;
}
#online-order {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 3px 10px -1px rgba(0, 0, 0, .3), 0 2px 50px 2px rgba(0, 0, 0, .2);
}
#online-order .btn-order {
    margin-left: 0;
    margin-right: 0;
    padding: 20px;
}
/* End CSS Online Order */
/*************** ADD CUSTOM CSS HERE.   ***************/

/* CSS line */
h3.title--line {
    position: relative;
    display: inline-block;
    width: auto;
    font-size: 14px;
    margin-bottom: 25px;
    color: #bfbfbf;
    font-weight: 700;
}
.title--line:before {
    position: absolute;
    content: '';
    height: 2px;
    width: 80%;
    bottom: -10px;
    background: #c8a00a;
}
.title--line.title--line-center:before {
    max-width: 80px;
    margin: 0 auto;
    transform: translateX(0%);
    left: 0;
    right: 0;
}
/* End CSS line */

/* CSS Section 1 */

/* CSS title */
.tt_subtext  .section-title-normal span {
    border-bottom: 2px solid #c8a00a;

}
.tt_subtext .section-title-normal {
    border-bottom: unset;
}
.tt_subtext h3 {
	font-size: 14px;
}
.tt-main h2{
	font-size: 40px;
}

/* CSS Img */
.box_img_1 {
    position: relative;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 10px 10px 0px 0px #c8a00a;
}

.box_img_2, .box_img_3 {
    position: absolute !important;
    text-align: left;
    margin-left: 0;
    border-radius: 7px;
    overflow: hidden;
    border: 3px solid #FFFFFF;
    box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
}

.box_img_2 {
    inset: auto -100px -60px auto; /* Thay thế top, right, bottom, left */
}

.box_img_3 {
    inset: auto auto -90px 30px;
}
/* END CSS Section 1 */


/* CSS Section 2 */
.sc-box h3.section-title.section-title-normal {
	display:block;
}
.sc-box a.button.primary:hover {
    background-color: #ffffff;
    color: #c8a00a;
    background-image: initial;
    border-color: #c8a00a;
    box-shadow: none;
}
.sc-box .bg-row {
	background: #fff;
}
/* END CSS Section 2 */

/* CSS Footer */
.ft-box td {
    text-align: right;
}
.ft-box td,.ft-box th {
    border-color: #00000000!important;
}
.ft-box h4.section-title.section-title-normal {
    display: block;
    border-color: hsl(0deg 0% 100% / 0%);
}
.ft-box span.section-title-main {
	text-transform: capitalize;
    border-color: #ffffff !important;
}
/* END CSS Section 2 */


/* CSS Testimonial */
.box-tt strong.testimonial-name.test_name {
    color: #111;
}
.box-tt .star-rating span:before {
    color: #EAB309;
}
.box-tt p {
    overflow-y: auto;
    max-height: 80px;
}
.box-tt .icon-box-img.testimonial-image.circle {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 100px;
}
.box-tt .testimonial-text.line-height-small.italic.test_text.first-reset.last-reset.is-italic {
    padding-bottom: 75px;
}
/* END CSS Testimonial */


/* CSS About */

/* CSS Our Story */
.about-tt h2 {
    font-size: 38px;
    line-height: 1.3em;
}
.about-tt p {
    line-height: 1.8em;
}
.about_img_2, .about_img_3 {
    position: absolute !important;
    text-align: left;
    margin-left: 0;
    border-radius: 7px;
    overflow: hidden;
    border: 3px solid #FFFFFF;
    box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
}

.about_img_2 {
    inset: auto -36px -95px auto; /* Thay thế top, right, bottom, left */
}

.about_img_3 {
    inset: 330px auto auto -30px;
}
/* END CSS Our Story */


/* END CSS About */

/* CSS tablet */
@media only screen and (min-width: 768px) and (max-width: 980px) {
/* CSS Section 1 */
  .box_img_2 {
        inset: auto -5px -60px auto;
        transform: translate(0, 0);
    }
    
    .box_img_3 {
        inset: auto auto -70px 100px;
        transform: translate(0, 0);
    }
/* END CSS Section 1 */
	
	
/* CSS Section 2 - Ảnh*/	
	.sc-box .bg-row{
	padding: 0 20px;
    background-color: #c8a00a;
	}
/* END CSS Section 2 - Ảnh*/	
	
/* CSS Our Story */
.about_img_2 {
    inset: auto 27px -80px auto; /* Thay thế top, right, bottom, left */
}

.about_img_3 {
    inset: 260px auto auto 100px;
}
/* END CSS Our Story */	
	
	
}


/* CSS mobi */
@media only screen and (max-width: 767px) {
/* CSS Section 1 */
	.tt-main h2{
	font-size: 28px;
}
    .box_img_2 {
        inset: auto -8px -46px auto;
        transform: translate(0, 0);
    }
    
    .box_img_3 {
        inset: auto auto -50px 60px;
        transform: translate(0, 0);
    }
/* END CSS Section 1 */
	
/* CSS Section 2 - Ảnh*/	
	.sc-box .bg-row{
	padding: 0 20px;
    background-color: #c8a00a;
	}
/* END CSS Section 2 - Ảnh*/	

/* CSS chung sub text */
	.sc-box h3.section-title.section-title-normal {
    font-size: 10px;
}
	
/* CSS Our Story */
.about-tt h2 {
    font-size: 26px;
    line-height: 1.3em;
}
.about_img_2 {
    inset: auto 0px -50px auto; /* Thay thế top, right, bottom, left */
}

.about_img_3 {
    inset: 200px auto auto -5px;
}
/* END CSS Our Story */
.btn-review .col-inner.text-right {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rd-rating .col-inner.text-left {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
	border-bottom-left-radius: 0px;
}
	.btn-review .col-inner.text-right {
		border-top-right-radius: 0px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
	.row-rating {
	padding: 10px;
    margin-bottom: 20px;
}
}



@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}