* {
    scrollbar-width: thin;
}
h1,
h2,
h3,
h4,
h5,
p {
    margin: 0;
}
a {
    text-decoration: none;
    color: inherit;
}
body {
    background-color: #fefefe;
}
.main-body {
    padding-top: 5%;
    width: 100%;
    max-width: 1260px;
    margin-right: auto;
    margin-left: auto;
}
.blg-main-cont {
    box-sizing: border-box;
    width: 90%;
}
.blg-main-cont h1,
.blg-main-cont h2,
.blg-main-cont h3,
.blg-main-cont h4,
.blg-main-cont h5,
.blg-main-cont p,
.blg-main-cont span,
.blg-main-cont label {
    font-family: Roboto, sans-serif !important;
}
.blog {
    background-color: #fefefe;
}
.nv {
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.7px;
    text-transform: none;
}
.brd-nv {
    color: #245e8a;
}
.brd-nv::after {
    display: inline-block;
    content: "";
    margin: 0 15px 0 4px;
    border: solid #2e2e2e;
    border-width: 0 1px 1px 0;
    padding: 3px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    position: relative;
    top: 0px;
    right: -4px;
}
.m.title,
.m.sub-title {
    text-align: justify;
}
.title {
    font-size: 42px;
    font-weight: 900;
    line-height: 47px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.sub-title {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 12px;
}
.pst-by {
    font-size: 12px;
}
.blog-container {
    display: flex;
    justify-content: space-between;
}
.main-blog .content {
    font-size: 18px;
    display: inline;
    line-height: 29px;
    color: #2e2e2e;
    font-weight: 400;
    letter-spacing: 0;
}
.main-blog .content a {
    color: revert;
    text-decoration: underline;
}
.sidebar {
    position: relative;
    padding-top: 8%;
}
.blog-sidebar {
    margin-top: 10px;
    position: relative;
    width: 300px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    padding: 0 10px;
}
.blog-search {
    height: 34px;
    display: flex;
    margin-top: 5px;
}
.blog-container .blog-search input {
    border: solid 1px black;
    height: 100%;
    width: 100%;
}
.blog-container .blog-search button {
    border-radius: 0 !important;
    transform: scale(1) !important;
}
.blog-sidebar .cards {
    background-color: white;
    display: flex;
    align-items: center;
    max-width: 350px;
    padding: 15px 0 20px;
    border-bottom: solid rgba(0, 0, 0, 0.5) 1px;
}
.blog-sidebar .cards .img {
    max-width: 100px;
    height: 100%;
    margin-right: 10px;
}
.blog-sidebar .cards .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.blog-sidebar .blog-detail {
    font-size: 0.8rem;
}
.blog-detail:hover {
    color: #8fb300;
}
.blog-card {
    position: relative;
}
.blog-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #f0f0f0;
    width: 750px;
    height: 403px;
}
.blog-thumb img {
    height: 100%;
}
.blog-details {
    margin-top: 10px;
    padding: 5px 10px;
    width: 750px;
}

#blogCreator {
    margin-top: 5%;
    width: 60%;
    margin: 5% auto;
    padding: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}
#blogCreator table {
    width: 100%;
}
#blogCreator table td {
    padding-top: 15px;
}
#blogCreator textarea {
    width: 100%;
    min-height: 250px;
    margin-top: 5px;
}
#blogCreator input[type="text"],
#blogCreator select {
    border: none;
    border-bottom: dotted 1.5px black;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 30px;
    padding: 0 10px;
    margin-top: 5px;
}
#blogCreator select {
    border: solid 1px;
}
#blogCreator #formatButtons {
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin: auto;
    max-inline-size: 500px;
}

#blogCreator #formatButtons button {
    padding: 5px 10px;
    background-color: #cbeb4c;
    border: solid 1px black;
    border-radius: 3px;
    margin-top: 5px;
}
#blogCreator .btn button {
    padding: 10px 20px;
    background-color: #cbeb4c;
    border: solid 1px black;
    border-radius: 3px;
}
.file-choose {
    display: flex;
}
@media (max-width: 768px) {
    .blg-main-cont {
        width: 100%;
    }
    .m.title,
    .m.sub-title {
        text-align: left;
    }
    #blogCreator {
        margin-top: 11%;
        width: 85%;
    }
    #blogCreator input[type="text"],
    #blogCreator select,
    #blogCreator textarea {
        width: 95%;
    }
    .main-body {
        width: 100%;
        margin: auto;
        position: relative;
    }
    #blogCreator #formatButtons {
        margin: unset;
        width: 96%;
    }
    .file-choose {
        display: unset;
    }
    .main-blog {
        width: 100%;
    }
    .blog-container {
        flex-direction: column-reverse;
    }
    .blog-thumb {
        width: 100%;
        height: auto;
        margin: auto;
        display: inline-flex;
        box-sizing: border-box;
    }
    .blog-thumb img {
        width: 100%;
        box-sizing: border-box;
    }
    .blog-details {
        width: 100%;
        height: auto;
        box-sizing: border-box;
    }
    .blog-details img {
        width: -webkit-fill-available;
        height: auto;
    }
    .main-body {
        margin-top: 10%;
    }
    .title {
        font-size: 28px;
        letter-spacing: -0.6px;
        line-height: 1.3;
    }
    .sub-title {
        font-size: 16px;
        line-height: 1.5625rem;
        margin-bottom: 15px;
    }
    .blog-sidebar {
        width: 100%;
        box-sizing: border-box;
    }
}

#slider-wrapper {
    height: 60vh;
    display: flex;
    border-radius: 10px;
    padding: 10px 0px;
    justify-content: space-around;
    align-items: center;
}

#slider-wrapper i {
    font-size: 25px;
    pointer-events: none;
}
#image-container {
    max-height: 60vh;
    width: 100%;
    overflow: hidden;
    padding: 0px 30px;
}
#image-carousel {
    display: flex;
    height: 100%;
    width: 100%;
    gap: 100px;
    position: relative;
    overflow-y: scroll;
    overflow-x: hidden;
}
#image-carousel img {
    width: 100%;
    border-radius: 25px;
    position: absolute;
    transition: 1s;
    padding: 0px 15px;
    box-sizing: border-box;
    object-fit: contain;
}
#image-carousel.no-scroll {
    align-items: center; 
}
#slider-wrapper button {
    cursor: pointer;
    padding: 10px;
    background-color: transparent;
    border-radius: 10px;
}

.btn-pad {
    padding: 10px;
}

@media (max-width: 768px) {
    #slider-wrapper {
        height: 105vh;
    }
    #slider-wrapper {
        flex-direction: column;
    }
    .btn-pad {
        padding: 0;
    }
    #image-container {
        height: 100vh;
        padding: 0;
    }
    #image-carousel {
        overflow: scroll !important;
    }
    #image-carousel img {
        width: 100%;
        border-radius: 25px;
        position: absolute;
        transition: 1s;
        padding: 0;
        box-sizing: none;
        overflow: scroll;
    }
}
