/*
Theme Name: Harinder Veriah Trust
Theme URI: https://www.harinderveriahtrust.org/
Author: First Rate Marketing
Description: Custom theme for the Harinder Veriah Trust. Rebuilt 2026 from the
  original HarindaVariah theme. The CSS below is the PROVEN COMPILED stylesheet
  as served in production - it is NOT regenerated from scss/, which is stale
  (source 8.4KB vs served 16.2KB). Do not recompile from SCSS.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hvt
*/

/**
 * HARINDER VERIAH TRUST CSS
 */

 body {
  font-family: "Open Sans", sans-serif;
  background-color: #e4e1dc;
}



 
.modal-content .modal-header{
	border:none !important;
	padding:0 !important;
}
.modal-content h2{
 margin-top:20px;
}

#main-modal{
 text-align:center;
}

#main-modal .modal-content{
 background-color:#fdcd2e;
padding:20px;
 
}

#main-modal .modal-content p{
 font-size:18px;
 line-height:26px;
}

#main-modal .modal-content p a:link, #main-modal .modal-content p a:visited{
	color:#e11524;
text-decoration:none;
font-weight:bold;

}

#main-modal .modal-content p a:hover{
text-decoration:underline;
}

/*  ==================== Headings ====================
*/
h1, h2 {
  font-family: "Maiden Orange", "cursive";
  font-weight: normal;
  text-transform: uppercase;
  margin: 20px 0 20px 0;
}

h4, h5 {
  font-family: "Open Sans", sans-serif;
  margin: 0 0 10px 0;
}

h1 {
  font-size: 42px;
  color: #017901;
}

h2 {
  font-size: 30px;
  color: #017901;
  margin: 30px 0 10px 0;
}

h3 {
  font-size: 20px;
  color: #e11524;
  margin: 20px 0 20px 0;
}

h4 {
  font-size: 15px;
  font-weight: 700;
}
/*  ==================== Paragraph ====================
*/
p {
  margin: 10px 0 20px 0;
  font-size: 15px;
  line-height: 21px;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
}

/*  ==================== Buttons ====================
*/
.btn {
  border-radius: 0;
  padding: 10px 20px 5px 20px;
  font-family: "Maiden Orange", "cursive";
  text-transform: uppercase;
  color: #e11524;
  font-size: 30px;
  line-height: 34px;
  margin: 20px 0;
}
.btn.btn-yellow {
  background-color: #fdcd2e;
}
.btn.btn-yellow:hover {
  color: #293a7e;
}
.btn.btn-red {
  background-color: #e11524;
  color: #fff;
}
.btn.btn-red:hover {
  color: #fdcd2e;
}

/*  ==================== Forms ====================
*/
form, input, textarea {
  width: 99%;
  margin-top: 10px;
}

/* ==================== nav styles ==================== */
header {
  background-color: #fdcd2e;
  margin: 0 auto;
}

header h1 {
  text-align: center;
  margin: 0;
}
header h1 a {
  display: inline-block;
  background: url(images/logo.png) no-repeat;
  text-indent: -9999px;
  width: 363px;
  height: 151px;
  background-size: contain;
}
header #mob-menu {
  background-color: #e11524;
  position: relative;
  padding: 15px 10px 5px 10px;
  display: none;
  font-family: "Maiden Orange", "cursive";
  font-size: 28px;
  color: #fdcd2e;
  height: 55px;
}
header #mob-menu a#expand {
  color: #fdcd2e;
  font-size: 24px;
  line-height: 0;
  position: absolute;
  right: 10px;
}
header nav {
  background-color: #293a7e;
  text-align: center;
  position: relative;
}
header nav ul {
  margin: 0;
  padding: 0;
  width:100% !important;
}
header nav li {
  list-style-type: none;
  display: inline-block;
  position: relative;
}
header nav li.current-page-parent a, header nav li.current-menu-item a, header nav li.current-menu-parent a {
  text-decoration: none;
  color: #fff;
  background-color: #e11524;
}
header nav li a {
  display: inline-block;
  padding: 10px 10px 5px 10px;
  font-family: "Maiden Orange", "cursive";
  text-transform: uppercase;
  font-size: 30px;
  color: #fff;
}
header nav li a:hover {
  text-decoration: none;
  color: #fff;
  background-color: #e11524;
}
header nav li ul.sub-menu {
  position: absolute;
  top: 57px;
  z-index: 100;
  text-align: left;
  background: #e11524;
  width: 160px;
  display: none;
}
header nav li ul.sub-menu li {
  border-top: 1px solid #fff;
  width: 100%;
}
header nav li ul.sub-menu li.current-menu-item a {
  background-color: #900f19;
}
header nav li ul.sub-menu li a {
  display: inline-block;
  width: 100%;
  font-size: 22px;
}
header nav li ul.sub-menu li a:hover {
  background-color: #900f19;
}

