body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 400;
    overscroll-behavior: none;
    background-color: rgb(30, 30, 30);
}

    /* Backticks (`) in this font is weird, so just for this character I've replaced it with arial
        https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/unicode-range
    */
    @font-face {
        font-family: "Zen Kaku Gothic New";
        src: local("Arial");
        unicode-range: U+0060;
    }

.main-title {
    font-family: 'Kosugi Maru', sans-serif;
    font-weight: 400;
    font-size: 2rem;
}

.bg {
    /*
    * Created with https://www.css-gradient.com
    * Gradient link: https://www.css-gradient.com/?c1=1e3939&c2=49d846&gt=l&gd=dtl
    */
    background: #1E3939;
    background: linear-gradient(135deg, #1E3939, #52CD4F);

    /* background-image: url(/img/bg7.jpg); */
    
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: -1;
    opacity: 0.9;
}

.bg-whoa {
    background: #1E3939;
    background: linear-gradient(135deg, #1E3939, #52CD4F);
}

.h-80 {
    height: 80%!important;
}

.h-90 {
    height: 90%!important;
}

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

a:hover {
    color: darkgray;
    text-decoration: none;
}

.user-home {
    color: white;
}

.user-boards {
    min-height: 10rem;
}

.user-board {
    min-height: 15rem;
    color: rgb(60, 60, 60);
    background-color: rgb(222, 222, 222);
    border-radius: 4px;
}

    .user-board-header {
        color: rgb(60, 60, 60);
        background-color: rgb(235, 235, 235);
        background-color: rgba(235, 235, 235, 0.6);
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        min-height: 5rem;
        width: 100%;
    }

    .user-board-header a {
        display: block;
        color: rgb(60, 60, 60);
        font-weight: 700;
        height: 100%;
        width: 100%;
    }

    .user-board-header a:hover {
        color: rgb(225, 225, 225);
    }

.landing-links {
    color: white;
    font-weight: 500;
}

.login-form, .register-form {
    width: 30rem;
}

.board-container {
    background-color: rgba(235, 235, 235, 0.2);
    border-radius: 5px;
    /* color: white; */
    /* backdrop-filter: blur(5px); */
    /* -webkit-backdrop-filter: blur(5px); */
}
    .board-container:first-child {
        margin-top: 0!important;
    }
    .board-container:last-child {
        margin-bottom: 3rem;
    }
    .group-close {
        color: lightgray;
    }
    .group-close:hover {
        color: gray;
    }
    .group-close:active {
        color: black;
    }

    .group-tools {
        border-radius: 3px;
        /* width: 100px; */
    }
        .group-tools p {
            background-color: rgb(205, 205, 205);
            background-color: rgba(235, 235, 235, 0.6);
            padding: 0.3rem 0.7rem;
            width: 3rem;
            border-radius: 3px;
            margin-bottom: 0;
            text-align: center;
            color: rgb(80, 80, 80);
        }
        .group-tools p:hover {
            color: rgb(30, 30, 30);
            background-color: rgb(235, 240, 240);
        }
        .group-tools p:active {
            color: black;
        }


.group-name-form {
    border-radius: 3px;
    border: 0;
    margin-left: 12px;
    margin-right: -12px;
}

.group-name-form:focus {
    outline: 0;
}

/* .bg-form {
    width: 500px;
} */

.material-icons, summary {
    -webkit-user-select: none;
    user-select: none;
}

header > div p {
    font-size: 0.9rem;
    font-weight: 900;
}



a {
    text-decoration: none;
}

header.board-header {
    position: fixed;
    top: 0;
    left: 0;
    color: white;
    height: 100%;
    padding-top: 0;
    font-size: 0.8rem;
    font-weight: 900;
    width: 200px;
    border: 0;
}

    .board-header h1, .menu-list h1 {
        font-family: 'Kosugi Maru', sans-serif;
        font-weight: 400;
        font-size: 2rem;
    }

    .board-name:hover, .board-menu p:hover  {
        color: lightgray;
        border-radius: 3px;
    }

    .board-name, .board-name h2 {
        max-width: 210px;
        font-weight: 500;
        font-size: 1.1rem;
    }

.list-group {
    width: 210px;
}

.list-group li:hover {
    background-color: rgb(235, 240, 240);
}

.list-container {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: 0;
    padding: 1rem 2rem 1.5rem 0;
    touch-action: pan-x pinch-zoom;
    overflow: hidden;
}

    .list-scroll-snap {
        /* 
        Enabling width and changing overflow to scroll will allow you to 
        re-enable scroll snap. But it means sortables will stop working on iOS.
        You'll also need to uncomment .list-row:after
        To disable, comment out the whole block below.
        */
        width: 100vw;
        scroll-snap-type: x mandatory;
        overflow-x: scroll;
        overflow-y: hidden;
    }

/* forces the browser to add padding the extreme right */
.list-row:after {
    content: "森林";
    display: block;
    color: transparent;
}

    .menu-list {
        width: 250px;
        /* margin-top: 2.7rem; */
        scroll-snap-align: center;
        color: white;
        font-size: 0.8rem;
        font-weight: 900;
        border: 0;
        height: fit-content;
    }

.list-wrapper {
    border-radius: 6px;
    box-shadow: 0.1rem 0.1rem 5px rgba(60, 60, 60, 0.5);
    width: 350px;
    min-width: 350px;
    max-width: 700px;
    margin: 0 0.25rem;
    background-color: rgb(235, 235, 235);
    background-color: rgba(235, 235, 235, 0.9);
    /* really slows down
    backdrop-filter: blur(5px); */
    resize: horizontal;
    overflow: auto;
    scroll-snap-align: center;
}

    /* .list-wrapper:first-child {
        margin-left: 0.5rem;
    } */

    /* Styles the grab handle for the list resizer */
    ::-webkit-resizer{ 
        background-color: lightgray;
        border-top-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    /* Animates the linked card when you load the page with the card as an anchor */
    @-o-keyframes fadeIt {
        0%   { background-color: #FFFFFF; }
        50%  { background-color: #CCCCCC; }
        100% { background-color: #FFFFFF; }
      }
      @keyframes fadeIt {
        0%   { background-color: #FFFFFF; }
        50%  { background-color: #CCCCCC; }
        100% { background-color: #FFFFFF; }
      }
      
      .backgroundAnimated{    
          background-image:none !important; 
               -o-animation: fadeIt 3s ease-in-out; 
                  animation: fadeIt 3s ease-in-out; 
      }

.list-content {
    min-height: 1.5rem;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    /* scroll-snap-type: y proximity; */
}

/* List titles */
h2.list-header  {
    font-weight: 700;
    font-size: 1rem;
    /* color: rgb(60, 60, 60); */
    padding: 0.8rem 0.5rem 0 0.3rem;
    min-height: 33px;
}

h2.list-header:hover {
    color: gray;
}

.list-header-wrapper {
    margin: -10px auto 0 auto;
}

    .minimise:hover {
        color: gray;
    }

    .remove:hover {
        color: gray;
    }

.list-change-input {
    font-size: 1rem;
    font-weight: 700;
    margin: 0.6rem 0 0 0;
}

.card {
    color: rgb(60, 60, 60);
    background-color: white;
    margin: 0 0 0.2rem 0;
    padding: 0.4rem 0.7rem;    /* affects card drag handle */
    line-height: 1.1rem;
    border-radius: 4px;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
    scroll-snap-align: start;
    scroll-margin-top: 0.5rem;
}

    /* .card:last-child {
        scroll-snap-align: none;
    } */

    .card a {
        color: gray;
        text-decoration: underline;
    }

    .card textarea {
        outline: 0;
        border: 0;
        border-radius: 3px;
        background-color: rgb(235, 240, 240);
        width: 100%;
        padding: 0.5rem;
        box-shadow: 0px 2px 3px rgba(205, 210, 210, 0.8);
        min-height: 10rem;
        margin-bottom: -5px;
    }

    .card img {
        width: 100%;
    }

    .cancel {
        color: lightgray;
    }

    .cancel:hover {
        color: rgb(50, 50, 50);
    }

/* .wide-wrapper .card-content[contentEditable=true] {
    width: 100%;
    padding: 0.6rem;
    margin: 0.5rem 0;
} */

.list-tools {
    border-radius: 3px;
    position: relative;
}
    .list-tools p {
        background-color: rgb(205, 205, 205);
        background-color: rgba(235, 235, 235, 0.6);
        padding: 0.3rem 0.7rem;
        width: 3rem;
        border-radius: 3px;
        margin-bottom: 0;
        text-align: center;
        color: rgb(80, 80, 80);
    }
    .list-tools p:hover {
        color: rgb(30, 30, 30);
        background-color: rgb(235, 240, 240);
    }
    .list-tools p:active {
        color: black;
    }

    .list-duplicate {
        font-size: 18px;
        vertical-align: middle;
    }

    .list-clipboard-show {
        font-size: 1.3rem;
        padding-top: 8px;
    }

    /* .list-menu {
        position: absolute;
        width: 150px;
        right: 0;
        bottom: 21px;
        border-radius: 3px;
        list-style-type: none;
        color: white;
        background-color: darkgray;
        z-index: 100;
        display: none;
    }

        .list-menu li {
            font-size: 0.8rem;
            font-weight: 900;
        } */


.blue-background-class {
    background-color: rgba(57, 68, 97, 0.3);
    border-radius: 5px;
}

/* Card Titles */
h3 {
    margin-top: 0.4rem;
    font-weight: 500;
    font-size: 1rem;
}

.card-content-change::parent {
    height: 10rem;
}

.content-main {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3rem;
    margin-bottom: 0.2rem;
    width: 100%;
}

/* .content-main ol {
    padding-left: 0; /* reset existing padding */ /*
    padding-left: 1.2rem;
    padding-right: 0.8rem;
    font-size: 0.9rem;
} */

strong {
    font-weight: 900;
}



.list-sort-handle {
    color: lightgray;
    text-align: center;
    height: 1.5rem;
}

    .list-sort-handle:hover {
        /* Highlight list drag handle */
        background-color: rgb(235, 240, 240);
        color: grey;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }

    .list-sort-handle:active span {
        color:black;
    }


.card:hover .card-sort-handle span {
    visibility: visible;
}

.card:hover .card-toolbar div {
    color: lightgray;
}

.card-sort-handle {
    /* neg margin offsets the padding from .card */
    margin: -0.5rem -0.5rem 0rem -0.5rem;
    /* position: relative;
    top: 0;
    right: 0; */
    color: lightgray;
    text-align: center;
}
    .card-sort-handle span {
        visibility: visible;
    }
    .card-sort-handle:hover span {
        /* border-top-left-radius: 4px;
        border-top-right-radius: 4px; */
        color: grey;
        visibility: visible;
    }
    .card-sort-handle:active span {
        color:black;
    }

.cardtools-handle {
    color: rgb(240,240,240);
}

    .cardtools-handle span {
        font-size: 18px;
    }
    .cardtools-handle:hover span {
        color: gray;
    }

    .cardtools-handle:active span {
        color: black;
    }
    


.z-ind-0 {
    z-index: 1;
}

.z-ind-1 {
    z-index: 100;
}

.z-ind-2 {
    z-index: 200;
}

.z-ind-3 {
    z-index: 300;
}

.z-ind-4 {
    z-index: 400;
}

.z-ind-5 {
    z-index: 500;
}

.z-ind-top {
    z-index: 5000;
}


.content-main h1 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
}

.content-main h2 {
    font-size: 1.2rem;
    font-weight: 500;
    padding-bottom: 0.3rem;
}

.content-main h3 {
    font-size: 1.1rem;
    font-weight: 500;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid rgb(185, 185, 185);

}

.content-main h4 {
    font-size: 1rem;
    font-weight: 700;
}

.content-main h5 {
    font-size: 0.9rem;
    font-weight: 900;
}

.content-main h6 {
    font-size: 0.85rem;
    font-weight: 900;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid rgb(185, 185, 185);
}

.medium-font {
    font-size: 125%; 
    line-height: 150%; 
    font-weight: 400;
}

.medium-font h1, .medium-font h2, .medium-font h3, .medium-font h4, .medium-font h5, .medium-font h6 {
    font-size: 125%;
}

.large-font {
    font-size: 150%; 
    line-height: 200%; 
    font-weight: 400;
}

.large-font h1, .large-font h2, .large-font h3, .large-font h4, .large-font h5, .large-font h6 {
    font-size: 150%;
}

/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgb(235, 235, 235) rgb(255, 255, 255);
    }

    /* Works on Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    }

    *::-webkit-scrollbar-track {
    background: rgba(235, 235, 235, 0.1);
    }

    *::-webkit-scrollbar-thumb {
    background-color:  rgb(185, 185, 185);
    border-radius: 10px;
    /* border: 5px solid rgb(205, 205, 205); */
    }

ul, ol {
    /* Removes the space separating the list from the previous element */
    margin-top: -0.5rem;
}

ul {
    list-style-type: "• ";
    padding-left: 0.85rem;
}

ol {
    padding-left: 1.5rem;
}

li > p {
    margin: 0;
}

li > ul, li > ol {
    /* Adds space between nested lists within lists to counteract the ul,ol rule above */
    margin-top: 0rem;
}

p {
    /* Reduces the bootstrap 1rem space between paragraphs */
    margin-bottom: 0.5rem;
}

.fs-wrapper {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 10000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.6);
    overflow: hidden;
    height: 100%;
    width: 100%;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: black;
}

    .freeze-scroll {
        /* added to body to freeze scrolling during fullscreen */
        overflow: hidden;
    }

/* .clipboard {
    background-color: rgb(225, 225, 225);
    border-radius: 5px;
        min-width: 350px;
    max-width: 450px;
} */

    /* .clipboard-content {
        overflow: auto;
        background-color: rgb(215, 215, 215);
        min-height: 25vh;
        max-height: 73vh;
    } */

    .list-clipboard-close:hover {
        color: gray;
    }

.toast-container {
    z-index: 20000;
}

.settings {
    /* position: relative; */
    width: 28rem;
    border-radius: 5px;
    background-color: rgb(235, 235, 235);
    color: rgb(30, 30, 30);
}

    .color-picker {
        height: 2rem;
        padding: 0;
    }


.list-move, .list-colour {
    display: none;
    text-align: center;
    font-weight: 500;
}

.card-colour {
    display: none;
}

.card-colour > * {
    padding: 2.3px 0 0 1.8px;
}

.hl-paleyellow {
    background-color: rgb(251, 243, 213);
}

.hl-paleorange {
    background-color: rgb(255, 230, 218);
}

.hl-palered {
    background-color: rgb(255, 231, 231);
}

.hl-palegreen {
    background-color: rgb(225, 255, 235);
}

.hl-palesmokyblue {
    background-color: rgb(235, 246, 248);
}

.hl-palegray {
    background-color: rgb(231, 231, 231);
}

.hl-yellow {
    background-color: rgb(255, 238, 179);
}

.hl-orange {
    background-color: rgb(251, 159, 113);
}

.hl-red {
    background-color: rgb(208, 92, 92);
}

.hl-green {
    background-color: rgb(100, 231, 141);
}

.hl-smokyblue {
    background-color: rgb(165, 195, 201);
}

.hl-gray {
    color: white;
    background-color: rgb(167, 167, 167);
}

.hl-white {
    background-color: white;
}

.hl-darkgray {
    background-color: rgb(90, 90, 90);
    color: white;
}

.hl-darksmokyblue {
    background-color: rgb(48, 77, 82);
    color: white;
}

.hl-darkorange {
    background-color: rgb(135, 53, 12);
    color: white;
}

.hl-darkred {
    background-color: rgb(138, 18, 18);
    color: white;
}

.hl-darkgreen {
    background-color: rgb(25, 77, 41);
    color: white;
}

.hl-white{
    background-color: white;
}

.hl-none {
    background-color: none;
}

mark {
    background-color: rgb(255, 250, 155);
}

details {
    padding: 0.3rem 0.3rem 0 0 ;
    color:rgb(50, 50, 50);
}

    details[open] {
        background-color: #EEE;
        border-radius: 3px;
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }

    details:last-child {
        margin-bottom: 0.5rem;
    }

    details > * {
        padding-left: 1.2rem;
        /* color: red; */
    }

    details > *:last-child {
        margin-bottom: 0.75rem;
    }

    summary {
        padding-bottom: 0.75rem;
        padding-left: 0;
    }

.zoom-toggle {
    display: none;
}



/* For Sortables */
.blue-background-class {
    background-color: rgba(57, 68, 97, 0.3);
    border-radius: 5px;
}

.debug {
    background-color: salmon;
}

.debug2 {
    background-color: palevioletred;
}

.debug3 {
    background-color: cornflowerblue;
}