*,
p,
h1,
h2,
h3,
h4,
h5,
h6,
input,
select,
label,
a {
    font-family: 'Quicksand';
}

/* Frontend yt-Loader */
.yt-loader-wrap {
    position: fixed;
    display: flex;
    top: 0;
    z-index: 99999;
    width: 100%;
    height: 100%;
    background: #00000096;
    align-items: center;
    justify-content: center;
}

.loader {
    height: 100%;
}

.yt-loader {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    color: #fff;
}

.yt-loader:before,
.yt-loader:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: 1s spin linear infinite;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes rotateccw {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes spin {

    0%,
    100% {
        box-shadow: .2em 0px 0 0px currentcolor;
    }

    12% {
        box-shadow: .2em .2em 0 0 currentcolor;
    }

    25% {
        box-shadow: 0 .2em 0 0px currentcolor;
    }

    37% {
        box-shadow: -.2em .2em 0 0 currentcolor;
    }

    50% {
        box-shadow: -.2em 0 0 0 currentcolor;
    }

    62% {
        box-shadow: -.2em -.2em 0 0 currentcolor;
    }

    75% {
        box-shadow: 0px -.2em 0 0 currentcolor;
    }

    87% {
        box-shadow: .2em -.2em 0 0 currentcolor;
    }
}


/* End of Frontend yt-Loader */

.yt-button-secondary {
    padding: 0 10px;
    border-radius: 0;
    height: 30px;
    border: none;
    text-align: center !important;
}

.yt-main-nav-desk {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    box-shadow: 1px 1px 5px 1px #cecece;
    position: fixed;
    top: 0;
    z-index: 999;
    padding: 10px;
}

section.yt-dashboard-nav {
    display: flex;
    align-items: center;
}

.yt-logo {
    max-height: 50px;
    margin: 0 10px;
}

img.yt-top-bar-logo {
    max-height: 40px;
}

section.yt-dashboard-settings {
    display: flex;
    align-items: center;
}

section.yt-dashboard-settings p i,
.yt-menu p i,
section.yt-dashboard-settings a i,
.yt-menu a i {
    color: #fff;
    font-size: 15px;
}

input[name="yt-search"] {
    padding: 0 5px;
    margin: 0 !important;
    border: 1px solid #8792ae;
    color: #8792ae !important;
    height: 30px;
    font-size: 12px;
}

button.yt-button i {
    font-size: 14px;
}

.yt-form-control {
    gap: 0;
    display: flex !important;
}

form#yt-search {
    gap: 0;
    display: flex !important;
}

section.yt-dashboard-search ul#menu-topbar {
    flex-direction: row;
}

section.yt-dashboard-search ul#menu-topbar li {
    padding: 0 10px;
}

section.yt-dashboard-search ul#menu-topbar li a {
    color: #666;
    font-weight: 300;
}

section.yt-dashboard-search ul#menu-topbar li:hover a {
    color: #fff;
}

ul.yt-sidebar-menus {
    padding: 0;
}

section.yt-main-sidebra-nav {
    box-shadow: 1px 1px 5px 1px #cecece;
    height: 100vh;
    overflow-y: scroll;
    z-index: 2;
    background: #fff;
    position: fixed;
}

.yt-main-sidebra-nav::-webkit-scrollbar-track {
    /* -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3); */
    background-color: #66c0dc63;
}

.yt-main-sidebra-nav::-webkit-scrollbar {
    width: 3px;
    background-color: #66c0dc21;
}

li.yt-menu-item {
    padding: 9px;
    border-bottom: 1px solid #8793ae2b;
}

span.menu-icons i {
    color: #fff;
    width: 20px;
    height: 20px;
}

span.dropdown-icon i {
    color: #8796ae;
}

span.label-toggle {
    color: #666;
    display: none;
    font-size: 16px;
}

li.yt-menu-item a {
    text-decoration: unset;
    font-family: 'Quicksand';
}

.yt-menu p i {
    color: #8796ae !important;
}

.yt-menu p {
    margin: 5px 10px;
}

.yt-menu p::after {
    content: '\2192';
    color: #8796ae;
    padding: 2px;
    border-left: 1px solid #8796ae;
    margin: 2px 5px;
    line-height: normal;
}

.yt-menu p::after {
    content: '\2192';
    color: #8796ae;
    padding: 2px;
    border-left: 1px solid #8796ae;
    margin: 2px 5px;
    line-height: normal;
}

.yt-menu.active p::after {
    content: '\2190';
    color: #8796ae;
    padding: 2px;
    border-left: 1px solid #8796ae;
    margin: 2px 5px;
    line-height: normal;
}

ul.yt-sidebar-submenu {
    padding-left: 10px;
    display: none;
}

ul.yt-sidebar-submenu i {
    font-size: 14px;
    width: 15px;
    height: 15px;
    color: #8796ae;
}

ul.yt-sidebar-submenu .menu-icons {
    padding: 0;
    background: none;
}

ul.yt-sidebar-submenu .label-toggle {
    font-size: 14px;
}

ul.yt-sidebar-submenu li {
    border-bottom: none;
}

ul.yt-sidebar-submenu li:hover {
    background: #d6e0f1 !important;
}

ul.yt-sidebar-menus li:hover {
    background: #f1f1f1;
}

