:root {
    --brand-primary: #336600;
    --brand-neutral: #61A928;
    --brand-dark: #3D7F35;
    --brand-light: #81B65B;
    --brand-lighter: #EDFFE0;
    --brand-secondary: #CD400C;
    --brand-secondary-neutral: #F06A3A;
    --brand-secondary-dark: #CC4A1B;
    --brand-secondary-light: #FB8517;
    --brand-secondary-lighter: #FB912E;
    --brand-neutral-rgba: rgba(97, 169, 40, 1); /* Stroke colour needs to be updated manually in .navbar-toggler-colour .navbar-toggler-icon */
}

html, body {
    height: 100%;
    width: 100%;
    background-color: var(--brand-primary);
    color: #333333;
    margin-top: 2.5rem;
    font-family: "Poppins", "Segoe UI" , "Segoe" , "SegoeUI-Regular-final", Tahoma, Helvetica, Arial, sans-serif;
    font-weight: normal;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

body {
    font-size: 0.9rem;
}

h1, h2, h3, h4, h5, h6 {
    color: #444444;
    font-family: "Poppins", sans-serif;
}

ul {
    margin: 0;
}

pre {
    font-family: "Courier New", monospace;
    color: #ffffff;
    font-size: 4px;
    font-weight: bold;
    position: absolute;
    top: 10px;
}

code {
    font-family: "Roboto Mono", monospace;
    color: var(--brand-dark);
    font-weight: bold;
}

a {
    color: var(--brand-primary);
}
a:hover {
    color: var(--brand-neutral);
}
a:active {
    color: #444444;
}

/* Placeholders */
::-webkit-input-placeholder {
    color:var(--brand-secondary-lighter) !important;
}

::-moz-placeholder {
    color:var(--brand-secondary-lighter) !important;
}

::-ms-placeholder {
    color:var(--brand-secondary-lighter) !important;
}

::placeholder {
    color:var(--brand-secondary-lighter) !important;
}

/* Pretty Base */
#brandingWrapper {
    background-color: var(--brand-primary);
}

#fullPage, #brandingWrapper {
    width: 100%;
    height: 100%;
    background-color: inherit;
}

#contentWrapper {
    position: relative;
    width: 500px;
    height: 100%;
    overflow: auto;
    margin-left: -500px;
    margin-right: 0px;
}

#branding {
    height: 100%;
    margin-right: 500px;
    margin-left: 0px;
    background-color: inherit;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

#content {
    min-height: 100%;
    height: auto !important;
    /**margin: 0 auto -55px auto;**/
    margin: auto;
    padding: 100px 80px 0px 80px;
}

.float {
    float: left;
}

.backgroundImage {
    background-image: url(/static/core/img/background.jpg);
}

.logo {
    height: auto;
    width: auto;
    max-height: 55px;
}

.bullet {
    max-height: 30px;
    margin-right: 5px;
}

.content-section {
    background: #e9ecef;
    padding: 20px 40px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    /*margin-top: 10px;*/
    margin-bottom: 20px;
    width: 100%;
    box-shadow: rgba(0,0,0,0.15) 0px 15px 25px, rgba(0,0,0,0.05) 0px 5px 10px;
}

.content-section.list {
    background: var(--brand-lighter);
    box-shadow: rgba(17,17,26,0.05) 0px 1px 0px, rgba(17,17,26,0.1) 0px 0px 8px;
}

.content-section.list-group {
    background: var(--brand-lighter);
    padding: 20px 20px;
    box-shadow: rgba(17,17,26,0.05) 0px 1px 0px, rgba(17,17,26,0.1) 0px 0px 8px;
}

/* Group List */
.list-group-item {
    background: var(--brand-lighter);
    font-weight:600;
}
.list-group-item:first-child {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}
.list-group-item:last-child {
	margin-bottom: 0;
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
}

.alert {
    border-radius: 8px;
    box-shadow: rgba(0,0,0,0.15) 0px 15px 25px, rgba(0,0,0,0.05) 0px 5px 10px;
}


