.itopplus-background {

}
a {
  color:#444;
}
a:hover {
  color:#000099;
}

.navbar-default .navbar-nav>li>a {
    color: #000;
    font-size: 26px;
    font-family: THBaijamRegular;
    font-weight: bold;
}




/**********/
h2.no-span {
    display: table;
    white-space: nowrap;
    width: 97%;
    margin: 0 auto;
}
h2.no-span:before {
    right: 1%;
}
h2.no-span:before, h2.no-span:after {
    border-top: 5px solid #fff;
    content: '';
    display: table-cell;
    position: relative;
    top: 0.5em;
    width: 45%;
}
h2.no-span:after {
    left: 1%;
}

/*************/
h2 {
    font: 36px;
    margin-top: 30px;
    text-align: center;
    text-transform: uppercase;
}
h2.background {
    position: relative;
    z-index: 1;
}
h2.background:before {
    border-top: 5px solid #fff;
    content: "";
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: -1;
}
h2.background span {
    color: #fff;
    padding: 0 15px;
    background: linear-gradient(to right,#2a86df 0,#2a92f1 50%,#2a87df 100%);
}

h2.margin {
    text-transform: inherit;
}

.CASS-blue-smartcablingplus-middle-mid {
    padding: 20px 10px;
}


.navbar-default .navbar-collapse, .navbar-default .navbar-form, .navbar-default .navbar-toggle {
    border-color: transparent;
}
.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    background-color: #2980d5;
    border-color: #2980d5;
}
.pagination>li>a, .pagination>li>span {
    color: #2980d5;
}
.pagination>li>a:hover, .pagination>li>span:hover, .pagination>li>a:focus, .pagination>li>span:focus {
    color: #2980d5;
    background-color: #f7f7f7;
}

/*search*/
 .itopplus-search-image-flex-item {
    width: 213px!important;
    min-height: 230px!important;
    max-height: 430px!important;
    background-color: #f9f9f9!important;
}
  .itopplus-search-image-flex-item img {
    width: 100%!important;
}
    .search_titleText {
    padding: 5px 0px;
    font-size: 16px;
}
    .search_text {
    padding: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}


 @media only screen and (max-width:768px) {
  .itopplus-search-image-flex-item {
    width: 227px!important;
    min-height: 240px!important;
    max-height: 425px!important;
}
  .search_titleText {
    padding: 5px 0px;
    font-size: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
 }
}
@media only screen and (max-width:414px) {
h2.background span {
    color: #fff;
    padding: 0 15px;
    background: linear-gradient(to right,#2978c8 0,#2a92f1 50%,#2978c8 100%);
}
.itopplus-search-image-flex-item {
    width: 100%!important;
    min-height: 210px!important;
    max-height: inherit!important;
}
  .itopplus-search-image-flex-item img {
    width: 100%!important;
}
  .search_titleText {
    padding: 5px 0px;
    font-size: 14px;
}
  .search_text {
    padding: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
 }
}

