body {
    /* background: linear-gradient(135deg, #F9A01B 0%, #F9A01B 30%, #ffff2e 100%) fixed; */
    font-family: Helvetica, Arial, sans-serif;
    /* font-weight: lighter; */
    line-height: 1.4;
    /* border: 1px solid #F9A01B; */

    margin: 0 auto;
    /* max-width: 800px; */
    /* border-radius: 13px; */
}

h1 {
    text-align: center;
    font-size: 20px;
}

h2 {
    margin-bottom: 5px;
    border-bottom: 1px solid gray;
    border-bottom: 0;
    margin-top: 30px;
}

#pageDescription.description_collapsed .trigger_expand {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #939393;
    padding: 5px 10px;
    color: white !important;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
}

#pageDescription.description_collapsed {
    max-height: 175px;
    overflow: hidden;
}

#pageDescription.description_expanded {
    height: auto;
}

#pageDescription.description_expanded .trigger_expand {
    display: none;
}


#pageDescription h2 {
    text-transform: uppercase;
    font-size: 21px;
}

#pageDescription h2 + p {
    margin-top: 0;
}

#pageDescription h2 + h3 {
    margin-top: 0;
}

#pageDescription h3 {
    margin-bottom: 0;
}

#pageDescription h3 + p {
    margin-top: 0;
}

#pageDescription a {
    color: #3e3ef2;
}


#main {
    padding: 10px 30px;
    /* max-width: 600px;
    margin: 0 auto; */
    position: relative;
} 

#nav {
    position: absolute;
    top: 16px;
    left: 21px;
}

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

h2 a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    
}

.fb {
    border: 3px solid #0c77dd;
    border-radius: 3px;
}

.show {
    display: block !important;
}

.hide {
    display: none !important;
}


/* marks page */


#rss_page #main {
    max-width: 1200px;
    margin: 0 auto;
} 

#rss_page .subtitle {
    font-size: 14px;
    color: gray;
    text-align: center;
    margin-top: 4px;
    font-weight: 200;
}

#rss_page h1 {
    font-size: 40px;
    margin-top: 66px;
    margin-bottom: 10px;
}

#marks_list {
    /* overflow: hidden; */
}

#marks_list h2 {
    text-transform: uppercase;
    margin-top: 44px;
    margin-left: 0;
    font-size: 30px;
    font-family: Tahoma;
    margin-bottom: -6px;
}

h1#pageTitle {
    text-transform: uppercase;
    font-size: 30px;
    font-family: Tahoma;
}

#marks_list h2 a {
    margin-top: 0px;
    font-weight: 600;
    font-size: 20px;
    color: #ab5905;
    text-align: left;
}

.mark_item {
    float: left;
    background: white;
    color: white;
    /* margin: 10px; */
    text-align: center;
    font-weight: 900;
    /* padding: 10px; */
    width: calc( 25% - 20px );    
    position: relative;
    /* border: 2px solid #ccccccba; */
    border-radius: 5px;
    margin-left: 20px;
    margin-top: 24px;
    /* overflow: hidden; */
} 

.marks_section {
    margin-left: -20px;
}

/* .mark_item:nth-child(2n+2), .mark_item:nth-child(2n+3) {
    margin-left: 10px;
    background-color: red;
} */

@media screen and (min-width: 1400px) {
    #rss_page #main {
        max-width: 1400px;
    }


    .mark_item {
        /* width: calc( 25% - 40px ); */
    }
}

.order_number {
    position: absolute;
    top: 5px;
    right: 5px;
    color: black;

}

.fav_mark {
    position: absolute;
    top: 5px;
    left: 0px;
    color: white;
    line-height: 24px;
    width: 115px;
    display: none;
    font-size: 15px;
}

.fav_mark[data-type="FAV"], .fav_mark[data-type="BEST"] {
    background-color: #c80101;
}

.fav_mark[data-type="VERYGOOD"] {
    background-color: #c8010132;
}

.fav_mark[data-type="GOOD"] {
    background-color: #6f6f6f32;
}

.fav_mark::after {
    content: ' ';
    display: block;
    background-color: white;
    width: 18px;
    height: 18px;
    position: absolute;
    right: -9px;
    top: 2px;
    transform: rotate(45deg);
}


.mark_item img:not(.star_icon) {
    width: 100%;
    /* border: 1px solid #cccccc1c; */
    /* max-height: 400px; */
    display: block;
    margin: 0;
    border-top: 0;
    border-radius: 5px 5px 0 0;
    border-bottom: 3px solid #0000004f;
}

a.image_title_link {
    border: 3px solid black;
    display: block;
    border-radius: 8px 8px 0 0;
    border-bottom: 0;
    position: relative;
    /* overflow: hidden; */
}


