/* Kids Talent Agency shared layout
   Kept as one plain CSS file for easy editing in Dreamweaver. */

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #ffffff;
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.75;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: none;
}

.clearfix:after {
  clear: both;
  content: "";
  display: table;
}

.site-width {
  width: 1070px;
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  padding: 8px 12px;
  background: #ffffff;
  color: #252525;
}

.skip-link:focus {
  left: 8px;
}

/* Header */
#header {
  background: #ffffff;
}

.header-inner {
  min-height: 152px;
  position: relative;
}

.brand {
  float: left;
  width: 282px;
  padding-top: 27px;
}

.brand img {
  display: block;
  width: 263px;
}

.header-details {
  display: flex;
  align-items: flex-start;
  float: right;
  padding-top: 35px;
}

.header-detail {
  box-sizing: border-box;
  flex: 0 0 180px;
  width: 180px;
  min-height: 44px;
  margin-right: 15px;
  color: #353535;
  font-size: 13px;
  line-height: 1.5;
}

.detail-icon {
  float: left;
  display: block;
  width: 16px;
  height: 20px;
  margin: 1px 8px 0 0;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent;
  font-size: 0;
}

.phone-detail .detail-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ae160d' d='M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.3-7.8-20.9-18.6-23.4z'/%3E%3C/svg%3E");
  background-size: 14px 14px;
}

.address-detail .detail-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ae160d' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E");
  background-size: 15px 18px;
}

.detail-copy {
  display: block;
  overflow: hidden;
}

.detail-label {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  text-transform: uppercase;
}

.phone-detail a {
  display: block;
  color: #252525;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.1;
}

.contact-button {
  box-sizing: border-box;
  flex: 0 0 156px;
  display: block;
  width: 156px;
  padding: 10px 0;
  margin-top: 0;
  background: #ac150b;
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 0.7px;
  line-height: 23px;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.contact-button:hover,
.contact-button:focus {
  background: #252525;
}

/* Main navigation */
#main-navigation {
  background: #252525;
  color: #ffffff;
}

.nav-inner {
  position: relative;
  min-height: 64px;
}

.primary-menu,
.primary-menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu {
  float: left;
}

.primary-menu > li {
  float: left;
  position: relative;
}

.primary-menu > li > a {
  display: block;
  padding: 17px 13px 18px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: bold;
  line-height: 29px;
  text-transform: uppercase;
}

.primary-menu > li:first-child > a {
  padding-left: 0;
}

.primary-menu > li.current > a,
.primary-menu > li > a[aria-current="page"],
.primary-menu > li > a:hover,
.primary-menu > li > a:focus {
  color: #ffffff;
}

.submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 64px;
  z-index: 100;
  width: 205px;
  padding: 10px 0 !important;
  background: #ffffff;
  border-top: 3px solid #ac150b;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
}

.submenu li a {
  display: block;
  padding: 7px 18px;
  color: #434343;
  font-size: 14px;
}

.submenu li a:hover,
.submenu li a:focus {
  color: #ac150b;
  background: #f6f6f6;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  display: block;
}

.site-search {
  box-sizing: border-box;
  float: right;
  width: 220px;
  height: 44px;
  margin-top: 10px;
  border: 1px solid #454545;
  border-radius: 5px;
  background: #303030;
  overflow: hidden;
}

.site-search input {
  float: left;
  box-sizing: border-box;
  width: 174px;
  height: 42px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
}

.site-search input::-webkit-input-placeholder {
  color: #bcbcbc;
}

.site-search input:-ms-input-placeholder {
  color: #bcbcbc;
}

.site-search button {
  float: right;
  width: 44px;
  height: 42px;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='5.8' fill='none' stroke='%23e79abb' stroke-width='2.6'/%3E%3Cpath d='M15 15l5 5' fill='none' stroke='%23e79abb' stroke-linecap='round' stroke-width='2.6'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 21px 21px;
  color: transparent;
  cursor: pointer;
  font-size: 0;
}

