/*
Theme Name: TryRollingCentral
Text Domain : TryRollingCentral
Version: 0.41
Description: TryRolling main theme
Tags: tryrolling, fancy
Author: Joseph McHale
*/

:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #ee3577;
    --red: #dc3545;
    --orange: #f68e62;
    --yellow: #ffc107;
    --green: #28a745;
    --darkgreen: #1d7531;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #767575;
    --gray-dark: #434242;
    --primary: #434242;
    --secondary: #4f4f4f;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #c2c2c2;
    --lightgray: #eeeeee;
    --dark: #434242;
    --tryrollinggray: #dbdbdb;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    /* Font Sizes */
    --font-normal: 1em;
    --font-small: 0.8125rem;
    /* Sidebar */
    --sidebar-width: 280px;
    --content-max-width: 860px;
    --header-font-family: 'Caprasimo', sans-serif; /* Set Caprasimo as the default header font */
}

*,
*::before,
*::after {
    box-sizing: border-box
}

hr {
    border-top: 1px solid rgb(213 213 213);
}
html {
    line-height: 1.15;
}
body {
    color: #fff;
    overflow-x: hidden
}
a{
    color: #ff8244;
}
a:hover {
    color: #d56730;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font-family);
}

h1,
h2,
h3 {
    color: #ff7373;
}
h4 {
    color: #ff7373;
}
h5 {
    color: #ff7373;
}
h6 {
    color: var(--gray-dark);
    font-weight: bold
}

.animated-gif-small {
    max-width:50px;
    height:auto;
    margin-top:auto;
    margin-bottom:auto;
    display: none;
}

.animated-gif-large {
    width:140px;
    height:auto;
    margin-top:auto;
    margin-bottom:1vw;
}

.btn {
    font-weight: bold;
    padding: .375rem 1rem;
    height: 2.75rem;
    transition: all 0.4s ease-in-out
}


.btn:focus,
.btn.focus {
    box-shadow: none !important
}

.btn-primary {
    color: #fff
}

.form-control {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    height: 2.75rem;
    border-color: var(--light)
}

.theme-bg-light {
    background: #6d6d6d !important
}

.theme-bg-dark {
    background: var(--dark) !important
}

.header {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: var(--primary);
    color: #fff;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
}
.header .site-title {
    color:var(--white);
    font-size:1.2em;
    display:block;
}

.header .btn-primary {
    background: rgba(0, 0, 0, 0.3);
    border-color: transparent;
    font-size: 1rem;
    padding-top: 0.5rem
}

.header .btn-primary:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: transparent
}

.header .navbar {
    padding: 2rem 1rem;
    flex:1 1 auto;
    min-height:0;               /* critical for flex scroll containers */
    overflow-y:auto;
    overflow-x:hidden;
}

.header .navbar-dark .navbar-toggler {
    border: none;
    padding: .25rem .6rem
}

.header .navbar-dark .navbar-toggler:hover {
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1
}

.header .navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(256,256,256, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.header .nav-item {
    font-weight: bold
}

.header .nav-item.active .nav-link {
    color: rgba(0, 0, 0, 0.5)
}

.header .nav-item.active .nav-link:hover {
    text-decoration: none
}

.header .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.8)
}

.header .nav-item .nav-link:hover {
    text-decoration: underline;
    color: rgba(0, 0, 0, 0.6)
}
.logo{
    width:78px;
}
.social-list a {
    width: 32px;
    height: 32px;
    padding-top: 5px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
    background-color: #626262
}

.social-list a:hover {
    color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.8)
}

.main-wrapper {
    margin-left: var(--sidebar-width);
    background: #fff;
}

.main-wrapper .container {
    max-width: var(--content-max-width);
}
.page-title {
    /*position:sticky;*/
    top:0;
    z-index:9999;
    transition:all .2s;
}
.sticky{
    padding:1em 0 !important;
}
.page-title .heading {
    font-size: 2rem;
    font-weight: bold;
    color:white;
}

.bottom-header {
    margin-top: auto;
}

.footer {
    color: rgba(255, 255, 255, 0.7)
}

.footer a {
    color: #fff
}

.gradient{
    background: rgb(43,43,43);
}

.content .post .title {
    font-size: 1.275rem
}

.content .post .title a {
    color: var(--gray-dark)
}

