body {
    background-color: #ffffff;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

header img {
    border-radius: 0;
}

header .tagline {
    display: flex;
    justify-content: flex-end;  /* push to the right */
    align-items: flex-end;      /* push to the bottom */
}

header .tagline h2 {
    margin: 0 20px 15px;  /* h1 has default margins that can add unwanted space */
    font-size: 22px;
}

.dark a,
.dark a:visited {
    color:white;
    text-decoration: none;
}
.navbar-light a,
.navbar-light a:visited,
.module-subnav a,
.module-subnav a:visited {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
}
.navbar-light a.active,
.module-subnav a.active,
.navbar-light a:hover,
.module-subnav a:hover {
    color: #272727;
}
.nav-link:hover {
    color: #1366b6 !important;
    text-decoration: underline;
}

h1,h2,h3,h4,h5 {
    font-family: 'Montserrat', sans-serif;
    color: #B04829;
    font-weight: 700;
}
header h1,
header h1 a,
header h1 a:active,
header h1 a:visited,
header h1 a:hover {
    color: #B04829;
    font-weight: 700;
    margin: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3em;
}

h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
}

.badge {
    background-color: #085798;
}
.badge-primary {
    background-color: black;
}
.badge-secondary {
    background-color: darkgray;
}

.container {
    background-color: white;
    padding: 20px;
}
#main.container {
    padding-top: 0;
}
header .container {
    background-color: transparent;
    padding: 0 20px;
    position: relative;
}

.account-badge {
    position: relative;
    text-align: right;
    background-color: #2B2B29;
    padding: 10px 15px;
    border-radius: 8px;
    border: thin solid white;
    width: 200px;
    min-height: 59px;
    margin: 5px auto;
}

.account-badge a {
    color: #ffffff;
}

.account-badge .profile {
    clear: both;
}
.account-badge .profile .username {
    float: right;
    padding-right: 15px;
    padding-top: 5px;
    font-size: 14px;
}
.account-badge .profile .pic {
    float: right;
    width: 30px;
    height: 30px;
    background-position: center;
    background-size: contain;
    border-radius: 20px;
}
.account-nav {
    list-style: none;
    clear: both;
    display: none;
    padding: 10px 0 0;
    width: 150px;
    border-top: thin dotted;
    margin-top: 40px;
}
.account-nav li {
    padding-left: 10px;
    text-align: right;
    margin: 0;
    padding: 5px 2px;
}
.account-nav li:hover {
    background-color: #2b9fc7;
}

.account-nav li a {
    width: 100%;
    display: block;
}

.module-subnav {
    background-color: #e8e8e8;
    padding: 0;
    margin: -20px -20px 20px;
}

.module-subnav li {
    display: inline-block;
    width: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

.module-subnav li a {
    display: block;
    padding: 10px 20px;
    margin: 0;
}

.no-highlight-on-hover:hover {
    background-color: transparent !important;
}


footer {
    padding: 20px;
    text-align: center;
    background-color: #ededed;
}

.internal-nav,
.internal-nav ul {
    padding: 0;
    list-style: none;
    margin: 20px 0 !important;
}

.internal-nav ul {
    margin: 0 0 0 10px !important;
}

.internal-nav li {
    padding: 5px;
    margin: 0;
    border-bottom: thin dotted #cccccc;
}
.internal-nav li:last-child {
    border: none;
}

.internal-nav li:hover {
    background-color: #e9e9e9;
}

.internal-nav li.subnav:hover {
    background-color: #fff;
}

.account-nav li a {
    color: #ffffff;
}

div.row.es-list {
    padding-top: 20px;

    border-top: thin solid #f3f3f3;
}

div.row.es-list:hover {
    background-color: #f3f3f3;
}

.es-header {
    background-color: #e0e0e0;
}

.es-header a {
    border-right: thin solid white;
    color: #0a6ebd;
    padding: 5px 15px;
    font-weight: 700;
}

.es-header div {
    color: #0a6ebd;
    padding: 5px 15px;
    font-weight: normal;
}

.container.navbar {
    padding: 10px;
}

nav li {
    list-style: none;
    font-size: 1.2em;
}

nav ul {
    padding-inline-start: 5px;
    margin: 5px !important;
}

.navbar ul>li.nav-item {
    border-right: thin solid #efefef;
}

.navbar ul>li:last-child {
    border-right: none;
}

.label-info {
    font-style: italic;
    margin-top: 5px;
    display: block;
}

.no-padding {
    padding: 0px;
}

.profile h1.name {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300 !important;
    font-size: 3em !important;
    margin-bottom: 0px;
    margin-top: -5px;
}
.profile .title {
    font-size: 1.4em;
    margin-bottom: 5px;
    font-weight: bold;
    color: #B04829;
    font-variant: titling-caps;
}
.profile h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300 !important;
    font-size: 2em !important;
}


