/* Loading CF7 */
.alert {
	z-index: 999999999 !important;
    display: block !important;
    font-size: 16px;
    padding-right: 50px;
}
@media (max-width:768px) {
    .alert {
        font-size: 12px;
        padding-right: 50px;
    }
}

.wpcf7-response-output {
	display: none !important;
}

.wpcf7-loading-popup .modal-body {
	padding: 0;
}

.wpcf7-loading-popup .modal-content {
	border: 0;
	border-radius: 0;
}

.popup_content {
	padding: 50px;
	text-align: center;
}

.alert>.close {
	position: absolute;
	right: 0;
	top: 3px !important;
	z-index: 9;
	opacity: 1;
	text-shadow: none;
	width: 40px;
	height: 40px;
    border: none;
    background: none;
    color: #fff;
    font-size: 40px;
    font-weight: lighter;
}

.alert-success>.close {
    color: #3c763d
}

.alert-danger>.close {
    color: #a94442
}

.wpcf7-loading-popup .close i {
	font-size: 40px;
}

.wpcf7-loading-popup .mfp-preloader {
	color: #ccc;
	position: absolute;
	top: 1px;
	left: 50%;
	width: 24px;
	height: 24px;
	background: url("../loading/loading.gif") center center no-repeat;
	text-align: center;
	margin-top: 60%;
	margin-left: -12px;
	z-index: 1014;
	text-indent: -9999px;
	background-color: #000;
	padding: 25px;
	border-radius: 5px;

}

.wpcf7-form-contact .wpcf7-not-valid-tip,
.wpcf7-form-contact2 .wpcf7-not-valid-tip
{
	font-size: 14px;
    font-style: italic;
    margin: 1px 0px 0px 4px;
}

@media (min-width:768px) and (max-width:1024px) {
    .col-sm-4.alert {
        width: 65%;
    }
}
/* End Loading CF7 */

/* CSS custom */
.tt-message-error {
	font-size:14px;
	font-style: italic;
	color: red;
	margin-left: 12px
}

.tt-result-none {
	margin: 0px 0px 100px 0px;
    text-align: center;
    font-style: italic;
    color: #1A1919;
    font-size: 17px;
}

.tt-banner-none {
    height: 250px;
}

.tt-page-none {
    pointer-events: none;
}

