/*
Theme Name: Veterans Aid
Theme URI: https://www.eyes-down.net
Author: Eyes Down Digital
Author URI: https://www.eyes-down.net
Description: Veterans Aid custom WordPress theme
Text Domain: veterans-aid
Version: 1.0.0
License: GNU General Public License v2 or later
*/


:root {
  --color-black: rgba(0,0,0,0.9);
  --color-white: #fff;
  --color-grayLight: rgb(245, 245, 245);
  --color-grayDark: #191919;
  --color-blue: #053f6a;
  --color-red: #d42243;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  font-size: 16px;
  font-weight: 500;
  color: #191919;
}

.wrapper {
  padding-top: 140px;
  -webkit-transition: padding-top .2s ease-in;
  -moz-transition: padding-top .2s ease-in;
  -o-transition: padding-top .2s ease-in;
  transition: padding-top .2s ease-in;
}

a,
a:hover {
  color: #d42243;
  text-decoration: none;
}

p {
  margin-bottom: 20px;
}

.small {
  font-size: 80%;
}

.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.pt-6 {
  padding-top: 4rem !important;
}

.pb-6 {
  padding-bottom: 4rem !important;
}

.light-grey {
  background-color: #F7F7F7;
}
.white {
  background-color: #ffffff;
}

/* Headings */

h1 {
  font-weight:700;
  text-transform: uppercase;
  font-size: 33px;
  color: #ffffff;
  margin-bottom: 20px;
  padding: 0;
}

h2, h3, h4 {
  font-weight:700;
  color: #053f6a;
  margin-bottom: 20px;
  position: relative;
}

h2 {
  font-size:25px;
}
h2:after, h3:after, h4:after{
  content:'';
  height:2px;
  width:12px;
  background:#053f6a;
  position:absolute;
  left:0;
  bottom:-10px;
}

.text-content h2 { margin-bottom: 30px;}

h3 {
  font-size:20px;
}

h4 {
  font-size:16px;
}

h5 {
  font-size:20px;
  text-transform: uppercase;
}

/* End headings */

/* Buttons */

.btn {
  border-radius:50px;
  padding: 10px 35px;
  font-style: normal !important;
  border-width:0;
  font-weight:600;
}

.btn-red {
  background: #d42243;
  color: #ffffff !important;
}

.btn-white {
  background: #fff;
  color: #D42243 !important;
}

.btn-blue {
  background: #053f6a;
  color: #ffffff !important;
}

.btn-red:hover, .btn-blue:hover {
  opacity: 0.9;
}

.btn-block {
  display: inline-block;
  margin-bottom: 20px;
  margin-right: 15px;
}


/* End buttons */

/* Wordpress image styles */

img.alignright,
.alignright {
  float: right;
  margin: 0 0 1.5em 1.5em;
  max-width: 100%;
}
img.alignleft,
.alignleft {
  float: left;
  margin: 0 1.5em 1.5em 0;
  max-width: 100%;
}
img.aligncenter,
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}
a img.alignright {
  float: right;
  margin: 0 0 1.5em 1.5em;
  max-width: 100%;
}
a img.alignleft {
  float: left;
  margin: 0 1.5em 1.5em 0;
  max-width: 100%;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}
.wp-caption-text {
  margin-top: 6px;
  font-size: 14px;
  text-transform: uppercase;
  color: #555;
}

/* End Wordpress image styles */

/** Mobile Nav Starts **/

#mobile-menu ul {
	list-style: none;
}

#mobile-menu ul li {
	margin-bottom: 0;
}

#mobile-menu ul ul ul a {
    padding-left: 40px !important;
}

#mobile-menu a,
#mobile-menu h3
{
	color: #ccc !important;
}

#mobile-menu {
    background: #fafafa;
}

#mobile-menu p {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

#mobile-menu a, #mobile-menu a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

#mobile-menu .navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

#mobile-menu .navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
	float:right;
	margin:10px 10px 0 15px;
	background: #439dd1;
}

#mobile-menu .line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

#mobile-menu #sidebar {
    width: 315px;
    position: fixed;
    top: 140px;
    right: -315px;
    height: 100vh;
    z-index: 999;
    background: #202020;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

.admin-bar #mobile-menu #sidebar {
  top: 172px;
}

#mobile-menu #sidebar.active {
    right: 0;
}

#dismiss {
  display: none;
  margin-left: 25px;
  margin-right: 4px;
}

#dismiss img {
  width:30px;
}


