/* Structure Main */
.single-attachment #wrap {
  max-width: 1320px;
  padding: 0 1.5% 0 1.8%;
  margin-top: 0;
}
.single-attachment #main {
  padding: 1em 0 0;
  background: none;
}
.single-attachment #main #main-content {
  position: relative;
  float: none;
  max-width: 1320px;
  width: 100%!important;
 }
.single-attachment header#site-head  #entry-pages-head{
	display: none;
}
.single-attachment header#site-head hgroup {
  margin: 0;
  width: 167px;
}
.single-attachment header#site-head hgroup h1.site-title a img {
  width: 100%;
  height: 3.5em;
}
.single-attachment #entry-meta-head {
  display: none;
 }
.single-attachment section#content {
  padding: 0;
  width: 100%;
  border-right: none;
}
.single-attachment section#content article.attachment {
  display: block;
  width: 100%;
}
.single-attachment aside#sidebar {
  padding: 0 0 0 1.5em;
  border-right: none;
}
header#site-head hgroup h1.site-title a {
  display: block;
  max-width: 100px;
}
nav#site-navigation {
  display: none;
}
nav#image-navigation {
  position: relative;
}
/* Gallery Set */
.cont-gallery {
  display: block;
  overflow: hidden;
  width: 100%;
}
.social-buttons {
  display: block;
  padding: 1.5em 0 0;
  width: auto;
}
.social-buttons span {
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  width: 50%;
  height: 30px;
}
/* Attachment */
.gallery-header {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  margin: 0;
  padding: 0;
  width: 25.3061%;
}
.gallery-header .slide-count {
  display: block;
  padding: 0;
  width: 100%;
  text-align: center;
  font-weight: 600;
  font-size: 1.8em;
  line-height: 2.6em;
}
.gallery-header #image-navigation {
  width: 100%;
}
.gallery-header #image-navigation ul.direction-nav {
  display: block;
}
.gallery-header #image-navigation ul.direction-nav li {
  display: block;
  float: right;
  width: 50px;
}
.gallery-header #image-navigation ul.direction-nav li:first-child {
  float: left;
}
.gallery-header #image-navigation ul.direction-nav a.dir-prev ,
.gallery-header #image-navigation ul.direction-nav a.dir-next  {
  display: block;
  margin: 0;
  padding: 0 0 0.1em;
  outline: none;
  background: #2DADE5;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 400;
  font-size: 4em;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height: normal;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.gallery-header #image-navigation ul.direction-nav a.dir-prev:hover,
.gallery-header #image-navigation ul.direction-nav a.dir-next:hover {
  background: #60BCE4;
  color: #000;
  text-decoration: none;
}
#advcontainer {
  position: absolute;
  top: 7em;
  right: 0;
  z-index: 100;
  margin: 0;
  padding: 0;
  width: 25.3061%;
  text-align: center;
}
#advcontainer.only-one {
  top: 0;
}
#advcontainer iframe {
  margin: 0 auto;
  width: 302px;
  height: 270px;
}
section#content article.full.attachment {
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-bottom: none;
}
section#content article.full.attachment figure {
  display: block;
  float: left;
  width: 73%;
}
section#content article.full.attachment figure img.spc {
  float: none;
  width: auto;
  height: auto;
}
section#content article.full.attachment figure img.photo {
  display: block;
  float: none;
  width: 100%;
  height: auto;
}
section#content article.full.attachment figure img.photo:hover { 
	/*cursor: pointer;*/
}
section#content .flexslider .slides > li.gall_link article.full.attachment figure img.photo {
  display: none;
}
section#content .flexslider .slides > li.gall_link article.full.attachment figure img.photo.flex-active-slide {
  display: block;
}
section#content .flexslider .slides > li.gall_link.flex-active-slide article.full.attachment figure img.photo {
  display: block;
}
section#content article.full.attachment .gallery-meta {
  display: block;
  float: right;
  width: 25%;
  margin-top: 81px;
}
section#content article.full.attachment .gallery-meta.only-one {
  margin: 30em 0 0;
}
section#content article.full.attachment .gallery-meta h1.gallery-title {
  padding: 0 0 0.5em;
  font-size: 2em;
  line-height: normal;
}
section#content article.full.attachment .gallery-meta h1.gallery-title a {
  color: #333;
  text-decoration: none;
}
section#content article.full.attachment .gallery-meta h1.gallery-title a:hover {
  text-decoration: underline;
}
section#content article.full.attachment .gallery-meta .gallery-meta-inc {
  font-weight: 400;
  font-size: 1.3em;
  line-height: normal;
}
section#content article.full.attachment .gallery-meta .gallery-meta-inc .sub_tit {
  padding: 0 0 1em;
  font-weight: 600;
  font-size: 1.1em;
}
section#content article.full.attachment .gallery-meta .gallery-meta-inc p {
  padding: 0 0 1em;
}
section#content article.full.attachment .gallery-meta .gallery-meta-inc a {
  color: #0889A7;
  text-decoration: none;
  font-weight: 600;
} 
section#content article.full.attachment .gallery-meta .gallery-meta-inc a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 1240px) {
  .gallery-header {
    width: 33%;
  }
  #advcontainer {
    width: 33%;
  }
  section#content article.full.attachment figure {
    width: 66%;
  }
  section#content article.full.attachment .gallery-meta {
    width: 33%;
  }
}
@media screen and (max-width: 860px) {
  #advcontainer {
    position: relative;
    top: auto;
    right: auto;
    z-index: 100;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
  }
}
@media only screen and (max-width: 768px) {
  .gallery-header {
    position: relative;
    z-index: 100;
    margin: 0 0 0.5em;
    padding: 0;
    width: 100%;
  }
  section#content article.full.attachment figure {
    display: block;
    float: none;
    margin: 0 0 1em;
    width: 100%;
  }
  section#content article.full.attachment .gallery-meta {
    position: relative;
    display: block;
    float: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
  }
  section#content article.full.attachment .gallery-meta .gallery-meta-inc {
    position: relative;
    float: left;
    margin: 0;
    width: 55%;  
  }
  section#content article.full.attachment .gallery-meta.only-one {
    margin: 0;
  }
  .social-buttons {
    float: right;
    padding: 0 0 2em;
    width: 44%;
  }
}
@media only screen and (max-width: 600px) {
  section#content article.full.attachment .gallery-meta .gallery-meta-inc {
    width: 50%; 
  }
  .social-buttons {
    width: 49%;
  }
}
@media only screen and (max-width: 568px) {
  section#content article.full.attachment .gallery-meta .gallery-meta-inc {
    float: none;
    margin: 0 0 1em;
    width: 100%; 
  }
  .social-buttons {
    float: none;
    width: 100%;
  }
}
