/*
Theme Name: PSPOD WP Theme
Author: r47717
Description: PSPOD WP Theme 1
Version: 1.0
*/

/* Import fonts*/

@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');


/* Variables */

:root {
    --black: #222;
    --dark-grey: #404344;
    --medium-grey: #727677;
    --grey: #e7e7e7;
    --light-grey: #F9F9F9;
    --clr-link-main: #3080E8;
    --clr-link-main-rgb: 48, 128, 232;
    --clr-link-secondary: #30C9E8;
    --clr-infographics: #1BCEC3;
    --clr-infographics-rgb: 27, 206, 195;
    --clr-valid: #37CC7B;
    --clr-invalid: #F0523C;

    --form-succeed-trans-dur: opacity 0.8s ease-in-out;
}

/*
 * Common
 */

* {
    outline: none;
    box-sizing: border-box;
}

input::-ms-clear {
    display: none;
}

body {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: normal;
    color: var(--dark-grey);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (max-width: 991px) and (min-height: 500px) {
    header {
        position: sticky;
        top: 0;
        z-index: 2;
    }
}

main {
    flex: 100%;
}

a {
    color: var(--clr-link-main);
}

a:focus{
    text-decoration: underline;
}

em {
    font-style: italic;
}

h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

h2 {
    font-weight: 500;
    font-size: 32px;
    margin-bottom: 20px;
}

h3 {
    font-weight: 500;
    font-size: 26px;
    margin-bottom: 15px;
}

@media (max-width: 576px) {
    h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
}

/* bootstap-select */
.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    float: right;
}

.bootstrap-select > button.dropdown-toggle {
    background: white;
    outline: none !important;
    border-radius: 0;
    border: 1px solid var(--grey);
    height: 32px;
    padding: 0 10px 0 15px;
    line-height: 2.3;
    color: var(--medium-grey);
    font-size: 14px;
}

.bootstrap-select > button.dropdown-toggle::after {
    border-top: 6px solid;
    border-right: 3px solid transparent;
    border-bottom: 0;
    border-left: 3px solid transparent;
}

.bootstrap-select.show > button.dropdown-toggle {
    color: var(--medium-grey);
    background: white;
    border: 1px solid var(--grey);
}

.bootstrap-select > button.dropdown-toggle:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px var(--clr-link-secondary);
}

.bootstrap-select > button.dropdown-toggle:not(:disabled):not(.disabled):active {
    color: var(--medium-grey);
    background: white;
    border: 1px solid var(--grey);
}

.bootstrap-select .dropdown-menu {
    margin: -1px 0 0;
    padding: 0;
    border-radius: 0;
    border: 1px solid var(--grey);
    box-shadow: 5px 5px 20px rgba(30, 49, 219, 0.1);
}

.bootstrap-select .dropdown-menu ul li {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.bootstrap-select .dropdown-menu ul li a {
    color: var(--medium-grey);
    padding: 5px 15px;
}

.bootstrap-select .dropdown-menu ul li a.active,
.bootstrap-select .dropdown-menu ul li a:hover {
    font-weight: 500;
    color: var(--clr-link-main);
    background: none;
}

.bootstrap-select .dropdown-menu ul li a:focus {
    background: none;
}

.bootstrap-select .dropdown-menu ul li a.selected {
    font-weight: 500;
    color: var(--clr-link-main);
    background: none;
}

.bootstrap-select .dropdown-menu ul li a:active {
    color: var(--clr-link-secondary);
    background: none;
}

/* ff scrollbar customization */
.bootstrap-select .inner[role="listbox"] {
    scrollbar-width: thin;
    scrollbar-color: #c4c4c4 #f1f1f1;
}

/* chrome scrollbar customization */
.bootstrap-select .inner[role="listbox"]::-webkit-scrollbar {
    width: 8px;
}

.bootstrap-select .inner[role="listbox"]::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.bootstrap-select .inner[role="listbox"]::-webkit-scrollbar-thumb {
    background-color: #c4c4c4;
    border-radius: 4px;
}

.bootstrap-select .inner[role="listbox"]::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8;
}

.active-menu-item {
    text-decoration: underline !important;
}

.tag-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    align-content: space-evenly;
}

.tag-box a {
    text-decoration: none;
    margin-right: 10px;
    margin-bottom: 10px;
    background: #FFFFFF;
}

.tag-item {
    height: min-content;
    border: 1px solid var(--medium-grey);
    text-align: center;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 13px;
    color: var(--dark-grey);
}

.tag-item:hover {
    background: var(--clr-link-main);
    color: #FFFFFF;
    text-decoration: none;
}


img.cut-thumbnail {
    width: 100%;
    max-width: 340px;
    max-height: 230px;
    object-fit: cover;
}

/* for the sidebar widget */
.sidebar {
    flex-basis: 100%;
}

@media (min-width: 992px) {
    .sidebar {
        flex-basis: 212px;
        max-width: 212px;
        padding: 0;
    }

    .archive-main {
        width: calc(100% - 212px);
    }
}

.sidebar .widget_tag_cloud h2.widgettitle {
    display: none;
}

.sidebar li {
    list-style-image: url("./img/tick-bullet.png");
    margin-left: 14px;
}

.sidebar li.widget.widget_tag_cloud {
    list-style-type: none;
    list-style-image: none;
}

.sidebar .tagcloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.projects-page .sidebar .tagcloud {
    margin-left: 20px;
}

.sidebar .tagcloud a.tag-cloud-link {
    display: block;
    height: min-content;
    border: 1px solid var(--grey);
    background-color: var(--light-grey);
    text-align: left;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 12px !important;
    line-height: 13px;
    color: var(--dark-grey);
    margin-right: 10px;
    margin-bottom: 10px;
}

.sidebar .tagcloud a.tag-cloud-link:hover {
    background: var(--clr-link-main);
    border-color: var(--clr-link-main);
    color: #FFFFFF;
    text-decoration: none;
}


.sidebar ul li a {
    color: inherit;
}

.sidebar .partner-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: -20px;
}

.sidebar .partner-list a {
    width: 100%;
    max-width: 120px;
    margin-bottom: 20px;
}

.sidebar .partner-list svg {
    width: 100% !important;
    height: auto;
    max-height: 120px;
}

.sidebar .partner-list a:hover svg *[fill="#727677"] {
    fill: var(--clr-link-main);
}


.contact-btn {
    display: block;
    height: max-content;
    width: max-content;
    border: 2px solid var(--clr-link-main);
    box-sizing: border-box;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    background: #FFFFFF;
    color: var(--clr-link-main);
    padding: 10px 16px;
}

.contact-btn::after {
    content: " →";
}

.contact-btn:hover {
    text-decoration: none;
    background: var(--clr-link-main);
    color: #FFFFFF;
}

@supports (-ms-flow-from: thingy) { /* Edge only */
    .contact-btn {
        max-width: 250px;
    }
}

.clearable-wrapper {
    position: relative;
    display: inline-block;
}

input[type="text"].clearable + .clear-btn,
input[type="password"].clearable + .clear-btn {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 30px;
    line-height: 20px;
    font-weight: 100;
    color: var(--medium-grey);
    cursor: pointer;
    display: none;
}

input[type="text"].clearable + .clear-btn:hover,
input[type="password"].clearable + .clear-btn:hover {
    color: var(--clr-link-secondary);
}

.my-breadcrumb {
    margin-top: 40px;
}

.my-breadcrumb a{
    color: var(--dark-grey);
}

.pagination a,
.pagination div {
    border: 1px solid var(--grey);
    border-left: none;
    border-right: none;
    color: var(--medium-grey);
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
    text-align: center;
    background: #fff;
}

.pagination a:first-child,
.pagination div:first-child {
    border-left: 1px solid var(--grey);
}

.pagination a:last-child,
.pagination div:last-child {
    border-right: 1px solid var(--grey);
}

.pagination a:hover,
.pagination a.active,
.pagination div:hover,
.pagination div.active {
    background: rgba(var(--clr-link-main-rgb), 0.06);
    color: var(--dark-grey);
    font-weight: bold;
    text-decoration: none;
    border-bottom-color: var(--clr-link-main);
}

.pagination a.placeholder,
.pagination div.placeholder {
    pointer-events: none;
}

.pagination div {
    cursor: pointer;
}


#myTabContent {
    overflow: hidden;
    border: none;
}

#myTabContent h4 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 300;
    font-style: normal;
}

#myTabContent h3 {
    font-size: 18px;
    line-height: 30px;
    font-weight: 500;
    font-style: normal;
}

#myTabContent h2 {
    font-size: 32px;
    line-height: 37px;
    font-weight: 500;
    font-style: normal;
}

@media (max-width: 767px) {
    #myTabContent h2 {
        font-size: 20px;
        line-height: 1;
        margin: 20px 0;
    }
}

.nav-tabs {
    border: none;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    border-right: 2px solid #f1f1f1;
}

.nav-tabs .nav-item:last-child .nav-link {
    border-right-color: transparent;
}

.nav-tabs .nav-item:last-child .nav-link.active {
    border-right-color: var(--light-grey);
}

.nav-tabs .nav-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    height: 48px;
}

.search-filter {
    border: none;
    background: url(./img/search-img.png) left top / 24px auto no-repeat;
    border-bottom: 1px solid var(--medium-grey);
    padding-left: 35px;
    padding-bottom: 5px;
    line-height: 19px;
    color: var(--medium-grey);
    font-weight: 300;
    height: 30px;
}

.search-type-filter {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
}

.search-type-filter div{
    margin-right: 20px;
}

.filters select {
    background: #FFFFFF;
    border: 1px solid var(--grey);
    padding: 3px 5px;
    font-size: 16px;
    color: var(--medium-grey);
}

.filters select option {
    font-size: inherit;
    color: var(--medium-grey);
    background-color: var(--light-grey);
    text-align: center;
    height: 25px;

}

ol li a {
    color: inherit;
}

#tech table td,
.about-page .tech table td {
    border: none;
}

#tech table tr:nth-child(odd),
.about-page .tech table tr:nth-child(odd) {
    background: #FFFFFF;
}


/*
 * Contact forms
 */

.modal {
    z-index: 100000; /* to override wp admin bar */
}

.modal-header .modal-title{
    transition: var(--form-succeed-trans-dur);
}

.modal-header.ty-screen {
    background-color: #fff;
}

.modal-header.ty-screen .modal-title{
    opacity: 0;
}

.modal-header.ty-screen + .modal-body div.succeed{
    margin: -45px 0 45px;
}

.contact-form {
    transition: var(--form-succeed-trans-dur);
}

.contact-form .fields_required{
    font-size: 14px;
}

.contact-form .personal-data-checkbox {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

#contact-form-modal-wide .personal-data-checkbox {
    align-items: flex-start;
}

#about-contact-form .personal-data-checkbox {
    align-items: flex-start;
}

.contact-form .personal-data-checkbox input {
    position: absolute;
	z-index: -1;
	opacity: 0;
}

.contact-form .personal-data-checkbox input:checked + label::after {
    visibility: visible;
}

.contact-form .personal-data-checkbox label {
    user-select: none;
    position: relative;
    min-width: 16px;
    height: 16px;
    margin-right: 12px;
    cursor: pointer;
}

.contact-form .personal-data-checkbox label::before {
    position: absolute;
    content: '';
    min-width: 16px;
    height: 16px;
    border: 1px solid var(--clr-link-main);
    background-color: transparent;
}

.contact-form .personal-data-checkbox input:focus + label::before {
    border: 1px dashed var(--clr-link-main);
}

