@media (min-width: 992px) {
    .hide-min991 {
        display: none;
    }
}

@media (max-width: 991px) {
    .hide-max991 {
        display: none;
    }
}

footer ul {
    margin: 27px 0;
}

@media (max-width: 767px) {
    footer span {
        font-size: 10px;
    }
}

@media (min-width: 500px) and (max-width: 991px) {
    #service-ranges .list {
        padding-left: 25%;
    }
}

@media (max-width: 499px) {
    #service-ranges .list {
        padding-left: 12%;
    }
}

h1 {
    overflow: hidden;
    text-align: center;
}

#service-ranges {
    padding-bottom: 60px;
}

#cont-us{
    padding-bottom: 40px;
}

#cont-us p{
    color: black;
}

#cont-us table{
    margin-bottom: 15px;
}

#cont-us table span{
    font-size: 14px}

#cont-us h1{
    margin: 0;
    padding: 60px 0;
}

@media (max-width: 991px) {

    #service-ranges {
        padding-bottom: 30px;
    }
    #five-s li {
        width: 33.333% !important;
    }
    #five-s h1 {
        padding: 30px 0 30px 0 !important;
        margin: 0;
    }
    #five-s{
    padding-bottom: 30px !important;
    }
    
    #cont-us h1{
    margin: 0;
    padding: 30px 0;
    }
    
    #cont-us{
    padding-bottom: 10px;
    }
    
    #pro-ctt-us h2{
    font-size: 20px;
    }
}

#five-s{
    padding-bottom: 60px;
}

#five-s h1 {
    overflow: hidden;
    text-align: center;
    color: white;
    margin: 0 !important;
    padding: 60px 0 30px 0;
}



#five-s {
    background-position: center center;
    background-size: cover;
}

#five-s ul {
    padding: 0;
    text-align: center;
    display: inline-block;
}

#five-s li {
    text-align: center;
    width: 20%;
    float: left;
    min-height: 20px;
/*    background: yellowgreen;*/
    display: inline-block;
    padding: 3px;
    font-style: normal;
    vertical-align: top;
    margin-top: 10px;
}

#five-s .titles {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0 5px 0;
}

@media (max-width: 991px){
    #five-s .titles{
        font-size: 16px;
    }
}

#five-s .desc {
    line-height: 16px;
    font-size: 14px;
    margin: 0;
    padding: 0 7px
}

#five-s li>p {
    color: white;
}

#five-s li>img {
    max-width: 100%;
}

.yellow-block {
    padding-top: 17px;
    background: #fed009;
    width: 100%;
    content: "";
}

@media (max-width: 499px) {
    #five-s li {
        width: 100% !important;
        float: none !important;}
    
    #five-s li>img {
    width: 70px;
    }
    
    #five-s .titles{
        margin: 7px 0 5px 0;
    }
}

.company-name{
    font-size: 17px;
    font-weight: bold;
}

#general-banner{
    width: 100%;
    height: 335px;
    background-color: antiquewhite;
}
#summary{padding-bottom: 60px;}

#products-layout-board #img,
#summary #img {
    width: 100%;
    padding-top: 50%;
    background-color: antiquewhite;
    margin-bottom: 15px;
}

#fancy-title{
    color:#e0b228;
    font: 28px Arial;
    font-style: italic;
}
@media (max-width:700px){
    #fancy-title, .big-quote{
    font-size: 24px !important;
    font-weight: bolder !important;
    }
}
#summary p{
    padding: 0 15px !important;
}

#summary2{
    padding: 60px 0;
}
#summary2 #img1{
    width: 332px;
    height: 186px;
    background-color: antiquewhite;
    margin: 15px 0;
}
@media (max-width:767px){
    #summary2 #img1{
    width: 225px;
    height: 187px;
    background-color: antiquewhite;
    margin: 15px 0;
    }
}
#summary2 #img2{
    width: 225px;
    height: 187px;
    background-color: antiquewhite;
    margin: 15px 0;
}
#summary2 p{
    font: 30px Arial;
    font-weight: bolder;
}
#summary2 p, #summary2 span{
    color: white;
}
#color-space{
    width: 100%;
    padding-top: 50px;
    background-color: white;
}



#products-layout-board li{
    text-decoration: none;
    display: inline-block;
    list-style: none;
    width: 30.5%;
    margin: 10px;
    vertical-align: top;
}

@media (max-width: 992px){
    #products-layout-board li{
        width: 30%;
    }
}
@media (max-width: 767px){
    #products-layout-board li{
        width: 45%;
    }
}
@media (max-width: 470px){
    #products-layout-board li{
        width: 90%;
        float: none;
    }
}
#products-layout-board ul{padding: 0}
#products-layout-board{padding-bottom: 60px;}

