@import url(https://fonts.googleapis.com/css?family=Permanent+Marker);

.fontcolor {
    color: #0B3A38;
}

.card-body {
    text-align: center;
}

body {
    color: #0b3a38;
    background-color: #cfe9e8;
    scrollbar-width: 10px;
}

.toast-container {
    padding: 1rem !important;
    bottom: 0 !important;
    right: 0 !important;
    z-index: 99;
}

.toast-container img {
    height: 24px;
}

.li-card {
    list-style-type: none;
}

.card {
    border-radius: 5%;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    margin: 6px;
    text-decoration: none;
    opacity: 1;
    transition: 0.3s;
    width: 7.5rem;
    height: 7.5rem;
}

.card:hover {
    opacity: 0.85;
    transform: scale(1.05);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.card:active {
    box-shadow: none;
    transform: scale(1);
}

.card-holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1%;
    padding-bottom: 1.5%;
    width: 98%;
    margin: auto;
    margin-top: 0;

    min-height: 30px;
}

.card-img-top {
    margin-top: auto;
    margin-bottom: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    clip-path: inset(0% 0% 0% 0% round 5%);
}

#favtip {
    font-size: 2em;
    display: none;
    margin-top: 0.5em;
    z-index: -2;
}

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

.fixed-top {
    z-index: 999;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.imglogo {
    width: auto;
    height: 8em;
    padding: 1%;
}


/* Oanvänd, logga längst upp till vänster
.logo{

    position: absolute;
    top:10%;
    left: 0;
    width: 5em;
    height: auto;
    z-index: 10000000000;
    margin: 0;
}
 */

.checked {
    color: orange;
    display: flex !important;
}

.fa-star {
    position: absolute;
    right: 0;
    font-size: 17pt;
    margin-top: 5px;
    margin-right: 5px;
    display: none;
    z-index: 1;
}

#loading {
    position: absolute;
    z-index: 100000000;
}

.mat {
    margin-top: 8%;
    text-align: center;
}

.resize-drag {
    width: 120px;
    border-radius: 8px;
    padding: 20px;
    margin: 1rem;
    background-color: #29e;
    color: white;
    font-size: 20px;
    font-family: sans-serif;
    touch-action: none;
    /* This makes things *much* easier */
    box-sizing: border-box;
}

.lp-btn {
    background: 0;
    border-radius: 25%;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 0.25rem;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-link-edit {
    animation: btn-link-edit 0.7s step-end infinite;
}

@keyframes btn-link-edit {
    0% {
        transform: translateY(0px);
    }
    
    50% {
        transform: translateY(-5px);
    }
}


/* Post-it */

.post-it {
    resize: both;
    position: absolute;
    z-index: 1000;
    touch-action: none;
    box-sizing: border-box;
    overflow: hidden;
    padding: 20px;
    box-shadow: inset 0 -40px 40px rgba(0, 0, 0, 0.2), inset 0 25px 10px rgba(0, 0, 0, 0.2), 0 5px 6px 5px rgba(0, 0, 0, 0.2);
    font-family: 'Kalam';
    line-height: 1.2em;
    font-size: 14.5pt;
    font-weight: bold;
    display: none;
    min-width: 160px;
    min-height: 50px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#stickyText {
    /* Text som ska kunnas strykas över, används i js.js */
    box-sizing: border-box;
    cursor: pointer;
}

.postit-close {
    float: right;
    top: 0;
    position: absolute;
    right: 0;
    margin: 20px;
    font-size: 1.6em;
    cursor: pointer;
}

.post-it:after {
    /* Streck längst ner */
    box-sizing: border-box;
    content: "";
    display: block;
    position: absolute;
    width: 75%;
    height: 20px;
    bottom: 0px;
    left: 10%;
}


/* background: transparent url('../svgs/minus.svg') center/1em auto no-repeat; */


/* Rubrik ovanför kort */

#under-rubrik {
    font-weight: bold;
    margin-left: 1%;
    margin-bottom: 0;
    margin-top: 0.3em;
}

