﻿
/*
    MyNotes feature - Article page
*/

#ArticleNotes{
    position: fixed;
    top: -500px;
    right: 10px;
    z-index: 1000;
    opacity: 0.5;
}

#ArticleNotesTop{
    position: relative;
}
#ArticleNotesBottom{
    position: relative;
    margin-top: 30px;
}

#ArticleNotes h2{
    position: relative;
    top: 13px;
    left: 40px;
    padding: 0px;
    margin: 0px;
    font-size: 25px;
    margin-right: 30px;
}

#ArticleNotesTextarea{
    position: relative;
    height:140px;
    min-width: 300px;
    resize: vertical
}

.articleNotesIcons{
    position: absolute;
    z-index: 5555;
    top: 7px;
    right: 5px;
    padding: 4px;
    cursor: pointer;
    font-size: 30px !important;
}

#ArticleStickPencilIcon{
    position: absolute;
    left: 5px;
    top: 10px;
    font-size: 30px;
}

#ArticleMobileNotesIcon{
    color: #4b86e2;
}

#ArticleMobileNotesLink{
    cursor: pointer;
    text-decoration: none;
}

@media screen and (min-width: 0) and (max-width: 991px) {

    #ArticleNotes{
        display: none;
    }

    #ArticleNotesTextarea{
        min-width: auto;
    }
}


.notepad {
    background: #f6f6f6;
    box-shadow: 0 1px 4px hsla(0,0%,0%,.25);
    position: relative;

    background-image: radial-gradient(#e6e6e6 21%, transparent 21%),
                      radial-gradient(#e6e6e6 10%, transparent 12%), 
                      linear-gradient(to bottom, hsla(0,0%,0%,0) 0%, hsla(0,0%,0%,0) 95%,
                                                   hsla(180,25%,50%,.1) 95%, hsla(180,25%,50%,.1) 100%);


    background-image: -webkit-radial-gradient(#e6e6e6 21%, transparent 21%),
                      -webkit-radial-gradient(hsla(0,0%,0%,.25) 21%, transparent 26%),
                      -webkit-linear-gradient(top, hsla(0,0%,0%,0) 0%, hsla(0,0%,0%,0) 95%,
                                                   hsla(180,25%,50%,.1) 95%, hsla(180,25%,50%,.1) 100%);

    background-image: -moz-radial-gradient(#e6e6e6 21%, transparent 21%),
                      -moz-radial-gradient(#e6e6e6 10%, transparent 12%),
                      -moz-linear-gradient(top, hsla(0,0%,0%,0) 0%, hsla(0,0%,0%,0) 95%,
                                                   hsla(180,25%,50%,.1) 95%, hsla(180,25%,50%,.1) 100%);

    background-position: 6px 6px, 6px 5px, 50% 18px;
    background-repeat: repeat-y, repeat-y, repeat;
    background-size: 48px 48px, 48px 48px, 24px 24px;
    padding: 20px 24px 24px 84px;
}
.notepad:after {
    border-left: 1px solid hsla(0,75%,50%,.2);
    border-right: 1px solid hsla(0,75%,50%,.2);
    bottom: 0;
    content: '';
    left: 58px;
    position: absolute;
    top: 0;
    width: 2px;
}


/*
    My Notes page
*/
#MyNotes {
    min-width: 600px;
}

#MyNotesContainer{
}

.noteEntry{
    padding: 10px;
    position: relative;
}

.noteEntryHeader{
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    padding: 0px;
    margin: 0px;
}

.noteEntryBody{
    margin: 0px;
    font-size: 18px;
    position: relative;
    left: 20px;
    border-left: 3px solid #eee;
    padding-left: 20px;
}

.noteEntryBody a, .noteEntryBody a:visited{
    color:#4b86e2;
}


#MyNotesHeader{
    display: flex;
}


#MyNotesHeaderLeft{
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#MyNotesHeaderRight h2{
    padding: 0px;
    margin: 10px;
}

#MyNotesHeaderIcon{
    font-size: 30px;
    color: #8CC63F;
    /*color: #2E3192;*/
}

.scribbleFont{
    font-family: 'Handlee', cursive;
}

@media screen and (min-width: 0) and (max-width: 991px) {

    #MyNotes {
        min-width: inherit;
    }

    .notepad {
        margin-top: 40px;
        background-image: radial-gradient(#e6e6e6 0%, transparent 0%),
                          radial-gradient(#e6e6e6 0%, transparent 0%),
                          linear-gradient(to bottom, hsla(0,0%,0%,0) 0%, hsla(0,0%,0%,0) 95%, hsla(180,25%,50%,.1) 95%, hsla(180,25%,50%,.1) 100%);

        background-image: -webkit-radial-gradient(#e6e6e6 0%, transparent 0%),
                          -webkit-radial-gradient(hsla(0,0%,0%,.25) 0%, transparent 0%),
                          -webkit-linear-gradient(top, hsla(0,0%,0%,0) 0%, hsla(0,0%,0%,0) 95%, hsla(180,25%,50%,.1) 95%, hsla(180,25%,50%,.1) 100%);

        background-image: -moz-radial-gradient(#e6e6e6 0%, transparent 0%),
                          -moz-radial-gradient(#e6e6e6 0%, transparent 0%),
                          -moz-linear-gradient(top, hsla(0,0%,0%,0) 0%, hsla(0,0%,0%,0) 95%, hsla(180,25%,50%,.1) 95%, hsla(180,25%,50%,.1) 100%);
        padding: 20px 24px 24px 10px;
    }

    .notepad:after {
        border-left: 0px solid hsla(0,75%,50%,.2);
        border-right: 0px solid hsla(0,75%,50%,.2);
        bottom: 0;
        content: '';
        left: 0px;
        position: absolute;
        top: 0;
        width: 2px;
    }
}