.contact-form .personal-data-checkbox label::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 6px;
    left: 2px;
    bottom: 6px;
    border-left: 1px solid var(--clr-link-main);
    border-bottom: 1px solid var(--clr-link-main);
    transform: rotate(-45deg);
    visibility: hidden;
}

.modal-header {
    padding: 30px;
    font-size: 20px;
    background: var(--light-grey);
    border: none;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.modal-header .modal-title {
    text-align: left;
    font-size: 20px;
    font-weight: 500;
    color: var(--dark-grey);
}

.modal-header button.close {
    padding-top: 0;
    padding-bottom: 0;
}

.modal-header button.close:focus {
    outline: none;
    filter: opacity(0.75);
}

.modal-header button.close,
.modal-header button.close span {
    font-size: 32px;
    font-weight: 100;
    color: var(--clr-link-main);
    filter: none;
    opacity: 1;
}

@media (max-width: 576px) {
    .modal-header {
        padding: 20px 35px;
        font-size: 18px;
    }
}

.modal-dialog {
    max-width: 750px;
    font-size: 14px;
    color: var(--medium-grey);
    background-color: #fff;
    box-shadow: 5px 5px 20px rgba(30, 49, 219, 0.1);
}

#contact-form-modal-wide .modal-dialog{
    width: 612px;
}

@media (max-width: 576px) {  /*Костыль на время*/
    #contact-form-modal-wide .modal-dialog{
        width: 90%;
    }

    #contact-form-modal-wide .contact-form .button-submit {
        font-size: 5.5vw;
    }
}

.contact-form h3 {
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    margin: 0 0 25px;
}

#contact-form-modal-wide .contact-form .button-submit {
    width: 100%;
}

#contact-form-modal-wide .modal-body {
    padding: 35px;
}

#contact-form-modal-wide .textarea-field{
    margin-top: 40px;
}

#contact-form-modal-wide .g-recaptcha{
    margin: 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea
{
    border-radius: 0;
    background: inherit;
    border: none;
    border-bottom: 1px solid var(--grey);
    width: 100%;
    color: var(--medium-grey);
    font-weight: 300;
    font-size: 14px;
    padding-right: 24px;
}

.contact-form textarea{
    box-sizing: content-box;
    resize: none;
    height: auto;
    overflow: hidden;
    font-size: 13px;
    font-weight: 300;
    line-height: 19px; /* 146% */
    color: var(--dark-grey);
}

.contact-form input[type="text"]:focus:not([validation-result]),
.contact-form input[type="email"]:focus:not([validation-result]),
.contact-form input[type="tel"]:focus:not([validation-result]),
.contact-form textarea:focus:not([validation-result]){
    border-bottom: 1px solid var(--medium-grey);
}

.contact-form input[validation-result="empty"],
.contact-form input[validation-result="incorrect"],
.contact-form textarea[validation-result="empty"],
.contact-form textarea[validation-result="incorrect"]{
    border-bottom: 1px solid var(--clr-invalid);
    color: var(--clr-invalid);
}

.contact-form input[validation-result="ok"],
.contact-form textarea[validation-result="ok"] {
    border-bottom: 1px solid var(--clr-valid);
    color: var(--clr-valid);
}

.contact-form input[validation-result="empty"] ~ .invalid .mark,
.contact-form input[validation-result="incorrect"] ~ .invalid .mark,
.contact-form textarea[validation-result="empty"] ~ .invalid .mark,
.contact-form textarea[validation-result="incorrect"] ~ .invalid .mark,
.contact-form input[validation-result="ok"] ~ .valid .mark,
.contact-form textarea[validation-result="ok"] ~ .valid .mark {
    display: block;
}

.contact-form input:not([validation-result="ok"]) ~ .valid .mark,
.contact-form input:not([validation-result="ok"]):focus ~ .invalid .mark,
.contact-form input[validation-result="ok"]:focus ~ .valid .mark,
.contact-form textarea[validation-result="ok"]:focus ~ .valid .mark,
.contact-form textarea:not([validation-result="ok"]):focus ~ .invalid .mark{
    display: none;
}

.contact-form input[validation-result="empty"] ~ .invalid .empty,
.contact-form input[validation-result="incorrect"] ~ .invalid .incorrect,
.contact-form textarea[validation-result="empty"] ~ .invalid .empty,
.contact-form textarea[validation-result="incorrect"] ~ .invalid .incorrect {
    display: block;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus{
    color: var(--medium-grey);
}

.contact-form p {
    position: relative;
    display: flex;
    align-items: flex-end;
    margin: 0;
}

.contact-form p.contact-field {
    height: 40px;
    margin: 0;
}

.contact-form p.textarea-field {
    margin-top: 15px;
}

.contact-form p.textarea-field .invalid {
    margin-top: -15px;
}

.contact-form .preferred-contact-other .invalid {
    top: -16px;
}

.contact-form p .invalid,
.contact-form p .valid {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    pointer-events: none;
}

.contact-form p .invalid .text {
    color: var(--clr-invalid);
    font-size: 10px;
    font-weight: 100;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 24px;
    display: none;
}

.contact-form p .invalid .mark {
    color: var(--clr-invalid);
    font-size: 30px;
    font-weight: 100;
    text-align: center;
    position: absolute;
    right: 0;
    bottom: 0;
    line-height: 25%;
    width: 20px;
    height: 20px;
    padding: 0;
    background: none;
    display: none;
}

.contact-form .preferred-contact-other input[type="text"].placeholder-off::placeholder {
    font-size: 0;
}

.contact-form .preferred-contact-other input[type="text"].placeholder-off::-moz-placeholder {
    font-size: 0;
}

.contact-form .preferred-contact-other input[type="text"].placeholder-off::-webkit-input-placeholder {
    font-size: 0;
}

.contact-form .preferred-contact-other input[type="text"].placeholder-off:-ms-input-placeholder {
    font-size: 0;
}

.contact-form input.required-field {
    position: relative;
}

.contact-form p .valid .mark {
    position: absolute;
    right: 0;
    bottom: 12px;
    background: none;
    width: 16px;
    height: 4px;
    transform: rotate(-45deg);
    border-bottom: 1px solid var(--clr-valid);
    border-left: 1px solid var(--clr-valid);
    display: none;
}

.contact-form .star {
    font-size: 14px;
    line-height: 14px;
    width: 14px;
    height: 14px;
    position: absolute;
    top: 5px;
    right: 7px;
    color: var(--clr-invalid);
}


.contact-form .preferred-contact-title {
    margin-top: 0;
    margin-bottom: 0;
    height: 40px;
}

.contact-form .preferred-contact-title h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 100;
}

.contact-form .preferred-contact-title .col {
    display: flex;
    align-items: flex-end;
}

.contact-form .preferred-contact-radio {
    margin: 0;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    user-select: none;
}

.contact-form .preferred-contact-radio input {
    z-index: -1;
    position: absolute;
    opacity: 0;
}

.contact-form .preferred-contact-radio label {
    font-size: 14px;
    line-height: 18px; /* identical to box height, or 129% */

    position: relative;
    padding-left: 24px;
    cursor: pointer;
}

.contact-form .preferred-contact-radio label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 1px solid var(--grey);
    border-radius: 50%;
}

.contact-form .preferred-contact-radio label::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--clr-valid);
    top: 4px;
    left: 4px;
    visibility: hidden;
}

.contact-form .preferred-contact-radio input:checked + label::before {
    border: 1px solid var(--clr-valid);
}

.contact-form .preferred-contact-radio input:checked + label::after {
    visibility: visible;
}

.contact-form .preferred-contact-other {
    height: 30px;
    align-items: flex-end;
}

.contact-form .preferred-contact-other input {
    font-weight: 300;
    font-size: 13px;
    line-height: 18px;
}

.contact-form .preferred-contact-other input[disabled] {
    filter: opacity(0.5);
}

.contact-form .g-recaptcha {
    transform:scale(0.85);
    position: relative;
    transform-origin: 0 50%;
    margin-bottom: 35px;
}

.contact-form .button-submit {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
    text-align: center;
    background: none;
    color: var(--clr-link-main);
    border: 2px solid var(--clr-link-main);
    box-sizing: border-box;
    border-radius: 6px;
    width: 258px;
    height: 60px;
}

.contact-form .button-submit:hover,
.contact-form .button-submit:focus{
    color:#fff;
    background-color: var(--clr-link-main);
}

.contact-form .button-submit[disabled] {
    border: 2px solid var(--grey);
    color: var(--grey);
    pointer-events: none;
}

.contact-form .submission {
    position: relative;
}

.contact-form .submission .pending-container {
    position: absolute;
    width: 36px;
    top: 0;
    left: 108px;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    display: none;
}

.contact-form .submission .pending-container .dot{
    width: 0px;
    height: 0px;
    border-radius: 50%;
    background-color: var(--clr-link-main);
    animation: 1.2s ease-in 0.15s infinite paused size;
    -moz-animation: 1.2s ease-in 0.15s infinite paused size;
    -webkit-animation: 1.2s ease-in 0.15s infinite paused size;
}

.contact-form .submission .pending-container .dot:first-child {
    animation-delay: 0s;
    -moz-animation-delay: 0s;
    -webkit-animation-delay: 0s;
}

.contact-form .submission .pending-container .dot:last-child {
    animation-delay: 0.3s;
    -moz-animation-delay: 0.3s;
    -webkit-animation-delay: 0.3s;
}

.contact-form.pending .button-submit {
    color: transparent;
    pointer-events: none;
}

.contact-form.pending .pending-container {
    display: flex;
}

.contact-form.pending .pending-container .dot{
    animation-play-state: running;
    -webkit-animation-play-state: running;
    -moz-animation-play-state: running;
}

@keyframes size {
    0% {
      width: 0;
      height: 0;
    }
    20% {
      width: 8px;
      height: 8px;
    }
    40% {
      width: 0;
      height: 0;
    }
    100% {
      width: 0;
      height: 0;
    }
}

@-webkit-keyframes size {
    0% {
      width: 0;
      height: 0;
    }
    20% {
      width: 8px;
      height: 8px;
    }
    40% {
      width: 0;
      height: 0;
    }
    100% {
      width: 0;
      height: 0;
    }
}

@-moz-keyframes size {
    0% {
      width: 0;
      height: 0;
    }
    20% {
      width: 8px;
      height: 8px;
    }
    40% {
      width: 0;
      height: 0;
    }
    100% {
      width: 0;
      height: 0;
    }
}

.contact-form.succeed {
    opacity: 0;
    pointer-events: none;
}

.contact-form + .succeed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 36px;
    opacity: 0;
    transition: var(--form-succeed-trans-dur);
    pointer-events: none;
}

.contact-form + .succeed .succeed_mark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--clr-link-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.contact-form + .succeed .succeed_mark::before {
    content: '';
    width: 40%;
    height: 20%;
    border-bottom: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: rotate(-45deg);
    transform-origin: 35% 40%;
}

.contact-form + .succeed .succeed_text {
    text-align: center;
    font-size: 14px;
    line-height: 16px;
    font-weight: normal;
    color: var(--medium-grey);
    max-width: 370px;
}

.contact-form + .succeed .succeed_text h3{
    margin-bottom: 10px;
    color: var(--dark-grey);
}

.contact-form.succeed + .succeed {
    opacity: 1;
}

