/*!
Theme Name: Producers Rice Mill Theme
Theme URI: https://www.producersrice.com/
Author: Producers Rice Mill
Author URI: https://www.producersrice.com/
Description: Producers Rice Mill
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: producers-rice-mill-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/


.sidebar-menu a {
    line-height: 1;
}
.sidebar-menu .menu-list li a:hover {
    gap: 16px !important;
}
.def-content p , ul , ol {
    color: #5e5a5e;
}
.def-content p strong{
    font-size: 1.4em;
    font-weight: 400;
}
.def-content p span {
    letter-spacing: .05em;
    font-size: 1.2em;
        font-weight: 700;
}
.def-content p  strong span {
    font-size: 0.9em;
}
.def-content p em strong ,
.def-content p em span {
    font-size: inherit; letter-spacing: 0;
}
body:not(.home) .hero-section h1 {
    margin-bottom: 0;
}
.def-content  blockquote p {
    font-size: 32px; color: #1b1b1b; font-weight: 600;
    letter-spacing: -.02em; font-style: italic;
    text-align: center;
}.def-content p a  {
    font-size: 14px;
}
.def-content p a strong {
    color: inherit !important;
    font-size: inherit !important ;
} 
 .def-content p span strong {
    font-weight: 700; font-size: 20px;     color: #5e5a5e;
 }
 .div_02 {
    display: flex;
    > p {
        width: 100%;
    }
    p:empty {
        display: none;
    }
 }
 .div_02  ,
.div_02 p {
    img {
        object-fit: contain !important;
        width: auto  !important;;
        &:not(.alignleft) {
            width: initial !important;
            margin: 0 auto 0 0;
            margin-top: 15px;
            
            display: block;
            float: none;
        }
    }
    > *:not(p) , .alignleft {
        width: 48%  !important ; display: block;
    }
   
}
 .def-content .alignleft {
width: initial !important;
}
.div_02_02 ,
.div_02_01 {
display: flex;
    justify-content: space-between;
    align-items: center;
}
.div_02_01 > img {
    max-width: 140px;
}
.div_02_sm > img {
    max-width: 180px;
}
/* .div_02_02 > img {

} */
 .rightAlign  {
    float: right !important;
     margin: 0 0 25px 25px !important;
 }
 .div_02 .alignright { 
    float: right ;
      
} 
.div_02_01 p img {
    display: block;
    margin-top: 15px;
}
.div_02_center {
    p {
        display: flex;
        justify-content: space-between; 
        align-items: center;
        > * {
            max-width: 48%;
        }
    }
}
h2 {
        line-height: 1;
}
@media (max-width : 991px) {
    .div_02 p {
        > * {
            width: 100%;
        }
        img {
            max-width: 100%;
            width: auto;
        }
    }

}
.def-content  .img-box ,
.img-box {
    p {
            color: #fff;
    }
}
.sub-links .sub-links a{
    padding-left: 20px !important;
}

.main-menu nav ul li a {
    color: #fff;
}
.btn.btn-blk {
    border-color: #005c36;
    color: #005c36;
    border-width: 2px;
    margin-bottom: 20px;
    &:hover{
        background-color: #005c36;;
        color: #fff
    }
}

.head_40 {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: .1em;
    line-height: 1;
    margin-bottom: 30px;
}
.head_20 , .head_20  > *{
    color: #5e5a5e;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.42857143;
    text-transform: initial;
    letter-spacing: 0;
}
.main_caption {
    margin-top: 25px;
}
.embedd_filter_box.hide {
    display: none
}
.video-card ,
.webcam-gallery {
    a  {
        display: block;
    }
    img {
        width: 100%;
        object-fit: cover;
    }
}
.video-card {
    overflow: hidden;
    a {
        display: block;
        position: relative;
        &:before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            z-index: 1;
            background-color: rgba(27, 27, 27, .5);
            transition: all .3s;
        }
        &:hover {
            &:before {
                background-color: rgba(27, 27, 27, .8);
            }
            img {
                transform: scale(1.05);
            }
        }
        img {
            transition: all .3s;
            
        }
    }
    .video-play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50% , -50%);
        font-size: 36px;
        color: #fff;
    }
    
}
.video-gallery {
    .row {
        justify-content: space-between;
        margin: 0;
    }
    .col-md-6 {
        position: relative;padding: 0;
        max-width: calc(50% - 12px);
    }
    .video-title {
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 101;
        padding: 5px 10px 7px;
        font-size: 85%;
        font-style: italic;
        opacity: .8;
        color: #fff;
        background-color: rgba(0, 0, 0, .6);
        margin: 0;
    }
}
 img {
        max-width: 100%;
    }
