.aphg-white-content {
    display: block;
    cursor: move;
    position: fixed;
    width: 300px;
    height: 408px;
    padding: 20px 5px 0 16px;
    background-color: white;
    z-index:200000;
    overflow: auto;
    box-shadow: 1px 1px 5px #888888;
}
.aphg-loader-block{
    background-image: url('../images/loader.gif');
    background-position: center center;
    background-size: 20px;
    background-repeat: no-repeat;
    height: 26px;
}
#aphg-visual-conteiner .aphg-loader-block{
    height:100%;
    display: inline-block;
    width: 28px;
    margin: 0;
    padding: 0;
}
.aphg-white-content label{
    display: inline-block;
    vertical-align: baseline;
    margin-right: 6px;
}
.aphg-play-on{
    margin-right: 10px;
}
.aphg-vc-gif-frame{
    display: inline-block;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
}

#aphg-popup-close{
    cursor: pointer;  
    right:2%;  
    top: 0.5%;  
    position:absolute;  
    color:#6fa5e2;  

}
#aphg-gif-conteiner{
    margin-top:7px;
    margin-bottom: 10px;
    overflow: auto;
    height:76%;
    cursor: pointer;
    position: relative;
}
#aphg-medialibrary-button{
    margin:0 !important;
}
#aphg-media-buttons{
    vertical-align: top;
    display:inline-block;
    float:none;
    width: 25px;
    height: 25px;
}
#aphg-shearch-bar{
    width: 85%;
}
.aphg-popup-radiobutton-div{
    margin: 16px 0;
   
}


#aphg-gif-conteiner img{
    width:100%;
    cursor: pointer;  
}
#aphg-visual-conteiner {
    width: 100%;
    height:100px;
    overflow-x:scroll;
    overflow-y:hidden;
    white-space: nowrap;
    position: relative;
}
#aphg-visual-parent img{
    height:100%;
    width: auto;
    cursor: pointer;
    padding-right: 3px;
}
#aphg-visual-parent{
    width: 100%;
}


.vc_ui-panel-window-inner{
    width: 100%;
    flex-basis: auto !important;

}
.aphg-visual-add-gif{
    margin-top: 0;
    display: block;
    float: left;
    height: 80px;
    width: 80px;
    background: url('../images/add.png') center center no-repeat #F5F5F5;
    border: 1px solid #DFDFDF;
    font-size: 0;
    color: #F5F5F5;
}
.aphg-visual-gif-conteiner{
    position: relative;
    background: #F5F5F5;
    padding: 0;
    float: left;
    margin: 0 5px 5px 0;
    height: 80px;
    width: 80px;
    line-height: 75px;
    text-align: center;
    border: 1px solid #DFDFDF;
    overflow: hidden;
    display:none;
}
.aphg-visual-gif-conteiner img{
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;

}
.aphg-icon-remove{
    background: url('../images/remove.png') center center no-repeat;
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
#aphg-radiobutton-parent input{
    width:16px !important;    
}
.aphg-close {
    color: #666666;
    float: right;
    font-size: 2em;
    font-weight: bold;
}

.aphg-close:hover{
    color: #00a0d2;
    cursor: pointer;
}
.aphg-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.aphg-loader-layer:before{
    content: '';
    background-image: url('../images/loader.gif');
    background-position: center center;
    background-size: 20px;
    background-repeat: no-repeat;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
}
#aphg-gif-conteiner.aphg-loader-layer{
    overflow: hidden;
}
