html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.footer__logos {

    padding: 15px 0px;
    background: #e9ebed;

}
*, ::after, ::before {

    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;

}
html {

    font: 1em/1.5 "PT Sans","Lucida Sans Unicode","Lucida Grande",sans-serif;
    color: #333;

}


/*for video player*/

#newoverlay {
    background-color: rgba(0, 0, 0, 0.65);
    height: 100%;
    left: 0;
    position: relative;
    top: 0;
    transition: background-color 300ms ease;
    width: 100%;
}

.newfade {
    background-color: rgba(0, 0, 0, 0.85) !important;
}


#newhero-vid {
    backface-visibility: hidden;
    background: url("Dron.mp4")
    no-repeat scroll 0 0 #000;
    background-size:contain;
    bottom: 0;
    height: auto;
    min-height: 100%;
    min-width: 100%;
    perspective: 1000;
    position: fixed;
    right: 0;
    width: auto;
    z-index: -1;
}

#newhero-pic {
    display: block;
    height: auto;
    width: 100%;
}

#newstate {
    bottom: 0;
    cursor: pointer;
    font-size: 2.25rem;
    left: 0;
    line-height: 1;
    padding: 2rem 2.5rem 1.65rem;
    position: absolute;
}
@media only screen and (max-width: 3440px) {
    .video_for_banner {
        width: 3440px!important;
        height: 1440px!important;
    }
}
@media only screen and (max-width: 2560px) {
    .video_for_banner {
        width: 2510px!important;
        height: 1550px!important;
    }
}
@media only screen and (max-width: 1920px) {
    .video_for_banner {
        width: 1920px!important;
        height: 1080px!important;
    }
}
@media only screen  and (max-width: 1440px) {
    .video_for_banner {
        width: 1440px!important;
        height: 900px!important;
    }
}
@media only screen and (max-width: 1024px) {
    .video_for_banner {
        width: 1024px!important;
        height: 768px!important;
    }
}

@media only screen and (max-width: 768px) {
    .video_for_banner {
        width: 640px!important;
        height: 480px!important;
    }
}

.cjaste_link {
    color: #2848ff;
    font-variant: normal;
  }
  
  .cjaste_link:hover {
    text-decoration: underline;
    color: #0030dc;
  }

.cjaste_disabled_link {
    pointer-events: none;
    color: #cacaca;
    cursor: pointer;
}


.cjaste_cjaste_custom-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cjaste_cjaste_custom-card-link:hover .cjaste_custom-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.cjaste_cjaste_custom-card-link:active .cjaste_custom-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform: scale(0.98);
}

.cjaste_custom-card {
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cjaste_custom-card {
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* bu col ichida to'liq balandlikni oladi */
    min-height: 380px;
    /* bir xil balandlik */
}

.cjaste_custom-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
    /* animatsiya */
}


.cjaste_custom-card:hover .cjaste_card-title {
    color: rgb(47, 102, 219);
}

.cjaste_cjaste_custom-card-link:hover .cjaste_custom-card img {
    transform: scale(1.05);
    /* 105% kattalashtirish */
}


.cjaste_card-body {
    padding: 15px 15px 0 15px;
    flex-grow: 1;
    /* qolgan bo'sh joyni egallaydi */
}

.cjaste_card-title {
    color: #3F477B;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}


.cjaste_card-text {
    font-size: 14px;
    color: #555;
    line-height: 1.4em;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}




.cjaste_card-footer {
    font-size: 12px;
    color: #777;
    border-top: 1px solid #eee;
    padding: 10px 15px;
}

.cjaste_card-footer i {
    margin-right: 5px;
}

.cjaste_card-footer .read-more {
    float: right;
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.cjaste_card-footer .read-more:hover {
    text-decoration: underline;
}


 .cjaste_alink {
     font-weight: bold;
     transition: all 0.3s ease;
     border-radius: 4px;
 }

 /* Agar link mavjud bo‘lsa */
 .cjaste_alink[href]:not([href=""]) {
     background-color: #337ab7;
     /* Bootstrap primary ko‘k */
     color: #fff;
 }

 .cjaste_alink[href]:not([href=""]):hover {
     background-color: #286090;
     text-decoration: underline;
 }

 /* Agar href bo‘sh bo‘lsa -> disabled */
 .cjaste_alink[href=""] {
     pointer-events: none;
     background-color: #dcdcdc;
     color: #999;
     cursor: not-allowed;
 }



  .portfolio-menu .btn.active {
      background-color: #0d6efd;
      /* yoki sizga yoqqan rang */
      color: white;
      border: 2px solid #084298;
  }