/* Typeface reset */
html {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.3;
}

/* Browser form style reset */
input:focus,
textarea:focus,
select:focus{
    outline: none;
}

/* Content Heading */
.content h1,
.content h2,
.content h3 {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Content List */
.content ul,
.content ol {
    margin-left: 2rem;
}

.content ul,
.content ol ul {
    list-style-type: disc !important;
}

.content ol,
.content ul ol {
    list-style-type: decimal !important;
}

/* Background style */
.bg-primary,
.hover-bg-primary:hover {
    background: #4c16a7;
}

.bg-semantic,
.hover-bg-semantic:hover {
    background: #300e6a;
}

.bg-yellow,
.hover-bg-yellow:hover {
    background: #f7c531;
}

/* Text style */
.text-primary,
.hover-text-primary:hover {
    color: #4c16a7;
}

.text-semantic,
.hover-text-semantic:hover {
    color: #300e6a;
}

.text-yellow,
.hover-text-yellow:hover {
    color: #f7c531;
}

/* Border style */
.border-primary,
.hover-border-primary:hover {
    border: 1px solid #4c16a7;
}

u.underline-yellow {
    text-decoration-color: #f7c531 !important;
    text-decoration-thickness: 3px;
}

/* Card style */
.bg-neutral {
    background: #ECE9E2;
}

/* Uay Button */
.text-uay {
    color: #808080;
}

.bg-uay {
    background-color: #B7A57A;
}

.border-sides {
    border-left: 4px solid rgba(0,0,0,0.3);
}

.minus-lg {
    position: relative;
    height: 1px;
    width: 340px;
    background-color: rgba(26, 3, 3, 0.2);
}

.minus-sm {
    position: relative;
    height: 1px;
    width: 100px;
    background-color: rgba(26, 3, 3, 0.2);
}

.minus-color {
    position: relative;
    height: 1px;
    width: 100px;
    background-color: rgba(212, 123, 21, 0.74);
}

.bg-campus {
    background: url(../images/news-images.jpg) no-repeat center center fixed #6b6b6b;
    background-size: cover;
}

#uay .item img{
    display: block;
    width:  300%;
    height: auto;
}

h2, h2>i {
    font-family: "Encode Sans Compressed",sans-serif;
    font-weight: 700;
    font-size: 22px;
}

/* Custom style */
.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wrapper {
    max-width: 400px;
    margin: 30px auto;
}

.character {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}

.post-gallery h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.main-content table {
    border-collapse: collapse;
    margin: 0.75rem;
}

.main-content table td,tr,th {
    border: 1px solid #000000;
    padding: 0.35rem;
    margin: 0.25rem;
}

.main-content ul {
    margin-left: 2rem;
}

.main-content ul,
    ol ul {
    list-style-type: disc;
}

.main-content ol {
    margin-left: 2rem;
}

.main-content ol,
    ul ol {
    list-style-type: decimal;
}

.main-content a {
    color: blue;
}

.post-gallery button{
    border-width: 2px;
    --tw-border-opacity: 1;
    border-color: rgb(243 244 246 / var(--tw-border-opacity));
    --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    grid-row-start: 1;
}

.gallery-grid{
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid figure{
    display: block;
    width: 100%;
    transition-property: box-shadow;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(209 213 219 / var(--tw-border-opacity));
    border-radius: 0.25rem;
    cursor: pointer;
}

.gallery-grid figure:hover{
    --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.gallery-container{
    margin-top: -2.5rem;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 50;
    display: grid;
    background-color: rgb(0 0 0 / var(--tw-bg-opacity));
    --tw-bg-opacity: 0.75;
    place-items: center;
    padding: 1.5rem;
}

.gallery-container img{
    margin-top: -10rem;
    display: block;
    -o-object-fit: contain;
    object-fit: contain;
    width: auto;
    height: 75%;
    border-radius: 0.5rem;
}

.attachment blockquote{
    border-left-width: 4px;
    --tw-border-opacity: 1;
    border-color: rgb(107 33 168 / var(--tw-border-opacity));
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.attachment blockquote h6{
    font-weight: 700;
    --tw-text-opacity: 1;
    color: rgb(0 0 0 / var(--tw-text-opacity));
    margin-bottom: 1rem;
}

.attachment blockquote a{
    font-weight: 400;
    --tw-text-opacity: 1;
    color: rgb(55 65 81 / var(--tw-text-opacity));
}

.attachment blockquote a:hover{
    --tw-text-opacity: 1;
    color: rgb(245 158 11 / var(--tw-text-opacity));
}

.italic {
    font-style: italic;
}

#backtotop{
    font-size: 1rem;
    line-height: 1.25rem;
    text-align: center;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
    --tw-bg-opacity: 1;
    background-color: #ffa710;
}

#backtotop:hover{
    --tw-bg-opacity: 1;
    background-color: #f7c531;
}

#backtotop{
    border-radius: 50%;
    padding: 0.75rem;
    display: none;
    position: fixed;
    height: 50px;
    width: 50px;
    bottom: 20px;
    right: 30px;
    z-index: 99;
}