@import url("bootstrap-reboot.min.css");
@import url("bootstrap.css");
@import url("bootstrap-grid.min.css");
@import url("fonts.css");
@import url("main.css");
@import url("reset.css");
/*@import url("styles.css");*/
@import url("nprogress.css");

@media (min-width: 300px) {

    .participate {
        font-size: 1.2em !important;
    }

}


/*// Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575px) {

    #bolee {
        font-size: 0.5em !important;
    }

    #toTop {
        width: 50px !important;
        height: 50px !important;
        bottom: 10px !important;
        left: 10px !important;
    }

    header {
        height: 100vh;
    }

    #corner_black {
        max-height: 50px !important;
    }

    .gvmp_text_mob {
        font-size: 10vw !important;
    }

    footer {
        height: 8em !important;
    }

    object {
        height: 6em !important;
    }

    footer .icon {
        width: 1.5em !important;
    }

    #small_logo {
        top: 10% !important;
    }

    .infograf .semibold_text {
        font-size: 0.7em !important;
    }

    .training .semibold_text {
        font-size: 1em !important;
    }

    .training .small_info {
        font-size: 0.7em !important;
    }



    .activity .icon {
        width: 10em !important;
        max-width: 150% !important;
    }

    #change_lang {
        top: 15px;
        right: 10px;
        width: 50px;
        height: 45px;
    }

    #change_lang_p {
        font-size: 2em !important;
    }

}

/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {

    header {
        height: 100vh;
    }

    #corner_black {
        max-height: 70px;
    }

    .infograf .icon {
        width: 7em !important;
    }
    #ship_flex {
        height: 7em !important;
    }

    .infograf .semibold_text {
        font-size: 1.3em !important;
    }

    .training .semibold_text {
        font-size: 1.3em !important;
    }

    .training .small_info {
        font-size: 1.3em !important;
    }

    .infograf span {
        font-size: 3em !important;
    }

    .participate {
        font-size: 2em !important;
    }

    .activity .icon {
        width: 10em !important;
        max-width: 150% !important;
    }

    footer {
        height: 20vh !important;
    }

    object {
        height: 8em !important;
    }

    footer .icon {
        width: 2em !important;
    }

    #bolee {
        font-size: 1em !important;
    }

    #change_lang {
        top: 20px;
        right: 10px;
        width: 50px;
        height: 45px;
    }

    #change_lang_p {
        font-size: 2em !important;
    }

}

/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {

    header {
        height: 100vh;
    }

    .h1 {
        font-size: 2em !important;
    }

    li1 {
        font-size: 2em !important;
    }

    .logo_vmf {
        width: 15em !important;
    }

    .gvmp_text {
        font-size: 3em !important;
    }

    .date_gvmp_text {
        font-size: 1.5em !important;
    }

    #participate {
        font-size: 2.5em !important;
    }

    .participate {
        font-size: 2em !important;
    }

    .activity .semibold_text {
        font-size: 1.3em !important;
    }

    .activity .icon {
        width: 15em !important;
        max-width: 150% !important;
    }

    object {
        height: 8em !important;
    }

    footer .icon {
        width: 2em !important;
    }

    footer {
        height: 20vh !important;
    }

    #change_lang {
        top: 20px;
        right: 10px;
        width: 50px;
        height: 45px;
    }

    #change_lang_p {
        font-size: 2em !important;
    }

}

/*// Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {

    header {
        height: 100vh;
    }

    object {
        height: 15vw !important;
    }

    footer .icon {
        width: 3vw !important;
    }

    #participate {
        font-size: 3em !important;
    }

    .participate {
        font-size: 3em !important;
    }

    .logo_vmf {
        top: 6% !important;
        width: 220px !important;
    }

    li1 {
        font-size: 2em !important;
    }

    #header_menu {
        display: flex !important;
        width: 90% !important;
        left: 5% !important;
    }

    .cities .semibold_text {
        font-size: 1em !important;
    }

    .infograf .icon {
        width: 9em !important;
    }
    #ship_flex {
        height: 9em !important;
    }

    .infograf .semibold_text {
        font-size: 1.3em !important;
    }

    .infograf .semibold_text {
        font-size: 1.3em !important;
    }

    .infograf span {
        font-size: 5em !important;
    }

    .activity .semibold_text {
        font-size: 1.3em !important;
    }

    .activity .icon {
        width: 10em !important;
        max-width: 120% !important;
    }

    footer {
        height: 30vh !important;
    }

    #change_lang {
        top: 5px;
        right: 10px;
        width: 50px;
        height: 45px;
    }

    #change_lang_p {
        font-size: 2em !important;
    }
}