.gallery-item {
   
}
.photo-gallery , 
.page-template-templatesvideo-photos-php .hero-section  {
    margin-bottom: 80px;
}
.gallery-heading {margin-bottom: 30px;}
.page-content h5 {
    font-size: 20px;
    color: #5e5a5e;
    font-family: 'Merriweather Sans', sans-serif;
    margin-bottom: 1rem;
    font-weight: 700; 
    span {
        font-size: 0.75em;
        text-transform:lowercase    
    }
}
.nav-tabs{
    column-gap:  5px;
}
.nav-tabs .nav-link {
    border-radius: 0;
    border: 1px solid #e1e1e1;
    border-width: 4px 2px 2px;
    letter-spacing: .1em;
    font-size: 14px;
    &.active {
        border-top-color: #005c36;
    }
}
.tab-content {
    ul{
        margin-left: 10px;
        li {
            list-style: disc;
        }
    }
}


.industrial-sales-inquiry form , 
.\32 021-annual-meeting form ,
.export-sales-inquiry form {
    border: 2px solid #e1e1e1;
    padding: 30px;
    label {
        position: relative;
        font-weight: normal;
        display: block;
        text-align: left !important;
        margin-bottom: 5px ;
    }
    .wpcf7-form-control-wrap {
        margin-bottom: 15px;
        display: block;
        > * {
            height: 50px;
            border-radius: 0;
            padding: 0 15px;
        }
        .wpcf7-recaptcha {
            display: block;
            min-height: initial;
            height: auto;
            padding: 0;
        }
    }
    br {
        display: none;
    }
    .btn-primary {
        border-color: #005c36;;
        background-color: #005c36;
        &:hover {
            background-color: transparent;
        }
    }
}
.\32 021-annual-meeting .page-content  {
    > *  {max-width: 750px;}
    h1 , h4 {
        color: #1b1b1b;
        font-size: 45px;
        font-family: 'Hammersmith One', sans-serif;
        text-transform: uppercase;
        font-weight: 400;
        letter-spacing: .1em; 
        margin: 0;
        line-height: 1;
    }
    h4{
         font-size: 24px;
         margin: 25px 0 15px;
    }
    p {
            font-weight: 400;
    font-size: 14px;
    }
}
.search-results {
    .header {
            background-color: #1b1b1b;
    }
    .page-title {
        color: #1b1b1b;
        text-transform: uppercase;
        font-weight: 400;
        letter-spacing: .1em;        
        font-size: 45px;
        margin-bottom: 20px;
    }
    p{ 
        margin-bottom: 15px;
        font-size: 14px;
    }
    .default-page {
        padding-top: 120px;
    }
    form {
        margin: 0;
        >div  {
                border-width: 2px;
                border-style: solid;
                border-color: #e1e1e1;
                input {border-width: 0px;
                    outline: none; box-shadow: none;
                }
                button[type="submit"] {
                    border-width: 0px;width: 44px;
                        color: #005c36;
                    background-color: transparent;
                }
        }
    }
}
.dark {
     color: #1b1b1b;
}
.search-item {
    margin: 30px 0;
    padding-bottom: 30px;
    max-width: 750px;
    position: relative;
    &:after  {
        bottom: 0;
        left: 0;
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background-color: #e1e1e1;
    }
    h3 {
        margin: 0 0 10px;
        color: #1b1b1b;
    }
    p {
        margin: 0;
        strong {
            font-weight: 400;
        }
         a {
            color: #005c36;
         }
         + p {
            margin-top: 15px;
         }
    }
}
.search-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap : 4px;
}
.pagination-center  > *  ,
.pagination-prev ,.pagination-next {
     width: 50px;
    border: 2px solid #e1e1e1;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    &.current {
        color: #1b1b1b;
        border-color: #005c36;
    }
}
.pagination-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.page-template-templatespage-search-results-php  .default-page  h1 {

}
#menu-sitemap {
    padding-left: 15px;
    max-width: 100%;
    border-left : 2px solid #e1e1e1;
    width: 750px;
    position: relative;
    &:after {
        content: '';
        position: absolute;
        width: 2px;
        height: calc(100% - 30px);
        top: 32px;
        background-color: #e1e1e1;;
        left: 15px;
    }
    li{
        width: 100% ;
        display: block;
    }
    > li {
        padding-left: 0 !important;
        > a{
            margin-left: -15px;
        }
    }
    a {
        width: 100% ;
            display: block;
            padding: 10px 15px;    color: #005c36;
        &:hover {
            background-color: #eee;
        }
    }
    .sub-menu {
        display: block !important;
        position: static;
        background-color: transparent;
        width: auto;

        .sub-menu {
            padding-left: 15px;
        }
        li {position: relative;
            
            &.menu-item-has-children:after {
                content: '';
                position: absolute;
                width: 2px;
                height: calc(100% - 34px);
                top: 36px;
                background-color: #e1e1e1;;
                left: 15px;
            }
            a {
                
                
            }
            &:hover {
                background-color: transparent;
            }
        }
    }
}
.error404  {
    .page-content {
        p {
            color: #5e5a5e;
            font-size: 1.4em;
            max-width: 750px;
        }
    }
}
.footer ul li {
    color: #fff;
}
.privacy-policy  ,
.terms-of-use {
    .page-content {
        h4 {          
             color: #5e5a5e;      
            font-size: 1.4em;
            font-weight: normal;
            letter-spacing: 0;
            text-transform: initial;
                font-family: "Merriweather Sans", sans-serif;
            font-weight: bold;
            line-height: normal;
        }
        p {
            color: #5e5a5e;
                font-family: "Merriweather Sans", sans-serif;
            font-weight: 400;
            
           
        }
        ul {
            margin-left: 20px;
            margin-bottom: 20px;
            li {
                padding: 2px 0;
                list-style: disc;
            }
        }
    }
}