.contact-form .failed {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCAyMSAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuMDAyODcgMTguMDAyNUgxOS41MzI5QzIwLjMwMjkgMTguMDAyNSAyMC43ODI5IDE3LjE3MjUgMjAuNDAyOSAxNi41MDI1TDExLjEzMjkgMC41MDI1QzEwLjc0MjkgLTAuMTY3NSA5Ljc4Mjg3IC0wLjE2NzUgOS40MDI4NyAwLjUwMjVMMC4xMzI4NzIgMTYuNTAyNUMtMC4yNDcxMjggMTcuMTcyNSAwLjIzMjg3MiAxOC4wMDI1IDEuMDAyODcgMTguMDAyNVpNMTEuMjcyOSAxNS4wMDI1SDkuMjcyODdWMTMuMDAyNUgxMS4yNzI5VjE1LjAwMjVaTTEwLjI3MjkgMTEuMDAyNUM5LjcyMjg3IDExLjAwMjUgOS4yNzI4NyAxMC41NTI1IDkuMjcyODcgMTAuMDAyNVY4LjAwMjVDOS4yNzI4NyA3LjQ1MjUgOS43MjI4NyA3LjAwMjUgMTAuMjcyOSA3LjAwMjVDMTAuODIyOSA3LjAwMjUgMTEuMjcyOSA3LjQ1MjUgMTEuMjcyOSA4LjAwMjVWMTAuMDAyNUMxMS4yNzI5IDEwLjU1MjUgMTAuODIyOSAxMS4wMDI1IDEwLjI3MjkgMTEuMDAyNVoiIGZpbGw9IiNGMDUyM0MiLz4KPC9zdmc+Cg==');
    background-repeat: no-repeat;
    background-position: 0 3px;
    height: 25px;
    color: var(--clr-invalid);
    padding-left: 32px;
    font-size: 10px;
    line-height: 12px;
    font-weight: 300;
    position: absolute;
    top: calc(100% + 5px);
    left: 20px;
    display: none;
}

.contact-form.failed .failed {
    display: block;
}

#contact-form-modal-narrow .modal-dialog{
    width: 330px;
}

#contact-form-modal-narrow .modal-content,
#contact-form-modal-wide .modal-content{
    border: none;
    border-radius: 0;
}

#contact-form-modal-narrow .modal-body {
    padding: 30px 35px 35px;
}

.contact-form a {
    color: var(--medium-grey);
    font-size: 13px;
    font-weight: 300;
    line-height: 146%;
}

/*
 * Header & Footer
 */

.top-bar {
    color: #FFFFFF;
    width: 100%;
    padding: 25px 0;
    background: var(--black);
    z-index: 997;
    top: 0;
    left: 0;
}

.top-bar > .container {
    display: flex;
    justify-content: space-between;
}

@media (min-width: 1400px) {
    .top-bar > .container {
        max-width: 1300px;
    }
}

.top-bar .top-bar-title {
    flex: 0 0 50%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.top-bar .top-bar-title a:focus {
    text-decoration: none;
}

.top-bar .top-bar-title a div {
    color: #FFFFFF;
    height: 50px;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 50px 50px;
    padding-left: 60px;
    font-size: 16px;
    font-weight: bold;
    line-height: 18px;
}

.top-bar .top-bar-title a div.top-bar-header {
    padding-left: 0;
    max-width: 300px;
    height: auto;
}

.top-bar .top-bar-title a div.top-bar-subtitle {
    font-size: 11px;
    font-weight: normal;
    line-height: 13px;
    padding: 0;
    height: auto;
}

.top-bar .top-bar-title a:hover {
    text-decoration: none;
}

.top-bar .top-bar-contacts {
    flex: 0 1 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFFFFF;
}

.top-bar .top-bar-contacts div {
    margin-left: 10px;
}

.top-bar .top-bar-contacts .contact-us-icon .envelope-icon {
    display: inline-block;
    width: 32px;
    height: 34px;
    background: url("./img/icons.png") center -5px / 150px 150px no-repeat;
}

.top-bar .top-bar-contacts .phone-icon {
    width: 30px;
    height: 30px;
    background: url("./img/icons.png") center / 150px 150px no-repeat;
}

.top-bar .top-bar-contacts .phone-icon ~ a {
    display: none;
}

@media (max-width: 1440px) {
    .top-bar .top-bar-title {
        flex: 0 0 40%
    }

    .top-bar .top-bar-contacts {
        flex: 0 1 60%;
    }
}

@media (max-width: 991px) {
    .top-bar {
        flex-wrap: wrap;
    }

    .top-bar .top-bar-title {
        flex: 0 0 100%;
    }

    .top-bar .top-bar-contacts {
        flex: 1 1 100%;
        margin: 20px 0 0 0;
    }
}

@media (max-width: 700px) {
    .top-bar .top-bar-contacts {
        flex: 1 1 100%;
        flex-wrap: wrap;
    }
}

#searchform,
#searchform-footer
{
    display: flex;
    align-items: center;
    min-width: 30px;
    overflow: hidden;
    background: url("./img/search-img.png") 12px 8px / 24px 25px no-repeat;
}

#searchform input[name="s"],
#searchform-footer input[name="s"]
{
    height: 30px;
    width: 30px;
    margin: 5px;
    color: #FFFFFF;
    background: transparent;
    font-size: 13px;
    font-weight: 100;
    line-height: 146%;
    border: none;
    opacity: 0;
    transition: 0.3s;
}

#searchform input[name="s"].maximized,
#searchform-footer input[name="s"].maximized
{
    width: 110px;
    opacity: 1;
    margin-left: 48px;
}

#searchform.maximized,
#searchform-footer.maximized {
    background-color: var(--medium-grey);
}

.search-link {
    width: 30px;
    height: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-color: inherit;
    border: none;
    margin-left: 5px;
}

.navbar-contacts .contact-us a,
.top-bar-contacts .contact-us a {
    color: #FFFFFF;
}

.navbar-contacts .lang,
.top-bar-contacts .lang {
    display: flex;
    align-items: center;
}

.navbar-contacts .lang > a,
.top-bar-contacts .lang > a {
    display: none;
}

.navbar-contacts .lang ul,
.top-bar-contacts .lang ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}

.navbar-contacts .lang ul > a,
.top-bar-contacts .lang ul > a {
    display: none;
}

.navbar-contacts .lang ul li,
.top-bar-contacts .lang ul li {
    display: flex;
    align-items: center;
}

.navbar-contacts .lang ul li a[lang="ru-RU"] img,
.top-bar-contacts .lang ul li a[lang="ru-RU"] img,
.navbar-contacts .lang ul li a[lang="en-US"] img,
.top-bar-contacts .lang ul li a[lang="en-US"] img
{
    display: none;
}

.navbar-contacts .lang ul li a[lang="ru-RU"],
.top-bar-contacts .lang ul li a[lang="ru-RU"] {
    display: inline-block;
    width: 30px;
    height: 17px;
    position: relative;
    padding-right: 5px;
    border-right: 1px solid #FFFFFF;
}

.navbar-contacts .lang ul li a[lang="ru-RU"]:hover:after,
.top-bar-contacts .lang ul li a[lang="ru-RU"]:hover:after {
    text-decoration: underline;
}

.navbar-contacts .lang ul li a[lang="ru-RU"]:after,
.top-bar-contacts .lang ul li a[lang="ru-RU"]:after {
    content: "RU";
    position: absolute;
    top: 2px;
    left: 0;
    width: 25px;
    height: 17px;
    line-height: 15px;
    font-size: 15px;
    text-align: center;
    color: #FFFFFF;
}

.navbar-contacts .lang ul li a[lang="en-US"],
.top-bar-contacts .lang ul li a[lang="en-US"] {
    display: inline-block;
    width: 25px;
    height: 17px;
    position: relative;
    margin-left: 5px;
}

.navbar-contacts .lang ul li a[lang="en-US"]:hover:after,
.top-bar-contacts .lang ul li a[lang="en-US"]:hover:after {
    text-decoration: underline;
}

.navbar-contacts .lang ul li a[lang="en-US"]:after,
.top-bar-contacts .lang ul li a[lang="en-US"]:after {
    content: "EN";
    position: absolute;
    top: 2px;
    left: 0;
    width: 25px;
    height: 17px;
    line-height: 15px;
    font-size: 15px;
    text-align: center;
    color: #FFFFFF;
}

.top-bar-contacts .searchform-wrapper {
    display: flex;
    justify-content: flex-end;
    min-width: 163px;
}


.main-menu {
    background: var(--light-grey);
    width: 100%;
    font-weight: 500;
    font-size: 18px;
}

.main-menu .nav-item {
    height: 100%;
}
.main-menu .nav-item.dropdown {
    display: flex;
    justify-content: center;
}

.main-menu .nav-item .nav-link {
    font-weight: 500;
    font-size: 18px;
    color: var(--dark-grey);
    cursor: default;
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.main-menu .nav-item .nav-link[href] {
    cursor: pointer;
}

.main-menu .nav-item .nav-link[href]:hover{
    text-decoration: underline;
}

.main-menu .nav-item.dropdown:hover > .dropdown-menu,
.main-menu .nav-item.dropdown:focus > .dropdown-menu {
    display: block;
}

.nav-item .dropdown-menu {
    margin: 0;
    border-radius: 0;
    background: var(--light-grey);
    border: none;
    box-shadow: 5px 5px 20px rgba(30, 49, 219, 0.1);
}

.main-menu .dropdown .dropdown-menu a {
    font-weight: 500;
    font-size: 13px;
    color: var(--medium-grey);
    text-align: center;
}

.main-menu .dropdown .dropdown-menu a:hover{
    color: var(--clr-link-main);
}

.main-menu .dropdown .dropdown-menu a:active {
    color: var(--clr-link-secondary);
    background-color: transparent;
}

.main-menu .navbar {
    width: 100%;
    height: 48px;
    padding: 0;
}

.main-menu ul.navbar-nav {
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

.main-menu #dropdownMenuSolutions1 {
    padding-right: 0;
}

.main-menu #dropdownMenuSolutions2 {
    padding-left: 0;
}

.main-menu #dropdownMenuExpertise1 {
    padding-right: 0;
}

.main-menu #dropdownMenuExpertise2 {
    padding-left: 0;
}

.main-menu #dropdownMenuScience1 {
    padding-right: 0;
}

.main-menu #dropdownMenuScience2 {
    padding-left: 0;
}

.main-menu #dropdownMenuAbout1 {
    padding-right: 0;
}

.main-menu #dropdownMenuAbout2 {
    padding-left: 0;
}

#navbarNav {
    justify-content: center;
    height: 100%;
}


#navbarNav .btn:focus {
    box-shadow: none;
}

.main-menu .navbar-collapse ul li > a {
    padding-left: 0;
}

.main-menu .navbar-toggler .navbar-toggler-icon {
    position: relative;
}

.main-menu .fader {
    display: none;
    position: fixed;
    background-color: rgba(0,0,0,.5);
    left: 0;
    right: 0;
    top: 146px;
    bottom: -200px;
    z-index: 998;
    opacity: 0;
    transition: opacity .1s linear;
}

.navbar-contacts {
    display: none;
    margin: 0 30px 0 0;
    padding: 20px;
    border-bottom: 1px solid var(--light-grey);
}

.navbar-contacts .contact-us a {
    text-decoration: underline;
    font-weight: normal;
    color: var(--dark-grey);
    font-size: 16px;
    line-height: 19px;
}

.navbar-contacts .phone a{
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
}

