*,
*::before,
*::after {
    box-sizing: border-box;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/opensans/OpenSans-VariableFont_wdth\,wght.ttf")
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 14px;
    margin: 0;
}

h2 {
    font-weight: 300;
    letter-spacing: 0.25em;
    font-size: 1.35em;    
}
h3 {
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: none;
    font-size: 1.15em;
    margin: 0;
    padding: 1em 0;
}
h4 {
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: none;
    font-size: 1em;
    margin: 0;
    padding: 0.5em 0;
}

a {
    text-decoration: none;
}

a[href^="tel:"] {
    font-weight: 600;
}


.company_logo {
    margin-left: 5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company_logo a {
    cursor: pointer;
}

hr {
    margin: 0 15em;
    height: 1px;
}

p {
    text-indent: 2em;
}

#search_bar {
    display: block;
    visibility: hidden;
    z-index: 9;
    position: fixed;
    width: inherit;
    padding-top: 0;
    padding-left: 5em;
    padding-right: 5em;
    padding-bottom: 0;
    max-width: 1920px;
    height: auto;
    transition: padding-top 0.5s, visibility 0.4s !important;
}

.search_bar_active {
    visibility: visible !important;
    padding-top: 5em !important;
    transition: padding-top 0.5s, visibility 0.4s !important;
}

#global_search_field_2 {
    font-size: 1.5em;
    margin: 1em 0;
    min-height: 2em;
    min-width: 40%;
}

.txt_middle {
    text-align: center;
}

.img_article_cnt {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/*-------------------CONTENT BLOCKS-------------------*/

.main-content {
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1 em;
}

header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    max-width: 1920px;
    width: 100%;
    height: 5em;
    z-index: 10;
}


