/* ######################## */
/* PAGE VIEW                */
/* ######################## */

/* 

   Created by: Jon Doe for r0n.cc
   Copyright Notice: This document is copyleft;

*/

/* ######################## */
/* NO JAVASCRIPT            */
/* ######################## */

.noJSimg
{
    min-height:400px;
}

/* ######################## */
/* CSS ITEM CONTAINER       */
/* ######################## */

.Item_Container
{
    list-style:none;
    display: grid;
    margin-left:2.5px;
    margin-right:2.5px;
    margin-top:5px;
}

.Item_Compartment
{
    margin-right:10px;
    width: calc(100% - 5px)!important;
}

.Item_Compartment_Format
{
    width: 100%; /* Adjust width to fit the parent container */
    max-width: 100%; /* Prevent horizontal overflow */
    overflow: hidden; /* Prevent content from spilling outside */
    display: block;
}

.Item_Compartment_Format li
{
    all: unset;
    display: grid;
    grid-template-columns:  auto;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

@media only screen and (min-width: 200px) and (max-width: 768px)
{

    .Item_Container
    {
        grid-template-columns:  auto;
    }

    .Item_Compartment
    {
        display: block;
        min-width: 100%!important;
    }

    .Item_Large_Title
    {
        font-size: 12px!important;
    }

    .Item_Views_Upload_Small
    {
        font-size: 10px;
    }

    .Video_Area
    {
        max-height:500px;
    }

}

@media only screen and (min-width: 769px) and (max-width: 1650px)
{
    .lr_padding
    {
        padding-left: 50px!important;
        padding-right: 50px!important;
        padding-top: 10px;
    }
}

@media only screen and (min-width: 1651px) and (max-width: 4000px)
{
    .lr_padding
    {
        padding-left: 100px!important;
        padding-right: 100px!important;
        padding-top: 20px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 4000px)
{

    .Item_Container
    {
        grid-template-columns:  auto 402px;
    }

    .List_Area li
    {
        font-size:12px!important;
    }

    .Item_Large_Title
    {
        font-size: 16px!important;
    }

    .Item_Owner
    {
        font-size:14px!important;
    }

    .Video_Area
    {
        max-height:700px;
    }

    .Image_Area
    {
        max-height: 700px;
    }

}

.Video_Area, .Book_Area, .JBook_Area, .News_Area, .Image_Area
{
    width:100%;
    max-width: 100%;
    height: auto; /* Maintain aspect ratio without forcing a height */
    overflow: hidden; /* Prevent content overflow */
}

.Audio_Area
{
    width:100%;
    max-width: 100%;
    overflow: hidden; /* Prevent content overflow */
}

.Image_Area
{
    text-align: center;
}

.Image_Area img
{
    margin-left: auto;
    margin-right: auto;
    max-height: 100%;
    min-height: 100%;
    max-width: 100%;
    min-width: 100%;
}

.Book_Area, .JBook_Area
{
    height: 600px;
    overflow: hidden!important;
}

.JBook_Area
{
    display: none;
}

video
{
    display:block;
    max-height: 720px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    background:black;
}

.Item_Details
{
    min-height: 15px;
}

.Item_Large_Title
{
    font-size: 18px;
    font-weight: bold;

}

/*--------------------------*/

.Item_Stats
{
    font-size: 12px;
    font-weight: bold;
    line-height: 20.5px;
    list-style: none;
    display: grid; /* Switch to CSS Grid */
    grid-template-columns: 36px 100px auto 128px 93px 36px; /* Define column structure */
    gap: 10px; /* Optional: space between items */
    padding: 10px 0 0 0;
    margin: 0;
}

.Item_Stats li
{
    height: auto !important;
    text-align: left; /* Optional: Center content horizontally */
}

.Item_Properties
{
    width: 100%!important;
}

.Item_Rating
{
    /*width: 93px!important;*/
}

.Item_Views_Upload
{
    display: block;
    min-width: 160px;
    line-height: 28px;
    font-size: 14px;
    color: #818181;
    font-weight: 400;
    margin-left: 10px;
}

.Item_Views_Upload_Small_Container
{
    flex-grow:0!important;
    flex-shrink:0!important;
}

.Item_Owner_Upload_Small_Container
{
    display: inline-flex;
}

.Item_Views_Upload_Small, .Item_Owner_Upload_Small
{
    vertical-align: top;
    /*height: 20px;*/
    font-size: 11px;
    line-height: 20px;
    color: #818181;
    font-weight: 400;
}

.Item_Views_Upload_Small, .Item_Owner_Upload_Small
{
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.Item_Rating_Format, .Item_Distribute_Format
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    /*height: 40px;*/
}

.Item_Rating_Format li
{
    /*flex-grow: 1;*/
    flex-shrink: 1;
    flex-basis: auto;
    list-style: none;
    display: inline-flex;
    width: 64px;
}

.Item_Distribute_Format li
{
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    list-style: none;
    display: inline-flex;
    margin-right: 10px;
}

.Item_Rating_True, .Item_Rating_False
{
    display: inline-flex;
    justify-content: center;  /* Horizontal centering */
    align-items: center;      /* Vertical centering */
    text-align: center;
    line-height: 36px;
    color: #818181;
}

.Item_Rating_True img, .Item_Rating_False img
{
    position: relative;
    margin-right: 5px;
    right: 0;
    left: 0;
}

.Item_Rating_True img, .Item_Rating_False img,
.Item_Distribute_Download img, .Item_Distribute_Share_Button img, .Item_Distribute_Menu_Save img
{
    width: 20px;
    height: 20px;
}

.Item_Rating_Digit, .Item_Share, .Item_Menu_Save
{
    place-items: center;  /* Centers content both horizontally and vertically */
    line-height: 36px;
}

.Item_Rating_Digit
{
    margin-left: 5px;
}

.Item_Share
{
    margin-left: 5px;
}

.Item_Menu_Save, .Item_Menu_Share
{
    margin-left: 10px;
}

@media only screen and (min-width: 200px) and (max-width: 768px)
{
    .Item_Stats
    {
        grid-template-columns: 36px 45px auto 100px 0px 36px; /* Define column structure */
        gap: 5px;
    }

    .Item_Share, .Item_Distribute_Share_Button
    {
        display: none!important;
    }

    .Item_Distribute_Share
    {
        display: block;
    }

    .Item_Distribute_Share_Button, .Item_Distribute_Menu_Button, .Item_Rating_False, .Item_Rating_True
    {
        height: 30px;
    }

    .Item_Rating_Format li
    {
        width: 50px!important;
    }

    .Item_Rating_True, .Item_Rating_False
    {
        width: 50px!important;
    }

    .Item_Rating_True img, .Item_Rating_False img, .Item_Distribute_Download img, .Item_Distribute_Menu_Share img, .Item_Distribute_Menu_Save img
    {
        width: 15px !important;
        height: 15px !important;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1650px)
{
    .Item_Distribute_Menu_Share
    {
        display: none!important;
    }
}

@media only screen and (min-width: 1651px) and (max-width: 4000px)
{
    .Item_Distribute_Menu_Share
    {
        display: none!important;
    }
}

/* ######################## */
/* ITEM DISTRIBUTE BUTTON   */
/* ######################## */

.Item_Distribute_Menu_Button, .Item_Distribute_Menu_Toggle_Label
{
    display: block;
    width: 36px; /* Width of the circle */
    height: 36px; /* Height should match width */
    border-radius: 50%; /* Makes the button circular */
    display: flex;
    align-items: center; /* Vertically centers the SVG */
    justify-content: center; /* Horizontally centers if needed */
}

.Item_Distribute_Menu_Button_SVG
{
    pointer-events: none; /* Disable mouse interactions */
}

.Item_Distribute_Share_Button, .Item_Distribute_Subscribe_Button
{
    width: 93px; /* Width of the circle */
    height: 36px; /* Height doesn't match width */
    border-radius: 50px; /* Makes the button rounded */
    display: flex;           /* Enable flexbox */
    justify-content: center; /* Center horizontally (if needed) */
    align-items: center;     /* Center vertically */
}

.Item_Rating_True, .Item_Rating_False
{
    width: 64px; /* Width of the circle */
    height: 36px; /* Height doesn't match width */
}

.Item_Rating_True
{
    border-top-left-radius: 20px; /* Round the top-left corner */
    border-bottom-left-radius: 20px; /* Round the bottom-left corner */
}

.Item_Rating_False
{
    border-top-right-radius: 20px; /* Round the top-right corner */
    border-bottom-right-radius: 20px; /* Round the bottom-right corner */
}

.Item_Distribute_Menu_Button:hover, .Item_Distribute_Share_Button:hover, .Item_Rating_True:hover, .Item_Rating_False:hover
{
    background: rgba(0, 0, 0, 0.25); /* Change color on hover */
}

.Item_Distribute_Menu_Button {
}

.Item_Distribute_Menu_Button img
{
    display: block;
}

.Item_Distribute_Share_Button img
{
    vertical-align: middle; /* Align image vertically in the middle */
}

/* The container <div> - needed to position the dropdown content */
.Item_Distribute_Menu_Drop_Down
{
    position: relative;
    float: right;
}

/* Dropdown Content (Hidden by Default) */
.Item_Distribute_Menu_Content
{
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10000;
    right: 0;
}

/* Links inside the dropdown */
.Item_Distribute_Menu_Content a
{
    font-size: 13px;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Hidden checkbox for toggle */
#Item_Distribute_Menu_Toggle
{
    display: none;
}

/* Show the dropdown when the checkbox is checked */
#Item_Distribute_Menu_Toggle:checked ~ .Item_Distribute_Menu_Content
{
    display: block;
}

/* Change color of dropdown links on hover */
.Item_Distribute_Menu_Content a:hover
{
    background-color: #f1f1f1;
}

/* Optional: Change the background color of the dropdown button when content is shown */
#Item_Distribute_Menu_Toggle:checked + label
{
    background-color: rgba(0, 0, 0, 0.1);
}

/* Show the dropdown menu on hover */
.Item_Distribute_Menu_Drop_Down:hover .Item_Distribute_Menu_Content, .Item_Distribute_Menu_Toggle_Label
{
    cursor: pointer; /* Display pointer on hover */
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.Item_Distribute_Menu_Drop_Down:hover .Item_Distribute_Menu_Button {
}

/*--------------------------*/

.List_Area
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    height:auto;
}

.List_Area li
{
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    list-style: none;
    cursor: pointer;
    font-size: 14px!important;
    font-weight: bold;
    margin:0px;
}

.List_Area li a
{
    display:block;
    position:relative;
    height: auto;
    padding:5px;
    color:#030303;
    /*border-bottom: solid thin #dfe1e5;*/
}

.List_Area li a:hover
{
    background: rgba(0, 0, 0, 0.25);
    transition: background-color 0.3s ease
}

.List_Area li:hover
{
}

.Item_Selection ul
{
    display: grid;
    grid-template-columns: 168px auto;
    height:100%;
    list-style: none;
}

.Item_Selection ul li
{

}

.Item_Thumb
{
    height: 94px;
    width: 168px;
}

.Item_Thumb img
{
    min-width: 100% !important;
    max-width: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    border:1px solid #dfe1e5;
}

.Book_Selection ul
{
    display: grid;
    grid-template-columns: 88px auto;
    height:100%;
    list-style: none;
}

.Book_Thumb
{
    height: 94px;
    width: 88px;
}

.Book_Thumb img
{
    min-height: 100% !important;
    max-height: 100% !important;
    border:1px solid #dfe1e5;
    width: inherit;
}

.Item_Title
{
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    padding-left:10px!important;
}

.Item_Title_Format
{
    display: -webkit-box!important;
    display: -webkit-flex!important;
    display: -moz-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
    flex-direction: column;
}

.Item_Title_Format li
{
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    list-style: none;
}

.Item_Title_Format_Txt
{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.Item_Owner
{
    font-size:14px;
    font-weight: 600;
    margin:0;
    line-height: 40px;
}

.Item_Owner_Thumb
{
    width: 36px;
    height: 36px;
}

.Item_Owner_Thumb_Small
{
    width: 20px;
    height: 20px;
}

/*--------------------------*/

.Item_Description_Box
{
    list-style: none;
    display: grid;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box; /* Include padding and border in width calculations */
}

.Item_Description_Box li
{
    margin: 0;
    padding: 0;
    width: 100%; /* Ensure they do not overflow horizontally */
}

.Item_Description_Box_Alpha
{
    width: 100%;
    overflow: hidden;
    margin-top: 10px!important;
    padding-bottom: 10px!important;
    border-bottom: 1px solid #dfe1e5!important;
}

.Item_Description_Box_Bravo
{
    margin-top: 10px!important;
    margin-bottom: 10px!important;
}

.Item_Description_Box_Charlie
{
    border-bottom: 1px solid #dfe1e5!important;
}

.Item_Description
{
    height:auto;
    min-height: 0px;
    display: block;
    font-size:14px!important;
    overflow: hidden;
}

.Item_Description a
{
    all: unset;
    display: inline; /* Reapply inline behavior */
    color: blue; /* Default browser link color */
    text-decoration: underline; /* Default browser link decoration */
    cursor: pointer; /* Ensure it looks clickable */
}

.Item_Description_Info
{
    list-style: none;
    display: grid;
    grid-template-columns: 160px auto;
    height: auto;
}

.Item_Description_Info li
{
    all: unset;
}

.Item_Description_Info li img
{
    display: block;
    height: 40px;
    width: 40px;
}

/*--------------------------*/

.Item_Description p
{
    padding-bottom:1px;
}

.Item_Description_Nav
{
    text-align: center;
    padding:0px!important;
}

.Item_Description_Nav:hover
{
    cursor: pointer;
}

.Item_Description_Nav img
{
    width:10px;
    height:10px;
}

/*--------------------------*/

.Item_Comments_Form
{
    display: grid;
    grid-template-columns: auto 40px;
}

.Item_Comments_Text
{
    width: calc(100% - 5px);
    max-width: 100%;
    height: 30px;
    resize: none;
    overflow: auto;
    white-space: nowrap;
    outline: none;
    background: transparent;
    border-style: none;
    border-color: transparent;
    border-bottom:1px solid #dfe1e5;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 10px;
}

.Item_Comments_Button
{
    font-size: 13px;
    padding: 5px;
    height: 30px;
    float: none;
    cursor: pointer;
}

/*--------------------------*/

.Item_Comments
{
    margin-top: 10px;
    display: -webkit-box!important;
    display: -webkit-flex!important;
    display: -moz-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
    flex-direction: column;
}

.Item_Comments li
{
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    list-style: none;
    margin-bottom: 10px;
}

/*--------------------------*/

.Comment_Format {
    display: flex;           /* Children align horizontally */
    align-items: flex-start; /* Top-align image and body */
    gap: 10px;               /* Space between image and body */
    list-style: none;        /* Remove bullets */
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.Comment_Image {
    flex: 0 0 40px;          /* Fixed width */
    height: 40px;            /* Fixed height */
}

.Comment_Image img {
    width: 40px;
    height: 40px;
    object-fit: cover;       /* Keep image aspect ratio */
    border-radius: 50%;      /* Optional: circular */
}

.Comment_Body {
    flex: 1;                 /* Take remaining horizontal space */
    display: block;          /* Let content flow naturally */
}

.Comment_Username {
    font-weight: bold;
    margin-bottom: 5px;
}

.Comment_Message {
    line-height: 1.4;
}

/* ######################## */
/* PDF OBJECT               */
/* ######################## */

.pdfobject-container
{
    background: #4c4944;
}
