/* =====================================================================
   Arif Khan website - site stylesheet
   Replaces BeTheme + WPBakery + Slider Revolution + Contact Form 7 CSS.
   Breakpoints (same as the old theme):
     >= 1240px  desktop header (logo + menu)
     960-1239   940px container, menu behind the hamburger button
     768-959    708px container
     <= 767     phone: single column, mobile logo
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "mfn-icons";
  src: url(../fonts/icons.woff) format("woff");
  font-weight: 400;
  font-style: normal;
}
[class^="icon-"]::before, [class*=" icon-"]::before {
  font-family: "mfn-icons";
  font-style: normal;
  font-weight: 400;
  display: inline-block;
  width: 1em;
  margin: 0 .2em;
  text-align: center;
  line-height: 1em;
  text-decoration: none;
}
.icon-menu-fine::before { content: "\e960"; }
.icon-cancel-fine::before { content: "\e963"; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background-color: #e6eaeb; }
body {
  margin: 0;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 21px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #626262;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p, figure, ul, form { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin-bottom: 15px; color: #161922; letter-spacing: 0; }
h1, h2, h3, h4 { font-family: "Playfair Display", Helvetica, Arial, sans-serif; }
h5, h6 { font-family: "Roboto", Helvetica, Arial, sans-serif; }
h2 { font-size: 46px; line-height: 60px; font-weight: 400; }
h3 { font-size: 12px; line-height: 18px; font-weight: 600; }
h4 { font-size: 22px; line-height: 28px; font-weight: 400; }
h5 { font-size: 14px; line-height: 18px; font-weight: 600; }
h5 a, h4 a { color: #161922; }
p { margin: 0 0 15px; }
ul { list-style: none; }
a { color: #ff334b; text-decoration: none; outline: 0; }
a:hover { color: #cd152b; }
img { max-width: 100%; height: auto; border: 0; }
input, textarea, button { font-family: inherit; letter-spacing: normal; }

#Wrapper { display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; max-width: 100%; background-color: #e6eaeb; }
#Content { flex: 1 0 auto; }

/* Loading screen shown until the page has loaded (as the old "The Preloader" plugin) */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: #000 url(../img/preloader.gif) no-repeat 50% / 64px 64px;
  transition: opacity .6s ease;
}
#preloader.done { opacity: 0; pointer-events: none; }

/* ---------- Layout helpers ---------- */
.container { position: relative; max-width: 1220px; margin: 0 auto; }
.content { margin: 0 1% 15px; }
.content::after, .row::after, .container::after { content: ""; display: table; clear: both; }
.row { margin: 0 -15px; }
.col { float: left; width: 100%; min-height: 1px; padding: 0 15px; }
@media (min-width: 768px) {
  .col-3 { width: 25%; }
  .col-4 { width: 33.3333%; }
  .col-6 { width: 50%; }
  .col-8 { width: 66.6667%; }
}
.block { margin-bottom: 35px; }

/* ---------- Header ---------- */
#Header {
  position: relative;
  background: #111b20 url(../img/home_musician_blog_subheader.jpg) no-repeat center top;
}
.topbar {
  position: relative;
  z-index: 30;
  background-color: #101417;
  border-bottom: 1px solid transparent;
}
.topbar-inner { position: relative; margin: 0 1%; }
.topbar-inner::after { content: ""; display: table; clear: both; }
.logo { float: left; margin: 0 30px 0 20px; }
.logo a { display: block; height: 90px; padding: 15px 0; font-size: 50px; line-height: 60px; }
.logo img { vertical-align: middle; }
.logo .logo-mobile { display: none; }

.main-menu { display: none; }
.main-menu ul, #Side_slide ul { margin: 0; padding: 0; }
.main-menu a, #Side_slide nav a {
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  font-size: 20px;
  letter-spacing: 0;
  color: #898f97;
  transition: color .3s ease-in-out;
}
.main-menu li.current > a, .main-menu a:hover,
#Side_slide nav li.current > a, #Side_slide nav a:hover { color: #cdb2b9; }

