/*
Theme Name: sovremennik-2022
Theme URI: https://shweb.pro/
Author: Studio Shweb

*/

/*
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}
*/

@media (min-width: 800px) {

    .duga1 {
        background-image: url("https://ddtsovremennik.spb.ru/wp-content/themes/sovremennik-2022/img/duga-1.png");
        background-position: 0px 1100px;
        background-size: 300px 600px;

        background-repeat: no-repeat no-repeat;
    }

    .duga2 {
        background-image: url("https://ddtsovremennik.spb.ru/wp-content/themes/sovremennik-2022/img/duga-2.png");
        background-position: right 1300px;
        background-size: 300px 600px;
        background-repeat: no-repeat no-repeat;

    }
}

.table_overflow {
    overflow-x: auto;
}

.inner .title .text {
    color:#002856;
    line-height: 1.2em;
}

.desktop-nav .item .link {
  padding: 0 29px;
}

.simple-page {
    padding: 0px 0;
    font-size: 24px;
    line-height: 36px;
}

.simple-page a {
    color: #002856;
}

h2 {
  margin-top:.5em;
  margin-bottom: 1em;
}

.right, .p_right {
    text-align:right;
}

.center {
    text-align:center;
}

.red {
    color:red;
}


.nobr {
    white-space:nowrap;
}

.italic {
    font-style:italic;
}

p.verses {
    margin-left:40px;
}

.simple-page h2 {
    margin-top: .9em;
    margin-bottom: .3em;
    line-height: 1.2em;
}

.simple-page h3 {
    margin-top: .8em;
    margin-bottom: .2em;
}

.simple-page p {
    margin-bottom: .6em;
}

.simple-page ul {
    padding: 0 0 0 30px;
    margin-bottom: 30px;
    list-style: none;
}

.simple-page ul ol {
    padding: 0 0 0 30px;

}


.simple-page ul > li {
    position: relative;
    margin-bottom: 10px;
}

.simple-page li:before {
    content: '';
    position: absolute;
    left: -20px;
    top: 12px;
    display: block;
    border-width: 6px;
    border-color: transparent transparent transparent #002856;
    border-style: solid;
}

.news .item-wrap .item .preview {
    margin-bottom: 0px;
}

.news .item-wrap .item .preview.empty {
    height:10px;
}

.news .item-wrap .item .text, .news .item-wrap .item .date {
    margin-top:22px;
}

.margin_top_0 {
    margin-top:0px !important;
}

.margin_top_2em {
    margin-top:2em !important;
}

.margin_bottom_2em {
    margin-bottom:2em !important;
}

.margin_top_50 {
    margin-top:50px;
}

.margin_bottom_20 {
    margin-bottom:20px;
}

.department-description h3 {
    margin-top:1.6em;
    margin-bottom:.6em
}

.department-description h4 {
    margin-top:1em;
    margin-bottom:.4em
}

.additional-header .poor-eyesight {
    margin-left: 10px;
}

.additional-header .old-theme {
    display: flex;
    align-items: center;
    margin-left: 30px;
    color: var(--white);
    text-decoration: underline;
}

.additional-header .old-theme img {
    max-width: 30px;
    margin-right: 14px;
}

/******* structure changes *********/

.map {
    margin-top:80px;
}

.contacts-items {
    margin-bottom:0px !important;
}

/***** deactivate Easy Vkontakte Widget *****/

#overlay-sidebar-wrap {
    display:none !important;
}


/***** cut for annonce ****/

.cut_section {
	margin-bottom: 20px;
	margin-top: -18px;
	margin-top: -10px;
	margin-top: 0px;
}
.cut_title {
	/* font-size:13px; */
	font-style:italic;
	text-decoration:none;
	cursor:pointer;
	display: inline-block;
}
.cut_sign {
	text-decoration:none !important;
	padding-left: .2em;
	font-style: normal;
}
.cut_sign::before {
	content: '\00a0';
}

.cut_content {
	display: none;
}

.cut_content p {
	/* font-size: 13px; */
}

div.cut_section_list div.cut_section {
  margin-bottom:0px;
}

div.cut_section_list div.cut_section p {
  /* font-size:16px !important; */
}

div.cut_section_list img {
  margin-top:20px;
}

div.cut_title h2 {
  /* font-size:20px; */
  color:#356f9d;
  background-color:#EEE;
  padding:4px;
  font-style:normal;
}

div.cut_title h2::before {
  /* content: "→"; */
}

div.cut_section.closed_subscription h2 {
  /* text-decoration: line-through; */
}

div.cut_section.closed_subscription div.subscription_button_list {
  display: none;
}

div.cut_section.closed_subscription div.cut_title h2::before {
  content: "Запись закрыта: ";
  color:red;
  /* text-decoration: none !important; */
}

div.cut_section.waiting_subscription h2 {
  /* text-decoration: line-through; */
}

div.cut_section.waiting_subscription div.subscription_button_list {
  /* display: none; */
}

div.cut_section.waiting_subscription div.cut_title h2::before {
  content: "Лист ожидания: ";
  color:black;
  background-color: yellow;
  /* text-decoration: none !important; */
}

/**** video embed ******/

.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/**************** blue_button ***********/

.blue_button {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.blue_button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: linear-gradient(135deg, #1e69ff 0%, #0046cb 100%);
  color: #ffffff !important;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 26px;
  font-weight: 600;
  text-decoration: none !important;
  text-align: center;
  line-height: 1.3;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(30, 105, 255, 0.3);
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.blue_button a:hover {
  background: linear-gradient(135deg, #0052ec 0%, #0036a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 105, 255, 0.45);
}


/********* nextgen gallery **********/

.ngg-gallery-thumbnail {
    border: none !important;
}
