html {
    scroll-behavior: smooth;
}

.head-b {
    background-image: url(../images/head-back.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.img-article {
    width: 100%;
    height: 130px;
    opacity: 0.8;
}

.inside-img {
    width: 100%;
    height: auto;
    opacity: 1;
    border-radius: 5px;
    border: 2px solid #d50008;
}

.header-ad {
    width: 728px;
}

.banner-ad-2 {
    width: 728px;
}

.img-article1 {
    width: 100%;
    height: 60px;
    opacity: 0.8;
}

.img-article2 {
    width: 100%;
    height: 65px !important;
    opacity: 0.8;
}

.img-article4 {
    width: 100%;
    height: 190px !important;
    opacity: 0.8;
}

.img-article3 {
    width: 100%;
    height: 90px !important;
    opacity: 0.8;
}

.hr-border {
    color: #b4b4b4;
}

@media (max-width: 768px) {
    .img-article2 {
        width: 100%;
        height: auto !important;
        opacity: 0.8;
    }

    .img-article3 {
        width: 100%;
        height: auto !important;
        opacity: 0.8;
    }

    .img-article4 {
        width: 100%;
        height: auto !important;
        opacity: 0.8;
    }

    .img-article {
        width: 100%;
        height: auto !important;
        opacity: 0.8;
    }

    .img-article1 {
        width: 100%;
        height: auto !important;
        opacity: 0.8;
    }

}


/*------------------- 4.00. Tab Menu -------------------*/
.tab-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    background-color: var(--smoke-color);
    border-radius: 4px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-bottom: 28px;
}

.tab-menu .tab-btn {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 5px 6px 5px;
    color: var(--title-color);
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    background-color: transparent;
    border: none;
}

.tab-menu .tab-btn.active {
    color: var(--white-color);
}

.tab-menu .indicator {
    position: absolute;
    top: var(--pos-y);
    left: var(--pos-x);
    height: var(--height-set);
    width: var(--width-set);
    background-color: var(--theme-color);
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
    z-index: -1;
}

.filter-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
    /* Extra small devices */
}

@media (max-width: 375px) {
    .filter-menu {
        gap: 5px;
    }
}

.filter-menu .tab-btn {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--body-bg);
    border: 1px solid #d50008;
    color: var(--title-color);
    padding: 2px 16px;
    border-radius: 4px;
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}

.filter-menu .tab-btn:last-child {
    margin-right: 0;
}

.filter-menu .tab-btn.active {
    background-color: var(--theme-color);
    color: var(--white-color);
    border-color: var(--theme-color);
}

.border-blog>* {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.border-blog:last-child>* {
    padding-bottom: 0;
    border-bottom: none;
    /* Large devices */
}

@media (max-width: 1199px) {
    .border-blog:last-child>* {
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border-color);
    }
}

.border-blog.two-column:nth-last-child(-n + 2)>* {
    padding-bottom: 0;
    border-bottom: none;
}

.border-blog.three-column:nth-last-child(-n + 3)>* {
    padding-bottom: 0;
    border-bottom: none;
    /* Medium devices */
}

@media (max-width: 991px) {
    .border-blog.three-column:nth-last-child(-n + 3)>* {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 24px;
    }
}

/*footer*/


/*------------------- 4.3. Footer  -------------------*/
/*footer*/


.footer-wrapper {
    --border-color: #f2f2f2;
    --body-color: #f2f2f2;
    position: relative;
    z-index: 2;
    background-color: #303030;
    overflow: hidden;
}

.footer {
    background-color: #FFF;
    border: 1px solid #333;
}

#footer h5 {
    padding-bottom: 6px;
    margin-bottom: 20px;
    color: #000;
}

#footer a {
    color: #CCC;
    text-decoration: none !important;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

#footer ul.social li {
    padding: 3px 0;
}

#footer ul.social li a i {
    margin-right: 5px;
    font-size: px;
    -webkit-transition: .5s all ease;
    -moz-transition: .5s all ease;
    transition: .5s all ease;
}

#footer ul.social li:hover a i {
    font-size: 30px;
    margin-top: -10px;
}

#footer ul.social li a,
#footer ul.quick-links li a {
    color: #333;
    font-size: 15px;
}

