@import url("reset.css");
@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("nprogress.css");

@media (max-width: 543px) {
    p {font-size: 1em;}
    .head {
        font-size: 1em;
    }
    #nomination_name {
        font-size: 1em;
    }
    .okrugfinal {
        font-size: 1.2em !important;
    }
    .okrugfinal1 {
        font-size: 0.7em !important;
    }
    .block_finalist {
        height: auto !important;
    }
    .link {
        font-size: 3vw !important;
    }
    #news {
        font-size: 5vw !important;
    }

    ul>li {
        font-size: 80%;
    }
    h1  {
        font-size: 2.5em;
    }
    h2  {
        font-size: 1.2em;
    }
    .row {
        padding: 2rem 1rem;
    }
    .btn-secondary {
        padding: 1em !important;
        margin-top: .5em !important;
        margin-left: .5em !important;
        border-radius: 0 !important;
        font-size: 1em !important;
    }
    .description {
    }
    .text_final {
        font-size: 1em !important;
    }
    #finalist_img {
        min-width: 200px;
    }
}


@media (min-width: 544px) {
    p {font-size: 1em;}
    .head {
        font-size: 1.5em;
    }

    #nomination_name {
        font-size: 1.5em;
    }

    ul>li {
        font-size: 80%;
    }
    .row {
        padding: 2rem 1rem;
    }
    .btn-secondary {
        background-image: url("../images/svg/menu.svg");
        padding: 1em;
        margin-top: .1em !important;
        margin-left: .1em !important;
        border-radius: 4px;
    }
    .description {

    }
    .okrugfinal {
        font-size: 1.3em !important;
    }
    .okrugfinal1 {
        font-size: 1em !important;
    }
    .block_finalist {
        height: auto !important;
    }
    .link {
        font-size: 3vw !important;
    }
    #news {
        font-size: 5vw !important;
    }
}

/*div.col-sm-4 {*/
    /*padding-left: 0px;*/
    /*padding-right: 0px;*/
/*}*/

.block_finalist {
    /*padding: 30px;*/
    padding-bottom: 0px;
    /*padding-right: 1.5em;*/
    /*margin: 1.5rem;*/
    margin-bottom: 1.5rem;
    margin-right: 1.5rem;
    background:rgba(247, 219, 96, 1);
    border-radius: 10%;
    height: 50vmin;
}
.circle_box {
    border-radius: 50%;
    /*padding: 1vh;*/
    overflow: hidden; /* Прячем всё за пределами */
    min-width: 90px !important;
}

.text {
    font-size: 20em;
}


.okrugfinal {
    font-size: 1.5em;
    padding: 2vh;
}

.link {
    border: 2px solid rgba(156, 39, 176, 1) !important;
    border-radius: 30px;
    font-size: 1.2vw;
    height: 11vh;
    color: rgba(109, 109, 109, .75); !important;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    background-color: rgba(255, 255, 255, 1) !important;

}

.link span{
    line-height: 10vh;
    font-size: 1.8em;
}

