/*
 Theme Name:   Designexo-ewae
 Theme URI:    http://example.com/
 Description:  Designexo Child Theme
 Author:       Duncan Greenhill
 Author URI:   http://example.com
 Template:     designexo
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  designexo-ewae
*/


/*****************************************************/
/**************** Replacement styles *****************/

/* mobile dropdown menu fix */

@media (max-width: 991px) { 
  .navbar .nav {
    background-color: #40676F !important; 
    background-color: #93a1a1 !important; 
    border: 1px solid #355259;
    color: #ddd;
  }

  div#navbarNavDropdown.show #menu-main-menu.m-right-auto li.menu-item a.nav-link {
    /*color: red;*/
  }
  div#navbarNavDropdown.show #menu-main-menu.m-right-auto li.menu-item a.nav-link:hover {
    color: #fddb7c;
  }
}

/* ******************************** */

body.custom-background,
#wrapper {
  background-color: #93a1a1 !important;
}

.btn-border { 
	background: #40676f;
  color: #ddd; 
}

.theme-info-area .media:hover {
  background: #40676f;
  box-shadow: 0 5px 12px 0px rgba(0,0,0,0.07);
}

.theme-services {
  background-color: #40676f;
}

.theme-blog.theme-block .post { 
	background-color: #40676f;
  border: none;
}
.theme-blog.theme-block .post,
.sidebar {
  padding-top: 1em;
}

.post blockquote.wp-block-quote,
.post blockquote.wp-block-pullquote,
.wp-block-pullquote blockquote,
.post blockquote {
  background-color: #335259;
  border-left: 3px solid #fddb7c;
  font-size: 1.125rem;
}

.post .wp-block-pullquote p {
  font-size: 1.125rem;
}

.wp-block-pullquote blockquote {
  border-top: 1px solid #fddb7c;
}

.post blockquote cite {
  font-style: italic;
}

.post th {
  background-color: #335259;
  color: #fff;
  font-weight: bold;
}
.post .wp-block-table figcaption {
  font-style: italic;
}
.post h1, .post .h1,
.post h2, .post .h2,
.post h3, .post .h3,
.post h4, .post .h4,
.post h5, .post .h5,
.post h6, .post .h6 {
  margin-bottom: 0.5rem;
  color: #eee;
}

.entry-header .entry-title a:hover, .entry-header .entry-title a:focus {
  color: #fddb7c !important;
}

.theme-block.theme-blog.theme-bg-grey {
	/*background-color: #40676f !important;*/
	background-color: #40676f;
}

.media .posted-on time.days small.months {
	color: #ddd;
  background: #335259;
}

.theme-related-posts {
	background-color: #40676f;
  border: 1px solid #333;
}

.theme-comment-section { 
  background-color: #40676f;
	border: 1px solid #333;
}

.theme-comment-form { 
	background-color: #40676f;
	border: 1px solid #333;
}

.sidebar .widget { 
	/*border: 1px solid #333;*/
  background-color: #40676f;
	color: #ddd;
}

.widget .tagcloud a {
	background-color: #40676f;
  border: 1px solid #333;
  color: #ddd !important;
}
.form-control::placeholder {
  color: #c0c0c0;
  opacity: 1;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: #40676f;
    border: 1px solid #333;
}

.theme-blog .post-thumbnail img {  
  border-bottom: 4px solid #253c3c;  
}

.sidebar .widget .widget-title {
    border-left: 5px solid #253c3c;
    background-color: #335259;
}
.widget button[type="submit"], 
.btn-success {
  background-color: #253c3c;
	border-color: #253c3c;
}

.media .posted-on time.days {
    /*background-color: #FAB702;*/
    background-color: #335259;
    color: #ddd;
}


/****************************************************/
/* Theme Default Overrides */