.btn-primary, a.btn-primary {
     color: #fff;
     background: none;
     background-color: #B04829;
     border-color: #B04829;
     text-shadow: none;
     cursor: pointer;
 }

.btn-warning {
    color: #000;
    background-color: #ffe69a;
    border-color: #ffe69a;
}

.btn-warning:hover {
    background-color: #ffcd2e;
    border-color: #ffcd2e;
}

.btn-danger {
    color: #000;
    background-color: #d17a33;
    border-color: #d17a33;
}

.btn-danger:hover {
    background-color: #D14533FF;
    border-color: #D14533FF;
    color:white !important;
}

/* forms */

label {
    margin: 20px 0 10px;
}

.single-checkbox {
    padding: 10px 15px;
    border: thin solid #e0e0e0;
    margin: 20px 0 10px;
}
.single-checkbox label {
    margin: 0 !important;
}

body.minimal  {
    background-color: white !important;
    font-size: .8em;
}

body.minimal  > .container {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
}

body.minimal  > header {
    font-size: .75em !important;
    padding: 5px !important;
}

body.minimal  > .site_message {
    font-size: 1em !important;
    padding: 5px !important;
}

footer {
    border-top: thin dotted #cccccc;
}

.dark {
    background-color: #060c08;
    color: white;
    padding: 100px 75px;
}

.james {
    background-image: url("/templates/portraitsbyjames/assets/images/port/james.jpg");
    background-position-x: right;
    background-position-y: bottom;
    background-repeat: no-repeat;
    background-size: 25% auto;  /* width: 25% of the div, height scales to keep aspect ratio */
}

.promo {
    font-size: 1.8em;
}

.gray.promo {
    color: gray;
    display: flex;
    justify-content: center;  /* push to the right */
    align-items: center;      /* push to the bottom */
    padding: 8%;
}

.port-block {
    margin: 0;
}

.port-block article {

}

.gray {
    background-color: #ededed;
}

.dark table {
    margin: 5px;
}
.dark th {
    padding: 5px;
    background-color: white;
    color: #060c08;
    border: 2px solid #060c08;
}
.dark td {
    padding: 5px;
    border: 2px solid white;
}

.wall-art img {
    height: 300px;
    width: auto;
    margin: 0 auto 20px;
}

.portfolio img {
    height: 400px;
    width: auto;
    margin: 0 auto 20px;
}


article {
    padding: 10px;
}
@media (max-width: 992px) {
    .container, .container-md, .container-sm {
        max-width: 100vw;
    }

    .wall-art img {
        height: 200px;
        width: auto;
    }

    .portfolio img {
        height: 200px;
        width: auto;
    }
}

@media (max-width: 500px) {
    .container, .container-md, .container-sm {
        max-width: 100vw;
    }

    .wall-art img {
        height: auto;
        width: 100%;
    }

    .portfolio img {
        height: auto;
        width: 100%;
    }
    .james {
        background-size: 50% auto;
    }
}
@media (min-width: 1000px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1240px;
    }
}