@charset "utf-8";
/* ask latest 모바일용 */
.gallery_latest{
   
}
.gallery_latest a{
    
}
.gallery_latest h3{
    font-size: 1.1em; display: block; padding: 5px 0 5px 15px; font-weight: normal;  position: relative;
}
.gallery_latest_list{
    position: relative; display: block; padding: 0; margin: 0; overflow: hidden;  padding: 0px 0px; list-style: none; min-height: 130px; vertical-align: top;
    /* 테두리 */
}
.al_gallery_item{
    display: inline-block; position: relative; overflow: hidden; border:1px solid #e7e7e7;height:365px;margin:0 4px 20px 10px;}

.gallery_comment_count{
    font-size: .9em; color: #993300
}
.gallery_comment_count .cnt_cmt{
    margin: 0; padding: 0;
}
.thumb{
    /*padding: 5px*/
}
.gallery_subject{
    display: block; height: 28px; text-align: left; padding: 0 0 0 5px; border-top: 1px solid #ccc; margin: 0; overflow: hidden;
}
i.fa{
    color: #fff;
}
 

 .gall_contents {margin:0px 10px 0 10px;display:inline-block;font-size:1.1em;height:30px;}
.gall_counselor {display:inline-block;font-weight:bold;font-size:1.4em}
.gall_counselor_tel { float:right; }
 .gall_text_href {margin:20px 0 !important}
 .gall_text_href a  {margin:0px 10px 0 10px;font-weight:bold;color:#2a2a2a;font-size:1.2em;}
 .gall_text_href span {display:inline !important}
 .gall_text_href img {margin:0 0 0 4px}


.list_comments_contents{margin:5px 10px 0 10px;}
.list_comments {margin:5px 0 0 5px;padding:0;float:left;width:98%;}

.list_tel {
margin:10px 10px 0 10px;
display:inline-block;
font-size:1.4em;
font-weight:bold;
text-align:center;
background:#e8e8e8;
width:195px;
line-height:2.0em;
vertical-align:middle;
border:1px solid #eee;border-radius:10px;color:#454545;
}
.list_tel_code {
color:#ff0000;
}



.gall_ltop {
position:absolute;margin:0;padding:0;width:76px;height:68px;
/*background:url('../theme/sajujari/img/img_ltop.png') no-repeat;z-index:10;*/
}
.gall_ltop_txt {
position:absolute;margin:0;padding:5px 0 0 7px;width:76px;height:68px;
z-index:11;
font-size:1.6em;
color:#fff;
font-weight:bold;
}


.ribbon {
  position: absolute;
  right: -5px; top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px; height: 75px;
  text-align: right;
}
.ribbon span {
  font-size: 10px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 100px;
  display: block;
  background: #79A70A;
  background: linear-gradient(#2989d8 0%, #1e5799 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 19px; right: -21px;
}
.ribbon span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid #1e5799;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #1e5799;
}
.ribbon span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #1e5799;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #1e5799;
}



/* 스마트폰 (가로 및 세로) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    /* 사용자 코드 */
    .more_view{
        top: 3px;
    }
    .more_view .button{
        padding: .05rem .25rem;
    }
}

/* 스마트폰 (가로 ) ----------- */
@media only screen and (min-width : 321px) {
    /* 사용자 코드 */
}

/* 스마트폰 (세로) ----------- */
@media only screen and (max-width : 320px) {
    /* 사용자 코드 */
}

/* 아이패드 (가로 및 세로) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    /* 사용자 코드 */
}

/* 아이패드 (가로) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    /* 사용자 코드 */
}

/* 아이패드 (세로) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    /* 사용자 코드 */
}

/* PC 및 노트북 ----------- */
@media only screen and (min-width : 1224px) {
    /* 사용자 코드 */
}

/* 대형 스크린 ----------- */
@media only screen and (min-width : 1824px) {
    /* 사용자 코드 */
}

/* 아이폰 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
    /* 사용자 코드 */
}

/* 아이폰 5 & 5S 가로 및 세로 */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) {
    /* 사용자 코드 */
}

/* 아이폰 5 & 5S 가로 ------ */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {
    /* 사용자 코드 */
}

/* 아이폰 5 & 5S 세로 ------ */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait) {
    /* 사용자 코드 */
}

/* 아이폰 6 세로 및 가로 */
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) {
    /* 사용자 코드 */
}

/* 아이폰 6 가로 */
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape) {
    /* 사용자 코드 */
}

/* 아이폰 6 세로 */
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : portrait) {
    /* 사용자 코드 */
}

/* 아이폰 6 Plus 가로 및 세로 */
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) {
    /* 사용자 코드 */
}

/* 아이폰 6 Plus 가로 */
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : landscape) {
    /* 사용자 코드 */
}

/* 아이폰 6 Plus 세로 */
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : portrait) {
    /* 사용자 코드 */
}

/* 아이패드 미니 가로 및 세로 */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 1)  {
    /* 사용자 코드 */
}

/* 아이패드 미니 가로 */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio: 1)  {
    /* 사용자 코드 */
}

/* 아이패드 미니 세로 */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 1)  {
    /* 사용자 코드 */
}