@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
* {margin: 0;padding: 0;box-sizing: border-box;}
img {max-width: 100%;height: auto;}
body {background: #ffffff;font-size:16px;line-height:1.4;color: #000000;font-family: 'Roboto', sans-serif; font-weight: 500;}
ul {list-style: none;padding: 0;margin-bottom: 0;}
p {margin-bottom: 15px;}
a {color: #000000;text-decoration: none;transition: 0.4s;}

/* ----- Heading Font CSS ------ */

h1,h2,h3,h4,h5,h6 {margin-bottom: 15px;line-height: 1.2;font-weight: 700;font-family: 'Roboto', sans-serif;}
h1{font-size:25px;}
h2{font-size:22px;}
h3{font-size:20px;}
h4{font-size:18px;}
h5{font-size:16px;}
h6{font-size:14px;}
strong{font-weight: 500;}
a:focus,.btn:focus,button:focus,.btn-primary:not(:disabled):not(.disabled):active:focus {outline: none;box-shadow: none;}
input:focus{border: none;outline: none;}
/* global css start */ 
.full_width{width: 100%;float: left;}
.wrapper{max-width:1080px;margin: 0 auto;width: 100%;}
.btn_one{transition: 0.4s; padding:12px 12px;min-width:130px;float: left;font-size: 13px;text-transform: capitalize;text-align: center; border-radius: 4px;font-weight:500;line-height: 1;background:#540701;color: #ffffff; border:1px solid #ffffff}
.btn_one:hover{background: #910200;color: #fff;}
.main-content{padding-top:50px; min-height: calc(100vh - 158.4px);background: url(/assets/theme/images/bg-main.png)repeat;}
.mobile_bar{display: none;}

/* global css end */
/* ******************************* main css ***************************** */

/* header start */
.header{position: relative;top: 0;left: 0;background:url(/assets/theme/images/bg-header.png)repeat;background-size: contain;z-index: 999;transition: 0.4s;padding: 12px 0;}
.header.sticky{box-shadow: 0px 0px 10px rgba(145, 136, 135, 0.5);}
.header .inner_part{display: flex;flex-wrap: wrap;justify-content: space-between;align-items: center;}
.header .logo{width: 166px;}
.header .logo a{display: block;}
.header .logo img{width: 100%;display: block;}
.header .right_part{width: calc(100% - 166px);padding-left: 30px;display: flex;flex-wrap: wrap;justify-content: flex-end;align-items: center;}
.header .navigation{width:auto;}
.header .navigation ul{display: flex;flex-wrap: wrap;}
.header .navigation li{display: inline-block;position: relative;margin-left: 15px;}
.header .navigation li a{font-size: 13px;font-weight: 500;color: #ffffff;display: block;text-transform: uppercase;background: #540701;padding: 10px 22px;border: 1px solid #ffffff;border-radius: 4px;}
.header .navigation li.rex-current > a, .header .navigation li a:hover{background: #910200;}
.header .top_text{text-align: right;}
.header .top_text p{font-style: italic;color: #ffffff;text-transform: uppercase;font-weight: 500;font-size: 14px;}
/* header end */

.fullwidth_text .row{margin-left: -15px;margin-right: -15px;}
.textzeile{margin-bottom: 20px;}
.text_editor,.fullwidth_text,.categories_name,.cat_details .top_description,.all_categgory,.contact_form  {margin-bottom: 35px;}
.textzeile h2{text-transform: uppercase;color: #540701;margin-bottom: 0;}
.fullwidth_text .inner_part{display:flex;flex-wrap: wrap;justify-content: space-between;}
.fullwidth_text .left_part{width: 38%;float: left;}
.fullwidth_text .right_part{width: 58%;float: right;}
.fullwidth_text picture{width: 100%;float: left;}
.fullwidth_text picture img{display: block;width: 100%;}
.text_editor p a{text-decoration: underline;}
.text_editor p a:hover{color: #540701;}

.categories_name ul{display: flex;flex-wrap: wrap;}
.categories_name li{display: inline-block;text-align: left;margin: 0 6px 6px 0;min-width: 265px;border: 1px solid #910200;background: transparent;transition: 0.2s;}
.categories_name li a{font-size: 13px;text-transform: uppercase;display: block;padding:6px 10px;display: flex;flex-wrap: wrap;align-items: center;width: 100%;height: 100%;}
.categories_name li:nth-child(4n){margin-right: 0;}
.categories_name li:hover{background: #540701;}
.categories_name li:hover a{color: #ffffff;}
.cat_details .top_description b{color: #540701;margin-bottom: 0;font-weight: 700;font-family: 'Roboto', sans-serif;}
.cat_details td .img-fluid.img-max { height: 100px; width: 100px;object-fit: cover;}
.cat_details .btn_one{margin-bottom: 20px;}
.cat_details  .left_part{width: 50%;float: left;}
.cat_details  .right_part{width: 45%;float: right;}

.categories_name .btn_box {position: relative;margin-bottom: 20px;}

.categories_name .btn_box .search_btn{position: absolute;right: 0;top: -40px;}










.cat_details  .left_label{width: 115px;float: left;font-size: 18px;font-weight: 700;}
.cat_details  .left_part span{width: calc(100% - 115px);padding-left: 5px;float: left;}
.cat_details  .left_part h1,.cat_details  .left_part h2,.cat_details  .left_part p{width: 100%;float: left;display: flex;
    align-items: center;}
/* .cat_details .btn_box a{margin-left: 120px;} */

/* .contact_form .wrapper{max-width: 800px;} */
.contact_form .inner_part {display: flex;flex-wrap: wrap;justify-content: space-between;}
.contact_form  .form-group{width: 48%;float: left;margin-bottom: 13px;}
.contact_form  .form-group label{margin-bottom: 3px;padding-left: 4px;display: none;}
.contact_form  #yform-table-rex_contact-remarks{width: 100%;}
.contact_form input{width: 100%;float: left;font-family: 'Roboto', sans-serif;font-weight: 400;}
.contact_form textarea{width: 100%;float: left;resize: none;height: 200px;font-family: 'Roboto', sans-serif;font-weight: 400;}
.contact_form .btn.btn-primary{transition: 0.4s; padding:12px 12px;min-width:130px;float: left;font-size: 13px;text-transform: capitalize;text-align: center; border-radius: 4px;font-weight:500;line-height: 1;background:#540701;color: #ffffff; border:1px solid #ffffff}
.contact_form .btn.btn-primary:hover{background: #910200;}
.cat_details  .textbox {margin-bottom: 5px;}
.cat_details  .textbox p strong{font-weight: 700;}
input:focus,select:focus,textarea:focus{outline: none;border: 1px solid #000000;box-shadow: none;}
.contact_form .form-control{box-shadow: none;}
.contact_form .btn_one{margin-left: 6px;}

/* .header .navigation li ul{position: absolute;left: 0;top: 97px;background: #ffffff;width: 329px;padding: 5px 0px 15px;display: none;}
.header .navigation li ul li {display: block;}
.header .navigation li ul li a{font-weight: normal;display: block;padding: 10px 18px;}
.header .navigation > ul > li:hover > ul{display: block;} */

/* footer start */
.copy_right {background: #000000;padding: 20px 0;}
.copy_right p{color: #ffffff;font-size: 14px;margin-bottom: 0;text-align: center;text-transform: uppercase;}
/* footer end */

.cat_details .btn_box {margin-bottom: 30px;}
.cat_details .btn_box a{text-decoration: underline;color: #540701;}
.cat_details .btn_box a:hover{color: #910200;}
.carpet_order_section .outer_part {display: flex;justify-content: space-between;flex-wrap: wrap;}
.carpet_order_section .left_text{width: 45%;}
.carpet_order_section .contact_form{width: 45%;background: #540701;padding: 35px;border-radius: 5px;}
.carpet_order_section .image{margin-bottom: 30px;text-align: center;}
.carpet_order_section  .text{border: 1px solid #540701;}
.carpet_order_section  .text p{width: 100%;display: flex;justify-content: flex-start;align-items: center;border: 1px solid #540701;margin-bottom: 0;}
.carpet_order_section  .text p span{background: #540701;color: #fff;padding: 8px;margin-right: 20px;width: 40%; border-bottom: 1px solid #fff;}
.carpet_order_section  .text p:last-child span{border-bottom: none;}
.carpet_order_section  .contact_form .form-group{width: 100%;}
.carpet_order_section  .contact_form label,.carpet_order_section  .contact_form  h2{color: #fff;}
/* pagination  */
.pagination {padding-bottom: 40px;}
.pagination .wrapper{display: flex;flex-wrap: wrap;}
.pagination  a{border-radius: 2px; padding: 3px;margin: 2px;display: block; border: 1px solid #540701; font-size: 12px; min-width: 32px; text-align: center; line-height: 1;}
.pagination  a:hover, .pagination  a.active{background: #540701;color: #ffffff;}
td{vertical-align: middle;}

.custom_search .field{margin-bottom: 15px;display: flex;align-items: center;flex-wrap: wrap;justify-content: space-between;}
.custom_search .field label{margin-bottom: 5px;width: 120px;float: left;}
.custom_search .field input:not(.btn_one){width: calc(100% - 140px);float: right;}
/* .custom_search .field .left{width: 49%;float: left;} */
.custom_search .field .right{width: calc(100% - 140px);display: flex;justify-content: space-between;align-items: center;}
.custom_search .field .right label{width: auto;padding: 0 10px;}
.custom_search {padding-bottom: 50px;}
.custom_search .submit{text-align: right;justify-content: space-between;width: calc(100% - 140px);float: right;}
.custom_search .wrapper{max-width: 600px;margin: 0 auto;}

/* Responsive css start */

@media only screen and (max-width:1120px) {
.wrapper{max-width: 100%;padding: 0 20px;}
.categories_name li{width: 24%;margin-right: 1.3%;min-width: unset;}
.categories_name li:nth-child(4n){margin-right: 0;}

}

@media only screen and (max-width:991px) {
.header{padding: 18px 0;}
.header .navigation,.header .top_text{display: none;}
.mobile_bar{display: block;}
.header .right_part{position: relative;}
/* mobile menu */
.mobile_bar{position: relative; width: 45px;cursor: pointer;}
.mobile_bar span{width: 100%;display: block;height: 3px;background: #ffffff;margin-bottom: 7px;transition: 0.4s;}
.mobile_bar span:last-child{margin-bottom: 0;}
.mm-menu{background: rgba(0, 0, 0,0.8);}
.nav-link:focus, .nav-link:hover {color: #910200;}
.mm-listview > li{transition: 0.4s;}
.mm-listview > li:hover{background: rgba(255, 255, 255,0.7);}
/* mobile menu */
td{font-size: 15px;}

.copy_right p{font-size: 13px;}
.main-content{min-height: calc(100vh - 117.2px);}
.carpet_order_section .contact_form{width: 52%;}
.carpet_order_section .contact_form{padding: 20px;}

}

@media only screen and (max-width:767px) {
.fullwidth_text .left_part, .fullwidth_text .right_part{width: 100%;}
.carpet_order_section .left_text{width: 100%;}
.carpet_order_section .contact_form{width: 100%;margin-top: 30px;}

/* table css */
.all_categgory {margin-bottom: 50px;}
.all_categgory thead tr:first-child{display: none;}
.all_categgory  td{position: relative; width: 100%;padding-left: 48% !important; text-align: right;min-height: 55px;padding-right: 20px !important;display: flex;justify-content: flex-end;align-items: center;background: #f6f6f6;}
.all_categgory  td::before{content: attr(data-label);left: 20px;top: 50%;transform: translateY(-50%);width: 48%;font-weight: 500;font-size: 16px;position: absolute;text-align: left;}
.all_categgory  tr{margin-bottom: 15px;display: block; border: 1px solid #ddd;background: #f6f6f6;}
.all_categgory  tr td:first-child{border-top: none;}
.all_categgory  tr:last-child{margin-bottom: 0;}
}

@media only screen and (max-width:600px) {
.main-content{padding-top: 40px;}
.contact_form .form-group{width: 100%;}
.cat_details .left_part{width: 100%;}
.cat_details .right_part{width: 100%;margin: 20px 0;float: left;}
.categories_name ul{justify-content: space-between;}
.categories_name li{width: 49%;margin-right: 0;}
.contact_form .btn_one,.carpet_order_section  .contact_form .btn.btn-primary{min-width: 113px;}
.custom_search .field label{font-size: 14px;width: 85px;}
.custom_search .field input:not(input[type="submit"]),.custom_search .field .right,.custom_search .submit{width: calc(100% - 85px);}
.custom_search .field .right input{width: auto;}
.custom_search .field .right label{padding: 0 5px;font-size: 12px;}



}
