/*--PAGE--*/
/* Make page bg white*/    
body {
    background: #fff;
}

/* style heading text*/
#dnn_BannerPane p {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #2B2926;
    background: #D3BC8D;
}

/* style all paragraphs */
p {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #2B2926;
}

/* style all dd text */
dd {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #2B2926;
}

/* style all div text */
#content div {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #2B2926;
}


/* style all h3 */
h3 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 26px;
    font-weight: 600;
    border-bottom: 2px solid #D3BC8D;
    color: #2B2926;
}

/* style all h4 */
h4 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 26px;
    font-weight: 500;
    color: #2B2926;
}

/* style all spans inside the content pane*/
#content span {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #2B2926;
}

/* style all strong text*/
strong{
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #2B2926;
}

/* remove line from hr */
hr {
    border-top: none;
}

/* style all links in the content pane */
#content a, #content a:visited, #content a:link {
    color: #2B2926;
    font-weight: 500;
    font-family: 'IBM Plex Sans', sans-serif;
    text-decoration: underline #D3BC8D;
}
#content a:hover{
    color: #D3BC8D;
    font-weight: 500;
    font-family: 'IBM Plex Sans', sans-serif;
    cursor: pointer;
}

/* align sides of page content with heading & header*/
#content{
    padding-left: 30px;
    padding-right: 30px;
}

/* align breadcrumbs with heading & header*/
.skin-breadcrumb-container {
    padding: 5px 0px 0 0px;
}

/* style breadcrumb text*/
.skin-breadcrumb-container a span, .skin-breadcrumb-container a:visited span, .skin-breadcrumb-container a:link span{
    font-family: 'IBM Plex Sans', sans-serif ;
    font-size: 14px !important;
    color: #2B2926;
}
.skin-breadcrumb-container a:hover  {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    color: #D3BC8D;
}

/* style breadcrumb separators*/
.skin-breadcrumb-separator {
    font-size: 14px !important;
}

/* remove page side deco*/
.border-wrapper {
    background-image: none;
}

/* remove heading bg deco, remove bottom padding/margin */
.container-head {
    background: none;
    margin-bottom: 0px;
    padding: 0px;
}

/* responsive: adjust container to fit content*/
@media only screen and (min-width: 992px) {
    .container {
        max-width: 970px;
        width: 100%;
    }
}

@media only screen and (min-width: 1200px) {
    .container {
        max-width: 1170px;
        width: 100%;
    }
}

/* --CONTENT-- */

/* mobile: make publications full width*/
@media only screen and (max-width:767px) {
    .table-body-cell {
        width: 100%;
    } 
}

/* mobile: style heading text*/
@media only screen and (max-width:767px){
    #dnn_BannerPane p {
    font-size: 30px !important;
}}


/*--HEADER--*/

/* change color of top banner*/
.header_banner_container {
    background-color: #2B2926 !important;
    color: #FFF !important;
}

/* change header banner font*/
.header_banner_inner * {
    font-family: 'IBM Plex Sans', sans-serif;
}

/* remove header padding*/
.skin-header{
    padding: 0px 30px;
}

/* hide decoration image on headings*/
.container-image {
    display: none;
}

/* remove header bg*/
.skin-header-background {
    background: none;
}

/* resize logo wrapper and center logo in it*/
.skin-logo {
    float: left;
    padding: 0px;
    position: relative;
    height: 118px;
    width: 15%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}

/* scale logo*/
.skin-logo a {
    width:100%;
}
@media only screen and (max-width: 768px) {
    .skin-logo img.img-responsive {
        max-width: 180px;
}}

/* mobile: resize logo*/
@media only screen and (max-width: 767px) {
.skin-logo {
    float: left;
    padding: 15px;
    position: relative;
    height: 118px;
    width: 70%;
    height: auto !important;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}

.skin-logo a {
    width: 100%;
    display: flex;
    justify-content: center;
}}

/* adust layout of site title, center*/
@media only screen and (min-width: 767px) {
    .skin-title {
    float: left;
    padding-top: 0px;
    padding: 0px 20px;
    font-variant: small-caps;
    height: 118px;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}}