.hide-1-line {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.hide-2-line {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hide-3-line {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.hide-4-line {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* NEW CSS */
#loading {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #c0c5cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    text-align: center;
    padding-top: 15px;
    display: none;
}

#loading.lshow {
    display: flex;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* NEW */
.tg_content .mekamic_bg_grey_first {
    padding: 17rem 0 0 0;
}

.tg_content .mekamic_bg_grey_last {
    background: linear-gradient(180deg, rgba(245, 245, 245, 0) 0%, rgba(245, 245, 245, 0.6) 100%);
    border-radius: 0 0 6rem 6rem;
    padding: 0px 0 12rem 0;
}

@media (max-width: 1024px) {
    .tg_content .mekamic_bg_grey_last {
        background: transparent;
        border-radius: 0;
        padding: 8rem 0 0 0;
    }
}

.tg_content_intro_hide .tg_content_intro_hp_general_top_right_bg:after {
    background: #fff;
}

.tg_homepage .tg_content_slider_hp_general_slider_detailds_widget p {
    font-size: 1.8rem;
    line-height: 120%;
    color: #fff;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.5rem;
}

.tg_homepage .tg_content_slider_hp_general_slider .swiper-slide-active .tg_content_slider_hp_general_slider_detailds_widget p {
    animation: fadeIn 1s ease-in both;
    animation-delay: 0.5s;
}

.pb-8 {
    padding: 0 0 8rem 0;
}
@media (max-width: 1024px) {
    .pb-8 {
        padding: 0 0 2.4rem 0;
    }
}

.pb-12 {
    padding: 0 0 12rem 0;
}
@media (min-width: 1025px) and (max-width: 1599px) {
    .pb-12 {
        padding: 0 0 10rem 0;
    }
}
@media (max-width: 1024px) {
    .pb-12 {
        padding: 0 0 4rem 0;
    }
}

.pb-12.section_mekamic_service_web_efficiency {
    border-bottom: 0.1rem solid #dddddd;
}

.tg_service .section_mekamic_service_tab .section_mekamic_service_web_efficiency_wrap_manufacturing_widget_content p {
    font-size: 1.6rem;
    line-height: 140%;
    color: #191919;
    font-weight: 300;
    font-style: normal;
    text-align: justify;
    margin: 0 0 2.4rem 0;
}

.tg_service .section_mekamic_service_tab .section_mekamic_service_web_efficiency_wrap_manufacturing_widget_content h5 {
    font-size: 1.6rem;
    line-height: 140%;
    color: #191919;
    font-weight: 600;
    font-style: normal;
    margin: 0 0 0.8rem 0;
}

.tt-5-12 {
  padding: 5rem 0 0 0;
}
@media (min-width: 1025px) and (max-width: 1599px) {
  .tt-5-12 {
    padding: 3rem 0 0 0;
  }
}
@media (max-width: 1024px) {
  .tt-5-12 {
    padding: 2.4rem 0 0 0;
  }
}

.tg_product .section_mekamic_product_wrap_right.hide_sidebar {
    width: 100%;
}
.mekamic_cat_info p {
        white-space: nowrap;
}

@media (max-width: 767px) {
    .mekamic_cat_info a {
        flex-shrink: 1;
    }
}

.wpcf7-submit-contact.active {
    position: relative;
    pointer-events: none;
    opacity: 0.5;
    background-color: #8f182c !important;
}

.loading_submit {
    position: absolute !important;
    animation: spin_submit 0.6s linear infinite;
}

.wpcf7-submit-contact.active .loading_submit {
    display: block !important;
}
.wpcf7-submit-contact.active span,
.wpcf7-submit-contact.active svg:first-of-type {
    opacity: 0;
}

@media (max-width: 767px) {
    .wpcf7-submit-contact.active .loading_submit {
        width: 20px;
        height: 20px;
    }
}

@keyframes spin_submit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tg_product .section_mekamic_product_wrap_right_product_list_content {
    transition: none;
}

.tg_footer_bottom_general_right_register_title {
    margin-bottom: 1.2rem;
}

.modal-open {
    padding: 0px !important;
}

.tg_footer_bottom_general_right_register_input button {
    top: 25px !important;
}

.tg_content_history_general_bg_detailds_widget_inner p strong {
    font-size: 1.8rem;
    line-height: 140%;
    color: #191919;
    font-weight: 500;
    font-style: normal;
    margin-bottom: 0.6rem;
    display: inline-block;
}
@media (max-width: 1024px) {
    .tg_content_history_general_bg_detailds_widget_inner p strong {
        font-size: 1.4rem;
        margin-bottom: 0px;
    }
}

.tg_content_organizational_chart_title_bg_left strong {
    font-size: 3.2rem;
    line-height: 140%;
    color: #191919;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 2.4rem;
    display: inline-block;
}

@media (max-width: 767px) {
    .tg_content_organizational_chart_title_bg_left strong {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .tg_content_organizational_chart_title_bg_left strong {
        font-size: 2.4rem;
        text-align: center;
    }
}

@media (min-width: 1025px) and (max-width: 1599px) {
    .tg_content_organizational_chart_title_bg_left strong {
        font-size: 2.4rem;
    }
}

.tg_header_wrap_right_lang.select_wrap .select_ul li {
    padding: 0px;
}

.tg_header_wrap_right_lang li a {
    padding: 11px 20px;
    width: 100%;
    color: #1a1919
}

.tg_header.tg_fixed .nav_primary > li.menu-item-has-children.tg_active > a::after {
    color: #8f182c;
}

.tg_header.tg_fixed .nav_primary > li.tg_active ul.sub-menu li a {
    color: #191919;
}
.tg_header.tg_fixed .nav_primary > li.tg_active ul.sub-menu li a:hover {
    color: #8f182c;
}

.tg_search_resuilt .section_mekamic_title {
    margin-bottom: 5rem;
}

@media (max-width: 1024px) {
    .tg_search_resuilt .section_mekamic_title {
        margin-bottom: 2rem;
    }
}

.mekamic_social_fixed_phone a {
    position: relative;
    z-index: 1;
}

.tg_content_history_tab ul {
    min-width: 70rem;
    transform: translateX(-50%);
    position: relative;
    left: 50%;
    width: initial;
    max-width: initial;
    display: inline-flex;
}
@media (min-width: 1599px) {
    .tg_footer_top_detail {
        gap: 8rem;
    }
}
