/* set social media checkbox */
#premium_msg{
    font-size: 22px;
    display: inline;
    color: #e94259;
}
.social_main .disp_sm {
    max-width: 70%;
    margin: 0!important;
    display: flex!important;
    align-items: center;
    flex-wrap: wrap;
}
.social_main .disp_sm .social_disp{
    width: fit-content;
    margin: 0;
    width: 100px;
    max-width: 40%;
    margin-right: 12px;
    margin-bottom: 10px;
    display: inline-block;
}
.social_main > label {
    float: left;
}
.social_disp {
    display: inline-block;
    width: auto !important;
    margin-right: 12px;
}
.disp_sm {
    display: inline-block;
    width: auto !important;
}
/* end */

.gallery_details_metabox .button, .g-settings .button, .post-type-edgegallery #publishing-action .button{
    background-color: #e94259 !important;
    border-color: #e94259 !important;
    transition: all 0.5s;
}

.gallery_details_metabox .button:hover, .g-settings .button:hover, .post-type-edgegallery #publishing-action .button:hover {
    background-color: #ff5050 !important;
    border-color:  #ff5050 !important;
}

.gallery_details_metabox div {
    display: inline-block;
    width: 100%;
    margin: 0 auto 15px auto;
}

.gallery_details_metabox div > label:first-child {
    width: 20%;
    display: inline-block;
}
.gallery_details_metabox  .each-gallery-image {
    border-bottom: 1px solid #ccc;
    padding: 15px;
    box-sizing: border-box;
    margin-bottom: 0 !important;
}
.each-gallery-image .text_sec{
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
    width:28%;
}
a{
    display: inline-block;
}
.text_sec_main {
    display: inline-block;
    vertical-align: top;
    margin-right: 5px !important;
    width: 30% !important;
}
.each-gallery-image .text_sec input[type="text"],.each-gallery-image .text_sec textarea, .each-gallery-image .text_sec_main input[type="text"]{
    width:100%;
}
.each-gallery-image label{
    vertical-align: top !important;
    display: inline-block;
    margin-right: 5px !important;
    width:3.5%;
}
.each-gallery-image span img{
    width: 100px;
    margin-right: 10px;
}
.each-gallery-image span{
    display:inline-block;
    width:25%;
}
.each-gallery-image .remove_image{
    vertical-align: top !important;
    margin-right: 8px;
}
.jscolor{
    text-transform:uppercase;
    width: 100px;
}
.remove_sec, .add_image, .move_me{
    display: inline-block;
    vertical-align: top !important;
    margin-right: 8px !important;
}
.move_me{
    border-radius: 3px;
    background-image: url(../images/tango-arrow.png);
    background-size: contain;
    width: 28px !important;
    height: 28px;
}

i.gallery_note {
    font-size: 12px;
}


.post-type-edgegallery #edit-slug-box {
    display: none;
}

.disable ,.disable input[type="text"] ,.disable textarea
{
    /*content: "For Premium users only" !important;*/
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.normal_user_message {
  position: absolute;
  font-size: 30px;
  color: black;
  width: 100%;
  left: 50%;
  top: 40%;
  left: 0;
  text-align: center;
  text-transform: uppercase;
}
.g-settings {
  position: relative;
}

/*nitin 03-07-2020*/

.each-gallery-image p {
    margin:0;
    display: flex;
}
.each-gallery-image .text_sec{
    margin:0 10px
}
.each-gallery-image input,
.each-gallery-image textarea{
}
.each-gallery-image .text_sec input{
    margin-bottom:20px;
    line-height: 1.2;
}
.gallery_details_metabox .gallery_section{
        border: 1px solid #ccc;
    padding:  0;
    box-sizing: border-box;
}
.each-gallery-image .remove_sec.button{
    margin-right: 0!important;
}

.each-gallery-image input.remove_sec {
      width: 22px;
    height: 22px;
    padding: 0;
    font-size: 0;
    min-height: 20px;
    border-radius: 50%;
    margin-left: -21px;
    margin-top: -8px;
    background-position: -20px -2px;
    background-image: url(../images/remove-icons-white.png)!important;
    background-repeat: no-repeat;
    background-color: #ff5050;
    transition: all 0.3s;
    background-size: 37px!important;
    border: 2px solid #ffffff!important;

}
.each-gallery-image input.remove_sec:hover {
    background-position: -20px -2px;
   background-image: url(../images/remove-icons-white.png)!important;
   background-color: #ff5050!important;
    border: 2px solid #ffffff!important;

}

.each-gallery-image a.remove_sec {
    width: 30px;
    height: 30px;
    min-height: 30px; 
    box-sizing: border-box;
    font-size: 0;
   /*  border-color: #0071a1!important; */
    background-position: 2px 0px!important;
    background-image: url(../images/remove-icons-white.png)!important;
    background-repeat: no-repeat;
    transition: all 0.3s;
}
.each-gallery-image a.remove_sec:hover {
  background-image: url(../images/remove-icons-white.png)!important;
  background-color: #ff5050 !important;
    border-color: #ff5050 !important;

}
.wp-core-ui .button-primary.focus, .wp-core-ui .button-primary:focus {
    outline: 0!important;
    box-shadow: none;
}

.each-gallery-image:nth-child(odd) {
    background-color: #f9f9f9;
}
.gallery_details_metabox img {
    max-width: 100%;
}

@media(max-width:575px){
.each-gallery-image p {
    flex-wrap: wrap;
}
    .text_sec_main {

    width: 40% !important;
}

.each-gallery-image .text_sec {
    margin: 0px;
}
.each-gallery-image .text_sec {
    width: 100%;
}

.each-gallery-image span img {
    margin-bottom: 10px;
}
.gallery_details_metabox .each-gallery-image{
    position: relative;
}
.each-gallery-image a.remove_sec{
    float: right;
    margin-top: 10px;
    margin-left: auto;
    position: absolute;
    right: 15px;
    top: 5px;
}
.gallery_details_metabox label {
    margin-right: 15px;
}

}



@media(min-width:576px) and (max-width: 767px){

.text_sec_main {
    width: 20% !important;
}
.each-gallery-image .text_sec {
    display: inline-block;
    width: 30%;
}

#gallery_setting input{
    line-height: 1.2;
}
}