.menu-button {
  display: none;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 250;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ac150b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top:hover,
.back-to-top:focus {
  background: #252525;
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 3px solid #f2a1b6;
  outline-offset: 3px;
}

/* Gallery age navigation */
.age-navigation {
  border-bottom: 1px solid #dddddd;
  background: #ffffff;
}

.age-menu {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.age-menu li {
  position: relative;
}

.age-menu li + li:before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 18px;
  margin-top: -9px;
  background: #cccccc;
  content: "";
}

.age-menu a {
  display: block;
  min-height: 48px;
  padding: 0 22px;
  background: transparent;
  color: #353535;
  font: bold 14px/48px Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.age-menu a:hover,
.age-menu a:focus,
.age-menu a.is-active {
  color: #ac150b;
}

.age-menu a.is-active {
  box-shadow: inset 0 -3px 0 #ac150b;
}

.age-menu a:focus-visible {
  outline: 2px solid #ac150b;
  outline-offset: -4px;
}

/* Page canvas */
.site-main {
  min-height: 330px;
  background: #ffffff;
}

/* Profile gallery */
.gallery-page {
  box-sizing: border-box;
  padding-top: 58px;
  padding-bottom: 70px;
}

.gallery-heading {
  margin-bottom: 34px;
  text-align: center;
}

.gallery-heading h1 {
  padding: 0;
  margin: 0 0 5px;
  color: #252525;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 34px;
  line-height: 1.25;
  text-transform: uppercase;
}

.gallery-heading p {
  margin: 0;
  color: #666666;
  font-size: 16px;
}

.gallery-status,
.gallery-message {
  padding: 22px 0;
  color: #666666;
  font-size: 16px;
  text-align: center;
}

.profile-loader {
  position: relative;
  display: block;
  width: 92px;
  height: 40px;
  margin: 0 auto 10px;
}

.profile-loader-star {
  position: absolute;
  top: 8px;
  font-size: 25px;
  line-height: 1;
  animation: profile-loader-bounce 1.15s ease-in-out infinite;
}

.profile-loader-star-1 {
  left: 4px;
  color: #f2a1b6;
}

.profile-loader-star-2 {
  left: 34px;
  color: #ac150b;
  animation-delay: 0.15s;
}

.profile-loader-star-3 {
  left: 64px;
  color: #9dcdea;
  animation-delay: 0.3s;
}

@keyframes profile-loader-bounce {
  0%, 100% {
    opacity: 0.55;
    transform: translateY(5px) scale(0.8) rotate(-8deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-7px) scale(1.08) rotate(8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-loader-star {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .back-to-top {
    transition: none;
  }
}

.gallery-progress {
  min-height: 20px;
  margin: -18px 0 18px;
  color: #777777;
  font-size: 14px;
  text-align: center;
}

.gallery-progress:empty {
  display: none;
}

.profile-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 24px;
}

.profile-gallery[aria-busy="true"] {
  min-height: 100vh;
}

.profile-card {
  overflow: hidden;
  box-sizing: border-box;
  width: auto;
  margin: 0;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.profile-photo-wrap {
  overflow: hidden;
  height: 304px;
  background: #eeeeee;
}

.profile-photo {
  display: block;
  width: 100%;
  height: 304px;
  object-fit: cover;
}

.profile-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 10px 12px;
  background: #f3f3f3;
  text-align: left;
}

.profile-card-girl .profile-copy {
  background: #f8dce5;
}

.profile-card-boy .profile-copy {
  background: #dcecf8;
}

.profile-details {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 10px;
}

.profile-copy h2 {
  padding: 0;
  margin: 0;
  color: #101010;
  font-size: 17px;
  line-height: 1.35;
}

.profile-copy p {
  padding: 0;
  margin: 0;
}

.profile-copy .profile-age {
  margin-top: 2px;
  color: #555555;
  font-size: 14px;
  line-height: 1.3;
}

.profile-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}

.profile-action {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 27px;
  height: 27px;
  padding: 0 4px;
  border: 2px solid #09232d;
  border-radius: 3px;
  background: #09232d;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
}

.profile-action:hover,
.profile-action:focus {
  border-color: #ffffff;
  outline: 2px solid #09232d;
  outline-offset: 1px;
}

.profile-action-spotlight {
  border-color: #09232d;
  background: conic-gradient(#ee3f69, #f6c344, #55b88d, #4b86df, #744bb8, #ee3f69);
  color: #09232d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.profile-action-pdf-profile {
  min-width: 33px;
}

.gallery-actions {
  clear: both;
  padding-top: 4px;
  text-align: center;
}

.gallery-load-more {
  min-width: 150px;
  padding: 13px 22px;
  border: 0;
  background: #ac150b;
  color: #ffffff;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.gallery-load-more:hover,
.gallery-load-more:focus {
  background: #252525;
}

.gallery-load-more[disabled] {
  cursor: wait;
  opacity: 0.65;
}

/* Footer */
.site-footer {
  background: #292929;
  color: #ffffff;
}

.site-footer-inner {
  box-sizing: border-box;
  min-height: 69px;
  padding-top: 26px;
  padding-bottom: 18px;
}

.site-footer p {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  line-height: 25px;
}

.footer-bottom {
  padding: 27px 0 45px;
  background: #292929;
  color: #ffffff;
}

@media only screen and (max-width: 1100px) {
  .site-width {
    width: auto;
    margin-right: 30px;
    margin-left: 30px;
  }

  .header-detail {
    margin-right: 15px;
  }

  .primary-menu > li > a {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 13px;
  }

  .site-search {
    width: 220px;
  }

  .site-search input {
    width: 174px;
  }

  .profile-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 3%;
  }

  .profile-card {
    width: auto;
  }
}

@media only screen and (max-width: 900px) {
  .header-inner {
    padding-bottom: 24px;
  }

  .brand,
  .header-details {
    float: none;
  }

  .brand {
    width: 263px;
    margin: 0 auto 20px;
  }

  .header-details {
    width: 640px;
    max-width: 100%;
    padding-top: 0;
    margin: 0 auto;
  }

  .menu-button {
    display: block;
    float: left;
    min-width: 92px;
    height: 44px;
    padding: 0 18px;
    margin-top: 10px;
    border: 1px solid #454545;
    border-radius: 5px;
    background: #303030;
    color: #ffffff;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
  }

  .primary-menu {
    display: none;
    float: none;
    clear: both;
    padding-top: 10px;
  }

  .primary-menu.menu-open {
    display: block;
  }

  .primary-menu > li {
    float: none;
    border-top: 1px solid #3b3b3b;
  }

  .primary-menu > li > a,
  .primary-menu > li:first-child > a {
    padding: 9px 0;
  }

  .submenu,
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    display: block;
    position: static;
    width: auto;
    padding: 0 0 8px 18px !important;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .submenu li a {
    padding: 5px 0;
    color: #dddddd;
  }

  .submenu li a:hover,
  .submenu li a:focus {
    background: transparent;
  }

  .profile-card {
    width: auto;
  }

  .profile-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 660px) {
  .site-width {
    margin-right: 20px;
    margin-left: 20px;
  }

  .header-inner {
    min-height: 106px;
    padding-bottom: 0;
  }

  .brand {
    float: none;
    width: 210px;
    padding-top: 13px;
    margin: 0 auto;
  }

  .brand img {
    width: 210px;
  }

  .header-details {
    display: none;
  }

  #main-navigation {
    background: #252525;
    color: #ffffff;
  }

  .nav-inner {
    min-height: 64px;
    margin-right: 20px;
    margin-left: 20px;
  }

  .menu-button {
    position: static;
    float: left;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    margin: 10px 0;
    border: 1px solid #454545;
    border-radius: 5px;
    background: #303030;
    color: #ffffff;
    font-size: 0;
    line-height: 44px;
  }

  .menu-button:before {
    display: block;
    font-size: 25px;
    font-weight: normal;
    line-height: 44px;
    content: "\2630";
  }

  .menu-button[aria-expanded="true"]:before {
    font-size: 32px;
    content: "\00d7";
  }

  .menu-button:hover,
  .menu-button:focus {
    background: #383838;
    color: #e79abb;
  }

  .menu-button:focus-visible {
    outline: 2px solid #e79abb;
    outline-offset: 2px;
  }

  .primary-menu {
    box-sizing: border-box;
    width: 100%;
    padding: 8px 0 14px;
    background: #252525;
  }

  .primary-menu > li > a,
  .primary-menu > li:first-child > a {
    padding: 11px 0;
    font-size: 14px;
  }

  .site-search {
    display: block;
    box-sizing: border-box;
    float: right;
    width: calc(100% - 56px);
    height: 44px;
    padding: 0;
    margin: 10px 0;
    border: 1px solid #454545;
    background: #303030;
  }

  .site-search input {
    width: calc(100% - 44px);
    height: 42px;
    padding: 0 12px;
    background: transparent;
    color: #ffffff;
  }

  .site-search input::-webkit-input-placeholder {
    color: #bcbcbc;
  }

  .site-search input:-ms-input-placeholder {
    color: #bcbcbc;
  }

  .site-search button {
    width: 44px;
    height: 42px;
    background-color: transparent;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    font-size: 23px;
    line-height: 44px;
  }

  .site-main {
    min-height: 220px;
  }

  .age-navigation .site-width {
    width: auto;
    margin-right: 0;
    margin-left: 0;
  }

  .age-menu {
    width: 100%;
    overflow-x: visible;
    justify-content: center;
  }

  .age-menu li {
    flex: 1 1 auto;
    min-width: 0;
  }

  .age-menu a {
    box-sizing: border-box;
    min-height: 44px;
    padding-right: 1px;
    padding-left: 1px;
    font-size: 12px;
    line-height: 44px;
    text-align: center;
    white-space: nowrap;
  }

  .gallery-page {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .gallery-heading h1 {
    font-size: 28px;
  }

  .profile-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 4%;
  }

  .profile-card {
    width: auto;
  }

}

@media only screen and (max-width: 430px) {
  .profile-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-card {
    width: 100%;
    max-width: 300px;
    justify-self: center;
  }
}
