@media all {

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

em {
  font-style: italic;
}
strong {
  font-weight: bold;
}

ul.square li {
  list-style: square;
}

ul.square li a {
  text-decoration: underline;
}


a {
  text-decoration: none;
  color: #000000;
}
a:hover {
  text-decoration: underline;
}

p a {
  text-decoration: underline;
}

ul.nacedu li a {
  text-decoration: none;
  color: #061F70;
}
ul.nacedu li a:hover {
  text-decoration: underline;
}

div.nacedu b {
  font-weight: bold;
}
div.nacedu p a {
  text-decoration: none;
  color: #061F70;
}

/* HTML5 */

html {
  font-size: 12px;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  height: 100%;
  font-family: Georgia, Times, Times New Roman, serif;
  line-height: 1.5;
}

#layout {
  display: grid;
}

.nav-main {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 50px;
  background: #ffffff;
  width: 100%;
  align-items: center;
}

.nav-main a {
  text-align: center;
  font-size: 1.25rem;
  text-transform: uppercase;
}
.nav-main a:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  transition: 0.5s;
  text-decoration: none;
}
.nav-main a img {
  width: 18%;
  padding: 1.5rem 1.5rem;
  background: #ffffff75;
  color: #000000;
  font-size: 2rem;
  text-transform: uppercase;
  text-align: center;
}


.sub-title {
  padding: 2.5rem 1.5rem;
  font-size: 2.5rem;
  text-align: center;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  background: #ffffff75;
  font-weight: bold;
  color: #2f6094;
}
.sub-title a {
  color: #000000;
  font-size: 2rem;
  text-transform: uppercase;
  text-align: center;
}



.pic_build-on-main {
  background: url(sm.aspx?guid=8363);
  background-size: cover;
  background-position: center;
}

.halfsize {
  height: calc(50vh - 50px) !important;
}
.halfsize .grid-type-01-sub-title {
  font-size: 2rem !important;
  padding: 25px !important;
}


.grid-type-01 {
  display: grid;
  align-items: center;
  height: calc(100vh - 50px);
  width: 100%;
}

.grid-type-01-sub-title {
  text-align: center;
  font-size: 3rem;
  text-shadow: #000000 2px 2px 2px;
  color: #f0f8ff;
  padding: 100px;
}

.grid-type-03 {
  display: grid;
  grid-template-columns: 1fr minmax(400px, 600px);
  grid-template-rows: auto;
  width: 100%;
  grid-template-areas:
    "title title"
    "map contacts"
}

.grid-type-03-sub-title {
  grid-area: title;
}

.grid-type-03-sub-element-01 {
  padding: 1.5em 1.5em;
  grid-area: map;
}

.grid-type-03-sub-element-02 {
  color: #000000;
  font-size: 1.5rem;
  padding: 1em 1em;
  grid-area: contacts;
}




.grid-type-04 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  width: 100%;
  grid-template-areas:
    "title title title"
    "str1 str2 str3"
}

.grid-type-04-sub-title {
  grid-area: title;
}

.grid-type-04-sub-element-01 {
  grid-area: str1;
}

.grid-type-04-sub-element-02 {
  grid-area: str2;
}

.grid-type-04-sub-element-03 {
  grid-area: str3;
}





.SP-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  width: 80%;
  justify-self: center;
  align-content: flex-start;
}

.SP-pic {
  justify-self: center;
}

.SP-title {
  text-align: center;
  font-size: 1.5rem;
  padding: 1rem;
}

.SP-desc {
  font-size: 1rem;
  padding: 1rem;
  max-width: 75rem;
}

.SP-grid-big {
  display: grid;
  grid-template-columns: 4fr 10fr;
  grid-template-rows: auto;
  grid-auto-rows: auto;
  width: 100%;
  grid-template-areas:
    "title title"
    "themes description"
}

.SP-grid-big-title {
  grid-area: title;
}

.SP-grid-big-themes {
  color: #5d0000;
  font-size: 1.5rem;
  text-align: right;
  padding: 1rem;
}

.SP-grid-big-desc {
  font-size: 1.5rem;
  padding: 1rem;
  max-width: 50rem;
}


.SP-grid-big-desc ul {
  padding-bottom: 1rem;
  font-weight: bold;
}
.SP-grid-big-desc ul.square li {
  list-style: square;
}
.SP-grid-big-desc li {
  font-weight: normal;
}

.fastlinks {
  display: grid;
  background: #373d6b;
}
.fastlinks .sub-title {
  background: #11142f;
  color: #ffffff;
}
.fastlinks ul {
  padding: 2rem;
}
.fastlinks li a {
  color: #ffffff;
  padding: 1rem;
  font-size: 1.5rem;
}

#breadcrumbs {
  background: black;
  padding: 20px;
  color: #2f9470;
  font-size: 1.5rem;
}
#breadcrumbs a {
  color: #ffffff;
}