@media (max-width: 991px) {

    .main-menu {
        margin-top: -40px;
    }

    .main-menu .container {
        width: 100%;
        max-width: 100%;
    }

    .top-bar {
        height: 146px;
    }

    header {
        margin-bottom: 20px;
    }

    header.menu-opened .top-bar{
        position: fixed;
    }

    header.menu-opened .main-menu {
        position: fixed;
        z-index: 999;
        top: 150px;
    }

    .top-bar > .container {
        align-items: center;
        width: 100%;
        max-width: unset;
        margin: 0;
        padding: 0 20px;
    }

    .top-bar .top-bar-contacts {
        display: none;
    }

    .top-bar .top-bar-title a div{
        font-size: 15px;
    }

    .main-menu .navbar-contacts {
        display: block;
    }

    .main-menu .nav-item.dropdown {
        display: block;
    }

    .main-menu .nav-item {
        height: auto;
        width: 100%;
    }

    .main-menu .nav-item .nav-link {
        color: var(--dark-grey);
        font-size: 14px;
        line-height: 16px;
        font-weight: bold;
        height: 40px;
        display: flex;
        justify-content: flex-start;
        padding-left: 20px;
        align-items: center;
        position: relative;
    }

    .main-menu .nav-item.dropdown.open .nav-link {
        font-weight: normal;
        background-color: var(--light-grey);
    }

    .main-menu .nav-item.dropdown .nav-link::before {
        content: '';
        position: absolute;
        width: 11px;
        height: 11px;
        border-bottom: 1px solid var(--grey);
        border-left: 1px solid var(--grey);
        transform: rotate(-45deg);
        right: 30px;
        top: 10px;
    }

    .main-menu .nav-item.dropdown.open .nav-link::before {
        transform: rotate(135deg);
        top: 18px;
    }

    .main-menu .nav-item.dropdown:hover > .dropdown-menu,
    .main-menu .nav-item.dropdown:focus > .dropdown-menu {
        display: none;
    }

    .main-menu .nav-item .dropdown-menu{
        background: none;
        box-shadow: none;
        margin-left: 35px;
        overflow: hidden;
        height: 0;
        transition: all .5s ease;
    }

    .main-menu .nav-item.dropdown.open .dropdown-menu {
        display: block;
        height: auto;
    }

    .main-menu .nav-item .dropdown-menu .dropdown-item {
        height: 40px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        color: var(--dark-grey);
        font-size: 14px;
        line-height: 16px;
        font-weight: normal;
        padding: 0;
    }

    .main-menu .nav-item .dropdown-menu .dropdown-item:hover {
        background: none;
    }

    .main-menu .navbar{
        position: static;
        height: 0;
    }

    .main-menu .navbar .navbar-toggler {
        background: none;
        border: none;
        outline: none;
        border-radius: 0;
        width: 100%;
        text-align: left;
        padding: 0px 20px 20px;
        margin-top: -7px;
    }

    .main-menu .navbar .navbar-toggler .navbar-toggler-icon {
        height: 16px;
        position: relative;
    }

    .main-menu .navbar .navbar-toggler .navbar-toggler-icon span {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #fff;
        left: 0;
        transform-origin: 50% 0%;
        transition: transform .2s ease-in-out;
    }

    .main-menu .navbar .navbar-toggler .navbar-toggler-icon span:nth-child(1) {
        top: 0;
    }

    .main-menu .navbar .navbar-toggler .navbar-toggler-icon span:nth-child(2) {
        top: 50%;
    }

    .main-menu .navbar .navbar-toggler .navbar-toggler-icon span:nth-child(3) {
        top: 100%;
    }

    .main-menu .navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .main-menu .navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(2) {
        transform: scaleX(0);
    }

    .main-menu .navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    #navbarNav {
        display: block;
        padding: 0;
        width: 340px;
        position: fixed;
        background-color: #fff;
        top: 146px;
        height: calc(100% - 146px);
        left: -100%;
        z-index: 999;
        transition: all .2s linear;
        overflow-y: scroll;
        padding-bottom: 200px;
        scrollbar-width: thin;
        scrollbar-color: #c4c4c4 #f9f9f9;
    }

    /* chrome scrollbar customization */
    #navbarNav::-webkit-scrollbar {
        width: 8px;
    }

    #navbarNav::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }

    #navbarNav::-webkit-scrollbar-thumb {
        background-color: #c4c4c4;
        border-radius: 4px;
    }

    #navbarNav::-webkit-scrollbar-thumb:hover {
        background-color: #a8a8a8;
    }

    #navbarNav.show {
        left: 0;
    }

    #navbarNav.show + .fader {
        display: block;
        opacity: 1;
    }

    #navbarNav .navbar-nav {
        display: block;
        height: auto;
    }

    .navbar-contacts .lang ul li a[lang="ru-RU"] {
        border-right: 1px solid var(--dark-grey);
    }

    .navbar-contacts .lang ul li a[lang="ru-RU"]:after,
    .navbar-contacts .lang ul li a[lang="en-US"]:after {
        color: var(--dark-grey);
        font-style: normal;
        font-weight: normal;
        font-size: 16px;
        line-height: 19px;
    }

    .navbar-contacts #searchform {
        height: 25px;
        padding: 0;
        background-color: transparent;
        background-position: 0 0;
    }

    .navbar-contacts #searchform #s{
        color: var(--dark-grey);
        height: 25px;
        font-size: 16px;
        width: 25px;
        margin: 0;
    }

    .navbar-contacts #searchform #s.maximized {
        border-bottom: 1px solid var(--dark-grey);
        margin-left: 36px;
        width: 100%;
    }

    .navbar-contacts div:not(:last-child){
        margin-bottom: 20px;
    }
}

/* END MEDIA */

footer {
    padding: 78px 140px;
    background: var(--black);
    color: #FFFFFF;
}

footer a {
    color: #FFFFFF;
}

footer a:hover {
    color: #FFFFFF;
}

footer .footer-top-row {
    display: flex;
}

footer .footer-top-row .logo {
    width: 270px;
    height: 70px;
}

footer .footer-top-row .logo a {
    display: block;
    width: 100%;
    height: 100%;
}

footer .footer-top-row .logo img {
    max-width: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
}

footer .footer-top-row .logo.naz-logo {
    height: 100px;
    text-align: left;
}

footer .footer-logo {
    min-width: 300px;
}

footer .footer-nav {
    flex: 1;
}

footer ul.footer-menu {
    list-style-type: none;
    max-width: 600px;
}

footer ul.footer-menu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
}

footer ul.footer-menu li a {
    color: #ffffff;
    font-weight: 500;
    font-size: 18px;
}

footer ul.footer-menu li a:hover {
    text-decoration: underline;
}

footer .footer-last-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    margin-top: -16px;
}

footer .footer-last-col * {
    margin-bottom: 20px;
}

footer .footer-last-col .phone {
    font-size: 24px;
}

@media screen and (max-width: 1200px) {
    footer .footer-last-col {
        align-items: flex-start;
        padding: 0;
    }

    footer .footer-last-col .phone {
        font-size: 18px;
    }
}

.phone a,
a.phone
{
    color: var(--clr-link-secondary);
    font-weight: bold;
}

footer .footer-bottom-row {
    font-weight: 500;
    font-size: 14px;
    margin-top: 30px;
}

footer .subscription-btn-col {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-end;
}

footer .subscription-btn-col a.subscription-btn {
    display: block;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    padding: 10px 20px;
    border-radius: 4px;
}

footer .subscription-btn-col a.subscription-btn:hover {
    text-decoration: none;
    color: #EEEEEE;
    border-color: #EEEEEE;
}

footer .contact-us {
    font-size: 18px;
    font-weight: 500;
}

@media (max-width: 1080px) {
    footer .footer-nav .footer-menu {
        display: none;
    }
}

@media (max-width: 991px) {
    footer .footer-nav,
    footer .footer-last-col {
        display: none;
    }
}

@media (max-width: 767px) {
    footer {
        padding: 30px 20px;
    }

    footer a {
        text-decoration: underline;
    }

    footer ul.footer-menu,
    footer .footer-last-col {
        display: none;
    }

    footer .with-logo .footer-title {
        letter-spacing: 3px;
    }

    footer .with-logo .footer-subtitle {
        font-weight: 100;
        letter-spacing: 0.25px;
    }

    footer .footer-bottom-row {
        line-height: 16px;
        font-weight: 400;
    }
}

/*
 * Main page
 */


section {
    display: flex;
    align-items: center;
    background: #FFFFFF;
}

.main-page-section1 {
    padding: 30px 0;
}

.main-page-section1 .carousel {
    max-height: 375px;
}

@media (max-width: 991px) {
    .main-page-section1 .carousel {
        max-height: 425px;
        min-height: 425px;
    }
}

@media (max-width: 767px) {
    .main-page-section1 .carousel {
        max-height: 325px;
        min-height: 325px;
    }
}

.main-page-section1 .carousel-indicators {
    display: none;
}

.main-page-section1 .carousel-item-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
}

.main-page-section1 .carousel-item-container .text {
    flex: 1;
    font-weight: 500;
    font-size: 16px;
    color: var(--dark-grey);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.main-page-section1 .carousel-item-container .text h1 {
    font-weight: bold;
    font-size: 40px;
    margin-bottom: 20px;
    margin-top: 35px;
}

.main-page-section1 .carousel-item-container .text p {
    margin-bottom: 50px;
}

.main-page-section1 .carousel-item-container .image {
    flex: 1;
    padding: 10px;
}


.main-page-section1 .carousel-control-prev {
    justify-content: flex-start;
    width: 1%;
}

.main-page-section1 .carousel-control-prev-icon {
    margin-left: -50px;
    height: 30px;
}

.main-page-section1 .carousel-control-next {
    justify-content: flex-end;
    width: 1%;
}

.main-page-section1 .carousel-control-next-icon {
    margin-right: -50px;
    height: 30px;
}

@media (max-width: 860px) {
    .main-page-section1 .carousel-item-container .image {
        display: none;
    }

    .main-page-section1 .carousel-item-container .text h1 {
        margin-top: 0;
    }

    .main-page-section1 #carouselExampleIndicators {
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .main-page-section1 .carousel-item-container .text h1 {
        font-size: 33px;
    }

    .main-page-section1 .carousel-control-prev-icon {
        margin-left: -35px;
    }

    .main-page-section1 .carousel-control-next-icon {
        margin-right: -35px;
    }
}

section.alert {
    background-color: var(--clr-link-main);
    margin: 0 30px 30px;
    color: #fff;
    min-height: 60px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 6px;
}

section.alert a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyMCAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ2MTMgMS4xNzQ4NUMxMy4yMDczIDAuOTIwODgzIDEyLjc2MjkgMC45MjA4ODMgMTIuNDQ1NCAxLjE3NDg1QzEyLjE5MTQgMS40Mjg4MiAxMi4xOTE0IDEuODczMjUgMTIuNDQ1NCAyLjE5MDcxTDE3LjUyNDggNy4yNzAwN0gwLjYzNTg5N0MwLjI1NDk0NSA3LjI3MDA3IC0wLjA2MjUgNy41ODc1NiAtMC4wNjI1IDcuOTY4NTFDLTAuMDYyNSA4LjM0OTQ2IDAuMjU0OTQ1IDguNjY2OTEgMC42MzU4OTcgOC42NjY5MUgxNy41MjQ4TDEyLjQ0NTQgMTMuNzQ2M0MxMi4xOTE0IDE0LjAwMDIgMTIuMTkxNCAxNC41MDgyIDEyLjQ0NTQgMTQuNzYyMkMxMi42OTk0IDE1LjAxNjEgMTMuMjA3MyAxNS4wMTYxIDEzLjQ2MTMgMTQuNzYyMkwxOS44MTA1IDguNDEyOTZDMjAuMDY0NSA4LjE1ODk5IDIwLjA2NDUgNy43MTQ1MyAxOS44MTA1IDcuMzk3MDdMMTMuNDYxMyAxLjE3NDg1WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==');
    padding-right: 32px;
    background-position: right 0 top 4px;
    background-repeat: no-repeat;
}