.content .post .title a:hover {
    color: var(--gray-dark)
}

.content .post .post-thumb {
    max-width: 160px;
    border-radius: 2px
}

.content .post .intro {
    font-size: 0.875rem
}

.content .post .more-link {
    font-size: var(--font-small);
}

.meta {
    color: #8f8f8f;
    font-size: var(--font-small);
}

.meta span {
    display: inline-block;
    margin-right:.25em;
}

.meta span a {
    color: #8f8f8f
}
.meta span.tag {
    background-color: var(--lightgray);
    padding:0 .5em;
    border-radius:5px;
}
.meta span a:hover {
    color: var(--secondary)
}



.meta span:last-child:after {
    display: none
}

.blog-nav .nav-link {
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    padding: 1rem;
    font-weight: bold;
    position: relative
}

.blog-nav .nav-link:hover {
    background: var(--secondary);
}

.blog-nav .nav-link-prev {
    border-right: 1px solid var(--secondary);
}

.blog-nav .arrow-prev {
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    color: #fff
}

.blog-nav .arrow-next {
    position: absolute;
    right: 1rem;
    top: 1.25rem;
    color: #fff
}

.content .title {
    font-weight: bold;
    font-size: 2rem
}

.content .content-body p,
.content .content-body li {
    font-size: 1.125rem;
    line-height: 1.6
}

.content .content-body h1 {
    font-size: 2.125rem
}

.content .content-body h2 {
    font-size: 2rem
}

.content .content-body h3 {
    font-size: 1.75rem
}

.content .content-body h4 {
    font-size: 1.5rem
}

.content .content-body h5 {
    font-size: 1.25rem
}

.content .content-body h6 {
    font-size: 1.125rem
}

.content .image-caption {
    color: #8f8f8f;
    font-size: 0.875rem
}

.content .image-caption a {
    color: #8f8f8f;
    text-decoration: underline
}

.content .image-caption a:hover {
    color: var(--secondary)
}

.content .blockquote {
    font-family: Georgia, "Times New Roman", Times, serif;
    border-left: 2px solid var(--gray-dark);
    font-size: 1.5rem
}

.content .blockquote p {
    font-size: 1.5rem
}

@media (prefers-reduced-motion: reduce) {
    .social-list a {
        transition: none
    }
    .btn {
        transition: none
    }
}

@media (max-width: 768px) {

    .header .navbar-dark .navbar-toggler-icon {
        height: 20px !important;
    }
    .header .navbar {
        padding: 0.5rem !important;
    }

    .animated-gif-small {
        position: fixed;
        top: 10px;
        right: 10px;
        max-width: 30px !important;
        height: auto;
        z-index: 1000; 
        display: block;
    }

    .posts-wrapper.bookshelf .post-item {
        width: calc(50% - 2.5rem) !important;
    }
    
    .posts-wrapper.one-column .post-item {
        height: 400px !important;
    }
}

@media (max-width: 480px) {
    .posts-wrapper.bookshelf .post-item {
        width: 100% !important;
    }
}

@media (max-width: 991.98px) {
    .page-title {
        position:static;
    }

    .page-title .heading {
        font-size: 1.2rem;
    }

    body{
        font-size: 0.75rem;
    }

    .pb-5, .py-5 {
        padding-bottom: 1rem !important;
    }

    .pt-5, .py-5 {
        padding-top: 1rem !important;
    }

    .content-wrapper {
        padding: 20px !important;
    }

    .header {
        position: sticky;
        width: inherit;
        height: auto;
        font-size: 0.8rem;
    }

    .header .site-title {
        width: 100%;
        position: absolute;
        left: 0;
        top: 1.2rem;
        color:var(--white);
        font-size:1.5em;
        display:block;
    }

    .header .btn-primary {
        width: 100%
    }

    .header .navbar {
        padding: 1rem
    }

    .main-wrapper {
        margin-left: 0
    }

    .custom-logo{
        display:none;
    }

    .navbar-nav li {
        cursor: pointer;
        padding: 0px !important;
        margin: 2px;
    }

    .social-list {
        display: none;
    }

    .animated-gif-small {
        position: fixed;
        top: 10px;
        right: 10px;
        max-width: 50px;
        height: auto;
        z-index: 1000; 
        display: block;
    }

    .animated-gif-large { 
        display: none;
    }

    .slide img {
        height: 50% !important; 
    }

    .slide h3 {
        font-size: 4vw;
    }
}
    




