/* ----- thickbox and popup ----- */
.bg_thickbox1 
{
    background-color: rgba(0,0,0,0.7); position:fixed; top:0; left:0; width:100%; height: 100%; min-height: 100%; z-index:100; display:none;
}
.popupBlock1 
{
    position:fixed; border:0; z-index:101;  max-width: 480px;
    min-height: 230px;
    min-width: 320px;   	
}
.popupBlock1_container 
{
    max-width:460px; margin:auto; margin-top:180px; padding:0; position:relative; background-color:#ffffff;
    border-width:0px;
    border-style:solid;
    border-color:#01b5b2;
    /*min-width:460px;*/
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.popupBlock1_container .header_popup1 
{
    font-size:16px; color:#ffffff;
    border:none;
    overflow:hidden;
    z-index:10;
    padding:0;
    background-color:#6D2C7F;
    height:35px;  
    line-height:35px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;  
	width:100%;
	text-align:center;
}
.popupBlock1_container > .content1 {padding:15px; max-height: 600px;
	overflow-y: auto; /* has to be scroll, not auto */
  	-webkit-overflow-scrolling: touch;
}

@media screen and (max-height:600px) {
 .popupBlock1_container > .content1 {max-height: 450px;
      	overflow-y: auto; /* has to be scroll, not auto */
      	-webkit-overflow-scrolling: touch;
    }
}
@media screen and (max-height:360px) {
	.popupBlock1_container > .content1 {max-height: 260px;
    	overflow-y: auto; /* has to be scroll, not auto */
  		-webkit-overflow-scrolling: touch;
    }
}
/* ----- thickbox and popup END ----- */