﻿@font-face {
    font-family: 'FlamaSemicondensed-Regular';
    src: url('Fonts/FlamaSemicondensed-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'FlamaSemicondensed-SemiBold';
    src: url('Fonts/FlamaSemicondensed-SemiBold.otf') format('opentype');
}

@font-face {
    font-family: 'FlamaSemicondensed-Bold';
    src: url('Fonts/FlamaSemicondensed-Bold.otf') format('opentype');
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-family: FlamaSemicondensed-Regular !important;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    background-color: #efefef;
    text-align: left;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.category-popup .btn-category {
    background-color: #aeaeb2 !important;
    border: 2px solid #FFF !important;
    font-family: FlamaSemicondensed-Regular !important;
    font-size: 16px;
    color: #000;
    box-shadow: none !important;
    margin: 0 !important;
    text-shadow: none !important;
    width:100%;
    height: auto;
    
    
}

    .category-popup .btn-category.selected {
        background-color: #bc9cff !important;
        border: 2px solid #FFF !important;
        font-family: FlamaSemicondensed-Regular !important;
        font-size: 16px;
        color: #000;
        box-shadow: none !important;
        margin: 0 !important;
        text-shadow: none !important;
        width: 100%;
    }


/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/



.mbl-container {
    max-width: 100%;
    margin: 0 auto;
}



/*---------------- Index Page styles Start here ---------- */

.icf input, .icf select, .icf textarea {
    max-width: 100%;
    font-family: FlamaSemicondensed-Regular !important;
    font-size: 16px;
}

h1 {
    font-weight: 700;
    margin: 0;
    font-size: 1.5em;
    color: #bc9cff;
    background: none !important;
    border: none !important;
}

h2 {
    font-weight: 600;
    font-size: 1.5em;
    margin: 1em 0 0;
}


.icf .color-txt {
    color: #bc9cff;
}

.icf input {
    padding: 1em 1em 1em 2.5em;
    margin: 0;
}

    .icf input:focus {
        background: #f9f9f9 !important;
    }

.icf fieldset {
    border: 1px solid #c1c1c1;
    border-radius: 5px;
    background: #fff;
    padding: 0px;
    margin-bottom: 1em;
}

    .icf fieldset .ui-body-inherit {
        border: 0 !important;
    }

.icf legend {
    width: auto;
    padding: 0px 10px;
    margin: -15px 0 -18px 15px;
    font-family: FlamaSemicondensed-SemiBold !important;
    font-size: 16px;
    background: #f9f9f9;
    font-weight: 600;
    color: #000;
    position: relative;
    z-index: 99;
}

.ui-field-contain, .icf .ui-page-theme-a {
    border: none;
    box-shadow: none;
}



.icf .ui-body-inherit {
    margin: 0;
    box-shadow: none;
}

.btn-primary {
    background: none #bc9cff !important;
    border: 1px solid #fff !important;
    color: #000 !important;
    padding: 15px;
    font-family: FlamaSemicondensed-Bold !important;
    font-size: 16px;
    font-weight: 700;
    box-shadow: none !important;
    text-shadow: none !important;
    opacity: 1;
    border-radius: 5px;
}

.btn-secondary {
    background: none #fff !important;
    border: 1px solid #fff !important;
    color: #bc9cff !important;
    padding: 15px;
    font-family: FlamaSemicondensed-Bold !important;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 0 5px rgba(0,0,0,0.1) !important;
    text-shadow: none !important;
    opacity: 1;
    border-radius: 5px;
}

.error-message {
    font-family: FlamaSemicondensed-Regular !important;
    font-size: 16px;
    color: red;
}

.icf .ui-select {
    margin: 0;
}

.username::before {
    font-family: "Font Awesome 5 Free";
    content: "\f1fa";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    color: #bc9cff;
    position: absolute;
    z-index: 99;
    font-weight: 900;
    line-height: 2.2em;
    font-size: 1.2em;
    left: .45em;
}

.password::before {
    font-family: "Font Awesome 5 Free";
    content: "\f13e";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    color: #bc9cff;
    position: absolute;
    z-index: 99;
    font-weight: 900;
    line-height: 2.2em;
    font-size: 1.2em;
    left: .45em;
}

.ui-input-search:after {
    position: absolute;
    left: .5em !important;
    top: 50%;
    margin-top: -7px;
    content: "";
    background-position: center center;
    background-repeat: no-repeat;
    opacity: .5;
}

.ui-select .ui-btn {
    background-color: #fff !important;
    box-shadow: none !important;
    padding: .5em;
    text-align: left;
    font-weight: 400;
}

.ui-header {
    background: #fff !important;
    border-top: 0 !important;
    padding-top: .5em;
}

    .ui-header .ui-title {
        padding: .5em !important;
        font-size: 1.2em;
        margin: 0;
        text-align: center;
        font-weight: 600;
    }

.username .ui-input-text input, .password .ui-input-text input {
    padding-left: 40px;
}




.header {
    width: 100%;
    padding: .5em 0 0;
    text-align: center;
}

.img-logo {
    max-width: 200px;
}

.main-header .ui-bar-inherit {
    background: none !important;
    border: none !important;
}

.main-header h1 {
    font-family: FlamaSemicondensed-Bold !important;
    font-weight: 900;
    font-style: normal;
    font-size: 24px;
    text-transform: uppercase;
    margin: 0 !important;
}

.main-header .caption {
    font-family: FlamaSemicondensed-Regular !important;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #999;
}

.ui-input-search input {
    padding: .8em .8em .8em 1.8em !important;
}
/*---------------- Index Page styles End here ---------- */
/*------------- Home Page Start ---------- */
.story-list {
    border: none;
    box-shadow: none;
}

.gallery-item {
    text-align: center;
    margin-bottom: 1em !important;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    border-radius: 15px;
    overflow: hidden;
}

    .gallery-item img {
        width: 100%; /* Make the image take the full width */
        height: 100%; /* Make the image take the full height */
        object-fit: cover; /* Cover the entire div while maintaining aspect ratio */
        max-height: 200px;
    }

    .gallery-item .title {
        font-family: FlamaSemicondensed-SemiBold !important;
        font-size: 1.15em;
        font-weight: 600;
        display: block;
        text-align: left;
        padding: 1em 1em 0;
    }


.description {
    font-weight: bold;
    color: #333;
    display: -webkit-box; /* Use flexbox layout */
    -webkit-box-orient: vertical; /* Set the box orientation to vertical */
    overflow: hidden; /* Hide overflow */
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    //line-height: 1.2em; /* Adjust line height as needed */
    padding: .5em 1em 1em;
    margin: 0 !important;
    font-size: 1em !important;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 1em;
    text-align: justify;
}

    .user-info img {
        width: 40px; /* Profile picture size */
        height: 40px; /* Profile picture size */
        border-radius: 50%; /* Circular profile picture */
        margin-right: 10px; /* Space between image and text */
        overflow: hidden;
        display: none;
    }

.user-name {
    font-weight: bold;
    color: #000; /* User name color */
}

.date {
    font-size: 0.9em;
    color: #666; /* Date color */
}

li.ui-li-has-thumb {
    padding-left: 0.5em !important; /* Remove left padding */
    min-height: auto; /* Optional: Adjust height if needed */
}

/*------------- Home Page End ---------- */

/*-------- Footer --------- */
.ui-footer .ui-btn {
    font-size: .5em;
    font-weight: 400;
    color: #999999;
    text-align: center;
    text-shadow: none !important;
}

    .ui-footer .ui-btn i {
        font-size: 1.6em;
        display: block;
        margin: 0 0 4px;
        text-shadow: none !important;
        color: #999999;
    }

    .ui-footer .ui-btn.ui-btn-active {
        color: #8e5af7 !important;
        background: none !important;
        border: none !important;
        box-shadow: none;
    }

        .ui-footer .ui-btn.ui-btn-active i {
            color: #8e5af7 !important;
        }



/*------------- Story Details --------- */
.image-scroll-container {
    display: flex;
    white-space: nowrap;
}

    .image-scroll-container img {
        max-width: 100%;
        height: auto;
        margin-right: 10px;
        flex-shrink: 0;
        width: 100%; /* Set a fixed width for each image */
        object-fit: cover;
    }

.story-visual {
    max-height: 215px;
    border-radius: 1em;
    overflow: hidden;
}

#player {
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    border: none; /* Remove border */
    min-height: 215px;
}

.iframe-container {
    flex: 1; /* Allow the iframe container to grow and take available space */
    display: flex; /* Use flexbox to align items */
    justify-content: center; /* Center the iframe horizontally */
    align-items: center; /* Center the iframe vertically */
}

.story-content {
    background: #fff;
    border-radius: 1em;
    padding: 1em;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    text-align: justify;
}
/*--------- Add Story -----------*/
.ui-select .ui-li-has-count.ui-btn-icon-right {
    padding-right: 2.75em !important;
}

/*.addstory .ui-select .ui-btn > span:first-child {
    display: none;
}
*/
.addstory .ui-select .select2 {
    width: 100% !important;
}

.addstory .ui-body-inherit, .settingspage .ui-body-inherit {
    box-shadow: none;
    text-shadow: none;
}

.ui-input-text input {
    padding: .5em;
}


/*----------- Profile Settings --------------*/
.profile-settings-list ul {
    margin: 0;
    padding: 0;
    display: block;
    background: none;
}

    .profile-settings-list ul li {
        list-style: none;
    }

a.prf-setting-li {
    padding: .7em;
    background-color: #fff;
    border-radius: 1em;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    font-family: FlamaSemicondensed-SemiBold;
    font-size: 1em;
    display: block;
    margin-bottom: 1em;
    text-decoration: none;
    color: #000;
}

    a.prf-setting-li i {
        margin: auto 1em;
        line-height: 2.2em;
    }

    a.prf-setting-li label {
        display: inline-block;
    }


/*--------- Popup styles-----*/

.ui-popup-active {
    bottom: 60px !important;
    top:auto !important;
}

.category-popup {
    max-width: 720px;
    display: flex;
    height: 90vh;
    padding: .75em;
    background-color: #eaeaea;
}

    .category-popup ul {
        margin: 0;
        padding: 0;
    }

    .category-popup li {
        list-style: none;
        float: left;
        width: 50%;
        padding: 0.5em;
    }

    .category-popup .btn-category {
        
        border: 2px solid #FFF !important;
        font-family: FlamaSemicondensed-Regular !important;
        font-size: 16px;
        color: #000;
        box-shadow: none !important;
        margin: 0 !important;
        text-shadow: none !important;
    }

    .category-popup .btn-category-active {
        background-color: #bc9cff !important;
        border: 2px solid #FFF !important;
        font-family: FlamaSemicondensed-Regular !important;
        font-size: 16px;
        color: #000;
        box-shadow: none !important;
        margin: 0 !important;
        text-shadow:none !important;
    }


/*----------- Landing Page ------*/

.landing-banner{
    width:100%;
    max-height:200px;    
    border-radius:1em;
    overflow:hidden;
}
    .landing-banner img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    /*----------- Responcive Styles ---------*/
    @media only screen and (min-width: 720px) {
        .ui-content, .header, .ui-header, .ui-footer {
        margin: 0 auto;
        max-width: 720px;
    }

    .gallery-item img {
        width: 100%; /* Make the image take the full width */
        height: 100%; /* Make the image take the full height */
        object-fit: cover; /* Cover the entire div while maintaining aspect ratio */
        max-height: 300px;
    }

    .story-visual {
        max-height: 350px;
    }
}

@media (min-width: 28em) {
    .ui-field-contain > label ~ [class*=ui-], .ui-field-contain > label {
        width: 100% !important;
    }

    .ui-field-contain {
        margin: 0 0 1em;
    }

        .ui-field-contain > label {
            margin: 0 0 .5em;
        }
}
