/*

Ramayana CSS Template

https://templatemo.com/tm-529-ramayana

*/


@import url(fontawesome.css);
@import url("https://fonts.googleapis.com/css?family=Roboto+Slab:400,700");

body {
    font-family: 'Roboto Slab', sans-serif;
}

/* Basic */

input,
select,
textarea {
    outline: none;
}

a:hover {
    color: #FC3;
    text-decoration: none;
}

p {
    font-size: 14px;
    line-height: 25px;
    color: #7a7a7a;
    letter-spacing: 0.2px;
}

h4 {
    font-size: 19px;
    font-weight: 700;
    color: #31323a;
    letter-spacing: 0.25px;
}

img {
    width: 100%;
    overflow: hidden;
}

.primary-button a,
button {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: transparent;
    display: inline-block;
    padding: 8px 20px;
    color: rgb(77, 152, 228);
    border: 2px solid rgb(77, 152, 228);
    transition: all 0.5s;
}

.primary-button a:hover,
button:hover {
    color: #fff;
    background-color: rgba(83, 91, 160, 1);
}

section#search {
    border-bottom: none;
    padding-bottom: 0px;
}

section {
    border-bottom: 3px solid #eee;
    padding-bottom: 100px;
}

/* Wrapper */

#wrapper {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-direction: row-reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    min-height: 194vh;

}


/* Main */

#main {
    -moz-flex-grow: 1;
    -webkit-flex-grow: 1;
    -ms-flex-grow: 1;
    flex-grow: 1;
    -moz-flex-shrink: 1;
    -webkit-flex-shrink: 1;
    -ms-flex-shrink: 1;
    flex-shrink: 1;
    width: 100%;
    margin-top: 50px;

}

#main>.inner {
    padding: 100px;
}

/* ----------------------- */
/* BASE SIDEBAR STYLES    */
/* ----------------------- */

#sidebar {
    flex-grow: 0;
    flex-shrink: 0;
    transition: margin-left 0.5s ease, box-shadow 0.5s ease;
    background-color: #24252d;
    position: relative;
    width: 24%;
    min-width: 300px;
    max-width: 420px;
    padding: 20px;
}

#sidebar>.inner {
    position: relative;
    width: 420px;
    padding: 0px 50px;
}

#sidebar>.inner>#search {
    background-color: #2d2e39;
    height: 100px;
    width: 420px;
    display: inline-block;
    margin-left: -50px;
}

#sidebar>.inner>#search input {
    width: 100%;
    height: 100px;
    background-color: transparent;
    border: none;
    padding: 0px 50px;
    color: #fff;
}

#search form:before {
    font-family: 'FontAwesome';
    transform: scaleX(-1);
    color: #fff;
    content: '\f002';
    cursor: default;
    display: block;
    position: absolute;
    right: 50px;
    text-align: center;
    top: 35px;
    font-size: 18px;
}

#sidebar form button {
    width: 30%;
    max-width: 300px;
    padding: 10px;
    font-size: 1rem;
    margin-left: -20px;
}

#sidebar.inactive {
    margin-left: -420px;

}

/* ----------------------- */
/* TOGGLE BUTTON STYLES   */
/* ----------------------- */

#sidebar .toggle {
    text-decoration: none;
    transition: left 0.5s ease;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    border: 0;
    display: block;
    color: #fff;
    height: 100px;
    width: 100px;
    left: 420px;
    line-height: 100px;
    outline: 0;
    overflow: hidden;
    position: absolute;
    text-align: center;
    text-indent: 100px;
    margin-top: 75px;

}

#sidebar .toggle::before,
#sidebar .toggle::after {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-size: 2rem;
    color: #0D75B0;
    height: inherit;
    left: 0;
    line-height: inherit;
    position: absolute;
    text-indent: 0;
    top: 0;
    width: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#sidebar .toggle::before {
    content: '\f100';
    /* fa-angles-right */
    margin-left: -30px;
}

#sidebar .toggle.active::before {
    content: '\f101';
    /* fa-angles-left */
}

/* ----------------------------- */
/* RESPONSIVE: MAX-WIDTH 1274px */
/* ----------------------------- */
@media screen and (max-width: 1274px) {
    #sidebar {
        width: 32%;
        padding: 15px;
    }

    #sidebar .toggle::before {
        content: '\f101';
        /* fa-angles-right */
        margin-left: -30px;
    }

    #sidebar .toggle.active::before {
        content: '\f100';
        /* fa-angles-left */
        margin-left: -30px;
    }
}

/* ----------------------------- */
/* RESPONSIVE: MAX-WIDTH 1024px */
/* ----------------------------- */
@media screen and (max-width: 1024px) {
    #sidebar {
        width: 420px;
    }

    #sidebar>.inner {
        width: 320px;
        padding: 0 30px;
    }

    #sidebar>.inner>#search {
        width: 320px;
        margin-left: -30px;
    }

    #sidebar .toggle {
        left: 320px;
    }

    #sidebar.inactive {
        margin-left: -320px;
    }
}