/* -------------------------------------------------------------------------- */
/*	12. Comments
/* -------------------------------------------------------------------------- */


/* Comment Headers ----------------------------- */

.comments-wrapper {
	margin-top: 3rem;
}

.comment-reply-title {
	margin: 0 0 4rem 0;
	text-align: center;
}


/* Comment Item ----------------------------- */

/* COMMENT HEADER */

.comments .comment,
.comments .pingback,
.comments .trackback,
.comments .review {
	padding-top: 3.5rem;
}

div.comment:first-of-type {
	margin-top: 3.5rem;
	padding-top: 0;
}

.comments .comments-header + div {
	margin-top: 0;
	padding-top: 0;
}

.comment-body {
	position: relative;
}

.comment .comment {
	padding-left: 5%;
}

.comment-meta {
	line-height: 1.1;
	margin-bottom: 0;
	min-height: 5rem;
	padding-left: 5rem;
	position: relative;
}

.hide-avatars .comment-meta {
	min-height: 0;
	padding-left: 0;
}

.comment-meta a {
	color: inherit;
}

.comment-author {
	font-size: 1.8rem;
	font-weight: 700;
	letter-spacing: -0.027777778em;
}

.comment-author a {
	text-decoration: underline;
}

.comment-author a:hover,
.comment-author a:focus {
	text-decoration: none;
}

.comment-meta .avatar {
	height: 4rem;
	position: absolute;
	left: 0;
	top: 0;
	width: 4rem;
}

.comment-author .url {
	text-decoration: underline;
}

.comment-metadata {
	color: var(--gray);
	font-size: var(--font-small);
	font-weight: 500;
	margin-top: 0.6rem;
}

.comment-metadata a {
	text-decoration: none;
}

.comment-metadata a:focus,
.comment-metadata a:hover {
	text-decoration: underline;
}


/* COMMENT CONTENT */

.comment-content.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    width: 100%;
    background-color:var(--lightgray);
    padding:.5em;
}

.comment-content.entry-content .alignleft {

	/*rtl:ignore*/
	margin-left: 0;
}

.comment-content.entry-content .alignright {

	/*rtl:ignore*/
	margin-right: 0;
}

/* COMMENT FOOTER */

.comment-footer-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: var(--font-small);
	font-weight: 600;
	justify-content: flex-start;
	letter-spacing: 0.030833333em;
	line-height: 1;
	margin: 1.5rem 0 -1rem -1.5rem;
	text-transform: uppercase;
}

.comment-footer-meta > * {
	margin: 0 0 1rem 1.5rem;
}

.comment-reply-link {
    background-color: var(--primary);
    border-radius:2px;
	color: #fff;
	display: block;
	padding: 0.7rem;
}

.bypostauthor .comment-footer-meta .by-post-author {
	display: block;
}

.comment-footer-meta a {
	text-decoration: none;
}

.comment-footer-meta a:focus,
.comment-footer-meta a:hover {
	text-decoration: underline;
}


/* Pingbacks & Trackbacks ------------------------- */

.pingback .comment-meta,
.trackback .comment-meta {
	padding-left: 0;
}


/* Comments Pagination ---------------------------- */

.comments-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 6rem;
	text-align: center;
}

.comments-pagination.only-next {
	justify-content: flex-end;
}

.comments-pagination .page-numbers {
	display: none;
	text-decoration: none;
}

.comments-pagination .page-numbers:focus,
.comments-pagination .page-numbers:hover {
	text-decoration: underline;
}

.comments-pagination .prev,
.comments-pagination .next {
	display: block;
}

.comments-pagination .prev {
	left: 0;
}

.comments-pagination .next {
	right: 0;
	text-align: right;
}


/* Comment Respond ---------------------------- */

.comment-respond::after {
	clear: both;
	content: "";
	display: block;
}

.comment-respond .comment-notes,
.comment-respond .logged-in-as {
	color: #6d6d6d;
	font-size: 1.6rem;
	line-height: 1.4;
	margin: -3rem 0 4rem 0;
	text-align: center;
}

.comment-respond .comment-notes a,
.comment-respond .logged-in-as a {
	color: inherit;
	text-decoration: none;
}

