:root {
    --headers-font-size: 14px;
    --app-theme-color: #e02c47;
}

body {
    padding: 0px !important;
    -webkit-text-size-adjust: none;
}

span.helper{
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.menu_btn {
    width: 1.5em;
    vertical-align: middle;
}

.menu{
    text-align: end;
    min-width: 6%;
    margin-left: 1%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 210px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    right: 0;
    z-index: 20;
    margin-right: 3%;
    /* margin-top: 10px !important; */
    /* top: 25px; */
    text-align: initial;
}

.dropdown-content div {
    color: black;
    padding: 10px;
    border-bottom: 1px solid lightgrey;

}


.blank_bookmarks_icon {
    width: 0.65em !important;
    padding-left: 14px;
}

.blank_notes_icon {
    width: 1.1em !important;
    padding-left: 10px;
}

.share_icon{
    width: 1.1em !important;
    padding-left: 9px;
}

.show {
    display: block;
}


.expand_headers {
    position: sticky;
    /* for safari for iOS 8-12.4 */
    position: -webkit-sticky;
    top: 0px;
    z-index: 10;
    margin: 0px;
    background-color: #f8f8f8;
}

div+div {
    margin-top: 0px !important;
}


.header1,
.header2,
.header3,
.header4 {
    background: #F4F4F4;
    top: 0;
    padding-top: 12px;
    padding-bottom: 12px;
    text-wrap: auto;
    font-size: var(--headers-font-size);
    display: block;
    color: #000000;
    margin: 0px !important;
    border-bottom: 1px solid #303335;
    border-top: 1px solid #303335;
    display: flex;
}
.sticky{
    position: sticky;
    /* for safari for iOS 8-12.4 */
    position: -webkit-sticky;
}
.header1 {
    padding-left: 12px;
}

.header2 {
    padding-left: 27px;
}

.header3 {
    padding-left: 42px;
}

.header4 {
    padding-left: 57px;
}

.wrapped_header{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

#level1 {
    border-top: 1px solid #707070;
}

.headers_span {
    flex: 0 0 90%;
}


.bookmarked {
    width: 0.29em !important;
}

.noted {
    padding-top: 2px;
    width: 0.55em !important;
}

.menu_btn:focus {
    outline: none;
}

.whiteBackground {
    background-color: #ffffff;
}

.notesBMLink {
    text-decoration: none;
    color: #000000;
}

.notesBMLink:focus,
.notesBMLink:active {
    background-color: transparent;
    outline: none;
}

.notesBMText {
    vertical-align: top;
    font-size: var(--headers-font-size);
    padding-left: 14px;
}

.shareText {
    /* vertical-align: super; */
    font-size: var(--headers-font-size);
    padding-left: 8px;
}

#takeNote{
    padding-left: 10px;
}
.iconsDiv{
    float: right; 
    margin-right: 22px; 
    position:relative;
    flex: 0 0 5%;
}
.bookmarkedIconDiv{
    margin-left: 2px; 
    width: 0.5em; 
    position: absolute; 
    right: 0;
}
.notedIconDiv{
    width: 0.5em; 
    position: absolute; 
    top: 9; 
    right: 2px;
}

/* To handle top +bottom border in between headers */
div+div+div{
    border-top: 0px !important;
}
div.header1 + div.header2{
    border-top: 0px !important;
}
div.header2 + div.header3{
    border-top: 0px !important;
}
div.header3 + div.header4{
    border-top: 0px !important;
}

/* Margin between header & text */
div.content_div > p.text{ margin-top: 10px !important; }
div.content_div p.text~p.text{ margin-top: 0px !important; }

/* abbr[title] {
    text-decoration: underline;
    -webkit-text-decoration-color: blue;
    text-decoration-color: blue;
}

#abbrPopup{
    position: fixed;
    left: 50%;
    top:52%;
   
    width: 50%;
    text-align: center;
    
    background-color: #fff;
    color: #000;
    border-radius: 3px;
    box-shadow: 1px 1px 5px 0 rgba(0,0,0,0.4);
    font-size: 14px;
    padding: 3px 5px;
    transform: translate(-50%, -50%);
    z-index: 101 !important;
} */

#backBtn {
    display: none;
    position: fixed;
    top: 7%;
    right: 0%;
    z-index: 101;
    width: 15%;
}


.imageZoomModal {
    display: none;
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.imageZoomDiv {
    margin-left: 3%;
    margin-right: 3%;
    padding-top: 10%;
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.8s;
    animation-name: zoom;
    animation-duration: 0.8s;
    transform: scale(1);
}

.modal-image {
    margin: auto;
    display: block;
    overflow-y: scroll;
    width: 170%;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

#close-btn {
    position: absolute;
    right: 0%;
    color: black;
    font-size: 32px;
    transition: 0.3s;
    padding: 2%;
}

#close-btn:hover,
#close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.imgModalHeader {
    width: 100%;
    background: var(--app-theme-color);
    height: 5%;
    border: 1px solid #999;
    border-bottom: 0px;
}

/* Adjust the height when in landscape mode */
@media (orientation: landscape) {
    .imgModalHeader {
        height: 10%;
    }

    .imageZoomDiv {
        padding-top: 5%;
    }
}


.imgModalHeader:before {
    transform: rotate(45deg);
}

.imgModalHeader:after {
    transform: rotate(-45deg);
}

.imgModalBody {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    border: 1px solid #999;
    width: 100%;
    background: white;
}

/* stop the scrolling of body when clicked on image modal */
.modal-open {
    overflow: hidden;
    position: relative;
    /* Needed for iOS */
}

.blurred {
    filter: blur(2px);
    -webkit-filter: blur(2px);
}



/* Classes for SVG of back button */

.cls-1 {
    fill: #fff;
    opacity: 0.8;
}

.cls-2 {
    fill: none;
    stroke: var(--app-theme-color);
    stroke-width: 2px;
}

.cls-3 {
    filter: url(#Ellipse_29);
}