figure figure{
    width: 100% !important;
    height: 500px;
}
figure .flickity-viewport{
    width: 100%;
}
figure figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
img {
	width: 100%;
    height: 100%;
    object-fit: cover;
}
code {
	white-space: pre-wrap;
}
.useful_resources #ez-toc-container {
	display: none;
}
.useful_resources.container {
    max-width: 1100px;
    padding: 0 10px;
    margin: 44px auto 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.dot.is-selected{
    background: rgba(255, 81, 14, 1) !important;
}
.useful_resources h3{
    font-weight: 700;
    font-size: 16px;
    line-height: 23px;
    text-transform: capitalize;
    margin: 30px 0 8px;
    color: #333333;
}
.useful_resources h3 img {
    width: 40px !important;
    height: 8px;
    margin-right: 5px;
}
.useful_resources h1{
    font-weight: 700;
    font-size: 24px;
    line-height: 35px;
    text-transform: capitalize;
    color: #ff510e;
    margin-bottom: 0;
}
.useful_resources p, .useful_resources li, .useful_resources span, .useful_resources strong{
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #666;
    margin-bottom: 0;
}
.bt-theme-related{
    background-image: url("../css/images/banner-related.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-bottom: 90px;
    position: relative;
    min-height: 200px;
    padding: 24px;
    color: white;
}
.bt-theme-related > p{
    position: relative;
    z-index: 9;
}
.bt-theme-related:before {
    content: "";
    position: absolute;
    z-index: 1;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #004f70;
    opacity: .75;
}
.bt-theme-related h3 {
    font-weight: 700;
    font-size: 48px;
    line-height: 70px;
    text-transform: capitalize;
    color: #FFFFFF;
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 37px;
    margin-bottom: 19px;
}
.related-posts{
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px 60px;
    list-style: none;
    z-index: 2;

}
.bt-theme-related img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    min-width: 100%;
    max-height: 150px;
}
.bt-theme-related li{
    background: transparent !important;
    padding: 0;
    margin-right: 24px;
    width: calc((100% - 72px) / 4);
}
.bt-theme-related h4{
    font-weight: 700;
    font-size: 16px;
    line-height: 23px;
    text-transform: capitalize;
    color: #FFFFFF;
    margin: 10px 0 0;
    text-align: left;
}
.bt-theme-related h4:hover{
    color: #FF510E;
}
.container-theme {
    width: 1136px;
    max-width: 100%;
    padding: 0 28px;
    margin: 0 auto;
}
.flex {
    display: flex;
    flex-wrap: wrap;
}
.content-layout-new {
    margin-top: 100px;
}
.content-layout-new {
    justify-content: space-between;
}
.body-conent-tl-detail .left__content {
    width: calc(50% - 24px);
}
.body-conent-tl-detail .right-content {
    width: calc(50% - 24px);
}
.body-conent-tl-detail h1 {
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    margin: 0 0 32px;
}
.body-conent-tl-detail{
    margin-bottom: 90px;
}
.body-conent-tl-detail img{
    margin-bottom: 0px;
}
.body-conent-tl-detail h2{
    margin: 30px 0 5px;
    font-size: 32px;
    color:#333;
}
.body-conent-tl-detail .left__content p,
.body-conent-tl-detail .left__content li{
    font-size: 14px;
    color: #333;
    line-height: 2;
}
.form-new .wpcf7 {
    padding: 24px 32px 32px;
    border-radius: 16px;
    background: #fff;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .32);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .32);
}
.form-new h3 {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
    margin-top: 0;
}
.form-new .flex-form .title {
    margin-bottom: 4px;
    font-weight: 600;
}
.flex-form input[type="text"], .flex-form [type="email"], .flex-form select, .flex-form [type="tel"] {
    background-color: #F8F8F8;
    border: 1px solid #F8F8F8;
    padding: 10px 14px;
    border-radius: 6px;
    outline: none;
    width: 100%;
    -moz-appearance: none;
    -webkit-appearance: none;
    color: #2f2f2f;
    font-weight: 500;
    margin: 0;
}
.flex-form p {
    margin-bottom: 16px;
}
.form-new .flex-form .ttxt {
    font-size: 12px;
    font-weight: 300;
    line-height: 2;
    margin-top: 4px;
    display: inline-block;
}
.form-new input[type="submit"]{
    background-color:#ff510e;
    border:0;
    outline:none;
    font-weight:700;
    font-size:14px;
    line-height:20px;
    text-transform:capitalize;
    padding:10px 17px;
    color:#fff;
    border-radius:5px;
    text-align:left;
    background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMjQnIGhlaWdodD0nOScgdmlld0JveD0nMCAwIDI0IDknIGZpbGw9J25vbmUnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTTE4LjUgMUwyMi41IDQuNUwxOC41IDgnIHN0cm9rZT0nd2hpdGUnIHN0cm9rZS13aWR0aD0nMS41Jy8+PHBhdGggZD0nTTIyLjUgNC41SDEwLjUnIHN0cm9rZT0nd2hpdGUnIHN0cm9rZS13aWR0aD0nMS41Jy8+PHBhdGggZD0nTTEuNSAwVjgnIHN0cm9rZT0nd2hpdGUnIHN0cm9rZS13aWR0aD0nMS41Jy8+PC9zdmc+Cg==);
    background-repeat:no-repeat;
    background-position: calc(100% - 17px) 15px;
    width:220px;
    display: block;
    margin: 0 auto;
	cursor: pointer;
}

