.student-data-wrapper {
    max-width: 1440px;
    width: 100%;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
    text-align: center;
}

.student-single-item-image-box, .top-five-single-item-image-box {
    height: 250px;
    overflow: hidden;
}

.student-single-item-image-box img, .top-five-single-item-image-box img {
    object-fit: cover;
    height: 100%;
    width: auto;
    min-width: 100%;
}

.student-search-data-pagination {
    text-align: center;
    margin: 50px auto;
}

.student-single-item-data {
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    background-color: #FFFFFF;
    position: relative;
}

.student-single-item-project-description-box, .top-five-single-item-project-description-box {
    margin-bottom: 60px;
}

.student-single-item-project-description-box, .student-single-item-email-box, .student-single-item-project-name, .student-single-item-school-box {
    padding: 0 20px;
    text-align: left;
}

.student-single-item-id-box {
    padding: 0 20px;
    text-align: left;
}

.student-single-item-project-blog-url-box, .student-single-item-project-media-url-box {
    padding: 0 20px;
    text-align: left;
    position: absolute;
    bottom: 35px;
}

.top-five-single-item-project-blog-url-box, .top-five-single-item-project-media-url-box {
    padding: 0;
    text-align: left;
    position: absolute;
    bottom: -28px;
}

.student-single-item-project-description-box a, .student-single-item-email-box a, .student-single-item-project-name a {
    color: #045089;
}

.student-single-item-project-description-box a:hover, .student-single-item-email-box a:hover, .student-single-item-project-name a:hover {
    color: #5c5c5c;
    text-decoration: underline;
    cursor: pointer;
}

.student-single-item-image-box:hover, .cf7-info-box-two:hover {
    cursor: pointer;
}

.categories-main-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    margin-left: 65px;
    grid-gap: 50px;
}

.categories-title-wrapper, .top-five-single-item-title-box {
    text-align: center;
}

.categories-title-wrapper h2, .top-five-single-item-title-box h2 {
    font-size: 25px;
}

.category-top-five-wrapper {
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding: 0px 20px 0px 20px;
    background-color: #FFFFFF;
    border-radius: 40px 0px 0px 40px;
}

.top-five-single-item {
    margin-bottom: 10px;
    position: relative;
}

.top-five-single-item-full-name-box a:hover, .top-five-single-item-email-box a:hover, .top-five-single-item-project-name-box a:hover {
    text-decoration: none;
}

.top-five-single-item-school-name-box a:hover, .top-five-single-item-project-description-box a:hover {
    text-decoration: none;
}

.top-five-single-item-full-name-box {
    font-size: 22px;
}

.top-five-single-item-email-box {
    font-size: 20px;
}

.top-five-single-item-project-name-box, .top-five-single-item-school-name-box, .top-five-single-item-project-description-box, .top-five-single-item-id-box {
    font-size: 18px;
}

.top-five-single-item-project-blog-url-box, .top-five-single-item-project-media-url-box {
    font-size: 18px;
}

.category-header-image-box, .single-cf7-post-header-image-box {
    background: url("../../../../uploads/2020/10/Untitled-6.png");
    background-repeat: no-repeat;
    height: 508px;
    margin-top: -50px;
}

.back-to-categories-box a, .back-to-category-box a {
    color: #0C4DA2;
    font-size: 35px;
}

.back-to-categories-box a:hover, .back-to-category-box a:hover {
    color: #0C4DA2;
}

.wrap::before {
    content: "";
    position: fixed;
    background-image: url("../../../../uploads/2020/10/zastave_puzzle.psd-232.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -9999;
}

#check-video-valid-box {
    color: #dc3232;
}

.back-to-categories-box {
    max-width: 1000px;
    margin: 30px auto 0 auto;
}

.back-to-category-box {
    max-width: 1140px;
    margin: 30px auto 0 auto;
}

.video-content {
    width: 800px;
    height: 600px;
    background-color: #efefef;
    top: 50%;
    left: 50%;
    position: fixed;
    border: 2px solid #ff6600;
    text-align: center;
    z-index: 9999;
    padding: 0; 
    margin: 0; 
    transform: translate(-50%, -50%);
    display: flex;
    background: #000000;
}

.image-content {
    width: auto;
    height: auto;
    top: 55%;
    background-color: #efefef;
    left: 50%;
    position: fixed;
    border: 2px solid #ff6600;
    text-align: center;
    z-index: 9999;
    padding: 0; 
    margin: 0; 
    transform: translate(-50%, -50%);
    display: flex;
    background: #000000;
}

