.wpb-main-wrapper{
	/*position: fixed; 
	left: 50%; 
	top: 50%; 
	z-index: 9999; 
	border-radius: 0px; */
	text-align: center; 
	box-shadow: rgba(86, 85, 85, 0.388235) 2px 2px 10px 4px; 
	/*margin-left: -150px; 
	margin-top: -90px; 
	background-color: white;
    min-width:300px;
    min-height:180px;
    width:30%;
    height:auto;
    line-height: 0;
    overflow: hidden;
    display: none;
    padding:20px;*/
}
#wpb_overlay{
	display: block; 
	position: fixed; 
	top: 0px; 
	bottom: 0px; 
	left: 0px; 
	right: 0px; 
	width: 100%; 
	height: 100%; 
	opacity: 0.3; 
	z-index: 6000;
    
}
/*
.wpb_close_btn{
    position: absolute;
    top:0;
    right:0; 
    cursor: pointer;
    width: 24px;
    height: 24px;
    text-indent: -9999px;
    z-index: 999999;
    margin-right: 5px;
    margin-top: 5px;
    background: url("../images/cross-icon1.png") no-repeat;
    
}
*/
.wpb_close_btn{
    
    cursor: pointer;
    width: 24px;
    height: 24px;
    text-indent: -9999px;
    z-index: 999999;
    margin-right: 5px;
    margin-top: 5px;
    background: url("../images/close.png") no-repeat;

    /* Added css */
    position: absolute;
    right: 0;
    display: block;
    top: 5px;
    
}
.wpb-popup-content img, 
.wpb-popup-content{
	max-width: 100%;
}
.wpb-main-wrapper .wpb-popup-content .wpb-countdown-message {
   /* position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 10px;*/
    background:#ffffff;
    /*z-index: 999999;*/
    padding:10px;
}
.wpb-popup-content {
    position: relative;
    z-index: 9;
    margin: 0;
}
.wpb-background-content {
    width: 100%;
    margin-top: 10px;
    padding:05px;
    height:100%;
    line-height: 1.5;
    margin-bottom: 20px;
     display: block;
     box-sizing: border-box;
}
/*increase decrease*/
input[type=number] {
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    padding: 0 0 0 8px;
    position: relative;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
    display:inline-block;
    text-align:center;
    position:absolute;
    top: 0;
    right: 0;
    bottom:0;
    background: #fff url('../images/select-arrow1.png') no-repeat 50% 50%;  
    width: 14px;
    height: 26px;
    z-index: 999;
   
}  

.wpb-add-new {
    padding:30px 10px 5px 15px;
}  

/*increase decrease*/

/*.wpb-page-list{
	display: none;
}*/


/*------responsive-css-starts--------*/

@media (min-width:1200px) {
  /*  .wpb-main-wrapper {
        margin-left: -190px; 
        margin-top: -135px; 
    }*/
}

@media (max-width:1100px ) {
    
    .wpb-popup-sidebar {
        width:18%;
    }

    .wpb-general-options #wpb_form label  {
        width:20%;
    }

    .wpb-general-options #wpb_form .wpb-general-settings.wpb-input-field .wpb-input-field, 
    .wpb-general-options #wpb_form .wpb-display-settings.wpb-input-field .wpb-input-field  {
        width:77%;
        margin-left: 2%;
    }
}

@media (max-width:940px) {

}

@media (max-width:768px) {
    .wpb-add-set-wrapper {
        width: 100%;
        float:none;
    }

    .wpb-general-options {
        padding:10px;
    }

    .wpb-general-options form input[type=text], .wpb-general-options select,
    .wpb-general-options form input[type=number] {
        width: 60%;
    }

}

@media (max-width: 600px) {
    .wpb-add-set-wrapper .wpb-panel .wpb-manage-header h2.nav-tab-wrapper {
        border-bottom: 1px solid #ccc;
    }

    .wpb-add-set-wrapper .wpb-panel .wpb-manage-header h2.nav-tab-wrapper a.nav-tab{
        border-bottom: 0;
        margin-top:auto;
        margin-right: auto;
    }

    .wpb-add-set-wrapper .wpb-panel .wpb-manage-header h2.nav-tab-wrapper a.nav-tab.nav-tab-active {
        border-bottom: 1px solid #f1f1f1;
    }

    .wbp-left-section-wrapper, 
    .wpb-popup-sidebar {
        width: 100%;
        float: none;
    }

    .wpb-add-set-wrapper .wpb-panel .wpb-boards-wrapper .wpb-banner .wpb_main_heading {
        margin-bottom: 25px;
    }
    .wpb-main-wrapper{position:absolute;}


}

@media (max-width:480px) {
    .wpb-general-options #wpb_form label {
        width: 100%;
        margin-bottom: 10px;
    }

    .wpb-general-options #wpb_form .wpb-input-field {
        width: 100%;
    }
    .wpb-main-wrapper{position:absolute;}

}
.wpb-popup-timer-content {
    font-size: 12px;
    margin-top: 20px;
}


/* new css */

.wpb-main-wrapper {
    position: absolute;
    z-index: 999999;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
      
}

.wpb-popup-content p{
 /*font-size: 12px;*/
  /*line-height: 18px; */
  /*margin-top: 10px;*/
  
}

.wpb-popup-content h1{ margin:0; padding: 0;}
#wpb-scroll-div{ 
    height: 100%;
    /* overflow: auto; */
    box-sizing: border-box; 
    padding-bottom: 10px;
  }

  /*.wpb-main-wrapper.wpb-image-popup{ position: fixed; min-height: 200px; max-height: auto !important;}*/
  div#wpb-scroll-div.wpb-image-popup{
   height: auto;
   max-height: auto;
   bottom: auto;
   padding: 5px;
   margin-top: 8%;

 }

 div#wpb-scroll-div.wpb-main-wrapper.wpb-text-popup{
   display: block;
   padding: 5px;
}

 .wpb-main-wrapper h1,
 .wpb-main-wrapper h2,
 .wpb-main-wrapper h3,
 .wpb-main-wrapper h4,
 .wpb-main-wrapper h5,
 .wpb-main-wrapper h6
 {
  margin:0; padding: 0;
}
.wpb-main-wrapper  p{
 margin:0; padding: 5px 0;
}
.wpb-main-wrapper img{ 
    margin:0;  padding: 0;
}
.wpb-background-content p img{
  display:inline-block;
}