/* style site title text*/
.skin-title .title-text {
    font: small-caps 500 32px "IBM Plex Sans", sans-serif;
    color: #2B2926;
}
@media only screen and (max-width: 767px){.skin-title {
    width: 100%;
    padding-left: 0px;
}

.skin-title .title-text {
    display: block;
    width: 100%;
    text-align: center;
}}


/* style site subtitle text*/
.skin-title .subtitle-text {
    font-family: 'IBM PLEX SANS', sans-serif;
    font-size: 26px;
    color: #2B2926;
    line-height: 20px;
    display: block;
}

@media only screen and (min-width: 767px){
    /* align nav width to page content*/
    .nav-main {
    width: 100%;
    padding: 0px 30px;
    }
    
    /* vertically center nav items*/
    .nav>li {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    }
    /* center nav with flex*/
    .nav.nav-main {
        padding-left: 0px;
        padding: 20px 0px;
        display: flex;
        justify-content: center;
        height: 36px;
        border: solid #D3BC8D;
        border-width: 4px 0px 4px 0px;
    }

}

/* remove nav bg*/
* .otnav {
    margin-right: 0px;
    margin-left: 0px;
    background: none;
    
}

/* style nav text*/
.otnav li a {
    margin: 0px 0 0;
    padding: 7px 12px 5px 14px;
    color: #2B2926;
    font-size: 20px;
    font-weight:500;
    font-family: 'IBM Plex Sans', sans-serif;
    text-transform: uppercase;
    height:auto;
}

@media only screen and (min-width: 1440px) {
    .otnav li a {
     font-size: 20px;
  }}

/* remove borders between nav elements*/
.otnav li.top-level {
    background: none;
}

/* remove nav item borders on dropdown*/
.otnav ul > li.dropdown.top-level:hover {
    border-top: none;
    border-left: none;
    border-right: none;

}

/* remove nav submenu item borders on dropdown*/
.otnav ul ul {
    border-left-style: none;
    border-right-style: none;
    border-bottom-style: solid;
    border-bottom-color: #D3BC8D;
    background: #ffffff;
}

/* style submenu item text*/
.otnav ul ul li a {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: #2B2926;
    height:auto;
}

/* scale logo*/
.skin-logo img {
    width:100%;
}

/* style mobile menu toggle*/
.skin-nav-toggle {
    background-color: #D3BC8D;
    padding: 6px 8px 6px 8px;
    color: #2B2926;
    width: 40px;
    height: 40px;
}

/* adjust mobile menu toggle border radius*/
.navbar-toggle {
    border-radius: 3px;
    margin-top: 15px;
}

/* adjust mobile menu toggle padding to align with search button*/
.mobile-search {
    padding-right: 10px;
    padding-top: 15px;
}

/* mobile: position search button in top right corner, style*/
@media only screen and (max-width:767px){
    .skin-header-right {
    position: absolute;
    right: 0px; 
    }

    .skin-search a, .skin-search a:visited, .skin-search a:link {
    height: 40px;
    width: 40px;
    border-radius: 3px 3px 3px 3px;
    }
}

/* style search bar*/
.skin-search-input {
    border-radius: 3px 0px 0px 3px;
    border: solid 2px #D3BC8D;
}

/* style search button*/
.skin-search a, .skin-search a:visited, .skin-search a:link {
    color: #2B2926;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #D3BC8D;
    height: 34px;
    width: 34px;
    border-radius: 0px 3px 3px 0px;
}

/* align search bar and button, align right side to page content*/
.desktop-search {
    display: flex;
    justify-content: flex-start;
    float: right;
    padding-right: 0px;
    margin: 10px 0px 20px 0px;
}

/* align right side to page content*/
.mobile-search-popup {
    background: #2B2926;
    border-radius: 3px;
    border: none;
    width: auto;
}

.mobile-search-popup label{
    font-family: 'IBM Plex Sans', sans-serif;
}