@media (max-width:991px){
    #summary2, #products-layout-board{
    padding: 30px 0;
    }
    #summary,
    #products-layout-board,
    #cnc-machine,
    #pro-ctt-us,
    #websitemap,
    #site-map
    {padding-bottom: 30px !important;}
    
    #summary2 .col-md-6{
        text-align: center;
    }
    
    #summary2 p{
        font-size: 20px;
    }
}

#cnc-machine, #pro-ctt-us, #websitemap, #site-map{padding-bottom: 60px;}
#site-map .col-sm-3{text-align: center;}

#cnc-machine ul{padding: 0;}

#cnc-machine li{
    text-decoration: none;
    display: inline-block;
    vertical-align: top;
    list-style: none;
    width: 22.5%;
    margin: 10px;
/*    float: left;*/
}

#cnc-machine p,
#products-layout-board p{
    line-height: normal;
    font-style: normal;
    color: black;
}
.desc-title{
    font-weight: bold;
    margin-top: 10px;
}
@media (max-width: 1199px){
    #cnc-machine li{
        width: 21%;
    }
}

@media (max-width: 767px){
    #cnc-machine li{
        width: 45%;
    }
    .display-x{
        display: none;
    }
}
@media (max-width: 470px){
    #cnc-machine li{
        width: 90%;
        float: none;
    }
}
.img-cont img{
    width: 100%;
    height: auto;
    margin: 10px 0 30px 0;
}

.img-vision{
    max-width: 100%;
    height: auto;
    width: 330px;
    margin: 15px 0;
     clear: both;
}

.big-quote{
    font: 67px arial;
    font-style: italic;
}

.img-mission{
    max-width: 100%;
    height: auto;
    width: auto;
    margin: 15px 0;
     clear: both;
}


#pro-ctt-us .right{
    padding: 40px;
    background: #e6e8e7;
    min-height: 450px;
}

#pro-ctt-us .left{ 
    padding: 40px;
    background: #2f2e7c;
    min-height: 450px;
}

#pro-ctt-us h2{
    margin: 0;
    padding-bottom: 17px;
}

#pro-ctt-us p,
#pro-ctt-us span,
#pro-ctt-us .left h2{
    color: white;
}
#pro-ctt-us p,
#pro-ctt-us span{
    font-size: 14px;
}
@media (max-width: 767px){
#pro-ctt-us .right,
#pro-ctt-us .left{ 
    padding: 20px;
    min-height: auto;
    }
}

#pro-ctt-us table{
    margin-top: 15px;
}

#pro-ctt-us .success{
    padding-top: 5%;
    padding-bottom: 5%;
    font-size: 18px;
    text-align: center;
    color: #34495e;
}

#pro-ctt-us .success .success__icon{
    display: inline-block;
    padding-top: 30px;
    width: 80px;
    height: 80px;
    font-size: 22px;
    text-align: center;
    color: #ffffff;
    background-color: #8dc63f;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

#pro-ctt-us .success .success__lead{
    display: block;
    font-size: 22px;
    padding-top: 30px;
    padding-bottom: 7px;
    font-weight: bold;
    text-transform: uppercase;
    color: black;
}

.g-banner{
    width: 100%;
    height: auto;
}

.border{
    border: 1px solid #ccc;
}

@media (min-width:992px){
    #service-ranges .list {
    padding-left: 85px;
    margin-top: -5px;
    margin-bottom: -24px;
    }
}


@media(min-width: 768px){
    form .col-md-12, form .col-md-6, form .col-xs-6, form .col-xs-12{
    padding-left: 7px;
    padding-right: 7px;
}
}


@media (min-width:768px){
       h1:before,
    h1:after {
        background-color: #333087;
        content: "";
        display: inline-block;
        height: 1px;
        position: relative;
        vertical-align: middle;
        width: 15%;
    }

    h1:before {
        right: 0.5em;
        /* margin-left: -50%;*/
    }

    h1:after {
        left: 0.5em;
        /* margin-right: -50%;*/
    } 
    
        #five-s h1:before,
    #five-s h1:after {
        background-color: white;
        content: "";
        display: inline-block;
        height: 1px;
        position: relative;
        vertical-align: middle;
        width: 15%;
    }

    #five-s h1:before {
        right: 0.5em;
        /* margin-left: -50%;*/
    }

    #five-s h1:after {
        left: 0.5em;
        /* margin-right: -50%;*/
    } 
    
}

.list li{
    font-style: normal;
    font-weight: bold;
    font-size: 17px;
}