.yt-menu {
    /* background: #edfbff; */
    box-shadow: 1px 1px 5px 1px #cecece;
    border-radius: 5px;
}

.yt-top-section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.main-content-area {
    width: 75%;
    margin: 0 auto;
    display: flex;
}

.yt-section {
    width: 50%;
    padding: 10px;
}

.yt-section p .item-count {
    color: #8796ae;
    font-size: 40px;
    font-weight: 900;
    margin: 5px 10px;
    line-height: normal;
}

.yt-section p {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0;
}

.footer-copyright {
    color: #fff;
}

.footer-copyright a {
    color: #fff;
    text-decoration: unset;
    font-weight: 900;
}

.yt-fifty {
    width: 100% !important;
}

.yt-overalls-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

table.yt-yearly-table th,
table.yt-yearly-table td {
    color: #8796ae;
}

.yt-main-inner-div {
    width: 50%;
}

.form-group.yt-input {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.yt-submit {
    width: auto !important;
    padding: 5px 10px !important;
    height: auto !important;
    color: #fff !important;
}

select.yt-select {
    width: 100%;
    border-radius: 0;
    border: 1px solid #8796ae;
    color: #8796ae;
}

/********************************
* LOGIN
*
*********************************/
section.yt-with-bg-pub {
    width: 100%;
    height: 100vh;
    background: url('https://travelwriting.iloiloadventure.com/wp-content/plugins/wptf-story-submission-management/assets/images/background.webp');
    /* Add the blur effect */
    filter: blur(4px);
    -webkit-filter: blur(4px);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: fixed;
    background-color: #000;
    opacity: 0.25;
}

.yt-login-form-template {
    background: #fff;
    z-index: 99;
    height: 600px;
    width: 400px;
    box-shadow: 1px 1px 10px 1px #8796ae;
    position: relative;
}

.yt-main-login {
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.yt-cursive {
    font-family: 'Tangerine', cursive;
    font-size: 30px;
    color: #8796ae;
    margin: 0;
}

label.yt-label {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.yt-input-field {
    margin: 5px;
    width: 100%;
    border: 1px solid #8796ae;
    color: #8796ae;
}

.yt-floating-label,
.yt-input-field::placeholder {
    font-size: 14px;
    font-weight: 500;
    color: #8796ae;
}

.forgot-pass-submit {
    flex-wrap: wrap;
    flex-direction: column;
}

.forgot-pass-submit a {
    text-align: right;
    text-decoration: unset;
}

.yt-signup-text {
    display: flex;
}

/******cats table ****/
.yt-wrapped {
    flex-wrap: wrap;
}

.yt-full {
    width: 100%;
}

.yt-yearly-table a {
    text-decoration: none;
}

section.yt-row-actions ul {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

section.yt-row-actions {
    opacity: 0;
    display: flex;
}

section.yt-row-actions li {
    list-style: none;
    padding: 5px 10px;
}

td.yt-cat-name:hover section.yt-row-actions {
    opacity: 1;
}

div#yt_dashboard_logo_container img {
    width: 100%;
}

.wpcargo-uploader a {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #ffffff8e;
    width: 100%;
    text-align: center;
    padding: 5px;
}

.wpcargo-uploader {
    position: relative;
}

.wpcargo-uploader a img {
    box-sizing: border-box;
}

/* mobile burger menu */
.burger-menu-wrapper {
    display: none;
}
.burger-menu-line {
    padding: 3px 17px;
    border-radius: 0.3rem;
    transition: all 0.2s ease-in-out;
}
.burger-menu-line.mid {
    margin: 3px 0px;
}
#burger-menu-check:checked ~ label .burger-menu-line.mid {
    margin: 0px;
    opacity: 0;
}
#burger-menu-check:checked ~ label .burger-menu-line.top {
    transform: translateY(6px) rotate(45deg);
}
#burger-menu-check:checked ~ label .burger-menu-line.bot {
    transform: translateY(-6px) rotate(-45deg);
}
section.yt-main-sidebra-nav.shownav {
    left: 0;
}
label.popovered-label {
  position: relative;
}
label.popovered-label div.custom-popover-wrapper {
  position: absolute;
  padding: 0.5rem;
  bottom: 100%;
  left: 100%;
  width: 300px;
  border-radius: 0.8rem 0.8rem 0.8rem 0rem;
  background-color: #505b8c;
  color: #ffffff;
  text-align: center;
}
label.popovered-label div.custom-popover-wrapper.hidden {
  display: none;
}

@media only screen and (max-width: 767px) {
    /* hide main side nav */
    section.yt-main-sidebra-nav {
        height: calc(100vh - 62px);
        width: 100vw;
        left: -150%;
        transition: all 0.3s ease-in-out;
    }

    /* adjust main content area */
    section.main-content-area {
        width: 95%;
        margin: auto;
    }

    /* adjust yt-sections for tags and categories */
    section.adjustable-yt-section .yt-section {
        width: 100% !important;
    }
    section.adjustable-yt-section .yt-section .col-lg-4 {
        margin: 0.3rem 0rem;
    }

    /* adjust add user form width */
    section#yt-add-user-wrapper .w-50 {
        width: 100% !important;
    }

    /* display mobile burger menu */
    .burger-menu-wrapper {
        display: inherit;
    }
    
}