/*
Theme Name: Ruthem
Theme URI: http://demo.shrimpthemes.com/3/ruthem/
Author: HasTech
Author URI: http://hastech.company/
Description: Funeral Home WordPress Theme
Version: 2.0.4
Requires at least: 5.0
Tested up to: 5.8.2
Requires PHP: 7.3
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ruthem
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, sticky-post
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

*/


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Accessibility
# Alignments
# Captions
# Content
    ## Posts and pages
    ## Comments
# Galleries
# Infinite scroll
# Media
# Widgets
# Clearings
# Browser Upgrade

--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/


/* Text meant only for screen readers. */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

#content[tabindex="-1"]:focus {
    outline: 0;
}


/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/*--------------------------------------------------------------
# Captions
--------------------------------------------------------------*/

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0 auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.sticky {
    display: block;
}

.hentry {
    margin: 0 0 1.5em;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 1.5em 0 1.5em;
    float: left;
    width: 100%;
}


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}


/*--------------------------------------------------------------
# Galleries
--------------------------------------------------------------*/

.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}


/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

.infinity-end.neverending .site-footer {
    display: block;
}


/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget {
    margin: 0 0 1.5em;
}

.widget select {
    height: 40px;
    width: 100%;
}


/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}


/*--------------------------------------------------------------
# Browser Upgrade
--------------------------------------------------------------*/

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

header.page-header .page-title {
    margin-top: 0;
}

.mc4wp-alert p {
    color: #fff;
    margin-top: 5px;
}

/* link tag into button  */

.button2{
	background-color:#79C2A7;
	color: #fff;
}
/*.text-right */
.text-right a:nth-child(1){
	color: #fff;
	background-color:#8D6E63;
	padding:5px 15px;
	border: 1px solid #8D6E63;
	margin-right: 10px;
	
}
.text-right a:nth-child(1):hover{
	color: #8D6E63;
	background-color:#fff;
	padding:5px 15px;
	
	margin-right: 10px;
}
.text-right a:nth-child(1):active{
	
	
  transform: translateY(4px);
	
}


/*.ruthem_service_box {overflow:hidden;}    
.ruthem_service_icon i{
    width: 50px;
    height: 50px;
    display: grid;
    align-content: center;
    justify-content: center;
    margin: auto;
    background: #79C2A7;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0px 0px 0px 0px #7AC2A7;
    transition:1.5s;  } */ 

/*{
box-shadow: 0px 0px 0px 400px #7AC2A7;
}*/
/*
.ruthem_service_box:hover .ruthem_service_icon i {
	box-shadow: 0px 0px 0px 400px #7AC2A7;
	background-color:#fff;
	color: #7AC2A7 !important;
}*/
.elementor-widget-container .ruthem_service_box:hover {
    border-color: none;
}

p{
	font-family: 'Open Sans'
}
.homebuttons {
    background-color: #79C2A7
;
    border-radius: 0px;
    max-width: 180px;
    min-height: 50px;
    display: inline-grid;
    align-items: center;
    box-shadow: 20px -10px 0px 0px #FFA8A1
;
    transition: .5s;
}


/*.ruthem_service_box{border:none;}*/

.homebuttons:hover {box-shadow: 0px 0px 0px 0px  #FFA8A1 !important;}



/* Services page button */

.ruthem_service_read_more a{
	    border: 2px solid #8D6E63;
	background-color:#8D6E63;
	color: #fff !important;
    padding: 5px 10px;

}
.ruthem_service_box:hover .ruthem_service_read_more a{
	    border: 2px solid #fff;
	background-color: #fff;
	color: #8D6E63 !important;
    padding: 7px 12px;
	/*transition:padding 0.5s;*/

}



/*service box*/
.elementor-widget-container .ruthem_service_box{
	min-height: 360px;
}



/*new */
.menu-item-type-post_type .menu-item-object-page{
    color: #EF7369;
}

.hover_text_box_ .front-container {
    display: grid;
    align-content: center;
    padding: 40px !Important;
}

/* Flip Box Services */

.hover_text_box_ .front-container h2 {font-size:22px !important;}

.hover_text_box_ .back-container .flipbox-icon {background-color: #ff7a5a00 !important;}

.hover_text_box_ .back-container .flipbox-icon i {color:#fff !important;}
/*
#wpforms-form-497 input, #wpforms-form-497 textarea {
    border: none;
    border-bottom: 2px solid #fff;
}
*/

.list_place {
    width: 50%;
    float: left;
}


.htmega-flip-box-area .flp-btn {
    display: inline-block;
    margin-top: 20px;
    border: 2px solid #fff;
    padding: 15px;
    
    background-color: #029C68;
}
.htmega-flip-box-area .flp-btn a {
    color: #ffffff;
    font-family: "abeezee";
   
    display: inline-block;
    border-bottom: none;
    text-decoration: none;
}
.list_place h4{
	color:#8D6E63;
}

.list_place span{

    font-size: 13px;
    color: #8D6E63;

}
.list_place a{
	color: #8D6E63;
}
.cemetery_compliance a{
	color: #8D6E63;
}

#wpforms-775-field_0-container .wpforms-field-row-block {width:30% !important;}

@media only screen and (max-width: 767px) {
	#wpforms-775-field_0-container .wpforms-field-row-block {width:100% !important;}
	
	#wpforms-form-775 .wpforms-field-container .wpforms-field-row-block {margin:5px 0px !important;}
	
	#wpforms-form-775 .elementor-22 .elementor-element.elementor-element-04a35e6 .wpforms-field input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file])
	
}

.popup-button {
    position: fixed;
    top: 290px;
    right: -49px;
    z-index: 9999;
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}
.btn-primary {
	background-color:#8D6E63;
	border:2px solid #8D6E63;
	border-radius: 20px 20px 0px 0px;
}
.btn-primary:hover {
	background-color:#444;
	border:2px solid #8D6E63;
	color:#fff;
}
.btn-primary:hover a{
	
	color:#fff;
}
.btn .btn-primary:focus {
	background-color:#444;
	color:#fff;
	
}

.header-menu-wrap .site-title {padding-bottom:2px !important; padding-top:2px !important;}

.top-bar-left-content a {font-size:15px;}

.sub-menu li a {font-family: 'Open Sans', sans-serif !important;}

@media only screen and (max-width:991px){
  .list_place {
    width: 100% !important;
}
	.top-bar-left-content p {
    
    text-align: center;
}
}



p{
	{
    font-family: 'Open Sans';
}
}


.page-id-674 .ruthem-ft_item_image img {min-height:267px !important;}