#flytta-runt-tips {
    margin-left: 1%;
    font-size: 18px;
}

.done {
    box-sizing: border-box;
    text-decoration: line-through 15%;
    text-decoration-line: line-through;
    -webkit-text-decoration-line: line-through;
}


/* !Post-it */


/*
footer{
    position: absolute;
    right: 0%;
    left: 0%;
    z-index:0;

} */

footer {
    clear: both;
    position: relative;
    height: auto;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scrollbar-width: 10px;
    scroll-behavior: smooth;
}

#container {
    min-height: 100%;
    position: relative;
}

#body {
    padding-bottom: 60px;
    /* Height of the footer */
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    /* Height of the footer */
}

.footer-text {
    color: #F7F9F9;
    text-decoration: none;
}

.footer-title {
    color: #F7F9F9;
}

.footer-text:hover {
    color: #A2B9B9;
}

.footer-text:active {
    color: #FC3D23;
}

#klass-data {
    margin-top: -5px;
    color: transparent;
    text-shadow: 0 0 20px black;

    transition: all 0.2s;
}

#klass-data:hover, #klass-data:focus {
    color: #212529;
    text-shadow: none;
}

.input-group-text {
    border-bottom-left-radius: 0%;
    border-bottom-right-radius: 0%;
}


/* width */

::-webkit-scrollbar {
    width: 10px;
}


/* Track */

::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: #888;
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

td {
    padding: 0 3px;
}

.currentLesson {
    margin: 0 -0.4em;
    padding: 0.1em 0.4em;
    border-radius: 0.8em 0.3em;
    background: transparent;
    background-image: linear-gradient(to right, rgba(255, 225, 0, 0.1), rgba(255, 225, 0, 0.7) 4%, rgba(255, 225, 0, 0.3));
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.flikar {
    position: absolute;
    left: -100px;
    transition: 0.3s;
    padding: 5px;
    width: 120px;
    text-decoration: none;
    font-size: 20px;
    border-radius: 0 5px 5px 0;
    box-shadow: inset 0 -5px 5px rgba(0, 0, 0, 0.2), inset 0 3px 2px rgba(0, 0, 0, 0.2), 0 5px 6px 5px rgba(0, 0, 0, 0.2);
    display: none;
    cursor: pointer;
}

.flikar:hover {
    left: 0;
}

#flik-mat {
    top: 5px;
}

#flik-schema {
    top: 47px;
}

#flik-motto {
    top: 89px;
}

.hide-flik {
    animation: flik-open 1s forwards;
}

.hide-postit {
    animation: postit-fade 0.8s forwards;
}

.show-postit {
    animation: postit-fade-2 0.4s forwards;
}

@keyframes flik-open {
    0% {
        left: 0;
    }

    100% {
        left: -100px;
    }
}

@keyframes postit-fade {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        top: 0;
        left: 0;
    }
}

@keyframes postit-fade-2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

a {
    cursor: pointer;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: rgb(11, 58, 56);
}

