
/*
* Style Overrides 

<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,400i,700" rel="stylesheet">
font-family: 'Montserrat', sans-serif;

use this for a background image - designed for footer
sidebar-subscribe

*/



/* give the submenu arrows 
#main-nav li.has-sub-menu:after {
	font-family: 'Arial', san-serif;
	content: "\25C0";
	transform: rotateZ(-90deg);
	color: #431e02;
	position: absolute;
    top: 11px;
    right: -5px;
	font-size: 12px;
	display: inline-block;
}
 */



#body a {font-weight:  bold;}

#body a:hover {text-decoration: none;}


.lpfull-box h3 {
    margin-top: 30px;
}

.lpfull-box hr {
    margin-top: 20px;
    margin-bottom: 20px;
}



/* add minimum height to the content container under the images. */
.page-id-185 .module-image.image-center .image-content {
    min-height: 85px;
}


/* sidebar subscribe form */

.sidebar-subscribe {
    padding: 1.5em;
    color: #FFFFFF;
    background-image: url("images/sidebar-subscribe-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    border-radius:  3px;
}
.sidebar-subscribe h4.widgettitle {
    color: #FFFFFF;
   font-size: 1.2em;
    text-align: center;
}

input#subscriptionSubmitButton {
    width: 100%;
    background-color: #9f150b;

}


/* donation form */

.donation-form {
   background-color: #dddddd;
    border: solid 1px #cccccc;
     background-image: url("images/sidebar-donate-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    border-radius:  3px;
    padding: 1.75em;
}

#sidebar .donation-form {
 background-image: url("images/sidebar-donate-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    border-radius:  3px;
    padding: 1.75em;
    text-align: center;
}


button.donation-button {
    margin-bottom: 25px; 
    width: 100%;
    background-color: #9f150b;
}

.donation-form label{
    padding: 10px 0px;
    display: inline-block;
}


.donation-form .donation-amount-input label{
    padding: 5px 0px;
    display: inline-block; 
}

.donation-form .donation-amount-input {
    text-align: left;
    padding-left: 45%;
}

.donation-form .row{
    padding: 10px 0px;
    display: block;
    
}

.donation-form input [type=radio].donation_amount_form {
    display: inline-block;
    
}



.history-index h5 { display: inline-block; padding-right: 15px;}

.module-text.header-thin { 
    max-width: 65%; 
    display: block; 
    margin: auto;
}



#headerwrap #menu-icon-close {
    color: #441f02;
    
}

/* take the blur off */
#headerwrap.fixed-header:before {
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
}

.header-buttons {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 1000;
}

#headerwrap.fixed-header .header-buttons {display: none;}


/* for the menu items in mega-menu */



#headerwrap .menu-item{
    color: #431e02;
    font-size: 13px;
    line-height: 1.4em;  
    text-align: left;
}

.menu-item-feature{
    color: #431e02;
    font-size: 15px;
    line-height: 1.5em;  
      text-align: left;
    background-color: #d8bf9a;
    padding: 1.2em;
    border-radius:  .5em;
}


.menu-item-feature p, .menu-item p{
    margin-top: 0px;
    margin-bottom: 5px;
    color: #431e02;
}

 .menu-item h3{
    color: #431e02!important;
    font-size: 17px!important;
    line-height: 1.3em!important;
     margin-top: 10px;
}

 .menu-item h4{
    font-weight: 700;
    font-family: "Open Sans";
    font-size: 14px;
margin-top: 10px;
margin-bottom: 0px;}



#headerwrap .menu-item-feature h3 {
    color: #431e02!important;
    font-size: 16px!important;
    line-height: 1.3em!important;
    letter-spacing: -1px!important;
    margin-top: 15px;
}

 #headerwrap .menu-item h5{
    font-weight: 600;
    font-family: "Open Sans";
    font-size: 14px;
margin-top: 10px;
margin-bottom: 5px;
     padding-bottom: 0px; 
     border-bottom:  solid 1px #000000;
     max-width: 150px;
}

 #headerwrap .menu-item h3,  #headerwrap .menu-item h4,  #headerwrap .menu-item h5,  #headerwrap .menu-item {
     color: #431e02;
}




.home.fixed-header-on #main-nav-wrap {padding-top: 25px;}

.fixed-header #main-nav {
    margin-top: 20px;
}




/*
#site-logo {
    top: 0px;
    left: 35px;
    position: absolute;
}

.header-block .fixed-header #site-logo {
    margin: 0px;
    position: relative;
   top: 15px;
    left: auto;
}

*/


#pagewrap #headerwrap.fixed-header {
    background-repeat: repeat-x;
background-position: left bottom;
    background-color: #e5ddda;
background-image: url(images/headerwrap-bg-sticky.png);
    max-height: 71px;
}

.home #pagewrap #headerwrap.fixed-header {
    background-repeat: repeat-x;
background-position: left bottom;
    background-color: #e5ddda;
background-image: url(images/headerwrap-bg-sticky.png);
    max-height: 122px;
}


#headerwrap {
    background-color: #e5ddda;
    background-repeat: repeat-x;
    background-position: left bottom;
    background-image: url(images/header-inner-pages.png);
    border-bottom: none;
}


/*
.home #headerwrap {
    background-color: #e5ddda;
    background-repeat: repeat-x;
    background-position: left bottom;
    background-image: url(images/headerwrap-bg.jpg);
}

*/