.link:hover {
    background-color: rgba(247, 219, 96, 1) !important;
    border: 2px solid rgba(156, 39, 176, 1) !important;
    color: rgba(109, 109, 109, 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;
}

.address {
    color: rgba(254, 254, 254, 1.0);
}

.text-fiolet {
    color: rgba(156, 39, 176, 1);
}

.address:hover {
    /*background: rgba(109, 109, 109, 0) !important;*/
    /*box-shadow: 0 0 35px rgba(109, 109, 109, 1) !important;*/
    /*border: 2px solid rgba(109, 109, 109, 1) !important;*/
    color: rgba(156, 39, 176, 1);
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    p {font-size: 1.5em;}
    .head {
        font-size: 2.5em;
    }

    #nomination_name {
        font-size: 2.5em;
    }

    .challenge {
        font-size: 2.3em;
    }
    ul>li {
        font-size: 160%;
    }
    h1 {
        font-size: 3.5em;
    }
    h2 {
        font-size: 3em;
    }
    .btn-secondary {
        padding: 1em !important;
        margin-top: .5em !important;
        margin-left: .5em !important;
        border-radius: 0 !important;
    }
    .description {

    }
    .okrugfinal {
        font-size: 1em !important;
        padding: 1vh;
    }
    .okrugfinal1 {
        font-size: 0.7em !important;
    }
    .block_finalist {
        height: 40vmin !important;
    }
    .link {
        font-size: 1vw !important;
    }
    #news {
        font-size: 3vw !important;
        text-align: center;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    p {
        font-size: 2.3em;
    }
    ul>li {
        font-size: 160%;
    }
    h1 {
        font-size: 3em;
    }
    h2 {
        font-size: 2.5em;
    }
    .btn-secondary {
        padding: 2em !important;
        margin-top: .5em !important;
        margin-left: .5em !important;
        border-radius: 0 !important;
    }
    .description {

    }
    .okrugfinal {
        font-size: 1.2em !important;
        padding: 2vh;
    }
    .okrugfinal1 {
        font-size: 0.7em !important;
    }
    .block_finalist {
        height: 45vmin !important;
    }
    #news {
        font-size: 3vw !important;
        text-align: center;
    }
}
    /* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
        p {font-size: 2em;}
    ul>li {
        font-size: 160%;
    }
    h1, h2, h3 {
        text-align: left !important;
    }

    h1 {
    font-size: 3.5em;
    }
    h2 {
        font-size: 3em;
    }
    .okrugfinal {
        font-size: 1.2em !important;
        padding: 2vh;
    }
    .okrugfinal1 {
        font-size: 0.7em !important;
    }
    .block_finalist {
        height: 45vmin !important;
    }
    #finalist_img {
        min-width: 300px !important;
    }
    #news {
        font-size: 2vw !important;
    }
}

@media (min-width: 1320px) {
    h1 {
        font-size: 4em;
    }
    h2 {
        font-size: 3.5em;
    }
    .okrugfinal {
        font-size: 1.2em !important;
        padding: 2vh;
    }
    .okrugfinal1 {
        font-size: 1em !important;
    }
    .block_finalist {
        height: 45vmin !important;
    }
}


    @media (max-width: 1024px) {
    .description {
        top: 15vh;
        width: 100%;
        left: 0;
    }

    .svg_final {
        width: 8% !important;
        height: 8% !important;
    }

    .description {
        top: 0;
    }
}

html {
    overflow-x: hidden;
}

/*============================== btn-down =================================*/

.scroll-down-btn {
    position: relative;
    bottom: -15px;
    animation: bounce 2.1s infinite; /* Анимацию bounce пропишем ниже */
}

@-webkit-keyframes bounce {
    0%	{ bottom: 0; }
    50%	{ bottom: -10px; }
    100%{ bottom: 0; }
}

/*============================== end btn-down =================================*/