/* align right side to page content*/
header .social li {
    display: inline-block;
    text-align: center;
    margin: 0 0px 5px 16px;
}

/* grayscale social logos*/
.social img {
    filter: grayscale(1)contrast(1.5);
}

/*--FOOTER--*/

/* remove footer seal image */
.skin-footer-seal {
    background-image: none !important;
}

/* reduce padding at top of footer */
.skin-footer-content {
    padding-top: 20px;
}

/* change fonts for footer */
.footer {
    font-family: 'IBM Plex Sans', Arial, Helvetica, sans-serif;
}

/* style fonts for footer menu headings */
.footer b, .footer strong {
    font-weight: 600;
    font-size: 22px;
    text-transform: uppercase;
}

/* adjust column widths of footer sections */
@media only screen and (min-width: 769px){
    .col-md-6.col-sm-12 {
    width: 20%;
}}

/* adjust column widths of footer sections */
@media only screen and (min-width: 769px){
    div#dnn_FooterLinks {
    width: 80%;
}}

/* mobile: adjust footer layout */
@media only screen and (max-width: 767px){
    #dnn_ctr707_HtmlModule_lblContent tr{
        display: flex;
        flex-direction: column;
    }

    #dnn_ctr707_HtmlModule_lblContent td{
        margin-left: 15px;
    }

    #dnn_ctr707_HtmlModule_lblContent p{
        margin-left: 0px !important;
    }

}


/* remove extra spacing from footer menu */
.DnnModule.DnnModule-DNN_HTML.DnnModule-707 > .base-container {
    margin-top: 0px;
}

/* style footer menu items with span tag */
tr span {
    font-size: 18px !important;
    font-weight: 400;
    color: #2B2926 !important;
}

/* style footer menu items a tag*/
tr a {
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #2B2926 !important;
}

/* style footer socials heading*/
.skin-social-header {
    color: #2B2926;
    font: 18px "IBM Plex Sans", sans-serif;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: left;
}

/* adjust layout for links to keep in line */
.skin-social-links ul {
    display: flex;
}

/* Hide social media icon titles */
.skin-social-links ul > li .text {
    display: none;
}

/* scale veterans crisis line image */
img.vcl {
    max-width: 160px;
}

/* remove footer bg */
.skin-footer-background {
    background: none;
}

/* style site creds text */
.skin-footer-banner > a {
        font-family: 'IBM Plex Sans', sans-serif;
}

/* Article Styles */
a.more {
	display: none !important;
}

.article-body * {
    background: none !important;
}

.article-body p {
    font-size: 18px !important;
    font-weight: 400 !important;
}

/* Button Styles*/

/* style read more buttons for articles*/
.read-more-link {
      display: inline-block;
      background-color: #D3BC8D;
      color: #2B2926;
      font-family: "IBM Plex Sans", sans-serif;
      text-decoration: none;
      border-radius: 3px;
      padding: 10px 20px;
}

/* style learn more buttons for featured info sections*/
.learn-more-link {
    display: inline-block;
    background-color: #D3BC8D;
    color: #2B2926;
    font-family: "IBM Plex Sans", sans-serif;
    text-decoration: none;
    border: 1px solid #2B2926;
    border-radius: 3px;
    padding: 10px 20px;
    margin: 0px 30px 40px 30px;
}

/* Form Mods */
/* Entirely modify the display type to make it flexible */
#dnn_ctr71454_Form_df71454 {
  /**
   * User input values.
   */
  --grid-layout-gap: 5px;
  --grid-column-count: 2;
  --grid-item--min-width: 100px;

  /**
   * Calculated values.
   */
  --gap-count: calc(var(--grid-column-count) - 1);
  --total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
  --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
  grid-gap: var(--grid-layout-gap);
}

