/* Шрифт используй этот: font-family: "imago-pro-roche-n4","imago-pro-roche","arial-rfb",sans-serif; */

/* Main start */

.hub .blue-div {
    position: relative;
    padding: 10px;
}

.hub .blue-div > * {
    z-index: 5;
    position: relative;
}

.hub .blue-div::after {
    content: '';
    display: block;
    width: 100%;
    height: calc(100% - 60px);
    background-color: #FAFCFE;
    position: absolute;
    left: 0;
    bottom: 0;
}

.hub .white-div {
    padding: 10px;
}

.hub .hub-button {
    background-color: #0066CC;
    display: inline-block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    padding: .8em 1.2em;
    text-align: center;
    border: none;
}

.hub .hub-button:visited {
    color: #ffffff;
}

.hub .hub-button:hover {
    background-color: #1979d8;
    cursor: pointer;
    text-decoration: none;
}

.hub .width-33 {
    width: 33%;
    flex-basis: 33%;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .hub .width-33 {
        width: auto;
        flex-basis: auto;
        flex-shrink: 1;
    }
}


.hub .arrow-link {
    color: #0066CC;
    font-size: 17px;
    text-decoration: underline;
    display: inline-block;
    position: relative;
    margin-top: 1em;
}

.hub .arrow-link::before {
    content: '';
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='15' viewBox='0 0 9 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.92855 0L0 1.92855L5.14283 7.07138L4.51679e-05 12.2142L1.9286 14.1427L8.99996 7.07136L7.0714 5.1428L7.07138 5.14283L1.92855 0Z' fill='%230066CC'/%3E%3C/svg%3E");
    width: .8em;
    height: .8em;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: -.05em;
    margin-right: .1em;
    transition: margin ease-in-out .1s;
}


.hub .arrow-link:hover {
    text-decoration: none;
}

.hub .link-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.hub .link-overlay::before {
    display: none !important;
}

.hub hr {
    height: 1px;
    display: block;
    border: 0;
    border-top: 2px dotted #eeeeee;
    margin: 40px 0;
}

/* Main end */

/* Cards list start */