.border-gr  {

    border: 6px solid transparent;
    -moz-border-image: -moz-linear-gradient(270deg, #16EAFD 0%, #9C27B0 100%);
    -webkit-border-image: -webkit-linear-gradient(270deg, #16EAFD 0%, #9C27B0 100%);
    border-image-slice: 14;
    background-color: #fff;
}

.final_winners {
    background: -webkit-linear-gradient(180deg, rgba(22, 234, 253, 1) 0%, rgba(156, 39, 176, 1) 100%) no-repeat;
    background: -moz-linear-gradient(180deg, rgba(22, 234, 253, 1) 0%, rgba(156, 39, 176, 1) 100%) no-repeat;
    background:  linear-gradient(180deg, rgba(22, 234, 253, 1) 0%, rgba(156, 39, 176, 1) 100%) no-repeat;
    background:  -o-linear-gradient(180deg, rgba(22, 234, 253, 1) 0%, rgba(156, 39, 176, 1) 100%) no-repeat;
    min-height: 100vh;
}

.svg_final {
    width: 6%;
    height: 6%;
    z-index: 60000;
}

path {
    fill: white;
}
rect {
    stroke: white;
}

.svg_final:hover{
    stroke: rgba(247, 219, 96, 1) !important;
    transition: all 2s ease-in-out;
}
.svg_final:hover rect {
    stroke: rgba(247, 219, 96, 1) !important;
    transition: all 1s ease-in-out;
}

.svg_final_mobile:hover{
    stroke: rgba(247, 219, 96, 1) !important;
    transition: all 2s ease-in-out;
}
.svg_final_mobile:hover rect {
    stroke: rgba(247, 219, 96, 1) !important;
    transition: all 1s ease-in-out;
}

.active {
    stroke: rgba(247, 219, 96, 1) !important;
    transition: all 1s ease-in-out;
}

.active rect{
    stroke: rgba(247, 219, 96, 1) !important;
    transition: all 1s ease-in-out;
}

.button_active {
    background: rgba(247, 219, 96, 0.5) !important;
    box-shadow: 0 0 35px rgba(247, 219, 96, 1) !important;
    border: 2px solid rgba(247, 219, 96, 0.5) !important;
    color: rgba(109, 109, 109, 1);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}



.svg_final_mobile {
    width: 13%;
    height: 13%;
    z-index: 60000;
}

.text-yellow {
    color: rgba(247, 219, 96, 1);
}

.bg-yellow {
    background:rgba(247, 219, 96, 1);
}

.bg-color {
    background: linear-gradient(270deg, #16EAFD 0%, #9C27B0 100%);
}

.person_button {
    border: 2px solid rgba(255, 255, 255, 1);
    /*background: rgba(255,255,255,0.5);*/
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 14px;
    /*color: #6d6d6d !important;*/
}

.text_final {
    line-height: 1.2;
    font-size: 1.5em;
}

#finalist_img {
    min-width: 300px;
}


.person_button:hover {
    background: rgba(247, 219, 96, 0.5) !important;
    box-shadow: 0 0 35px rgba(247, 219, 96, 1) !important;
    border: 2px solid rgba(247, 219, 96, 0.5) !important;
    color: rgba(109, 109, 109, 1);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}


.purpur {
    color: rgba(156, 39, 176, 1);
}

.primary {
    background: -webkit-linear-gradient(180deg, rgba(156, 39, 176, 0.8) 0%, rgba(22, 234, 253, 0.8) 100%) fixed, url("../images/header_photo.jpg") fixed 50% 50%;
    background: -moz-linear-gradient(180deg, rgba(156, 39, 176, 0.8) 0%, rgba(22, 234, 253, 0.8) 100%) fixed, url("../images/header_photo.jpg") fixed 50% 50%;
    background:  linear-gradient(180deg, rgba(156, 39, 176, 0.8) 0%, rgba(22, 234, 253, 0.8) 100%) fixed, url("../images/header_photo.jpg") fixed 50% 50%;
    background:  -o-linear-gradient(180deg, rgba(156, 39, 176, 0.8) 0%, rgba(22, 234, 253, 0.8) 100%) fixed, url("../images/header_photo.jpg") fixed 50% 50%;
    background-size: cover;
    width: 110%;
    margin-left: -5%;
}

.content ul {list-style: none}

.col-md-8 .float-right ul li::before {content: "-";
    display: inline-block; width: 1em;
    margin-left: -1em}

/*============================== gallery =================================*/


img {
    vertical-align: baseline
}

a {
    color: #4169e1
}

a:visited {
    color: purple
}

a:hover,
a:focus,
a:active {
    color: #191970
}

a:focus {
    outline: thin dotted
}

a:hover,
a:active {
    outline: 0;
    list-style: none
}

.flex {
    display: flex
}

@media screen and (min-width:992px) {
    .outer-container {
        padding-left: 80px
    }
}

@media screen and (min-width:768px) {
    .no-padding {
        padding: 0;
        margin-bottom: -30px;
    }
}

.portfolio-content {
    position: relative;
    margin-bottom: 30px
}

.home-page .portfolio-content {
    margin-bottom: 15px
}

.portfolio-content figure {
    margin: 0
}

.portfolio-content figure img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100%
}

.portfolio-content .entry-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .9);
    font-family: poppins, sans-serif;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: all .35s
}

.portfolio-content:hover .entry-content {
    visibility: visible;
    opacity: 1
}

.portfolio-content h3 {
    margin-bottom: 0;
    font-family: poppins, sans-serif;
    font-size: 1.5rem;
    font-weight: 500
}

.portfolio-content h3 a {
    color: #191919;
    text-decoration: none
}

.portfolio-content ul {
    padding: 0;
    margin: 10px 0 0;
    list-style: none
}

.portfolio-content li {
    margin: 0 3px
}

.portfolio-content li a {
    font-size: .875rem;
    color: #a6a6a6
}

/*============================== gallery =================================*/
.dropdown-toggle {
    margin-left: 1em !important;
    margin-top: 1em !important;
}

.btn-secondary {
    background-image: url("../images/svg/menu.svg");
    background-color: rgba(0,0,0,0) !important;
    background-repeat: no-repeat;
    background-position: center center;
    /*background-origin: content-box;*/
    padding: 2em;
    margin-left: 1.5em;
    margin-top: 1.5em;
    border-color: rgba(0,0,0,0) !important;
    border-radius: 15px;
}

.show>.btn-secondary.dropdown-toggle {
    background-image: url("../images/svg/menu.svg");
    border-color: rgba(0,0,0,0) !important;

}

.dropdown-toggle::after {
    content: none;
}

.dropdown-menu {
    left: 1%;
}

.dropdown-menu {
    border-radius: 20px;
}

.dropdown-item {
    font-size: 1.5em;
}

/*============================== gallery =================================*/

.loaderArea {
    background: linear-gradient(180deg, rgba(156, 39, 176, 1) 0%, rgba(22, 234, 253, 1) 100%);
    overflow: hidden;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100000
}

.loader:before {
    animation: animate 2s infinite linear
}

.loader:after {
    animation: animate2 2s infinite linear
}

a.svg {
    position: relative;
    display: inline-block;
}
a.svg:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left:0;
}
