@import url(http://fonts.googleapis.com/css?family=Fredericka+the+Great|EB+Garamond);
.logo-custom{
	padding-left: 5px;
}
.main-spisok{
	font-weight: bold;
}
.blok-fon{
	background-color: #3D449A;
	background-size: cover;
	background-position:center;
    height: auto;
	text-shadow: 0 1px 2px #0005;
}
.blok-fon ul{
	margin: 25px 25px;
	font-size: 16px;
	font-weight: bold;
}
.blok-fon h4{
	margin: 15px 15px;
	font-weight: bold;
	color: #fff;
}
.blok-fon h1{
	position: relative;
	top:25px;
	color: #fff;
	margin-bottom: 25px;
	font-size: 34px;
	font-weight: bold;
}
/*---------------------------------*/
.list2a {
	margin-bottom: 8px;
    padding:0;
    list-style: none;
    counter-reset: li;
}    
.list2a li {
    position: relative;
    border: 2px solid #337AB7;
    background: #EBF3FA;
    padding:16px 20px 16px 28px;
    margin:12px 0 12px 40px;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.list2a li:hover {
    background: #FFF;
}
.list2a li:before {
    line-height: 32px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left:-40px;
    width:40px;
    text-align:center;
    font-size: 16px;
    font-weight: bold;
    color: #FFF;
    background: #337AB7;
    counter-increment: li;
    content: counter(li);
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
}
.list2a li:hover:before {
    width:46px;
}
.list2a li:after {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    height: 0;
    width: 0;
    border: 16px solid transparent;
    border-left-color: #337AB7;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s
}
.list2a li:hover:after {
    margin-left: 6px;
}
/*------------------------------------*/
.stroke-text text {
    font-family: Verdana, sans-serif; 
    font-weight: bold;  
    font-size: 50px;
    text-anchor: middle;
    stroke: #337AB7;
    stroke-width: 2;
    letter-spacing: 3px;
    fill: none;
    text-transform: uppercase;
}
/*--------------------------------------------------*/
.cards {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    background: url(background.jpg);
    background-size: cover;
    background-position: center;
    margin: 20px 0;  
    padding: 20px;
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);*/
}
.cards:hover .card:after {
    opacity: 1;
}
.cards .card {
    background-color: #337AB7;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
    width: calc(33.333% - 20px);
    margin: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
    opacity: 0.95;
}
@media screen and (max-width: 767px) {
    .cards .card {
        width: calc(50% - 20px);
    }
}
@media screen and (max-width: 520px) {
    .cards .card {
        width: calc(100% - 20px);
    }
}
.cards .card:hover:before {
    opacity: 1;
}
.cards .card:before,
.cards .card:after {
    border-radius: inherit;
    content: "";
    height: 100%;
    left: 0px;
    opacity: 0;
    position: absolute;
    top: 0px;
    transition: opacity 500ms;
    width: 100%;
}
.cards .card:before {
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(191, 226, 255, 0.4), transparent 40%);
    z-index: 3;
}
.cards .card:after {  
    background: radial-gradient(500px circle at var(--mouse-x) var(--mouse-y), rgba(191, 226, 255, 0.9), transparent 40%);
    z-index: 1;
}
.cards .card .card-content {
    background-color: #3D449A;
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 78px 16px 16px;
    z-index: 2;
    height: 100%;
    line-height: 1.2;
    margin: 2px;
}
.cards .card .card-image {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);    
    z-index: 10;
}
.cards .card .card-image i {
    font-size: 64px;
    color: #16354f;
}
.cards .card .card-image img {
    height: 64px;
}
.cards .card .card-image svg {
    height: 64px;
    fill: #16354f;
}
.cards .card .card-title {
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    padding: 10px 0;
    color: #BFE2FF;
    text-transform: uppercase;
    font-weight: 600;
}
.cards .card .card-text,
.cards .card .card-text p {
    font-size: 15px;
    font-family: Verdana, sans-serif;
    color: #FFF;
    margin: 0;
}
.cards .card .card-text p:not(:last-child) {
    margin-bottom: 10px;
}    	
/*----------------------------------*/
hr {
    border: none;
    height: 3px;
    margin: 40px 0;
    background-image: linear-gradient(to right, #FFF, #3d449a, #FFF);
}
hr:before,
hr:after {
    content: '';
    display: inline-block;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    border: 2px solid #3d449a;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFF;
}
hr:after {
    animation: anim-hr 1s linear infinite;  
}
@keyframes anim-hr {
    0% {
        width: 40px;
        height: 40px;
    } 
    100% {
        width: 0;
        height: 0;
    }
}
/*---------------------------------------*/
.img-section {
    width: 100%;
    background: linear-gradient(135deg, #a3c7e9 0%, #3D449A 40%, #FFF 40%, #FFF 100%);
    display: flex;   
    align-items: center;
    margin: 20px 0;
}
.img-section img {
    border: 20px solid rgba(191, 226, 255, 0.8);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.7);
    margin: 40px;
    box-sizing: border-box;
    flex: 0 0 45%;
    width: 45%;
}
.img-section .img-data {
    font-family: Verdana, sans-serif;
    font-size: 16px;
    padding: 20px;
}
.img-section .img-data h1{
	font-size: 28px;
	text-align: center;
}

@media only screen and (max-width: 700px) {
    .img-section {
        flex-flow: row wrap;
    }
    .img-section .img-data {
        background: #FFF;
        border-bottom: 8px solid #3D449A;
    }
    .img-section img {
        margin: 40px auto;
        flex: 0 0 80%;
        width: 80%;
    }
}
/*------------------------------------------------*/

.older {
  list-style: none;
  margin: 0 auto;
  width: 860px;
  counter-reset: li;
}
.older li {
  border-bottom: dashed 1px #006699;
  margin-top: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
  padding: 5px;
}
.older a {
  text-decoration: none;
  padding: 10px;
  display: block;
  line-height: 30px;
  color: #3A3A3A;
  font-family: 'EB Garamond', serif;
  font-size: 20px;
}
.older a:before {
  display: inline-block;
  content: counter(li);
  counter-increment: li;
  height: 30px;
  width: 30px;
  text-align: center;
  border: solid 1px #dedede;
  margin-right: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 0, 0, 0.1) inset;
  font-family: 'Fredericka the Great', cursive;
  font-size: 24px;
  -webkit-transition: .4s linear;
  transition: .4s linear;
}
.older a:hover:before {
  color:#D72F2C;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
} 
/*----------------------------------*/
.map-popup {
    background: #FFF;
    width: 300px;
    padding: 20px;
    color: #000;
    border: 3px solid #337AB7;
    box-sizing: border-box;
}
.map-popup h2 {
    margin: 0;
    font-size: 22px;
    color: #337AB7;
}
.map-icon {
    visibility: visible!important; /* Оставляем иконку видимой при открытии попапа */
    display: inline!important;    
}
.leaflet-popup-tip-container {
    display: none!important; /* Убираем родной указатель при открытом попапе */            
}
.leaflet-popup-content {
    margin:0!important;    /* Убираем отступы у попапа */
}
/*-------------------------------------------------------------*/
.blog-sl * {
    box-sizing: border-box;
}
.blog-sl {
    width: calc(100% - 20px);
    margin: 20px 0 20px 80px;    
    position: relative;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 8px 22px rgba(0,0,0,0.1);
    padding: 25px 0 20px 0;
    border-radius: 25px;
    transition: all .3s; 
    border: 6px solid #355C7D;
}
.blog-sl__item {
    display: flex;
}

