/*
Theme Name: Qby Cemetery
Description: Custom Avada Child Theme for Qby Cemetery
Author: eVision Digital | Robert Johnsen
Author URI: https://evisiondigital.com
Template: Avada
Version: 1.0.0
Text Domain:  Qby Cemetery
*/
.clearfix{clear:both;}

#location #map {height:400px; width:100%;}

.entry-title {font-weight:bold !important; font-family:"Source Sans Pro" !important; font-size:32px !important; color:#395c49 !important; }
.fusion-footer #wrapper .fusion-widget-area .current-menu-item>a, #wrapper .fusion-widget-area .current_page_item>a, .fusion-footer-widget-area a:hover{color:#fff !important;}

/* Cemetery Search Page */
#search-content {width:70%; float:left;}
#map{width:48%; float:left;}
#search-content h1{font-size:36px; margin-bottom:0; color:#426b54;}
#search-content .count{margin-bottom:20px;}
.cd-single-entry{width:100%; min-height: 130px; padding: 0 20px; height:auto;}
.cd-single-entry:nth-child(odd) {background-color:#fbf5ea; }
.cd-single-entry:nth-child(even) {background: #FFF}
.cd-single-entry h2{margin:0;}
.cd-single-entry-left{width:60%; float:left; position:relative; padding:1% 0; }
.cd-single-entry-left ul{list-style-type:none; padding-left:2px; margin:0;}
.cd-single-entry-right{width:40%; float:right; position:relative; height:100%; text-align:right;}
.cd-single-entry-right-inner-left{ position:relative; width:50%; float:right; text-align:center; padding:8% 5px; height:100%;}
.grave-loc-title{font-size:17px; font-weight:700; color:#333;}
.grave-location{font-size:17px; text-decoration:underline;}
.cd-single-entry-right-inner-right{position:relative; top:0; width:auto; float:right; margin:20px 0;}
.cd-single-entry-right-inner-right img{width:80px;}
.pagination{float:right; font-size:20px;}
.pagination a{font-size:20px; margin:0 10px; padding:4px;}

/*Cemetery Map Page*/
h1{color:#395c49; font-size:34px;}

/*Cemetery Search Page */
.exact-count{font-size:18px; color:#426b54; font-weight:bold;}

/*Widgets */
.sidebar .widget{padding:20px; background-color:#fbf5ea; margin-bottom:10px;}
.home .widget_announce_widget{padding:20px; background-color:#fbf5ea;}
.fusion-widget-area .widget_nav_menu li{margin:2px 0 2px 0; padding:0; border:none;}
.fusion-footer .widget{background-color:transparent;}
.sidebar .widget .heading .widget-title, .sidebar .widget .widget-title{padding: 0; margin: 10px 0;}
body.has-sidebar #main .sidebar{overflow-x:hidden;}
/* Footer */#footer{background-image:url("imgs/copyright-bg.jpg"); background-repeat:no-repeat; background-position:center center; background-size: 100% auto;}
.fusion-footer-widget-area .widget-title{margin:30px 0;}
.fusion-widget-area .widget .recentcomments:before, .fusion-widget-area .widget_archive li a:before, .fusion-widget-area .widget_categories li a:before, .fusion-widget-area .widget_links li a:before, .fusion-widget-area .widget_meta li a:before, .fusion-widget-area .widget_nav_menu li a:before, .fusion-widget-area .widget_pages li a:before, .fusion-widget-area .widget_recent_entries li a:before{content:""; display:none;} 

/* Loader GIF */
.loader {    border: 16px solid #f3f3f3; /* Light grey */    border-top: 16px solid #3498db; /* Blue */    border-radius: 50%;    width: 120px;    height: 120px;    animation: spin 2s linear infinite; }
@keyframes spin {    0% { transform: rotate(0deg); }    100% { transform: rotate(360deg); }  }
@media only screen and (max-width: 968px) {	
#search-content, #map{width:100%; float:none !important;}
body.has-sidebar #main .sidebar{width:100% !important; float:none !important;}
.pagination{margin-bottom:40px;}
}
@media only screen and (max-width: 768px) {	
.fusion-footer{text-align:center; font-size:2rem; }	
.fusion-footer img{width:40%;}	
.fusion-footer-widget-area ul{font-size:22px;}
.cd-single-entry-right-inner-left{top: 0px; width: 100%; float: none;}
.cd-single-entry-right-inner-right{top:0px; width:100%; float:none; text-align:center;}
.cd-single-entry{padding:10px 20px;}
.qby-cemetery-search input[type="email"], .qby-cemetery-search input[type="number"], .qby-cemetery-search input[type="password"], .qby-cemetery-search input[type="text"], .qby-advanced-search input[type="text"], .qby-cemetery-search select, .qby-advanced-search select, .qby-advanced-search #cemetery-born, .qby-advanced-search #cemetery-died{width:100%; margin:5px 0;}
.cemetery-select-single{width:100% !important; float:none !important; margin:0 0 30px !important;}
.cemetery-select-single img{width:100% !important;}
.cemetery-select-single span{font-size:34px !important; margin-bottom:10px;}
.sidebar img{width:100% !important;}
.footer h5{font-size:28px;}
.footer{font-size:20px;}
}
@media only screen and (max-width: 640px) {	
.cd-single-entry{min-height:240px;}
.map-content{width:100%;}
.map-content img{max-width:550px !important; width: 550px;}
}
