/* PL Chrome/Firefox mismatch */
img { image-orientation: none; }

.bg-fit {
    background-color: #00a9e0;
}

/* PL - gallery */
.c-gallery-auto {
    max-width: none;
}
.link-ext {
    padding-right: 16px;
    margin-right: 4px;
}

/* PL - fz-md default 2.1875 > fz-lg 1,94, error? */
.fz-md {
    line-height: 1.875;
}

/* PL - fix firefox tab hiding */
[role="tabpanel"][aria-hidden="true"] {
    display: none;
}
/* PL - FIT responsibility footer */
.responsibility {
    font-size: 90%;
}
.responsibility a, .responsibility a:visited {
    color: #1676d0;
    text-decoration: none;
}
.responsibility a:hover,.responsibility a:focus {
    color: #1676d0;
    text-decoration: underline;
}
.responsibility a.color-gray {
    color: #6f7a86;
}
/* PL - news perex */
.b-news-fit__perex {
    color: #000;
    margin-top: 1.25em;
}

/* PL - make small tab really smaller and not bigger, notice - probably 
 * breakpoint 1439.98px for m-main__link is a nonsense */
.m-main__link.m-main__link--sm {
    padding: 15px 15px;
}

/* PL - auto width */
.table-auto {
    width: auto;
}
/* PL - alias */
.head {
    background-color: #f3f7f6;
}
/* PL - no visited color */
.b-detail__content a:not([class]):visited,
.b-detail__content a[class='link-ext']:visited {
    color: #1676d0;
}
.b-subject__link:visited,
.list-links__link:visited,
.link-file:visited .link-file__name--secondary {
  color: #1676d0;
}
a.color-secondary:visited {
  color: #1676d0;
}