.feed-card {
    .nav-pills {
        .nav-item {
            .nav-link {
                color: #005c36;
            }
            .nav-link.active{
                color: #fff !important;
                background-color: #dca127;
            }
        }
    }
}
.contact-cta-left p{
    max-width: 650px;
}
.view-grid-sec .view-img-item .view-text h2 {
    margin-bottom: 20px;
}

.main-menu nav ul li.current-menu-item a {
    background-color: #005c36;
}
.page-content ul {
    margin-left: 20px;
}
.page-content ul li{
    list-style: disc;
}
.locations {
    .product-wrapper {
        .members-editor {
            p {
                font-size: 20px;
            }
        }
        .tabbed-content ul li .nav-link {
            font-family: "Hammersmith One", sans-serif;
        }
    }
}
.video-gallery {
    .video-title {
        text-transform: inherit;
        letter-spacing: 0;
        line-height: normal;
    }
}
.component-card-row .pdf-download-sec  {
    padding: 30px;
    border: 2px solid #e1e1e1;
    a {
            color: #005c36;
    }
}
#weather {
    table {
        thead {
            display: none;
        }
        tbody {
            tr {
                td {
                    border-bottom: 2px solid #e1e1e1 !important;padding: 0 10px;
                    &:nth-child(1) {
                        border-right: 2px solid #e1e1e1 !important;;
                    }
                }
                &:nth-child(odd) {
                    td {
                        background-color: #f4f4f4;
                        color: rgb(149, 152, 154);
                    }
                }
            }
        }
    }
}
.contact  form ,
.member-info .members-editor form {
    padding: 30px; border: 2px solid #e1e1e1;
    label {
        color: #5e5a5e; 
        display: block;
    }
    textarea ,
    input {
        border-width: 2px;
        border-style: solid;
        border-color: #e1e1e1;
        border-radius: 0;
        height: 50px;width: 100%;
    }
    textarea {
        min-height: 80px;
    }
    input[type="submit"]  ,
    .btn-primary {
        background-color: #005c36;
        border: 0px;
        color: #fff;
        display: inline-flex;
        min-width: 100px;
        text-transform: uppercase;
        font-weight: 400;
        width: auto;
        letter-spacing: .1em;
        line-height: 1;
        font-weight: 700;
        border: 2px solid #005c36; 
        transition: all .4s;
        &:hover {
            color: #dca127;
            background-color: transparent;
            border-color: #005c36;
        }
    }
}
.contact form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 15px;
}
.recaptcha {
    display: block;
    line-height: 1;
}
.wpcf7-spinner {
    position: absolute;
}
.rice-bran .contact-cta-left ,
.foodservice  .contact-cta-left {
    h2 {
        max-width: 640px;
    }
}
.co-products {
    .def-content p strong {
        font-weight: 700;
        color: #5e5a5e;
    }
}
.long-grain-wild-rice-blend {
    .hero-section {
        h1 {
            max-width: 460px;
        }
    }
}
@media (min-width : 1199px) {
    .about .hero-section {
        height: 550px;
    }
    .stuttgart-dryer-webcams .hero-text-in {
        h1 {
            max-width: 550px;
        }
    }
   body:not(.home) .hero-section h1{
        text-transform: uppercase;
        font-weight: 400;
        letter-spacing: .1em;
        line-height: 1;
    }
    .pricing-pool-basis  {
        h1 {
            max-width: 360px;
        }
    }
}
@media (max-width : 1199px) {
    .head_40 {
        font-size: calc(24px + (36 - 24) * ((100vw - 320px) / (1199 - 320)));
    }
    .head_20 {
        font-size: calc(16px + (24 - 16) * ((100vw - 320px) / (1199 - 320)));
    }
    .video-gallery .col-md-6 {
        width: 100%; max-width: 100%;
    }
    .photo-gallery , 
    .page-template-templatesvideo-photos-php .hero-section  {
        margin-bottom: 45px;
    }
    .industrial-sales-inquiry form ,
    .export-sales-inquiry form { 
        padding: 15px;
    }
    
}

@media (max-width : 767px) {
    .search-results {
         .default-page  {
            padding-top: 60px;
         }
         .page-title  {
            font-size: 30px;
         }
    }
    .\32 021-annual-meeting .page-content  {
        h1 {
            font-size: 30px;
        }
        h4 {
            font-size: 18px; letter-spacing: 0.05em;
        }
    }
}
