/*
Theme Name: Flayaz
Version: 1.2
Description: Flayaz Styles 
Author: Denver Kunaka
*/

li {
  list-style-type: none;
}

a {
  height: auto !important;
  color: var(--primary-light);
}

button,
.btn {
  background: crimson !important;
  cursor: pointer;
}

/*
========================
INput styles
========================
*/
textarea {
  resize: none;
  width: 100%;
  border: 1px gainsboro solid;
}

fieldset {
  border: 1px slategrey solid;
}

input,
select {
  border: 1px solid gainsboro;
  border-radius: 4px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 0.5rem;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  background: white;
}

.input-field input:focus+label {
  color: green !important;
}

input:focus {
  border-bottom-color: green;
  box-shadow: none !important;
}

#about {
  text-align: center;
  margin-left: 0;
  border: 3px solid rgb(230, 0, 0);
  margin-top: 5rem;
  background: rgb(230, 0, 0);
  color: white;
}

#logo {
  height: 4rem;
  width: auto;
}

#author-pic {
  text-align: center;
  display: block;
  width: 10rem;
  height: 10rem;
  margin: auto auto;
  margin-top: -5rem;
  border-radius: 50%;
}

header {
  background: transparent;
  border-bottom: none;
}

#header-bckg {
  width: 100%;
  margin-top: 0;
  height: 10rem;
  position: relative;
  top: 0;
  background-size: cover !important;
  z-index: 1;
}

#header-bckg #title {
  text-transform: capitalize;
  color: white !important;
  font-size: 1.6rem !important;
  font-weight: lighter;
}

#main-container {
  flex: 1 0 auto;
}
#main-container .container{
  width: 90%;
}
#article .wp-caption {
  width: 100% !important;
}

#article h1,
#article h2,
#article h3,
#article h4 {
  text-align: left;
  width: auto;
  display: inline-block;
  font-weight: 300;
}

#article a {
  color: rgb(230, 0, 0) !important;
}

#article #diagrams,
#article img {
  width: 100% !important;
  height: auto !important;
}

#article li {
  list-style-type: square !important;
  list-style: square !important;
}

#article-info {
  border-bottom: 2px solid gainsboro;
}

#article #diagrams,
#article img {
  width: 100%;
}

#article .tip {
  background: dimgrey;
  padding: 0.6rem;
  border-radius: 0.3rem;
  color: white;
}

/*table of cont*/
#toc {
  position: relative;
}

#toc-trigger {
  position: absolute;
  top: 50%;
  left: -3rem;
  color: white;
  z-index: 3;
  background: dimgrey;
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
}

.tip dt {
  text-decoration: underline;
}

/*text media*/
#sidebar {
  padding: 0.4rem;
}

#sidebar input {
  width: 100%;
}

.sidebar-widget {
  border-bottom: 2px solid goldenrod;
  height: auto !important;
  padding-bottom: 0.4rem;
}

#sidebar .search-form {
  position: relative !important;
  top: 0;
  right: 0;
}

#social-share {
  padding: 0;
}

#article .post-thumb {
  width: 100% !important;
  height: auto;
  margin-left: 0;
}

#mobile-nav .sub-menu {
  display: none;
}
.navbar-fixed {
  top: 0 !important;
  position: fixed !important;
  z-index: 1000 !important;
}

#mobile-nav {
  z-index: 200 !important;
  padding-top: 4.5rem;
}

.nav-wrapper li {
  background: inherit !important;
}

.sidenav-overlay {
  z-index: 100 !important;
}

.page-footer {
  background: whitesmoke !important;
  height: auto;
  margin-bottom: -20px !important;
}

.scroll-up {
  position: fixed;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 3;
}

.h-scroll {
  display: flex;
  white-space: nowrap;
  overflow-x: auto;
  height: auto;
}
.chip a{
  color: dimgrey;
}
.chip:hover {
  background: crimson !important;
  color: white !important;
  cursor: pointer;
  transition: 0.15s ease-out;
}
.chip:hover a{
  color: white;
}
.flz-template__wrapper{
  position: relative;
}
.flz-template:hover .flz-template__img{

}
.flz-template:hover .flz-template__info{
  display: block;
}
.flz-template__img{
  border-radius: 5%;
  width: 100%;
}
.flz-template__title{
  font-size: 1.2em;
  font-weight: bold;
}
.flz-template__info{
  position: absolute;
  top: .5em;
  right: .5em;
  width: auto;
}
.flz-template__premium{
  position: absolute;
  bottom: 1em;
  left: 1em;
  background: rgba(0, 0, 0, 0.7);
  height: 20px;
  line-height: 20px;
  width: auto;
  border-radius: 20px;
  padding: 0 .5em;
  color: white;
  font-size: 8px
}
.flz-template__dropdown-content{
  width: max-content!important;
  overflow: hidden;
}
.flz-templates__dropdown-content *{
  white-space: nowrap;
}
.flz-template__dropdown-content *{
  color: dimgrey!important;
}
.flz-template__dropdown-trigger{
  background: rgba(0, 0, 0, 0.5)!important;
}
.flz-pagination__load-more *{
  color: white;
}
.flz-pagination__loader{
  display: none;
}
.flz-template-single__img{
  filter: drop-shadow(2px 2px 4px black);
}
.flz-template-single-related__item{
  min-width: 240px;
}
@media only screen and (min-width: 1000px) {
  #main-container {
    margin-top: 4rem;
  }
  .main-container--margin-left{
    width: calc(100% - 300px);
    margin-left: 300px;
  }
  .main-container--margin-left .container{
    width: 100%;
  }
  #sidebar {
    top: 4rem;
    right: 0;
    z-index: 10 !important;
  }
  .navbar-fixed {
    z-index: 20;
  }
  .flz-template__dropdown-trigger{
    display: none;  
  }
  .flz-template__wrapper:hover .flz-template__dropdown-trigger{
    display: block;
  }
}