.large-content-block {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.large-content-block {
    padding: 2em 5em;
}
.large-content-block:nth-child(3) {
    padding-top: 5em !important;
}




.large-content-block-с {
    display: flex;
    flex-direction: column;
    padding: 1em 5em;
}
.large-content-block-c {
    padding: 2em 5em;
}
.large-content-block-c:nth-child(3) {
    padding-top: 5em !important;
}


.medium-content-block {
    margin-right: 2em;
}
.medium-content-block:last-child {
    margin-right: 0;
}

/*
.small-content-block {
    
}
*/



/* 
Переработать следующие блоки:
.content_block:first-of-type {
    margin-top: 5em;
}

.content_sm_block_r2_to_c1 {
    display: flex;
    flex-direction: row;
    padding-bottom: 5em;
}
.content_sm_block_r2_to_c1_m {
    display: flex;
    flex-direction: row;
    padding-bottom: 5em;
    justify-content: space-around;
}


Контент по середине (1 блок (1 row; 1 column))



.content_sm_block_r1c1_middle {
    display: flex;
    flex-direction: column;
    padding-bottom: 5em;
    justify-content: center;
}

.content_sm_block_r1c1_middle>h3 {
    text-align: center;
}
.content_sm_block_r1c1_middle>h4 {
    text-align: center;
    margin: 0.1em;
}

.content_sm_block_r1c1_middle>p {
    text-align: center;
    margin: 0.25em;
}
.content_sm_block_r1c1_middle > ol{
    width: 70%;
    margin: 0 auto;
}





.content_sm_block_r2_to_c1:first-child {
    margin-top: 3em;
}

.content_sm_block_r1 {
    display: flex;
    flex-direction: column;
    padding-bottom: 3em;
}
.content_sm_block_r1:first-child {
    margin-right: 1em;
}
.content_sm_block_r1:last-child {
    margin-left: 1em;
}
/*
.content_sm_block_r1:first-child {
    margin-top: 3em;
}
*/

/* ------------------BreadCrumb---------------------- */

.breadcrumb {
    margin-top: 1rem;
}

.breadcrumb ol {
    list-style-type: none;
    padding: 0;
}

.breadcrumb li {
    color: #9c9c9c;
    display: inline;
}

.breadcrumb a {
    color: inherit;
}

.breadcrumb li::before {
    content: ">";
}

.breadcrumb li:first-child::before {
    content: none;
}








/* -----------уточнить необходимость-----------------*/

.sorting_fixed_horizontal_block {
    display: block;
    width: 100%;
    height: 170px;
    padding-top: 5rem;
    background-color: #575757;
}

.select_inf_sh {
    display: block;
    width: 80%;
    margin: 1rem auto;
}

.select_inf_sh select {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: white;
    font-size: 1rem;
    background-color: #575757;
}

.content_block_with_navigation {
    display: table-cell;
    padding-top: 5rem;
    width: 100%;
    height: 800px;
}

.fixed_navigation_block {
    display: block;
    float: left;
    width: 15%;
    height: 100%;
    overflow: auto;
    background-color: #575757;
}

.right_content_block {
    display: block;
    padding: 1rem 3rem;
    float: right;
    width: 85%;
}

.fixed_navigation_block ul {
    list-style: none;
    padding: 0;
}

.fixed_navigation_block ul li {
    letter-spacing: 0;
    padding: 1rem 0;
    text-align: center;
    cursor: pointer;
    transition: letter-spacing 0.5s, color 0.5s;
}

cite {
    font-style: italic;
    letter-spacing: normal;
}

.sup_note_link {
    text-decoration: underline;
    color: #ffa500;
}








/* -------------------Table style - 1 ------------------ */

.table_style_1 {
    border-style: none;
    border-collapse: collapse;
    width: 100%;
}

.table_style_1 tr th {
    padding: 1em 0.25em;
}

.table_style_1 tr td {
    padding: 1em 0.25em;
    text-align: center;
}

.table_style_1 tr td:first-child {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    border-left: none;
    text-align: left;
}

.table_style_1 tr:first-child>td {
    padding: 1em 1em;
}

.table_style_1 tr:first-child td:first-child {
    padding: 0 0.25em;
}

.table_style_1 tr td[colspan="4"] {
    text-align: center;
}

.table_style_1 tr:nth-child(even) {
    background-color: #87888A;
}

.table_style_1 tr td a {
    color: #ffa500;
}



/* ------------------------------- Footer navigation ----------------------------------- */

.footer_navigation {
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 1920px;
    padding: 0 15em;
    width: 100%;
}

.ftr_nav_block h2 {
    margin-bottom: 16px;
    margin-left: 0;
}

.ftr_nav_block {
    margin: 0 1em;
    min-width: 25%;
}

.ftr_nav_block h2 {
    padding-left: 0;
}

.ftr_nav_block ul {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.ftr_nav_block ul li {
    font-weight: 300;
    text-transform: uppercase;
    word-spacing: 1px;
    font-size: 1.1em;
    margin: 16px 0;
}

.ftr_nav_block ul a {
    cursor: pointer;
}

.ftr_nav_block ul a:hover {
    color: #ffa500;
    text-decoration: underline #ffa500;
}

.ftr_nav_block h2 {
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 1.4em;
    padding-bottom: 14px;
}

#footer_info_line {
    margin: 1em 5em;
    padding-top: 1em;
}

@media all and (max-width: 900px) {
    .footer_navigation {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 1920px;
        padding: 0 !important;
        
        width: 100%;
    }
    .ftr_nav_block h2 {
        font-weight: 600;
        letter-spacing: 2px;
        font-size: 1.4em;
        margin-bottom: 0;
    }
    .ftr_nav_block {
        margin: 0;
        width: 100%;
        cursor: pointer;
    }
    .ftr_nav_block ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .ftr_nav_block ul li {
        font-weight: 300;
        text-transform: uppercase;
        word-spacing: 1px;
        font-size: 1.1em;
        margin: 1.5em 0;
    }
    .ftr_nav_dropdown h2 {
        padding-left: 0;
        margin-bottom: 0.3em;
        border-radius: 0.1em;
    }
    .ftr_nav_dropdown:before {
        content: '\02C5';
        font-size: 28px;
        line-height: 24px;
        position: absolute;
        right: 15px;
        text-align: center;
        transform: rotateZ(0deg);
        transition: 0.5s;
    }
    .ftr_nav_list {
        display: none;
        height: 0%;
        overflow: hidden;
    }
    .ftr_nav_dropdown.ftr_nav_dropdown_selected:before {
        transform: rotateZ(180deg);
        transition: 0.5s;
    }
    .ftr_nav_list.ftrnl_selected {
        display: block;
    }
}

@media all and (min-width: 901px) {
    .ftr_nav_list {
        display: block;
        height: 100%;
    }
    .ftr_nav_list.ftrnl_selected {
        display: block;
        height: 100%;
    }
}


/* ------------------ Download button ------------------- */


.download_button {
    cursor: pointer;
    border-radius: 5px;
    height: 2em;
    overflow: hidden;
    margin: auto 0;
    margin-left: 1em;
    padding: 0.25em 0.5em;
}


/* ------------------ Open PDF document ------------------- */

.open-pdf {
    display: block;
    margin: 1em 0;
}
.open-pdf::after {
    font-size: 0.75em;
    font-weight: 600;
    content: ".pdf";
    padding: 0 0.5em;
    margin-left: 0.5em;
    border-radius: 0.25em;
}


/* ------------------- External links ------------------- */

.external-links {
    display: block;
    margin: 1em 0;
    color: #da812d;
}

.external-links::before {
    content: "\1F517";
    border:  1px solid solid;
    
}


/* -------------------- Change color scheme button -------------------*/

#change_color_scheme_icon:hover {
    src: ("images/icons/color_scheme_button_hover.png");
}