input:focus+.slider {
    box-shadow: 0 0 1px rgb(11, 58, 56);
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.hidden-i {
    display: none !important;
}

.mat-mobil {
    border: 3px solid green;
    text-align: center;
    margin-bottom: 4%;
    padding-top: 1rem;
}

.mat-mobil,
.schema-mobile {
    margin: 0 auto 0 auto;
    width: 100%;
}

.btn-footer {
    text-decoration: none;
    border: 1px solid;
    border-radius: 43px;
    padding: 7px 30px;
    line-height: 47px;
}

.btn-footer:hover {
    text-decoration: none;
    color: rgb(0, 0, 0, 0.6);
}

.btn-välj-skola-ny {
    position: absolute;
    right: 2%;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

.postit-schema-table {
    width: 100%;
    height: 70%;
}

.refresh-color {
    position: relative;
    top: 5px;
    display: flex;
    justify-content: space-evenly;
}

.previews {
    margin-right: auto;
    display: flex;
    margin-left: auto;
    width: 100%;
    justify-content: space-around;
}

.previewCard {
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.questionmark:before {
    content: '?';
    display: inline-block;
    font-family: sans-serif;
    font-weight: bold;
    text-align: center;
    width: 1.8ex;
    height: 1.8ex;
    font-size: 1.4ex;
    line-height: 1.8ex;
    border-radius: 1.2ex;
    margin-right: 4px;
    padding: 1px;
    color: blue;
    background: white;
    border: 1px solid blue;
    text-decoration: none;
}

.alert {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#mottodiv {
    text-align: center;
    max-height: 80%;
    border: 3px solid black;
    border-radius: 10px;
    padding: 10px;
    padding-top: 1px;
    margin-left: 5%;
    margin-right: 5%;
}

.center {
    text-align: center;
}

#postit-motto {
    text-align: center;
    font-weight: normal;
}

.card-modify {
    display: inline;
    margin-left: 5px;
    margin-bottom: -1.75em;
    font-size: 1.25rem;
}




/* On screens that are 992px or less, set the background color to blue */


/* Tablets */

@media screen and (max-width: 992px) {
    .card {
        width: 6.5rem;
        height: 6.5rem;
    }

    .fa-star {
        font-size: 0.7rem;
    }

    #favtip {
        font-size: 1.5em;
    }

    .imglogo {
        height: 4em;
        margin-right: 75%;
    }

    .card-modify {
        font-size: 1rem;
    }

    .color-picker {
        font-size: 13d.5px;
    }

    .day-buttons {
        position: relative;
        margin: 0.5em;
        font-size: 1.5em;
        width: 100%;
    }

    .mobile-hide {
        display: none;
    }

    .mobile-show {
        display: block;
    }

    .mini-background {
        width: 100% !important;
        margin-top: 10%;
    }

    .previews {
        flex-direction: column;
    }
    .temperature {
        left: 60%!important;
        font-size: 1.2em!important;
    }
}


/* On screens that are 600px or less, set the background color to olive */


/* Mobile */

@media screen and (max-width: 600px) {
    .card {
        width: 4rem;
        height: 4rem;
    }

    .fa-star {
        font-size: 0.7rem;
    }

    #favtip {
        font-size: 1.5em;
    }

    .imglogo {
        height: 4em;
        margin-right: 50%;
    }

    .card-modify {
        font-size: 0.8rem;
        margin-bottom: -1.5em;
    }

    .color-picker {
        font-size: 12.5px;
    }

    .day-buttons {
        position: relative;
        margin: 0.5em;
        font-size: 1.2em;
        width: 100%;
    }

    .mobile-hide {
        display: none;
    }

    .mobile-show {
        display: block;
    }

    .mini-background {
        width: 100% !important;
        margin-top: 10%;
    }

    .previews {
        flex-direction: column;
    }

    #temp-card .card, #temp-card-2 .card {
        width: 7rem;
        height: 7rem;
    }

    #date-mat-mobile, #date-schema-mobile {
        z-index: 1;
        white-space: normal;
    }

    .modal__ {
        width: 75% !important;
        left: 12.5% !important;
    }

    .temperature {
        left: 60%!important;
        font-size: 0.8em!important;
    }

    .btn {
        margin-top: 1%;
    }
}


/* Mobile: 360 x 640
Mobile: 375 x 667
Mobile: 360 x 720
iPhone X: 375 x 812
Pixel 2: 411 x 731
Tablet: 768 x 1024
Laptop: 1366 x 768
High-res laptop or desktop: 1920 x 1080 */

.mobile-show {
    display: none;
}

.pixel {
    display: inline-block;
    background-color: #000;
    width: 50px;
    height: 50px;
}

