/**
 * @file
 * TLS specific responsive CSS.
 */

.node--type-blog-post .fixed-top {
    position: relative;
    background: #151515 !important;
}

/* Mobile View ------------ */
@media only screen and (min-width: 250px) and (max-width: 767px) {

    span.navbar-toggler-icon {
        background: url(/themes/tls/images/hamberger-mobile.png);
    }

    #navbar-main::before,
    nav#navbar-main .container::after {
        content: none;
    }

    #navbar-main .navbar-we-mega-menu .we-mega-menu-li[data-level="0"]:hover {
        border-color: transparent !important;
    }

    .region.region-header {
        margin: 0px;
    }

    #block-topicons {
        display: none;
    }

    .we-mega-menu-submenu {
        display: none !important;
    }

    li.we-mega-menu-li {
        width: 100%;
    }

    .region-we-mega-menu a {
        display: none;
    }

    a.we-mega-menu-li {
        margin: 20px 0px !important;
        border-top: none !important;
        box-shadow: none !important;
    }

    .article-insight.col-md-4 {
        max-width: 100% !important;
        margin: 25px 0px !important;
        height: auto !important;
    }

    #edit-field-blog-category-target-id .form-checkboxes.bef-checkboxes {
        display: block !important;
        margin-left: 35px;
    }

    #paragraph-648 h1.white {
        width: 100% !important;
        font-size: 2.0rem;
    }

    .layout-seven .inner-box,
    .layouteleven .inner-box {
        margin: 0% !important;
    }

    .text-align-right,
    .webform-submission-quick-contact-form-form #edit-actions {
        text-align: center;
    }

    #contact .TextSectionCenterPosition:before {
        width: 100%;
    }

    .webform-submission-quick-contact-form-form .offset-2 {
        margin-left: 0px;
    }

    .webform-submission-quick-contact-form-form fieldset.js-form-item.js-form-type-textfield {
        margin-left: 0px !important;
    }

    .logolegal-footer:before,
    .logolegal-footer:after {
        width: 12%;
    }

    #block-corefooterlinks .col-md-4.offset-8 {
        margin: 0px;
    }

    .row.region.region-footer-second {
        text-align: center !important;
    }

    #block-corefootercopyright {
        margin: auto;
    }

    #block-corefootersitemap {
        text-align: center !important;
        margin: auto;
    }

    #block-corefooterlinks .text-formatted.field.field--name-body {
        text-align: center;
    }

    #block-corefooterlinks ul {
        padding-left: 0px !important;
    }

    .layoutseven .description-text .all {
        display: block !important;
    }

    .layoutseven .box-1 {
        width: 100% !important;
        margin: 0px;
        text-align: center;
    }

    .layoutseven .box-2 {
        width: 100% !important;
        margin: 0px;
        text-align: center;
        margin-top: 15px;
    }

    a.button4,
    a.button1 {
        display: flex;
        justify-content: center;
        margin-right: 0px !important;
        margin-top: 15px;
    }

    #paragraph-1018 .description-text ul li {
        width: 100%;
    }

    section.region-footer-first .offset-11 {
        margin-left: 5% !important;
    }

    #block-languageswitchercontent {
        right: 20% !important;
        bottom: -2% !important;
    }

}


/* Tablet View ------------ */
@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .row.region.region-header-form {
        display: block;
    }

    .form-inline.navbar-form.float-right {
        display: block;
        float: none !important;
    }

    .region-we-mega-menu .navbar-toggle {
        display: none;
    }

    .we-mega-menu-submenu-inner {
        display: none !important;
    }

    a.we-mega-menu-li {
        border-top: none !important;
        box-shadow: none !important;
    }

    .view-id-resources .view-content.row {
        display: flex !important;
        flex: 0 0 50% !important;
    }

    .article-insight.col-md-4 {
        max-width: 50% !important;
        flex: 0 0 45%;
        height: auto !important;
    }

    fieldset.js-form-item.js-form-type-textfield {
        margin-left: 0px !important;
    }

    .we-mega-menu-submenu {
        display: none !important;
    }

    .logolegal-footer:before,
    .logolegal-footer:after {
        width: 30%;
    }

    .row.region.region-footer-second {
        text-align: center !important;
    }

    #block-corefootercopyright {
        margin: auto;
    }

    #block-corefootersitemap {
        text-align: center !important;
        margin: auto;
    }

    #block-corefooterlinks .text-formatted.field.field--name-body {
        text-align: center;
    }

    #block-corefooterlinks ul {
        padding-left: 0px !important;
    }

    #block-corefooterlinks .col-md-4.col-sm-6,
    #block-corefooterlinks .col-md-2.col-sm-6 {
        max-width: 50% !important;
        flex: 0 0 50%;
    }

    #block-corefooterlinks .col-md-4.offset-8 {
        max-width: 100% !important;
        margin: auto;
        flex: 0 0 100%;
    }

    .footer-copywrite-section {
        padding: 30px 60px;
    }

    #paragraph-1018 .description-text ul li {
        width: 50%;
    }

}