#footerwrap {
    background-image: url(images/rivits-pattern.jpg);
      background-repeat: repeat-x;
    background-position: left top;
    border-top: none;
}

#footerwrap h3 {
    font-family: "Open Sans";
    font-size: 16px;
    color: #FFFFFF;
}



#pagewrap {
    background-repeat: repeat-x;
    background-position: left bottom;
        background-image: url(images/rivits-pattern.jpg);
    padding-bottom: 43px;
}

#content {
    padding-bottom: 0px;
}

.mobile_menu_active #headerwrap .sidemenu-on {
    background-color: #e5ddda!important;
}


/* the rest of the these are:  .ui.nav.red, .ui.nav.red ul, .ui.separate.red>li, .ui.module-tab.red .tab-nav li, .ui.red.vertical .tab-nav, .ui.module-accordion.red .accordion-title, .ui.module-tab.red.panel .tab-nav */
.ui.red {
   background-color: #9f150b!important;
    color: #FFFFFF!important;
    padding: 4px 22px 4px 22px!important;
}


.menu-item .ui.red{ 
    font-size: 15px!important;
    margin: 15px auto!important;
}



.small .ui.red {
   background-color: #9f150b!important;
    color: #FFFFFF!important;
    padding: 2px 4px 2px 4px!important;
}

.small .ui.red span{
    font-size: 12px;
    font-weight: bold;
}



.ui.red span{
    font-family: "Cinzel";
    font-weight: 500;
}

.module.module-buttons.rounded a {
    border-radius: 3px;
   
}

/* remove border arund iframes */
.video-wrap video, .video-wrap iframe, .video-wrap object, .video-wrap embed {
    border: none;
}


/* this makes the top li in a submenu hover persistent */
#main-nav li:hover > a {
	background-color: #e5ddda;
	
}

/* this makes the left adjustment aligned with parent for submenu */

#main-nav li:not(.themify-widget-menu)>ul {
    left: 0px;
}


#main-nav li>.sub-menu {width: 300px}

 .mobile_menu_active .sidemenu {
    background-color: transparent!important;
  
}

/* this hides the 'edit' link on the front end */
a.themify_builder_turn_on {display: none;}


/* make the portfolio nav next/prev smaller */
.post-nav a {
    display: block;
    font-size: 13px;
    letter-spacing: normal;
    text-decoration: none;
	line-height: 1.2em;
}




/* overrides for recent posts extended */

.rpwe-block ul {
}

#content .rpwe-block ul li {
	list-style: none;
	margin-left: 0px;
	}


.rpwe-block li {
	padding-top: 15px;
	margin-bottom: 15px;
}
.rpwe-block a.more-link {
	font-weight: normal;
	font-size: 95%;
}
.rpwe-block a:hover.more-link {
	text-decoration: underline;
}
.rpwe-block h3 {
	font-size: 13px;
	line-height: 1.3em;
	margin-bottom: 5px;
}
.rpwe-thumb {
	margin-right: 3.5%;
}
.rpwe-summary {
	font-size: 85%;
}
.rpwe-time {
	font-size: 75%;
	font-style: italic;
	color: #999;
}
.rpwe-alignleft {
	float: left;
}
.rpwe-alignright {
	float: right;
}
.rpwe-alignnone {
}
.rpwe-clearfix:before, .rpwe-clearfix:after {
	display: table;
}
.rpwe-clearfix:after {
	clear:both;
}
.rpwe-clearfix {
	zoom: 1;
}






@media screen and (max-width: 1150px) {


.header-icons {
    top: 68px;
    }
    
 .home .header-icons {
    top: 28px;
 
}   
    
#headerwrap.fixed-header .header-icons {
     top: 22px;
        right: 40px !important;
}
      
    /* this is for the fullwidth mega-menu to make it a little less wide */
#main-nav .has-mega>.sub-menu {
  
    width: auto;
    padding: 15px 0px;
  
}   
    
    
 #site-logo {
    font-size: 24px;
    margin: 0px 0px 0px 0;
    position: relative;
    top: 15px;
}   
    
  .home  #site-logo {
    margin: 0px 0px 0px 0;
    position: inherit;
    top: auto;
}    
    
#headerwrap {
    background-color: #e5ddda;
    background-repeat: repeat-x;
    background-position: left bottom;
    background-image: url(images/headerwrap-bg-max-1500.png);
}


.header-buttons {
position: absolute;
    top: 0px;
    right: 75px;
}

}
@media screen and (max-width: 980px) {

.header-home .ui.red {
    padding: 8px 10px!important;
    
}

.header-home .ui.red span {
    font-size: 14px;
    
}
	
   
.module-text.header-thin h1{ 
    font-size: 30px;
    line-height: 1.3em;
}

}

@media screen and (min-width: 901px) {

}

@media screen and (max-width: 880px) {



}
@media screen and (max-width: 768px) {

 .module-text.header-thin h1{ 
    font-size: 26px;
}
   
    
 .module_row.header-home >.row_inner {max-width: 95%;
    }
    


}
@media screen and (max-width: 680px) {

    
.header-icons {
    top: 43px;
    right: 2%!important;
}
   
    
    
.home  .header-icons {
    top: 25px;
    right: 2%!important;
}
    
#site-logo {
    position: relative;
    top: 7px;
    max-width: 350px;
}

 .home #site-logo {
    position: inherit;
    top:auto;
    max-width: none;
}   
    

}
@media screen and (max-width: 480px) {



}