#footer ul.social li a:hover {
    color: #333;
}

#footer ul.quick-links li {
    padding: 3px 0;
    -webkit-transition: .5s all ease;
    -moz-transition: .5s all ease;
    transition: .5s all ease;
}

#footer ul.quick-links li:hover {
    padding: 3px 0;
    margin-left: 5px;
    font-weight: 600;
}

#footer ul.quick-links li a i {
    margin-right: 5px;
    font-size: 12px;
}

#footer ul.quick-links li:hover a i {
    font-weight: 600;
}

.foot-text {
    font-size: 13px;
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6B6A75;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: 2px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out
}

.form-control1 {
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #f2f2f2;
    background-color: transparent;
    background-clip: padding-box;
    border: 1px solid #8d8d8d !important;
    border-radius: 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btnSubmit {
    border: none;
    padding: 1%;
    width: 20%;
    cursor: pointer;
    background: #0062cc;
    color: #fff;
}

.bg-purple {
    background-color: #481aa0;
    color: #FFF;
}




.bg-footer {
    background-color: #222222;
}

.small-text {
    font-size: 12px;
}

@media (max-width:767px) {
    #footer h5 {
        padding-left: 0;
        border-left: transparent;
        padding-bottom: 0px;
        margin-bottom: 10px;
    }

    .foot-text {
        text-align: center !important;
    }
}

.social:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.social {
    -webkit-transform: scale(0.8);
    /* Browser Variations: */
    padding: 5px;
    -moz-transform: scale(0.8);
    -o-transform: scale(0.8);
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
}

#social-fb:hover {
    color: #3B5998;
}

#social-tw:hover {
    color: #4099FF;
}

.text-light1 {
    color: #CCC;
    padding-left: 5px;
}

.text1 {
    color: #afa1c9;
}

/*footer*/
.footer-links {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.footer-links ul {
    padding: 0;
    margin: 0;
}

.email_sub {
    padding: 0px 200px;
}

.footer-links li {
    font-family: var(--body-font);
    display: inline-block;
    padding-right: 20px;
    margin-right: 15px;
    position: relative;
}

.footer-links li:after {
    content: "";
    height: 12px;
    width: 1px;
    background-color: var(--border-color);
    position: absolute;
    top: 50%;
    right: 0;
    margin: -6px 0;
}

.footer-links li:last-child {
    margin-right: 0;
    padding-right: 0;
}

.footer-links li:last-child:after {
    display: none;
}

.footer-links a {
    font-family: inherit;
    color: var(--body-color);
}

.footer-links a:hover {
    color: var(--theme-color);
}

.copyright-wrap {
    padding: 10px 0;
    background-size: 100% auto;
    background-color: #000000;
    /* Large devices */
}

@media (max-width: 1199px) {
    .copyright-wrap {
        padding: 12px 0;
    }
}

.copyright-text {
    margin: 0;
    font-size: 13px;
    color: #f2f2f2;
}

.copyright-text p {
    color: #f2f2f2;
}

.copyright-text p:hover {
    color: #d50008;
}

.th-widget-contact {
    max-width: 265px;
}

.footer-newsletter {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 25px;
    padding-left: 60px;
}

.footer-newsletter .newsletter-title {
    max-width: 425px;
    margin-bottom: 0;
}

/*event thumbnail*/
.time-div {
    padding: 30px 20px;
    background-color: #dddddd;
    color: #c40000;
    text-align: center;
}

.time-div .day1 {
    font-size: 26px;
    font-weight: bold;
    border-bottom: 1px dashed #333333;
    padding-bottom: 10px;
}

.time-div .month1 {
    font-size: 26px;
    padding-top: 10px;
    font-weight: bold;
}

@media (max-width: 1199px) {
    .time-div .day1 {
        font-size: 21px;
        font-weight: bold;
        border-bottom: 1px dashed #333333;
        padding-bottom: 10px;
    }

    .time-div .month1 {
        font-size: 21px;
        padding-top: 10px;
        font-weight: bold;
    }
}

/*modal login*/
/* MODAL */
.modal-sde {
    height: 50px;
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    color: #fff;
    border-radius: 4px;
    margin: 45px;
    cursor: pointer;
    transition: 0.25s;
}

.modal-sde:hover {
    background: rgba(0, 0, 0, 0.75);
    transition: 0.3s;
}

.val-success-overlay {
    z-index: 999999999999;
    opacity: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    pointer-events: none;
}

.val-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.val-success-overlay .val-success {
    transform: translateZ(121px);
    width: 620px;
    height: auto;
    padding: 60px 25px;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)), url("../images/modal/popup.jpg") no-repeat center/cover;
    box-shadow: 1px 2px 18px rgba(0, 0, 0, 0.68);
    border-radius: 4px;
    transform: translateY(60%);
    opacity: 0;
    transition: 0.25s;
    transition-delay: 0s;
    position: relative;
}

