/*
Theme Name:   Twenty Seventeen Child Custom
Theme URI:    https://wordpress.org
Description:  Дочерняя тема для Twenty Seventeen
Author:       CIT
Template:     twentyseventeen
Version:      1.0.0
*/


.page-header {
    display: none;
}

/* убрать заголовки страниц */
.page .entry-header {
    display: none;
}

/* выделение текста под каждой строкой, а не блоком */
.wp-block-post-title :where(a) {
    display: inline;
}

a {
    color: #697EBA;
}

.blog:not(.has-sidebar) #primary article, .archive:not(.page-one-column):not(.has-sidebar) #primary article, .search:not(.has-sidebar) #primary article, .error404:not(.has-sidebar) #primary .page-content, .error404.has-sidebar #primary .page-content, body.page-two-column:not(.archive) #primary .entry-content, body.page-two-column #comments {
    float: none;
    width: 100%;
}

*, *:before, *:after {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: inherit;
    box-sizing: content-box;
}

.navigation-top {
    font-size: 20px;
}

.content-area {
    margin-left: 20px;
    /*max-width: 85% !important;*/
    /*убрать отступ справа для  контента новостей*/
}




/* page-numbers NEWS */
.wp-block-query-pagination > a,
.wp-block-query-pagination .page-numbers {
    display: block;
    padding: 4px 12px;
    font-size: 20px;
    background: #555;
    color: #fff;
    border-radius: 2px;
    display: inline-block;
    clear: both;
    text-decoration: none !important;
    -webkit-transition: all .2s;
    transition: all .2s;

    &.current {
        background: white;
        color: black;
        border: 2px solid black;
    }

    &:hover {
        background: #f1f1f1;
        color: #555;
    }
}


/* убрать отступ слева для содержимого конференции(поста) */
#primary {
    margin-left: 0 !important;
}

/* Меньше отступ  после меню */
@media screen and (min-width: 48em) {
    .panel-content .wrap {
        padding-top: 3em;
    }
}


/* Меньше вертик. отступы шапки */
.site-branding {
    padding: 1em;
}

/* fix Кнопки поиска в подвале */
.site-footer .search-submit {
    margin: auto -1em;
}


/*
* ----
* Added by sts 16.10.2023
*
----
*/

.usloviye, .imp_data, .registr {
    display: none;
}

.test {
    font-weight: bold;
    padding-top: 0px;
}

.textcols {
    white-space: nowrap;
}

.description {
    white-space: normal;
    display: inline-block;
    width: 100%;
    vertical-align: top;
}

.photo_conf {
    white-space: normal;
    display: inline-block;
    width: 25%;
    vertical-align: top;
    margin-left: 50px;
    margin-right: 10px;
}

/*
    .color_text a {
        font-weight: bold;
        color: #4e72cc;
        text-decoration: none;
    }

    a {
        font-weight: bold;
        color: #4e72cc;
        text-decoration: none;
    }
*/
h3 {
    padding-top: 0px;
}

button {
    background: #697EBA; /* Синий цвет фона */
    color: #fff; /* Белый цвет текста */
    border: none; /* Убираем рамку */
    padding: 5px; /* Поля вокруг текста */
    margin-bottom: 1rem; /* Отступ снизу */
}

button:hover {
    background: #00f;
    color: #fff;
    border: none;
    /*         border-bottom: 2px solid red; */
    box-shadow: inset 0px -2px 0px 0px red;
}

button#annotation {
    width: 20%;
}

button#usloviye {
    width: 25%;
}

button#imp_data {
    width: 20%;
}

button#registr {
    width: 20%;
}


/*
* ----
* End added by sts 16.10.2023
*
----
*/


/*
* ----
* Added by sts 31.01.2024
*
----
*/
.wpcf7-submit {
    background: #999999 !important;
    color: #fff !important;
    padding: 5px;
}

.wpcf7-submit:hover {
    background: #00f;
    color: #fff;
    border: none;
    border-bottom: 2px solid red;
}

ul#ul-contact2024-01 li > p {
    margin-bottom: 0ex;
}

/*
* ----
* End added by sts 31.01.2024
*
----
*/


/* BOGO */

span.bogoflags:before {
    display: none;
}

.bogo-language-switcher {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0em;
    padding-right: 2em;
    padding-top: 2px;
    background: #fafafa !important;
}

/* Для работы background */
ul.bogo-language-switcher.list-view:before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background: #fafafa;
    z-index: -1;
}


.bogo-language-name {
    padding: 4px;
    color: lightgrey; /* Если нет перевода */

    a {
        font-weight: lighter;

        &.current {
            font-weight: bold;
        }
    }

    li:has(&:hover) {
        background: #647dbb;
        border-radius: 4px;

        a {
            color: #fff;
        }
    }


}

.bogo-language-switcher li {
    list-style: none outside none;
    padding: 0;
    float: right;
    font-size: 16px;
    margin-left: 7px;

}


/* Базовые стили для контейнеров флагов */
.bogo-language-switcher .bogoflags {
    display: inline-block;
    width: 22px;
    height: 15px;
    vertical-align: middle;
    /*background-repeat: no-repeat;*/
    background-size: cover;
    background-position: center;
    border: 1px solid #ececec;
    border-radius: 2px;
}

.bogo-language-switcher {
    .bogoflags-us {
        background-image: url('/wp-content/themes/twentyseventeen-child/assets/images/lang-flags/icons8-EN-96.png');
    }

    .bogoflags-ru {
        background-image: url('/wp-content/themes/twentyseventeen-child/assets/images/lang-flags/icons8-RU-96.png');
    }
}