section.alert .container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 860px) {
    section.alert {
        padding: 0;
        margin: 30px 20px;
    }
    section.alert .container {
        padding: 20px;
    }

    section.alert a {
        margin-top: 30px;
        margin-bottom: 10px;
    }
}

.main-page-section2 {
    background: var(--light-grey);
    justify-content: center;
    padding: 45px 0;
}

.main-page-section2 .accomplishment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@supports (-ms-flow-from: thingy) { /* Edge only */
    .main-page-section2 .accomplishment-row {
        justify-content: space-between;
    }
}


.main-page-section2 .accomplishment-row a {
    color: var(--dark-grey);
}

.main-page-section2 .accomplishment-row a:hover {
    text-decoration: none;
}

.main-page-section2 .accomplishment-item {
    background-position: left;
    background-repeat: no-repeat;
    background-size: 50px 50px;
    min-height: 50px;
    min-width: 50px;
    max-width: 175px;
    padding-left: 65px;
}

.main-page-section2  .accomplishment-delimiter {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 2px 80px;
    height: 80px;
    width: 2px;
}

.main-page-section2 .accomplishment-item .accomplishment-title {
    font-weight: bold;
    font-size: 32px;
}

.main-page-section2 .accomplishment-item .accomplishment-text {
    font-weight: 500;
    font-size: 16px;
}

@media (max-width: 1200px) {
    .main-page-section2 .accomplishment-item {
        background-size: 45px 45px;
        min-height: 45px;
        min-width: 45px;
        max-width: 170px;
        padding-left: 60px;
    }

    .main-page-section2 .accomplishment-item .accomplishment-title {
        font-size: 29px;
    }

    .main-page-section2 .accomplishment-item .accomplishment-text {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .main-page-section2 .accomplishment-item {
        background-size: 40px 40px;
        min-height: 40px;
        min-width: 40px;
        max-width: 165px;
        padding-left: 50px;
    }

    .main-page-section2  .accomplishment-delimiter {
        display: none;
    }

    .main-page-section2 .accomplishment-item .accomplishment-title {
        font-size: 26px;
    }

    .main-page-section2 .accomplishment-item .accomplishment-text {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .main-page-section2 .accomplishment-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-page-section2 .accomplishment-item {
        max-width: none;
        display: flex;
        align-items: center;
        margin: 0 0 20px 0;
    }

    .main-page-section2 .accomplishment-item:last-child {
        margin-bottom: 0;
    }

    .main-page-section2 .accomplishment-item .accomplishment-title {
        margin: 0 10px 0 0;
    }
}

.main-page-section3 {
    padding: 40px 0;
}

.main-page-section3 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 4px solid #f1f1f1;
}

.main-page-section3 .col {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.main-page-section3 .image-label {
    position: relative;
    width: max-content;
    background: var(--clr-infographics);
    color: #FFFFFF;
    padding: 5px 35px 5px 15px;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
}

.main-page-section3 a{
    color: var(--dark-grey);
}

.main-page-section3 .category-holder a{
    color: #fff;
}

.main-page-section3 a.category-link:hover {
    text-decoration: none;
}

.main-page-section3 .image-label::after {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    content: " ";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 25px 45px 0;
    border-color: transparent #F1F1F1
}

.main-page-section3 .category-holder {
    background: #F1F1F1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-page-section3 .category-holder .date {
    font-size: 14px;
    color: var(--medium-grey);
    padding-right: 30px;
}

.main-page-section3 .title {
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
}

/*
 * Services Page
 */

.services-page h2 {
    font-size: 20px;
    line-height: 35px;
    font-weight: 500;
    color: var(--dark-grey);
}

.services-page h3 {
    font-size: 18px;
    line-height: 25px;
}

.services-page .services-title {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0 15px;
    border-bottom: 1px solid var(--clr-infographics);
}

.services-page .services-title a {
    flex: 0 0 30%;
}

@media (max-width: 767px) {
    .services-page .services-title a {
        flex-basis: 0;
    }
}

.services-page .services-title .title {
    font-weight: bold;
    text-align: center;
    font-size: 32px;
    color: var(--dark-grey);
}

.services-page .services-title .arrow-left {
    font-weight: 500;
    font-size: 20px;
    color: #B2B4C1;
    padding-left: 36px;
    position: relative;
    text-align: left;
}

.services-page .services-title .arrow-left::before{
    content: '';
    position: absolute;
    width: 17px;
    height: 17px;
    border-bottom: 1px solid #B2B4C1;
    border-left: 1px solid #B2B4C1;
    transform: skewX(-4deg);
    transform: rotate(45deg);
    top: calc(50% - 8px);
    left: 2px;
}

.services-page .services-title .arrow-right {
    font-weight: 500;
    font-size: 20px;
    color: #B2B4C1;
    padding-right: 36px;
    position: relative;
    text-align: right;
}

.services-page .services-title .arrow-right::before{
    content: '';
    position: absolute;
    width: 17px;
    height: 17px;
    border-bottom: 1px solid #B2B4C1;
    border-right: 1px solid #B2B4C1;
    transform: skewX(4deg);
    transform: rotate(-45deg);
    top: calc(50% - 8px);
    right: 2px;
}

.services-page .services-title a:hover ::before{
    border-color: var(--clr-infographics);
}

.services-page .services-title a:hover span{
    color: var(--clr-infographics);
}

.services-page a {
    text-decoration: none;
}

.services-page .services-content {
    margin: 40px 0;
}

.services-page-1 .work-with-customer {
    padding: 0;
    margin-top: 60px;
}

.services-page-1 .work-with-customer h2 {
    min-height: 30px;
    background: left / auto 25px no-repeat;
    padding-left: 40px;
    margin-bottom: 50px;
}

.services-page-1 .work-with-customer h3 {
    background-position: left 0 top 0;
    background-repeat: no-repeat;
    background-size: 40px;
    padding-left: 55px;
}

.services-page-1 .work-with-customer p {
    font-size: 13px;
    line-height: 19px;
    margin-left: 55px;
    margin-bottom: 25px;
}

.services-page-1 .work-with-customer .work-stage {
    margin: 0;
    padding: 0;
    position: relative;
}

.services-page-1 .work-with-customer .work-stage:not(:last-child)::before {
    position: absolute;
    content: '';
    width: 2px;
    background-color: var(--clr-infographics);
    height: calc(100% + 1px);
    left: 12px;
    top: 24px;
}

.services-page-2 .services-content h3 {
    background: left / auto 25px no-repeat;
    padding-left: 35px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.services-page-2 .services-content ul {
    margin-left: 20px;
}

.services-page-2 .services-content ul li {
    margin-bottom: 10px;
}

.services-page .overview {
    background: var(--light-grey);
    padding: 40px;
}

.services-page .button-details {
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-page .button-details a {
    border: 2px solid var(--clr-link-main);
    box-sizing: border-box;
    border-radius: 6px;
    padding: 10px 20px;
}

.services-page-3 .services-content .details {
    margin: 40px 0;
}

.services-page-3 .services-content .details .col {
    padding: 20px;
    font-weight: normal;
    font-size: 16px;
    color: var(--dark-grey);
}

.services-page-3 .services-content .details .col h3 {
    background: left / 20px 20px no-repeat;
    padding-left: 30px;
}


/*
 * About page
 */

.about-page {
    margin-top: 50px;
    margin-bottom: 50px;
    font-weight: normal;
    font-size: 16px;
    color: var(--dark-grey);
}

.about-page .tab-header {
    justify-content: stretch;
    flex-wrap: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #c4c4c4 #f9f9f9;
    scroll-behavior: smooth;
    z-index: 1;
    background-color: #fff;
}

@media (max-width: 991px) and (min-height: 500px) {
    .about-page .tab-header {
        position: sticky;
        top: 146px;
    }
}

/* chrome scrollbar customization */
.about-page .tab-header::-webkit-scrollbar {
    height: 5px;
}

.about-page .tab-header::-webkit-scrollbar-track {
    background-color: #f9f9f9;
}

.about-page .tab-header::-webkit-scrollbar-thumb {
    background-color: #c4c4c4;
    border-radius: 4px;
}

.about-page .tab-header::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8;
}

.about-page .tab-header li {
    flex-grow: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    height: 48px;
    min-width: -moz-fit-content;
    min-width: fit-content;
}

.about-page .tab-header li a {
    height: 100%;
}

.about-page .tab-content li {
    margin-top: 15px;
}

.about-page #myTabContent {
    background: #fff;
    padding: 0;
    margin-top: 0;
}

.about-page #myTabContent .tab-pane {
    padding: 50px;
    background-color: var(--light-grey);
}

.about-page #myTabContent ul li {
    list-style-image: url("./img/tick.png");
}

.about-page .nav-link.active {
    background: var(--light-grey);
    border-bottom: 1px solid var(--light-grey);
}

.about-page .media-data .media-item img {
    width: 300px;
    height: 250px;
    object-fit: cover;
}

.about-page .media-data .label {
    position: relative;
    background: var(--clr-infographics);
    color: white;
    padding: 10px 20px;
    width: 70%;
    margin-bottom: 15px;
}

.about-page .media-data .label::after {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    content: " ";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 25px 45px 0;
    border-color: transparent var(--light-grey) transparent
}

.about-page .news img {
    width: 100%;
    height: auto;
}

.about-page .news-data {
    line-height: 16px;
    margin-bottom: 0.25rem;
}

@media (max-width: 767px) {
    .about-page .news-data {
        color: var(--medium-grey);
        margin-bottom: 10px;
    }
}

.about-page #myTabContent .tab-pane.tech {
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.about-page #myTabContent .tech .cut{
    margin: 0;
    padding: 40px 50px;
    border: 2px solid #f1f1f1;
}

.about-page #myTabContent .tech .undercut{
    margin: 0;
    padding: 50px 50px;
    background-color: #f1f1f1;
}

.about-page .tech img {
    width: 100%;
    height: auto;
}

.about-page .tech-mobile-version {
    display: none;
}

.tech-table tr {
    display: flex;
}

.tech-table td:first-child {
    flex: 0 0 40%;
}

@media (max-width: 991px) {
    .about-page #myTabContent .tab-pane {
        padding: 25px 0;
        background-color: #fff;
    }
}

@media (max-width: 767px) {

    .about-page #myTabContent .tech .cut {
        padding: 0;
        border: none;
    }

    .about-page #myTabContent .tech .undercut {
        background-color: #fff;
        padding: 50px 0;
    }

    .tech-table {
        display: none;
    }

    .about-page .tech-mobile-version {
        display: block;
    }
}


.about-page #myTabContent .partners h2 {
    margin: 0;
}

@media (max-width: 767px) {
    .about-page #myTabContent .partners h2 {
        text-align: center;
    }

    .about-page .partners .partner-filter-container > .bootstrap-select {
        width: 100%;
        margin-top: 20px;
    }
}

.about-page .partners .partners-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    align-content: space-around;
    width: 100%;
}

.about-page .partners .partners-box a {
    color: inherit;
    text-decoration: none;
}

.about-page .partners .partners-box > a {
    flex-basis: 300px;
    padding: 0 50px;
    text-align: center;
}

.about-page .partners .partners-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    font-size: 13px;
}

.about-page .partners .partners-item .partner-img {
    text-align: center;
    flex: 100%;
    width: 100%;
}

.about-page .partners .partners-item .partner-img svg {
    height: 150px;
    max-width: 100%;
}

.about-page .partners .partners-item:hover {
    color: var(--clr-link-main);
}