.val-success-overlay .val-success.active {
    transform: translateY(0);
    opacity: 1;
    transition: 0.3s;
    transition-delay: 0.3s;
}

.val-success-overlay .val-success .close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    height: 44px;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.val-success-overlay .val-success .close-modal .close-ic span {
    width: 22px;
    height: 2px;
    background: #fff;
    display: block;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
}

.val-success-overlay .val-success .close-modal .close-ic span:nth-child(1) {
    transform: rotate(45deg);
}

.val-success-overlay .val-success .close-modal .close-ic span:nth-child(2) {
    transform: rotate(-45deg);
}

.val-success-overlay .val-success .val-info {
    width: 100%;
}

.val-success-overlay .val-success .val-info .info {
    color: #fff;
    font-family: "" Montserrat", sans-serif;"
        font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    width: 80%;
    margin: auto;
}

.val-success-overlay .val-success .form {
    width: 100%;
    text-align: center;
    margin-top: 45px;
}

@media (min-width: 320px) and (max-width: 600px) {
    .val-success-overlay .val-success {
        width: 80%;
    }
}

/*xsigin/signup popup 
-------------------------------- */
.cd-user-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 54, 66, 0.9);
    z-index: 999999;
    overflow-y: auto;
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.3s 0, visibility 0 0.3s;
    -moz-transition: opacity 0.3s 0, visibility 0 0.3s;
    transition: opacity 0.3s 0, visibility 0 0.3s;
}

.cd-user-modal.is-visible {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity 0.3s 0, visibility 0 0;
    -moz-transition: opacity 0.3s 0, visibility 0 0;
    transition: opacity 0.3s 0, visibility 0 0;
}