.filterDetail {
    font-family: "Consolas", "Menlo", "Ubuntu Mono", monospace;
}

input[type="color"] {
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    padding: 0;
    overflow: hidden;
    vertical-align: middle;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.modal {
    color: black;
    overflow: auto;
}

#under-rubrik {
    display: inline;
    float: left;
    margin-bottom: 0.3em;
}

.color-picker-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 2px 2px;
}

.color-picker-div {
    display: block;
    margin-top: 2%;
    margin-bottom: 1%;
}

.color-picker {
    margin: 5px 0;
    padding: 10px;
    width: 100%;
    border: 2px solid black;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    /* text-shadow: white 0px 0px 2px; */
}

.preset-color {
    height: 20px;
    width: 20px;
    border: 0.1px solid black;
}

.preset {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 62px;
}

.theme-preset-selector {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.preset:hover {
    -webkit-transform: scale(1.1);
    /* Safari and Chrome */
    -moz-transform: scale(1.1);
    /* Firefox */
    -ms-transform: scale(1.1);
    /* IE 9 */
    -o-transform: scale(1.1);
    /* Opera */
    transform: scale(1.1);
    -webkit-transition: transform 0.3s ease-in-out;
    -moz-transition: transform 0.3s ease-in-out;
    -ms-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.snackbar {
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1000000000000;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s forwards;
    animation: fadein 0.5s, fadeout 0.5s 2.5s forwards;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

.btn-trash-preset {
    color: red;
}

.btn-trash-preset:hover {
    color: blue;
    cursor: pointer;
}

.fa-share-square {
    color: blue;
}

.fa-share-square:hover {
    color: grey;
    cursor: pointer;
}

.shake {
    position: relative;
    animation: cardshake 0.5s infinite;
}

@keyframes cardshake {
    0% {
        left: 2px;
        top: -1px;
    }

    25% {
        left: -2px;
        top: 1px;
    }

    50% {
        left: -3px;
        top: -1px;
    }

    75% {
        left: 0px;
        top: 3px;
    }

    100% {
        left: 2px;
        top: 1px;
    }
}

.error {
    position: relative;
    animation: shake .1s linear;
    animation-iteration-count: 3;
}

@keyframes shake {
    0% {
        left: -5px;
    }

    100% {
        right: -5px;
    }
}

.day-buttons {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    width: calc(100% - 40px);
}

.date-text {
    cursor: pointer;
    white-space: nowrap;
    text-decoration: dotted underline;
    z-index: 1005;
}





.modal__ {
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;

    position: absolute;
    top: 18%;
    width: 95%;
    background-color: #83fcbb;

    box-shadow: 0px 5px 10px black;

    z-index: 1101;

    display: none;

}

.modal__>* {
    width: 90%;
    padding: 1em;
    margin-left: auto;
    margin-right: auto;
}

.modal__header {
    border-bottom: 2px solid rgb(121, 121, 121);
}

.modal__closeBTN {
    font-size: 1.3em;
    cursor: pointer;
    margin-left: 100%;
}

.modal__footer {
    border-top: 2px solid rgb(121, 121, 121);
}

.modal__open {
    transition: 0.2s;
    animation: modal__open 0.2s forwards;
}

.modal__close {
    transition: 0.2s;
    animation: modal__close 0.2s forwards;
}

@keyframes modal__open {
    0% {
        top: 85%;
        opacity: 0%;
    }

    80% {
        top: 0%;
    }

    100% {
        opacity: 100%;
    }
}

@keyframes modal__close {
    0% {
        opacity: 100%;
    }

    50% {
        top: 80%;
    }

    100% {
        top: 85%;
        opacity: 0%;
    }
}

.input-error {
    border: 3px solid red;
}

#copy-preset-id:hover {
    cursor: pointer;
    transform: translateY(-5px);
    transition: 0.15s;
}

@keyframes scale-up-down {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.2);
    }
}

.animation-settings-btn-focus {
    animation: scale-up-down 1s ease-in-out infinite alternate;
}

