/*общие стили*/
/*@import url(https://fonts.googleapis.com/css?family=Pacifico);*/

html {
    position: relative;
    min-height: 100%;
}
body {
    height: 100vh;
}
.full_height {
    height: 100vh;
}

.data-table {
    height: 100%;
    width: 100%;
    text-align: center;
}

.arrow-down {
    cursor: pointer;
    width: 30px;
    height: 30px;
}
.arrow-down span {
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 5px solid white;
    border-right: 5px solid white;
    transform: rotate(45deg);
    margin: -16px;
    animation: arrow-down 2s infinite;
}
.arrow-down span:nth-child(2){
    animation-delay: -0.2s;
}
.arrow-down span:nth-child(3){
    animation-delay: -0.4s;
}
@keyframes arrow-down {
    0%{
        opacity: 0;
        transform: rotate(45deg) translate(-20px,-20px);
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: rotate(45deg) translate(20px,20px);
    }
}

button.gm-ui-hover-effect {
    outline: none;
}
.show_modal_img:focus {
    outline: none;
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

/* Первый контейнер*/
#firt_container {
    background-color: #1D4757;
}
.data-table .main_title_container div {
    margin: auto;
    font-weight: 900;
    font-size: 41px;
    color: white;
    font-family: "Pacifico", cursive;
    text-shadow: black 4px 0 10px;
}
.data-table .main_title_container div {
    background-image: url(../imgs/bg_title_old.png);
    background-color: #E8B400;
    clip-path: polygon(calc(100% - 30px) 0,100% 30px,100% 100%,30px 100%,0 calc(100% - 30px),0 0);
}
.data-table .main_title_container .info {
    font-size: 30px; 
    color: white;
}
.data-table .main_title_container .info a:hover {
    color: aqua;
}
.data-table .main_title_container div .first_title {
    padding-top: 25px;
}

.data-table .main_title_container div .second_title {
    padding-bottom: 25px;
}

.data-table .main_title_container div:before {
    content: '';
    position: absolute;
    left: 20.5%;
    width: 30px;
    height: 30px;
    border-top: 5px solid #fff;
    border-left: 5px solid #fff;
}

.data-table .main_title_container div:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-top: 5px solid #fff;
    border-left: 5px solid #fff;
    left: auto;
    right: 20.5%;
    margin-top: -40px;
    transform: scale(-1);;
}

@keyframes show_main_title {
  0% {font-size: 0;}
  100% {font-size: 37px;}
 
}
/*@import url(https://fonts.googleapis.com/css?family=Pacifico);*/


/*второй контейнер*/

#second_container {
    background-color: #305470;
}

.flag {
    border-radius: 100%;
    box-shadow: 0 0 100px white;
}
.proect_mission_title {
    font-family: "Pacifico", cursive;
}

.shadow-title {
    text-shadow: black 4px 0 10px;
}

.latin {
    font-family: "Pacifico", cursive;
    color: black; 
    text-shadow: white 4px 0 10px; 
    font-weight: bold;
}

.latin:hover {
    cursor: pointer;
}

/*третий контейнер*/

#third_container {
    background: url(../imgs/bg_3.jpg)  no-repeat;
    background-size: cover;
}

/*третий контейнер*/

#third_container {
    background-color: #598AA0;
}

.buble {
    position: absolute;
}
.buble, .buble_bottom {
    border-radius: 100%;
}
.buble_bottom {
    margin: 0 10px;
}
.buble:hover,
.buble_bottom:hover {
    box-shadow: 0 0 50px white;
    border-radius: 100%;
}
#f_1 {
    top: 135%;
}
#f_2 {
    top: 100%;
    width: 80px;
    left: 33%;
}
#f_3 {
    top: 140%;
    left: 50%;
}
#f_4 {
    width: 125px;
    top: 278%;
    left: 26%;
}
#f_5 {
    width: 100px;
    top: 400%;
    left: 45%;
}
#f_6 {
    left: 23%;
    top: 500%;
}
#f_7 {
    width: 120px;
    top: 650%;
    left: 5%;
}
#f_8 {
    width: 95px;
    left: 35%;
    top: 697%;
}
#f_9 {
    width: 95px;
    left: 19%;
    top: 800%;
}
#f_10 {
    width: 80px;
    left: 5%;
    top: 400%;
}
#f_11 {
    left: 1%;
    width: 125px;
    top: 880%;
}

#s_1 {
    right: 103%;
    top: 150%;
    width: 120px;
}
#s_2 {
    right: 0;
    top: 100%;
    width: 120px;
}
#s_3 {
    right: 0;
    top: 400%;
}
#s_4 {
    width: 100px;
    top: 625%;
    right: 5%;
}
#s_5 {
    right: 0;
    top: 800%;
}
#s_6 {
    top: 210%;
    right: 13%;
    width: 120px;
}
#s_7 {
    width: 100px;
    top: 425%;
    right: 20%;
}
#s_8 {
    width: 100px;
    top: 130%;
    right: 30%;
}
#s_9 {
    top: 625%;
    right: 23%;
}
#s_10 {
    right: 37%;
    width: 100px;
    top: 300%;
}
#s_11 {
    top: 500%;
    width: 80px;
    left: 45%;
}
#s_12 {
    right: 44%;
}
#s_13 {
    top: 30%;
    width: 100px;
    right: 65%;
}
#s_14 {
    top: 400%;
    right: 55%;
}
#s_15 {
    top: 260%;
    right: 68%;
    width: 100px;
}
.popover-title {
    font-style: italic;
}
.popover-title,
.popover-content {
    font-weight: bold;
}