.blog-sl__img {
    width: 550px;
    height: 400px; 
    flex-shrink: 0;
    background-image: linear-gradient(147deg, #BFE2FF 0%, #337AB7 74%);  
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
    border-radius: 25px;
    transform: translateX(-80px) scale(0);
    overflow: hidden;
    opacity: 0;  
}
.blog-sl__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: all .3s;
}
.blog-sl__img {
    opacity: 1;
    transition-duration: 0.5s;
    transform: translateX(-80px) translateY(120px) scale(1);
}
.blog-sl-dist__img {
    opacity: 1;
    transition-duration: 0.5s;
    transform: translateX(-80px) scale(1);
}
.blog-sl__content {
    transform: translateX(-42px);
}

.blog-sl__title {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    line-height: 30px;
    color: #355C7D;
    margin-bottom: 10px;
}
.blog-sl__content {
    color: #000;
    margin-bottom: 20px;
    line-height: 20px;
    font-size: 15px;
    font-family: Verdana, sans-serif; 
}
@media screen and (max-width: 768px) {
    .blog-sl {
        width: calc(100% - 10px);
        margin: 180px auto 20px auto;
    }
    .blog-sl__item {
        flex-direction: column;
    }  
    .blog-sl__img {
        margin: auto;
        transform: translateX(0) translateY(-180px) scale(0);
    }
    blog-sl__img {
        opacity: 1;
        transition-duration: 0.5s;
        transform: translateX(0) translateY(-180px) scale(1);
    } 
    .blog-sl__content {
        transform: translateX(0);
        margin-top: -120px;
        text-align: center;
        padding: 0 30px;  
    }
    
}
@media screen and (max-width: 576px) {
    .blog-sl__img {
        width: 260px;
        height: 260px;
    }
    .blog-sl__content {
        padding: 0 12px;  
    }  
    .blog-sl__pagination {
        top: 130px;
    } 
}
/*------------------------------------*/
.js-transitions-disabled * {
    transition: none !important;
}
.tabs3d {
    position: relative;
    height: 500px;
    perspective: 1500px;
    perspective-origin: 50% 50%;
}
.tabs3d-control {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    right: 38px;
    top: 38px;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
}
.tabs3d-control a {
    position: relative;
    font-family: Verdana, sans-serif;  
    font-weight: bold; 
    text-transform: uppercase;
    font-size: 18px;
    padding: 10px 14px;
    display: block;
    text-decoration: none;
    box-sizing: border-box;
    color: #FFF;
    transition: background 0.4s;
}
.tabs3d-control a:hover {
    background-color: #000!important;
}
.tabs3d-control a.active,
.tabs3d-control a.active:hover {
    background-color: #FFF!important;
    color: #000;
}
.tabs3d-stage {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    right: 20px;
    margin: auto;
    transform-style: preserve-3d;
    transform: translateZ(-230px);
}
.spinner {
    position: absolute;
    width: 50%;
    height: 460px;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    margin: auto;
    transform-style: preserve-3d;
    transition: transform 1s;
    backface-visibility: hidden;
    transform-origin: 50% 50%;
    transform: rotateX(0);
}
.js-spin-fwd .spinner {
    transform: rotateX(-90deg);
}
.js-spin-bwd .spinner {
    transform: rotateX(90deg);
}
.js-spin-fwd .spinner-right {
    transform: rotateX(90deg);
}
.js-spin-bwd .spinner-right {
    transform: rotateX(-90deg);
}
.spinner-right {
    right: 0;
    left: auto;
}
.spinner-face {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.spinner-face.js-next {
    display: block;
    transform: rotateX(90deg) translateZ(230px);
}
.spinner-right .spinner-face.js-next {
    transform: rotateX(270deg) translateZ(230px);
}
.js-spin-bwd .spinner-face.js-next {
    transform: rotateX(-90deg) translateZ(230px);
}
.js-spin-bwd .spinner-right .spinner-face.js-next {
    transform: rotateX(-270deg) translateZ(230px);
}
.js-active {
    display: block;
    transform: translateZ(230px);
}
.content {
    position: absolute;
    width: 200%;
    height: 100%;
    left: 0;
}
.spinner-right .content {
    left: -100%;
}
.content-left,
.content-right {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
}
.content-right {
    right: 0;
    left: auto;
}
.content-left {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}
.content-left .content-title {
    position: absolute;
    bottom: 20px;
    right: 40px;
    text-shadow: 0 0 12px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.7);  
    text-align: right;
    color: #FFF;
    font-family: Verdana, sans-serif;  
    font-weight: bold;      
}
.content-left .content-title div {
    font-size: 36px;
    text-transform: uppercase;
}
.content-left .content-title p {
    font-size: 22px;
    margin-top: 10px;
}
.content-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
}
.content-right .content-main {
    position: absolute;
    max-height: 320px;
    overflow-x: auto;
    margin: 20px;
    padding: 0 20px;
}
.content-right .content-main p {
    margin: 0 0 14px 0;
    color: #FFF;
    font-family: Verdana, sans-serif;  
    text-align: left;
    font-size: 16px;
    line-height: 1.35;        
}
.content-right .content-main .content-autor {
    text-transform: uppercase;
    font-size: 13px;
	color: #FFF;
    float: right;
    padding: 6px 6px 0 6px;
    display: inline-block;
    border-top: 1px solid #FFF;
    margin: 0;
}    
@media screen and (max-width:991px) {
    .tabs3d {
        height: auto;
        margin: 20px 0;
    }
    .tabs3d-control {
        position: relative;
        box-shadow: none;
        top: 0;
        left: 0;
        margin-bottom: 10px;
        justify-content: center;
    }
    .spinner {
        position: static;
        width: 100%;
        height: 260px;
    }            
    .tabs3d-stage {
        position: static;
        transform-style: flat;
        transform: translateZ(0);
    }    
    .content-right {
        padding-top: 0;
    }
    .content-right .content-main {
        max-height: 220px;
    }
    .content-right .content-main p {
        font-size: 13px;
    }    
    .spinner-face.js-next {
        display: block;
        transform: rotateX(90deg) translateZ(130px);
    }
    .spinner-right .spinner-face.js-next {
        transform: rotateX(270deg) translateZ(130px);
    }
    .js-spin-bwd .spinner-face.js-next {
        transform: rotateX(-90deg) translateZ(130px);
    }
    .js-spin-bwd .spinner-right .spinner-face.js-next {
        transform: rotateX(-270deg) translateZ(130px);
    }
    .js-active {
        transform: translateZ(130px);
    }
}