/* mobile: adjust grid layout */
@media only screen and (max-width: 740px){
    #dnn_ctr71454_Form_df71454 {
        /**
        * User input values.
        */
        --grid-layout-gap: 1px;
        --grid-column-count: 1;
        --grid-item--min-width: 1px;
    
        /**
        * Calculated values.
        */
        --gap-count: calc(var(--grid-column-count) - 1);
        --total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
        --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));
    
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
        grid-gap: var(--grid-layout-gap);
    }

    /* && Make the name field allow the email field onto its line && */
    div#df_field_SenderName,
    /* && Throw Email Address to the top if its second in list && */
    div#df_field_SenderEmail,
    /* && Align organization with job title THESE ARE PROBABLY BROKEN!!!!!!*/
    div#df_field_SenderOrg,
    /* Align job title with organization */
    div#df_field_SenderJob {
    	grid-column: span 2;
    }
	
    /* adjust the text spacing to not break! */
    input#dnn_ctr71454_Form_ctrlDigSenderEmail {
        width: 195px;
    }
}

/* Ensure sender interests spans the grid */
#df_field_SenderInterests{
	grid-column: span 2;
}

/* Force the sender interest column into a 2x column */
div#df_field_SenderInterests .field {
    column-count: 2;
	width: 100%
}
/* mobile: ditch the 2 column format */
@media only screen and (max-width: 740px){
    /* Force the sender interest column into a 2x column */
    div#df_field_SenderInterests .field {
        column-count: 1;
    }
}

/* Ensure sender message spans the grid */
#df_field_SenderMessage,
/* Ensure sender subject spans the grid */
#df_field_SenderSubject {
	grid-column: span 2;
}

/* && Enlarge the Element labels && */
label.label.label_top.labelroot {
	font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
	font-weight: 500;
	color: #2B2926;
	padding-bottom: 7px;
}

/* && Smallify the checkbox labels && */
#df_field_SenderInterests .field * * label {
    font-size: 16px !important;
    font-weight: normal;
}

/*&&&&&&&&&&&& Annoyingly specific form things &&&&&&&&&&&& */
#dnn_ctr71454_Form_ctrlDigSenderMessage {
	width: 98%;
	height: 250px;
}

/* make the submit button center in the page again */
.submit,
/* force the captcha to get onto its own line for its own sake */
div#grecaptcha71454 {
    grid-column: span 2;
}
/* Make the subject take up the entirety of the width of the page */
input#dnn_ctr71454_Form_ctrlDigSenderSubject {
    width: 98%;
}

/* Make the subject take up the entirety of the page */
.control#df_field_SenderSubject .field {
    width: 100%;
}

/* Make the required elements fall in-line with the bars to avoid dumb spacing */
span.required.required_field {
    display: inline;
}



input#dnn_ctr71454_Form_ctrlDigSenderEmail {
    width: 97%;
}

/* A LOT of things need to have their widths modified to properly fit 2 columns */
input#dnn_ctr71454_Form_ctrlDigSenderOrg,
div#df_field_SenderOrg.control .field,
#df_field_SenderMessage .field,
input#dnn_ctr71454_Form_ctrlDigSenderNamePrefix,
input#dnn_ctr71454_Form_ctrlDigSenderNameFirst,
input#dnn_ctr71454_Form_ctrlDigSenderNameLast,
div#df_field_SenderEmail.control .field,
div#df_field_SenderJob.control .field, 
input#dnn_ctr71454_Form_ctrlDigSenderJob,
div#df_field_SenderName.control .field {
    width: 100%;
}

div#df_field_SenderName.control .field#dnn_ctr71454_Form_ctrlDigSenderNamePrefixDiv {
    width: 19%;
}
div#df_field_SenderName.control .field#dnn_ctr71454_Form_ctrlDigSenderNameFirstDiv {
    width: 34%;
}
div#df_field_SenderName.control .field#dnn_ctr71454_Form_ctrlDigSenderNameLastDiv {
    width: 44%;
    padding: unset;
}


span.required.required_field {
    display: inline;
    padding-left: 3px;
    vertical-align: top;
}

/* pad the top of the contact bar to allow for better spacing */
span#dnn_ctr71454_dnnTITLE_titleLabel {
    padding-top: 25px;
}

/* fix the search bar to match the number of icons we have */
input.skin-search-input.usagov-search-autocomplete.ui-autocomplete-input {
    width: 221px;
}