.hub .cards-list {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.hub .cards-list .card-item {
    position: relative;
    width: 0;
    z-index: 2;
    background-color: white;
    padding: 30px;
    text-align: center;
    margin: 20px;
    box-shadow: 0px 4px 20px rgba(0, 160, 227, 0.08);
    transition: box-shadow ease-in-out .2s;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    flex: 1 1 21%;
}

.hub .cards-list.cards-list-4-items .card-item,
.hub .cards-list.cards-list-4-items .card-horizontal-item {
    flex: 1 1 16%;
}

.hub .cards-list .card-item:hover {
    box-shadow: 0px 4px 20px rgba(0, 160, 227, 0.2);
}
.hub .cards-list .card-item:hover .arrow-link {
    text-decoration: none;
}

.hub .cards-list .card-item img {
    height: 75px;
    max-width: 100%;
}

.hub .cards-list .card-item h3 {
    color: #666666;
    font-size: 19px;
    word-wrap: break-word;
    margin-top: 1.5em;
    line-height: 1.2em;
    word-break: break-word;
}

.hub .cards-list .card-horizontal-item {
    position: relative;
    width: 0;
    z-index: 2;
    background-color: white;
    padding: 30px;
    text-align: left;
    margin: 20px;
    box-shadow: 0px 4px 20px rgba(0, 160, 227, 0.08);
    transition: box-shadow ease-in-out .2s;
    align-items: center;
    display: flex;
    flex-direction: row;
    flex: 1 1 0px;
}

.hub .cards-list .card-horizontal-item:hover {
    box-shadow: 0px 4px 20px rgba(0, 160, 227, 0.2);
}

.hub .cards-list .card-horizontal-item:hover .arrow-link {
    text-decoration: none;
}

.hub .cards-list .card-horizontal-item .content {
    padding-left: 20px;
}

.hub .cards-list .card-horizontal-item h3 {
    color: #666666;
    font-size: 18px;
    hyphens: auto;
    word-break: break-word;
}

.hub .cards-list .card-horizontal-item img {
    width: 90px;
    height: auto;
}

@media (max-width: 1199.98px) {
    .hub .cards-list .card-item {
        flex: 1 1 22%;
    }
    .hub .cards-list.cards-list-4-items .card-item,
    .hub .cards-list.cards-list-4-items .card-horizontal-item {
        flex: 1 1 40%;
    }
}

@media (max-width: 991.98px) {
    .hub .cards-list .card-horizontal-item {
        width: calc(50% - 100px);
        flex-basis: calc(50% - 100px);
        flex-grow: 0;
    }
    .hub .cards-list .card-item {
        flex: 1 1 22%;
    }
}

@media (max-width: 767.98px) {
    .hub .cards-list .card-item {
        flex: 1 1 100%;
    }

    .hub .cards-list .card-horizontal-item {
        width: 100%;
        flex-basis: 100%;
    }

    .hub .cards-list .card-horizontal-item img {
        width: 70px;
        height: auto;
    }
}

@media (max-width: 575.98px) {
    .hub .cards-list .card-item {
        flex-direction: row;
        padding: 20px;
        margin: 10px;
    }

    .hub .cards-list .card-horizontal-item {
        width: 100%;
        flex-basis: 100%;
        padding: 20px;
        margin: 10px;
    }

    .hub .cards-list .card-item .content {
        display: flex;
        flex-direction: row;
        width: 100%;
        align-items: center;
    }

    .hub .cards-list .card-item .content img {
        width: 60px;
        height: auto;
        margin-right: 20px;
    }

    .hub .cards-list .card-item .content h3 {
        text-align: left;
        width: 100%;
        margin: 0;
        max-width: 100%;
        hyphens: auto;
    }

    .hub .cards-list .card-item .arrow-link {
        display: none;
    }
        
}

/* Cards list end */

/* Bottom block start */

.hub .bottom-block {
    display: flex;
    width: 100%;
    flex-direction: row;
    margin-top: 30px;
}

.hub .bottom-block .bottom-item {
    background-color: white;
    border: 1px solid #B3D1F0;
    margin: 20px;
    padding: 20px;
    display: flex;
}

.hub .bottom-block .bottom-item p {
    font-size: 17px;
    color: #666666;
}

.hub .form-feedback {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hub .form-feedback p {
    padding-right: 1.5em;
    margin: 0;
}

.hub .form-subscribe {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hub .form-subscribe p {
    padding-right: 1.5em;
    margin: 0;
}

@media (max-width: 991.98px) {
    .hub .bottom-block {
        flex-direction: column;
    }   
    .hub .bottom-block .bottom-item {
        margin: 10px 20px;
    }
}

@media (max-width: 575.98px) {
    .hub .bottom-block .bottom-item {
        margin: 10px;
    }

    .hub .form-feedback,
    .hub .form-subscribe {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hub .form-feedback p,
    .hub .form-subscribe p {
        padding: 0;
    }

    .hub .form-feedback .hub-button,
    .hub .form-subscribe .hub-button {
        margin-top: 20px;
    }
}

/* Bottom block end */

.teasers-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 20px;
}

.teasers-list .teaser-item {
    position: relative;
}

.teasers-list .teaser-item:hover .arrow-link {
    text-decoration: none;
}


.teasers-list .teaser-item .title {
    margin-top: 1em;
    font-size: 20px;
    line-height: 1.2em;
    color: #666666;
}

.teasers-list .teaser-item .image {
    position: relative;
    padding-bottom: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

.teasers-list .teaser-item .image span {
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 30%;
    background: linear-gradient(180deg, #0066CC 0%, #0066cc00 100%);
    padding: 10px;
    max-width: 90px;
    text-align: center;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1.2em;
}

.teasers-list .teaser-item:hover .image span {
    background: linear-gradient(180deg, #0066CC 0%, #0066cc45 100%);
}

@media (max-width: 991.98px) {
    .teasers-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .teasers-list .teaser-item .title {
        font-size: 18px;
    }
}

@media (max-width: 575.98px) {
    .teasers-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Teasers list start */


/* Form start */
.hub .hub-form {
    background-color: white;
    box-shadow: 0px 1px 5px rgba(0, 160, 227, 0.08);
    padding: 30px;
    margin: 20px;
}

.hub .hub-form input,
.hub .hub-form textarea {
    background: rgba(0, 102, 204, 0.05);
    box-shadow: inset 0px 4px 30px rgba(0, 102, 204, 0.05);
    border: none;
    font-size: 16px;
    padding: .8em 1.2em;
    color: #333333;
    width: 100%;
    box-sizing: border-box;
}

.hub .hub-form textarea {
    resize: none;
}

.hub .hub-form {
    font-size: 16px;
}

.hub .hub-form > *:first-child {
    margin-top: 0;
}

.hub .hub-form > *:last-child {
    margin-bottom: 0;
}

.hub .hub-form .inputs-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.hub .hub-form .inputs-container .full-width {
    grid-column: 1/3;
}

.hub .hub-form .form-bottom {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.hub .hub-form .form-bottom > *:not(:last-child) {
    margin-right: 20px;
}

.hub .hub-form .small-text {
    font-size: 14px;
    color: #999999;
}

@media (max-width: 575.98px) {
    .hub .hub-form .inputs-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    .hub .hub-form .inputs-container .full-width {
        grid-column: 1;
    }
    .hub .hub-form .form-bottom {
        flex-direction: column;
    }
    .hub .hub-form .form-bottom > *:not(:last-child) {
        margin-right: 0px;
    }
    .hub .hub-form .form-bottom button {
        margin-top: 20px;
        width: 100%;
    }
}


/* Form end */

/* Roche Styles fix start */

.hub .hub-button.icon-arrow:before {
    display: none;
}


#federal_consulting,
#online_medpred,
#hub_feedback_form {
    position: relative;
    margin: 30px;
    padding: 30px;
    background-color: white;
    border: 1px solid #76beec;
}

#federal_consulting input:not([type=submit]), 
#federal_consulting textarea,
#online_medpred input:not([type=submit]), 
#online_medpred textarea,
#hub_feedback_form input:not([type=submit]), 
#hub_feedback_form textarea {
    background: rgba(0, 102, 204, 0.05);
    box-shadow: inset 0px 4px 30px rgba(0, 102, 204, 0.05);
    border: none;
    font-size: 16px;
    padding: .8em 1.2em;
    color: #333333;
    width: 100%;
    box-sizing: border-box;
}

#federal_consulting textarea,
#online_medpred textarea,
#hub_feedback_form textarea {
    resize: none;
}

#federal_consulting input[type=submit],
#online_medpred input[type=submit],
#hub_feedback_form input[type=submit] {
    background-color: #0066CC;
    display: inline-block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    padding: .8em 1.2em;
    text-align: center;
    border: none;
    width: auto;
    border-radius: 0;
}

#federal_consulting input[type=submit]:hover,
#online_medpred input[type=submit]:hover,
#hub_feedback_form input[type=submit]:hover {
    background-color: #1979d8;
    cursor: pointer;
    text-decoration: none;
}

#federal_consulting .icon-arrow:before,
#online_medpred .icon-arrow:before,
#hub_feedback_form .icon-arrow:before {
    display: none;
}

#federal_consulting .form .legend,
#federal_consulting .form label,
#online_medpred .form .legend,
#online_medpred .form label,
#hub_feedback_form .form .legend,
#hub_feedback_form .form label {
    font-weight: normal;
}

#federal_consulting .textImage.white-bgcolor,
#online_medpred .textImage.white-bgcolor,
#hub_feedback_form .textImage.white-bgcolor {
    padding: 0;
}

.content #federal_consulting .form,
.content #online_medpred .form,
.content #hub_feedback_form .form {
    margin: 0;
}

#federal_consulting .parsys-column .parsys_column,
#online_medpred .parsys-column .parsys_column,
#hub_feedback_form .parsys-column .parsys_column {
    padding-bottom: 0;
}

@media (max-width: 575.98px) {
    #federal_consulting,
    #online_medpred,
    #hub_feedback_form {
        margin: 10px;
        padding: 20px;
    }
}

/* Roche Styles fix end */