/* ===============================
   RESET UIKIT TYPOGRAPHY TO THEME
   =============================== */



/* Editor Styles 
h1, h2, h3, h4, h5, h6,
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6 {
  font-family: var(--fontbody)!important;
  font-weight: var(--bold)!important;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: inherit;
}
h2 {
    font-size: 42px!important;
    line-height: 48px!important;
    margin: 0 0 15px;
}
p {
  font-family: var(--fontbody)!important;
  font-style: normal!important;
  font-weight: var(--regular)!important;
  font-size: 18px;
  line-height: inherit;
  color: var(--gray)!important;
}

/* Links 
.uk-link, a {
  color: var(--dblue);
  text-decoration: inherit;
}

.wp-element-caption strong a { 
  color: var(--dblue);
  text-decoration: inherit;
}

p > a {
  color: var(--dblue);
  text-decoration: inherit;
}

/* Lists
ul, ol {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.editor-visual-editor__post-title-wrapper > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  font-size: 32px!important;
}

.editor-post-card-panel__title.editor-post-card-panel__title, .block-editor-inspector-popover-header h2   {
  font-size: 16px!important;
  line-height: 20px!important;
}
.block-editor-block-inspector h2, .block-editor-block-inspector h3, #editor .postbox>.postbox-header .hndle, .components-circular-option-picker__swatches h2, .block-editor-inserter__panel-title {
  font-size: 13px!important;
  line-height: 18px!important;
}

.block-editor-block-list__layout {
  margin-top: 40px;
}

.media-attachments-filter-heading {
  font-size: 13px!important;
  font-weight: bold!important;
  top: 0;
}

@media (min-width: 960px) {
    /* Headings 
    h1, h2, h3, h4, h5, h6,
    .uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6 {
      font-family: "sofia-pro", sans-serif!important;
      font-weight: inherit!important;
      font-size: inherit;
      line-height: inherit;
      letter-spacing: inherit;
      color: inherit;
      margin: inherit;
    }

    /* Paragraphs 
    p {
        font-family: "sofia-pro", sans-serif!important;
        font-size: inherit;
        line-height: inherit;
        color: inherit;
    }

    /* Links 
    a {
        color: inherit;
        text-decoration: inherit;
    }

    /* Lists
    ul, ol {
        font-family: "sofia-pro", sans-serif!important;
        font-size: inherit;
        line-height: inherit;
    }
}

html :where(.wp-block) { max-width: 98%; }
em { color: inherit; }
.acf-selection { font-size: 12px!important;}

/* When "center content" is checked on the carousel block 
.atk-carousel--center-content .uk-slider-items {
  display: flex;
}

/* Make each slide a flex container that centers its content 
.atk-carousel--center-content .uk-slider-items > li {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bkgrd-blk { background: #000; border-radius: 5px!important; }

h1, h2, h3, h4, h5, .uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5 { font-family: 'sofia-pro', sans-serif!important; font-weight: var(--bold)!important;  margin: 0 0 18px;}
h1 {font-size: 58px!important; line-height: 62px;}
h2 {font-size: 42px!important; line-height: 48px; margin: 0 0 15px 0;}
h3 {font-size: 28px!important; line-height: 36px; margin: 0 0 15px 0;}
h4 {font-size: 22px!important; line-height: 28px;}
li { font-size: 18px; }
.uk-link, a {color: var(--dblue)!important; text-decoration: none!important; -moz-transition: all 0.5s; -webkit-transition: all 0.5s; transition: all 0.5s;}
a:hover { text-decoration:none!important; color:var(--orange)!important; outline:none!important;}


/* ============== CARD BLOCK ============== 
.card { position: relative; box-sizing: border-box; }
.card .uk-card-footer { text-align: center; text-transform: uppercase; border-top-left-radius: 0!important; border-top-right-radius: 0!important; border-top: 1px solid rgba(209,70,86, .2);}
.card .uk-card-footer a { font-weight: var(--medium); color: var(--mred); }
.card .uk-card-footer:hover { background-color: var(--mdkblue);  }
.card .uk-card-footer:hover a { color: var(--mlight); }

/* ============== POST BLOCK ============== 
.featured-title { font-weight: var(--medium); font-size: 2.8rem; margin: 20px 0 5px 0; line-height: 1.15em; }
.featured-title a { color: var(--mblack); }
.story-title  { font-weight: var(--medium); font-size: 1.8rem; margin: -3px 0 5px 0; line-height: 1.15em; }
.story-title a { color: var(--mblack);  }
.story-list-content { border-bottom: 1px solid #efefef; }
.story-list-content:last-of-type { border-bottom: none; }
.story-list-content .read-article { text-align: right; margin: 15px 0 25px;}
.bigstory-title  { font-weight: var(--medium); font-size: 2.4rem; margin: -3px 0 5px 0; line-height: 1.15em; }
.bigstory-title a { color: var(--mblack);  }
.read-article { display: block; text-align: left; margin-top: 15px; font-size: 1.6rem; font-weight: var(--medium); text-transform: uppercase; }
.read-article:hover { color: var(--mgray); }
.blog-cardsm-title { font-weight: var(--medium); letter-spacing: 0; line-height: 1.25em; }
.card-author { color: #666; font-size: 1.4rem;}
.list-topic { text-transform: uppercase; font-size: 1.2rem; }
.list-wrap .uk-margin-medium:nth-of-type(2) {margin-top:0!important;}
.story-gridtitle {  font-size: 1.8rem; margin: 10px 0 5px 0; line-height: 1.15em; }
.story-gridtitle a { font-weight: var(--medium); color: var(--mdkblue); }
.story-wrap { margin-top: 60px!important; }


/* ============== PAGINATION  ============== 
.page-numbers { padding: 5px 10px; background: var(--mlight);border: 1px solid var(--msoft); border-radius: 4px; color: var(--mblue); font-size: 1.4rem; }
.page-numbers:hover { padding: 4px 10px; background: var(--mblue);border-radius: 4px;color: var(--mwhite); }
.page-numbers.current { padding: 4px 10px; background: rgba(234, 227, 223, .35); border-radius: 4px; color: rgba(140, 140, 140, .75); border: 1px solid rgba(140, 140, 140, .35); }

/* ============== GLOBAL VARIABLES ============== 
.recent-news-span, .p-tags { font-family: 'Inter', sans-serif;  font-weight: 400; font-size: 1.7rem; display: block; text-transform: uppercase; letter-spacing: normal; }
.mg-rt40 { margin-right: 40px; }
.mg-lt40 { margin-left: 40px; }
.mg-rt0 { margin-right: 0px; }
.mg-lt0 { margin-left: 0px; }
.uk-position-small { max-width: 60%; }
.uk-button.uk-devcollc { background-color: var(--devco); color: #fff; border-radius: 6px; font-family: 'Inter', sans-serif;  font-weight: 600; font-size: 1.6rem; }
.uk-card { background: none; border: none; }
.uk-card-body { padding: 20px 20px;}

/* ============== BUTTON BLOCK ============== 
.uk-button-solid, .uk-button-border, .uk-cus-txt { font-size: 1.2rem; font-family: 'Inter', sans-serif;  font-weight: 500;letter-spacing: 0.115em; line-height: 1.25em; padding: 15px 20px; }
.uk-cus-txt { text-transform: uppercase; color: var(--enterprise); }
.uk-cus-txt:hover { color: var(--hover); }
.post-footer { display: block; position: absolute; bottom: 0;}
.p-content { padding-bottom: 40px; color: var(--devco-dark);}
.post-title-link,  .post-title-link { font-size: 1.8rem; padding: 0; margin-bottom: 20px; text-align:left; line-height:1.25em; font-weight: var(--medium); text-transform: capitalize; line-height: 1.25em; }
.post-title-link { text-transform: capitalize; }
.post-title-short { font-size: 1.8rem; padding: 0; margin-bottom: 0; text-align:left; line-height:1.25em; font-weight: var(--medium); text-transform: capitalize; }
.uk-tab > * > a { font-size: 1.6rem!important; color: #000; }
.page-template-devco-manage .side-wrap .page-template-devco-manage-submit .side-wrap, .single-devco-manage .side-wrap { background: #999!important;  padding: 0; top: 124px; width: 125px; }
.feed .uk-card-body { padding: 20px 0 0;}
.feed.uk-card-default .uk-card-body {  padding: 40px 40px 20px; }
.feed .uk-card-media-left  {margin-right: 20px;}
.feed .uk-card-media-right  {margin-left: 20px;}
.feed.media-lft .uk-card-body, .feed.media-rt .uk-card-body  { padding: 0;  }
.feed.media-lft h4, .feed.media-rt h4  { padding: 0; line-height: 1em; margin-bottom: 10px; }
.feed.media-lft .post-footer, .feed.media-rt .post-footer { display: block; position: absolute; bottom: 0;}
.uk-card-body h4 { margin: 0;}
.slide-title { text-transform: capitalize;}
.widget-title { font-family: 'Inter', sans-serif;  font-weight: 400; margin: 40px 0 10px; text-transform: uppercase; }
.uk-card-default { box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.25);}
.employ-name { display: block; font-weight: 600; color: var(--devco); line-height: 1.75rem; }
.jobtitle { display: block; font-weight: 400; font-size: 1.3rem; line-height: 1.5rem; margin-top:10px; }
.employee-img {border-radius: inherit; }
.employ-media { overflow: hidden; width: 100%; height: 140px; position: relative; }
.img-wrap {max-height:177px;overflow:hidden;display:block;}
.nomarg {margin: 0!important;}
.button-text { font-size: 1.6rem; line-height: 1.25em; color: var(--mblue);}

/* ACCORDION STYLES 
.uk-accordion  { padding: 10px 0!important;  }
.uk-accordion li::after { width: 90%; height: 2px; background-color: var(--light-grey); content: ''; display: inline-block; }
.uk-accordion li:last-of-type::after { display: none; }
.uk-accordion-title { padding:0 45px 0 30px; font-size: 20px!important; color: var(--dark-blue)!important; }
.uk-accordion-title::before {content: ""; transform: rotate(-90deg); float:left!important; display: list-item; position: relative;top: -3px; left: -45px; width: 30px!important; height: 1.5em!important; margin-bottom: -1.5em; background-image: url('../images/chev-down.svg')!important; background-repeat: no-repeat!important; background-position: 50% 50%!important;}
.uk-open .uk-accordion-title::before {content: "";transform: rotate(0deg);  transition: all .35s; float:left!important; display: list-item; position: relative;top: -3px; left: -45px; width: 30px!important; height: 1.5em!important; margin-bottom: -1.5em; background-image: url('../images/chev-down.svg')!important; background-repeat: no-repeat!important; background-position: 50% 50%!important;}
.uk-accordion-content { padding: 0 45px 0 30px; box-sizing: border-box; }

*/