Warning: Declaration of AMW_Related_Sub_Items_Walker::walk($elements, $max_depth) should be compatible with Walker::walk($elements, $max_depth, ...$args) in /home/africabearings/public_html/wp-content/plugins/advanced-menu-widget/class-advanced-menu-walker.php on line 163
Warning: Cannot modify header information - headers already sent by (output started at /home/africabearings/public_html/wp-content/plugins/advanced-menu-widget/class-advanced-menu-walker.php:0) in /home/africabearings/public_html/wp-content/plugins/wp-add-custom-css/css/custom-css.php on line 2
/* Global */
.rec-posts {
clear: both;
}
article.basic-layout header {
border: 2px solid #cfcfcf;
box-sizing: border-box;
}
p {
font-size: 15px;
line-height: 25px;
}
.crumbs a, .crumbs span {
float: none;
display: inline-block;
vertical-align: top;
}
div#page-menu {
margin-right: 20px;
}
#page-content {
width: 67%;
float: right;
}
div#content {
margin-bottom: 50px;
}
a {
transition: .7s;
}
a span.bot-trap {
width: 0px;
color: transparent;
margin-left: -5px;
}
.home-image img {
max-width: 450px;
width: 100%;
}
#main-content {
box-sizing: border-box;
margin: auto;
}
#page-content img {
max-width: 100%;
height: auto;
}
.home div#content {
margin-top: 0px;
}
div#content {
margin-top: 20px;
}
.entry iframe {
max-width: 100%;
}
#page-content img.attachment-post-thumbnail {
width: 100%;
}
div#page-banner img {
min-width: 100%;
max-width: 100%;
height: auto;
}
/* Forms */
.gform_wrapper .gform_body {
max-width: 100%;
}
input[type="submit"] {
transition: .7s;
color: white;
background: #E52620;
border: 0px;
box-sizing: border-box;
padding: 10px;
min-width: 100px;
text-transform: uppercase;
font-weight: bold;
cursor: pointer;
}
input[type="submit"]:hover {
background: #0069B4;
}
.gform_wrapper {
min-width: 100%;
margin-top: 0px !important;
font-family: 'Open Sans', sans-serif;
font-size: 15px;
color: #0069B4;
}
input[type="text"], select, textarea {
width: 100%;
min-width: 100%;
box-sizing: border-box;
border: 1px solid #2C3E50;
}
.gform_wrapper .top_label .gfield_label {
margin-bottom: 0px !important;
}
.gform_wrapper span label {
margin-bottom: 0px !important;
}
.gform_wrapper textarea {
text-indent: .25em;
}
.gform_wrapper .gform_footer {
margin-top: 0px !important;
}
.gform_wrapper li.gfield.gfield_error.gfield_contains_required {
min-width: 100%;
}
.gform_wrapper div.validation_error {
min-width: 100%;
margin-top: 10px;
margin-bottom: 10px !Important;
}
.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container {
max-width: 95% !important;
}
.gform_wrapper ul.gform_fields li.gfield {
padding-right: 0px !important;
}
.gform_wrapper .top_label li.gfield.gf_left_half, .gform_wrapper .top_label li.gfield.gf_right_half {
width: 49%;
}
.gform_wrapper .top_label li.gfield.gf_right_half {
float: right;
}
/* Header & Navigation */
div#logo {
margin: auto;
}
#nav ul.menu > li:hover > a, #nav ul.menu > li.current-menu-item > a, #nav ul.menu > li.current-menu-parent > a {
text-shadow: 0px 0px 3px black;
color: #E52620;
}
.page-parent.page-child ul.menu li.current-menu-item a:hover {
color: white !important;
}
ul.sub-menu li a {
box-sizing: border-box;
}
ul.sub-menu li ul li a:hover {
width: 100%;
}
#header {
background-image: url("wp-content/uploads/2017/06/africa-bearings-header.png");
}
#header #nav {
display: block;
width: 100%;
float: none;
height: auto;
text-align: center;
}
div#logo {
width: 100%;
float: none;
}
div#header {
height: auto;
background-size: auto 100%;
padding-bottom: 20px;
}
div#logo .logo img {
max-width: 300px;
margin: auto;
display: block;
}
#header #nav .menu {
text-align: center;
padding: 0px;
}
#header #nav .menu li {
float: none;
display: inline-block;
}
ul.sub-menu li ul.sub-menu li {
border-bottom: solid 1px #808080;
}
ul.sub-menu li ul.sub-menu li a:hover, ul.menu li.current-menu-item ul.sub-menu li ul.sub-menu li a:hover {
color: white !important;
}
ul.sub-menu li ul.sub-menu {
left: -5px;
top: 0px;
}
ul.sub-menu li ul li {
top: 0px;
left: 0px;
}
ul.sub-menu li ul {
border: solid 1px #808080;
left: 200px !important;
padding: 0px;
}
ul.sub-menu li ul li:last-child {
border: 0px;
}
#header div#search-area {
display: none;
}
div#header-top {
font-family: 'Open Sans Condensed', sans-serif;
background: #2C3E50;
color: white;
padding: 10px 0px;
overflow: auto;
}
div#header-top .header-top-inner {
max-width: 980px;
display: block;
margin: auto;
}
div#header-top .header-top-inner .left {
float: left;
max-width: 80%;
}
div#header-top .header-top-inner .right {
float: right;
max-width: 20%;
}
.header-top-inner .right a, p.footer-txt.social a {
color: #adc5e5;
}
div#header-top .separator {
margin: 0px 10px;
}
#header #nav .menu li.menu-item-has-children .show-sub {
display: none;
}
div#header-top .header-top-inner .right a {
margin-right: 10px;
}
div#header-top .header-top-inner .right a:last-of-type {
margin-right: 0px;
}
/* Footer */
div#footer {
position: relative;
height: auto;
clear: both;
text-align: center;
}
#footer .app-download .apps {
margin: auto;
display: block;
}
.apps > div {
float: none;
display: inline-block;
min-width: 62px;
margin-left: 0px;
margin-right: 10px;
}
.download-txt {
margin: auto;
width: auto;
display: inline-block;
padding: 0px 10px;
margin-top: 10px;
}
#footer-top {
padding-bottom: 20px;
height: auto;
box-sizing: border-box;
}
#footer .social a {
margin-right: 10px;
}
#footer .social a:last-of-type {
margin-right: 0px;
}
.footer-sidebar {
display: block !important;
}
#footer-top .footer-sidebar {
width: 30%;
display: inline-block;
vertical-align: top;
text-align: left;
float: left;
margin-right: 30px;
}
#footer-bot {
height: auto;
box-sizing: border-box;
}
#footer-bot .footer-sidebar {
max-width: 980px;
display: block;
margin: auto;
overflow: auto;
}
.footer-sidebar {
color: white;
font-family: 'Open Sans Condensed', sans-serif;
}
#footer-top .footer-sidebar h5 {
font-size: 20px;
margin-top: 0px;
margin-bottom: 30px;
}
#footer-top .footer-sidebar h5:after {
content: "";
height: 3px;
width: 30px;
background: #e52620;
display: block;
margin-top: 10px;
}
#footer-top .footer-sidebar .menu {
margin: auto;
margin-bottom: 30px;
padding: 0;
height: auto;
}
#footer-top .footer-sidebar .menu li {
float: none;
display: block;
margin-bottom: 5px;
padding-bottom: 5px;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
#footer-top .footer-sidebar .menu li a {
padding: 0px;
}
#footer-top:after {
content: "";
clear: both;
display: block;
}
#footer-top .footer-sidebar:last-of-type {
margin-right: 0px;
}
#footer-top .footer-sidebar .footer-txt.social {
text-align: left;
}
#footer-top .footer-sidebar .menu li:last-child {
margin-bottom: 0px;
padding-bottom: 0px;
border-bottom: 0px;
}
#footer-top .footer-sidebar address hr {
border: 0px;
border-top: 1px solid rgba(255, 255, 255, 0.2);
}
#footer-top .footer-sidebar address {
margin-bottom: 30px;
}
#footer-top .footer-sidebar-right .fa:not(:hover) {
color: #069BF7;
}
#footer-top .footer-sidebar .fa {
margin-right: 5px;
}
#footer-top .footer-sidebar-left .widget:nth-child(2) h5 {
margin-bottom: 10px;
}
#footer-top .footer-sidebar-left .widget:nth-child(2) {
margin-bottom: 30px;
}
#footer-bot .footer-sidebar .copyright, #footer-bot .footer-sidebar .privacy {
margin: 10px 0px;
}
#footer-bot .footer-sidebar h5 {
display: none;
}
/* Sidebar */
ul#menu-skf li a:hover {
font-weight: normal;
}
ul#menu-skf li a {
transition: .7s;
}
/* Shop / WooCommerce Pages */
.woocommerce ul.products .product-category img {
border: 2px solid #cfcfcf;
box-sizing: border-box;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
margin-bottom: 20px;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title {
text-align: center;
}
.woocommerce-page #container {
max-width: 980px;
margin: auto;
box-sizing: border-box;
width: 100%;
padding: 0px 10px;
}
.woocommerce-page aside {
display: none;
}
.woocommerce-page {
font-family: 'Open Sans', sans-serif;
}
.woocommerce-page .woocommerce-products-header {
border-bottom: 1px solid #d3ced2;
margin-bottom: 20px;
padding-bottom: 50px;
}
.single-product .product_meta > span {
display: block;
}
.single-product .related.products {
border-top: 1px solid #d3ced2;
margin-top: 50px;
padding-top: 20px;
}
.single-product .related.products .price * {
font-size: 20px;
}
.woocommerce-page #content {
max-width: 980px;
margin: 30px auto;
box-sizing: border-box;
width: 100%;
padding: 0px 10px;
}
.woocommerce-page.woocommerce-cart #page-content, .woocommerce-page.woocommerce-checkout #page-content, .woocommerce-page.woocommerce-account #page-content {
width: 100%;
float: none;
}
.woocommerce-page fieldset {
border: 1px solid #d3ced2;
margin-bottom: 20px;
box-shadow: none;
}
.woocommerce-page input, .woocommerce-page textarea, .woocommerce-page select {
border: 1px solid #d3ced2;
box-shadow: none;
}
.woocommerce-cart .coupon {
width: 50%;
}
.woocommerce-cart .coupon input {
max-width: 48%;
width: 48%;
min-width: 48%;
}
@media(max-width: 1200px) {
#footer .app-download {
min-width: 135px;
margin-right: 25px;
}
.download-txt {
width: 100%;
}
div#footer-top {
height: auto;
}
.ms-slide .ms-slide-bgcont img {
max-width: 100%;
}
.ms-wk .ms-slide {
max-width: 100%;
}
.ms-view.ms-basic-view {
max-width: 100%;
}
.master-slider {
max-width: 100%;
margin: auto !important;
}
}
@media(max-width: 1024px) {
div#footer-top, div#footer-bot {
padding: 0px 20px;
}
div#footer-top {
padding-bottom: 20px;
}
}
@media(max-width: 980px) {
div#header-top .header-top-inner .left {
margin: 0px 30px;
}
#footer-top .footer-sidebar {
width: 100%;
margin: auto;
padding: 20px;
box-sizing: border-box;
}
#footer-top .footer-sidebar:nth-child(even) {
background: rgba(0, 105, 180, 0.3);
}
div#footer-top {
padding: 0px;
}
}
@media(max-width: 800px) {
div#footer-bot {
clear: both;
height: auto;
overflow: auto;
}
}
@media(max-width: 768px) {
div#header-top .header-top-inner .left, div#header-top .header-top-inner .right {
float: none;
text-align: center;
display: block;
margin: auto;
}
div#footer-top p {
text-align: center;
margin-bottom: 10px;
}
div#footer-top {
max-width: 100%;
}
.home-content .right,.home-content .home-text {
text-align: left;
}
.home-image {
width: 100% !important;
float: none;
}
.home-image img {
margin: auto;
display: block;
}
.home-content {
width: 100%;
float: none;
margin-top: 0px;
}
.responsive-table td img {
max-width: 100%;
height: auto;
}
.responsive-table td {
display: inline-block;
vertical-align: top;
box-sizing: border-box;
width: 50%;
}
#page-content {
width: 100%;
margin-top: 20px;
border-top: 1px solid #0069b4;
padding-top: 15px;
}
div#page-menu {
width: 100%;
margin: auto;
}
.widget_advanced_menu h2 {
margin: 10px auto;
}
.contact img {
width: 100%;
float: none;
margin-bottom: 20px;
}
aside {
margin: auto;
}
.woocommerce-cart .coupon {
width: 100%;
}
}
@media (max-width: 550px) {
div#slider {
display: none;
}
.home-image {
top: 0px;
margin-top: 20px;
}
}
@media (max-width: 480px) {
.home-image {
display: block;
min-width: 100%;
}
.download-txt {
display: block;
}
#header #nav .menu {
position: relative;
height: auto;
}
#header #nav {
position: relative;
display: none;
top: 0;
}
#header #nav .menu li {
display: block;
}
ul.sub-menu {
display: none;
top: 0;
left: auto !important;
}
div#header {
padding-bottom: 0px;
background:none;
}
.logo {
padding-bottom: 20px;
}
ul.sub-menu li a {
display: block;
width: 100%;
}
ul.sub-menu li ul li a {
display: block;
width: 100%;
}
#header #nav .menu li.menu-item-has-children .show-sub {
display: inline-block;
float: right;
position: relative;
right: 25px;
top: 8px;
max-width: 15px;
}
.responsive-table td {
width: 100%;
}
.responsive-table tr:last-of-type td:last-child {
background-image: url(/wp-content/uploads/2014/02/rapid-logo.png);
}
.responsive-table tr:last-of-type td:first-child {
background-image: url(/wp-content/uploads/2014/02/skf-authorised.png);
}
.responsive-table tr:first-of-type {
display: none;
}
.responsive-table tr:last-of-type td {
background-repeat: no-repeat;
background-position: center 5%;
padding-top: 250px !important;
margin-top: 25px;
border-top: 1px solid #0069b4;
}
.wp-post-image {
margin: auto;
}
#footer-top .footer-sidebar .menu {
position: relative;
}
#footer-top .footer-sidebar .menu li {
background: transparent;
}
#footer .app-download {
min-width: 100%;
float: none;
}
.woocommerce-cart .coupon input {
min-width: 100%;
margin-bottom: 10px !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
width: 100%;
box-sizing: border-box;
margin: auto;
}
.woocommerce div.product .woocommerce-tabs .tabs {
padding: 0px !important;
box-sizing: border-box;
}
}
@media (max-width:375px) {
div#header-top .header-top-inner .left, div#header-top .header-top-inner .right {
font-size: 14px;
max-width: 100% !important;
line-height: 30px;
}
}
.menu-our-other-services-container ul.menu li a:hover {
color: #e52620;
}
.menu-our-other-services-container ul.menu li a {
color: #0069b4;
font-family: "Open Sans",sans-serif;
font-size: 13px;
line-height: 20px;
}
.header-top-inner .left a {
color: #e52620;
text-decoration: none;
font-family: 'Open Sans Condensed', sans-serif;
font-weight: 700;
}
.header-top-inner .left a:hover {
color: #fff;
}
.header-top-inner .right a:hover, p.footer-txt.social a:hover {
color: #fff;
}
p.privacy-txt a:hover {
color: #e52620;
}
p.footer-txt a:hover {
color: white;
}
/*Blog Thumbs*/
div#basic-container {
overflow: initial;
}
div#thumbnail-container a {
color: #0069b4;
}