.single-2column {
    display: flex;
    max-width: 1230px;
    margin: 0 auto;
    padding: 50px 15px 0;
}
.l-layout.single-2column.detail .left-content {
    max-width: calc(100% - 300px);
}
.single-2column .l-layout--content {
    flex: 1 1 auto;
    padding: 0 30px 90px 0;
}
.c-list02 {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
}
.c-datecat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
}
.c-datecat .date {
    font-size: 16px;
    color: #656565;
    font-weight: 500;
    letter-spacing: .05em;
    margin-right: 20px;
}
.c-datecat a {
    display: inline-block;
    text-decoration: none;
    padding: 3px 8px 4px;
    margin: 2px 5px;
    font-weight: 500;
    color: #fff;
    background: #FF510E;
    letter-spacing: .05em;
    font-size: 12px;
    min-width: 85px;
    text-align: center;
    pointer-events: none;
    border-radius: 15px;
    word-break: break-word;
}
.title-img {
    width: 100%;
    margin-top: 25px;
}
.title-img h1 {
    margin-bottom: 10px;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
}
.title-img img {
    width: 100%;
    height: auto;
    margin: 10px 0 20px;
}
.top-date .post-content h2 {
    color: #FF510E;
    border-left: 10px solid #FF510E;
    background: #f4f4f4;
    padding: 6px 25px 10px;
    font-size: 28px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-radius: 10px;
    position: relative;
}
.top-date .post-content h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 10px;
}
.top-date .post-content p {
    margin-bottom: 16px;
    color: #262626;
}
.top-date .post-content ul {
    margin: 0 0 16px;
    padding-left: 32px;
}
.top-date .post-content ul li {
    color: #262626;
}
.top-date .post-content a {
    text-decoration: underline;
    color: #FF510E;
    font-weight: 500;
    word-break: break-word;
}
.l-layout.single-2column.detail .sidebars {
    background-color: white;
    padding: 22px 26px !important;
    border: 1.5px solid #ECECEC;
    border-radius: 10px;
    margin-top: 50px;
}
.sidebar.l-layout--sidebar.sidebars {
    flex: 0 0 300px;
    height: fit-content;
}
.sidebar h3 {
    font-size: 18px;
    color: #FF510E;
    margin: 0 0 6px;
}
.sidebar form {
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #FF510E;
    display: flex;
    align-items: center;
    position: relative;
}
.sidebar form input::placeholder {
    color: transparent;
}
.sidebar form label {
    position: absolute;
    left: 10px;
    font-size: 14px;
    display: none;
}
.sidebar form input {
    padding: 7px 10px;
    width: calc(100% - 34px);
}
.sidebar form button {
    font-weight: 500;
    color: #fff;
    background: #FF510E;
    font-size: 14px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid;
    padding: 7px 5px 8px;
}
.sidebar ul {
    margin: 0 0 15px;
    padding: 0 0 15px;
    border-bottom: 1px solid #FF510E;
}
.sidebar ul li {
    list-style: none;
}
.sidebar ul li a {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}
.sidebar ul li img {
    width: 99px;
    margin-right: 10px;
    height: auto;
}
.sidebar ul li h4 {
    width: calc(100% - 109px);
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    height: 40px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    color: #262626;
    margin: 0;
}
.top-date .theme-related_post {
    margin-top: 80px;
}
.top-date .theme-related_post ul {
    padding: 0;
    display: flex;
    width: 100%;
}
.top-date .theme-related_post ul li {
    min-height: 88px;
    background: white;
    border: 1px solid #ECECEC;
    margin: 0;
    list-style: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1px;
    text-transform: capitalize;
    width: 50%;
    position: relative;
    align-items: center;
    display: flex;
    justify-content: center;
}
.top-date .theme-related_post ul li:hover {
    border-color: #FFECE6;
    background: #FFECE6;
}
.top-date .theme-related_post ul li:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    transform: scaleX(-1);
    background-color: rgba(255, 81, 14, 0.6);
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='16' viewBox='0 0 8 16' fill='none'%3E%3Cpath d='M7 15L1.16667 8L7 1' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.top-date .theme-related_post ul li:nth-child(1):before {
    left: 0;
    transform: scaleX(1);
}
.top-date .theme-related_post ul li:nth-child(1) {
    border-right: 0;
}
.top-date .theme-related_post ul li a {
    color: #FF510E;
    font-weight: 500;
    word-break: break-word;
    width: 100%;
    text-align: center;
    padding: 0px 30px;
}
.top-date .theme-related_post ul li h4 {
    margin: 0;
}
@media(min-width: 1200px){
    .top-date .theme-related_post ul {
        justify-content: space-between;
        align-items: center;
    }
}
@media(max-width: 1199px){
    .useful_resources .post-content > .wp-block-columns{
        flex-direction: column;
    }
    .useful_resources .post-content > .wp-block-columns > div{
        width: 100%;
    }
    .useful_resources.container{
        margin-top: 24px;
        padding: 0 24px;
    }
    .useful_resources h1{
        font-size: 32px;
    }
    .useful_resources figure figure{
        height: auto;
    }
    .bt-theme-related h3{
        padding: 0;
        margin: 0 0 10px;
        font-size: 36px;
        line-height: 52px;
    }
    .bt-theme-related li{
        width: 60%;
        margin-right: 16px;
    }
    .bt-theme-related .related-posts{
        padding-bottom: 30px;
    }
    .content-layout-new{
        margin: 0;
        flex-direction: column;
        padding: 0 24px;
    }
    .body-conent-tl-detail .left__content,
    .body-conent-tl-detail .right-content{
        width: 100%;
    }
    .body-conent-tl-detail h1{
        font-size: 24px;
    }
    .body-conent-tl-detail h2{
        font-size: 24px;
    }
    .single-2column{
        padding: 24px;
        flex-direction: column;
    }
    .l-layout.single-2column.detail .left-content,
    .l-layout.single-2column.detail .sidebars{
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    .c-datecat .date {
        font-size: 13px;
        margin-right: 10px;
    }
    .title-img h1{
        font-size: 28px;
    }
    .top-date .post-content h2{
        padding: 6px 24px 6px;
        font-size: 20px;
    }
    .l-layout.single-2column.detail .left-content{
        font-size: 14px;
    }
    .top-date .theme-related_post ul li{
        padding-top: 12px;
        padding-bottom: 12px;
        min-height: 50px;
    }
}