.about-page .employees img {
    width: 100%;
    height: auto;
}

.about-page .employees .employee-group-box button.btn-link {
    color: var(--dark-grey);
    font-weight: 500;
}

.about-page .employees .employee-group-box .card-body a:hover {
    color: #007bff;
}

.about-page .employees .employee-group-box .card-header {
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: 20px center;
    padding-left: 65px;
    cursor: pointer;
}

.about-page .employees .employee-group-box ul {
    list-style-type: none;
}

@media (max-width: 460px) {
    .about-page .employees .employee-group-box .card-header {
        background-size: 20px;
        background-position: 15px center;
        padding-left: 45px;
    }

    .about-page #myTabContent h2 {
        font-size: 18px;
        line-height: 24px;
    }

    .about-page #myTabContent p {
        font-size: 14px;
        line-height: 24px;
        text-align: left !important;
    }
}

@media (max-width: 380px) {
    .about-page .employees .employee-group-box .card-header {
        background-image: none !important;
        padding-left: 15px;
    }
}


.about-page .employees .employee-group-box ul li a {
    color: var(--dark-grey);
}

.about-page .vacancies .vacancy-box button.btn-link {
    color: var(--dark-grey);
}

.about-page .vacancies .vacancy-box .card-body a:hover {
    color: #007bff;
}

.about-page .vacancies .vacancy-box .card-header {
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: 20px center;
    padding-left: 65px;
    cursor: pointer;
}

@media (max-width: 460px) {
    .about-page .vacancies .vacancy-box .card-header {
        background-size: 20px;
        background-position: 15px center;
        padding-left: 45px;
    }
}

@media (max-width: 380px) {
    .about-page .vacancies .vacancy-box .card-header {
        background-image: none !important;
        padding-left: 15px;
    }
}

.about-page #myTabContent .tab-pane.contacts {
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.about-page .contacts .map-row {
    padding: 60px 50px 0;
    background-color: var(--light-grey);
    margin: 0;
}

.about-page .contacts .contacts-row {
    margin: 0;
    padding: 40px 50px 50px;
    background-color: var(--light-grey);
    color: #000;
    font-weight: normal;
}

.about-page .contacts .contacts-row a {
    color: #000;
}

.about-page .contacts .contacts-row .lab {
    flex: 0 0 26%;
}

.about-page .contacts .contacts-row .contacts {
    flex: 0 0 74%;
}

.about-page .contacts .map {
    min-height: 400px;
    width: 100%;
    border: 1px solid black;
}

.about-page .contacts .map iframe {
    margin-bottom: -7px;
}

.about-page .contacts .phone-email {
    background-repeat: no-repeat;
    background-position: left;
    background-size: 20px auto;
    padding-left: 30px;
}

.about-page .contacts .address {
    background-repeat: no-repeat;
    background-position: left;
    background-size: 20px auto;
    padding-left: 30px;
}

.about-page .contacts .contact-form-row {
    margin: 0;
    margin-top: 24px;
    padding: 0;
    background-color: var(--light-grey);
}

.about-page .contacts .picture {
    overflow: hidden;
    margin: 0;
    padding: 0;
    flex: 0 0 50%;
}

.about-page .contacts .picture img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-page .contacts .contact-row-col {
    overflow: hidden;
    margin: 0;
    padding: 40px 36px;
    flex: 0 0 50%;
    position: relative;
}

@media (max-width: 991px) {
    .about-page .contacts .map-row {
        padding: 0;
    }

    .about-page .contacts .map-row .map {
        border: none;
    }

    .about-page .contacts .contacts-row {
        background-color: #fff;
        padding: 0;
    }

    .about-page .contacts .contacts-row .lab {
        flex: 0 0 100%;
        padding: 15px 0;
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
    }

    .about-page .contacts .contacts-row .contacts {
        flex: 0 0 100%;
    }

    .about-page .contacts .picture {
        flex: 1 1 100%;
    }

    .about-page .contacts .contact-row-col {
        flex: 1 1 50%;
        padding: 20px 0;
    }

    .about-page .contacts .contact-form-row {
        background-color: #fff;
    }
}

@media (max-width: 767px) {
    #about-contact-form .submission .button-submit {
        width: 100%;
    }
}

.about-page .contacts .contact-row-col > h3 {
    font-size: 20px;
    transition: var(--form-succeed-trans-dur);
}

.about-page .contacts .contact-row-col form h3 {
    font-size: 14px;
}

.about-page .wp-block-image,
.about-page .wp-block-file {
    display: none;
}


@media (max-width: 991px) {

    .about-page #myTabContent {
        position: relative;
        padding: 0;
    }

    .about-page {
        margin-top: 15px;
    }

}

/*
 * News page
 */

.news-page {
    background: var(--light-grey);
    padding: 30px;
}

.news-page .news-item img {
    width: 100%;
    height: auto;
}

/*
 * Single News page
 */

.single-news-page.container {
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 13px;
    color: var(--dark-grey);
}

.single-news-page p {
    text-align: left;
}

.single-news-page .news-cut .title h1 {
    font-weight: bold;
    font-size: 32px;
    line-height: 37px;
    color: var(--dark-grey);
    margin: 0;
    padding: 0;
}

.single-news-page .news-cut .title {
    margin-bottom: 15px;
}

.single-news-page .news-cut .date {
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 25px;
}

.single-news-page .news-cut .excerpt p{
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    padding: 0;
}

.single-news-page .news-cut .excerpt {
    margin-top: 0;
}

.single-news-page .news-cut .news-thumbnail img {
    object-fit: cover;
    width: 100%;
    height: auto;
    max-height: 300px;
}

.single-news-page .news-cut {
    margin-top: 60px;
    margin-bottom: 40px;
}

.single-news-page .news-content {
    background-color: var(--light-grey);
    padding: 50px;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 70px;
    margin-right: 20px;
}

.single-news-page .news-content img {
    width: 100%;
    height: auto;
}


.single-news-page .sidebar h3{
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    color: var(--dark-grey)
}

.single-news-page .sidebar a {
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: var(--dark-grey);
}

.single-news-page .other-news img {
    width: 100%;
    height: auto;
}

@media (max-width: 576px) {
    .single-news-page .news-cut {
        margin-left: 10px;
        margin-right: 10px;
    }

    .single-news-page .news-content {
        padding: 20px;
    }
}


/*
 * Slider
 */

.singleNewsImage,
.carouselNewsImages {
    margin-top: 40px;
    margin-bottom: 62px;
}

.carouselNewsImages .carousel-item {
    height: 550px;
    flex-direction: column;
    display: flex;
    opacity: 0;
    transform: none !important;
    transition: opacity .1s ease-in-out;
}

.carouselNewsImages .carousel-item.active {
    opacity: 1;
}

.carouselNewsImages .carousel-inner .carousel-item .img-container{
    flex: 1;
    overflow: hidden;
}

.carouselNewsImages .carousel-inner .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    background-color: #c4c4c4;
}

.carouselNewsImages li::before {
    content: none; /* denying global <ol> markers styling */
}

.carouselNewsImages .carousel-indicators {
    bottom: -47px;
    margin: 0;
    z-index: 1;
}

.carouselNewsImages .carousel-indicators li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 7.5px;
    margin-left: 7.5px;
    background-color: var(--grey);
    opacity: 1;
}

.carouselNewsImages .carousel-indicators li.active {
    background-color: var(--clr-infographics);
}

.carouselNewsImages .control-next,
.carouselNewsImages .control-prev {
    border: solid #fff;
    border-width: 0 2px 2px 0;
    width: 20px;
    height: 20px;

    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.carouselNewsImages .control-next {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.singleNewsImage .img-text,
.carouselNewsImages .img-text {
    width: 100%;
    color: var(--medium-grey);
    font-size: 13px;
    line-height: 18px;
    margin: 0;
    padding-top: 10px;
    text-align: center;
}

@media (max-width: 575px) {
    .carouselNewsImages {
        margin-top: 20px;
        margin-bottom: 50px;
    }

    .carouselNewsImages .carousel-item {
        height: 300px;
    }

    .carouselNewsImages .control-next,
    .carouselNewsImages .control-prev {
        border-color: #3080E8;
        width: 17px;
        height: 17px;
    }

    .carouselNewsImages .control-prev {
        margin-left: -35px;
    }

    .carouselNewsImages .control-next {
        margin-right: -35px;
    }

    .carouselNewsImages .carousel-inner {
        width: calc(100% - 60px);
        margin-left: 30px;
    }

    .carouselNewsImages .carousel-control-next,
    .carouselNewsImages .carousel-control-prev {
        opacity: 1;
    }
}

/*
 * industry solutions page
 */

.industry-solutions-page {
    margin-top: 50px;
    margin-bottom: 70px;
    font-weight: normal;
    font-size: 16px;
    color: var(--dark-grey);
}

.industry-solutions-page li.nav-item {
    font-size: 13px;
}

.industry-solutions-page li.nav-item a {
    height: 100%;
}

.industry-solutions-page ul.nav-tabs {
    justify-content: stretch;
    flex-wrap: nowrap;
    background-color: #fff;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #c4c4c4 #f9f9f9;
    scroll-behavior: smooth;
    z-index: 1;
}

@media (max-width: 991px) and (min-height: 500px) {
    .industry-solutions-page ul.nav-tabs {
        position: sticky;
        top: 146px;
    }
}

/* chrome scrollbar customization */
.industry-solutions-page ul.nav-tabs::-webkit-scrollbar {
    height: 5px;
}

.industry-solutions-page ul.nav-tabs::-webkit-scrollbar-track {
    background-color: #f9f9f9;
}

.industry-solutions-page ul.nav-tabs::-webkit-scrollbar-thumb {
    background-color: #c4c4c4;
    border-radius: 4px;
}

.industry-solutions-page ul.nav-tabs::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8;
}

.industry-solutions-page li.nav-item {
    flex-grow: 1;
    text-align: center;
    min-width: -moz-fit-content;
    min-width: fit-content;
}

.industry-solutions-page #myTabContent {
    margin-top: 0;
}

.industry-solutions-page #myTabContent > * {
    margin: 0;
    padding: 50px;
    background-color: var(--light-grey);
}

@media (max-width: 991px) {
    .industry-solutions-page #myTabContent > * {
        padding: 50px 0;
        background-color: #fff;
    }
}

.industry-solutions-page #myTabContent li {
    list-style-image: url("./img/tick.png");
}

.industry-solutions-page #myTabContent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 300px;
}


.industry-solutions-page .nav-link.active {
    background: var(--light-grey);
    border-bottom: 1px solid var(--light-grey);
}

.industry-solutions-page h3 {
    background: left / 30px auto no-repeat;
    padding-left: 40px;
}

.industry-solutions-page .sidebar .sidebar-card {
    background: var(--light-grey);
    padding: 20px;
    font-size: 12px;
    margin-bottom: 25px;
}

.industry-solutions-page .sidebar .sidebar-card.tags {
    background: none;
}

.industry-solutions-page .sidebar .sidebar-card.tags .tagcloud {
    margin-left: -20px;
    width: calc(100% + 40px);
}

.industry-solutions-page .sidebar .sidebar-card ul {
    padding-left: 0;
}

.industry-solutions-page .sidebar .sidebar-card img {
    width: 100%;
    height: auto;
    padding: 10px;
}

.industry-solutions-page .sidebar .sidebar-card ul li {
    margin-bottom: 10px;
}

.industry-solutions-page .sidebar .sidebar-card ul li:last-child {
    margin-bottom: 0;
}


/*
 * Single employee page
 */

