/*
Theme Name: OceanWP ChildTheme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress child theme
Author: Barbara
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* Pagination */
.elementor-pagination {margin-top:50px;
}
.page-numbers.current {
    color: #000;
    text-decoration: underline;
    font-weight: bolder;
}
/*Accordion tabs Clubs/Group page*/
div.elementor-accordion .elementor-tab-content {
    padding: 5px;}
div.elementor-accordion .elementor-tab-title {
    padding: 5px 10px;
    color:#000;
    font-weight:400;
    font-size: 15px;}
/* Hides the first accordion item to stop it opening automatically */ 
.elementor-accordion .elementor-accordion-item:first-child { display: none; }
/*Border rule for bottom accordion border only*/
div.elementor-accordion .elementor-accordion-item {
border-top: none;
border-left:0px;
border-right:0px;
border-bottom:1px solid #666;}

/*.error404 page center searchbox and page header */
.elementor-7849 .elementor-element.elementor-element-edbbd98 {
	width:250px;
    margin:auto;
}
.error404 .page-header {display:none;}

/* search icon magnifier*/
.icon-magnifier::before {
    content: "\e090";
    color: #333;
    font-size: 20px;
    font-weight: 900;
}


/*Search form for no-results page*/
.search-bar {width:250px; margin:auto;}
/*Taking out the border on the Contact Us page submit button*/
#wpforms-submit-50, #wpforms-submit-9309 {
    border: none;}
/* Spacing between social icons in footer*/
ul.oceanwp-social-icons li {
	margin: 3px 20px 3px 0;
	color:#ffffff; text-align:left;}
   
/*Footer 1 widget search form*/
#search-18 input {color: #fff;font-weight: 800; width:225px; text-align:left;}
/*Top margin on heading and sub-heading on search pages*/
.search h1.page-header-title {margin-top:10px;}
/*search form on search results page*/
.search-form-container {font-weight:bold; width:250px; margin: 20px auto 0 auto; padding-bottom:20px;}
/*Search pages centering sub-heading*/
.search .page-subheading {text-align:center;}
/*Search page content width*/
.search #content {width: 80%; margin: auto;}

/*No results page p */
.search-no-results .page-content {text-align:center;}

/* Category pages */
#business-entries {width: 80%; margin: auto;}   
  .entry.flex-container {
    display: flex;
    flex-flow:row wrap;
    text-align:center;
    min-height: 250px;
    width:80%;
    margin:auto;
    margin-bottom:20px;
}
.post-category-bom {background-color:#f8f8f8; border:1px solid #ddd; padding-top:10px; margin: 0 auto 20px auto; width:90%; }
.post-category-community, .post-category-tourism, .post-category-history {width:80%;margin:auto;}
div.excerpt {width:50%;}

/* Caption text */
.wp-caption-text {
    font-size: 14px;
    font-style: italic;
    color: #333;
	padding-top:10px; /* Makes the caption sit below the drop shadow */
}
/* Hiding page title on home page 
.page-id-19187 .page-header {display:none;}*/
 
div.readmore.clr {
    font-weight: bold;
    font-variant: small-caps;
    text-decoration: underline;
	text-align:left;}
/*Footer widget titles border colour*/
h4.widget-title {border-left: 2px solid #ffffff;}

/*Cobden Story main picture*/
.plaque-border.alignright {
	border: 10px solid #fff;
	box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.12);
	margin-bottom:20px;
}

/* Box shadow class on images */
.box-shadow img {
  border-style: solid;
  border-width: 10px 10px 10px 10px;
  border-color: #fffff;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.12);
	-webkit-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.12);
    -moz-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.12;)
}
/* Search page images - no border */
.search-results article .thumbnail img {
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-shadow: 0 0 px rgba(0,0,0,0.3);
  -moz-box-shadow: 0 0 0px rgba(0,0,0,0.3);
  box-shadow: 0 0 0px rgba(0,0,0,0.3);
}
/* Search results image width */
.search-results article .thumbnail {
  min-width: 150px;
  margin-right: 20px;
}
/* Pagination on Wordpress editor pages*/
.post-page-numbers.current {
  font-size: 15px;
  color: black;
  background: white;
  border: none;
  text-decoration: underline;
}

/* Change text-transform from captitalize to none on dropdown menu*/
.dropdown-menu ul li a.menu-link {
  text-transform: none;
}
page) .entry-content a:not(.wp-block-button__link):not(.wp-block-file__button), .page:not(.elementor-page):not(.woocommerce-page) .entry a:not(.wp-block-button__link):not(.wp-block-file__button) {text-decoration:none;}
/* .page-header bottom margin and background*/
.page-header {
	background-color:#721A1A;
	margin-bottom:25px;
}
/* Disable the box around links in Firefox and Chrome */
a:focus {
  outline: 0px  !important;
}

a:hover,
a:active {
  outline: 0px;
}
/* Contact form confirmation message */
div.wpforms-confirmation-container-full {
    background: #ffffff !important;
    border: solid 1px #832c41 !important;
}
/* Form success message */
.elementor-message {
  text-align: center;
}


/*Page width for mobiles and tablets*/
@media only screen and (max-width:768px) {.elementor-container {width:100%;}}
@media only screen and (max-width:768px) {.page-id-10122 .wp-block-group {width:100%}}
@media only screen and (max-width:768px) {div.thumb {width:100%;padding-left:0px;}}
@media only screen and (max-width:768px) {div.entry.flex-container{width:100%;padding:5px;}}
@media only screen and (max-width:768px) {div.excerpt {width:100%;}}
@media only screen and (max-width:768px) {div.readmore {margin-bottom:10px}}
@media only screen and (max-width:768px) {.website-overlay {padding-left: 0%}}
@media only screen and (max-width:768px) {.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
margin:auto;display: block;}}
@media only screen and (max-width:768px) {.search #content {width: 100%;}}
@media only screen and (max-width: 1280px) {#searchform-dropdown, #icon-searchform-dropdown {border-top: 3px solid #832c41;}}
