/*
Theme Name: Balmoral
Author: Anmol Rajbhandari
Author URI: 
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: em-boilerplate
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}
* {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  letter-spacing: 2px;
}

/************************* Header ************************/
header.site-header {
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0;
  width: 100%;
  background-color: rgba(242, 242, 242, 0.95);
}

.main-nav {
  font-size: 16px;
  font-weight: 500;
}
.home-banner-video.wp-block-cover {
  min-height: 100vh;
  align-items: flex-end;
}
.home-banner-video .home-slideshow {
  margin-left: 40px !important;
  margin-bottom: 10% !important;
}

.home-banner-video .home-slide p {
  font-size: 40px;
  font-weight: 300;
  margin: 0;
  padding: 0;
  line-height: 1.1;
  max-width: 640px;
}

.site-header ul.wp-block-navigation-submenu {
  padding: 40px 20px 20px 20px !important;
  left: -20px !important;
  background-color: #f3f3f3 !important;
  border: none !important;
}

/************************* Footer ************************/
.foo-info p,
.foo-info p a {
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.foo-info p {
  letter-spacing: 2px;
  margin-block-end: 12px !important;
}
.foo-info h6 {
  line-height: 24px;
  letter-spacing: 1.5px;
}
.foo-wrapper {
  display: grid !important;
  grid-template-columns: 320px 1fr;
  align-items: flex-start !important;
}

.foo-wrapper .foo-menu {
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
}

.foo-wrapper .foo-menu ul.wp-block-navigation-submenu {
  width: 268px !important;
  height: auto;
  margin: 0;
  padding: 0;
  opacity: 1;
  visibility: visible;
  color: inherit;
  border: none;
}
.foo-wrapper .foo-menu ul.wp-block-navigation-submenu a {
  padding-left: 0;
  font-weight: 300;
  letter-spacing: inherit;
}

.foo-wrapper .foo-menu > li > a {
    padding: .5em 0;
}

/********************* body **************/
.ar-bizz-link-wrapper {
    margin-bottom: 16px !important;
}
body:not(.home) main {
  margin-block-start: 98px !important;
}

.wp-block-heading {
  font-weight: 500;
  letter-spacing: 5px;
}
h2.wp-block-heading {
  font-size: 18px;
}

main p {
  font-weight: 300;
  margin-block-start: 10px !important;
  margin-block-end: 15px !important;
}

main p a {
  color: #b6b6b6 !important;
}
.arGrid {
  display: grid;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
}

.ar-btn a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  border: 1px solid #b6b6b6;
  border-radius: 0;
  padding: 8px 25px;
  color: #b6b6b6;
}
.ar-btn a:hover {
  border-color: none;
  background-color: #fff;
  color: #110525;
}

ul.ar-socials svg {
  width: 18px !important;
  height: 18px !important;
}

/************** Video popup ***********/
.arVideoBlock {
  display: flex;
  height: 320px;
  max-width:1920px;
  margin:auto;
}

.arVideoBlock .arVideoSingleBlock {
  cursor: pointer;
  width: 33.33%;
}
.arVideoBlock .arVideoSingleBlock:hover > .overlay {
  scale: 1;
}
.arVideoBlock .overlay {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: #110525;
  opacity: 0.7;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  scale: 0;
  cursor: pointer;
}

.arVideoBlock .overlay .hoverCopy {
  width: 430px;
}

.arVidPop {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  background: #2e2b2b87;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease-in-out;
  scale: 0;
  visibility: hidden;
}
.arVidPop.show {
  scale: 1;
  visibility: visible;
}

.arVidContianer {
  width: calc(50% - 20px);
  height: calc(100vh - 50px);
  max-height: 510px;
  padding: 40px;
  background: #110525;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  color: #fff;
}
.arVidContianer svg {
  cursor: pointer;
}

.arVidContianer svg:hover {
  color: gray;
}

.noScroll {
  overflow: hidden;
}

/************* about banner *************/
.hero-slider .slick-arrow {
  position: absolute;
  background: transparent;
  border: none;
  fill: #fff;
  z-index: 10;
  opacity: 0.75;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.hero-slider .slick-arrow:hover {
  opacity: 1;
}
.hero-slider .slick-arrow.slick-next {
  right: 0;
}

.hero-slider img{
    width:100% !important;
}

/****************** g form ********************/
#gform_1 {
  display: grid;
  grid-gap: 25px;
}

.gform-body textarea,
.gform-body input,
.gform-body textarea:focus,
.gform-body input:focus {
  border: none !important;
  outline: none !important;
}
.gform-body input {
  inline-size: 100% !important;
  padding: 20px 10px !important;
}
#gform_fields_1 {
  grid-gap: 22px !important;
}

.wp-block-social-links {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
}
/************* responsive *****************/
/* Styles for screens with a width less than 980 pixels */

@media (max-width: 979px) {
  /* Add your styles here */
  .wp-block-site-logo {
    flex-basis: 155px;
  }
  .main-nav {
    gap: 25px;
  }
  body:not(.home) main {
    margin-block-start: 80px !important;
  }

  .foo-wrapper {
    display: flex !important;
    flex-direction: column;
  }
  .foo-wrapper .foo-menu {
    display: block;
  }
  .foo-wrapper .wp-block-navigation-submenu {
    display: block !important;
    position: relative !important;
  }
  .wp-block-media-text {
    grid-template-columns: 1fr 1fr !important;
    padding: 20px 0 !important;
  }
  .arVideoBlock {
    height: 240px;
  }
}

@media (max-width: 767px) {
  .wp-block-site-logo {
    flex-basis: 165px;
  }
  header .top-nav {
    justify-content: center !important;
  }
  .main-nav {
    gap: 10px;
    width: 100% !important;
  }
  body:not(.home) main {
    margin-block-start: 132px !important;
  }
  .wp-block-media-text {
    display: flex !important;
    flex-direction: column !important;
  }
  .wp-block-media-text:nth-child(even) {
    flex-direction: column-reverse !important;
  }
  .wp-block-media-text__content {
    padding: 40px 15px !important;
  }
  .arVideoBlock {
    height: 180px;
  }
  
  .home main{
      padding-top:78px;
  }
}

@media (max-width: 599px) {
  .main-nav {
    width: auto !important;
  }
  header .top-nav {
    justify-content: space-between !important;
  }
  body:not(.home) main {
    margin-block-start: 84px !important;
  }
  .arGrid.grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .ar-bizz-link-wrapper {
    display: flex;
    flex-direction: column;
    height: 90px;
  }
  .page-id-16 figure.wp-block-image{
	text-align: center;
  }
  .arVideoBlock {
    height: auto;
    flex-direction: column;
  }
  .arVideoBlock .arVideoSingleBlock{
    height: 260px;
    width: 100%;
  }
  
  .home-banner-video.wp-block-cover{
        min-height: 575px;
        background: #110525;
  }
  
  .home-banner-video.wp-block-cover video, .home-banner-video.wp-block-cover .has-background-dim{
          height: 350px;
  }
 
  .home-banner-video .home-slide p{
      font-size:22px;
  }

  .home .alignfull.has-primary-background-color{
      display:none;
  }
  .main-nav{
      gap:15px !important;
  }
}