/* Mobile & Tablet View ------------ */
@media only screen and (min-width: 250px) and (max-width: 1400px) {}

/* Resources ---------------------- */
.article-insight.col-md-4 {
    display: block;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    height: 550px;
    box-shadow: 0 10px 20px #eee;
    max-width: 30%;
    margin: 15px;
}

.view-id-resources .views-row,
.view-id-resources .views-field,
.view-id-resources .field-content {
    display: contents;
}

.view-id-resources .view-content.row {
    display: block;
}

.view-id-resources ul.pagination.js-pager__items {
    display: flex;
    justify-content: center;
}

.article-img img {
    width: 100%;
    height: 165px;
}

.article-type {
    display: inline-block;
    background: #55acd8;
    color: #fff;
    padding: 5px;
    position: absolute;
    right: 0;
    top: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    line-height: 20px;
    width: 125px;
    text-align: center;
    font-size: 10px;
}

.article-type a {
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.article-date {
    font-size: 10px;
    padding: 10px 0px 20px;
}

.article-title {
    font-size: 20px;
    margin: 20px 0px 30px;
    line-height: 1.325;
}

.article-body p {
    font-size: 14px;
}

.article-insight.col-md-4.White.Papers {
    border: 1px solid #ffd5b8;
    border-radius: 5px;
}

.White.Papers .article-type {
    background: #ff6600;
}

.article-insight.col-md-4.Video {
    border: 1px solid #82eaa7;
    border-radius: 5px;
}

.Video .article-type {
    background: #62f048;
}

.article-insight.col-md-4.Webinars {
    border: 1px solid #82eaa7;
    border-radius: 5px;
}

.Webinars .article-type {
    background: #84ae77;
}

.article-insight.col-md-4.Event {
    border: 1px solid #959595;
    border-radius: 5px;
}

.Event .article-type {
    background: #959595;
}

.article-insight.col-md-4.Demos {
    border: 1px solid #850c0c;
    border-radius: 5px;
}

.Demos .article-type {
    background: #850c0c;
}

.article-insight.col-md-4.News {
    border: 1px solid #000000;
    border-radius: 5px;
}

.News .article-type {
    background: #000000;
}

.article-insight.col-md-4.Press.Release {
    border: 1px solid #ffb900;
    border-radius: 5px;
}

.Press.Release .article-type {
    background: #ea8a19;
}

.js-form-item.js-form-type-checkbox.checkbox.custom-control.custom-switch {
    padding: 0% 10%;
    margin: 0%;
}

#edit-field-blog-category-target-id .form-checkboxes.bef-checkboxes {
    display: flex;
    flex-direction: row;
}

#views-exposed-form-resources-page-1 {
    margin-top: 50px;
}

/* Node Blog Post CSS ----- */
.node--type-blog-post .node--type-blog-post .fixed-top {
    position: relative;
    background: #000000 !important;
}

.node--type-blog-post .field.field--name-field-blog-category {
    font-size: 12px;
    line-height: 1.6;
    color: #5ba4ec;
    display: block;
    margin: 2px;
    padding: 1px 6px;
    border-radius: 4px;
    border: solid 1px #65a8e4;
    text-decoration: none;
    transition: color 200ms ease, background-color 200ms ease;
    float: left;
    font-family: 'Montserrat', serif !important;
}

.node--type-blog-post .field.field--name-field-blog-topic {
    float: left;
}

.node--type-blog-post .field.field--name-field-blog-topic .field__item {
    float: left;
    padding: 0px 16px;
    display: inline-block;
}

.node--type-blog-post .field.field--name-field-blog-image {
    float: none;
}

.node--type-blog-post .field.field--name-field-blog-category a {
    color: #5ba4ec !important;
}

.node--type-blog-post .field.field--name-field-blog-topic .field__item {
    font-size: 12px;
    line-height: 1.6;
    color: #fff;
    display: block;
    margin: 2px;
    padding: 1px 6px;
    border-radius: 4px;
    border: solid 1px #f37027;
    background-color: #f37027;
    text-decoration: none !important;
    transition: color 200ms ease, background-color 200ms ease;
}

.node--type-blog-post .field.field--name-field-blog-topic .field__item a {
    color: #FFFFFF !important;
    text-decoration: none !important;
}