body {
  margin: 0;
}

/* apply a natural box layout model to all elements, but allowing components to change */

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.search_images { margin: 0 -30px; }

.image-grid {
  width: calc(100% + 60px);
  /*max-width: 1310px;*/
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 5px 0;
}

.image__cell {
  float: left;
  position: relative;
}

.image--basic {
  padding: 0 5px;
}

.basic__img {
  display: block;
  max-width: 100%;
  /*height: auto;*/
  height: 140px;
  margin: 0 auto;
}

.image__cell.is-collapsed .image--basic {
  cursor: pointer;
}

.image__cell.is-collapsed {
  height: auto;
  overflow: hidden;
}
.image__cell.is-expanded {
  top: 0;
  margin-bottom: 10px;
  -webkit-transition:ease-out 0.2s; -moz-transition:ease-out 0.2s; -o-transition:ease-out 0.2s; transition:ease-out 0.2s;
}

.image--expand {
  position: relative;
  left: -5px;
  padding: 0 40px;
  box-sizing: content-box;
  overflow: hidden;
  background: #222;
  overflow: hidden;
  z-index: 0;
  margin-top: 0;
}

.image__cell.is-expanded .image--expand {
  margin-top: 10px;
}

.omm_con { width: 1200px; margin: 0 auto; height: 0px; padding: 0; overflow: hidden; box-sizing: border-box; position: relative; }
.image__cell.is-expanded .omm_con { height: 700px; padding: 150px 0; }
.omgg_left { float: left; }
.omgg_right { float: right; width: 450px; border-left: 1px solid rgba(255,255,255,.1); padding-left: 20px; }
.omgg_ul1 { padding-bottom: 10px; }
.omgg_ul1 .omm_tit { font-size: 20px; color: #fff; height: 46px; margin-bottom: 15px; -webkit-line-clamp:2; -webkit-box-orient:vertical; display:-webkit-box; text-overflow:ellipsis; overflow:hidden; }
.omgg_ul1 .omm_tit a { color: #fff !important; }
.omgg_ul1 .omm_txt { font-size: 14px; color: #fff; }
.omgg_ul1 .omm_txt strong { margin-right: 5px; color: #00a0e9; }
.omgg_ul1 .omm_txt span { font-size: 12px; color: rgba(255,255,255,0.06); display: inline-block; padding: 0 5px; vertical-align: middle; }
.omm_a2 { display: inline-block; padding: 2px 5px; color: #ff6666 !important; border: 1px solid rgba(255,255,255,0.08); border-radius: 3px; vertical-align: middle; font-size: 12px; margin-left: 5px; cursor: pointer; }
.omm_a2:hover { border-color: #ff6666 !important; }
.omm_imm_list, .omm_imm_list ul { overflow: hidden; }
.omm_imm_list { padding-top: 90px; }
.omm_imm_list * { box-sizing: border-box; }
.omm_imm_list ul li { padding: 2px; width: 25%; float: left; }
.omm_imm_list ul li .smalls { width: 100%; height: 108px; cursor: pointer; }
.omm_imm_list ul li .bigs { position: absolute; top: 150px; left: 0; width: 700px; height: 400px; background: #222; display: none; }
.omm_imm_list ul li.act .bigs { display: block; }
.omm_imm_list ul li.act .smalls { border: 1px solid #fff; opacity: .5; }
.omm_imm_list ul li .bigs img { max-width: 100%; max-height: 100%; }
.ommbtn { position: absolute; top: 50%; margin-top: -25px; display: block; padding: 10px 15px; color: #fff; font-size: 24px; border: 1px solid #333; }
.ommbtn.omm_next { right: 80px; }
.ommbtn.omm_pre { left: 9px; }

.om_alt { display: none; }
.omgg_ul1.act .om_alt { display: block; position: absolute; top: 50%; left: 50%; margin-left: -100px; margin-top: -30px; border: 1px solid #444; background: #222;  width: 200px; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .075); box-shadow: 0 1px 1px rgba(0, 0, 0, .075);  }
.om_alt > p { text-align: center; color: #fff; font-size: 14px; padding: 20px 10px; }
.om_alt > div { overflow: hidden; width: 100%; display: table; }
.om_alt > div span { cursor: pointer; display: table-cell; width: 50%; padding: 10px; text-align: center; cursor: pointer; border-left: 1px solid #444; box-sizing: border-box; background: #333; color: #fff; }
.om_alt > div span:nth-child(1), .om_alt > div a:first-child { border-left: none; }
.om_alt > div span:hover { background: #000;  }

.imms > span { cursor: pointer; }

.photo_infos { background: #000 none repeat scroll 0 0;
    bottom: 10px;
    color: #fff;
    font-size: 12px;
    left: 0;
	margin: 0 5px;
    opacity: 0.7;
    padding: 6px;
    position: absolute;
    width:  calc(100% - 10px);
    }
.image--basic .photo_infos { display: none; }
.image--basic:hover .photo_infos { display: block; position: absolute; background: rgba(0,0,0,0.8); color: #fff; font-size: 11px; padding: 3px 5px;  box-sizing: border-box; width:  calc(100% - 10px);  }


.image__cell.is-collapsed .arrow--up {
  height: 10px;
  width: 100%;
}

.image__cell.is-expanded .arrow--up {
  border-bottom: 8px solid #222;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  height: 0;
  width: 0;
  margin: 2px auto -10px auto;
}

.expand__close {
  position: absolute;
  top: 10px;
  right: 100px;
  color: #454545;
  font-size: 50px;
  line-height: 50px;
  text-decoration: none;
}

.baimg { display: block; overflow: hidden; }

.expand__close:before {
  content: '×';
}

.expand__close:hover {
  color: #fff;
}

.image--large {
  max-width: 700px;
  max-height: 400px;
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
}

@media only screen and (max-width: 530px) {

  .image__cell {
      width: 50%;
  }

  .image__cell:nth-of-type(2n+2) .image--expand {
      margin-left: -100%;
  }

  .image__cell:nth-of-type(2n+3) {
      clear:left;
  }

  .image--expand {
      width: 200%;
  }

}

@media only screen and (min-width: 531px) {
  .image__cell {
      max-width: 10%;
  }
  
  .image__cell:nth-of-type(10n+2) .image--expand {
    margin-left: -100%;
  }

  .image__cell:nth-of-type(10n+3) .image--expand {
    margin-left: -200%;
  }

  .image__cell:nth-of-type(10n+4) .image--expand {
    margin-left: -300%;
  }
  
  .image__cell:nth-of-type(10n+5) .image--expand {
    margin-left: -400%;
  }
	
  .image__cell:nth-of-type(10n+6) .image--expand {
    margin-left: -500%;
  }

  .image__cell:nth-of-type(10n+7) .image--expand {
    margin-left: -600%;
  }

  .image__cell:nth-of-type(10n+8) .image--expand {
    margin-left: -700%;
  }
  
  .image__cell:nth-of-type(10n+9) .image--expand {
    margin-left: -800%;
  }
	
  .image__cell:nth-of-type(10n+10) .image--expand {
    margin-left: -900%;
  }

  .image__cell:nth-of-type(10n+11) {
    clear: left;
  }
  
  .image--expand {
    width: 1000%;
  }
  
}