.pagination-container {
    width: 100%;
    padding: 20px 40px;
}

.wrapper {
    position: relative;
    display: flex;
    min-height: 38.8px;
    min-width: 100px;
}

.search-bar {
    /* background: #ffa754; */
    background: var(--brand-neutral);
    color: var(--brand-secondary);
    border: 1px solid #CFD4DA;
    border-radius: 10px;
    padding-left: 30px;
    outline: 0;
}

.search-bar:focus {
    background: var(--brand-lighter);
    color: var(--brand-secondary);
    box-shadow: 0 0 2pt 1pt var(--brand-neutral);
}

.search-icon {
    font-size: 12px;
    position: absolute;
    top: 12px;
    left: 8px;
    width: 14px;
    content:url(/static/core/img/flower.png);
}

.clear-icon {
    position: absolute;
    top: 13px;
    right: 12px;
    width: 10px;
    cursor: pointer;
    visibility: hidden;
}

/* Navbar */
.bg-navbar {
    background-color: #ffffff;
}

.site-header .navbar-nav .nav-link {
    font-weight: 600;
    color: var(--brand-primary);
}

.site-header .navbar-nav .nav-link:hover {
    color: var(--brand-neutral);
}

/* .site-header .navbar-nav .nav-link:active {
    color: #6B8EA3;
} */

.navbar-toggler-colour .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(97, 169, 40, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
  
.navbar-toggler-colour.navbar-toggler {
    border-color: var(--brand-neutral);
}

/* Sidenav */
.sidenav {
    z-index: 1;
    top: 20px;
    left: 10px;
    background: #eee;
    overflow-x: hidden;
    padding: 8px;
    border-radius: 8px;
    color: #333333;
}

.sidenav a {
    padding: 6px 16px 6px 16px;
    text-decoration: none;
    font-size: 18px;
    color: #2196F3;
    display: block;
}

.sidenav a:hover {
    color: #064579;
}

.sidenav a:active {
    color: #333333;
}

.main {
    margin-left: 140px; /* Same width as the sidebar + left position in px */
    padding: 0px 10px;
}

@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}

#HASH {
    display: flex;
    justify-content: space-between;
}

.help-text {
    color: #818a91;
}

/* Buttons */
.btn {
    font-size: 12px;
}