/* PL - set CTA img for>tl */
@media (min-width: 1280px) {
  .b-cta__imghome {
    height: 380px;
  }
}
/* PL - undo margin */
@media (min-width: 768px) {
    .c-steps.c-steps--m-0 {
        margin: 0 -40px 0 -40px;
    }
}
@media (min-width: 1440px) {
    .c-steps.c-steps--m-0 {
        margin: 0 -80px 0 -80px;
    }
}
/* checkboard */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .bg-t { background: #f3f7f6; }
    .hide--fit-t { display: none; }
}
@media (min-width: 1024px) {
    .bg-d { background: #f3f7f6; }
}
/* blue centered b-coursse */
.b-course.b-course--fit {
    color: #1676d0;
    justify-content: center;
}

/* PL - disable generic rule "li ol { margin: .625 0 0}" in nested lists 
 * (probably more - add here) */
.c-faqs__list li ol, .c-faqs__list li ul, .c-schedule__list li ul,
.c-steps__list li ul, .list-timeline li ul {
    margin: 0 0 1.25em;
}

/* PL - disable generic "ul li li: background-image" for nested ol */
ul li ol > li, ul li li ol > li {
    background-image: none;
}

/* PL - tag for news tagging */
.tag-item {
    display: inline-block;
    margin: 4px 2px; 
    background-color: #00a9e0;
}
.tag-text {
    color: white;
    font-weight: bold;
    padding: 2px 8px;
}
.tag-item .tag-link, .tag-item .tag-link:hover, .tag-item .tag-link:focus {
    padding: 2px 8px;
    color: white;
    font-weight: bold;
    text-decoration: none;
}
.tag--fit {
    background-color: #00a9e0 !important;
    color: white;
}

/* PL,RK - grey button */
.btn--gray .btn__text {
    background-color: #6f7a86 ;
    border: 0;
}
.btn--sm .btn__text.btn--fit {
    padding: 6px 10px;
    background-color: #00a9e0 !important;
}
.no-touchevents .btn--gray:hover .btn__text,.no-touchevents .btn--gray:focus .btn__text,.no-touchevents a:hover .btn--gray .btn__text,.no-touchevents a:focus .btn--gray .btn__text {
    background-color: #4f5a66;
}

/* RK - full outline button */
.btn--outline-full .btn__text,
.no-touchevents .btn--outline-full .btn__text {
    background: #e4002b;
    color: #fff;
}
.btn--secondary.btn--outline-full .btn__text,
.no-touchevents .btn--secondary.btn--outline-full .btn__text {
    background: #1676d0;
    color: #fff;
}

/* PL,RK - autosize img */
.b-profile__content img, 
.b-detail__content img {
  max-width: 100%;
  height: auto;
}

/* PL - fix timeline fz-lg in person profile */
.list-timeline__date.fz-lg:first-child {
    margin-top: -5px;
    line-height: 1.666666666666667;
}
/* PL - fix c-schedule__time fz-lg with c-schedule__item */
.c-schedule__item.big::before,
.c-schedule__item.big::after {
    top: 10px;
}

/* PL - fix vertical align for fz-lg in b-detail */
.fixfz {
    padding-top: 0.5em;
}
/* PL - fix line-height */
.b-detail__content:not(.fz-nm) ul:not([class]) > li {
    background-position: 0 14px;
}

/* PL - force normal font size */
.fz-nm {
    font-size: 14px;
    line-height: 1.785714285714286;
}

/* PL - combine arrow with bg in b-detail */
.b-detail__head--arrow[class~='bg']:after {
    border-left-color: #f3f7f6
}

/* PL - fix submenu with line wrap - fill <a> to full height of cell */
.m-main__wrap .m-main__list, .m-main__wrap .m-main__item, .m-main__wrap .m-main__link {
    height: 100%;
}

/* PL - allow title to be a link */
.title--fit a.title__item {
    background: #00a9e0;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}
.title--fit a.title__item:hover, .title--fit a.title__item:focus {
    background: #0087b3;
    color: #fff;
    text-decoration: none;
}

/* RK - breadcrumbs in mobile layout */
@media (max-width: 767.98px) {
    .header__breadcrumb {
        display: block;
    }
    .header-fixed .mother {
        padding-top: 110px;
    }
}

/* RK - blue icon in mobile layout */
.icon-symbol-red {
    display: inline-block;
}
.icon-symbol-blue {
    display: none;
}
@media (max-width: 767.98px) {
    .icon-symbol-red {
        display: none;
    }
    .icon-symbol-blue {
        display: inline-block;
    }
    .header__logo .icon-svg--symbol {
        background: #00a9e0;
    }
}
/* PL - figure with frame */
figure.frame {
    display: block;
}
figure.frame img {
    padding: 8px;
    border: 1px solid #cccccc;
}
figure.frame figcaption {
    display: block;
    color: #444444;
}

/* PL - fix next arrow in research */
.b-hero-header--autoheight .b-hero-header__next.middle {
    bottom: 80px;
}
/* PL - fix next arrow in study */
.b-hero-header--autoheight .b-hero-header__content {
    position: absolute;
}

@media (min-width: 768px) and (max-width: 1023.98px) {
/* PL - fix missing scrollbar in c-years__content for half-width (field overview) */
    .c-years__content .scroll__content, .c-scroll__half-size .scroll__content {
        position: absolute;
        padding-right: 50px;
        overflow: scroll;
        overflow-x: hidden;
    }
/* PL - add missing text-align--t */
    .text-left--t {
        text-align: left;
    }
    .text-center--t {
        text-align: center;
    }
/* PL - add missing autoheight */
    .b-hero-header--autoheight {
        min-height: 320px;
        height: auto;
    }
    .b-hero-header--autoheight .b-hero-header__next {
        bottom: 55px;
    }
}

/* PL - add missing desktop pt/pb like tablet pt/pb */
@media (min-width: 1280px) {

    .pt20--d {
        padding-top: 20px;
    }
    .pt40--d {
        padding-top: 40px;
    }
    .pb0--d {
        padding-bottom: 0;
    }
    .pb20--d {
        padding-bottom: 20px;
    }
    .pb40--d {
        padding-bottom: 40px;
    }
}

/* PL - url overflow */
.b-vcard__contacts {
    font-size: 14px;
}

/* PL - date overflow */
@media (min-width: 768px) {
    .c-media__link-date {
        -webkit-flex: 0 0 230px;
        -ms-flex: 0 0 230px;
        flex: 0 0 230px;
    }
}

/* RK - fixed profile navigation */
.b-profile__nav.is-fixed {
    position: absolute;
    bottom: auto;
}

/* RK - modified c-employees__table (person v-card) */
.c-employees__table-list--mw500 {
    max-width: 500px;
}
.c-employees__table-list--mw400 {
    max-width: 400px;
}
.b-employee-table--fit-flat {
    display: block;
}
.b-employee-table--fit-flat .b-employee-table__head {
    max-width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
/* disable dark red function title in active link */
a.b-employee-table__head:focus {
    color: #000;
    -webkit-transition: none;
    transition: none;
}
.b-employee-table--fit-flat .b-employee-table__img {
    margin: 0 20px 0 0;
}
.b-employee-table--fit-flat .b-employee-table__img img {
    min-width: 60px;
}
.b-employee-table--fit-flat .b-employee-table__contacts {
    display: block;
    max-width: 100%;
    padding-top: 10px;
}
.b-employee-table--fit-flat .b-employee-table__contact {
    max-width: 100%;
    padding-left: 0;
}
.b-employee-table--fit-flat .link-icon,
.b-employee-table--fit-flat .link-icon[href^='tel'] {
    color: #1676d0;
}
.b-employee-table--fit-flat .link-icon:hover {
    color: #125ea6;
    text-decoration: underline;
}

/* RK - fit programs */
.c-fit-programs {
    padding-top: 40px;
    padding-bottom: 40px;
}
.c-fit-programs__title {
    text-align: center;
    margin-bottom: 1.333333333333333em;
}
.c-fit-programs__wrap {
    margin: -15px -10px;
}
.c-fit-programs__grid {
    margin: 0 auto;
}
.c-fit-programs__cell {
    border: 0;
    padding: 15px 10px;
}
@media (min-width: 768px) {
    .c-fit-programs__wrap {
        margin: -15px -20px;
    }
    .c-fit-programs__cell {
        padding: 15px 20px;
    }
}
@media (min-width: 1280px) {
    .c-fit-programs {
        padding-top: 55px;
        padding-bottom: 55px;
    }
    .c-fit-programs__title {
        margin-bottom: 1.527777777777778em;
    }
    .c-fit-programs__wrap {
        margin: -30px -40px;
    }
    .c-fit-programs__cell {
        padding: 30px 40px;
    }
}
@media (min-width: 1440px) {
    .c-fit-programs__wrap {
        margin: -30px -80px;
    }
}
/* don't limit to 340px */
.c-fit-programs__wide .b-program {
    max-width: none;
}

/* RK - fit programs partners */
.c-fit-programs--partners .c-fit-programs__grid {
    max-width: 760px;
}
@media (min-width: 1024px) {
    .c-fit-programs--partners .c-fit-programs__grid {
        max-width: none;
    }
}

/* RK - fit title note */
.title.title--note {
    margin-top: -30px;
    margin-bottom: 40px;
    text-transform: none;
}
@media (max-width: 767.98px) {
    .title.title--note {
        margin-top: -20px;
        margin-bottom: 30px;
    }
}

/* RK - fit group members */
.c-fit-group-members {
    margin: -10px;
}
.c-fit-group-members__cell {
    border: 0;
    padding: 10px;
}
.c-fit-group-members__item {
    border: 1px solid #e8eaea;
}
.c-fit-group-members__header {
    display: block;
    padding: 20px 20px 15px 20px;
    text-align: center;
    text-decoration: none;
}
.c-fit-group-members__img {
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e8eaea;
    margin: 0 auto;
}
.c-fit-group-members__img img {
    width: 100px;
}
.c-fit-group-members__title {
    color: #1676d0;
    margin-top: 10px;
    margin-bottom: 5px;
}
.c-fit-group-members__header .c-fit-group-members__title {
    text-decoration: underline;
    -webkit-transition: color .3s;
    transition: color .3s;
}
.c-fit-group-members__header:hover .c-fit-group-members__title {
    text-decoration: none;
    -webkit-transition: color .3s;
    transition: color .3s;
    color: #125ea6;
}
.c-fit-group-members__position {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: black;
    text-decoration: none;
    margin: 0;
}
.c-fit-group-members__text {
    border-top: 1px solid #e8eaea;
    padding: 20px;
}
@media (min-width: 768px) {
    .c-fit-group-members__title {
        font-size: 20px;
    }
}

/* RK - b-profile__s-split */
@media (max-width: 768px) {
    .b-profile__s-split.grid--bd > .grid__cell {
        border-bottom-width: 0;
    }
    .b-profile__s-split + .b-profile__s-split.grid--bd {
        border-top-width: 0;
    }
    .b-profile__s-split + .b-profile__s-split.grid--bd > .grid__cell {
        border-top: 1px solid #e8eaea;
    }
}

/* RK - wider b-404__text */
.b-404__text {
    max-width: 430px;
}

/* RK - fix m-tabs IE10/11, nested flex children size  */
.m-tabs__link {
    width: 100%;
}
/* PL - fix b-course content overflow in IE10/11, flexbug#2 */
.b-course > * {
    max-width: 100%;
}
/* PL - dtto IE fix */
.b-feature__thumbnail {
    max-width: 100%;
}

/* RK - fit ducks */
.icon-fit-duck {
    display: inline-block;
    margin-bottom: 12px;
    padding: 3px 0;
    height: 75px;
}
.icon-fit-duck img {
    height: 100%;
}

/* RK - flexbox break */
.inp__break {
    flex-basis: 100%;
    height: 0;
}

/* RK - break word */
.ow-break-word {
    overflow-wrap: break-word;
}