/* --------------------------------Gallery----------------------------*/

.product-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.gal-leftside {
    height: 100%;
    display: flex;
    justify-content: right;
    flex: 0 2 10%;
}

.gal-rightside {
    height: 100%;
    display: flex;
    justify-content: left;
    flex: 0 2 10%;
}

.customPrevBtn {
    width: 100px;
    height: 100px;
    cursor: pointer;
    margin: auto 0;
    background-size: contain;
}

.customPrevBtn:hover {
    background: url('../images/icons/prev_icon_hover.png') no-repeat !important;
    background-size: contain !important;
}

.customNextBtn {
    width: 100px;
    height: 100px;
    background-size: contain;
    cursor: pointer;
    margin: auto 0;
}

.customNextBtn:hover {
    background: url('../images/icons/next_icon_hover.png') no-repeat !important;
    background-size: contain !important;
}

@media all and (max-width: 1500px) {
    .gal-leftside {
        flex: 0 2 15%;
    }
    .gal-rightside {
        flex: 0 2 15%;
    }
}

@media all and (max-width: 1200px) {
    .gal-leftside {
        flex: 0 2 10%;
    }
    .gal-rightside {
        height: 100%;
        display: flex;
        justify-content: left;
        flex: 0 2 10%;
    }
}

@media all and (max-width: 800px) {
    .customPrevBtn {
        width: 60px;
        height: 60px;
    }
    .customNextBtn {
        width: 60px;
        height: 60px;
    }
}

.product_galler_main_window {
    flex-grow: 1;
}

.product_galler_main_window {
    flex-basis: 50%;
}

.product_galler_main_window img {
    width: 100%;
    height: auto;
}

.product-images-array {
    cursor: zoom-in;
}

.product-images-array.pia-hidden {
    display: none;
}

.product-gallery-thumbs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.product-gallery-thumbs div {
    width: 250px;
    height: auto;
    margin: auto 2rem;
}

.product-gallery-thumbs img {
    width: 100%;
    height: auto;
}

.photo-thumbnail-selected img {
    border: 5px solid #ffa500;
}

.photo-thumbnail {
    cursor: pointer;
}

.photo-thumbnail-selected {
    cursor: default;
}

.photo-thumbnail.hidden-thumbnail {
    display: none;
}

#show-more-thumbnails {
    cursor: pointer;
    background-color: #505050;
    height: auto;
    width: 250px;
    overflow: hidden;
    margin: auto 2rem;
}

#show-more-thumbnails>img {
    overflow: hidden;
}