/* ==================== media quries ==================== */
/* Small devices (tablets, 768px and up) */
@media (max-width: 768px) {
  header h1#logo a {
    height: 120px;
  }
  header #mob-menu {
    display: block;
  }
  header nav {
    display: none;
    text-align: left;
  }
  header nav ul {
    position: relative;
  }
  header nav ul li {
    display: block;
    border-top: 1px solid #fff;
  }
  header nav ul li a {
    width: 100%;
    font-size: 26px;
  }
  header nav ul li ul.sub-menu {
    display: none;
    top: 0;
    width: 100%;
    position: relative;
  } 
}
/* Medium devices (desktops, 992px and up) */
/* Large devices (large desktops, 1200px and up) */
/* Large devices (large desktops, 1200px and up) */
/* ==================== carousel and main styles ==================== */
.banner {
  padding: 0;
  margin: 0 auto;
}
.banner h1.headline {
  background-color: #017901;
  margin: 0;
  color: #fdcd2e;
  padding: 30px 30px 20px 30px;
}
.banner img {
  width: 100%;
  height: auto;
}

.carousel {
  padding: 0;
  margin: 0 auto;
}
.carousel img {
  width: 100%;
  height: auto;
}
.carousel .carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  text-align: left;
  padding: 20px 10px 0 20px;
  max-width: 270px;
  top: 30px;
  bottom: auto;
  left: 20px;
}
.carousel .carousel-caption p {
  font-family: "Open Sans", sans-serif;
  line-height: 30px;
  letter-spacing: -1px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-right: 0px;
  font-size: 26px;
}
.carousel .glyphicon {
  display: none;
}

.carousel-indicators {
  bottom: 0;
}

.main-content {
  background-color: #017901;
  color: #fff;
  margin: 0 auto;
}
.main-content h2 {
  color: #fdcd2e;
}
.main-content .home-main img {
  width: 100%;
}

.main-content .home-main .afg-img {
  width:200px;
}

.main-content .side-home {
  background-color: #fdcd2e;
  padding: 10px 30px 10px 30px;
  color: #000;
  margin-right: -26px;
  margin-bottom: 20px;
}
.main-content .side-home h2 {
  color: #017901;
}
.main-content .side-home h4 {
  color: #e11524;
  margin-bottom: 0;
}
.main-content .side-home .excerpt {
  margin-bottom: 10px;
  overflow: hidden;
}
.main-content .side-home .excerpt p {
  margin-top: 0;
}
.main-content .side-home .excerpt a {
  color: #e11524;
}
.main-content .side-home .excerpt a:hover {
  text-decoration: underline;
}

.main-content.sub {
  background-color: #fff;
  color: #000;
  padding-top: 30px;
  padding-bottom: 30px;  
}
.main-content.sub .left-col-cont h2, .main-content.sub .left-col-cont h3, .main-content.sub .left-col-cont h4 {
  color: #017901;
  margin-top: 30px;
}
.main-content.sub .side-sub {
  margin-right: -30px;
}
.main-content.sub .side-sub .sidebar-link {
  width: 100%;
  margin-bottom: 30px;
}
.main-content.sub .side-sub .sidebar-link ul {
  padding: 0;
  list-style-type: none;
  width: 100%;
}
.main-content.sub .side-sub .sidebar-link ul li {
  background-color: #293a7e;
  margin: 2px 0;
}
.main-content.sub .side-sub .sidebar-link ul li.current-menu-item a {
  background-color: #131d46;
}
.main-content.sub .side-sub .sidebar-link ul li a {
  display: inline-block;
  padding: 18px 20px 6px 20px;
  width: 100%;
  color: #fff;
  font-family: "Maiden Orange", "cursive";
  font-size: 23px;
  text-transform: uppercase;
}
.main-content.sub .side-sub .sidebar-link ul li a:hover {
  background-color: #131d46;
  text-decoration: none;
}
.main-content.sub .side-sub .side-testimonial {
  padding: 10px 20px;
  background-color: #017901;
  text-align: center;
  color: #fff;
}
.main-content.sub .side-sub .side-testimonial img {
  border-radius: 150px;
}