.menu-toggle {
  position: absolute;
  top: 45px;
  right: 20px;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 3px;
  text-align: center;
  color: #ff757f;
  z-index: 200;
}
.menu-toggle i { font-size: 22px; line-height: 34px; }
.menu-toggle:hover { color: #ff757f; }

@media (min-width: 1240px) {
  .topbar-inner { width: 990px; margin: 0 1%; }
  .main-menu { display: block; float: right; }
  .main-menu li { float: left; position: relative; }
  .main-menu a { display: block; padding: 15px 0; line-height: 60px; }
  .main-menu a span { display: block; padding: 0 20px; white-space: nowrap; }
  .menu-toggle { display: none; }
}

/* Title strip shown in the header (mobile home) */
.subheader { padding: 30px 0; }
.subheader-title, .title-band-text {
  margin: 0 1%;
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  font-size: 19px;
  line-height: 0;
  font-weight: 400;
  letter-spacing: 0;
  color: #fff;
}
.has-subheader #Content { padding-top: 30px; }

/* Title band at the top of inner pages ("Profile", "Gallery", ...) */
.title-band {
  padding: 30px 0;
  background: #333 url(../img/home_musician_blog_subheader.jpg) no-repeat center top;
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1920px) {
  .subheader-title, .title-band-text { padding-left: 50px; }
}

/* ---------- Mobile side menu ---------- */
#Side_slide {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  max-width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #101417;
  border-bottom: 60px solid #101417;
  color: #fff;
  z-index: 100000;
  transition: right .3s ease-in-out;
}
#Side_slide.open { right: 0; }
#Side_slide .close-wrapper { height: 60px; }
#Side_slide .close {
  display: block;
  float: right;
  width: 34px;
  height: 34px;
  margin: 13px 13px 0 0;
  text-align: center;
  color: #898f97;
}
#Side_slide .close i { font-size: 22px; line-height: 34px; }
#Side_slide nav { margin-bottom: 20px; }
#Side_slide nav li { border-top: 1px solid rgba(255, 255, 255, .03); }
#Side_slide nav li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .03); }
#Side_slide nav a { display: block; margin-right: 50px; padding: 11px 5px 10px 20px; line-height: 19px; }
#body_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: rgba(0, 0, 0, .6);
  z-index: 9002;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
body.side-open #body_overlay { opacity: 1; visibility: visible; }
body.side-open { overflow: hidden; }
/* Like the old theme: the page slides by half the menu width, the menu covers the rest */
#Wrapper { position: relative; left: 0; transition: left .3s ease-in-out; }
body.side-open #Wrapper { left: -125px; }

