/* ..................here is the css of except navbar and form............... */

.mb-2 {
  margin-top: 20px;   /* space below navbar */
  margin-left: 15px;  /* push it a bit to the right */
}

.mb-2 .badge {
  display: inline-block;
  padding: .35em .6em; /* slightly bigger padding inside the badge */
}


.badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem
}

.badge:empty {
    display: none
}

.btn .badge {
    position: relative;
    top: -1px
}

.badge-pill {
    padding-right: .6em;
    padding-left: .6em;
    border-radius: 10rem
}

.badge-primary {
    color: #fff;
    background-color: #007bff
}

.badge-primary[href]:focus,
.badge-primary[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #0062cc
}

.badge-secondary {
    color: #fff;
    background-color: #6c757d
}

.badge-secondary[href]:focus,
.badge-secondary[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #545b62
}

.badge-success {
    color: #fff;
    background-color: #28a745
}

.badge-success[href]:focus,
.badge-success[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #1e7e34
}

.badge-info {
    color: #fff;
    background-color: #17a2b8
}

.badge-info[href]:focus,
.badge-info[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #117a8b
}

.badge-warning {
    color: #212529;
    background-color: #ffc107
}

.badge-warning[href]:focus,
.badge-warning[href]:hover {
    color: #212529;
    text-decoration: none;
    background-color: #d39e00
}

.badge-danger {
    color: #fff;
    background-color: #dc3545
}

.badge-danger[href]:focus,
.badge-danger[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #bd2130
}

.badge-light {
    color: #212529;
    background-color: #f8f9fa
}

.badge-light[href]:focus,
.badge-light[href]:hover {
    color: #212529;
    text-decoration: none;
    background-color: #dae0e5
}

.badge-dark {
    color: #fff;
    background-color: #343a40
}

.badge-dark[href]:focus,
.badge-dark[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #1d2124
}

.head1{
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}



.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem
}
.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
    padding: .75rem 0rem;
    text-align: center;
}
.border-0 {
    border: 0 !important
}
.mb-3,
.my-3 {
    margin-bottom: 1rem !important
}

.text-center {
    text-align: center !important
}
.mb-0,
.my-0 {
    margin-bottom: 0 !important
}

.pl-3,
.px-3 {
    padding-left: 1rem !important
}

.pr-3,
.px-3 {
    padding-right: 1rem !important
}

@media(max-width: 320px) {
.md-56 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  padding: 3rem 2rem;
  line-height: 1.2;

}
.md-5{
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  padding: 1rem 1rem;
  line-height: 1.2;

}
.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
    padding: .75rem 1.55rem;
    text-align: center;
}
}


@media (max-width: 320px) {
.col-12 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
}

@media (min-width: 322px) and (max-width: 1023px) {
  .col-12 {
    padding-left: 45px;
  }
}
@media (min-width: 1023px) {
  .col-12 {
    padding-left: 85px;

  }
}