.single-employee-page .employee-personal-data {
    margin-top: 40px;
    margin-bottom: 40px;
}

.single-employee-page .employee-photo {
    overflow: hidden;
    flex: 1;
    min-width: 200px;
    max-width: 350px;
}

.single-employee-page .employee-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-employee-page .right-col {
    display: flex;
    flex: 1;
    min-width: 500px;
    border: 2px solid #F1F1F1;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 500px) {
    .single-employee-page .right-col {
        min-width: 100%;
    }
}

.single-employee-page .employee-info-interests {
    padding: 25px;
}

.single-employee-page .employee-info-box h2 {
    margin-bottom: 25px;
}

.single-employee-page .employee-info-box .employee-position,
.single-employee-page .employee-info-box .employee-position p {
    font-size: 16px;
    line-height: 26px;
    font-weight: normal;
}

.single-employee-page .employee-info-box .employee-position p {
    margin-bottom: 0;
}

.single-employee-page .employee-info-box .employee-position {
    margin-bottom: 12px;
}

.single-employee-page .employee-info-box .email,
.single-employee-page .employee-info-box .phone
{
    background-size: 20px auto;
    background-position: left;
    background-repeat: no-repeat;
    padding-left: 30px;
    font-size: 16px;
    color: var(--dark-grey);
    margin-bottom: 8px;
}

.single-employee-page .employee-info-box .email {
    font-weight: bold;
}


.single-employee-page .employee-info-box .phone {
    margin-bottom: 20px;
}

.single-employee-page .employee-info-interests .prof-interests-header {
    font-size: 18px;
}

.single-employee-page .right-col .links {
    display: flex;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: space-evenly;
    flex-wrap: wrap;
    border-top: 2px solid #F1F1F1;
}

.single-employee-page .sidebar .nav .spacer {
    display: none;
    min-width: 80px;
}

@supports (-ms-flow-from: thingy) { /* Edge only */
    .single-employee-page .right-col .links {
        justify-content: space-between;
        padding-left: 50px;
        padding-right: 50px;
    }
}

.single-employee-page #nav-tabContent {
    background: var(--light-grey);
    padding: 50px;
    margin: 0 20px 50px 0;
}

.single-employee-page #nav-tabContent ul li a {
    color: inherit;
}

.single-employee-page .rid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: calc(100% + 20px);
    margin-left: -10px;
}

.single-employee-page .rid-item {
    background: #FFFFFF;
    flex: 0 0 calc((100% - 40px) / 2);
    margin: 10px;
    padding: 30px;
}

.single-employee-page .rid-item a {
    color: inherit;
}

.single-employee-page #nav-tabContent ol li {
    margin-bottom: 10px;
}

.single-employee-page .search-filter {
    margin-bottom: 50px;
}

.single-employee-page #nav-teaching strong,
.single-employee-page #nav-teaching b {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 2em;
    color: var(--clr-infographics);
}

@media (max-width: 991px) {
    .single-employee-page .sidebar {
        order: -1;
        padding: 0;
        margin-bottom: 20px;
        position: relative;
    }

    .single-employee-page .sidebar .gradient-overlay {
        position: absolute;
        pointer-events: none;
        width: 80px;
        top: 0;
        right: 0;
        bottom: 0;
        background: -moz-linear-gradient(0deg,rgba(255,255,255,0), rgba(249,249,249,1));
        background: -webkit-linear-gradient(0deg, rgba(255,255,255,0), rgba(249,249,249,1));
        background: linear-gradient(90deg, rgba(255,255,255,0), rgba(249,249,249,1));
    }

    .single-employee-page .sidebar nav {
        overflow-x: auto;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .single-employee-page .sidebar .nav {
        flex-direction: row;
        overflow: hidden;
        flex-wrap: nowrap;
        min-width: min-content;
        padding: 0;
    }

    .single-employee-page .sidebar nav::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .single-employee-page .sidebar .nav .nav-link.active {
        border: none;
        border-bottom: 5px solid var(--clr-link-main);
        padding-left: 26px;
    }

    .single-employee-page .sidebar .nav .spacer {
        display: block;
    }

    .single-employee-page .employee-photo {
        max-width: unset;
    }

    .single-employee-page #nav-tabContent {
        padding: 25px 0;
        margin: 0 0 25px;
        background: none;
    }

    .single-employee-page #nav-teaching {
        padding: 0 20px;
    }

    .single-employee-page .rid-item {
        background-color: var(--light-grey);
    }

    .single-employee-page .tab-pane h2 {
        display: none;
    }

    .single-employee-page .projects-container .project-card {
        background-color: var(--light-grey);
    }
}

@media (max-width: 575px) {
    .single-employee-page .search-filter {
        margin-left: 20px;
    }

    .single-employee-page .rid-container {
        width: 100%;
        margin-left: 0;
    }

    .single-employee-page .rid-item {
        flex: 0 0 100%;
        background-color: #fff;
        margin: 0;
    }

    .single-employee-page ol {
        margin: 0 20px;
    }

    .single-employee-page .pagination {
        margin: 20px 30px 0;
    }
}

@media (max-width: 539px) {
    .single-employee-page .projects-container .project-card {
        background-color: #fff;
    }

    .single-employee-page .projects-container .project-card .project-years {
        margin: 15px 0;
    }

    .single-employee-page .projects-container .project-card .project-title {
        margin: 0 0 30px;
    }
}

/*
 * Single Project page
 */

.single-project-page .header-img img {
    width: 100%;
    object-fit: cover;
    height: auto;
}

.single-project-page ul.nav-tabs {
    justify-content: stretch;
    flex-wrap: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #c4c4c4 #f9f9f9;
    scroll-behavior: smooth;
    z-index: 1;
    background-color: #fff;
}

@media (max-width: 991px) and (min-height: 500px) {
    .single-project-page ul.nav-tabs {
        position: sticky;
        top: 146px;
    }
}

/* chrome scrollbar customization */
.single-project-page ul.nav-tabs::-webkit-scrollbar {
    height: 5px;
}

.single-project-page ul.nav-tabs::-webkit-scrollbar-track {
    background-color: #f9f9f9;
}

.single-project-page ul.nav-tabs::-webkit-scrollbar-thumb {
    background-color: #c4c4c4;
    border-radius: 4px;
}

.single-project-page ul.nav-tabs::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8;
}

.single-project-page li.nav-item {
    flex-grow: 1;
}

.single-project-page #myTabContent {
    padding: 50px;
    background: var(--light-grey);
}

@media (max-width: 991px) {
    .single-project-page #myTabContent {
        padding: 40px 25px 25px;
    }

    .single-project-page .tab-pane > h2 {
        display: none;
    }
}

.single-project-page #myTabContent ul li {
    list-style-image: url("./img/tick.png");
    padding-bottom: 5px;
}

.single-project-page .additional .col div,
.single-project-page .team .col div,
.single-project-page .partners .col div
{
    background: var(--light-grey);
    padding: 50px;
}

@media (max-width: 991px) {
    .single-project-page .additional .col div,
    .single-project-page .team .col div,
    .single-project-page .partners .col div
    {
        padding: 25px;
    }
}

.single-project-page .team .col div p {
    margin-bottom: 0;
}

.single-project-page .nav-link.active {
    background: var(--light-grey);
    border-bottom: 1px solid var(--light-grey);
}

.single-project-page .sidebar .sidebar-card {
    background: var(--light-grey);
    padding: 20px;
    font-size: 12px;
    margin-bottom: 25px;
}

.single-project-page .sidebar .sidebar-card.tags {
    background: none;
}

.single-project-page .sidebar .sidebar-card.tags .tagcloud {
    margin-left: -20px;
    width: calc(100% + 40px);
}

.single-project-page .sidebar .sidebar-card ul {
    padding-left: 0;
}

.single-project-page .sidebar .sidebar-card img {
    width: 100%;
    height: auto;
    padding: 10px;
}

.single-project-page .rid-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: calc(100% + 20px);
    margin: 0 -10px;
}

.single-project-page .rid-wrapper .rid-card {
    background-color: #fff;
    padding: 30px 36px;
    flex: 1 1 calc(50% - 20px);
    margin: 10px;
    max-width: calc(50% - 20px);
}

.single-project-page .rid-wrapper .rid-card p {
    margin: 0;
    padding: 0;
}

.single-project-page .rid-wrapper .rid-card p:first-child {
    font-size: 18px;
    line-height: 26px;
    font-weight: 300;
}

.single-project-page .rid-wrapper .rid-card p:last-child {
    font-size: 16px;
    line-height: 24px;
}

/*
 * Projects page
 */

.projects-page .section-head {
    padding: 50px;
    border: 1px solid #F1F1F1;
}

.projects-page .item-list {
    padding: 35px;
    background: var(--light-grey);
    border: 1px solid #F1F1F1;
}

.projects-page select {
    max-width: 100%;
    height: 30px;
}

@media (max-width: 991px) {
    .projects-page .section-head {
        padding: 25px;
    }

    .projects-page .item-list {
        padding: 25px;
    }
}

