/* =============================================================
   NKU Kurumsal Takim - Misafir 01 Temel
   Giris yapmamis ziyaretcinin gordugu sayfalarin ortak tabani (body.application):
   govde, baglanti, pencere, baglanti dugmesi (chip), kart ve liste.
   Bootstrap 3.3.5 + Font Awesome 4.5 uzerine yazilmistir.
   ============================================================= */


/* =============================================================
   Katman 1 - Temel
   ============================================================= */

/* ---------- Temel ---------- */

body.application {
    background: #F5F7FC !important;
    padding: 0 !important;
    color: #1B2233;
    font-family: "Montserrat", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.application hr {
    border-color: #E4E7F0;
}
.nku-page {
    padding-top: 78px;
}
a {
    color: #24358D;
}
a:hover,
a:focus {
    color: #2A34C9;
    text-decoration: none;
}
::-moz-selection { background: #24358D; color: #fff; }
::selection      { background: #24358D; color: #fff; }
@media (max-width: 767px) {
    .nku-page {
        padding-top: 66px;
    }
}

/* ---------- Baglanti dugmesi (chip) ---------- */

.nku-chip {
    display: inline-block;
    margin: 0 5px 10px;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(44, 51, 141, .16);
    color: #16215C !important;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(20, 28, 80, .07);
    transition: background .18s ease, transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.nku-chip i {
    margin-right: 8px;
    color: #6B74C9;
}
.nku-chip:hover {
    background: #fff;
    border-color: rgba(44, 51, 141, .38);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20, 28, 80, .13);
    text-decoration: none;
}

/* ---------- Bolum basligi, kart ve liste ---------- */

.nku-section {
    padding: 34px 0 10px;
}
.nku-section-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #8A92A6;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
}
.nku-section-title:after {
    content: "";
    flex: 1;
    height: 1px;
    background: #E4E7F0;
    margin-left: 14px;
}
.nku-card {
    background: #fff;
    border: 1px solid #EBEEF7;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 64, .04), 0 6px 20px rgba(16, 24, 64, .05);
    margin-bottom: 22px;
    overflow: hidden;
    transition: box-shadow .22s ease, transform .22s ease;
}
.nku-card:hover {
    box-shadow: 0 4px 10px rgba(16, 24, 64, .06), 0 14px 34px rgba(16, 24, 64, .10);
    transform: translateY(-2px);
}
.nku-card-head {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #F0F2F9;
}
/* Tum kart ikonlari tek tip: notr zemin, kurumsal lacivert glif.
   Karta gore degisen renkli rozetler basliklari dagitiyordu. */
.nku-card-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    text-align: center;
    line-height: 38px;
    font-size: 16px;
    margin-right: 12px;
    background: #F1F3FA;
    color: #16215C;
}
.nku-card-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #131A3D;
    flex: 1 1 auto;
    min-width: 0;
}
/* Kart listeleri */
.nku-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nku-list > li {
    border-bottom: 1px solid #F3F5FB;
}
.nku-list > li:last-child {
    border-bottom: 0;
}
.nku-list a.nku-item {
    display: flex;
    align-items: flex-start;
    padding: 13px 18px;
    color: #333B52;
    font-size: 13.5px;
    line-height: 1.55;
    border-left: 3px solid transparent;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.nku-list a.nku-item:hover,
.nku-list a.nku-item:focus {
    background: #F7F9FE;
    border-left-color: #24358D;
    color: #24358D;
    text-decoration: none;
}
.nku-item-icon {
    flex: 0 0 auto;
    width: 18px;
    margin-right: 10px;
    margin-top: 2px;
    color: #9AA2BC;
    text-align: center;
    transition: color .16s ease;
}
.nku-list a.nku-item:hover .nku-item-icon {
    color: #24358D;
}
.nku-item-body {
    flex: 1 1 auto;
    min-width: 0;
}
/* Duyuru basliklari veritabanindan <font>, <b>, <span> gibi eski
   etiketlerle gelebildigi icin ic elemanlar tek tipe zorlanir. */
.nku-item-body,
.nku-item-body * {
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;
    color: inherit !important;
    font-family: inherit !important;
}
/* Ancak yukaridaki kural FontAwesome ikonlarinin font ailesini de
   eziyor ve glifler gorunmez oluyordu; ikonlar muaf tutulur. */
.nku-item-body .fa {
    font-family: FontAwesome !important;
    font-weight: normal !important;
    font-style: normal !important;
    line-height: 1 !important;
}
.nku-item-meta {
    display: block;
    margin-top: 5px;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    color: #9AA2BC !important;
}
.nku-item-meta .fa {
    margin-right: 5px;
    font-size: 11.5px !important;
}
.nku-item-arrow {
    flex: 0 0 auto;
    margin-left: 10px;
    margin-top: 2px;
    color: #C9CFE2;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .16s ease, transform .16s ease;
}
.nku-list a.nku-item:hover .nku-item-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #24358D;
}
@media (min-width: 992px) {
    .nku-cards-row {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    /* Sutunun son karti alt bosluk birakmaz. */
    .nku-cards-row > div[class^="col-"] > .nku-card:last-child {
        margin-bottom: 0;
    }
}

/* ---------- Pencereler (modal) ---------- */

.modal-content {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 26px 70px rgba(8, 14, 60, .32);
    overflow: hidden;
}
.modal-header {
    border-bottom: 1px solid #F0F2F9;
    padding: 18px 22px;
}
.modal-header .modal-title {
    font-size: 17px;
    font-weight: 700;
    color: #0B1240;
}
.modal-body {
    padding: 22px;
    color: #3A4258;
    line-height: 1.7;
}
.modal-footer {
    border-top: 1px solid #F0F2F9;
    padding: 15px 22px;
}
.modal .btn {
    border-radius: 9px;
    font-weight: 600;
    padding: 8px 20px;
    border: 0;
}
.modal .btn-primary {
    background: linear-gradient(135deg, #24358D, #2A34C9);
}
.modal .btn-success {
    background: linear-gradient(135deg, #15803D, #22A94F);
}
.modal-backdrop.in {
    opacity: .55;
}


/* =============================================================
   Katman 2 - Kiosk gorsel dili (Katman 1 kurallarini ezer; sonra gelmelidir)
   ============================================================= */

/* ---------- Temel ---------- */

body.application { background: #F4F6FB !important; }

/* ---------- Baglanti dugmesi (chip) ---------- */

.nku-chip { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); box-shadow: none; color: #fff !important; font-weight: 600; }
.nku-chip .fa { color: #8FC9F2; }
.nku-chip:hover,
.nku-chip:focus { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .28); color: #fff; }

/* ---------- Bolum basligi, kart ve liste ---------- */

.nku-card { border: 1px solid #E3E7F0; border-radius: 16px; box-shadow: 0 1px 2px rgba(22, 33, 92, .05), 0 8px 24px -16px rgba(22, 33, 92, .25); }
.nku-section-title { color: #646D8A; font-weight: 700; }
.nku-card-head h3 { font-weight: 700; color: #16215C; }
.nku-card-icon { background: #F2F4FB; color: #24358D; box-shadow: 0 0 0 4px #E3E7F6; }
.nku-item:hover { background: #F2F4FB; }
