.btn-modal,
.content-button-close {
    padding: 13px 30px;
    background: #fff;
    color: #0B1847;
    font-size: .7em;
    display: block;
    text-transform: uppercase;
    transition: all .2s;
    text-align: center;
    width: 200px;
    cursor: pointer
}
.btn-modal {
    border-radius: 60px;
    border: 2px solid #0B1847;
    position: relative;
    top: 150px;
    margin: 0 auto
}
.content-button-close {
    border-radius: 60px;
    border: 2px solid #0B1847;
    margin: 60px auto 0
}
.btn-modal:hover,
.content-button-close:hover {
    background: #0B1847;
    color: #fff
}
.closes {
    position: absolute;
    right: -20px;
    top: -20px;
    width: 30px;
    height: 30px;
    background: #F9A01B;
    font-weight: 900;
    color: #fff;
    cursor: pointer;
    border: 0;
    border-radius: 50px;
    -webkit-box-shadow: 0 9px 15px -5px rgba(0, 0, 0, .46);
    -moz-box-shadow: 0 9px 15px -5px rgba(0, 0, 0, .46);
    box-shadow: 0 9px 15px -5px rgba(0, 0, 0, .46)
}
.elegant-modal,
.maskload {
    left: 0;
    opacity: 0;
    position: fixed;
    visibility: hidden
}
.maskload {
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    z-index: 9998;
    transition: .7s
}
.elegant-modal {
    background-color: #F9A01B;
    border-radius: 5px;
    height: auto;
    margin: 0 auto;
    padding: 25px;
    right: 0;
    text-align: left;
    top: 50px;
    transform: translateY(45px);
    transition: all .5s ease-out 0s;
    width: 660px;
    z-index: 9999;
    -webkit-box-shadow: 0 9px 15px -5px rgba(0, 0, 0, .46);
    -moz-box-shadow: 0 9px 15px -5px rgba(0, 0, 0, .46);
    box-shadow: 0 9px 15px -5px rgba(0, 0, 0, .46)
}
.elegant-modal img {
    max-width: 100%;
    height: auto !important;
    padding: 0 !important;
    margin: 0 auto !important;
    float: left !important;
}
.elegant-modal a{ padding: 0px !important; }
.active {
    visibility: visible;
    opacity: 1;
    transition: all .2s
}
.active+.elegant-modal {
    visibility: visible;
    opacity: 1;
    transform: translateY(32px)
}
.elegant-modal h1.title-modal {
    margin: 40px 0 20px;
    padding: 0 15px
}
.elegant-modal hr.line-modal {
    border: 1px solid #F2F2F2
}
.elegant-modal .paragraph-modal p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    padding: 0 30px;
    text-align: left
}
.elegant-modal .paragraph-modal p a {
    color: #fff;
    margin: 2px 0 0 2px;
    padding: 0 15px;
    background-color: #2c90b5;
    border-radius: 30px;
    display: inline-block;
}
.elegant-modal .paragraph-modal p:lang(km) {
    font-size: 14px;
	line-height: 25px; 
	margin-bottom: 20px;
}
#acontact{ padding-bottom: 10px; }

@media screen and (min-width: 1367px) and (max-width: 1440px) {
	.elegant-modal {
		top: 85px;
        max-width: 750px
	}
	.active+.elegant-modal {
		transform: translateY(-20px)
	}
}
@media screen and (min-width: 992px) and (max-width: 1366px) {
    .elegant-modal {
		top: 50px;
        max-width: 750px
	}
	.active+.elegant-modal {
		transform: translateY(-25px)
	}
}


@media screen and (max-width: 767px) {
.closes {
    top: 0;
    right: 0;
}
.elegant-modal {
    width: 90%;
    overflow: auto;
	/*height: 80%;*/
	float: left;
	top: -15px;
}
.elegant-modal .paragraph-modal p {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 15px;
    padding: 0 12px;
}
.elegant-modal .paragraph-modal p:lang(km) {
    line-height: 20px;
	font-size: 12px;
}
.elegant-modal .paragraph-modal p a {
    padding: 0 4px
}
.paragraph-modal{padding-bottom: 3px;}
.paragraph-modal:lang(km){ padding-bottom: 0px; }

}



/* ----------- iPhone 6 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
   .elegant-modal { top: -10px;}

}

/* ----------- iPhone 5 and 5S ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {
	  .elegant-modal { top: -32px;}

}
/* ----------- iPhone 4 and 4S ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {
	  .elegant-modal { top: 2px;}

}