.comment-respond .comment-notes a:focus,
.comment-respond .comment-notes a:hover,
.comment-respond .logged-in-as a:focus,
.comment-respond .logged-in-as a:hover {
	text-decoration: underline;
}

.comment-respond p {
	line-height: 1.1;
	margin-bottom: 2rem;
	margin-right: auto;
}

.comment-respond p:not(.comment-notes) {
	max-width: 58rem;
}

.comment-form-cookies-consent {
	align-items: baseline;
	display: flex;
}

.comment-respond > p:last-of-type {
	margin-bottom: 0;
}

.comment-respond label {
	display: block;
}

.comment-respond input[type="checkbox"] + label {
	font-size: 1.5rem;
	line-height: 1.25;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond textarea {
	margin-bottom: 0;
}

.comment-respond textarea {
	height: 15rem;
}

.comment-respond #submit {
	display: block;
}

.comment-respond .comments-closed {
	text-align: center;
}


/* Reply Respond ---------------------------- */

.comments .comment-respond {
	padding: 3rem 0 0;
}

.comments .comment-respond .comment-reply-title,
.comments .comment-respond .comment-notes,
.comments .comment-respond .logged-in-as {
	text-align: left;
}

.comment-reply-title small {
	display: block;
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: -0.0277em;
	margin: 0.5rem 0 0 0;
	white-space: nowrap;
}

.comment-reply-title small a {
	text-decoration: none;
}

.comment-reply-title small a:focus,
.comment-reply-title small a:hover {
	text-decoration: underline;
}

/* LATEST POSTS CUSTOMISATIONS. Should only affect home page */

/* LATEST POSTS CUSTOMISATIONS */
.posts-wrapper {
    display: flex;
    /*background: var(--lightgray);*/
    flex-wrap: wrap;
    gap: 0px;
}

/* One column layout */
.posts-wrapper.one-column .post-item {
    width: 100%;
    background-size: cover;
    background-position: center;
    color: #fff; /* Ensure the text is visible over the image */
    /*padding: 20px; */
    box-shadow: 2px 2px 8px 2px rgb(0 0 0 / 40%);
    border: 1px solid #ddd;
    box-sizing: border-box;
    margin: 20px;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: flex-end; /* Align content to the bottom */
    height: 600px; /* Set a fixed height */
    position: relative;
    overflow: hidden;
}

.posts-wrapper.one-column .post-item .post-content {
    background: linear-gradient(to bottom, rgb(0 0 0 / 0%), rgb(0 0 0 / 80%));
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    flex: auto;
    align-content: flex-end;
}

.posts-wrapper.one-column .post-item .entry-title a {
    color: #e1e1e1; /* Replace with your desired color */
    text-decoration: none; /* Optional: Remove underline */
}

/* Two columns layout */
.posts-wrapper.two-columns .post-item {
    width: calc(50% - 2.5rem);
    background-size: cover;
    background-position: center;
    color: #fff; /* Ensure the text is visible over the image */
    /*padding: 20px; */
    box-shadow: 2px 2px 8px 2px rgb(0 0 0 / 40%);
    border: 1px solid #ddd;
    box-sizing: border-box;
    margin: 20px;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: flex-end; /* Align content to the bottom */
    height: 300px; /* Set a fixed height */
    position: relative;
    overflow: hidden;
}

.posts-wrapper.two-columns .post-item .post-content {
    background: linear-gradient(to bottom, rgb(0 0 0 / 0%), rgb(0 0 0 / 80%));
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    flex: auto;
    align-content: flex-end;
}

.posts-wrapper.two-columns .post-item .entry-title a {
    color: #e1e1e1; /* Replace with your desired color */
    text-decoration: none; /* Optional: Remove underline */
}

.post-link-wrapper {
    text-decoration: none;
    color: inherit; /* Ensures the text color is inherited */
    width: 100%;
    height: 100%;
}

.post-link-wrapper .post-item {
    cursor: pointer;
}

/* "bookshelf" layout with multiple titles showed in a portrait fashion */
.posts-wrapper.bookshelf .post-item {
    width: calc(33% - 2.5rem);
    background: #cd6f6f;
    /*padding: 20px;*/
    box-shadow: 2px 2px 8px 2px rgb(0 0 0 / 40%);
    box-sizing: border-box;
    margin: 20px;
    border-top: 30px solid #cd6f6f;
    border-right: 2px solid #cd6f6f;
    border-left: 2px solid #cd6f6f;
    border-radius: 10px;
    /*display: flex;
    flex-direction: row;
    align-items: center;*/
}