/*// Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {

    .new-string {
        /*width: 0% !important;*/
        display: none !important;
    }

    .cities .semibold_text {
        font-size: 1em !important;
    }

    .cities_img img {
        width: 10vw !important;
        padding: 10px;
    }

    .infograf .semibold_text {
        font-size: 1.7em !important;
    }

    .text_info {
        font-size: 2vw !important;
    }

    #header_menu {
        display: flex !important;
        width: 80% !important;
        left: 10% !important;
    }

    #big_logo {
        top: 7% !important;
    }

    .cities {
        font-size: 1.3vw !important;
    }

    .logo_vmf {
        top: 5% !important;
        width: 17% !important;
    }

    .event_text {
        font-size: 1.5vw !important;
    }

    object {
        height: 12em !important;
    }

    footer .icon {
        width: 3em !important;
    }

    li1 {
        font-size: 2em !important;
    }

    .activity .semibold_text {
        font-size: 1.2em !important;
    }

    .activity .icon {
        width: 10em !important;
        max-width: 150% !important;
    }

    #bolee {
        font-size: 1.5em !important;
    }

    #change_lang {
        top: 5px;
        right: 20px;
        width: 60px;
        height: 45px;
    }

    #change_lang_p {
        font-size: 2em !important;
    }

}

/*!* Landscape*!*/
/*@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2)  and (orientation: landscape)  {*/
/*    html{*/
/*        display: none !important;*/
/*    }*/
/*}*/

/*!* Landscape*!*/
/*@media all and (orientation: landscape)  {*/
/*    html{*/
/*        display: none !important;*/
/*    }*/
/*}*/

/* Portrait*/
@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2)  and (orientation: portrait)  {

    #header_menu {
        display: none !important;
    }

    #big_logo{
        position:absolute;
        top:5% !important;
        left: 0% !important;
        text-align: center;
        z-index: 1000;
    }

    .logo_vmf {
        width: 40vw !important;
    }

    .gvmp_text {
        font-size: 5em !important;
        -webkit-text-stroke: 0.05em rgba(43, 146, 255, 1);
        line-height: 1.0;
        text-shadow: 0 8px 6px rgba(0, 0, 0, 0.6);
    }

    .date_gvmp_text {
        font-size: 2em !important;
    }

    .lighthouse {
        background-size: 50em 80em;
        height: 80em;
        width: 50em;
        left: 20% !important;
        bottom: 1% !important;
    }

    #marine {
        height: 60vh !important;
        width: 115vw !important;
        max-width: 200% !important;
        left: -15% !important;
    }

    footer {
        height: 8em !important;
    }

    object {
        height: 6em !important;
    }

    footer .icon {
        width: 1.5em !important;
    }

}

/*------------------------Общие стили старт------------------------*/

.wrapper {
    min-height: 460px;
    position: absolute;
    overflow: hidden;
    display: table;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

#dropdown_menu {
    line-height: 2;
    position: absolute;
    z-index: 4000;
}

#change_lang {
    position: absolute;
    z-index: 4000;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.3);
}

#change_lang_p {
    color: white;
}

#change_lang a:hover {
    cursor: pointer !important;
    color: rgba(196, 196, 196, 1);
}

.dropdown-item:hover {
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    text-shadow: 0 8px 6px rgba(0, 0, 0, 0.6);
}

.dropdown-item:focus {
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    text-shadow: 0 8px 6px rgba(0, 0, 0, 0.6);
}

.dropdown-item:active {
    background: none;
}

#header_menu {
    display: none;
    position: absolute;
    align-items: center;
    align-content: center;
    text-align: center;
    width: 80vw;
    left: 10vw;
    justify-content: space-between;
    z-index: 3000;
}

.logo_vmf {
    width: 19%;
}

#participate {
    font-size: 2em;
}



.participate {
    font-size: 0.85em;
}

.gvmp_text {
    font-size: 4.5vw;
    -webkit-text-stroke: 0.05em rgba(43, 146, 255, 1);
    line-height: 1.0;
    text-shadow: 0 8px 6px rgba(0, 0, 0, 0.6);
}

.date_gvmp_text {
    font-size: 2vw;
    z-index: 1100;
    width: 100%;
}


a:hover {
    cursor: url(../img/icons/big-anchor.png), url(../img/icons/big-anchor.cur), auto !important;
}

#dropdown_menu a:hover {
    cursor: auto !important;
}