.content_box {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.content_box > h1 {
  padding: 1.5rem 1.5rem;
  text-align: center;
  background: #ffffff75;
  color: #000000;
  font-size: 2rem;
  text-transform: uppercase;
  text-align: center;
}

.content_box a {
  color: #0f3c6a;
}
.content_box a:hover {

}

li.parent > ul {
  width: 90%;
  padding-left: 10%;
}

p {
  padding: 0 0 1.5rem 0;
  padding-top: 0;
}

.html_block {
  padding: 1rem;
  max-width: 800px;
}


.anno {
  display: none;
}


.news-post > h1 {
  padding: 1.5rem 1.5rem;
  text-align: center;
  background: #ffffff75;
  color: #711616;
  text-transform: uppercase;
  text-align: center;
}


.excerpt {
  display: grid;
  grid-template-columns: 4fr 8fr;
  grid-template-rows: auto;
  grid-auto-rows: auto;
  padding: 1rem;
}
.excerpt_preview img {
  width: 100%;
}
.excerpt_content {
  background: #e0eaee;
  padding-left: 1rem;
}
.excerpt_content span {
  background: #45819a;
  padding: 0.5rem;
  color: #ffffff;
}
.excerpt_content a {
  padding: 0.5rem;
  background: #e2adad;
}
.excerpt_content h3 {
  padding: 1rem 0 1rem 0;
}
.news h3 {
  font-weight: bold;
  color: #45819a;
}
.excerpt_text {
  padding-bottom: 1.5rem;
  font-style: italic;
}

ul.no-list {
  padding-bottom: 2rem;
}
ul.no-list li {
  padding-top: 1rem;
  display: block;
}
ul.no-list:first-child li {
  padding-top: 0;
}
ul.no-list li span {
  background: none;
  color: #000000;
}
ul.no-list li:first-child span {
  background: #45819a;
  color: #ffffff;
}

.ArxiwMap {
  width: 100px;
}

.adm_procedure li, .hyperlinks li {margin-bottom: 1em; overflow: hidden; border-bottom: dotted 2px #A4C8E2; padding: 0 0 1em;}
.adm_procedure li:last-child, .hyperlinks li:last-child {border-bottom: none; }

.excerpt_content .show-hide, .excerpt_content .read_more {display: inline;}
.show-hide, .read_more {display: block;}

.spoiler {border-top: dotted 1px #bbb; padding: 1em 0 2em;}
.spoiler .show-hide {float: right;}

.mapinter {
   width: 100%;   
   max-width: 800px !important;
   position: relative;
   margin: 0 auto;
   padding-top: 20px;
}

.useful li a img {
   width: 100% !important;
   max-width: 600px !important;
}




/*-------------------*/
/* Фото-видео эскизы */
/*-------------------*/

.thumbs {clear:both; list-style-type: none; padding: 1em 1em 2em; border-top: solid 2px #373d6b; margin-top: 1em; }
.thumbs li {display: inline-block; }
.thumbs_box {}
.thumbs_box h3 {float: left; font-size: 1em; padding: 0 1em; background: #373d6b; border-radius: 3px 3px 0 0; line-height: 1.6em; margin-bottom: 0; color: #ffffff; }
.thumbs a img {border: solid 3px #fff; width: 120px; height: 90px; transition: all 0.2s ease-in .1s; }
.thumbs a:hover {z-index: 999; }
.thumbs a:hover img {transform: scale(1.2); }

.thumbs-random {padding: 1em 0 2em; border-top: none;}



/*-----------*/
/* Медиатека */
/*-----------*/

ul.mediateka {
  text-transform: uppercase;
  font-weight: bold;
  color: #2f6094;
}

.mediateka li a {
  text-transform: none; 
  font-weight: normal;
  padding-top: 10px;
}

}



@media (max-width: 800px) {

.nav-main a {
    font-size: 1rem;
}

.grid-type-01-sub-title {
  font-size: 1.5rem;
}
.halfsize .grid-type-01-sub-title {
  font-size: 1.5rem !important;
}

.grid-type-03 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  width: 100%;
  grid-template-areas:
    "title"
    "map"
    "contacts"
}

.grid-type-04 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  width: 100%;
  grid-template-areas:
    "title"
    "str1"
    "str2"
    "str3"
}

.SP-grid-big {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-auto-rows: auto;
  width: 100%;
  grid-template-areas:
    "title"
    "themes"
    "description"
}

.sub-title {
  padding: 1.5rem 0.5rem;
  font-size: 1.5rem;
}

.excerpt {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-auto-rows: auto;
  padding: 1rem;

}

.nav-main a {
  -webkit-transform: scale(1.3);
  -ms-transform: scale(1.3);
  transform: scale(1.3);
}

}