#mobile-menu .overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
	  background:rgba(0,0,0,0.75);
    z-index: 99;
    display: none;

}

.sticky #mobile-menu .overlay {
  /* margin-top: 80px; */
}


#mobile-menu #sidebar .sidebar-header {
    padding: 25px 30px 21px 20px;
    background-color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 15px;
    color: #ffffff;
}
#mobile-menu #sidebar .sidebar-header svg {
  margin-top: 4px;
}

#mobile-menu #sidebar ul.components {
    padding:  0;
}

#mobile-menu #sidebar ul p {
    color: #fff;
    padding: 10px;
}

#mobile-menu #sidebar ul li a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: uppercase;
    display: block;
    position: relative;
}

#mobile-menu #sidebar ul li a:hover {
    color: #7386D5;
    background: #4d4d4d;
}

#mobile-menu #sidebar ul li.active > a, #mobile-menu a[aria-expanded="true"] {
    color: #fff !important;
    background: rgba(255,255,255,0.2);
}


#mobile-menu a[data-toggle="collapse"] {
    position: relative;
}

#mobile-menu a[aria-expanded="false"]::before, #mobile-menu a[aria-expanded="true"]::before {
  content: ' ';
  display: block;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
    position: absolute;
    right: 20px;
    top:15px;
    padding-top:3px;
    font-size: 0.6em;
    width:15px;
    height:15px;
    transition: transform .2s ease-in-out;
  }
#mobile-menu a[aria-expanded="true"]::before {
  transform: rotate(-180deg);
}


#mobile-menu ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #4d4d4d;
}

#mobile-menu a.article, #mobile-menu a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/** Mobile Nav Ends **/

/** Header **/

.header {
  position: fixed;
  z-index: 100;
  background: #ffffff;
  width: 100%;
}

.header .logo img {
  max-height: 120px;
  margin: 10px 0;
  -webkit-transition: max-height .2s ease-in;
  -moz-transition: max-height .2s ease-in;
  -o-transition: max-height .2s ease-in;
  transition: max-height .2s ease-in;
}

.sticky .header .logo img {
  /* max-height: 80px; */
}

.header .container {
  max-width: none !important;
  padding: 0 20px;
}

.header-nav {
  height: 100%;
}

.header-nav a {
  margin-left: 20px;
}

/** End header **/

/** Hero block (homepage) **/

.hero {
  background: rgb(5,62,104);
  background: linear-gradient(0deg, rgba(3,33,54,1) 0%, rgba(5,62,104,1) 100%);
  position: relative;
  overflow:hidden;
  color:#ffffff;
}

