@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Rubik:wght@300;400&display=swap');
* {
    max-width:100%;
    box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing: border-box;
    word-wrap:break-word;-ms-word-break:break-word;
    outline:none;
}
/* -------------------------------| Fontello |------------------------------- */
@font-face {
  font-family: 'fontello';
  src: url('/font/fontello-icons.eot?v=1');
  src: url('/font/fontello-icons.eot#iefix') format('embedded-opentype'),
       url('/font/fontello-icons.woff?v=1') format('woff2'),
       url('/font/fontello-icons.woff?v=1') format('woff'),
       url('/font/fontello-icons.ttf?v=1') format('truetype'),
       url('/font/fontello-icons.svg#home') format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: never;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: .2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-t-shirt:before { content: '\e0'; } /* 'à' */
.icon-home:before { content: '\e800'; } /* '' */
.icon-picture:before { content: '\e801'; } /* '' */
.icon-right-bold:before { content: '\e802'; } /* '' */
.icon-left-bold:before { content: '\e803'; } /* '' */
.icon-folder:before { content: '\e804'; } /* '' */
.icon-folder-open:before { content: '\e805'; } /* '' */
.icon-cancel:before { content: '\e806'; } /* '' */
.icon-up-bold:before { content: '\e807'; } /* '' */
.icon-download-alt:before { content: '\e808'; } /* '' */
.icon-right-open:before { content: '\e809'; } /* '' */
.icon-menu:before { content: '\e80a'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */

/* -------------------------------| Basics |------------------------------- */
html {
    overflow-x:hidden;
}
html, body {
    min-width:320px;
    margin:0;
    padding:0;
    height:100%;
}
body {
    background:#1f1f1f;
    color: #fff;
    font-family:'Rubik', sans-serif;
    letter-spacing: 0.05rem;
}
body.noScroll {
  overflow:hidden;
}
a {
    text-decoration: none;
    transition: color 0.5s ease;
    color:#C2EA2F;
}
a:hover {
    color:#9600ff;
}
img {
    height:auto;
    vertical-align:bottom;
}
p {
    line-height: 1.6rem;
}
h1, h2 {
    font-family: 'Archivo Black', sans-serif;
    font-weight: normal;
    text-align: center;
    margin: 0 0 1rem;
    letter-spacing: -0.08rem;
    color:#fff;
    text-transform:uppercase;
}
@media only screen and (min-width: 800px){
    h1 {
        min-font-size: 2.5rem;
        font-size: 6vw;
    }
    h2 {
        min-font-size: 1.5rem;
        font-size: 4vw;
    }
}
@media only screen and (max-width: 799px){
    h1 {
        min-font-size:1.5rem;
        min-font-size: 2.5rem;
    }
    h2 {
        min-font-size: 1.1rem;
        font-size: 4vw;
    }
}
/* -------------------------------| Misc |------------------------------- */
ul.clearDefaults{
    margin:0;
    padding:0;
}
ul.clearDefaults li{
    list-style:none;
}
.clear {
    display:block;
    clear:both;
}
@media only screen and (min-width: 800px){
    html{
        font-size:18px;
        cursor:auto;
        cursor:url(/images/mouse-pointer.png) 5 4,default
    }
    html a{
        cursor:auto;
        cursor:url(/images/mouse-finger.png) 15 2,pointer
    }
}
@media only screen and (max-width: 799px){
    html{
        font-size:16px
    }
}
body::-webkit-scrollbar {
  width: 1em;
}
body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
body::-webkit-scrollbar-thumb{
    background:#9600ff;
    border-radius:8px;
    box-shadow:inset 2px 2px 2px hsla(0,0%,100%,.25),inset -2px -2px 2px rgba(0,0,0,.25);
  outline: 1px solid #9135c8;
}
.content {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding:0 1rem;
}
.textBlock {
    padding: 1rem;
    border: 3px solid #C2EA2F;
    border-radius: 2rem;
    background: #0000008f;
}
.textBlock > p:first-child {
    margin-top:0;
}
.textBlock > p:last-child {
    margin-bottom:0;
}
.textBlock:not(:last-child) {
    margin-bottom: 2rem;
}
strong {
    text-transform:uppercase;
}
@media only screen and (min-width: 800px){
    .box1, .box2 {
        width:50%;
        float:left;
    }
    .box2 {
        padding-left:2rem;
    }
}
@media only screen and (max-width: 799px){
}
/* -------------------------------| Splash Page |------------------------------- */
.splashPage {
	position:relative;
    height:100vh;
    min-height:610px;
}
.splashPage .logo a {
    display:block;
    font-size:0;
    padding:0 0 70.76923076923077%;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
@media only screen and (min-width: 800px){
    .splashPage .logo {
        position:absolute;
        z-index:2;
        top:50%;
        left:50%;
        transform:translate(-50%, -50%);
        width:45%;
        max-width:845px;
        padding-top:20px;
    }
    .splashPage .logo a {
        background-image:url('/images/motley-kingdom-logo-homepage.png');
    }
    .splashPage .bannerImages > span {
        display:block;
        position:absolute;
        top:0;
        bottom:0;
        background-size:cover;
        background-position:center;
        background-repeat:no-repeat;
    }
    .splashPage .bannerImages > span:nth-child(1) {
        left:0;
        width:33%;
        background-image:url('/images/mk-home-photo-01c.jpg');
    }
    .splashPage .bannerImages > span:nth-child(2) {
        left:33%;
        width:34%;
        background-image:url('/images/mk-home-photo-02c.jpg');
    }
    .splashPage .bannerImages > span:nth-child(3) {
        right:0;
        width:33%;
        background-image:url('/images/mk-home-photo-03c.jpg');
    }
}
@media only screen and (max-width: 799px){
    .splashPage .logo {
        max-width:400px;
        margin:0 auto;
    }
    .splashPage .logo a {
        background-image:url('/images/motley-kingdom-logo-shadow-small.png');
    }
    .splashPage .logoWrapper {
        background-image:url('/images/mk-home-photo-01c.jpg');
        background-size:cover;
        background-position:center;
        background-repeat:no-repeat;
        min-height: 80vh;
        padding: 25vh 0 0;
        margin: 0 0 0.5rem;
    }

}
/* -------------------------------| Sub Page |------------------------------- */
.siteContent {
    position: relative;
    z-index:2;
    min-height:100vh;
}
footer {
    padding: 0 0 4rem;
}
.siteContent header .logo img {
    width:280px;
}
body:not(.home):after {
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    filter: grayscale(100%) contrast(250%);
    opacity: 0.2;
    background-position: center;
}
@media only screen and (min-width: 800px){
    .siteContent header {
        text-align:right;
    }
    .siteContent header:after {
        content:'';
        display:block;
        clear:both;
    }
    .siteContent header .logo {
        float: left;
        padding: 0.5rem 1rem 0;
        max-width: 20%;
        margin-bottom: -3vw;
    }
    .siteContent .logo,
    .siteContent nav {
        display:inline-block;
        vertical-align:middle;
    }
    body:not(.home):after {
        background-image: url('images/mkbbg.jpg');
    }
}
@media only screen and (max-width: 799px){
    .siteContent header .logo {
        padding:0.2rem 2rem 0.3rem 0.6rem;
    }
    .siteContent header .logo img {
        max-width:40%;
    }
    body:not(.home):after {
        background-image: url('images/mkbbgsm.jpg');
    }
}
/* -------------------------------| Photography Drive Links |------------------------------- */
.driveLinks {
    margin: 4rem 0 0;
}
.driveLinks ul {
    text-align:center;
    margin: 0 0 2rem;
}
.driveLinks .folder {
    margin: 0.6rem 0.5rem;
    display: inline-block;
}
.driveLinks .folder a {
    display: inline-block;
    border: 3px solid #fff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: #1f1f1f;
    color:#fff
}
.driveLinks .folder a:hover {
    background:#9600ff;
    border-color:#9600ff;
}
.driveLinks .title {
    text-transform:uppercase;
    font-family: 'Archivo Black', sans-serif;
    color:#C2EA2F;
    margin:0 0 0.5rem;
}
@media only screen and (min-width: 800px){
    .driveLinks ul {
        width:32%;
        margin:0 0 0 2%;
        float:left;
    }
    .driveLinks ul:nth-of-type(4n+1) {
        clear:both;
        margin-left:0;
    }
    .driveLinks:after {
        display:block;
        content:'';
        clear:both;
    }
}
@media only screen and (max-width: 799px){
}
/* -------------------------------| Drive |------------------------------- */
@media only screen and (min-width: 800px){
}
/* -------------------------------| Navigation |------------------------------- */
nav .mainNav {
}
nav li {
    display:inline-block;
}
nav .mainNav a {
    font-family: 'Archivo Black', sans-serif;
    display: block;
    padding: 0.3rem 1.2rem;
    letter-spacing: -0.08rem;
    color:#fff;
    text-transform:uppercase;
}
.siteContent nav .mainNav a:hover {
    color: #C2EA2F;
}
.siteContent nav .subNav a {
    text-transform: uppercase;
}
@media only screen and (min-width: 800px){
    .splashPage nav .subNav {
        display:none;
    }
    .splashPage nav {
        background: #1f1f1f;
        position: absolute;
        z-index: 3;
        right: 0;
        bottom: 8%;
        padding: 0 1rem;
        border-radius: 2rem 0 0 2rem;
        box-shadow: 0.2rem 0.5rem 0.5rem #00000042;
    }
    .splashPage nav a {
        color:#fff;
    }
    .splashPage nav a:hover {
        color:#C2EA2F;
    }
    .menuToggle {
        display:none;
    }
    .siteContent nav {
        display:block !important;
    }
    .siteContent nav .mainNav {
        padding: 0 1rem 0.1rem 0;
    }
    .siteContent nav .subNav li:not(:first-child) {
        margin-left:2rem;
    }
    .siteContent nav .subNav {
        padding: 0.5rem 2rem 0 0;
    }
    body.home nav .mainNav a {
        font-size:2.5vw;
    }
    body:not(.home) nav .mainNav a {
        font-size:3vw;
    }
}
@media only screen and (max-width: 799px){
    .menuToggle {
        position: absolute;
        top: 0.5rem;
        right: 0rem;
        border: none;
        /* border: 1px solid red; */
        background: transparent;
        color: #9600ff;
        font-size: 2.5rem;
        padding: 0.5rem;
        cursor:pointer;
    }
    .splashPage nav {
        text-align:center;
    }
    .siteContent nav {
        text-align: center;
        padding: 1rem 0.5rem;
        margin: 0 0 1rem;
    }
    .siteContent nav .mainNav {
        margin: 0 0 0.5rem;
    }
    .siteContent nav .mainNav a {
        margin: 0.2rem;
    }
    .siteContent header nav {
        display:none;
    }
    nav .subNav li {
        margin: 0.3rem 1rem;
    }
}

/* -------------------------------| Gallery Folders |------------------------------- */

ul.folders {
    text-align:center;
    margin: 1rem 0;
    word-spacing:1rem;
}
ul.folders li {
    display:inline-block;
    margin: 1rem 0 1rem 0.5rem;
    word-spacing:normal;
}
ul.folders a {
    display: inline-block;
    color: #fff;
    background: #9600ff;
    background: linear-gradient(305deg, #a531f7 30%, #9600ff 70%);
    border-radius: 2rem;
    padding: 0.3rem 1rem 0.3rem 2.2rem;
    position: relative;
}
ul.folders a:before {
    content: '\e804';
    font-family: fontello;
    margin-right: 0.4rem;
    border: 3px solid #a020fa;
    border-radius: 50%;
    display: inline-block;
    width: 2.2rem;
    height: 2.2rem;
    line-height: 2.2rem;
    background: #1f1f1f;
    position: absolute;
    left: -0.5rem;
    top: -0.3rem;
}
ul.folders a:hover:before {
    content: '\e805';
    margin-right: 0.3rem;
}
ul.folders a small {
    color: #d49bd6;
}
/* -------------------------------| Bread Crumbs |------------------------------- */
.bCrumbs.clearDefaults {
    padding: 0 0 0.5rem;
    text-align:center;
    font-family: 'Archivo Black', sans-serif;
}
.bCrumbs li {
  display:inline-block;
  vertical-align:middle;
}
.bCrumbs li a {
  padding:0.5rem 0.2rem;
}
.bCrumbs li a:before {
    margin:0 0.5rem;
    font-family: fontello;
    color: #fff;
}
.bCrumbs li:not(:first-child) a:before {
    content: '\e809';
    font-size:1rem;
}
.bCrumbs li:first-child a:before {
    content: '\e805';
}
.bCrumbs li:last-child a {
    pointer-event:none;
    color:#fff;
}
@media only screen and (min-width: 800px){
    .bCrumbs li:first-child {
        font-size:1.5rem;
    }
}
/* -------------------------------| Featured |------------------------------- */
body.photography .content {
    max-width:none;
}
ul.fgLinks {
    text-align: center;
    margin: 0 0 0.6rem;
}
ul.fgLinks li {
    display: inline-block;
}
ul.fgLinks a {
    color:#fff;
    text-transform: capitalize;
    border: 2px solid #fff;
    border-radius: 2rem;
    display: block;
    letter-spacing: 0.05rem;
    padding: 0.2rem 0.8rem;
    background:#1f1f1f;
}
ul.fgLinks li:not(.active) a:hover {
    color:#fff;
    background:#9600ff;
    border-color:#9600ff;
}
ul.fgLinks li.active a {
    pointer-events: none;
    color: #1f1f1f;
    border-color: #fff;
    font-weight: bold;
    background:#fff;
}
.fgFeed {
    text-align:center;
    font-size:0;
}
.fgFeed > li {
    text-align:center;
    font-size:1rem;
    display:inline-block;
    max-width:280px;
    vertical-align: top;
    margin:0;
}
.fgFeed * {
    transition: all 0.3s ease;
}
.fgFeed img {
    display:block;
    width:100%;
    border-radius:1rem;
}
.fgFeed .count {
    position: absolute;
    left: 0.25rem;
    bottom: 0.25rem;
    font-size: 0.9rem;
    color: #fff;
    z-index:11;
}
.fgFeed a {
    position:relative;
    display:block;
    aspect-ratio: 2 / 3;
}
.fgFeed:after {
    content:'';
    display:block;
    clear:both;
}
@media only screen and (min-width: 1000px){
    ul.fgLinks li {
        margin: 0.2rem 0.5rem;
    }
    .fgFeed > li {
        padding:5px;
    }
    .fgFeed a:hover{
        transform: translateY(-0.5rem);
    }
    .fgFeed a:hover img {
        transform: scale(1.03);
        box-shadow: 0 1rem 15px 5px #00000038;
    }
}
@media only screen and (min-width: 1501px){
    .fgFeed > li {
        width:14.2857142857%;
    }
}
@media only screen and (min-width: 1000px) and (max-width: 1500px){
    .fgFeed > li {
        width:16.6666666667%;
    }
}
@media only screen and (max-width: 999px){
    ul.fgLinks li {
        margin: 0.2rem;
    }
    .fgFeed > li {
        padding:1px;
    }
}
@media only screen and (min-width: 601px) and (max-width: 999px){
    .fgFeed li {
        width:25%;
    }
}
@media only screen and (max-width: 600px){
    .fgFeed li {
        width:33.3333333333%;
    }
}
/* -------------------------------| Gallery |------------------------------- */
.googleDriveLink {
    font-size: 0.7rem;
    position: relative;
    padding: 0.3rem 0 1rem;
    text-align:center;
}
.googleDriveLink a {
    text-transform: uppercase;
}
.galleryThumbs {
    text-align:center;
    font-size:0;
}
.galleryThumbs > a {
    display: inline-block;
    vertical-align: middle;
}
.galleryThumbs > a img {
    transition: all 0.5s ease;
    border-radius: 1rem;
}
.galleryThumbs > a:hover img {
    filter: sepia(100%) hue-rotate(246deg) saturate(223%) contrast(335%);
    box-shadow: 0 5px 7px 11px #00000061;
    border-radius: 0.5rem;
    transform: scale(1.1);
}
.featuredGalleryIntro {
    text-align:center;
}
.featuredGalleryIntro a {
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}
.featuredGalleryIntro a:before {
    margin-right:0.5rem;
}
.featuredGalleryIntro p {
    max-width: 900px;
    margin: 0 auto 1rem;
    color: #666;
    line-height: 1.6rem;
    font-weight: 300;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 3rem;
    padding: 1rem;
    background:#1f1f1f;
}
@media only screen and (min-width: 450px){
  .galleryThumbs > a {
      margin: 0.5rem;
  }
}
@media only screen and (max-width: 449px){
  .galleryThumbs > a {
      width:33.3333333333%;
      padding:0.3rem;
  }
}


/* -------------------------------| Photo Box |------------------------------- */
.galleryPhoto {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: #000 url(/images/loading.gif) center center no-repeat;
    background-color: #000000e8;
    overflow:auto;
    display:none;
}
.galleryPhoto .photo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    object-fit: contain;
    width: 100%;
}
.galleryPhoto nav {
    position: absolute;
    right: 0;
}
.galleryPhoto nav > * {
    background: #C2EA2F;
    color: #1f1f1f;
    font-size: 0;
    border: 0;
    position: relative;
    overflow: hidden;
}
.galleryPhoto nav > *:hover {
  background:#9600ff;
  cursor:pointer;
}
.galleryPhoto nav > button:before,
.galleryPhoto nav > a:before {
    font-size: 1.7rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    margin: 0;
}
@media only screen and (min-width: 900px){
  .galleryPhoto nav {
      top:0;
  }
  .galleryPhoto nav > button:before,
  .galleryPhoto nav > a:before {
      font-size: 1.7rem;
  }
  .galleryPhoto nav > * {
      display: block;
      margin: 1rem;
      width: 3rem;
      height: 3rem;
      border-radius: 50%;
  }
  .galleryPhoto .photo {
      bottom: 0;
      height: 100%;
  }
}
@media only screen and (max-width: 899px){


.xgalleryPhoto nav.featuredGallery,
.xgalleryPhoto nav.regGallery button {
    display:none;
}

.galleryPhoto nav.featuredGallery a {
    display:none;
}


    .galleryPhoto nav > * {
        margin-right: 1%;
    }
  .galleryPhoto nav {
      left:0;
      text-align:right;
      direction: rtl;
      font-size:0;
      bottom:0;
      margin:0;
      padding:0;
  }
  .galleryPhoto nav > button:before,
  .galleryPhoto nav > a:before {
      font-size: 1rem;
  }
  .galleryPhoto nav > * {
      display: inline-block;
      vertical-align:middle;
        width: 2rem;
        height: 2rem;
        border-radius: 50%;
  }
  .galleryPhoto .photo {
      bottom: 2rem;
      height: calc(100% - 1rem);
  }

}