@media (max-width:320px){
.col-122{
  padding-right: 15px;
  padding-left: 15px;
  line-height: 1.2;
  padding-top: 1rem;
}
.col-1122 {
  padding-right: 0px !important;
  padding-left: 5px !important;
  line-height: 1.2 !important;
  padding-top: 1rem !important;
  font-size: 1.2rem !important;

  /* force centering */
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}



.rounded {
    border-radius: .25rem !important;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.bg-light {
    background-color: #7c9bbaff !important;
    width: 95%;
    margin: 0 auto;
}

a.bg-light:focus,
a.bg-light:hover,
button.bg-light:focus,
button.bg-light:hover {
    background-color: #dae0e5 !important;
}
.m-0 {
margin-top: 0.9rem !important;
padding-bottom: 1rem !important;
}

}
@media (min-width:321px){
 
.col-122{
  padding-right: 15px;
  padding-left: 15px;
  line-height: 1.2;
  padding-top: 1rem;
  font-size: 1.2rem;
}
.col-1122 {
  padding-right: 0px !important;
  padding-left: 0px !important;
  line-height: 1.2 !important;
  padding-top: 1rem !important;
  font-size: 2.2rem !important;

  /* force centering */
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}



.rounded {
    border-radius: .25rem !important;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.bg-light {
    background-color: #7c9bbaff !important;
    width: 80%;
    margin: 0 auto;
}

a.bg-light:focus,
a.bg-light:hover,
button.bg-light:focus,
button.bg-light:hover {
    background-color: #dae0e5 !important;
}
.m-0 {
margin-top: 0.9rem !important;
padding-bottom: 1rem !important;
}

}

@media(max-width: 320px) {
   .p-4 {
    padding: 1.5rem !important
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    line-height: 1.7;
      width: 75%;
    margin: 0 auto;
}
.border-0 {
    border: 0 !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.pl-3 {
    padding-left: 1rem !important;
}
.pr-3 {
    padding-right: 1rem !important;
}


}
@media(min-width: 321px) {
   .p-4 {
    padding: 1.5rem !important;
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    line-height: 1.7;
    width: 85%;
    margin: 0 auto;
}
.border-0 {
    border: 0 !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.pl-3 {
    padding-left: 1rem !important;
}
.pr-3 {
    padding-right: 1rem !important;
}


}

/* .............mb-0issue......... */
@media (min-width: 321px) and (max-width: 620px) {
    .row {
        flex-direction: column;
        align-items: center;
    }
    
    .col-12.col-sm-12.col-md-12.col-lg-4.col-xl-4 {
        order: 1;
        text-align: center;
        margin-bottom: 20px;
        width: 100%;
        max-width: 300px;
    }
    
    .col-12.col-sm-12.col-md-12.col-lg-8.col-xl-8 {
        order: 2;
        width: 100%;
        padding: 15px 20px;
    }
    
    .rounded.mx-auto.d-block.img-fluid {
        max-width: 250px;
        height: auto;
        border-radius: 10px;
    }
    
    /* Text styling adjustments for mobile */
    .col-12.col-sm-12.col-md-12.col-lg-8.col-xl-8 p {
        font-size: 14px;
        line-height: 1.5;
        text-align: justify;
        margin-bottom: 15px;
    }
    
    .col-12.col-sm-12.col-md-12.col-lg-8.col-xl-8 b {
        font-weight: 600;
    }
}

@media (max-width: 320px) {
.button-bottom {
    margin: 30px 0 0 0;
    padding: 0 0 30px 0;
    text-align: center;
}

.button-bottom a {
    display: inline-flex;
    height: 60px;
    background: #d4282c;
    cursor: pointer;
    border-radius: 10px;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 2px 20px 0 20px;
    font-size: 21px;
}
}
@media (min-width: 321px) {
.button-bottom {
    margin: 30px 0 0 0;
    padding: 0 0 30px 0;
    text-align: center;
}

.button-bottom a {
    display: inline-flex;
    height: 60px;
    background: #d4282c;
    cursor: pointer;
    border-radius: 10px;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    padding: 2px 20px 0 20px;
    font-size: 21px;
}
}


@media (max-width: 320px)
{
    .alert .row{ flex-direction: column; align-items: flex-start; }
  .alert .col-12.col-lg-4,
  .col-12.col-lg-8{
    flex: 0 0 100%;
    max-width: 100%;
    padding-bottom: 12px;
  }
  .alert{
    width:70%;
    margin: 10px auto;
  }
  .col-12{
    font-size: 1rem;
    line-height: 20px;
  }
  .text-center {
    text-align: center !important;
    font-size: 1.2rem;
}
.banner1z {
  display: block !important;
  margin: 20px auto !important;
  width: 600px !important;
  height: auto !important;
}
.vidz {
  display: block !important;
  margin: 20px auto !important;
  width: 70% !important;
  height: auto !important;
}

.custom-alert {
  background: #f8d7da !important;   /* light red background */
  color: #721c24 !important;        /* dark red text */
  border-radius: 8px !important;    /* rounded corners */
  padding: 20px !important;         /* spacing inside */
  text-align: center !important;    /* center everything */
  border: none !important;          /* no border */
  margin: 15px auto !important;     /* spacing outside + center */
  max-width: 800px !important;      /* keep box from stretching too wide */
}

.custom-alert p {
  margin: 10px 0 !important;
  font-size: 1.1rem !important;
}

.custom-alert img {
  display: block !important;
  margin: 15px auto 20px auto !important;
  max-width: 380px !important;
}

.custom-alert .bottom-text {
  margin-top: 15px !important;
  font-weight: bold !important;
}

/*comments css */
.comments {
    max-width: 100%;
    margin: 30px auto 30px auto;
    font-family: Arial,Helvetica,sans-serif;
    padding: 0 10px 0 10px;
    background: #f4f4f4;
    padding-top: 20px;
}
.comments__title {
    text-align: center;
    font-size: 28px;
    line-height: 34px;
    margin: 0 0 20px 0;
    font-weight: 700
}
.fade2 {
    display: none
}
.comments__item {
    display: flex;
    margin: 0 0 50px 0
}
.comments__avatar {
    margin-right: 10px;   /* smaller gap between avatar and comment */
    width: 50px;          /* fixed avatar size */
    height: 50px;         /* square avatar */
    min-width: 50px;      /* don’t let it expand */
    max-width: 50px;
    border-radius: 50%;   /* optional: make it circular */
    overflow: hidden;     /* ensures image stays inside */
}

.comments__avatar img {
    display: block;
    max-width: 40px;
    border-radius: 50%;
    object-fit: cover
}
.col-1222{
  padding-right: 15px;
  padding-left: 15px;
  line-height: 1.4;
  padding-top: 1rem;
}

.comments__body {
    position: relative;
    background: #ffffffff;
    padding: 10px;
    border-radius: 15px;
    max-width: 100%;             /* let it fill remaining space */
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    margin-left: 0;               /* reset old hacks */
}

.time-comments {
    position: absolute;
    top: 17px;
    right: 15px;
    font-size: 9px;
    color: #999
}
.comments__name {
    font-weight: 700;
    font-size: 22px;
    padding-right: 70px;
    margin-bottom: 10px;
    display: block;
    color: #333;
    line-height: 1.2;
}

.like-facebook {
    position: absolute;
    bottom: -15px;
    right: 15px;
}

.like-facebook img {
    display: block;
    max-width: 25px;
}
.add-comment {
    color: #999;
    font-size: 12px;
    cursor: pointer;
}

.add-comment:hover {
    text-decoration: underline
}
.share {
    color: #999;
    font-size: 12px;
    margin-left: 20px
}

.share a {
    color: #999;
}
.panel-funct {
    position: absolute;
    bottom: -25px;
    left: 15px;
    display: flex
}


}


@media (min-width: 321px)
{
/* Card: image left, text right */
.alert .row{
  display: flex;
  align-items: center;     /* vertical alignment */
  gap: 12px;               /* space between image and text */
}

/* Image column */
.alert .col-12.col-lg-4{
  flex: 0 0 180px;         /* fixed-ish width for the image side */
  max-width: 180px;
}

/* Text column */
.alert .col-12.col-lg-8{
  flex: 1 1 auto;          /* take the remaining width */
}

/* Image behavior (neutralize mx-auto centering) */
.alert img{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
  border-radius: .25rem;
}
 .col-12{
    font-size: 1rem;
    line-height: 20px;
  }
  /* Center and narrow alert box */
.alert {
  max-width: 70%;     /* adjust the width as you like */
  margin: 20px auto;    /* centers it horizontally */
  border-radius: 8px;   /* optional: rounded corners */
  padding-bottom: 1rem;
}
.text-center {
    text-align: center !important
}

.banner1z {
  display: block !important;
  margin: 20px auto !important;
  width: 600px !important;
  height: auto !important;
}

.custom-alert {
  background: #f8d7da !important;   /* light red background */
  color: #721c24 !important;        /* dark red text */
  border-radius: 8px !important;    /* rounded corners */
  padding: 20px !important;         /* spacing inside */
  text-align: center !important;    /* center everything */
  border: none !important;          /* no border */
  margin: 15px auto !important;     /* spacing outside + center */
  max-width: 800px !important;      /* keep box from stretching too wide */
}

.custom-alert p {
  margin: 10px 0 !important;
  font-size: 1.1rem !important;
}

.custom-alert img {
  display: block !important;
  margin: 15px auto 20px auto !important;
  max-width: 380px !important;
}

.custom-alert .bottom-text {
  margin-top: 15px !important;
  font-weight: bold !important;
}


/*comments css */
.comments {
    max-width: 100%;
    margin: 30px auto 30px auto;
    font-family: Arial,Helvetica,sans-serif;
    padding: 0 10px 0 10px;
    background: #f4f4f4;
    padding-top: 20px;
}
.comments__title {
    text-align: center;
    font-size: 28px;
    line-height: 34px;
    margin: 0 0 20px 0;
    font-weight: 700
}
.fade2 {
    display: none
}
.comments__item {
    display: flex;
    margin: 0 0 50px 0
}
.comments__avatar {
    margin-right: 10px;   /* smaller gap between avatar and comment */
    width: 50px;          /* fixed avatar size */
    height: 50px;         /* square avatar */
    min-width: 50px;      /* don’t let it expand */
    max-width: 50px;
    border-radius: 50%;   /* optional: make it circular */
    overflow: hidden;     /* ensures image stays inside */
}

.comments__avatar img {
    display: block;
    max-width: 40px;
    border-radius: 50%;
    object-fit: cover
}
.col-1222{
  padding-right: 15px;
  padding-left: 15px;
  line-height: 1.4;
  padding-top: 1rem;
}

.comments__body {
    position: relative;
    background: #ffffffff;
    padding: 10px;
    border-radius: 15px;
    max-width: 100%;             /* let it fill remaining space */
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    margin-left: 0;               /* reset old hacks */
    width: 100%;
}

.time-comments {
    position: absolute;
    top: 17px;
    right: 15px;
    font-size: 9px;
    color: #999
}
.comments__name {
    font-weight: 700;
    font-size: 22px;
    padding-right: 70px;
    margin-bottom: 10px;
    display: block;
    color: #333;
    line-height: 1.2;
}

.like-facebook {
    position: absolute;
    bottom: -15px;
    right: 15px;
}

.like-facebook img {
    display: block;
    max-width: 25px;
}
.add-comment {
    color: #999;
    font-size: 12px;
    cursor: pointer;
}

.add-comment:hover {
    text-decoration: underline
}
.share {
    color: #999;
    font-size: 12px;
    margin-left: 20px
}

.share a {
    color: #999;
}
.panel-funct {
    position: absolute;
    bottom: -25px;
    left: 15px;
    display: flex
}
.md-5{
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  padding: 1rem 1rem;
  line-height: 1.2;
}
.vidz {
  display: block !important;
  margin: 20px auto !important;
  width: 70% !important;
  height: auto !important;
  max-height: 400px !important;
  
}

}