.strapline {
  font-family: "Open Sans", sans-serif;
  font-size: 28px;
  line-height: 30px;
  letter-spacing: -1px;
  margin-bottom: 30px;
  padding-right: 30px;
}

.intro {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -1px;
  margin-top: 0;
  margin-bottom: 30px;
}

.intro a {
  color: rgb(253, 205, 46);
}

.excerpt {
  clear: both;
}
.excerpt img {
  float: left;
  margin: 5px 10px 10px 0;
}

.help-box {
  text-align: center;
  background-color: #fff;
  margin: 0 auto;
  padding: 10px 0 0 0;
}
.help-box a {
  color: #000;
}

.help-box p {font-weight: 400;}

.help-box.sub {
  background-color: #fdcd2e;
}

/* ==================== footer and testimonial styles ====================
*/
.footer-testimonials {
  background-color: #fdcd2e;
  margin: 0 auto;
}
.footer-testimonials h1 {
  color: #293a7e;
  margin-left: 20px;
  margin-bottom: 0;
}

.footer-testimonials p {font-weight: 400;}

.footer-testimonials .testimonial-exc {
  padding-top: 10px;
  border: 1px solid transparent;
  margin-bottom: 20px;
}
.footer-testimonials .testimonial-exc img {
  float: left;
  margin: 0 10px 10px 0;
  border-radius: 150px;
}

footer {
  background-color: #293a7e;
  color: #fff;
  padding: 15px 0 10px 20px !important;
  margin: 0 auto;
}

.textwidget{
 float: left;
 display: inline-block;
}

.sn-links {
  float: right;
  text-align: right;
  display: inline-block;
  margin-top:15px;
  margin-right:15px;
}

.sn-links a{
 margin-right:15px;
}

/* ==================== Blog styles ====================
*/
.post {
  border-bottom: 1px solid #ddd;
  padding: 25px 0 10px 0;
}
.post:last-child {
  border: none;
}
.post h3 {
  margin: 0;
}
.post p {
  margin: 10px 0 20px 0;
}
.post a {
  color: #e11524;
}
.post a:hover {
  text-decoration: underline;
}
.post.article h1 {
  margin-top: 0px;
}

.main-content, .footer-testimonials, footer {
  padding: 10px 0;
}

.alignleft {
  float: left;
  margin: 0 10px 10px 0;
}

.alignright {
  float: right;
  margin: 0 0 10px 10px;
}


#letter{
 padding: 20px;
 background: url(images/letter-tile.jpg) repeat;
}

#letter img{
 width:100%;
}

#letter p{
 font-family: 'Bad Script', cursive;
 font-size:19px;
 line-height: 26px;
 margin: 30px 0;
}

/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
/* Small devices (tablets, 768px and up) */
.container {
  max-width: 992px !important;  
}


@media (max-width: 768px) {
 .credit {
  width: 100%;
  height: auto;
  position: inherit;
  left:0;
}
.credit-inner {
  position: inherit;
  top:0;
  left:0;
  width: 65%;
  height: auto;
  margin: 0 auto;
}
.carousel .carousel-caption {
  padding: 10px;
  width: 300px;
  top: -10px;
  bottom: auto;
  left: 10px;
}
.carousel .carousel-caption p {
  line-height: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-right: 10px;
  font-size: 16px !important;
}
.carousel .carousel-caption .btn {
  padding: 10px;
  font-size: 20px;
  line-height: 22px;
}

h1#logo a {
  width: 300px;
}


.side-home, .side-sub {
  margin-top: 20px;
  margin-right: 0 !important;
}

