/*

Sydney Anglican Stamp Society

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #5e4da2; /*purple*/
  --secondary-color:              #000000; /*black*/
  --section-bg-color:             rgba(250, 250, 255, 0.99); /*bg of boxes*/
  --custom-btn-bg-color:          #f65129; /*orange*/
  --social-icon-link-bg-color:    #7f73eb;
  --dark-color:                   #000000;
  --p-color:                      #58595A;
  --border-color:                 #e9eaeb;
  --copyright-color:              #6251a4; /*same as primary but lighter*/

  --body-font-family:             'League Spartan', sans-serif;

  --h1-font-size:                 28px;
  --h2-font-size:                 30px;
  --h3-font-size:                 24px;
  --h4-font-size:                 22px;
  --h5-font-size:                 18px;
  --h6-font-size:                 16px;
  --p-font-size:                  22px;
  --btn-font-size:                16px;
  --footer-font-size:             20px;
  --copyright-font-size:          18px;

  --border-radius-large:          100px;
  --border-radius-medium:         30px;
  --border-radius-small:          10px;

  --font-weight-thin:             100;
  --font-weight-light:            390;
  --font-weight-normal:           400;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
  --font-weight-verybold:         800;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.5px;
}

h1,
h2 {
  letter-spacing: -.5px;
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  margin: 0 0 1.5em 0;
  line-height: 1.6;
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--custom-btn-bg-color);
  font-weight: var(--font-light);
  text-decoration:underline;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

table {
  width: 100%;
  border-collapse: collapse;
}

table, td {
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

table, th {
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);	
}

thead, tbody, tr, td, th { 
  border-color: inherit;
  border-style: inherit;
  border-width: 0;
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background: var(--section-bg-color);
}

.section-overlay {
  background: rgba(0, 0, 0, 1.00);
  background: var(--custom-btn-bg-color);
  opacity: 0.87;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.section-overlay + .container {
  position: relative;
}

.back-top-icon {
  background: var(--secondary-color);
  width: 65px;
  color: var(--white-color);
  font-size: var(--h4-font-size);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  transition: all 0.5s;
}

.back-top-icon:hover {
  background: var(--custom-btn-bg-color);
  color: var(--white-color);
}

.custom-block {
  background: var(--primary-color);
  border-top: 20px solid var(--secondary-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 30px 50px;
}

.custom-icon {
  color: var(--primary-color);
}

.instagram-block {
  position: relative;
  height: 100%;
}

.instagram-block-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

nav[aria-label="breadcrumb"] {
  background: var(--white-color);
  border-radius: var(--border-radius-large);
  display: inline-block;
  padding: 7px 16px 3px 16px;
}

.breadcrumb {
  margin-bottom: 0;
}

/*---------------------------------------
  CUSTOM TEXT BLOCK               
-----------------------------------------*/
.custom-text-block {
  background: var(--primary-color);
  padding: 80px 60px;
  height: 100%;
}

.counter-thumb {
  margin: 20px;
  margin-bottom: 0;
}

.counter-number,
.counter-text {
  color: var(--secondary-color);
  display: block;
}

.counter-number,
.counter-number-text {
  color: var(--dark-color);
  font-size: var(--h1-font-size);
  line-height: normal;
}

.custom-text-block .counter-number,
.custom-text-block .counter-number-text {
  color: var(--white-color);
}


/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-link {
  color: var(--p-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  vertical-align: middle;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
  padding-bottom: 2px;
}

.custom-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: currentColor;
}

.custom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.custom-link:hover {
  color: var(--primary-color);
}

.custom-link:hover::after {
  background: var(--custom-btn-bg-color);
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding: 15px 20px;
}

.custom-btn:hover,
.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}

.custom-border-btn-wrap .custom-border-btn {
  border-color: var(--white-color);
  color: var(--white-color);
}

.custom-border-btn-wrap .custom-border-btn:hover,
.cta-section .custom-border-btn:hover {
  background: var(--white-color);
  color: var(--custom-btn-bg-color);
}

.custom-border-btn-wrap .custom-link {
  color: var(--white-color);
}

.custom-border-btn-wrap .custom-link:hover::after {
  background: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--custom-btn-bg-color);
}

.custom-border-btn:hover {
  background: var(--custom-btn-bg-color);
  border-color: transparent;
  color: var(--white-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn {
  padding: 12px 22px;
  color: var(--white-color);
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
  background: var(--white-color);
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-brand {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}

.logo-image {
  display: block;
  width: 65px;
  margin-right: 15px;
}

.logo-text {
  color: var(--primary-color);
  font-size: var(--h2-font-size);
  display: block;
  line-height: normal;
}

.logo-slogan {
  color: var(--custom-btn-bg-color);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
}

.navbar-brand,
.navbar-brand:hover {
  color: var(--primary-color);
}

.navbar-expand-lg .navbar-nav .nav-link {
  margin-right: 0;
  margin-left: 0;
  padding: 20px;
}

.navbar-expand-lg .navbar-nav {
  width: 100%;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--p-bg-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-light);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--custom-btn-bg-color);
}

.dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  padding: 0;
  margin-top: 20px;
}