/*
@keyframes an_top {
    50% {margin-top: 25px;}
    100% {margin-top: 0px;}
}

@keyframes an_bottom {
    50% {margin-bottom: 25px;}
    100% {margin-bottom: 0px;}
}

@keyframes an_left {
    50% {margin-left: 25px;}
    100% {margin-left: 0px;}
}

@keyframes an_right {
    50% {margin-left: 25px;}
    100% {margin-left: 0px;}
} 
*/   
/*
.buble.animation_top {
    animation-name: an_top;
    animation-duration: 4s;
}
.buble.animation_bottom {
    animation-name: an_bottom;
    animation-duration: 4s;
}
.buble.animation_left {
    animation-name: an_left;
    animation-duration: 4s;
}
.buble.animation_right {
    animation-name: an_right;
    animation-duration: 4s;
}
*/
@keyframes an_top {
    0% {margin-top: 0px;}
    50% {margin-top: -25px;}
    100% {margin-top: 0px;}
}

@keyframes an_bottom {
    0% {margin-bottom: 0px;}
    50% {margin-bottom: -25px;}
    100% {margin-bottom: 0px;}
}

@keyframes an_left {
    0% {margin-left: 0px;}
    50% {margin-left: -25px;}
    100% {margin-left: 0px;}
}

@keyframes an_right {
    0% {margin-left: 0px;}
    50% {margin-left: -25px;}
    100% {margin-left: 0px;}
}    

.buble.animation_top {
    animation-name: an_top;
    animation-duration: 4s;
}
.buble.animation_bottom {
    animation-name: an_bottom;
    animation-duration: 4s;
}
.buble.animation_left {
    animation-name: an_left;
    animation-duration: 4s;
}
.buble.animation_right {
    animation-name: an_right;
    animation-duration: 4s;
}
/*четвертый контейнер*/

#fourth_container {
    height: 75vh;
    background: url(../imgs/bg_slider.jpg)  no-repeat;
    background-size: 100%;
}


/**карта*/

.notificationBar {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    margin-bottom: 85vh;
}

.notificationBar li {
    margin-top: 60px;
}

.notificationBar li div {
    margin-left: 50px;
    margin-top: -30px;
    border: 1px solid #ddd;
    padding: 10px;
    padding-top: 25px;
    padding-bottom: 25px;
    border-radius: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.notificationBar li i:hover {
    cursor: pointer;
}
.notificationBar li i {
    width: 30px;
    height: 30px;
    display: block;
    text-align: center;
    line-height: 30px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background-color: white;
    z-index: 1;
    position: absolute;
}

.notificationBar li i:after {
    content: '';
    width: 22px;
    height: 2px;
    left: 27px;
    position: absolute;
    background-color: black;
    margin-top: 15px;
    z-index: 0;
}

.notificationBar:after {
    content: '';
    width: 2px;
    height: 100%;
    background-color: black;
    position: absolute;
    top: 4px;
    left: 15px;
    z-index: 0;
}

#map-menu li i {
    background-color: grey;
}

#map-menu li span.title {
    font-weight: 600;
}

#map-menu li span.content {
    display: block;
}


.notificationBar li i.active {
    background-color: darkblue !important;
    border-color: darkblue !important;
}
.time.active + div {
    -webkit-box-shadow: 0px 0px 52px 10px rgba(0,0,139,1);
    -moz-box-shadow: 0px 0px 52px 10px rgba(0,0,139,1);
    box-shadow: 0px 0px 52px 10px rgba(0,0,139,1);
}

i.time.glyphicon {
    color: #fff;
    top: auto;
}

/*CARD STYLES*/
.flip-card {
  background-color: transparent;
  cursor: pointer;
  width: 275px;
  height: 400px;
  perspective: 1000px;  /*Remove this if you don't want the 3D effect */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/*.flip-card:hover .flip-card-inner {*/
  /*transform: rotateY(180deg);*/
/*}*/


.flip-card.opened .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}

.flip-card-back {
  background-color: dodgerblue;
  color: white;
  transform: rotateY(180deg);
}

audio::-webkit-media-controls-panel {
     background-color: #DEF7FE;
}

/*LAST CONTAINER*/
#citations_container {
    border-top: 30px solid;
    border-image: url(../imgs/slides/cute/strichka-vishivka-zhovto-sinya.jpg) 100% 0 repeat;
    z-index: 5; 
}

#carousel-citations .item img {
    width: 600px; 
    height: 450px;
}

#carousel-citations .carousel-inner,
#carousel-citations .item,
#carousel-citations .carousel-control {
    border-radius: 20px;
}
        
#carousel-citations .item img {
    border: 7px solid white;
    border-radius: 20px;
}

#run_citations:hover {
    cursor: pointer;
}