/* start of bookshelf section */
.post-item.portrait {
    position: relative;
    overflow: hidden;
}

.post-item.portrait .post-thumbnail {
    position: relative;
    padding-top: 150%; /* This controls the aspect ratio (portrait) */
    background-size: cover;
    background-position: center;
    margin-right: 0 !important;
    margin-bottom: 15px !important;
}

.post-item.portrait .post-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit; /* Ensure title uses the current text color */
}

.post-item.portrait .entry-title {
    color: white; /* Change as necessary */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for better visibility */
    padding: 0.5em;
    text-align: center;
    margin: 0;
    width: 100%;
}
/* end of bookshelf section */


.post-thumbnail {
    flex: 0 0 40%;
    margin-right: 20px;
    order: 0;
}

.article-image.post-thumbnail {
    margin-right: 0px !important; 
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
}

.post-content {
    order: 1;
    flex: 1;
}

.entry-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.entry-content {
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #a4d7ef;
}

.full-page .post-thumbnail img {
    width: 100%;
    height: auto;
    margin-bottom: 0px; /* Adds space below the image */
}

@media screen and (max-width: 768px) {
    .posts-wrapper.two-columns .post-item {
        width: 100%;
        flex-direction: column;
    }

    .post-thumbnail {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/*for custom logo*/
.custom-logo {
    max-width: 70%;
    height: auto;
    padding-bottom: 2rem;
}

.custom-logo-link {
    display: inline-block;
}

/*single page CSS */
.content-wrapper{
    width: 100%;
    background: #6d6d6d;
    padding: 40px;
    box-shadow: 3px 3px 10px 2px rgb(0 0 0 / 40%);
    border: 1px solid #ddd;
    box-sizing: border-box;
    margin-bottom: 3rem;
}

/*changing default wordpress figure caption because it doesn't center properly*/
.wp-block-image figcaption {
    text-wrap: pretty !important;
}

.navbar-nav {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: center;
    margin-bottom: 1vw;
}

.navbar-nav li a {
    display: block; 
    color: var(--tryrollinggray);
    font-family: var(--header-font-family);
}

/*have the stop the link going blue when hovered*/
.navbar-nav li a:hover {
    color: var(--tryrollinggray);
    text-decoration: none;
}

.navbar-nav li {
    cursor: pointer;
    padding: 5px;
    margin: 2px;
}

.navbar-nav li:hover {
    background-color: #676666;
    border-radius: 10px; 
}

.heading-section{
    padding: 20px;
    background: #6d6d6d;
    margin-bottom: 0px;
    color: #fff;
}

.read-more-category{
    background: #6d6d6d;
    padding: 10px;
    margin-bottom: 20px;
}

#post-slider {
    width: 100%;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    position: relative;
    min-width: 100%;
    overflow: hidden; /* Hides any part of the image that overflows the container */
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
    align-items: center; /* Centers the content vertically */
    justify-content: center; /* Centers the content horizontally */
}

.slide h3 {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Ensure it's centered on both axes */
    color: white; /* Make text color white */
    text-align: center; /* Align text to be centered */
    width: 80%; /* Span the full width of the slide */
    margin: 0; /* Remove any default margin */
    padding: 0; /* Remove any default padding */
    z-index: 10; /* Ensure it's above the image */
    background-color: rgb(0 0 0 / 60%);
}

.slide img {
    max-width: 100%;
    height: 400px;
    object-fit: cover; /* Ensures the image covers the area, cropping it as necessary */
    object-position: center center; /* Focuses the cropping on the central part of the image */
}

#post-slider a {
    color: inherit; /* Keeps the text color the same as the rest of the slide */
    text-decoration: none; /* Removes underline from links */
    display: block; /* Makes the entire area of the slide clickable */
}

/* DARK MODE */
body.dark-mode .pt-cv-view {
    background-color: #a3a3a3;
    padding: 4vw;
    padding-bottom: 1vw;
    padding-top: 2vw;
}

body.dark-mode .full-page {
    background-color: #a3a3a3;
}

body.dark-mode .pt-cv-content-item {
    background-color: #e3e3e3;
}