.modal.vote-ended .video_detail_container{
    width: 100% !important;
    box-sizing: border-box;
}



.hide{
    display: none;
}
#community-voting-container{
    padding: 10px 20px;
}
.sorting-section p{
    font-family: 'Lato';
    font-size: 13px;
    font-weight: bold;
}
.sort-types{
    border-bottom: 2px solid #3c2f2f;
}
.sort-types p{
    opacity: 0.7;
    font-size: 14px;
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
}

.sort-types p.active, .sort-types p:hover{
    opacity: 1;
}

.sorting-section {
    padding: 10px ;
    background-color: rgba(255,255,255,0.2);
    position: relative;
    width: 87%;
    margin: 0 auto;
    padding-left: 100px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#c0c791+19,c0c791+85,ffffff+100&0+0,0.49+18,0.49+49,0.49+85,0+100 */
    background: -moz-linear-gradient(left,  rgba(192,199,145,0) 0%, rgba(192,199,145,0.49) 18%, rgba(192,199,145,0.49) 19%, rgba(192,199,145,0.49) 49%, rgba(192,199,145,0.49) 85%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  rgba(192,199,145,0) 0%,rgba(192,199,145,0.49) 18%,rgba(192,199,145,0.49) 19%,rgba(192,199,145,0.49) 49%,rgba(192,199,145,0.49) 85%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  rgba(192,199,145,0) 0%,rgba(192,199,145,0.49) 18%,rgba(192,199,145,0.49) 19%,rgba(192,199,145,0.49) 49%,rgba(192,199,145,0.49) 85%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00c0c791', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */

}
#vote-heading{
    text-align: center;
    margin: 0px auto 12px;
}
#vote-heading img{
    width: 85%;
    max-width: 850px;
    min-width: 700px;
}

.sorting-section:before{
    content: "";
    width: 148px;
    height: 148px;
    position: absolute;
    left: -55px;
    top: -18px;
    background-size: 147px;
    background-image: url('//aphrodite.gmanetwork.com/microsites/encantadia_votingpage/encantadia-brown.png');
}
.category-list {
    padding-left: 29px;
}
.category-list .category-item{
    opacity: 0.6;
    list-style: none;
    display: inline-block;
    padding: 17px 15px 5px 27px;
    cursor: pointer;
    font-size: 13px;
    position: relative;
    o-transition: .2s ease-out;
    -ms-transition: .2s ease-out;
    -moz-transition: .2s ease-out;
    -webkit-transition: .2s ease-out;
    transition: .2s ease-out;
}
.category-item.active{
    opacity: 1;
}
.category-item:hover{
    text-shadow: 1px 0px 17px #e6f3a2;
    opacity: 1;
}
.dropbtn-videos:before, .category-item:before{
    content: "";
    width: 34px;
    height: 34px;
    position: absolute;
    left: -4px;
    top: 2px;
    background-size: 34px;
}
#character:before{
    left: -5px;
    background-image: url('//aphrodite.gmanetwork.com/microsites/encantadia_votingpage/character.png');
}
#territory:before{
    background-image: url('//aphrodite.gmanetwork.com/microsites/encantadia_votingpage/territory.png');
}
#lamang-lupa:before{
    background-image: url('//aphrodite.gmanetwork.com/microsites/encantadia_votingpage/lamanglupa.png');
}
#magical-elements:before{
    background-image: url('//aphrodite.gmanetwork.com/microsites/encantadia_votingpage/magical.png');
}
#portal:before{
    background-image: url('//aphrodite.gmanetwork.com/microsites/encantadia_votingpage/portal.png');
}
#lambanas:before{
    background-image: url('//aphrodite.gmanetwork.com/microsites/encantadia_votingpage/lambanas.png');
}

.videos-listing{
    min-height: 600px;
    margin-top: 70px;
}
.video-list-items{
    width: 24%;
    min-height: 245px;
    color: #FFF;
    display: inline-block;
    margin: 5px;
    cursor: pointer;
}
.video-list-items .image-bg{
    width: 100%;
    height: 180px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    cursor: pointer;
}
.image-bg:after{
    content: " ";
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid rgba(255, 255, 255, 0.8);
    position: absolute;
    left: 0;
    right: 0;
    top: 40%;
    bottom: 0;
    margin: 0 auto;
    cursor: pointer;
}
.video-list-items .video-desc{
    margin-top: 10px;
}
.video-desc .fleft{
    width: 75%;
    padding-right: 5px;
}
.video-desc .fleft .title{
    font-size: 15px;
    overflow: hidden;
    height: 36px;
}
.video-desc .fleft .author{
    font-size: 12px;
    margin-top: 3px;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 17px;
    overflow: hidden;
}
.video-desc .fright{
    text-align: right;
    width: 25%;
}
.votecount{
    font-size: 12px;
    font-family: 'Lato';
}
.votebtn{
    padding: 9px 5px 4px;
    background-color: #d0962a;
    text-align: center;
    color: #000;
    font-size: 14px;
    margin-bottom: 4px;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-family: TrajanPro-Bold;
    border: none;
    o-transition: .2s ease-out;
    -ms-transition: .2s ease-out;
    -moz-transition: .2s ease-out;
    -webkit-transition: .2s ease-out;
    transition: .2s ease-out;
}
.votebtn:hover {
    text-shadow: none;
    -webkit-box-shadow: 1px 2px 20px 1px rgba(200,181,69,1);
    -moz-box-shadow: 1px 2px 20px 1px rgba(200,181,69,1);
    box-shadow: 1px 2px 20px 1px rgba(200,181,69,1);
}
.video-voting-section{
    position: relative;
}
.g-recaptcha{
    z-index: 2;
    position: relative;
    margin: 0 auto;
    display: inline-block;
}