.dropdown-item {
  display: inline-block;
  color: var(--p-bg-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

.dropdown-menu li:last-child .dropdown-item {
  border-bottom: 0;
}

.dropdown-item.active, 
.dropdown-item:active,
.dropdown-item:focus, 
.dropdown-item:hover {
  background: transparent;
  color: var(--custom-btn-bg-color);
}

.dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background-image: url('../images/site-header/sass.jpg');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.site-header .section-overlay {
  background: var(--primary-color);
}


/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero-section {
  background-image: url('../images/site-header/sass.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.hero-section .section-overlay {
  background: var(--primary-color);
}

.hero-section .custom-border-btn {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.hero-section .custom-border-btn:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}

.hero-form {
  background: var(--social-icon-link-bg-color);
  border-radius: var(--border-radius-small);
  padding: 40px;
}

.hero-form .form-control {
  padding-bottom: 10px;
}

.hero-form button[type="submit"] {
  padding-top: 10px;
  padding-bottom: 8px;
}

.hero-form .input-group-text i {
  position: relative;
  top: 2px;
}

.hero-section .badge {
  background: transparent;
  color: var(--white-color);
}

.hero-section .badge:hover {
  background: var(--white-color);
  color: var(--primary-color);
}

.badge {
  background: var(--section-bg-color);
  border: 1px solid var(--white-color);
  border-radius: var(--border-radius-medium);
  color: var(--primary-color);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  margin-right: 5px;
  margin-left: 5px;
  padding: 8px 12px;
  padding-bottom: 6px;
}

.badge-level {
  background: var(--primary-color);
  color: var(--white-color);
}

.badge:hover {
  background: var(--custom-btn-bg-color);
  color: var(--white-color);
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-page .about-section {
  padding-top: 10px;
  padding-bottom: 0;
}

.about-section .custom-text-block {
  background: var(--secondary-color);
}

.about-image-wrap,
.video-thumb {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.about-info {
  background: var(--primary-color);
  border-radius: var(--border-radius-medium);
  border-top: 30px solid var(--secondary-color);
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 20px;
  padding: 20px;
}

.about-info-text h4 {
  font-weight: var(--font-weight-normal);
}

.about-image-border-radius {
  border-radius: var(--border-radius-medium);
}

.about-image {
  display: block;
  object-fit: cover;
  height: 100%;
}

.custom-border-radius-start {
  border-radius: var(--border-radius-medium) 0 0 var(--border-radius-medium);
}

.custom-border-radius-end {
  border-radius: 0 var(--border-radius-medium) var(--border-radius-medium) 0;
}

.video-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.youtube-icon {
  background: var(--custom-btn-bg-color);
  font-size: var(--h2-font-size);
  color: var(--white-color);
  border-radius: var(--border-radius-large);
  width: 90px;
  height: 90px;
  line-height: 110px;
  text-align: center;
  display: block;
  animation: pulse-animation 2s infinite;
  transition: all 0.5s;
}

.youtube-icon:hover {
  color: var(--white-color);
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
  }
}

/*--------------------------------------
BOXES ON HOME PAGE
---------------------------------------*/
.custom-box {
  text-align: center;
  background: var(--section-bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-medium);
  padding: 20px;
  transition: box-shadow 0.3s ease-in-out;
}

.custom-box:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.box-image {
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--border-radius-medium);
}

.box-title {
  font-size: var(--h3-font-size);
  color: var(--secondary-color);
  font-weight: var(--font-weight-semibold);
}

.box-text {
  font-size: var(--p-font-size);
  color: var(--p-color);
  margin: 15px 0;
}

.custom-btn {
  display: inline-block;
  margin-top: 15px;
}

/* Full-width custom box */
.custom-box-full {
  text-align: center;
  background: var(--section-bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-medium);
  padding: 30px;
  transition: box-shadow 0.3s ease-in-out;
}

.custom-box-full .box-image {
  max-height: 300px; /* Larger height for full-width box */
  object-fit: cover;
  border-radius: var(--border-radius-medium);
}

.custom-box-full:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Slightly stronger shadow for the full-width box */
}

.custom-box-full .box-title {
  font-size: var(--h2-font-size); /* Slightly larger title font */
  color: var(--secondary-color);
  font-weight: var(--font-weight-semibold);
}

.custom-box-full .box-text {
  font-size: var(--p-font-size);
  color: var(--p-color);
  margin: 20px 0;
}

.custom-btn {
  display: inline-block;
  margin-top: 15px;
}

/*---------------------------------------
  CTA               
-----------------------------------------*/
.cta-section {
  background-image: url('../images/sass_contact.jpg');
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 75px;
}


/* ------- SASS CONTACT FORM ------- */

form#contactform input[type="text"] {
  width: 100%;
  border: 1px solid #f5f5f5; /*--grey--*/
  min-height: 40px;
  padding-left:20px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;

}

form#contactform textarea {
border: 1px solid #f5f5f5;
  width: 100%;
  padding-left:20px;
  padding-top:10px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;

}

