@import url("https://fonts.googleapis.com/css?family=Open+Sans");
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}
body {
    outline: none;
    background-image: url("../images/siloback.png");
    background-color: #000;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: "Open Sans", sans-serif;
}
button,
a {
    outline: none;
}
.top-10 {
    margin-top: 10px;
}
.top-15 {
    margin-top: 15px;
}
.top-20 {
    margin-top: 20px;
}
.top-25 {
    margin-top: 25px;
}
header {
    border-bottom: 1px solid #484848;
    padding: 10px;
    position: relative;
}
header .logo {
    position: relative;
    width: 150px;
}
.home-container {
    padding: 0 40px;
}
.content-wraper {
    padding: 8px 250px;
}
.section-search {
    min-height: 100vh;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
}
.section-search form {
    width: 100%;
    max-width: 680px;
    text-align: center;
}
fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}
.logo {
    text-align: center;
    width: 300px;
}
.section-search form .inner-form {
    width: 100%;
    margin-bottom: 17px;
}
.search-text {
    display: block;
    width: 100%;
    height: 50px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
}
.search-box {
    box-sizing: border-box;
}
.search-box:focus {
    box-shadow: silver 0 2px 10px;
    border-color: silver;
}
.search-box-small {
    height: 42px;
}
.btn-search {
    background: rgb(191, 159, 95);
    background: linear-gradient(0deg, rgba(191, 159, 95, 1) 0%, rgba(217, 196, 151, 1) 31%, rgba(187, 159, 95, 1) 100%);

    font-size: 20px;
    font-weight: 900;
    padding: 12px 40px;
    color: #000;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 10px;
}

.btn-search + .btn-search {
    margin-left: 10px;
    margin-right: 10px;
}

.btn-search:first-child {
    margin-right: 10px;
}

.btn-search:focus {
    box-shadow: silver 0 2px 10px;
    border-color: silver;
}
.btn-input-search {
    width: 50px;
    position: absolute;
    right: 45px;
    top: 0;
    height: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.search-icon {
    width: 20px;
    height: 20px;
}
.display-inline-block {
    display: inline-block;
}
.glyphicon {
    font-size: 16px;
    margin-right: 5px;
    cursor: pointer;
}
.col-5 {
    width: 39%;
}
.search-results-wrap {
    width: 850px;
}
a h3 {
    color: #1a0dab;
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 5px;
    text-decoration: none;
}
a h3:hover {
    text-decoration: underline;
}
.link {
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}
.link a:hover {
    color: #5eb0f7;
}
.discription-text {
    font-size: 14px;
    color: #fff;
    margin-bottom: 20px;
}
footer {
    border-top: 1px solid #484848;
    box-sizing: border-box;
    width: 100%;
    padding: 0 40px;
    background: #0d0e10;
    font-size: 14px;
}
footer .fixed {
    position: absolute;
    bottom: 0;
    background: #0d0e10;
    width: 100%;
    border-top: 1px solid #484848;
    box-sizing: border-box;
    padding: 0 40px;
}
footer .nav ul {
    float: right;
    margin-top: 15px;
}
footer .nav ul li {
    list-style-type: none;
    display: inline-block;
}
footer .nav ul li a {
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    float: left;
}
@media only screen and (min-width: 1024px) {
    .col-5 {
        width: 512px;
    }
}
@media only screen and (max-width: 1024px) {
    .search-results-wrap {
        width: 100%;
    }
}
@media only screen and (max-width: 768px) {
    header .logo-wrapper {
        width: 100%;
        text-align: center;
        display: inline-block;
        padding-top: 15px;
    }
    header .logo {
        position: relative;
        text-align: center;
        left: 0;
        margin-bottom: 10px;
    }
    .content-wraper {
        padding: 8px 0px 8px 0px;
    }
    .col-5 {
        width: 100%;
    }
    .pagination a {
        padding: 6px 12px;
    }
    footer {
        padding: 0 20px;
    }
    footer .nav ul {
        float: none;
        width: auto;
        text-align: center;
        padding-left: 0;
    }
}
@media only screen and (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    .section-search form .logo {
        width: 80%;
        margin-bottom: 20px;
    }
    .section-search form {
        max-width: 380px;
    }
    .search {
        box-sizing: border-box;
    }
}

.green-dot {
    width: 10px;
    height: 10px;
    background-color: #00b500;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.modal-action-buttons {
    display: flex;
    justify-content: end;
    align-items: center;
}

.modal-action-buttons button {
    margin-left: 10px;
    margin-top: 10px;
}

.top-questions-sections {
    color: #ffffff;
}

.top-questions-sections a {
    color: #ffffff;
}

.top-questions-sections a:hover {
    color: #5eb0f7;
}

#modalAddFilePublic .modal-content {
    background-image: url("../images/modal-background.png");
    background-color: #000;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#modalAddFilePublic .modal-content {
    color: #ffffff;
}

#modalAddFilePublic input {
    color: #ffffff;
    background-color: #000;
}

#modalAddFilePublic .btn-search {
    color: #000;
    margin-right: 0px;
}

#modalAddFilePublic .close {
    color: #fff;
}

.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.space-between {
    justify-content: space-between;
}

.float-right {
    float: right;
}

.float-center {
    float: center;
}

/* Add media query for margin top only on mobile devices */
@media (max-width: 992px) {
    .md-mt-10 {
        margin-top: 10px;
    }
    .md-align-center {
        align-items: center;
    }
    .md-display-flex {
        display: flex;
    }
    .md-justify-center {
        justify-content: center;
    }
}

.pill-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.pill {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #f2f2f2;
    border-radius: 999px;
    text-decoration: none !important;
    color: #333 !important;
    margin-top: 20px;
    margin-right: 20px;
}

.pill:hover {
    background-color: #e6e6e6;
}

.main-page-title {
    font-size: 30px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
}

.main-page-title a {
    color: #ffffff;
}

.player-container {
    position: relative;
    flex: 1 1 80%;
    overflow: hidden;
    max-height: 100vh;
}

.player-container video {
    width: 100%;
    height: auto;
}
.flex-col {
    display: flex;
    flex-direction: column;
}

.summary-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

.summary-modal-content {
    background-color: #1e1e1e;
    color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.summary-modal-close {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

.summary-modal-heading {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #fff;
}

.summary-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-btn {
    background: linear-gradient(0deg, rgba(191, 159, 95, 1) 0%, rgba(217, 196, 151, 1) 31%, rgba(187, 159, 95, 1) 100%);
    border: none;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: transform 0.1s ease;
}

.summary-btn:hover {
    transform: scale(1.02);
}

.ai-answer-block {
  margin: 20px 0 20px 0;
  background: #2a223a;
  border: 1.5px solid #FFD865;
  border-radius: 12px;
  padding: 18px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  width: 100%;
  max-width: none;
}
.ai-answer-title {
  color: #FFD865;
  font-size: 1.35em;
  margin-bottom: 10px;
  font-weight: 600;
}
.ai-answer-content {
  color: #fff;
  font-size: 1.08em;
  line-height: 1.7;
  word-break: break-word;
}