/* PREVIEW */

.mini-background {
    /* width: 50%;
    height: 50%; */
    background-color: wheat;
    font-size: 10px;
    color: gray;

    border: solid black 1px;
    border-radius: 5px;
    box-shadow: 5px 10px 3px rgb(0 0 0 / 40%);
    position: relative;
}

.mini-postit {
    position: absolute;
    right: 0;
    background-color: yellow;
    height: 20%;
    width: 30%;

    box-sizing: border-box;
    padding: 2px;
    box-shadow: inset 0 -10px 10px rgba(0, 0, 0, 0.2), inset 0 12.5px 5px rgba(0, 0, 0, 0.2), 0 2.5px 3px 2.5px rgba(0, 0, 0, 0.2);
    font-family: 'Kalam';
    line-height: 1.2em;
    font-weight: bold;
}

div.mini-background span {
    margin-left: 1%;
}

.mini-header {
    display: flex;
    justify-content: center;
    background-color: lawngreen;

    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.mini-footer {
    display: flex;
    background-color: darkseagreen;
    height: 50px;
    color: purple;

    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.mini-logo {
    height: 30px;
    padding: 1%;
}

.mini-linkcards {
    display: flex;
    justify-content: space-evenly;
    border: 2px solid red;
    border-radius: 10px;
    width: 98%;
    margin: auto;
}

.mini-linkcard-icon {
    height: 90%;

    margin-top: auto;
    margin-bottom: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mini-linkcard {
    box-shadow: 5px 5px 3px rgb(0 0 0 / 40%);
    margin: 6px;
    text-decoration: none;
    opacity: 1;
    transition: 0.3s;
    width: 2.9rem;
    height: 2.9rem;

    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 0.25rem;
}

.mini-footer-text {
    font-size: 8px;
    width: 80%;
    margin-left: 10px;
    height: 80%;
    margin-top: auto;
    margin-bottom: auto;
}

.mini-main-text {
    font-size: 7px;
}

.text-size-btn {
    /* width: 1.2em; */
    margin-left: 10px;
    cursor: pointer;
    z-index: 1005;
    white-space: nowrap;
}

/* ! PREVIEW */

.mc-calendar {
    z-index: 1021!important;
}


.arrow_box {
    position: absolute;
    width: 300px;
    height: 70px;
    z-index: 1020;

    display: none;

    border-radius: 10px;

    box-shadow: inset 0 -40px 40px rgba(0, 0, 0, 0.2), inset 0 25px 10px rgba(0, 0, 0, 0.2), 0 5px 6px 5px rgba(0, 0, 0, 0.2);
}

#text-size-slider {
    position: absolute;
    left: 5%;
    top: 45%;

    appearance: none;
    -webkit-appearance: none;
    width: 90%;
    height: 5px;
    background: black;
    outline: none;
    border: 0;
    cursor: pointer;
}

#text-size-slider::-moz-range-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 35px;
    background: white;
    cursor: pointer;
    border: 3px solid black;;
    border-radius: 10px;
}


#text-size-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 35px;
    background: white;
    cursor: pointer;
    border: 3px solid black;
    border-radius: 10px;
}

.temperature {
    position: absolute;
    font-size: 2em;
    left: 4%;
}

.shared-theme-div {
    width: 350px;
    margin-bottom: 4%;
    font-size: 1.3em;
    padding: 20px;
    transition: all 0.2s;
    border-radius: 10px;
}

.shared-theme-div:hover {
    color: white;
    background-color: gray;
    cursor: pointer;
}

#shared-themes {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.btn-back {
    padding: 2px 7px;
    color: black;
    margin-right: 2%;
    background: none;
    border: none;
    opacity: 0.5;
    transition: all 0.2s;
    font-size: 20px;
}

.btn-back:hover {
    opacity: 0.75;
}

.dropdown-toggle {
    margin-right: 5%;
}