/* ---------- Footer ---------- */
#Footer {
  position: relative;
  background: #dce2e3 url(../img/home_musician_footer_bg.png) repeat-x center top;
  color: #848c8e;
}
.footer-social { padding: 75px 0 30px; text-align: center; }
.footer-social-item { display: inline-block; width: 75px; }
.footer-social-item h3 { margin-bottom: 5px; color: #172025; }
.footer-social-item a { color: #989ea1; }
.footer-copy { border-top: 1px solid rgba(0, 0, 0, .06); text-align: center; }
.footer-copy .container { padding: 30px 0 20px; }
.copyright { margin: 0 1% 10px; min-height: 33px; }

/* ---------- Buttons ---------- */
.btn-submit {
  display: inline-block;
  width: 100%;
  padding: 10px 20px;
  font-size: 14px;
  text-align: center;
  color: #ff334b;
  background: transparent;
  border: 2px solid #ff334b;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .2s ease-in-out, color .2s ease-in-out;
  -webkit-appearance: none;
}
.btn-submit:hover { background-color: #ff334b; color: #fff; }
.btn-auto { width: auto; }
.btn-outline {
  display: block;
  padding: 13px 19px;
  font-size: 14px;
  line-height: normal;
  text-align: center;
  color: #666;
  border: 2px solid #666;
  transition: all .2s ease-in-out;
}
.btn-outline:hover { background-color: #666; color: #fff; }
.btn-round {
  display: inline-block;
  margin-bottom: 35px;
  padding: 11px 16px;
  font-size: 12px;
  line-height: normal;
  text-align: center;
  color: #fff;
  background-color: #2a2a2a;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 24px;
  transition: all .2s ease-in-out;
}
.btn-round:hover { color: #f7f7f7; background-color: #1e1e1e; }

/* ---------- Home: hero ---------- */
.hero {
  margin-bottom: 15px;
  background: #000 url(../img/Arif-Home-V2.jpg) no-repeat center top / cover;
}
.hero-stage { position: relative; max-width: 1220px; min-height: 800px; margin: 0 auto; }
.hero-layer { position: absolute; white-space: nowrap; letter-spacing: 1px; color: #fff; }
.hero-intro, .hero-more { font-family: "Open Sans"; font-size: 16px; line-height: 22px; }
.hero-intro { left: 77px; top: 81px; }
.hero-video { left: 76px; top: 121px; line-height: 0; }
.hero-video img { width: 403px; height: 129px; max-width: 403px; }
.hero-more { left: 77px; top: 264px; }
.hero-more:hover, .hero-button:hover { color: #fff; }
.hero-heading { left: 200px; top: 326px; font-size: 24px; line-height: 30px; font-weight: 800; color: #ff8282; }
.hero-text { left: 75px; top: 374px; font-family: "Open Sans"; font-size: 14px; line-height: 20px; }
.hero-button {
  left: 130px;
  top: 611px;
  padding: 12px 35px;
  font-family: Roboto;
  font-size: 15px;
  line-height: 17px;
  background-color: rgba(0, 0, 0, .75);
  border-radius: 30px;
}

/* ---------- First row under a title band ---------- */
.title-band + .container > .content > :first-child { padding-top: 35px; }

/* ---------- Profile ---------- */
.profile-box {
  display: flex;
  align-items: center;
  margin-top: 30px;
  padding: 0 5%;
  background-color: #2f3437;
}
.title-band + .container > .content > .profile-box { padding-top: 0; }
.profile-photos { width: 33.3333%; padding: 35px 15px 0; text-align: center; }
.profile-photos img { display: block; margin: 0 auto 35px; }
.profile-text { display: flex; flex-direction: column; justify-content: center; align-self: stretch; width: 66.6667%; padding: 35px 10px; }
.profile-text p { font-size: 16px; text-align: justify; color: #fff; }
.profile-text p:last-child { margin-bottom: 0; }
.profile-box--compact { padding: 0 7px; }
.profile-box--compact .profile-text { padding: 0 5px 35px; }
.profile-cta { width: 50%; margin: 0 auto; padding: 5% 15px 0; }
.profile-cta .btn-outline { margin-bottom: 8%; }

/* ---------- My songs ---------- */
.songs-intro { margin: 0 0 35px; padding-top: 20px !important; }
.songs-intro p { font-family: Verdana, Geneva, sans-serif; text-align: center; color: #000; }
.songs-album { font-size: 16px; font-weight: 800; }
.songs-hint { margin-bottom: 0 !important; font-size: 14px; font-weight: 700; }
.song { margin-bottom: 35px; }

/* ---------- Gallery ---------- */
.gallery { padding-top: 40px; }
.title-band + .container > .content.gallery { padding-top: 40px; }
.title-band + .container > .content.gallery > .gallery-row:first-child { padding-top: 0; }
.gallery-row:first-child .col { padding-top: 35px; }
.gallery-spacer { padding-top: 35px; }
.gallery .col { text-align: center; }
.photo { display: inline-block; max-width: 100%; margin-bottom: 35px; vertical-align: top; }
.photo a { display: inline-block; max-width: 100%; vertical-align: top; }
.photo img { vertical-align: top; }
.photo figcaption { width: 65%; margin: .2em 0 0 15%; font-weight: 500; color: #000; }
.photo.shifted { margin-top: .2em; }

/* ---------- News ---------- */
.news-item { display: flow-root; min-height: 430px; padding-top: 70px !important; }
.news-item img { display: block; margin-bottom: 35px; }
.news-item h5 { margin-bottom: 35px; }

/* ---------- Contact ---------- */
.contact-intro { margin: 0 15px; padding: 30px 15px 5px !important; text-align: center; }
/* 20px line + 3px = the old 23px line box (20px span inside a 15px/21px paragraph) */
.contact-intro span { display: block; padding-bottom: 3px; font-size: 20px; line-height: 20px; }
.contact-intro img { display: block; margin: 0 auto 16px; }
.contact-form-wrap { padding-top: 35px; margin-bottom: 35px; }
.contact-form::after { content: ""; display: table; clear: both; }
.contact-form .field { float: left; width: 98%; margin: 0 1% 10px; }
.contact-form .field.half { width: 48%; }
.control { position: relative; display: inline-block; width: 100%; margin-bottom: 3px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 10px;
  font-size: 14px;
  color: #919597;
  background-color: #e6eaeb;
  border: 1px solid #919394;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  -webkit-appearance: none;
}
.contact-form textarea { line-height: 20px; min-height: 60px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { color: #919597; background-color: #e6eaeb; border-color: #919394; }
.contact-form ::placeholder { color: #919394; opacity: 1; }
.contact-form .btn-submit { font-size: 15px; }
/* Spam trap: off-screen field only bots fill in */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.spinner {
  visibility: hidden;
  display: inline-block;
  position: relative;
  width: 24px;
  height: 24px;
  margin: 0 24px;
  border-radius: 100%;
  background-color: #23282d;
  opacity: .75;
}
.spinner::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background-color: #fbfbfc;
  transform-origin: 8px 8px;
  animation: spinner-spin 1s linear infinite;
}
@keyframes spinner-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.contact-form.submitting .spinner { visibility: visible; }
.form-response { display: none; float: left; margin: 0 .5em 1em; padding: .2em 1em; }
.contact-form.has-response .form-response { display: block; }
.not-valid-tip {
  position: absolute;
  left: -50px;
  top: 0;
  width: 44px;
  height: 44px;
  background-color: #ed3b2e;
  text-indent: -9999px;
}
.not-valid-tip::after {
  content: "\e82a";
  font-family: "mfn-icons";
  position: absolute;
  left: 18px;
  top: 11px;
  font-size: 20px;
  line-height: 21px;
  color: #fff;
  text-indent: 0;
}
.not-valid-tip::before {
  content: "";
  position: absolute;
  right: -5px;
  top: 16px;
  width: 11px;
  height: 11px;
  background-color: #ed3b2e;
  transform: rotate(45deg);
}

/* ---------- Mobile home ---------- */
.mobile-home { background: none; }
.mobile-home-photo { display: block; margin: 0 auto 15px; }
.mobile-home h3 { margin-bottom: 15px; }
.mobile-home h3.towatch { margin-bottom: 0; line-height: 5px; }
.mobile-home h3 a { color: #161922; }
/* 21px line + 19px gap = the old 24px span inside a 15px/21px paragraph (25px line + 15px margin) */
.mobile-home-heading { margin-bottom: 19px; font-size: 24px; font-weight: 700; line-height: 21px; color: #ff8282; }
.mobile-home h5.justify { margin-bottom: 0; text-align: justify; }

.error-404 { padding: 60px 0 40px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1042;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 8px;
  background: rgba(11, 11, 11, .8);
  cursor: zoom-out;
}
.lightbox figure { position: relative; line-height: 0; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 80px); width: auto; height: auto; box-shadow: 0 0 8px rgba(0, 0, 0, .6); }
.lightbox-close {
  position: absolute;
  top: -40px;
  right: -6px;
  width: 44px;
  height: 40px;
  padding: 0 0 18px 10px;
  border: 0;
  background: transparent;
  font: 28px/40px Arial, Baskerville, monospace;
  color: #fff;
  text-align: right;
  opacity: .65;
  cursor: pointer;
}
.lightbox-close:hover { opacity: 1; }

/* ---------- Responsive ---------- */
@media (min-width: 960px) and (max-width: 1239px) {
  .container, .hero-stage { max-width: 940px; }
  .hero-stage { max-width: 1220px; }
}
@media (min-width: 768px) and (max-width: 959px) {
  .container { max-width: 708px; }
}
@media (max-width: 767px) {
  /* content-box like the old theme: 480px of content plus the 33px gutters */
  .container { max-width: 480px; padding: 0 33px; box-sizing: content-box; }
  /* ...except the title band, which sat inside a WPBakery row where the gutters were inside the 480px */
  .title-band .container { box-sizing: border-box; }
  .topbar .container { max-width: 100%; padding: 0; }
  .footer-copy .container { padding: 30px 33px 20px; }
  .topbar-inner { margin: 0; }
  .logo { float: left; margin: 0 0 0 15px; text-align: center; }
  .logo a { height: 50px; margin: 5px 0; padding: 0; line-height: 50px; }
  .logo .logo-main { display: none; }
  .logo .logo-mobile { display: inline-block; }
  .menu-toggle { top: 30px; right: 10px; }
  .subheader-title, .title-band-text { margin: 0; }
  .copyright { margin: 0 0 10px; }
  .row { margin: 0; }
  .col { padding: 0; }
  .profile-box { flex-direction: column; align-items: stretch; }
  .profile-photos, .profile-text { width: 100%; }
  .profile-cta { width: 100%; padding: calc(5% + 1px) 15px 0; }
  .contact-form .field, .contact-form .field.half { width: 100%; margin: 0 0 20px; }
}
