/*
########################
BODY STYLING
########################
*/

html {
  height: 100%
}

html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  padding-top: 56px;
  background-color: #212529;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/*
########################
BACKGROUND STYLING
########################
*/

/* Mobile only */
@media screen and (max-width: 567px) {
  body {
    background-image: url(../img/locations/bg_05.webp);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
  }
  /* Border only for non-mobile
  div.bg-dark {
    border: 1px solid #666;
  }
   */
}

/* Desktop only */
@media screen and (min-width: 568px) {
  body {
    background-image: url(../img/locations/bg_05.webp);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
  }
  /* Border only for non-mobile
  div.bg-dark {
    border: 1px solid #666;
  }
   */
}

/* Background Transparency */  
.bg-dark {
  background-color: rgba(33, 37, 41, 0.90) !important;
}

/*
########################
NAVIGATION STYLING
########################
*/

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-item {
  font-weight: bold;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

/* Navigation styling - mobile only */
@media screen and (max-width: 991.98px) {
  .navbar-brand {
    font-weight: bold;
  }

  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-image: url(../img/dwarf-mobilemenu-dark.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }

  .nav-item {
    text-align:center;
    border-radius: 15px;
    margin-top: 1rem;
    padding: 0.2rem;

    font-weight: bold;
    font-size: 1.5rem;
}
}
/* End of Navigation styling - mobile only */

/* Hide T in logo */
.hide-navbar {color: transparent; font-size:1px;}

/* TT header */

.tt-item-header h1 {
  font-weight: bold;
}
/* End of Navigation Styling */


/* IMG Responsive Scaling */

.responsive ,.img-full-width, .post img {
  width: 100%;
  height: auto;
}


.cover-image {
  width: 100%;
  height: auto;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.nav-link:hover {
  text-decoration: underline;
}

.dropdown ul {
  background-image: url(../img/backgrounds/spacegrid.png);
  background-repeat: repeat;
  background-color: rgba(33, 37, 41, 0.90) !important;
}

.dropdown .dropdown-item:active{ 
  background-color: #fff !important;
  color: #ffffff !important;
}

.dropdown .dropdown-item{
  color: #ffffff !important;
}

.dropdown .dropdown-item:hover{
  color: #000 !important;
}



/*
########################
HOMEPAGE STYLING
########################
*/

.home-item .clickable {text-decoration: none;}

.home h1 {
  font-size: 40px;
  font-weight:bold;
  margin-bottom: 0;
}

.home p {
  font-size: 20px;
  line-height: 1.4;
}

/* Mobile only settings */
@media screen and (max-width: 567px) {
  .home {
    padding-right: 5px;
    padding-left: 5px;
  }
  .home h1 {
    font-size: 32px;
  }
  .home p {
    font-size: 17px;
    line-height: 1.4;
  }

}

.card-title {
  font-weight:bold;
}


h3.card-title {
  font-size: 175%;
}

h5.card-title {
  font-weight:bold;
  font-size: 160%;
}

.app-drawer a { 
  text-decoration: none;
}


/*
########################
CATEGORY STYLING
########################
*/

.category-item .clickable {text-decoration: none;}

.category h1 {
  font-size: 40px;
  font-weight:bold;
  margin-bottom: 0;
}

.category p {
  font-size: 20px;
  line-height: 1.4;
}

/* Desktop only settings */
@media screen and (min-width: 568px) {

}

/* Mobile only settings */
@media screen and (max-width: 567px) {
  .category {
    padding-right: 5px;
    padding-left: 5px;
  }
  .category h1 {
    font-size: 32px;
  }
  .category p {
    font-size: 17px;
    line-height: 1.4;
  }
}

/*
########################
POST STYLING
########################
*/

/* Lead */
.post p:first-of-type {
  font-weight:700;
}

/* Bread */
.post p {
  font-size: 20px;
  line-height: 1.7;
}

/* Post images */
.post img {
  border-radius: 25px;
  margin-top: 25px;
  margin-bottom: 25px;
}

.post .cover-image {
  margin-top: 0;
  margin-bottom: 0;
}

/* Post Headings */

.post h1 {
  font-size: 50px;
  font-weight:bold;
  margin-bottom: 0;
}

.post h2 {
  padding-top:30px;
  font-size: 35px;
  font-weight:bold;
  padding-bottom: 5px;
}

/* Video Responsive */
.video-container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
  border-radius: 25px;
  margin-top: 25px;
  margin-bottom: 25px;
}

.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

/* Desktop only settings */
@media screen and (min-width: 568px) {

  .post ul {
    font-size: 19px;
  }

}

/* Mobile only settings */
@media screen and (max-width: 567px) {
  .post {
    padding-right: 5px;
    padding-left: 5px;
  }

  .post h1 {
    font-size: 32px;
  }

  .post h2 {
    font-size: 25px;
  }

  .post p {
    font-size: 17px;
    line-height: 1.4;
  }

  .post ul {
    font-size: 17px;
  }
  
}


/*
########################
PAGE STYLING
########################
*/

/* Bread */
.page p {
  font-size: 20px;
  line-height: 1.4;
}

.page h1 {
  font-size: 50px;
  font-weight:bold;
  margin-bottom: 0;
}

/* Desktop only settings */
@media screen and (min-width: 568px) {

}

/* Mobile only settings */
@media screen and (max-width: 567px) {

  .page {
    padding-right: 5px;
    padding-left: 5px;
  }
  .page h1 {
    font-size: 32px;
  }
  .page p {
    font-size: 17px;
    line-height: 1.4;
  }

}


/*
########################
TAG STYLING
########################
*/

.tag-item .clickable {text-decoration: none;}

.tag h1 {
  margin-bottom: 0;
}

.tag p {
  font-size: 20px;
  line-height: 1.4;
}

.tag-header{
  color: white;
  font-size: 20px;
  font-weight: bold;
}

/* Desktop only settings */
@media screen and (min-width: 568px) {

}

/* Mobile only settings */
@media screen and (max-width: 567px) {
  .tag {
    padding-right: 5px;
    padding-left: 5px;
  }

  .tag h1 {
    font-size: 32px;
  }

  .tag p {
    font-size: 17px;
    line-height: 1.4;
  }
}


/*
########################
TEXT STYLING
########################
*/

.text-white-50 { color: rgba(255, 255, 255, .5); }

/*
########################
FONT STYLING
########################
*/

.text-timestamp {
  color: #aaa;
}


/*
########################
Link Styling
########################
*/

a {
  color: #94cbed;
  text-decoration: underline;
}

a:hover {
  color: #94cbed;
  text-decoration: none;
}

/*
########################
PAGINATION STYLING
########################
*/

.page-link{
  background: none;
  color: #fff;
}

.page-link:hover{
  color: #000;
}


/*
########################
SHAREBUTTONS STYLING
########################
*/

.sharebuttons-header{
  color: white;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

@media screen and (max-width: 568px) {
  .sharebuttons {
    width: 100%;
    vertical-align: center;
  }

  .backtotop {
    margin-top: 50px;

  }
}

/*
########################
FANTASY BORDER STYLING
########################
*/

.stoneborder{ 
  border-color:transparent;
  border-style: solid;
  border-width: 24px;
  border-image: url("../img/borders/stoneborders2.webp") 23 23 23 23 repeat;
  border-radius: 5px;
}


.stoneborder1{
  border-color:transparent;
  border-style: solid;
  border-width: 25px 30px 10px 20px;
  border-image: url("../img/borders/stoneborders.webp") 25 30 10 20 repeat;
}

/*
########################
FOOTER STYLING
########################
*/

footer {
  margin-top: auto;
}
