/*
Theme Name: CROWN
Theme URI: 
Description: A child of enfold for the crown project.
Author: <a href="https://kriesi.at">Kriesi</a>
Author URI: 
Template: enfold
Version: 4.9
*/

/* Generated by Orbisius Child Theme Creator (https://orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Tue, 08 Mar 2022 18:41:33 +0000 */ 
/* The plugin now uses the recommended approach for loading the css files.*/

/*Theme modifications made by ssturner in sept 2023*/

/*custom button set up for accordion slider links*/

.btn {
  font-family: Arial;
  color: #000000;
  font-size: 20px;
  background: #ffffff;
  padding: 9px 20px 10px 20px;
  text-decoration: none;
}

.btn:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}

/*End of custom button code*/


.wp-post-image attachment-square {
 margin-right: 10em;
}
/* This is the code to style the listing of resources on the homepage */
.display-posts-listing.image-left .listing-item {
	overflow: hidden; 
	margin-bottom: 32px;
	width: 100%;
}

.display-posts-listing.image-left .image {
	float: left;
	margin: 0 16px 0 0;
}

.display-posts-listing.image-left .title {
	display: block;
        font-size: 1.5vw !important;
}

.display-posts-listing.image-left .excerpt-dash { 
	display: none; 
}
/* end of code for resource listing on homepage */

.small-preview {
//        display: none !important;
}
.avia-content-slider .slide-entry-title {
    font-weight: 100 !important;
}
/*----------------------------------------
// CSS - Social Share style - 3 
//--------------------------------------*/

/* Hide tool tip */
.av-social-sharing-box .avia-related-tooltip {
  display: none !important;
}

#top .av-share-box ul { 
   border: none;
}

/* Remove icon border */
.av-share-box ul li {    
    border-left-style: none;    
    display: inline-block;
    vertical-align: middle!important;
   margin: 0 10px 0 0; 
}

/* Icon style */
.av-share-box ul li a {
   width: 30px!important;
   height: 30px!important;
   border-radius: 30px!important; 
   padding: 3px 0 !important;

}

/* Icon color */
.av-share-box ul li a:before {
  color:#1d1d1b;
  transition: all .5s ease;
}

/* Icon color on hover */
.av-share-box ul li a:hover:before {
  color:#1d1d1b;
  transition: all .35s ease;
}

/* Icon background color on hover */
.av-share-box ul li a {
  background: #f0f0f0;

}

.av-share-box ul li a:hover:before {
  color:#f4f7f9;
}
/* show submit resource  button only if logged in */
.sub-resource-button {
    visibility: hidden !important;
    display: none !important;
}
.logged-in .sub-resource-button { 
    visibility: visible !important;
    display: inline-block !important;
    position: absolute !important;
    top: -40px !important;
    right: 0px !important;
}
/* Changed the zindex of the footer so that it did not overlap the sassy social icons */
#footer { z-index:0 !important; }
/* Grid style */
.display-posts-listing.grid {
	display: grid;
	grid-gap: 16px;
}

.display-posts-listing.grid .title {
	display: block;
        font-size: 1.5em;
        font-weight: 400;
}

.display-posts-listing.grid img { 
	display: block; 
	max-width: 100%; 
	height: auto; 
}

@media (min-width: 600px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media (min-width: 1024px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}
.resource-small-preview .resource-iconfont {
       display: none !important;
}
.resource-blog-categories {
       display: none !important;
}
.resource_post_author_timeline {
       display: none !important;
}
.main_color tr:nth-child(odd) {
    background: white !important;
}
.supsystic-table-1 {
    border-top: 0px;
    border-collapse: separate !important;
    border-radius: 15px 15px 0px 0px !important;
}
.supsystic-table-1 th:first-child {
    border: 0px !important;
    border-radius: 15px 15px 0px 0px !important;
}
/* make the resources listing page responsive */
@media (max-width: 780px) {
    body .facetwp-template .fwpl-layout, 
    body .facetwp-template-static .fwpl-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    body .facetwp-template .fwpl-layout, 
    body .facetwp-template-static .fwpl-layout {
        grid-template-columns: repeat(1, 1fr);
    }
}
/* end of resource listing breakpoints */
.facetwp-pager {text-align: right !important;
margin-top: 2em !important;}
/* styling of dropdowns */
#searchbox, .facetwp-template {
    display: flex;
    flex-direction: row;
	flex-wrap: wrap;}
#searchbox .searchfacet {
    width: 220px;
    margin: 1rem;
    margin-top: 1rem;
    margin-right: 1rem;
    margin-bottom: -40px;
    margin-left: 1rem;
}
#searchbox {
    max-width: 1105px;
    margin: 0 auto;
	justify-content: flex-start;}
#searchbox .searchfacet .facetwp-reset {
    text-transform: uppercase;
    font-family: 'Avenir',sans-serif;
    background-color: #F7D586;
    border-color: #F7D586;
    color: #000000 !important;
    padding: 4px 20px 6px;
    width: 100%;
    font-size: 15px;
    vertical-align: 0px !important;
}
/* end of dropdowns */

/*custom css edits to theme below*/
.accordian{
	color:white
	}
p.accordian{
	font-size: 20px;
	}
	h3.accordian{
		font-size:25px;
	}