.show-video-box, .show-image-box, .show-description-box, .accept-all-rules-popup-wrapper, .confirm-registration-box {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.8);
    z-index: 999;
}

.close-video-box, .close-image-box, .close-description-box, .close-popup-details, .close-registration-box {
    position: absolute;
    right: 0;
    top: 10px;
}

.close-video-box:hover, .top-five-single-item-image-box:hover, .close-image-box:hover, .close-description-box:hover, .close-popup-details:hover, .close-registration-box:hover {
    cursor: pointer;
}

.close-video-box div, .close-image-box div, .close-description-box div, .close-popup-details div, .close-registration-box div {
    width: 40px;
    height: 5px;
    background-color: #707070;
    margin-bottom: 7px;
}

.close-video-box-one, .close-image-box-one, .close-description-box-one, .close-popup-details-box-one, .close-registration-box-one {
    transform: rotate(-45deg) translate(-9px, 6px);
    transition: 0.4s;
}

.close-video-box-two, .close-image-box-two, .close-description-box-two, .close-popup-details-box-two, .close-registration-box-two {
    opacity: 0;
}

.close-video-box-three, .close-image-box-three, .close-description-box-three, .close-popup-details-box-three, .close-registration-box-three {
    transform: rotate(45deg) translate(-10px, -8px);
}

.video-content video {
    width: 100%;
    height: auto;
    margin-top: auto;
    margin-bottom: auto;
    border: none;
    outline: none;
}

.image-content img {
    height: auto;
    margin-top: auto;
    margin-bottom: auto;
    border: none;
    outline: none;
    max-height: 70vh;
    width: auto;
}

.show-image-box {
    display: none;
}