.mark_item a {
    /* margin: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    position: relative; */
}



.mark_item .mark_type {
    position: absolute;
    right: -2px;
    padding: 8px 9px 8px 42px;
    line-height: 1.5;
    border-radius: 11px 0 0 11px;
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    bottom: -5px;
    font-weight: normal;
    border-right: 0;
    z-index: 999999;
}


[data-mark-type="book"] {
    background: rgb(31 31 31) no-repeat url(/images/book_icon2.png) 6px;
    background-size: 24px;
    padding-left: 36px !important;
    border: 3px solid #999999;
}

[data-mark-type="video"] {
    background: rgb(83 0 0) no-repeat url(/images/video_icon.png) 6px;
    background-size: 26px;
    border: 3px solid red;
}

[data-mark-type="audio"] {
    background: rgb(191, 94, 94) no-repeat url(/images/video_icon.png) 6px;
    background-size: 26px;
    border: 3px solid red;
}

[data-mark-type="video-bookmark"] {
    background: rgb(83 0 0) no-repeat url(/images/video_icon.png) 6px;
    background-size: 26px;
    border: 3px solid red;
}

[data-mark-type="website"] {
    background: rgb(0 0 104) no-repeat url(/images/website_icon.png) 12px;
    background-size: 22px;
    border: 3px solid #999999;
}

[data-mark-type="image"] {
    background: rgb(0 0 104) no-repeat url(/images/website_icon.png) 12px;
    background-size: 22px;
    border: 3px solid #999999;
}

[data-mark-type="wikipedia"] {
    background: rgb(17 17 17) no-repeat url(/images/website_icon.png) 12px;
    background-size: 22px;
    border: 3px solid #999999;
}

[data-mark-type="webpage"], [data-mark-type="blogpost"] {
    background: rgb(0 0 104) no-repeat url(/images/webpage_icon.png) 12px;
    background-size: 22px;
    border: 3px solid #999999;
}

[data-mark-type="pdf"] {
    background: rgb(0 0 0) no-repeat url(/images/pdf_icon.png) 12px;
    background-size: 22px;
    border: 3px solid #999999;
}

[data-mark-type="word doc"], [data-mark-type="doc"], [data-mark-type="document"] {
    background: rgb(0 0 0) no-repeat url(/images/doc_icon.png) 12px;
    background-size: 16px;
    border: 3px solid #999999;
}


[data-mark-type="unknown"] {
    background: rgb(0 0 0 / 58%) no-repeat 12px;
    background-size: 22px;
    padding-left: 20px !important;
}

/* [data-mark-type="blog"] {
    padding-left: 17px !important;
} */

.video_duration {
    font-size: 12px;
    font-weight: normal;
    text-align: right;
    display: inline-block;
    position: absolute;
    bottom: 3px;
    right: 1px;
    background: #00000080;
    padding: 0px 10px;
    color: #ffffffe3;
    border: 1px solid #ffffffc4;
    border-radius: 0 0 4px 4px;
    border-top: 0;
}

.mark_item p {
    margin-bottom: 0;
    margin-top: 0;
    word-wrap: break-word;
    
}

.text_description {
    text-align: left;
    color: black;
    font-size: 15px;
    font-weight: normal;
    margin: 10px 5px 10px 4px;
    line-height: 1.35;
}

.text_description::empty {
    display: none;
}

.mark_item h1, .mark_item h2, .mark_item h3 {
    font-size: 20px !important;
    margin-bottom: 0;
}

.mark_item {
    padding-top: 0;
}

.mark_title {
    font-weight: bold;
}

h2.mark_title a {
    text-align: center;
}

.mark_item h1 + p, .mark_item h2 + p, .mark_item h3 + p {
    margin-top: 0;
}

/* .mark_item a {
    margin: 0;
    display: inline-block;
    max-width: 100%;
    overflow-wrap: break-word;
    position: relative;
} */

#pageSubtitle {
    /* text-align: center; */
    margin-top: 22px;
}

@media screen and (max-width: 480px) {
    #rss_page h1 {
        line-height: 1.4;
        font-size: 32px;
        padding: 28px 0;
    }

    #rss_page .subtitle {
        margin-top: 2px;
    }

    .mark_item {
        width: 100%;
        margin: 0;
        padding: 15px 0;
        border-width: 0;
    }

    .marks_section {
        margin-left: 0px;
    }

    .language_box {
        top: 0 !important;
    }
}

.text_description a {
    text-decoration: none !important;
    color: #b95f03;
}

.text_description p {
    margin: 10px 0;
}

.text_description {
    margin-top: 20px !important;
}