#small_logo {
    position:absolute;
    top:7%;
    z-index: 1000;
}

#big_logo {
    position:absolute;
    top:10%;
    left: 5%;
    z-index: 1000;
}

.logo_vmf_mob {
    height: 40vh;
}

.gvmp_text_mob {
    font-size: 3.5em;
    -webkit-text-stroke: 0.05em rgba(43, 146, 255, 1);
    line-height: 1.0;
    text-shadow: 0 8px 6px rgba(0, 0, 0, 0.6);
}

.date_gvmp_text_mob {
    font-size: 1.5em;
    width: 100%;
}

#marine {
    position: absolute;
    height: 45vw;
    bottom: 0;
    left: 25%;
}

#corner {
    position: absolute;
    height: auto;
    width: 100vw;
    bottom: -1px;
}

li {
    font-size: 0.8vw;
}

.nav-link {
    color: rgba(255, 255, 255, 1);
}

.nav-link:hover {
    color: rgba(196, 196, 196, 1);
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.cities {
    background: -webkit-linear-gradient(180deg, rgba(12, 79, 149, 1) 0%, rgba(43, 146, 255, 1) 100%) no-repeat;
    background: -moz-linear-gradient(180deg, rgba(12, 79, 149, 1) 0%, rgba(43, 146, 255, 1) 100%) no-repeat;
    background:  linear-gradient(180deg, rgba(12, 79, 149, 1) 0%, rgba(43, 146, 255, 1) 100%) no-repeat;
    background:  -o-linear-gradient(180deg, rgba(12, 79, 149, 1) 0%, rgba(43, 146, 255, 1) 100%) no-repeat;
    font-size: 2vw;
}

#svg_btns {
    background: -webkit-linear-gradient(180deg, rgba(12, 79, 149, 0) 0%, rgba(12, 79, 149, 1) 100%) no-repeat;
    background: -moz-linear-gradient(180deg, rgba(12, 79, 149, 0) 0%, rgba(12, 79, 149, 1) 100%) no-repeat;
    background:  linear-gradient(180deg, rgba(12, 79, 149, 0) 0%, rgba(12, 79, 149, 1) 100%) no-repeat;
    background:  -o-linear-gradient(180deg, rgba(12, 79, 149, 0) 0%, rgba(12, 79, 149, 1) 100%) no-repeat;
}

#corner_black {
    width: 100%;
    max-height: 100%;
}

.cities-flex {
    display: flex;
    flex-flow: row wrap;
}

.new-string {
    padding-bottom: 2vh;
    width: 100%;
}

.activity {
    background-image: url("../img/bg2_pattern.jpg");
    line-height: 1.5;
    align: middle;
}

.activity .icon {
    width: 20em;
    text-align: right;
    max-width: 200%;
}

.activity .semibold_text {
    font-size: 1.5em;
}

span {
    font-size: 7vw;
    color: rgba(43, 146, 255, 1);
}

svg rect {
    fill: #0C4F95;
}

#kronshtadt {
    fill: url(#pattern_kronshtadt);
}

#neva {
    fill: url(#pattern_neva);
}

#poltava {
    fill: url(#pattern_poltava);
}

.cities_img img {
    width: 15vw;
    -moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
}

.cities_img img:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}

svg text {
    font-size: 2.5em;
    fill: white;
    /*stroke: #2B92FF;*/
    /*shadow: #2B92FF;*/
    /*stroke-width: 2px;*/
    /*filter: url(#glow);*/
    /*fill: #0c9"*/
    /*box-shadow: 0 0 0 3px black;*/
}


.infograf .icon {
    width: 4em;
}
#ship_flex {
    height: 4em;
}

.infograf .semibold_text {
    font-size: 1em;
}

.infograf span {
    font-size: 1.5em;
}

svg a:hover tspan {
    -webkit-transition: all 1s ease;;
    -moz-transition: all 1s ease;;
    -o-transition: all 1s ease;;
    transition: all 1s ease;
    color: #1b1e21;
}


#toTop {
    width:70px;
    height:70px;
    position:fixed;
    bottom:20px;
    left:20px;
    z-index:9999;
    display:none;
}

#pop1 {
    width: 100vw;
    height: 100vh;
    opacity: 0;
    position: fixed;
    top:0;
    left:0;
    background: rgba(43, 146, 255, 0.9);
    z-index: 10000;
    text-align: center;
    margin: 0;
}

#pop1 img {
    max-width: 100%;
    max-height: 70%;
    position: relative;
    top:15%;
}

#pop1 .close {
    right: 40px;
    top: 20px;
}