.shapka {
    /* Elements*/
    display: flex;
    flex-direction: row;
    /*
    flex-wrap: wrap;
    */

}

.italic {
    font-style: italic;
}


.shapka .mobile {
    display: none;
}


}

.merged {
    padding: 0 20px 0 20px;
    display: flex;
    flex-direction: row;
    padding-left: 20px;
    align-content: center;
    align-items: flex-start;
}


* {
    /*for debugging*/
    /*outline: 1px solid black;*/
}

@media (prefers-color-scheme:dark) {
    body {
        color: var(--color-black) !important;
        background-image: linear-gradient(to right, #c8d4dd, #7294a6);
    }



    .main>div:nth-child(even) {
        background-color: var(--color-dark2);
    }
}

body.dark-mode {
    color: var(--color-lightgrey) !important;
    background: var(--color-dark2) !important;
    background-image: linear-gradient(to right, #979bb9, #263740) !important;

    h1,
    h2,
    h3,
    p,
    a {
        color: var(--color-dark9);
    }

    .main>div:nth-child(even) {
        background-color: var(--color-dark1);
    }

    .buttons div {
        background: var(--color-darkblue);
    }



    .menu__list {
        background-image: transparent;
    }

    .menu__item:hover {
        background: #4f528f;
    }
}

:root {
    /* Themes */
    --color-black: rgb(0, 0, 0);
    --color-lightgrey: rgb(232, 232, 232);
    --color-dark1: rgb(110, 110, 110);
    --color-dark2: rgb(123, 123, 123);
    --color-dark3: rgb(135, 135, 135);
    --color-dark4: rgb(148, 148, 148);
    --color-dark5: rgb(161, 161, 161);
    --color-dark6: rgb(174, 174, 174);
    --color-dark7: rgb(186, 186, 186);
    --color-grey: rgb(216, 216, 216);
    --color-darkblue: rgb(73, 107, 118);
    --color-green: rgb(178, 212, 182);
}

body {
    background-image: linear-gradient(to right, #ffffff, #a9cde0);
    line-height: 1.3;
    overflow-y: scroll;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
}

html {
    /*General*/
    font-size: 100%;
    -ms-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    scroll-behavior: smooth;
    margin: 0
}

header {
    font-weight: 900;
    max-width: 2500px;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 0 auto;
}

/* Elements*/

nav {
    display: flex;
    justify-content: center;
    margin: auto;
    max-width: 1460px;

}



.context {
    min-height: 1000px;
    position: relative;
    margin-bottom: 50px
}

.shapka img {
    max-width: 800px;
}

.column {
    display: flex;
    flex-direction: column;
    z-index: 1;
    flex: 1;
    align-items: center;
}

.menus {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-left: auto;
    padding-right: 20px;

}

.headline {
    display: none;
}

.main>div:nth-child(even) {
    /*Color even blocks*/
    background-image: linear-gradient(to right, #a9cde0, #7089a3);
    opacity: 0.8;

}

.main>div {
    padding-bottom: 60px;
    padding-top: 30px
}

/* {
    margin: 0;
    padding: 0
}
*/

h1,
td,
th {
    text-align: center
}

h1 {
    font-size: 3rem;
    margin: 10px 0;
    /*text-decoration-line: underline overline;*/

    /*
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    */
}

h2,
h3,
h4 {
    font-size: 2rem;
    padding-left: 15px;
    margin: 5px 0;
    /*text-decoration-line: underline overline;*/
}

a {
    color: black;
    text-decoration: none
}

/*
a:hover {
    color: lightgreen;
}

a:visited {
    color: initial;
}
*/

p {
    text-indent: 20px;
    padding: 0 5px 0 5px;
}

img {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto
}

article {
    min-height: 1000px;
    margin: auto;
    display: flex;
    padding: 0;

}

img,
ul {
    display: block;
}

ul {
    list-style-position: inside;
    text-align: left;
}

/*
.nh img {
    max-width: 550px !important;
    margin-left: 0;
    display: flex;
}
*/

.menu__list {
    margin: auto 0px auto 12px;
    justify-content: center;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
    width: auto;
    max-width: 1200px;

}

.menu__item {
    transition: background-color .25s ease-out;
    font-size: 17px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-family: 'Exocet', sans-serif;
    white-space: initial;
    word-wrap: break-word;
    background-image: linear-gradient(to right, #a7bccc, #a9cde0);
}

.menu__item:hover {
    background: #598399;
}

.active {
    background: lightblue;
    /*font-size: 120%;
    padding-bottom: 8px;
    padding-top: 8px;*/
}

.menu__link {
    display: block;
    padding: 10px 50px 10px 50px;
    font-weight: 900;
    white-space: nowrap;
    transition: padding 0.5s ease-in-out;
}

/*Logo*/

.logo__link {
    max-width: 100%;
    max-width: 1600px !important;
    margin-left: auto;
    margin-right: auto;
}

.logo__subtitle,
.logo__title {
    color: #ffe05d;
    font-size: 8vw;
    line-height: 1;
    display: flex;
    justify-content: center;
    font-family: "Exocet", sans-serif;
    padding: 20px 0
}

.logo__subtitle {
    font-size: 4vw
}

.organization img {
    float: right;
    padding: 10px;
    max-width: 600px;
}




/*Lang*/

.lang-switcher {
    padding-left: 10px;
    display: flex;
    align-content: center;
    vertical-align: middle;
    flex-direction: column;
    text-align: center;
    float: right;
    font-size: 12px;
    padding-left: 0px;
    margin: auto 5 auto 0;


}

ul.hor li {
    display: block;
    margin-left: 0;
    margin-right: 15px
}

#totop {
    position: fixed;
    bottom: 10px;
    left: 10px;
    height: 12vw;
    width: 8vw;
    margin-bottom: 0;
    margin-left: 0
}

/*Theme*/

.theme {
    margin: auto 0;
    display: flex;
    align-content: flex-end;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center
}

.js-toggle {
    touch-action: pan-x;
    display: inline-block;
    position: relative;
    cursor: pointer;
    background-color: transparent;
    border: 0;
    padding: 0;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}

.js-toggle-screenreader-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px
}

.js-toggle-track {
    width: 50px;
    height: 24px;
    padding: 0;
    border-radius: 30px;
    background-color: #0f1114;
    transition: all .2s ease
}

.js-toggle-track-check {
    position: absolute;
    width: 17px;
    height: 17px;
    left: 5px;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    line-height: 0;
    opacity: 0;
    transition: opacity .25s ease
}

.js-toggle--checked .js-toggle-track-check,
.js-toggle-track-x {
    opacity: 1;
    transition: opacity .25s ease
}

.js-toggle-track-x {
    position: absolute;
    width: 17px;
    height: 17px;
    right: 5px;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
    line-height: 0
}

.js-toggle--checked .js-toggle-track-x {
    opacity: 0
}

.js-toggle-thumb {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #fafafa;
    box-sizing: border-box;
    transition: all .5s cubic-bezier(.23, 1, .32, 1) 0ms;
    transform: translateX(0)
}

.js-toggle--checked .js-toggle-thumb {
    transform: translateX(26px);
    border-color: #19ab27
}

.js-toggle--focus .js-toggle-thumb {
    box-shadow: 0 0 2px 3px #ffa7c4
}

.js-toggle:active .js-toggle-thumb {
    box-shadow: 0 0 5px 5px #ffa7c4
}



.block {
    width: 25%;
    height: 200px;
    background-color: #ccc;
    margin: 10px;
    display: flex;
    flex-direction: column;
    color: #000;
    text-align: center;
    border-radius: 10px
}

.block-content {
    flex-grow: 1
}

.block-footer {
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    background-color: #fff;
    text-align: center;
    border-top: 1px solid #ddd;
    border-radius: 15px;
    width: 50px
}

.block-footer a {
    color: #337ab7
}

.block-footer a:hover {
    color: #23527c
}

.logo {
    display: inline-block;
    width: 100%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 10px;
    background-size: cover;
    background-position: center
}

.logo-block::-webkit-scrollbar {
    display: none
}

.works {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.works img {
    display: unset;
}

.news-preview {
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
}

.news-block {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.news-link {
    text-align: center;
    justify-content: center;
    justify-items: center;
}

.multilineheader {
    min-height: 100px;
    align-content: center;
    justify-self: center;
}

.news-item {
    max-width: 400px;
    margin: 10px;

    min-width: 150px;
    text-align: center;
    justify-content: center;

}

.news-item img {

    object-fit: cover;
    border-radius: 10px
}

.news-item p {
    font-size: 16px;
}


.news-item p:first-child {
    font-weight: 700;
    font-size: 18px
}

.news-item h3 {
    font-size: 16px;
    text-align: center;
}

.language-flags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.language-flags li {
    margin-right: 10px;
}

.language-flags img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}


/*  Panorama*/
* {
    box-sizing: border-box
}

.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto
}

@media only screen and (min-width:2500px) {
    .slideshow-container {
        width: 1921px !important;
    }
}



.mySlides {
    display: none
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    transition: .2s ease;
    border-radius: 0 3px 3px 0;
    user-select: none
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8)
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color .6s ease
}

.active,
.dot:hover {
    background-color: #6392aa !important
}

.dot:active {
    background-color: #6392aa !important
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}


/*Modal*/

@media only screen and (max-width:700px) {
    .modal-content {
        width: 100%
    }
}

/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    object-fit: contain !important;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    padding: 40px;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer
}

@media only screen and (max-width:700px) {
    .modal-content {
        width: 100%
    }
}

@media (max-width:2050px) {
    .menu__link {
        padding: 10px 45px 10px 45px !important;
    }
}

@media (max-width:1950px) {
    .menu__link {
        padding: 10px 35px 10px 35px !important;
    }
}

@media (max-width:1850px) {
    .menu__link {
        padding: 10px 30px 10px 30px !important;
    }
}

@media (max-width:1750px) {
    .menu__link {
        padding: 10px 25px 10px 25px !important;
    }
}

@media (max-width:1670px) {
    .menu__link {
        padding: 10px 20px 10px 20px !important;
    }
}

@media (max-width:1615px) {

    /*Responsiveness at 1660*/
    /*move navebar to bottom*/
    .shapka {
        flex-direction: column;
        align-items: center;
    }

    .shapka img {
        max-width: 100%;
    }

    .menu__list {
        flex-wrap: wrap;
    }

    #totop {
        height: 7vw !important;
        width: 5vw !important;
    }

    .about {
        padding-left: 100px !important;
        padding-right: 100px !important;
    }

}