td a {
	color: #FAB702;
  color: #fddb7c;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus,
input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus,
input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus,
input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus,
select:focus, .form-control:focus {
	border-color: #253c3c;
}

.btn-default, 
.btn-default-dark, 
.btn-light:hover, 
.btn-light:focus { 
	background: #FAB702; 
  background: #fddb7c;
}
.btn-light { 
	color: #FAB702; 
  color: #fddb7c;
}

.btn-border, 
.btn-border:hover, 
.btn-border:focus { 
	border: 2px solid #FAB702; 
  border: 2px solid #fddb7c;
}
.btn-border:hover, 
.btn-border:focus {
    background: #FAB702;
    background: #fddb7c;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus, 
select option {
  background-color: #335259;
  border: 1px solid #333;
  color: #fff;
}

button,
input[type="button"],
input[type="submit"] {
	background-color: #93a1a1;
  border: 1px solid #93a1a1;
  color: #335259;
}
button:hover, button:focus,
input[type="button"]:hover, input[type="button"]:focus
input[type="submit"]:hover, input[type="submit"]:focus {
  background-color: #335259;
  border: 1px solid #333;
  color: #fff;
}
.theme-comment-title h4:after,
.theme-comment-title h3:after{
    background: #fddb7c;
}



/****************************************************/
/***************** Custom Styles ********************/
/****************************************************/
body {
  background-color: #93a1a1;
  color: #ddd;
}

/* fixed top menu on scroll */
nav.navbar.navbar-header-wrap.header-fixed-top {
  background-color: #335259;
	border-bottom: 2px solid #253c3c;  
}

nav.header-fixed-top #menu-main-menu a,
nav.header-fixed-top #navbarNavDropdown a
{
  color: #ddd;  
}

nav.header-fixed-top #menu-main-menu a:hover,
nav.header-fixed-top #menu-main-menu a:focus,
nav.header-fixed-top #navbarNavDropdown a:hover,
nav.header-fixed-top #navbarNavDropdown a:focus {
  color: #fddb7c;  
}

div#navbarNavDropdown a {
  color: #253c3c;
}

div#navbarNavDropdown a:hover {
  color: #fff;
}

nav.header-fixed-top h2.site-title a {
  color: #ddd;
}

.navbar.navbar-header-wrap.header-fixed-top .site-branding-text .site-title a:hover,
.navbar.navbar-header-wrap.header-fixed-top .site-branding-text .site-title a:focus {
  color: #fddb7c;  
}

/* **** breadcrumbs - not relevant - disabled in php files **** */
ul.page-breadcrumb.text-right {
  background-color: rgba( 192, 192, 192, 0.65 );
}

ul.page-breadcrumb.text-right a {
  color: #1F3333 !important;
  text-shadow: 1px 1px #ddd;
}

ul.page-breadcrumb.text-right li.active::before {
  color: #1F3333 !important;
  text-shadow: 1px 1px #ddd;
}

/* **** others **** */
.theme-page-header-area {
  background-color: #93a1a1;
  /*background-image: url("./assets/img/GwithianBeach_1920x550.jpg");*/
  /*background-image: url('./assets/img/GwithianBeach-1920x550_fade.png');*/
  background-image: url('./assets/img/GwithianBeach-1920x550_fade.webp');
  background-attachment: scroll;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.theme-page-header-area .overlay {
  background-color: transparent !important;
  background-image: url('./assets/img/overlay_transparency.png');
  background-position: bottom left;
  background-repeat: repeat-x;
  background-attachment: scroll;
}
.theme-page-header-area::after {
  background-image: none;
}

.footer-sidebar .widget .wp-block-group .wp-block-calendar table.wp-calendar-table th { /* line 702 */
	background-color: #93a1a1;
  background-color: #6e797c;
	color: #ddd;
}

div#wrapper section.theme-bg-grey > .container { 
  background-color: #40676f !important;
}

.theme-block {
  /*padding-top: 0.5em;
  margin-top: 2em;*/
  padding-top: 0;
}

h1.text-white {
  color: #253c3c !important;
  text-shadow: 1px 1px #1f3333;
}

div.site-branding-text > h2.site-title a {
  color: #253c3c;
}

div.site-branding-text > h2.site-title a:hover,
div.site-branding-text > h2.site-title a:focus {
  color: #fff;
}