.hero .imagecol {
  position: relative;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.hero .textcol div {
  padding: 90px 50px 90px 0;
  color: #ffffff;
  flex-wrap: wrap;
}

.hero p {
  font-size: 16px;
}

.hero img {
  position: absolute;
  top:0;
  height: 101% !important;
}

.hero img.left {
  left:-70px;
}

.hero img.right {
  right:-5px;
}

/* Footer start */

.footer h2 {
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 30px;
}
.footer p {
  font-size: 14px;
  margin: 20px 0;
}
.footer a {
  color: inherit;
}

.footer ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer li{
  margin: 10px 0;
  font-size: 14px;
}

.social-footer a{
  display: inline-block;
  margin: 0 5px;
}
.social-footer svg{
  background-color: blue;
}

.social-footer a {
  width:30px !important;
}

.subfooter{
  background-repeat: none;
  background-size: cover;
  background-position: center center;
  background-image: url('images/Footer.svg');
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
}
.subfooter p{
  margin-bottom: 0;
}

/* Footer end */

/*  CTA section  */

.cta-section{
  background-color: #D42243;
  color: #ffffff;
  font-size: 16px;
}

.cta-section.xmas{
  background-image: url('images/snowflakes.png');
}
.cta-section h2{
  color: #ffffff;
  text-transform: uppercase;
}
.cta-section h2:after{
  background:#fff !important;
  left:50% !important;
  bottom:0;
}

/*  End CTA section  */

/*  Quote section */

.text-quote {
  background-repeat: none;
  background-size: cover;
  background-position: center center;
}
.text-quote p {
  font-size: 23px;
  line-height: 32px;
  color: #0D466F;
  font-weight: 500;
}
.text-button-container {
  display: inline-block;
}

/*  End quote section */

/* Columns */

.column-section h2 {
  text-transform: uppercase;
  font-size:20px;
}
.column-section h2::after{
  border-bottom: 2px solid black;
}
.text-button-container a {
  font-weight: 700;
  font-size: 18px;
}

/* End columns */

/* Page header start */

.header-single .header-text{
  position: relative;
  padding: 100px 0 100px 100px;
}
.header-single h2{
  color: #ffffff;
  font-weight: 500;
  font-size: 22px;
}
.header-single h2:after{
  height:0;
  width:0;
  left:0;
  bottom:0;
}

.header-single h1:after{
  content:'';
  height:2px;
  width:12px;
  background:#fff;
  position:absolute;
  left:0;
  bottom:-10px;
}

.header-single img.left {
  left:-1px;
}

.text-header {
  background-image: url('images/hero-right-2.svg'), url('images/hero-left.svg'), linear-gradient(0deg, rgba(3,33,54,1) 0%, rgba(5,62,104,1) 100%);
  background-position: right -29px top, left -24px top;
  background-repeat: no-repeat, no-repeat;
  background-size: auto 100%, auto 100%;
}
.text-header h1{
  margin-bottom: 0;
}
/* Page header end */

/* single page start */
.single-header h2{
  color: #ffffff;
  font-size: 33px;
  font-weight: 700;
  text-transform: uppercase;
}
.single-header h2:after{
  content: none;
}
.single-page h1{
  color: #053f6a;
  font-size: 25px;
  text-transform: none;
  font-weight: 700;
  position: relative;
  margin-bottom: 20px;
}
.single-page h1:after{
  content:'';
  height:2px;
  width:12px;
  background:#053f6a;
  position:absolute;
  left:0;
  bottom:-10px;
}
/* single page end */

/* posts page start */
.post-item a{
  color: #053f6a !important;
}
/* posts page end */

/* woocommerce start */
.single_add_to_cart_button{
  border-radius:50px !important;
  padding: 10px 35px !important;
  font-style: normal !important;
  border-width:0 !important;
  font-weight:600 !important;
  background: #d42243 !important;
  color: #ffffff !important;
}
.woocommerce-ordering, .tagged_as{
  display: none;
}
.woocommerce-loop-product__title{
  margin-bottom: 20px !important;
}

.woocommerce-shop .single-page h1 {
  display: none;
}

.woocommerce-result-count {
  display: none;
}

/* woocommerce end */

/* Blog start */

p.meta {
  text-transform: uppercase;
  font-size: 14px;
  font-weight:600;
  color: #888;
}

/* Blog end */

/* FAQ */

.faq h2:after { display:none; }

.faq .accordion-button {
  font-weight:600 !important;
  display: block;
  text-align: left;
}

.faq .accordion-button:not(.collapsed) {
  background-color: rgb(247, 247, 247);
  color: #191919;
}

.faq.light-grey .accordion-button:not(.collapsed) {
  background-color: #ffffff;
}

.faq .accordion-button::after {
  position: absolute;
  right: 0;
  top: 18px;
}

/* End FAQ */

/* Gravity forms */

.gform_wrapper {
  max-width:600px;
  margin: 40px 0 40px 0;
}

.gform_wrapper h2:after { display:none; }

.gform_submission_error .gform-icon { display:none !important; }

.gform_button {
  border-radius:50px;
  padding: 10px 35px;
  font-style: normal !important;
  border:none;
  font-weight:600;
  background: #053f6a;
  color: #ffffff !important;  
}

/* End Gravity forms */

/* CAF donate form */

.donate-button-wrap {
    background: #ffffff;
    margin-bottom: 20px;
    padding: 30px 20px 1px 20px;
    text-align: center;
}

/* End CAF donate form */

/* Gallery CSS */

.gallery img {max-width:100%; height:auto; border: 5px solid #fff !important; margin:0 auto; display:block;}

.gallery {
  margin-left:-5px !important;
  margin-right:-5px !important;
}

.gallery figure {float:left; margin:0 2% 1em 0;}

.gallery.gallery-columns-1 figure {width:100%; margin:0 0 1em 0; float:none;}

.gallery.gallery-columns-3 figure {width:32%;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+3) {margin-right:0;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+4) {clear:left;}

.gallery.gallery-columns-2 figure {width:49%;}
.gallery.gallery-columns-2 figure:nth-of-type(even) {margin-right:0;}
.gallery.gallery-columns-2 figure:nth-of-type(odd) {clear:left;}

.gallery.gallery-columns-4 figure {width:23.25%;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+4) {margin-right:0;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+5) {clear:left;}

.gallery.gallery-columns-5 figure {width:18%;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+5) {margin-right:0;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+6) {clear:left;}

.gallery.gallery-columns-6 figure {width:14.2%;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+6) {margin-right:0;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+7) {clear:left;}

.gallery.gallery-columns-7 figure {width:12%;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+7) {margin-right:0;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+8) {clear:left;}

.gallery.gallery-columns-8 figure {width:10.2%;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+8) {margin-right:0;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+9) {clear:left;}

.gallery.gallery-columns-9 figure {width:8.85%;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+9) {margin-right:0;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+10) {clear:left;}

/* End Gallery CSS */

/* Responsive Google map */

.map-responsive{
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;
  height:0;
}
.map-responsive iframe{
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}

/* End responsive Google map */

/* Temporary message */

.temporary-message {
  background-color: #d42243;
  font-size: 16px;
  padding: 20px 50px 20px 25px;
  color: #fff;
  position: relative;
  text-align: left;
}

.temporary-message span{
	max-width: 800px;
}

.temporary-message a {
	color: #fff;
  font-weight: normal;
  text-decoration: underline;
}

.temporary-message button{
	background-color: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  float: right;
  font-size: 24px;
  height: 32px;
  width: 32px;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 31px;
  line-height: 1;
}

@media only screen and (max-width: 1400px) {
  .hero .container {
    max-width:none;
  }
  .masthead .container {
    max-width:none;
  }
}

@media only screen and (max-width: 1200px) {

}

@media screen and (max-width: 1100px) {
}

@media screen and (max-width: 990px) {
  .header .container {
    max-width: none;
    padding: 0 20px;
  }
  .hero .textcol div {
    padding: 40px 20px 40px 0;
  }
  .hero img.left {
    left:-100px;
  }
  .header-single .header-text{
    padding: 50px 0 50px 50px;
  }  
}

@media screen and (max-width: 768px) {
  h1 { font-size: 28px; }
  .header .logo img { height: 80px; }
  .wrapper { padding-top: 100px; }
  .header-nav img { width:30px;}
  .header .btn {
    padding: 9px 20px;
    font-size: 16px;
  }
  #mobile-menu #sidebar { top: 100px; }
  .admin-bar #mobile-menu #sidebar { top: 146px; }
  #mobile-menu #sidebar .sidebar-header {
    padding: 41px 30px 35px 20px;
  }
  #mobile-menu #dismiss img { top: 28px; }
  .hero .imagecol { height: 350px;}
  .hero img.left { left:-70px; }
  .hero img.right { right:-80px; }
  .text-quote p { font-size: 18px; }
  .header-single .header-text{ padding: 30px; }
  .header-single h2 {font-size:18px;}
  .gallery.gallery-columns-4 figure, .gallery.gallery-columns-5 figure, .gallery.gallery-columns-6 figure, .gallery.gallery-columns-7 figure, .gallery.gallery-columns-8 figure, .gallery.gallery-columns-9 figure {width:100%; margin:0 0 1em 0; float:none;}
}

@media screen and (max-width: 580px) {
  .header .btn {
    padding: 7px 13px;
    font-size: 14px;
  }
  .wrapper { padding-top: 80px; }
  #mobile-menu #sidebar { top: 80px; }
  .admin-bar #mobile-menu #sidebar { top: 126px; }
  .header .logo img { height: 60px; }
  .header-nav a {
    margin-left: 13px;
  }
  .header .container {
    max-width: none;
    padding: 0 12px;
  }
  .hero .imagecol { height: 300px;}
  .hero img.left { left:-90px; }
  .hero img.right { right:-100px; }
  #mobile-menu #sidebar .sidebar-header {padding: 30px 30px 26px 20px;}
  #mobile-menu #dismiss { right: 15px; }
  #mobile-menu #dismiss img { top: 19px; }

  .header-single .header-text{
    padding: 40px 20px;
  } 
  .header-single h2{
    font-size: 18px;
  }  
}

.posts-home h2{
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
}
  
.image-block{
  background-repeat: none;
  background-size: cover;
  background-position: center center;
  height: 200px;
}

.intro-text{
  font-weight: 500;
  font-size: 20px;
  text-align: center;
}

#breadcrumbs{
  margin: 0 !important;
  padding: 0 !important;
  color: #fff;
  font-weight: 100;
  font-size: 12px;
}
#breadcrumbs a{
  color: #fff;
}

#breadcrumbs li{
  display:inline-block;
  vertical-align:middle;
}

#breadcrumbs .separator{
  font-size:13px;
  color: #fff;
  margin: 0 10px;
}