.cpb-modal {
    z-index: 9999999;
    padding-top: 100px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
#cpb .custom-pop-box {
    margin: auto;
    background-color: #fff;
    position: relative;
    padding: 0;
    outline: 0;
    width: 560px;
}
#cpb .custom-modal-header {
    padding: 20px 15px;
}
#cpb .custom-modal-header button {
    background: transparent;
    padding: 0;
    font-size: 15px;
    font-weight: bold;
    color: #259fc4;
    border: 1px solid #259fc4;
    border-radius: 34px;
    width: 20px;
    height: 20px;
    line-height: 14px;
    position: absolute;
    right: 15px;
}
#cpb .custom-modal-header h3 {
    border-left: 3px solid #e54e53;
    line-height: 24px;
    text-transform: uppercase;
    margin-top: 0px;
    padding: 0 0 0 18px;
    font-size: 16px;
    color: #000;
    text-align: center;
    font-weight: bold;
}
#cpb .custom-modal-header {
    position: relative;
    width: 100%;
    float: left;
    padding: 20px 15px;
    background: #fff;
}

#cpb .custom-modal-body {
    background: #f1f1f1!important;
    position: relative;
    padding: 15px;
    font-size: 14px;
    float: left;
    width: 100%;
    text-align: center;
}

#cpb .custom-pop-box a {
    color: #e54e53;
}
#cpb .custom-pop-box input[type="text"] {
    border: 1px solid #d9d9d9;
    padding: 7px 14px;
    outline: 0;
    font-size: 14px;
    color: #a6a6a6;
    max-width: 100%;
    border-radius: 0;
    width: 200px;
    display: inline-block;
	    height: 40px;
}
#cpb .custom-popup-field span {
    border: 1px solid #259fc4;
    border-left: none;
    padding: 7px;
    background: #259fc4;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
}

#cpb .custom-popup-field span a {
    color: #fff;
	text-decoration:none;
	border:none;
	box-shadow: none;
}

#cpb .custom-model-footer {
    float: left;
    width: 100%;
    padding: 15px;
    background: #fff;
}
#cpb .custom-img-box {
    float: left;
    border: 1px solid #ddd;
    padding: 27px 8px;
	width: 20%;
}
#cpb .custom-img-box img {
    width: 91px;
}
#cpb .custom-img-text {
    margin-left: 15px;
    float: left;
	width: 75%;
}
#cpb .custom-popup-btn {
    border: 1px solid #259fc4;
    border-left: none;
    padding: 0px 7px 0px;
    background: #259fc4;
    font-size: 13px;
    font-weight: normal;
	height: 40px;
    border-radius: 0px;
	    float: left;
    margin-left: 10px;
}
#cpb .custom-pop-box:after,.custom-pop-box:before {
    content: "";
    display: table;
}
#cpb .custom-pop-box:after {
    clear: both;
}
#cpn_subscriptions form {
    float: right;
    width: 100%;
}
#cpb #cpn_subscriptions form input[type="text"] {
    width: 70%;
	 height: 40px;
	margin-bottom:10px;
	float:left;
}
#cpb p {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: normal;
}

@media(max-width:767px){
	#cpb{
		padding:0 15px;
	}
#cpb .custom-pop-box {
    top: 50%;
    margin-top: -220px;
}
#cpb .custom-pop-box {
    max-width: 100%;
}
#cpb .custom-modal-header h3 {
    width: 90%;
}
}
@media (max-width: 767px) and (orientation : landscape) {
	  #cpb .custom-pop-box {
    margin-top: -100px;
}

}

@media(max-width:480px){
#cpb .custom-pop-box input[type="text"],#cpb #cpn_subscriptions form input[type="text"] {
    width: 100%;
    margin-bottom: 10px;
}
#cpb .custom-popup-field span {
    padding: 7px 0px;
    width: 110px;
}
#cpb .custom-img-box {
    width: 100%;
	padding: 15px 8px;
}
#cpb .custom-img-box img {
    margin: 0 auto;
}
#cpb .custom-img-text {
    margin-left: 0;
    width: 100%;
}
#cpb .custom-popup-btn {
    width: 100%;
	margin-left:0px;
}
#cpb .custom-pop-box {
    height: 420px;
    overflow-y: scroll;
}

}