.btn-info {
    color: #ffffff;
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-info:hover {
    background-color: var(--brand-neutral);
    border-color: var(--brand-neutral);
}

.btn-info:not(:disabled):not(.disabled).active:focus,.btn-info:not(:disabled):not(.disabled):active:focus,.show>.btn-info.dropdown-toggle:focus{
    background-color: var(--brand-neutral);
    box-shadow:0 0 0 .2rem var(--brand-neutral-rgba);
}

.btn-info.disabled, .btn-info:disabled {
    background-color: var(--brand-neutral);
    border-color: var(--brand-neutral);
}

.btn-outline-info {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    background-color: #e9ecef;
    background-image: none;
}

.btn-outline-info:hover {
    color: #ffffff;
    background-color: var(--brand-neutral);
    border-color: var(--brand-neutral);
}

.btn-outline-info:focus{
    border-color: var(--brand-neutral);
    box-shadow:0 0 0 .2rem var(--brand-neutral-rgba);
}

.btn-outline-info:not(:disabled):not(.disabled).active:focus,.btn-outline-info:not(:disabled):not(.disabled):active:focus,.show>.btn-outline-info.dropdown-toggle:focus{
    background-color: var(--brand-neutral);
    box-shadow:0 0 0 .2rem var(--brand-neutral-rgba);
}

.center {
    /* display: block;
    margin-left: auto;
    margin-right: auto; */
    text-align: center;
    margin: auto;
    display: inline-block;
}

.object-header {
    font-weight: bold;
}

/* Metadata */
.profile-link {
    color: var(--brand-secondary);
}
a.profile-link:hover {
    color: var(--brand-secondary-light);
    text-decoration: none;
}
a.profile-link:active {
    color: var(--brand-secondary);
}

/* Article */
.article-title {
    color: var(--brand-primary);
}

a.article-title:hover {
    color: var(--brand-neutral);
    text-decoration: none;
}

a.article-title:active {
    color: var(--brand-primary);
}

.article-content {
    white-space: pre-line;
}

.article-img {
    height: 65px;
    width: 65px;
    margin-right: 16px;
}

.article-metadata {
    padding-bottom: 1px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e3e3e3
}

.article-metadata a:hover {
    text-decoration: none;
}

.article-svg {
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

/* Label */
.Label {
	display: inline-block;
	padding: 0 7px;
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
	border: 1px solid transparent;
	border-radius: 2em;
	border-color: #31363c;
    text-align: center;
}
.Label--active {
	color: #ffffff;
    background-color: #259b35;
	border-color: #259b35;
}
.Label--dead {
	color: #ffffff;
    background-color: #8d949e;
	border-color: #8d949e;
}
.Label--alert {
	color: #ffffff;
    background-color: #d11e35;
	border-color: #d11e35;
}
.Label:hover {
	text-decoration: none;
}

/* Indicator */
.Indicator {
	height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}
.Indicator--active {
	color: #ffffff;
    background-color: #259b35;
}
.Indicator--dead {
	color: #ffffff;
    background-color: #8d949e;
}
.Indicator--alert {
	color: #ffffff;
    background-color: #d11e35;
}
.Indicator:hover {
	text-decoration: none;
}

/* Image */
div span.text-break {
    word-wrap: break-word;
}

div.form-control.d-flex.h-auto {
    border-radius: 0px 10px 10px 0px;
}

span.input-group-text {
    border-radius: 10px;
}

div.form-control.custom-file {
    border-radius: 10px;
}

label.custom-file-label.text-truncate {
    border-radius: 10px;
    background-color: var(--brand-lighter);
    color: var(--brand-secondary);
}

.form-control.d-flex.h-auto {
    background-color: var(--brand-light);
}

.form-control.d-flex.h-auto span a {
    color: #ffffff;
}

#id_username, #id_first_name, #id_last_name, #id_display_name, #id_email, #id_mobile, #id_password, #id_confirm_password,
#id_id, #id_title, #id_content, #id_date_posted, #id_author, #id_date_due, #id_name, #id_currency, #id_balance,
#id_type, #id_amount, #id_category, #id_note, #id_date, #id_wallet {
    border-radius: 10px;
    background-color: var(--brand-lighter);
    color: var(--brand-secondary);
}

#id_username:disabled, #id_first_name:disabled, #id_last_name:disabled, #id_display_name:disabled, #id_email:disabled,
#id_mobile:disabled, #id_password:disabled, #id_confirm_password:disabled, #id_id:disabled, #id_title:disabled,
#id_content:disabled, #id_date_posted:disabled, #id_author:disabled, #id_name:disabled, #id_currency:disabled,
#id_balance:disabled, #id_type:disabled, #id_amount:disabled, #id_category:disabled, #id_note:disabled, #id_date:disabled,
#id_wallet:disabled {
    background: var(--brand-light);
    color: #ffffff;
}

/* Viewport */
@-ms-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@-webkit-viewport { width: device-width;  }
@viewport { width: device-width; }

/* Form factor: intermediate layout (WAB in non-snapped view falls in here) */
@media only screen and (max-width: 600px) {
    html, body {
        min-width: 260px;
    }

    #brandingWrapper {
        display: none;
    }

    #contentWrapper {
        float: none;
        width: 100%;
        margin: 0px auto;
    }

    #content {
        width: 400px;
        padding-left: 0px;
        padding-right: 0px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (max-width: 450px) {
    body {
        font-size: 0.8em;
    }

    #content {
        width:auto;
        margin-right:33px;
        margin-left:25px;
    }
}

/* Form factor: snapped WAB (for WAB to work in snapped view, the content wrapper width has to be set to 260px) */
@media only screen and (max-width:280px)
{
    #contentWrapper
    {
        width:260px;
    }
}