@media (max-width:890px) {

    /*Responsivenessat 890*/
    body {
        font-size: 20px !important;
    }

    .tbase{


 font-size: 10px !important;
}

    #totop {
        display: none
    }

    .flags img {
        width: 21px !important;
        height: 15px !important;
    }

    .lang-switcher {
        min-width: initial !important;
    }

    img {
        width: 100vw
    }

    .organization img {
        float: none;
    }

    h1 {
        word-break: break-word;
    }

    .buttons {

        flex-direction: column;
    }

    .about {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .merged {
        flex-direction: column !important;
    }

    .menu__item {

        margin-top: 10px;
    }

    .team img {
        float: none !important;
    }
}

@media (max-width:550px) {

    .menu__list {
        flex-direction: column;
    }

    .menu__item {
        width: 95%;
        font-size: 3vw;
    }

    .shapka .mobile {
        display: block;
    }

    .shapka .desktop {
        display: none;
    }

    .shapka {
        flex-direction: row;
    }

    .menu__item {
        margin-right: 10px !important;
        margin-top: 10px;
    }

    .mobile {
        padding: 30px;
    }

}

/*added*/
.organization,
.team {
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px
}

.team img {
    max-width: 400px
}

.organization img {
    max-width: 600px
}

.copyright {
    display: flex;
    vertical-align: middle;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap
}

.about_text {
    margin: 0 auto;
    max-width: 1500px;
}

.buttons {
    display: flex;
    justify-content: center
}

.buttons div {
    margin: 20px;
    background: lightblue;
    align-content: center;
    padding: 10px
}

.contacts div {
    display: flex;
    vertical-align: middle;
    flex-direction: row;
    display: flex;
    vertical-align: middle;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap
}

.ava {
    width: 5em;
    height: 5em;
    margin: 0;
    padding-left: 10px
}

.details {
    justify-content: center;
    justify-items: center;
    text-align: center
}

@font-face {
    font-family: 'Raleway';
    src: url('/fonts/Raleway-Medium.ttf') format('ttf')
}

table tr td {


         border: 1px solid black;
}
.flexy {
    display: flex;
    flex-direction: row;
}


.tbase{


  margin-left: auto;
  margin-right: auto;

  max-width: 800px
}