.project-description-content, .confirm-registration-content {
    width: 800px;
    height: auto;
    min-height: 400px;
    top: 50%;
    left: 50%;
    position: fixed;
    text-align: center;
    z-index: 9999;
    padding: 40px 20px; 
    margin: 0; 
    transform: translate(-50%, -50%);
    display: flex;
    background: #ffffff;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

.confirm-registration-content {
    background: #214d9c !important;
}

.confirm-registration-data a {
    color: #ede54e;
}

.confirm-registration-data p, .confirm-registration-data h3, .confirm-registration-data a:hover {
    color: #ffffff;
}

.accept-all-rules-popup-data {
    width: auto;
    height: auto;
    min-height: 400px;
    min-width: 400px;
    top: 50%;
    left: 50%;
    position: fixed;
    text-align: center;
    z-index: 9999;
    padding: 20px; 
    margin: 0; 
    transform: translate(-50%, -50%);
    display: flex;
    background: #ffffff;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

.project-des-data, .confirm-registration-data {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-des-data p, .project-des-data h3 {
    color: #707070;
}

.accept-all-rules-btn-yes, .accept-all-rules-btn-no {
    width: auto;
    height: 40px;
    border-radius: 5%;
    cursor: pointer;
    padding: 6px;
}

.accept-all-rules-btn-yes {
    border: 1px solid #1296e2;
    color: #1296e2;
    margin-right: 10px;
}

.accept-all-rules-btn-no {
    border: 1px solid #ff0000;
    color: #ff0000;
    margin-left: 10px;
}

.accept-all-rules-btn-el-wrapper {
    position: absolute;
    display: flex;
    bottom: 20px;
}

.accept-all-rules-popup-text {
    margin-top: 30px;
}

.vote-btn {
    background: 0 0;
    padding: 15px;
    margin: 0;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    border-radius: .25em;
    box-shadow: none;
    border: none;
    text-align: center;
    transition-property: none;
    cursor: pointer;
}

.vote-btn::after {
    content: '';
    display: block;
    background: url("../images/love.svg") no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.vote-details-wrapper {
    box-shadow: 0 0 0 1px #bdbdbd inset;
    border-radius: .25em;
    padding: 5px;
    display: block;
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 80px;
}

.top-five-vote-details-wrapper {
    box-shadow: 0 0 0 1px #bdbdbd inset;
    border-radius: .25em;
    padding: 5px;
    display: block;
    position: absolute;
    bottom: -35px;
    right: 15px;
    width: 80px;
}

.cf7-vote-details-wrapper {
    margin-top: 40px;
    padding: 10px;
    display: flex;
    align-items: center;
    position: relative;
    bottom: 10px;
    width: 80px;
    margin-left: auto;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    width: 100%;
    border-radius: 50px 50px 50px 50px;
    background-color: #FFFFFF;
}

.selected-post-style::after {
    filter: invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%) !important;
}

.flash-message-error-wrapper, .flash-message-success-wrapper {
    position: fixed;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    padding: 10px;
}

.flash-message-error-wrapper {
    background-color: #ff0000;
}

.flash-message-success-wrapper {
    background-color: rgb(50, 128, 15);
}

.flash-message-error-image {
    background: url("../images/error.svg");
    width: 50px;
    height: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 10px;
    float: left;
}

.flash-message-success-image {
    background: url("../images/success.svg");
    width: 50px;
    height: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 10px;
    float: left;
}

.flash-message-error-bag p, .flash-message-success-bag p {
    color: #FFFFFF;
}

.single-cf7-post-data-wrapper {
    max-width: 1140px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
}

.single-cf7-project-name-box, .single-cf7-student-school-box, .single-cf7-student-id-box {
    margin-bottom: 20px;
}

.cf7-vote-details-btn-and-span-box {
    box-shadow: 0 0 0 1px #bdbdbd inset;
    border-radius: .25em;
    padding: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    margin-left: auto;
    margin-right: 20px;
    width: 70px;
}

.vote-info-text-box {
    margin-left: 20px;
    padding-top: 10px;
}

.vote-info-text-box p {
    color: #0C4DA2;
    font-size: 25px;
}

.simple-message-box {
    margin-top: 20px;
    margin-bottom: 10px;
}

.simple-message-box p {
    color: #515151;
    font-size: 22px;
}

.social-media-icons-box img, .social-media-icons-box-two img, .top-five-social-media-icons-box-two img, .search-social-media-icons-box-two img {
    width: 35px;
    border-radius: 50%;
}

.social-media-icons-box {
    display: flex;
    flex-direction: row;
}

.social-media-icons-box-two {
    display: flex;
    flex-direction: row;
    position: absolute;
    right: 100px;
    bottom: 15px;
}

.top-five-social-media-icons-box-two {
    display: flex;
    flex-direction: row;
    position: absolute;
    right: 100px;
    bottom: -35px;
}

.search-social-media-icons-box-two {
    display: flex;
    flex-direction: row;
    position: absolute;
    right: 10px;
    bottom: 6px;
}

.social-media-icons-box div, .social-media-icons-box-two div, .top-five-social-media-icons-box-two div, .search-social-media-icons-box-two div {
    margin-right: 5px;
}

.important-links-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 1000px;
    margin: 100px auto;
    justify-items: center;
}

.important-links-wrapper img {
    height: 200px;
}

/* Denisov veliki fix :-) */
.fb_iframe_widget {
    display: flex !important;
}

/* Media Queries */

@media (max-width: 1440px) {
    .student-data-wrapper, .single-cf7-post-data-wrapper, .back-to-category-box {
        width: 90%;
    }
}

@media (max-width: 1300px) {
    .student-data-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .project-description-content, .important-links-wrapper, .confirm-registration-content {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .student-data-wrapper, .categories-main-wrapper, .single-cf7-post-data-wrapper {
        grid-template-columns: 1fr;
    }
    .categories-main-wrapper {
        margin-left: unset;
    }
    .student-single-item-data, .single-cf7-blog-url-box, .single-cf7-media-url-box {
        margin-bottom: 20px;
    }
    .student-single-item-image-box, .top-five-single-item-image-box {
        height: auto;
    }
    .category-top-five-wrapper {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        border-radius: 40px;
    }
    .top-five-single-item-project-name-box, .top-five-single-item-school-name-box, .top-five-single-item-project-description-box {
        margin-top: 10px;
    }
    .student-single-item-image-box img {
        width: 100%;
    }
    .video-content {
        width: 100%;
        height: auto;
    }
    .important-links-wrapper img {
        height: 170px;
    }
}

@media (max-width: 576px) {
    .accept-all-rules-popup-data {
        min-width: 90%;
    }
    .important-links-wrapper {
        grid-template-columns: 1fr;
        margin: 50px auto;
        grid-row-gap: 30px;
    }
    .important-links-wrapper img {
        width: 170px;
    }
}