:root {
  --color-ftr-primary: #03103b;
  --color-white: #fff;
  --color-ftr-secondary: #2aa7ff;
}
/* ----------------------------------------- */
/* FONTS STACK */
/* ----------------------------------------- */

@font-face {
  font-family: "AlbertSB";
  src: url("AlbertSans-SemiBold.ttf");
}
@font-face {
  font-family: "noori";
  src: url("NooriNastaleeq.ttf");
}

@font-face {
  font-family: "AlbertB";
  src: url("AlbertSans-Bold.ttf");
}

@font-face {
  font-family: "AlbertR";
  src: url("AlbertSans-Regular.ttf");
}

@font-face {
  font-family: "AlbertL";
  src: url("AlbertSans-Light.ttf");
}
:root {
  --color-primary: #03103b;
  --color-white: #fff;
  --color-secondary: #2aa7ff;

  /* fonts */

  --albert: "AlbertR", sans-serif;
  --albertL: "AlbertL", sans-serif;
  --albertSB: "AlbertSB", sans-serif;
  --albertB: "AlbertB", sans-serif;

  --transition-04: all 0.4s ease;
}
/* 
        five column layout
*/
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-xs-5ths {
  width: 20%;
  float: left;
}

@media (min-width: 768px) {
  .col-sm-5ths {
    width: 20%;
    float: left;
  }
}

@media (min-width: 992px) {
  .col-md-5ths {
    width: 20%;
    float: left;
  }
}

@media (min-width: 1200px) {
  .col-lg-5ths {
    width: 20%;
    float: left;
  }
}
/* 
                GALLERY
*/

.gallery-header {
  padding: 0 0 0 14px;
  position: relative;
}
.gallery-header::after {
  content: "";
  width: 218px;
  height: 21px;
  /* background: url(../images/gallery-header-title-after.png) no-repeat center
    center; */
  background: url("../images/green-line.svg") no-repeat center center;
  position: absolute;
  bottom: -15px;
  right: 0;
  background-size: 100% 100%;
  transform: translateX(50%);
  z-index: -1;
}
.section-title span:first-child {
  margin: 0;
}
.section-title span {
  font: 48px var(--albert);
  color: black;
  margin: 0 3px;
}
.section-subtitle {
  font-size: 20px;
  color: #16404d;
  margin: 0;
}
.section-title span:last-child {
  font-size: 48px;
  color: black;
}
#gallery-wrapper {
  padding: 64px 64px;
  position: relative;
}
#gallery-wrapper::before {
  content: "";
  width: 212px;
  height: 135px;
  /* background: url(../images/gallery-header-stars.png) no-repeat center center; */
  background: url(../images/gallery-header-stars-green.png) no-repeat center
    center;
  top: 0;
  left: 50%;
  transform: translate(-50%, -20%);
  position: absolute;
  z-index: -1;
}

#block-galleryfp #gallery-wrapper::before {
  top: -8%;
  left: 62%;
}

.autism-btn {
  font-size: 16px;
  color: white;
  display: block;
  background: #84bb4d;
  padding: 20px 56px 20px 28px;
  border-radius: 28px;
  position: relative;
  width: 152px;
  transition: var(--transition-04);
}
.autism-btn:hover,
.autism-btn:focus {
  text-decoration: none;
  color: white;
}
.autism-btn::after {
  content: "";
  width: 52px;
  height: 52px;
  background: url(../images/autism-btn-before.png) no-repeat center center;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition-04);
}

.col02 .row01 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative;
  bottom: -48px;
}
.text-description {
  font: 16px var(--albertL);
  color: #16404d;
  position: relative;
  bottom: 36px;
}
.col01 img {
  width: 316px;
  height: 445px;
  display: block;
  margin: 0 auto;
  position: relative;
  bottom: -48px;
}
.row02 img {
  height: 338px;
  width: 100%;
  object-fit: contain;
  bottom: 0;
  position: relative;
}

#block-galleryfp div#gallery-wrapper {
  padding-bottom: 8em;
}

#block-galleryfp .row02 img {
  height: auto;
}

/* .gal-col img {
  display: block;
  max-width: 100%;
  height: auto;
}

.row01 img {
  width: 282px;
  height: 246px;
  float: right;
  transform: translateY(-50%);
}
.images-wrapper {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: baseline;
  column-gap: 16px;
}

#gallery-wrapper .gal-col:first-child img {
  width: 316px;
  display: block;
  height: 556px;
} */
/* 

        footer
 */

#site-footer {
  border: none;
  /* background: var(--color-ftr-primary); */
  background: #2c5593;
  padding: 64px 64px 0 !important;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}
