@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
    font-size:15px;
    text-wrap:pretty;
    font-family:"Open Sans", sans-serif;
}

h1 {
    color:black;
    font-size: 60px;
}

h2, .tx-powermail .powermail_legend, .powermail_fieldwrap_type_text.layout2 {
    font-size:32px;
    color:black;
    line-height: 1em;
}

.main-content h2 {
    line-height: 40px;
    background-image: url('https://www.je-bearing.com/fileadmin/jebearing/storage/tmp-template-images/border-green-left.png'), url('https://www.je-bearing.com/fileadmin/jebearing/storage/tmp-template-images/border-green-right.png');
    background-position: left bottom, right top;
    background-repeat: no-repeat;
    padding: 20px 30px;
    width: fit-content;
    margin-top:10px;
    margin-bottom:10px;
    color:black;
}

.main-content  h2.ce-headline-center, .main-content  h2.text-center {
    margin-left:auto;
    margin-right:auto;
    display:block;
}

h3, .powermail_fieldwrap_type_text.layout3 {
    color:black;
    font-size: 30px;
}

h4 { 
    font-size: 25px;
    color:black;
}

p {
    font-size:16px;
    color:black;
    font-weight:300;
}

b, strong {
    font-weight: bold;
}

a {
  /* PLEASE DEFINE */
}

a:hover {
    /* PLEASE DEFINE */
}

ul {
    /* PLEASE DEFINE */
}

ol {
    /* PLEASE DEFINE */
}

li {
    /* PLEASE DEFINE */
}

blockquote {
    position:relative;
    padding-left:37.5px;
    padding-top:15px;
    
}

blockquote p {
    color:#26955e;
}

blockquote::before {
    content: "";
    position:absolute;
    width:30px;
    height:30px;
    left:0;
    top:0;
    background-image: url('https://www.je-bearing.com/fileadmin/jebearing/storage/tmp-template-images/quotes.png'); /* Path to your image */
    background-size: contain; /* Ensure the image fits within the dimensions */
    background-repeat: no-repeat;
}

/* CUSTOM BUTTON STYLES FOR RTE */
.btn.btn-custom-1 {
    border-width: 8px;
    border-radius: 0;
    letter-spacing: 1px;
    min-width:130px;

    border: 1px solid #fff;
    color: #fff;
    text-transform: uppercase;
    background-color:transparent;
}

.btn-custom-1:hover {
    background: #fff;
    color: #26955e;
}

.btn.btn-custom-2 {
    color: #000000 ;
    border-width: 8px;
    border-radius: 0;
    letter-spacing: 1px;
    font-weight: 700;
    background-color: #838383;
    min-width:130px;
}

.btn-custom-2:hover {
    background-color:#e2e2e2;
}

.btn.btn-custom-3 {
    color: #091F47;
    border-width: 8px;
    border-radius: 0;
    letter-spacing: 1px;
    font-weight: 700;
    background-color: white;
    min-width:130px;
}

.btn-custom-3:hover {
    background-color:#bdbdbd;
}

/* CUSTOM CONTENT ELEMENTS */
.frame-layout-green-bg-and-image {
    
    position:relative;
    
}

.frame-layout-green-bg-and-image > .ce-nowrap {
    display:flex;
}

.frame-layout-green-bg-and-image > .ce-right {
    flex-direction: row-reverse;
}

.frame-default.frame-layout-green-bg-and-image .ce-gallery figure, .frame-default.frame-layout-green-bg-and-image .ce-gallery {
    margin-bottom:0px;
    margin-left:0px;
}

.frame-default.frame-layout-green-bg-and-image .ce-bodytext {
    background-color: #00703c;
    padding:20px;
    flex-grow: 1;
    overflow:visible;
    position:relative;
}

.frame-default.frame-layout-green-bg-and-image .ce-textpic {
    overflow:visible;
}

.frame-layout-green-bg-and-image .ce-bodytext::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #00703c;
    clear: both;
    transform: translate(100%, -50%) rotate(-90deg);
    transform-origin: bottom; /* might have to play with this... */
}