#show-less-thumbnails {
    display: none;
    cursor: pointer;
    background-color: #505050;
}

#show-less-thumbnails>img {
    width: 100%;
    height: auto;
}


/* ------------------- Image scale --------------------*/

.magnify {
    position: fixed;
    width: auto;
    z-index: 21;
    cursor: zoom-out;
}

#magnify-img-current {
    width: auto;
    height: auto;
    border: #ffa500 2px solid;
    max-width: none;
}

#darkening-background {
    display: none;
    background-color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.5;
    z-index: 20;
}


/* ---------------- Images Flow ------------ */
.images-flow {
    display: flex;
    flex-wrap: wrap;
    width: 100%;

}
.images-flow .img_f_vert {
    cursor: zoom-in;
    margin: 2em;
    max-width: 400px;
    width: inherit;
    height: inherit;
}


/* ---------------- Tabs ------------------ */

.tab-selector {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tab-selector button {
    height: 3em;
    margin: auto 3em;
    
    font-family: 'Arial', sans-serif;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    background-color: transparent;
    cursor: pointer;
}

.tab-content {
    display: none;
    margin: 2em 0;
    animation: fadeEffect 1s;
}

.tab-content {
    display: block;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* --------------- Anchor displacement -------------------*/

.a_anchor {
    display: block;
    position: relative;
    top: -160px;
    visibility: hidden;
}


/* --------------- News -------------------------- */
.publishing-date {
    display: table-cell;
    font-style: italic;
}
.publishing-date::after {
    content: "----------";
    color: #00000000
}



/* ------------------- Social media links style --------------------*/

.social_media_links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: end;
    height: 2.5em;
    margin: 0 5em;
}

.vk_ref {
    background-image: url("../images/icons/social_media/vk_icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 2.5em;
    height: auto;
    cursor: pointer;
}

.instagram_ref {
    background-image: url("../images/icons/social_media/instagram_icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 2.5em;
    height: auto;
    margin-left: 1em;
    cursor: pointer;
}

.odnoklassniki_ref {
    background-image: url("../images/icons/social_media/odnoklassniki_icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 2.5em;
    height: auto;
    margin-left: 1em;
    cursor: pointer;
}


/* -------------------- Top navigation panel (adaptive) ------------------------ */

.hamburger-menu {
    display: none;
}

nav {
    margin-right: 5rem;
    display: inline-flex;
    align-items: center;
}

.simple-top-navigation {
    display: flex;
}

.simple-top-navigation>ul {
    display: inline-flex;
    align-items: center;
    list-style: none;
    font-weight: 700;
    text-transform: uppercase;
    word-spacing: 0.2rem;
    min-height: 3em;
}

.simple-top-navigation>ul>li {
    margin-left: 2rem;
}

.simple-top-navigation>ul>li:first-child {
    margin-left: 0;
}

.simple-top-navigation>ul>li>a {
    cursor: pointer;
}

.simple-top-navigation>ul>li img {
    width: 36px;
}

@media all and (max-width: 1000px) {
    .simple-top-navigation {
        display: none;
    }
    nav {
        display: block;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .hamburger-menu {
        display: block;
        width: 100%;
        height: 100%;
        margin-left: 2em;
        padding-right: 2em;
    }
    .hamburger-menu-btn {
        display: grid;
        place-items: center;
        height: 40px;
        width: 50px;
        cursor: pointer;
        overflow: hidden;
        margin: auto 10% auto auto;
        
    }
    .hamburger-menu-btn>span {
        width: 50px;
        height: 3px;
        display: block;
        transition: all 0.3s ease-in-out;
    }
    .hamburger-menu-header {
        height: 100%;
        display: flex;
        flex-direction: row;
        margin: auto 0;
    }
    .hamburger-menu-header.active {
        transition: background-color 0.3s ease-in-out;
    }
    .hamburger-menu-btn.active span:nth-child(1) {
        transform-origin: center center;
        transform: rotate(-45deg) translate(-10%, 500%);
        width: 50px;
        background-color: white;
    }
    .hamburger-menu-btn.active span:nth-child(2) {
        transform: translateX(50px);
        background-color: white;
    }
    .hamburger-menu-btn.active span:nth-child(3) {
        transform-origin: center center;
        transform: rotate(45deg) translate(-10%, -500%);
        width: 50px;
        background-color: white;
    }
    .hamburger-menu-box {
        display: block;
        visibility: hidden;
        width: 100%;
        height: 100vh;
        margin: 0;
        padding: 0;
        list-style: none;
        text-align: center;
        transform: translateX(+100%);
        transition: all 0.3s ease-in-out;
    }
    .hamburger-menu-box.active {
        transform: translateX(0);
    }
    .hamburger-menu-box>li {
        margin-left: 10%;
        margin-right: 10%;
    }
    .hamburger-menu-item {
        display: block;
        cursor: pointer;
        width: 100%;
        border-bottom: solid #000000 1px;
        padding: 6% 3%;
        color: white;
        text-transform: uppercase;
    }
    .hamburger-menu-item:hover {
        color: #ffa500;
    }
}


/* ------------------ Global search field style --------------- */

#global_search_field {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
    border-radius: 10px;
    width: 80%;
    min-height: 3em;
    height: auto;
    margin: 1em 0;
}



@media all and (max-width: 1200px) {
    .footer_navigation {
        padding: 0 5em;
    }
}

@media all and (max-width: 1020px) {
    .product_page_nav li {
        font-size: 1.2em;
    }
}

@media all and (max-width: 1000px) {
    /* colums to rows */
}

@media all and (max-width: 900px) {
    .company_logo {
        margin-left: 1em;
    }
    .main-content {
        padding: 0 1em;
    }

    .large-content-block {
        flex-direction: column;
        padding: 2em 0 !important;
    }

    .large-content-block-c {
        flex-direction: column;
        padding: 2em 0 !important;
    }

    .medium-content-block {
        margin-right: 0;
    }

    .social_media_links {
        justify-content: center;
        height: 2.5em;
        margin: 0;
    }
    #footer_info_line {
        text-align: center;
        margin: 1em 0;
    }

    .open-pdf {
        margin: 3em 0;
    }
    
    .external-links {
        margin: 3em 0;
    }

    .images-flow {
        flex-direction: column;
        align-items: center;
        
    }
    .img_f_vert {
        margin: 0 auto !important;
    }
    .images-flow .images-with-scale {
        margin: 2em auto;
        max-width: 400px;
        height: auto;
        align-self: center;
    }
    
}

@media all and (min-width: 1500px) {
    .product_galler_main_window {
        flex-grow: 0;
    }
}

@media all and (max-width: 800px) {

    .product_page_nav li {
        font-size: 1.2em;
        margin: 0 0.5em;
    }
    .table_style_1 tr td:first-child {
        font-weight: 600;
        font-size: 1em;
        letter-spacing: 0.1em;
    }
}
@media all and (max-width: 720px) {    
    .tab-selector button {
        margin: auto 1em;
    }
}



@media all and (max-width: 750px) {
    .company_logo {
        width: 50px;
    }
    .company_logo>a {
        background-image: url("../images/icons/radiotehnika_company_logo_simple.png");
    }
}

@media all and (max-width: 600px) {
    .product_page_nav li {
        font-size: 1em;
        margin: 0 0.3em;
    }
    .company_logo {
        width: 50px;
    }
    .company_logo>a {
        background-image: url("../images/icons/radiotehnika_company_logo_simple.png");
    }
}

@media all and (max-width: 590px) {
    /*
    .tab-selector button {
        height: 2.5em;
        margin: auto 0.8em;
        font-size: 0.8em;
    }
    table tr th {
        padding: 1em 0.25em;
    }
    table tr td {
        padding: 0.8em 0.25em;
        font-size: 0.8em;
    }
    table tr td:first-child {
        font-size: 0.8em !important;
    }
    table tr:first-child>td {
        padding: 0 0.5em;
    }
    table tr:first-child>td:first-child {
        padding: 0;
    }
    */
}



/*
.inf_doc_preview {
    
}

*/