/* ----------------------------- */
/* RESPONSIVE: MAX-WIDTH 600px  */
/* ----------------------------- */
@media screen and (max-width: 600px) {
    #sidebar {
        width: 420px;
    }

    #sidebar>.inner {
        width: 320px;
        padding: 0 30px;
    }

    #sidebar>.inner>#search {
        width: 320px;
        margin-left: -30px;
    }

    #sidebar .toggle {
        left: 320px;
    }

    #sidebar.inactive {
        margin-left: -220px;
    }
}

/* ----------------------------- */
/* RESPONSIVE: MAX-WIDTH 480px  */
/* ----------------------------- */
@media screen and (max-width: 480px) {
    #sidebar {
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #24252d;
        padding: 20px 15px !important;
        z-index: 9999;
        transform: translateX(0);
        transition: transform 0.5s ease;
        overflow-y: auto;
        margin-top: 85px;
    }

    #sidebar.inactive {
        transform: translateX(-100%) !important;
    }

    #sidebar>.inner {
        width: 100% !important;
        padding: 10px 20px !important;
        box-sizing: border-box;
    }

    #sidebar>.inner>#search {
        width: 100% !important;
        margin-left: 0 !important;
        height: 80px;
        display: flex;
        align-items: center;
        padding: 0 20px;
        box-sizing: border-box;
    }

    #sidebar>.inner>#search input {
        width: 100%;
        height: 100%;
        padding: 0 20px;
        font-size: 1rem;
    }

    #sidebar form button {
        width: 30%;
        max-width: 300px;
        padding: 10px;
        font-size: 1rem;
        margin-left: -70px;

    }


    #search form:before {
        right: 20px;
        top: 28px;
        font-size: 16px;
    }

    #sidebar .toggle {
        left: 100% !important;
    }

    #sidebar .toggle::before {
        content: '\f101';
        margin-left: -30px;
    }

    #sidebar .toggle.active::before {
        content: '\f100';
        margin-left: -30px;
    }

    .upload-container {
        width: 100%;
    }

    #sidebar img {
        margin: 0 auto;
        display: block;
        max-width: 80%;
        height: auto;
    }
}





/* Menu */
#menu {
    margin-top: 50px;
}

#menu ul {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #3d4449;
    font-family: "Roboto Slab", serif;
    font-family: 400;
    letter-spacing: 0.075em;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
    text-transform: uppercase;
}

#menu ul a,
#menu ul span {
    color: #fff;
    border-bottom: 0;
    cursor: pointer;
    display: block;
    font-size: 15px;
    font-weight: 300;
    padding: 15px 0px;
}

#menu ul li ul a,
#menu ul li ul span {
    padding: 10px 0px;
}

#menu ul a:hover,
#menu ul span:hover {
    color: #535ba0;
}

#menu ul a.opener,
#menu ul span.opener {
    -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    position: relative;
}

#menu ul a.opener:before,
#menu ul span.opener:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

#menu ul a.opener:before,
#menu ul span.opener:before {
    -moz-transition: color 0.2s ease-in-out, -moz-transform 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out, -ms-transform 0.2s ease-in-out;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
    color: #fff;
    content: '\f078';
    position: absolute;
    right: 0;
}

#menu ul a.opener:hover:before,
#menu ul span.opener:hover:before {
    color: #535ba0;
}

#menu ul a.opener.active+ul,
#menu ul span.opener.active+ul {
    display: block;
}

#menu ul a.opener.active:before,
#menu ul span.opener.active:before {
    -moz-transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

#menu>ul>li {
    border-top: solid 1px #1a1b20;
    margin: 0.5em 0 0 0;
    padding: 0.5em 0 0 0;
}

#menu>ul>li>ul {
    color: #9fa3a6;
    display: none;
    margin: 0.5em 0 1.5em 0;
    padding-left: 1em;
}

#menu>ul>li>ul a,
#menu>ul>li>ul span {
    font-size: 13px;
}

#menu>ul>li>ul>li {
    margin: 0.125em 0 0 0;
    padding: 0.125em 0 0 0;
}

#menu>ul>li:first-child {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}


/* image uploder */

#footer .copyright {
    text-align: center;
    color: #fff;
    font-size: 14px;
    margin-top: 50px;
}

#footer .copyright p {
    margin-bottom: 0px;
}



/* Try, It's Free! */
/* ===================================== */

#try_free {
    color: #fff;
    background: linear-gradient(90deg, #ff4d4d, #ff1a75);
    padding: 12px 24px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(255, 26, 117, 0.4);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Upload a New? */
/* ============================================= */

#upload-new {
  color:#007bff;
  text-decoration:underline;
  transition:0.2s;
}

#upload-new:hover {
  color:#0056c7;
  text-decoration:none;
}