.frame-layout-green-bg-and-image h1, .frame-layout-green-bg-and-image h2, .frame-layout-green-bg-and-image h3, .frame-layout-green-bg-and-image p {
    color:white;
}

.frame-layout-green-bg-and-image .ce-gallery img {
    max-width:unset;
    width:auto;
}

/* temporary override - MUST DELETE*/
.backgroundimage-c2 {
    padding:15px;
}


/* Custom Content Elements */
.frame-layout-box-shadow-border img {
    background-image: url('https://www.je-bearing.com/fileadmin/dumurgroup/template/version1/images/box-shadow.jpg');
    background-repeat:no-repeat;
    background-size:100% 100%;
    background-position: center;
    padding:20%;
}



.logo {
    width:350px;
    max-width:100%;
}

.header-section-wrapper {
    min-height:510px;
    
    background-image: url('https://www.je-bearing.com/fileadmin/dumurgroup/template/version1/images/background-image-banner-v2.jpg');
    background-size:cover;
    background-repeat:no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.main-home-banner {
    width:100%;
    display:flex;
}

.banner-content-wrapper {
    width: 875px;
    max-width:90%;
    margin-left:auto;
    margin-right:auto;
    padding:25px;
    background-color: rgb(0 0 0 / 90%);
    display:flex;
    justify-content: center;
    align-items: center;
}

.banner-content-inner > a {
    margin: auto;
    display: block;
    text-align: center;
}

.banner-logo {
    margin:auto;
    text-align:center;
    max-width:90%;
    height:auto;

}

.black-bar {
    background-color:black;
    height:30px;
    width:100%;
    
}

.menu-section-inner-wrapper {
    width:1440px; /* default site width */
    max-width:90%; /* default site margin, for responsive / smaller screens */
    margin:auto;
    padding-top:10px;
    padding-bottom:10px;
}

.main-content {
    min-height:450px;
}

.main-content > div {
    width: 1900px; /* default site width */
    max-width: 90%; /* default site margin, for responsive / smaller screens */
    
}

body > .main-content > .row {
    padding-top: 30px;
    padding-bottom: 30px;
}

.flexslider {
    background-color:inherit;
    border:none;
    overflow:hidden;
}

.footer p, .footer h1, .footer h2, .footer h3, .footer h4 {
    color:white;
}

.upper-footer-wrapper {
    background-image: url('https://www.je-bearing.com/fileadmin/dumurgroup/template/version1/images/footer-background-cropped.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom:15px;
    padding-top:60px;
}

.upper-footer-heading {
    font-weight: 600;
    /*border-bottom: 3px solid #98b4a6;*/
    text-decoration:underline;
    text-transform: uppercase;
    font-size:18px;
}

.footer .upper-footer {
    display: flex;
    justify-content: space-around;
}

.footer .upper-footer .inner-div {
    max-width:300px;
    padding-bottom:30px;
}

.footer {
    min-height:50px;
    background-color: #1e241e;
    color:white;
}

.navbar-toggler {
    display:none !important;
}

@media (max-width: 1920.98px) {
    .frame-default.frame-layout-green-bg-and-image .ce-bodytext {
        max-width: 75%;
    }
}

@media (max-width: 1499.98px) {
    .frame-default.frame-layout-green-bg-and-image .ce-bodytext {
        max-width: 60%;
    }
}


@media (max-width: 991.98px) {
    .footer .upper-footer {
        flex-direction: column;
    }

    .frame-layout-green-bg-and-image > .ce-nowrap > div {
        flex:1;
    }

    .header-section-wrapper {
        min-height:400px;
    }
}

@media (max-width: 767.98px) {
    .frame-layout-green-bg-and-image .ce-column, .frame-layout-green-bg-and-image .image, .frame-layout-green-bg-and-image .image img, .frame-layout-green-bg-and-image .ce-row {
        width:100%;
        height:100%;
    }
}