#navbarNavDropdown .navbar .nav .menu-item .nav-link:hover,
#navbarNavDropdown .navbar .nav .menu-item .nav-link:focus,
#navbarNavDropdown .navbar.header-fixed-top .nav .menu-item .nav-link:hover,
#navbarNavDropdown .navbar.header-fixed-top .nav .menu-item .nav-link:focus,
#navbarNavDropdown .navbar.navbar-header-wrap .nav .menu-item .nav-link:hover,
#navbarNavDropdown .navbar.navbar-header-wrap .nav .menu-item .nav-link:focus,
#navbarNavDropdown .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item .nav-link:hover,
#navbarNavDropdown .navbar.navbar-header-wrap.header-fixed-top .nav .menu-item .nav-link:focus {
  color: #253c3c !important; 
}

div.entry-meta .tag-links a {
  background-color: #93a1a1;
  border: 1px solid #93a1a1;
  color: #333;
}

div.entry-meta .tag-links a:hover, 
div.entry-meta .tag-links a:focus {
  background-color: #335259;
  border: 1px solid #333;
  color: #fff;  
}

/* page numbers, not incl. current */
.navigation.pagination .nav-links .page-numbers, 
.navigation.pagination .nav-links a {
  border: 1px solid #93a1a1;
  background-color: #93a1a1;
  color: #333;
}
.navigation.pagination .nav-links .page-numbers:hover,
.navigation.pagination .nav-links .page-numbers:focus {
  background-color: #335259;
  border: 1px solid #253c3c;
  color: #fff;  
}

/* current page */
.navigation.pagination .nav-links .page-numbers.current {
}

/* Next pages */
.navigation.pagination .nav-links .next.page-numbers {
}

div.entry-meta span.author span.grey,
div.entry-meta span::after {
  color: #ddd;
}

div.entry-meta span.author a, 
.entry-meta a {
  color: #fddb7c; /* my change */
}

div.entry-meta span.author a:hover, 
div.entry-meta span.author a:focus,
.entry-meta a:hover,
.entry-meta a:focus {
  color: #fff;
  text-decoration: underline;
}

.entry-content a {
  color: #fddb7c; /* my change */
}
.entry-content a:hover,
.entry-content a:focus {
  color: #fff;
}

.logged-in-as a {
  color: #fddb7c; /* my change */
}
.logged-in-as a:hover,
.logged-in-as a:focus {
  color: #fff;
}


.site-footer {
  background-color: #40676f;
  color: #ddd;
}

.site-footer {
	border-top: 2px solid #253c3c;
	border-bottom: none;
}

.site-footer .site-info {
  background-color: #40676f;
  color: #ddd;
}

.site-footer .site-info a {
  color: #fddb7c; /* my change */  
}
.site-footer .site-info a:hover,
.site-footer .site-info a:focus {
  color: #fff;
}

.page-scroll-up a {
  background-color: #335259;
  border: 1px solid #333;
  color: #fff;
}

.page-scroll-up a:hover, 
.page-scroll-up a:active {
  background-color: #253c3c;
  border: 1px solid #333;
  color: #fff;
}
.theme-comment-form span.required {
  color: #fab702;
}

h6 {
    font-size: 1.25rem;
}

.has-drop-cap:not(:focus)::first-letter {
  float: left;
  font-size: 6.3em;
  line-height: .68;
  font-weight: 100;
  margin: .05em .1em 0 0;
  text-transform: uppercase;
  font-style: normal;
}
.pull-left-comment img {
  border: 2px solid #fddb7c;
}

.comment-detail-title .comment-date a {
  color: #fddb7c;
}

.reply a {
  /*border: 2px solid #fddb7c;*/
  background-color: #93a1a1;
  border: 1px solid #93a1a1;
  color: #333;
}
.reply a:focus,
.reply a:hover {
  background-color: #335259;
  border: 1px solid #333;
  color: #fff;
}

.widget a:hover,
.widget a:focus {
  color: #fddb7c;
}