.btn {
  padding: 15px 20px 5px 20px;
  font-size: 24px;
  line-height: 24px;
  } }
  /* Medium devices (desktops, 992px and up) */
  /* Large devices (large desktops, 1200px and up) */
  @media (min-width: 992px) {
    header, .banner, #myCarousel, .main-content, .help-box, .footer-testimonials, footer {
      max-width: 992px;
      margin: 0 auto 
    }
  }
  /* Large devices (large desktops, 1200px and up) */
  @media (min-width: 1200px) {
    header, .banner, #myCarousel, .main-content, .help-box, .footer-testimonials, footer {
      max-width: 992px;
    }
    .side-home, .side-sub {
      margin-right: -15px !important;
    }
  }
  /* ========================= OTHER ======================== */
  /* Added 28/05/14 CT */
  .help-box .donate-now {
    background-color: rgb(225, 21, 36);
    color:#fff;
    padding-bottom: 10px;
  }
  .donate-now a {
    color:#fdcd2e;
    text-decoration: underline;
  }

  ol li { font-size: 15px;
  }
  .sponsor-red { color: #ff0000; font-weight: bold;}
  .pupil-testimonials p { text-align: center;}
  .pupil-testimonials img { margin: 0 auto 10px auto; border-radius: 0px; border: 3px solid; display: block;
  }
  .tutors img { margin: 0 auto 10px auto; border-radius: 0px; border: 3px solid; display: block;
  }
  .row.testimonial { background-color: #017901; margin-bottom:1em; padding:1em;color: #fdcd2e;}
  .testimonial-name { font-weight:bold; font-size: 1.2em;}

  .trustee {clear:both;}
  .trustee-img {}
  .trustee-txt {padding-top:3em;}

  .donate-now h2 {font-size:42px; color:rgb(253, 205, 46);}
  .side-home .excerpt h4 { margin-bottom: 1em;}

/* These weren't in already...
*/
.aligncenter {display: block;margin-left: auto;margin-right: auto;}
.alignleft {float: left;}
.alignright {float: right;}

/* .faq ol {  } */
.faq ol li { color:rgb(1, 121, 1);  font-size: 20px;font-weight: 500; margin-bottom:20px;}
.faq p { color:rgb(0, 0, 0);
}

.donate-now h2 {
  display:inline;
}

.donate-now {
  padding: 30px 0 10px 0;
}

@media (max-width: 768px) {
  .donate-now h2 {
    display:block;
  }
  .donate-now {
    padding:0;
  }
}

.attachment-intro-image { margin-top:1em;}

/* [--- Credits on Hari's Story Page ---]
*/
.credit {
  height:0;
  position: absolute;
  left: 700px;
}

.credit-inner {
  position: relative;
  width: 200px;
  height: 100px;
  background-color: rgb(255, 255, 255);
  top: -120px;
}

@media (max-width: 768px) {
  .credit { width: 100%; height: auto; position: inherit; left:0; }
  .credit-inner { position: inherit; top:0; left:0; width: 65%; height: auto; margin: 0 auto; }
}

@media(max-width: 992px) {
  .credit { left: 550px; }
}

.help-box .ssba {
  display:none;
}

footer .ssba {
  display:none;
}

.carousel-caption .shout {
  font-size:1.5em;
}

.carousel .carousel-news {
  position: absolute;
  right: 15%;
  z-index: 10;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.75);
  text-align: left;
  padding: 20px 10px 0 20px;
  width: 400px;
  top: 30px;
  left: 30px;
  bottom: auto;
  font-weight: normal;
}
.carousel .carousel-news h2 {
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
  font-family: "Open Sans", sans-serif;
  margin: 10px 0 10px 0;
  color:#fff;
}
.carousel .carousel-news p {
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  letter-spacing: -1px;
  line-height: 28px;
  margin: 10px inherit 10px inherit;
  padding-right: 10px;
  font-size: 24px !important;
}

@media (max-width: 768px) {
  .carousel .container {
    padding:0;
    margin:0;
    width:100%;
  }
  .carousel .carousel-news {
    background-color: rgba(57, 56, 55, 0.55);
    position:absolute;
    left:0;
    top: 0px;
    width: 50%;
    height:100%;
    padding:10px 5px 0px 10px;
  }
  .carousel .carousel-news h2 {
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
    font-family: "Open Sans", sans-serif;
    margin: 10px 0 10px 0;
    color:#fff;
    font-size:24px;
  }
  .carousel .carousel-news p {
    display:none;
  }

  .carousel .carousel-caption {
    background-color: rgba(57, 56, 55, 0.55);
    position:absolute;
    left:0;
    top: 0;
    width: 50%;
    height:100%;
  }
  .carousel .carousel-caption p {
    font-family: "Open Sans", sans-serif;
    line-height: 26px;
    letter-spacing: -1px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-right: 0px;

  }
  .carousel .carousel-caption .shout {
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
    font-family: "Open Sans", sans-serif;
    margin: 10px 0 10px 0;
    color:#fff;
    font-size:24px !important;
    line-height:24px;
  }
  .carousel .carousel-caption .btn {
    font-size:24px;
    margin:10px 0;
    padding:15px 20px 5px 20px;
  }
}

.post-list .post h4 {
  margin: 10px 0 10px 0;
} 

/* To correctly scale the portrait-orientation image on Hari's Story page
*/ 
.hari-img-3 {
  max-width:402px;
  max-height:600px;
}
@media(max-width:480px) {
  .hari-img-3{
    width:100%;
  }
}

}

 