
/* subtop */
#subtop {
    position: relative;
}
#subtop .fbox {
    height: 600px;
}
#subtop .con {
    padding: 0 15px;
    width: 100%;
}
@media (min-width:1830px) {
    #subtop .con {
        max-width: 1830px;
    }
}
@media (max-width:992px) {
    #subtop .fbox {
        height: 400px;
    }
}
@media (max-width:767px) {
    #subtop {
        background-size: cover !important;
    }
    #subtop .fbox {
        height: 250px;
        padding-top: 0px;
    }
}

/* ourstory_sec2 */
#ourstory_sec2 .bg {
    background: url(../img/ourstory_sec2.jpg) center center no-repeat;
    background-size: cover;
}
@media (min-width:768px){
    #ourstory_sec2 .fbox {
        height: 550px;
    }
}

/* pmList */
.pmList .item .img {
    text-decoration: none;
    display: block;
    overflow: hidden;
}
.pmList .item .img img {
    transform: scale(1);
    
    transition: all 1.5s;
    -o-transition: all 1.5s;
    -moz-transition: all 1.5s;
    -webkit-transition: all 1.5s;
}
.pmList .item .img:hover img  {
    transform: scale(1.1);
}
.pmList .item .txt {
    height: 130px;
}
.pmList .item .txt a {
    display: inline-block;
    background-color: #fff;
    text-decoration: none;
    line-height: 1em;
    padding: 3px 13px 3px 9px;
    border-radius: 90px;
}
@media (max-width:768px){
    .pmList .item .txt {
        height: auto;
        margin-bottom: 20px;
    }
}


/* mapbox */
.mapbox .root_daum_roughmap {
	border: 0px !important;
	padding: 0px !important;
}
.mapbox .root_daum_roughmap .map_border {
    opacity: 0;
}
.mapbox .root_daum_roughmap .wrap_map,
.mapbox iframe {
    height: 550px !important;
}
@media (max-width:768px) {
	.mapbox .root_daum_roughmap .wrap_map,
	.mapbox iframe {
		height: 250px !important;
	}
}

/* pharmacy_view */
#pharmacy_view .pharmacy_info {
    
}
@media (max-width:768px) {
    #pharmacy_view .pharmacy_info > div {
        width: 100%;
    }
    #pharmacy_view .pharmacy_info > .rt {
        padding-top: 30px;
    }
}

/* contactForm */
.contactForm .form-item {
    position: relative;
}
.contactForm .form-item:not(.textareaItem) > label {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 90px;
    display: flex;
    align-items: center;
    padding-left: 0px;
}
.contactForm .form-item > label .c_pt {
    display: inline-block;
    margin-left: 3px;
}
.contactForm select.form-common,
.contactForm input.form-common[type="tel"],
.contactForm input.form-common[type="email"],
.contactForm input.form-common[type="text"] {
    height: 50px;
}
.contactForm .form-common {
    box-shadow: 0 0 0;
    border-radius: 0px;
    border: 0px solid rgba(68, 68, 68, 0.5);
    border-bottom: 1px solid rgba(68, 68, 68, 0.5);
    border-bottom-width: 1px;
    font-weight: 500;
    font-size: 1.8rem;
    background-color: transparent;
}
.contactForm .textareaItem .form-common {
    border: 1px solid rgba(68, 68, 68, 0.5);
}
.contactForm input.form-common[type="file"] {
    border-width: 1px;
    padding: 1px;
}
.contactForm .checkWrp {
    line-height: 50px;
}
.contactForm .form-item .form-common:not(textarea) {
    padding-left: 95px;
}
.contactForm label {
    font-size: 1.8rem;
    line-height: 1em;
    color: #111;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 500;
}
.contactForm label .c_rd {
    display: inline-block;
    margin-left: 5px;
}
.contactForm .btnItem {
    width: 100%;
}
.contactForm .agrees input,
.contactForm .agrees label,
.contactForm .agrees strong {
    font-size: 1.4rem;
    display: inline-block;
    vertical-align: middle;
    margin: 0px;
}
.contactForm .agrees input {
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}
.contactForm .agrees label {
    padding-left: 30px;
    position: relative;
}
.contactForm .agrees label:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #ddd;
    transform: translateY(-50%);
}
.contactForm .agrees input[type="checkbox"]:checked + label:before {
    background-color: #111;
    border-color: #111;
}
.contactForm .agrees label:after {
    font-family: remixicon !important;
    content: "\eb7b";
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 0;
    width: 25px;
    height: 25px;
    transform: translateY(-50%);
    opacity: 0;
}
.contactForm .agrees input[type="checkbox"]:checked + label:after {
    color: #fff;
    opacity: 1;
}
.contactForm .agrees strong {
    font-weight: 600;
    cursor: pointer;
    margin-left: 5px;
    border-bottom: 1px solid #aaa;
}
.contactForm .checkboxWrp {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

@media (max-width:768px){
    .contactForm .checkWrp {
        line-height: 30px;
    }
    .contactForm .checkWrp .checkbox-custom {
        margin: 0px !important;
        margin-right: 5px !important;
    }
}

/* withus */
#withus .withusWrp {
    margin: 0 -30px;
}
#withus .withusWrp.sub1 {
       padding: 30px 20px;
    border: 13px solid #d7cf61;
}
#withus .withusWrp.sub2 {
       padding: 30px 20px;
    border: 13px solid #fb6b00;
}
#withus .withusWrp > div {
    padding: 0 30px;
}
#withus .wTit {
    gap: 8px;
}
@media (min-width:767px){
    #withus {
        background: url(../img/withus_bg.png) left center no-repeat;
        background-attachment: fixed;
    }
}
@media (max-width:992px){
    #withus .withusWrp .second {
        margin-top: 100px;
    }
}
@media (max-width:768px){
    #withus .withusWrp .second {
        margin-top: 70px;
    }
}
/* privacyBtn */
.privacyBtn {
    display: inline-block;
    border-bottom: 1px solid #aaa;
    cursor: pointer;
}

/* pList */
.pList > li {
    position: relative;
    padding-left: 15px;
    margin: 3px 0;
}
.pList > li:not(.emp):after {
    content: "";
    position: absolute;
    left: 0;
    top: 11px ;
    width: 3px;
    height: 3px;
    background-color: #aaa;
}
.pList > li p {
    font-weight: 300;
}
@media (max-width:767px){
    .pList > li:after {
        top: 8px ;
    }
}
/* hList */
.hList > li {
    position: relative;
    padding-left: 15px;
    margin: 10px 0;
}
.hList > li:after {
    content: "";
    position: absolute;
    left: 0;
    top: 15px ;
    width: 4px;
    height: 4px;
    background-color: #aaa;
}
.hList > li h4 {
    font-weight: 300;
}
@media (max-width:768px){
    .hList > li:after {
        top: 11px ;
    }
}