.projects-container {
    width: calc(100% + 20px);
    margin-left: -10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@media (max-width: 575px) {
    .projects-container {
        width: 100%;
        margin-left: 0;
    }
}

.projects-container .project-card-wrapper {
    flex: 0 0 calc(100% / 3);
    display: flex;
    min-height: 356px;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

@media (max-width: 1199px) {
    .projects-container .project-card-wrapper {
        flex: 0 0 50%;
    }
}

.projects-container .project-card {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: var(--medium-grey);
    transition: box-shadow .3s ease-in-out;
    text-decoration: none;
}

@media (max-width: 539px) {
    .projects-container .project-card-wrapper{
        flex: 0 0 100%;
        min-height: auto;
        padding: 10px 20px;
    }

    .projects-container .project-card {
        max-width: 100%;
    }
}

.projects-container .project-card:hover {
    box-shadow: 5px 5px 20px rgba(30, 49, 219, 0.1);
}

.projects-container .project-card:hover .project-years,
.projects-container .project-card:hover .project-title {
    color: var(--clr-link-main);
}

.projects-container .project-card img {
    margin: 0;
    height: 160px;
    width: 100%;
    object-fit: cover;
}

.projects-container .project-card .project-years {
    margin: 15px 30px;
    color: var(--medium-grey);
    font-size: 14px;
}

.projects-container .project-card .project-title {
    margin: 0 30px 30px;
    color: var(--dark-grey);
    font-weight: 500;
    font-size: 14px;
    overflow: hidden;
}

/*
 * Single Publication page
 */


.single-publication-page .header {
    border: 2px solid #F1F1F1;
}

.single-publication-page .header-text {
    border-right: 2px solid #F1F1F1;
}

.single-publication-page .info {
    background: var(--light-grey);
    border: 1px solid #dee2e6;
}

.single-publication-page .authors,
.single-publication-page .source
{
    border-bottom: 2px solid #F1F1F1;
}

.single-publication-page .source,
.single-publication-page .links
{
    min-height: 30px;
}

.single-publication-page .reference h3 a {
    color: var(--dark-grey);
    background: url(./img/cit-closed.png) right / 30px auto no-repeat ;
    padding-right: 40px;
    text-decoration: none;
}

.single-publication-page .reference h3 a.collapsed {
    background: url(./img/cit-open.png) right / 30px auto no-repeat ;
}

.single-publication-page .reference .text {
    font-size: 15px;
}

/*
 * Single Partner Page
 */

.single-partner-page .partner-info {
    flex: 1;
    display: flex;
    align-items: stretch;
    margin: 40px auto;
}

.single-partner-page img.partner-logo {
    max-width: 300px;
    min-width: 300px;
    max-height: 135px;
    object-fit: contain;
    margin: 0 20px;
}

.single-partner-page .description {
    margin-top: 20px;
}

.single-partner-page .description,
.single-partner-page .description p {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
}

.single-partner-page .brief__task,
.single-partner-page .brief__result {
    margin: 20px 0;
}

.single-partner-page .tab-content {
    background: var(--light-grey);
    padding: 50px;
    margin: 0 20px 50px 0;
}

.single-partner-page .tab-content h3 {
    font-size: 18px;
    line-height: 25px;
}

.single-partner-page .brief_materials {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 50px);
    margin: 0 -25px;
}

.single-partner-page .brief_materials a {
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
    margin: 25px 25px 0;
}

.single-partner-page .brief_materials a:hover {
    text-decoration: none;
    color: var(--clr-link-secondary)
}

@media (max-width: 767px) {
    .single-partner-page .brief_materials {
        flex-direction: column;
        align-items: flex-start;
    }

    .single-partner-page .brief_materials a {
        white-space: normal;
    }
}

.single-partner-page .tab-content .post-edit-link {
    color: var(--light-grey);
    background-color: var(--dark-grey);
    border-radius: 5px;
    font-size: .8em;
    padding: .1em .5em;
}

.single-partner-page .tab-content .post-edit-link:hover {
    background-color: var(--medium-grey);
    text-decoration: none;
}

.single-partner-page .tab-content .post-edit-link::before {
    font-family: dashicons;
    content: "\f464";
}

.single-partner-page .tab-content ul li {
    list-style-image: url(./img/tick.png);
    padding-bottom: 5px;
    padding-left: 10px;
}

.single-partner-page .sidebar .nav .nav-link {
    height: auto;
    padding: 10px 26px;
}

.single-partner-page .sidebar .nav .spacer {
    display: none;
    min-width: 80px;
}

@media (max-width: 991px) {

    .single-partner-page .partner-info {
        flex-direction: column;
    }

    .single-partner-page img.partner-logo {
        margin: 0;
        margin-bottom: 25px;
        height: 130px;
        min-width: auto;
    }

    .single-partner-page .sidebar {
        order: -1;
        padding: 0;
        margin-bottom: 20px;
        position: relative;
    }

    .single-partner-page .sidebar .gradient-overlay {
        position: absolute;
        pointer-events: none;
        width: 80px;
        top: 0;
        right: 0;
        bottom: 0;
        background: -moz-linear-gradient(0deg,rgba(255,255,255,0), rgba(249,249,249,1));
        background: -webkit-linear-gradient(0deg, rgba(255,255,255,0), rgba(249,249,249,1));
        background: linear-gradient(90deg, rgba(255,255,255,0), rgba(249,249,249,1));
    }

    .single-partner-page .sidebar nav {
        overflow-x: auto;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .single-partner-page .sidebar .nav {
        flex-direction: row;
        overflow: hidden;
        flex-wrap: nowrap;
        min-width: min-content;
        padding: 0;
    }

    .single-partner-page .sidebar nav::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .single-partner-page .sidebar .nav .nav-link.active {
        border: none;
        border-bottom: 5px solid var(--clr-link-main);
        padding-left: 26px;
    }

    .single-partner-page .sidebar .nav .spacer {
        display: block;
    }

    .single-partner-page .tab-content {
        margin: 0 0 25px;
    }
}

/*
 * Publications page
 */

.publications-page {
    background: var(--light-grey);
    padding: 30px;
}

.publications-page .publication-item img {
    width: 100%;
    height: auto;
}


/*
 * Search results page
 */

.search-results-page {
    background: #FFFFFF;
}

.search-results-page h3 {
    margin-bottom: 32px;
}

.search-results-page .search-data ol {
    padding-left: 25px;
    margin-bottom: 30px;
}

.search-results-page ol li {
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    .search-results-page .sidebar {
        order: -1;
    }
}

.sidebar .nav {
    background-color: var(--light-grey);
    padding: 17px 0;
    display: flex;
    flex-direction: column;
}

.sidebar .nav li {
    margin: 0;
    list-style: none;
}

.sidebar .nav .nav-link {
    color: var(--dark-grey);
    height: 46px;
    padding: 0 26px;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    border: none;
    justify-content: space-between;
}

.sidebar .nav .nav-link.active {
    background-color: rgba(var(--clr-link-main-rgb), 0.06);
    border-left: 5px solid var(--clr-link-main);
    padding-left: 21px;
}

/*
 * Science Page
 */


.science-page #nav-tab {
    justify-content: stretch;
}

.science-page #nav-tab .nav-item {
    flex-grow: 1;
    font-weight: 500;
    font-size: 13px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.science-page #nav-tab .nav-item:last-child {
    border-right: none;
}

.science-page img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.science-page #nav-tab .nav-item .icon {
    display: none;
    flex-grow: 1;
    text-align: center;
}

@media (max-width: 767px) {

    .science-page #nav-tab .nav-item {
        flex: 0 0 auto;
    }

    .science-page #nav-tab .nav-item .icon {
        background: center center / 30px auto no-repeat;
        width: 30px;
        height: 30px;
        padding: 10px;
    }

    .science-page #nav-tab .nav-item#nav-projects-tab .icon {
        background-image: url(./img/icons/project-icon.png);
    }

    .science-page #nav-tab .nav-item#nav-publications-tab .icon {
        background-image: url(./img/icons/pub-icon.png);
    }

    .science-page #nav-tab .nav-item#nav-rid-tab .icon {
        background-image: url(./img/icons/rid-icon.png);
    }

    .science-page #nav-tab .nav-item#nav-events-tab .icon {
        background-image: url(./img/icons/event-icon.png);
    }

    .science-page #nav-tab .nav-item .text {
        display: none;
    }

    .science-page #nav-tab .nav-item .icon {
        display: block;
    }

    .science-page .section-head {
        padding: 15%;
    }
}

.science-page #nav-tabContent .tab-pane {
    background: none;
    color: var(--dark-grey);
}

.science-page #nav-tabContent .tab-pane.project-tab {
    background: var(--light-grey);
    padding: 50px;
}

.science-page #nav-tabContent ul li {
    list-style-image: url("./img/tick.png");
}

.science-page #nav-tab .nav-item.nav-link.active {
    background: var(--light-grey);
    border-bottom: 1px solid #dee2e6;
}

.science-page #nav-tab #nav-projects-tab.active {
    border-bottom: 1px solid var(--light-grey);
}

#nav-projects .additional-material {
    flex-basis: 390px;
}

.science-page #nav-tabContent #nav-publications,
.science-page #nav-tabContent #nav-rid,
.science-page #nav-tabContent #nav-events
{
    background: #FFFFFF;
}

.science-page .section-head {
    padding: 50px;
    margin: 0;
    border: 2px solid #f1f1f1;
}

.science-page .item-list {
    background: var(--light-grey);
    padding: 50px;
}

@media (max-width: 767px) {
    .science-page .section-head {
        padding: 25px;
    }

    .science-page .item-list {
        padding: 25px;
    }

    .science-page #nav-projects {
        padding: 25px;
    }

}

.science-page .sidebar {
    margin-top: 45px;
}

.science-page .sidebar h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

ol {
    list-style: none;
    counter-reset: pub-counter;
}

ol>li {
    position: relative;
    margin-bottom: 15px;
    counter-increment: science-counter;
}

ol>li::before {
    position: absolute;
    content: counter(science-counter);
    color: var(--clr-infographics);
    font-weight: 500;
    font-size: 18px;
    top: -2px;
    right: calc(100% + 15px);
}

/*
 * History diagrams
 */

.additional-materials {
    background-color: var(--light-grey);
    margin: 1.5rem 0;
    padding: 50px;
}

#nav-tabContent .additional-materials,
#myTabContent .additional-materials {
    margin-bottom: 0;
    margin-top: 35px;
    padding: 0;
}

.additional-materials .materials-container {
    width: calc(100% + 20px);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 35px -10px 0;
}

#myTabContent .additional-materials .materials-container {
    margin: 0 -15px;
    width: calc(100% + 30px);
}

.about-page #myTabContent .additional-materials .materials-container {
    margin: 1.5rem 0;
    width: 100%;
}

.additional-materials .materials-container .additional-material {
    flex: 1 1 calc(50% - 40px);
    background-color: #fff;
    height: 120px;
    display: flex;
    flex-direction: row;
    padding: 20px;
    margin: 5px 5px;
}

.additional-materials .materials-container .additional-material .img {
    width: 80px;
    min-width: 80px;
    height: 80px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--clr-infographics-rgb), 0.1);
    position: relative;
    cursor: pointer;
}

.additional-materials .materials-container .additional-material img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#myTabContent .additional-materials .materials-container .additional-material img.add_material_placeholder,
.additional-materials .materials-container .additional-material img.add_material_placeholder {
    width: 50%;
    height: 50%;
    mix-blend-mode: darken;
}

.additional-materials .materials-container .additional-material .video-indicator {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--clr-link-main);
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.additional-materials .materials-container .additional-material .video-indicator::after {
    content: '';
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-left: 9px solid #fff;
    margin-left: 8px;
}

.additional-materials .materials-container .additional-material img.add_material_placeholder ~ .video-indicator {
    display: none;
}

.additional-materials .materials-container .additional-material .text {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    margin-left: 20px;
}

.additional-materials .materials-container .additional-material .text p {
    max-height: 50px;
    overflow: hidden;
    margin: 0 0 6px;
}

@media (max-width: 991px) {
    .additional-materials
    {
        padding: 25px;
        background-color: #fff;
    }

    .additional-materials .materials-container .additional-material {
        background-color: var(--light-grey);
    }
}

@media (max-width: 767px) {
    .additional-materials .materials-container .additional-material {
        flex: 0 0 100%
    }
}

/*
 * Document template
 */

.document-template {
    margin: 3rem auto;
}

.document-template .document-title {
    margin: 50px 0 40px;
}

.document-template p span {
    /* goddamn wordpess editor inline style*/
    font-family: Roboto, Arial, Helvetica, sans-serif !important;
}


/*
 * History diagrams
 */


h2.history-title {
    font-weight: 300;
}

.history-chart {
    width: 100%;
    height: 100%;
}

.history-chart .history-line {
    width: 100%;
    height: 88px;
    position: relative;
}

.history-chart .history-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    border: 2px solid var(--clr-infographics);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--clr-infographics);
    font-weight: bold;
    font-size: 18px;
}

.history-chart .history-horiz-line {
    position: absolute;
    background: var(--clr-infographics);
    top: 31px;
    left: 64px;
    height: 2px;
    width: 24px;
}

.history-chart .history-bullet {
    position: absolute;
    background: var(--clr-infographics);
    top: 28px;
    left: 86px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.history-chart .history-text {
    position: absolute;
    top: 0;
    left: 110px;
    height: 60px;
    display: flex;
    align-items: center;
}

.history-chart .history-vert-line {
    position: absolute;
    background: var(--clr-infographics);
    top: 63px;
    left: 32px;
    width: 2px;
    height: 27px;
}

@media (max-width: 767px) {

    .history-chart .history-line {
        height: auto;
    }

    .history-chart .history-horiz-line,
    .history-chart .history-vert-line,
    .history-chart .history-bullet {
        display: none;
    }

    .history-chart .history-circle {
        display: block;
        border: none;
        position: static;
        height: auto;
        margin-bottom: 8px;
    }

    .history-chart .history-text {
        position: static;
        height: auto;
        display: block;
        margin-bottom: 25px;
    }

    .history-chart .history-text::first-letter {
        text-transform: uppercase;
    }
}