.video-voting-section .votebtn{
    padding: 12px 15px 9px;
    font-size: 20px;
    margin: 12px;
}
.video_preview {
    background-color: rgba(0, 0, 0, 0.6);
}
.video_preview_title, .video_preview_author, .video_preview_description {
    color: #FFF;
    font-size: 18px;
    padding: 2px 5px;
}
.video_preview_author {
    font-size: 15px;
}
.video_preview_description, .video_preview_description p{
    color: #fff;
    font-size: 15px;
    font-family: Roboto-Regular;
}
.video_detail_container{
    width: 80%;
    padding: 0px 5px 8px;
    max-height: 150px;
    margin: 10px 0;
    position: relative;
}
#myModal{
    background-color: rgba(0, 0, 0, 0.6) !important;
    width: 800px !important;
}
#login-button.disabled, #final-vote.disabled{
    background-color: #825e1b;
    cursor: not-allowed;
}
#login-button.disabled:hover, #final-vote.disabled:hover{
    box-shadow: none;
}
#final-vote{
    font-size: 16px;
    padding: 8px 14px 5px;
    float: right;
    margin: 6px 10px 20px;
    -webkit-appearance: initial;
}
.error {
    text-shadow: 0px 0px 1px #000;
    font-family: 'Lato';
}
.thank-you{
    position: fixed;
    width: 500px;
    min-height: 200px;
    background-color: #d0962a;
    top: 30%;
    text-align: center;
    z-index: 9999;
    padding: 59px 10px;
    box-sizing: border-box;
    left: 0;
    right: 0;
    margin: 0 auto;
    -webkit-box-shadow: 1px 2px 20px 1px rgba(200,181,69,1);
    -moz-box-shadow: 1px 2px 20px 1px rgba(200,181,69,1);
    box-shadow: 1px 2px 20px 1px rgba(200,181,69,1);
    z-index: 9999;
}
.thank-you p{
    color: #482704;
    font-size: 27px;
    font-family: 'TrajanPro-Bold';
}
.thank-you .back-btn {
    background-color: #4B360B;
    margin: 0 auto;
    padding: 9px;
    width: 67px;
    color: #FFF;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    margin-top: 20px;
    cursor: pointer;
    o-transition: .2s ease-out;
    -ms-transition: .2s ease-out;
    -moz-transition: .2s ease-out;
    -webkit-transition: .2s ease-out;
    transition: .2s ease-out;
}
.back-btn:hover {
    text-shadow: none;
    -webkit-box-shadow: 1px 2px 20px 1px rgb(84, 76, 13);
    -moz-box-shadow: 1px 2px 20px 1px rgb(84, 76, 13);
    box-shadow: 1px 2px 20px 1px rgb(84, 76, 13);
}
.blur-effect-3 {
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
    -webkit-transition: opacity .5s ease-in;
    -moz-transition: opacity .5s ease-in;
    -o-transition: opacity .5s ease-in;
    -ms-transition: opacity .5s ease-in;
    transition: opacity .5s ease-in;
}
.super-overlay{
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: transparent;
    z-index: 999;
}
#loader-notice {
    background-color: rgba(0,0,0,0.7);
    position: fixed;
    bottom: 70px;
    z-index: 2;
    width: 200px;
    margin-left: -100px;
    left: 50%;
    padding: 20px;
    text-align: center;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#loader-notice span {
    color: #fff;
    font-size: 15px;
}

.loader:before,
.loader:after,
.loader {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
}
.loader {
    margin: 0 auto;
    position: absolute;
    color: #FFF;
    top: 10px;
    z-index: 1;
    left: 0;
    right: 0;
    font-size: 10px;
    /* margin: 0px auto; */
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.loader:before {
    left: -3.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loader:after {
    left: 3.5em;
}
.loader:before,
.loader:after {
    content: '';
    position: absolute;
    top: 0;
}
@-webkit-keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}
@keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}
.dropbtn-videos{
    background-color: transparent;
    color: #f4d197;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    height: 38px;
    text-align: left;
    width: 96%;
    margin: 0 10px;
    position: relative;
    font-family: TrajanPro-Regular;
    padding: 10px;
    color: #000;
    padding-top: 13px;
    padding-left: 11px;
    display: none;
}
.dropbtn-videos span{
    padding-left: 30px;
}
.dropbtn-videos:hover,   .dropbtn-videos:focus {
    background-color: transparent;
    outline: none;
}