.validation {
    color: red;
    display:none;
    margin: 0 0 20px;
    font-weight:400;
    font-size:13px;
}

#sendmessage {
    color: purple;
    border:1px solid purple;
    display:none;
    text-align:center;
    padding:15px;
    font-weight:600;
    margin-bottom:20px;
}

#errormessage {
    color: red;
    display:none;
    border:1px solid red;
    text-align:center;
    padding:15px;
    font-weight:600;
    margin-bottom:20px;
}

#sendmessage.show, #errormessage.show, .show {
	display:block;
}

button {
    background-color: #5d52ba;  /*-- darker purple--*/
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #8A83CD; /*--purple--*/
}
/*---------------------------------------
  CONTACT     On meeting page          
-----------------------------------------*/
.meeting-info-wrap {
  padding-top: 20px;
  padding-bottom: 20px;
}

.meeting-info {
  padding: 20px 30px;
}

.meeting-info:nth-of-type(even) {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-large);
}

.meeting-info .custom-icon {
  font-size: var(--h2-font-size);
  margin-right: 20px;
}

.meeting-info-small-title {
  color: var(--secondary-color);
  display: block;
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-semibold);
  line-height: normal;
}


.google-map {
  display: block;
  border-radius: var(--border-radius-medium);
  filter: grayscale(100%);
}

.meeting-section{
	padding-top: 0;
	margin-top:5px;
}
	
/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background: var(--primary-color);
  padding-top: 30px;
  padding-bottom: 0;
  margin-top: 40px;
}

.site-footer-link {
  color: var(--p-color);
  text-decoration: none;
}

.site-footer-bottom {
  background: var(--copyright-color);
  margin-top: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
}

.site-footer-bottom .footer-menu-link {
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  margin-right: 5px;
  margin-left: 5px;
}

.site-footer-title {
  margin-bottom: 25px;
  margin-top: 40px;
  color: var(--white-color);
  font-size: var(--footer-font-size);
}

.site-footer-bottom p,
.copyright-text {
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  margin-bottom: 0;
  font-weight: var(--font-weight-thin);
}

.copyright-text {
  margin-right: 20px;
}

.sponsored-link {
  color: var(--secondary-color);
  font-weight: var(--font-weight-bold);
}

.footer-menu {
  justify-content: end;
  margin: 0 0 40px 0;
  padding: 0;
}

.footer-menu-item {
  list-style: none;
  display: block;
}

.footer-menu-link {
  color: var(--white-color);
  font-size: var(--footer-font-size);
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 3px;
  text-decoration: none;
}

.footer-menu-link:hover {
  color: var(--custom-btn-bg-color);
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1025px) {
  .job-featured-section .job-thumb {
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media screen and (min-width: 991px) {
  .google-map {
    height: 100%;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding,
  .cta-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .about-page .about-section {
    padding-top: 50px;
  }

  .custom-btn {
    padding: 12px 20px;
  }

  .navbar-collapse {
    padding-bottom: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 10px;
  }

  .navbar-expand-lg .navbar-nav .nav-link.custom-btn {
    margin-top: 10px;
  }

  .page-link {
    font-size: 12px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-right: 5px;
    margin-left: 5px;
  }

  .custom-text-block {
    padding: 50px 30px;
  }

  .hero-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .badge {
    margin-top: 5px;
  }

  .counter-number, 
  .counter-number-text {
    font-size: var(--h2-font-size);
  }

  .custom-border-radius-start {
    border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
  }

  .custom-border-radius-end {
    border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
  }

  .job-body p {
    font-size: var(--btn-font-size);
  }

  .job-location {
    min-width: 140px;
  }

  .job-price {
    min-width: inherit;
    margin-top: 5px;
    margin-left: 0;
  }

  .hero-form button[type="submit"] {
    margin-bottom: 0;
  }

  .site-footer {
    padding-top: 40px;
  }

  .site-footer-bottom {
    margin-top: 40px;
  }
  
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  .badge {
    margin: 10px 10px 5px 0;
  }

  .page-link {
    width: 35px;
    height: 35px;
    line-height: 35px;
  }

  .counter-thumb {
    margin: 10px;
  }

  .counter-number, 
  .counter-number-text {
    font-size: var(--h3-font-size);
  }

  .job-date {
    margin-top: 5px;
  }

  .job-detail-share {
    margin: 20px auto 0 auto;
  }
}