@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    overflow-x: hidden;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 20vh;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: #c28100;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    background: #a26d00;
    padding: 30px 0px 10px 0px;
}

#sidebar .sidebar-header p{
    text-align: center;
    font-size: 14px;
    color: white;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #a67d26;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: #c28100;
    background: #fff;
}

#sidebarX {
    display: none;
}

a[aria-expanded="true"] {
    color: #fff;
    background: #c28100;
}

#sidebar ul li.active>a {
    color: #fff;
    background: #c54913;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #c28100;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #c28100;
}

a.article,
a.article:hover {
    background: #c28100 !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: calc(100% - 250px);
    padding: 40px;
    min-height: 80vh;
    transition: all 0.3s;
    position: absolute;
    right: 0;
    z-index: 1;
    top: 20vh;
}

#content.active {
    width: 100%;
}

.header {
    position: fixed;
    z-index: 2;
    display: flex;
    max-height: 20vh;
}
.header .housePhoto {
    width: 250px;
}

.header .headerPhoto {
    width: calc(100% - 250px);
}

.saveBtn {
    margin-right: 10px;
    margin-top: 5px;
    background-color: #4CAF50; /* Green */
    border: 2px #4caf50 solid;
    border-radius: 10px;
    padding: 5px 7px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.postRedictBtn {
    margin-right: 10px;
    background-color: limegreen; /* Green */
    border: 2px #4caf50 solid;
    border-radius: 10px;
    padding: 5px 7px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebarX {
        padding: 15px 0 10px 0;
        display: block;
        background-color: #c28100;
        color: white;
        border: none;
		margin-left: 90%;
    }
    #sidebar {
        margin-left: -250px;
        top: 10vh;
    }
    .header .housePhoto{
        display: none;
    }
    .header .headerPhoto{
        width: 100%;
        min-height: 10vh;
    }
    #sidebar.active {
        margin-left: 0;
        width: 100%;
    }
    #content {
        width: 100%;
        top: 10vh;
    }
    #sidebarCollapse span {
        display: none;
    }
    .post-header{
        font-size: 25px;
    }
    .posts p{
        font-size: 12px;
    }
    .popup {
        width: 80%;
    }
}