.footer-title {
  font-size: 22px;
  color: white;
  font-family: "AlbertB";
  margin: 0 0 15px;
}
.footer-nav {
  color: white;
}
.footer-nav > li {
  margin: 0 0 12px;
}
.footer-nav > li a {
  font-size: 16px;
  color: white;
  font-family: "AlbertR";
}
.contact-details,
.socials {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-details li div {
  margin: 0 0 36px;
}
.contact-details li:first-child div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  margin: 0 0 14px;
  padding: 0 0 14px;
}
.contact-details li div span {
  display: block;
  width: 100%;
  font-size: 16px;
  color: white;
  font-family: "AlbertB";
}
.contact-details li div span:first-child {
  font-size: 16px;
  color: white;
  font-family: "AlbertR";
}
.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  width: 195px;
  margin: 0 auto;
}
.socials > li {
  width: calc(47px);
}
/* footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding: 18px 0;
}
.footer-bottom,
.footer-bottom a {
  font-size: 16px;
  color: white;
}

.copy-sec.col-sm-6 {
  font-family: "AlbertR";
}

.power-sec {
  text-align: right;
  font-family: "AlbertR";
}

/* 
  WEBFORM URDU

*/
html[dir="rtl"] * {
  font: 18px/28px "noori", sans-serif;
  font-weight: 600;
}
html[dir="rtl"] .radio label,
html[dir="rtl"] .checkbox label {
  padding: 0 20px 0 0;
  font-weight: 100;
}

.path-webform .form-control {
  font-weight: 100 !important;
}

html[dir="rtl"] .radio input[type="radio"] {
  margin: 0 -20px 0 0;
}

html[dir="rtl"] .radio input[type="radio"],
html[dir="rtl"] .radio-inline input[type="radio"],
html[dir="rtl"] .checkbox input[type="checkbox"],
html[dir="rtl"] .checkbox-inline input[type="checkbox"] {
  margin: 0 -20px 0 0;
}
html[dir="rtl"] #edit-submit {
  color: transparent;
  position: relative;
  width: fit-content;
  max-width: 82px;
  max-height: 42px;
}
html[dir="rtl"] #edit-submit::before {
  content: "جمع کرائیں";
  font: 16px / 36px "noori", sans-serif;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}
html[dir="rtl"] #page-title {
  font-family: "noori", sans-serif;
}
.btn-urdu {
  direction: rtl;
  float: right;
  color: white !important;
  font: 16px / 26px "noori", sans-serif;
  display: block;
  transform: translateY(-100%);
  border: none;
  background: var(--color-primary);
  position: relative;
  top: -10px;
}
.btn-eng {
  background: var(--color-primary);
  color: white;
  border: none;
}
.btn-eng {
  float: left;
  position: relative;
  transform: translateY(-100%);
}
@media screen and (min-width: 1366px) {
  #gallery-wrapper::before {
    transform: translate(-50%, 30%);
  }
  .col02 .row01 {
    bottom: 0;
  }
  .col01 img,
  .row02 img {
    width: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 24px;
  }

  #block-galleryfp #gallery-wrapper .col01 img {
    height: AUTO;
    max-height: 32em;
  }

  .overflow-icon img {
    display: none;
  }

  .gallery-header::after {
    bottom: -5px;
    right: 19%;
  }

  .text-description {
    font: 24px var(--albertL);
  }
  .section-subtitle {
    font: 24px var(--albert);
  }
}
@media screen and (max-width: 1366px) {
  .col01 img {
    width: 100%;
    object-fit: contain;
  }
  .col02 .row01 img {
    width: 100%;
  }
  #gallery-wrapper .gal-col:first-child img {
    min-width: 100%;
  }
  .col02 .row01 {
    flex-direction: column-reverse;
    bottom: 0;
    flex-wrap: wrap;
  }
  .text-description {
    bottom: 0;
  }
  .col02 .row01 img {
    margin: 0 0 36px;
  }
  .row02 img {
    height: auto;
  }
  #gallery-wrapper {
    padding: 32px 32px;
  }
}

@media screen and (max-width: 992px) {
  .gallery-header::after {
    right: unset;
    left: 0;
    transform: translateX(0);
  }
}
@media screen and (max-width: 1920px) {
  body {
    max-width: 1920px;
    margin: 0 auto;
    display: block;
  }
}
@media screen and (max-width: 768px) {
  /* #gallery-wrapper .gal-col.col-sm-9 > div {
    width: 100% !important;
  } */
  .gal-col.col-sm-9 > div {
    width: 100% !important;
  }
  .col01 img {
    bottom: 0;
    margin: 0 0 2em;
  }

  #gallery-wrapper {
    display: flex;
    flex-direction: column-reverse;
  }
  .col02 .row01 img {
    max-width: 530px;
    margin: 0 auto 1em;
  }
  .col02 .row01 {
    margin: 0 0 2em;
  }
  .col02 .row02 {
    margin: 0 0 2em;
  }
  .gallery-header {
    margin: 0 0 4em;
  }
  .socials {
    margin: 0 0 2em;
  }
}
@media screen and (max-width: 640px) {
  .col-md-5ths.col-xs-6 {
    width: 100%;
  }

  #site-footer {
    padding: 57px 15px 0 !important;
  }
}