.cd-user-modal.is-visible .cd-user-modal-container {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.cd-user-modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: #FFF;
    margin: 3em auto 4em;
    cursor: auto;
    border-radius: 0.25em;
    -webkit-transform: translateY(-30px);
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -o-transform: translateY(-30px);
    transform: translateY(-30px);
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.cd-user-modal-container .cd-switcher::after {
    clear: both;
    content: "";
    display: table;
}

.cd-user-modal-container .cd-switcher li {
    width: 50%;
    float: left;
    text-align: center;
    list-style-type: none;
    text-decoration: none;
}

.cd-user-modal-container .cd-switcher li:first-child a {
    border-radius: 0.25em 0 0 0;
    transition: 0.6s;
    border: 1px solid #900006;
    text-decoration: none;
    font-weight: 500;
}

.cd-user-modal-container .cd-switcher li:last-child a {
    border-radius: 0 0.25em 0 0;
    transition: 0.6s;
    border: 1px solid #900006;
    text-decoration: none;
    font-weight: 500;
}

.cd-user-modal-container .cd-switcher a {
    display: block;
    width: 100%;
    height: 32px;
    line-height: 28px;
    background: transperent;
    color: #000;
    padding: 0;
    margin-top: 15px;
}

.cd-user-modal-container .cd-switcher a.selected {
    background: -webkit-linear-gradient(left, #900006, #af0007);
    color: #FFF;
    margin-top: 15px;
}

@media only screen and (min-width: 600px) {
    .cd-user-modal-container {
        margin: 4em auto;
    }

    .cd-user-modal-container .cd-switcher a {
        height: 40px;
        line-height: 40px;
    }
}

.cd-form {
    padding: 1.4em;
}

.cd-form .fieldset {
    position: relative;
    margin: 1.4em 0;
}

.cd-form .fieldset:first-child {
    margin-top: 0;
}

.cd-form .fieldset:last-child {
    margin-bottom: 0;
}

.cd-form label {
    font-size: 14px;
    font-size: 0.875rem;
}

.cd-form label.image-replace {
    /* replace text with an icon */
    display: inline-block;
    position: absolute;
    left: 15px;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    color: transparent;
    text-shadow: none;
    background-repeat: no-repeat;
    background-position: 50% 0;
}

.cd-form label.cd-username {
    background-image: url(../images/cd-icon-username.svg);
}

.cd-form label.cd-email {
    background-image: url(../images/cd-icon-email.svg);
}

.cd-form label.cd-password {
    background-image: url(../images/cd-icon-password.svg);
}

.cd-form input {
    margin: 0;
    padding: 0;
    border-radius: 0.25em;
}

.cd-form input.full-width {
    width: 100%;
}

.cd-form input.has-padding {
    padding: 12px 20px 12px 50px;
}

.cd-form input.has-border {
    border: 1px solid #d2d8d8;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

.cd-form input.has-border:focus {
    border-color: #343642;
    box-shadow: 0 0 5px rgba(52, 54, 66, 0.1);
    outline: none;
}

.cd-form input.has-error {
    border: 1px solid #d76666;
}

.cd-form input[type=password] {
    /* space left for the HIDE button */
    padding-right: 65px;
}

.cd-form input[type=submit] {
    padding: 16px 0;
    cursor: pointer;
    background: #c20008;
    color: #FFF;
    font-weight: bold;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

.no-touch .cd-form input[type=submit]:hover,
.no-touch .cd-form input[type=submit]:focus {
    background: #3599ae;
    outline: none;
}

.cd-form .hide-password {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 6px 15px;
    border-left: 1px solid #d2d8d8;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 14px;
    font-size: 0.875rem;
    color: #343642;
}

.cd-form .cd-error-message {
    display: inline-block;
    position: absolute;
    left: -5px;
    bottom: -35px;
    background: rgba(215, 102, 102, 0.9);
    padding: 0.8em;
    z-index: 2;
    color: #FFF;
    font-size: 13px;
    font-size: 0.8125rem;
    border-radius: 0.25em;
    /* prevent click and touch events */
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.2s 0, visibility 0 0.2s;
    -moz-transition: opacity 0.2s 0, visibility 0 0.2s;
    transition: opacity 0.2s 0, visibility 0 0.2s;
}

.cd-form .cd-error-message::after {
    /* triangle */
    content: "";
    position: absolute;
    left: 22px;
    bottom: 100%;
    height: 0;
    width: 0;
    border-bottom: 8px solid rgba(215, 102, 102, 0.9);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

.cd-form .cd-error-message.is-visible {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.2s 0, visibility 0 0;
    -moz-transition: opacity 0.2s 0, visibility 0 0;
    transition: opacity 0.2s 0, visibility 0 0;
}

@media only screen and (min-width: 600px) {
    .cd-form {
        padding: 2em;
    }

    .cd-form .fieldset {
        margin: 2em 0;
    }

    .cd-form .fieldset:first-child {
        margin-top: 0;
    }

    .cd-form .fieldset:last-child {
        margin-bottom: 0;
    }

    .cd-form input.has-padding {
        padding: 16px 20px 16px 50px;
    }

    .cd-form input[type=submit] {
        padding: 16px 0;
    }
}

.cd-form-message {
    padding: 1.4em 1.4em 0;
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1.4;
    text-align: center;
}

@media only screen and (min-width: 600px) {
    .cd-form-message {
        padding: 2em 2em 0;
    }
}

.cd-form-bottom-message {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -60px;
    text-align: center;
    font-size: 14px;
    font-size: 0.875rem;
}

.cd-form-bottom-message a {
    color: #FFF;
    text-decoration: underline;
}

.cd-close-form {
    /* form X button on top right */
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    right: 0;
    top: -40px;
    background: url(../images/cd-icon-close.svg) no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

#cd-login,
#cd-signup,
#cd-reset-password {
    display: none;
}

#cd-login.is-selected,
#cd-signup.is-selected,
#cd-reset-password.is-selected {
    display: block;
}

/*modal end ===========================================*/

.two-lines-text {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limits to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Allows wrapping */
}