#pageDescription {
    margin-top: 15px;
    position: relative;
}

.vspacer {
    margin-top: 10px;
}


/* */

.rd-primary1 {
    padding: 1px 11px;
    margin: 0 auto !important;
    display: table !important;

    background: #e72929; /* #c2bcff */
    color: white !important;
}

.rd-primary2 {
    padding: 1px 11px;
    margin: 0 auto !important;
    display: table !important;

    background: #00800080;
    color: white !important;
}

.rd-secondary {
    padding: 1px 11px;
    margin: 0 auto !important;
    display: table !important;

    background: #ccbc95de;
    color: white !important;
}

.rd-bold {
    font-weight: bold;
}

.rd-highlight {
    background: rgba(255, 255, 0, 0.388);
    width: fit-content;
    display: block;
}



.marks_subtitle {
    margin-top: -5px;
    color: #2b2b2b;
    margin-left: 2px;
}

.mark_title_author {
    border: 3px solid black;
    display: block;
    border-radius: 0 0 5px 5px;
    color: black;
    border-top: 0;

    text-align: left;
    padding: 10px 13px;
}

.text_description {
    margin-top: 0px !important;
    border: 1px solid #ccc;
    padding: 10px;
    border-top: 0;
    border-radius: 0 0 5px 5px;
}

.mark_author {
    font-weight: 400 !important;
    color: #606060c9 !important;
    font-size: 12px !important;
}

.language_box {
    color: white;
    background-color: black;
    position: absolute;
    right: 0;
    padding: 2px 10px;

    top: -12px;
    border-radius: 2px;
    z-index: 1;
}

.language_box[data-lang="English"] {
    background-color: #4b036b;
}


.language_box[data-lang="Hindi"] {
    background-color: #047519;
}

.ibadge { /* i for importance */
    margin: 0 0;
    color: white;
    z-index: 2;
    position: absolute;
    font-size: 13px;
    font-weight: 300;
    padding: 5px 15px 5px;
    font-weight: 300;
    left: -3px;
    top: -17px;
    text-align: center;
    border-radius: 2px;
    font-family: tahoma;
}

.ibadge[data-type="excellent"] {
    background: rgb(219 0 0);

}

.ibadge[data-type="best"] {
    background: rgb(133, 5, 5);
    border: 1px solid #ffdc64;
}

/* .suffix-see {
    top: -18px;
} */

/* .mark_item {
} */


.translation_button {
    color: white;
    background-color: #cd0f0f;
    float: right;
    padding: 6px 10px 1px;
    font-size: 20px;
}

.translation_subtext {
    float: right;
    clear: right;
    margin-top: 6px;
    color: #a5a5a5;
    font-size: 14px;
}


.footer {
    background: black;
    color: white;
    padding: 14px;
}

.footer a {
    color: white;
    font-weight: bold;
}

/* [data-mark-type="video"] > a::before {
    content: " ";
    border: 3px solid red;
    background: white url(/images/video_icon3.png) no-repeat center center;
    width: calc(100% + 16px);
    height: 100%;
    position: absolute;
    left: -10px;
    top: 0px;
} */

.filter_links a {
    padding: 6px 18px;
    /* background-color: gray; */
    border: 1px solid #ccc;
    display: inline-block;
    border-radius: 5px;
    color: black;
    cursor: pointer;
}

.filter_links a.active {
    background-color: #c80101;
    color: white;

}

.filter_links {
    display: none;
    margin-top: 15px;
}

.filter_links .filters_label {
    display: inline-block;
    margin-right: 10px;
}

.no_results {
    margin-left: 20px;
}

p.end_of_page {
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid #ccc;
    padding-top: 14px;
}

a.view {
    background: black;
    padding: 10px;
    color: white;
    margin: 0 auto;
    display: block;
    width: fit-content;
    line-height: 5px;
    border: 2px solid red;
}

span.no_view {
    background: #ccc;
    padding: 4px 10px;
    display: block;
    width: fit-content;
    margin: 0 auto;
    color: white;
}

.page_title:first-child {
    margin-top: 20px !important;
}

.edit_link {
    color: white !important;
}

.star_icon {
    position: absolute;
    top: -27px;
    left: -16px;
    z-index: 99;
    /* transform: rotate(-19deg); */
    width: 30px;
}





/* Specific to this library */

.my-favourite-movies .mark_type {
    display: none;
}

.my-favourite-books .mark_type[data-mark-type="book"], .my-favourite-books .mark_type[data-mark-type="webpage"] {
    display: none;
}

/*** ***/
.linkify {
    color: #000087;
    font-weight: 600;
}

#nav a {
    font-weight: bold;
}