/*
Theme Name: Tyrone Community Outreach OnePress Child Theme
Theme URI: https://example.com
Description: A child theme of OnePress
Author: Your Name
Author URI: https://example.com
Template: onepress
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onepress-child
*/

/* You can add custom CSS below this line */
form.wpcf7-form.init,
form.wpcf7-form.invalid,
form.wpcf7-form.sent,
form.wpcf7-form.submitting,
form.wpcf7-form.unaccepted,
form.wpcf7-form.aborted,
form.wpcf7-form.spam,
form.wpcf7-form.failed {
  text-transform: unset;
  font-size: 14px;
  letter-spacing: unset;
  font-weight: 400;
}

.wpcf7-form-control-wrap {
  width: 100%;
  display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box; /* Prevents overflow */
}

.wpcf7-form input.wpcf7-text,
.wpcf7-form input[type='date'] {
	background-color: #ffffff;
	border: 1px solid #777777;
	border-radius: 7px;
}

.wpcf7-form .wpcf7-list-item {
	display: block;
}

.wpcf7-form input[type='checkbox'] {
	width: 20px;
	height: 20px;
	margin-right: 8px;
	border: 1px solid #777777;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
}

.wpcf7-form input[type='checkbox']:checked {
	width: 20px;
	height: 20px;
	margin-right: 8px;
}

.wpcf7-form input[type='submit'] {
	border-radius: 7px;
	background: #0052c0 !important;
}

.alignfull {
  width: 100vw; /* Full viewport width */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  left: unset;
  right: unset;
}

body.home #primary {
  padding-top: 0;
}

html body {
  color: #4a4a4a;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

#page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
}

.site-footer .footer-connect {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

table th {
  text-transform: unset !important;
  letter-spacing: unset !important;
}

.site-logo-div {
  display: inline-block;
  max-width: 150px;
  vertical-align: middle;
}

header .site-logo-div img {
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
}

header .site-branding .site-title {
  margin-left: 20px;
}

header:not(.no-scroll) .site-logo-div img {
  height: 75px;
  width: 75px;
}

header:not(.no-scroll) .site-branding .site-title {
  margin-left: 15px;
  vertical-align: middle;
}

.onepress-menu ul li.current-menu-item > a {
    color: #0052c0;
}

.onepress-menu ul li a:hover,
.onepress-menu a:hover {
    color: #0052c0;
}

@media (max-width: 991px) {
  .site-logo-div {
    display: inline-block;
    width: 100px;
    vertical-align: middle;
  }
  
  header .site-logo-div img {
    height: 100px;
    width: 100px;
    margin-top: 12px;
    margin-bottom: 12px;
  }
  
  header:not(.no-scroll) .site-logo-div {
    height: 50px;
    width: 50px;
  }
  header:not(.no-scroll) .site-logo-div img {
    height: 50px;
    width: 50px;
    margin-top: 7px;
    margin-bottom: 7px;
  }

  header .site-branding .site-title {
    margin-top: 0;
    vertical-align: middle;
  }

  header:not(.no-scroll) .site-branding .site-title {
    margin-top: 5px;
    vertical-align: middle;
  }

  .footer-social {
    margin-bottom: 25px;
  }
  
  .site-footer .footer-social a:hover {
      color: #0052c0 !important;
  }
}

@media (max-width: 767px) {
  .site-logo-div {
    display: inline-block;
    width: 40px !important;
    height: 40px !important;
    vertical-align: middle;
  }
  
  header .site-logo-div img {
    height: 40px !important;
    width: 40px !important;
    margin-top: 7px;
    margin-bottom: 7px;
  }

  header .site-branding .has-logo-img .site-title,
  header:not(.no-scroll) .site-branding .has-logo-img .site-title {
    margin-left: 7px;
    margin-top: 5px;
    font-size: 15px !important;
  }
  
  header .site-branding .site-title,
  header .site-branding .site-text-logo,
  header .site-branding .has-logo-img .site-title,
  header:not(.no-scroll) .site-branding .has-logo-img .site-title {
    font-size: 15px !important; /* set your desired mobile font size */
    padding: 10px 0 0 0;
  }
}

/* hide breadcrumbs */
div.breadcrumb,
#breadcrumbs,
nav.breadcrumb {
    display: none !important;
}