.dropbtn-videos:after{
    content: " ";
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid #2d200b;
    position: absolute;
    right: 14px;
    top: 15px;
}
.mobiledropdown{
    position: absolute;
    z-index: 3;
    background-color: #B8CB89;
    width: 100%;
    left:0;
    right: 0;
}


@media (max-width: 1068px) {
    .video-list-items {
        width: 32%;
        margin: 5px;
    }

}
@media (max-width: 850px) {
    .modal{
        width: 97% !important;
        text-align: left !important;
    }

    #full-mediaplayer{
        width: 100%;
        height: 330px;
    }

    #full-mediaplayer{
        width: 100%;
        height: 350px;
    }

    .video-list-items {
        width: 48%;
        margin: 7px;
    }

}
@media (max-width: 768px) {
    .video-list-items {
        width: 47%;
    }
    .video-desc .fleft{
        width: 100%;
        padding-right: 0;
    }
    .video-desc .fright {
        text-align: left;
        width: 100%;
        float: left;
    }
    .video-desc .votebtn{
        width: 65px;
        float: left;
    }
    .video-desc .votecount{
        float: left;
        font-size: 14px;
        padding: 6px;
    }
    #vote-heading img{
        min-width: 56%;
        width: 65%;
    }
    .category-list{
        padding-left: 0;
    }
    .category-list .category-item{
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.6);
        padding-left: 65px;
    }
    .category-list .category-item:last-child{
        border-bottom: none;
    }
}
@media (max-width: 750px) {
    .modal{
        top: 20px;
    }
    .video_preview_title {
        font-size: 16px;
    }
    .video_preview_author{
        font-size: 14px;
    }
    .video_preview_description {
        font-size: 13px;
    }
    .video_detail_container{
        width: 100%;
        padding: 5px;
    }
    .video_detail_container{
        width: 100%;
    }
    .video-voting-section {
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }
    #final-vote {
        padding: 15px 12px 11px;
        float: none;
    }
    .category-list .category-item {
        border-bottom: 2px solid rgba(86, 115, 91, 0.4);
        padding: 17px 10px 14px;
        opacity: .8;
        padding-left: 35%;
    }
    .category-list #character:before, .category-item:before {
        content: "";
        width: 34px;
        height: 34px;
        position: absolute;
        left: -4px;
        top: 2px;
        background-size: 34px;
        left: 80px;
    }

}
@media (max-width: 520px) {

    #full-mediaplayer{
        height: 240px;
    }
    .sorting-section{
        width: 100%;
    }
    .sort-types p {
        padding: 6px 12px;
    }
    #community-voting-container{
        padding: 8px;
    }
    .sorting-section:before{
        width: 96px;
        height: 96px;
        left: 0;
        top: -6px;
        background-size: 96px;
    }
    .video-list-items {
        margin: 3px;
        width: 48%;
        min-width: 145px;
        min-height: 220px;
    }
    .video-list-items .image-bg{
        height: 145px;
    }
    .video-voting-section .votebtn{
        margin: 10px auto;
        font-size: 17px;
        width: 80px;
    }
    .thank-you{
        width: 94%;
    }
    .thank-you h2{
        font-size: 22px;
    }
    .thank-you .back-btn {
        padding: 7px;
        font-size: 15px;
    }
}

@media (max-width: 450px) {

    #full-mediaplayer{
        height: 240px;
    }
    .sorting-section{
        width: 100%;
    }
    .sort-types p {
        padding: 6px 12px;
    }
    #community-voting-container{
        padding: 4px;
    }
    .sorting-section:before{
        width: 96px;
        height: 96px;
        left: 0;
        top: -6px;
        background-size: 96px;
    }
    .video-list-items .image-bg{
        height: 120px;
    }
    .videos-listing {
        margin-top: 40px;
    }
    #vote-heading img {
        width: 100%;
    }
    .dropbtn-videos:after {
        right: 5px;
        top: 15px;
    }
}

@media (max-width: 375px) {
    #full-mediaplayer{
        height: 210px;
    }
    .dropbtn-videos span {
        padding-left: 0px;
        font-size: 14px;
    }
    .category-list #character:before, .category-item:before {
        left: 40px;
    }
    .dropbtn-videos:before {
        left: -23px !important;
        top: 0px;
    }

}
@media (max-width: 320px) {
    .sort-types p {
        padding: 6px 4px;
    }

}