/*
* Theme Name: New Photoworld
* Author: Brick
* Description: Photoworld Theme
* Version: 3.0
*/

/*
* 0-初始化
*/

/* 0-初始化 */
body,
h1,
h2,
h3,
p,
form {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style-position: inside;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  text-decoration: underline;
}
a img {
  border: 0;
}
textarea {
  resize: none;
}

/* 1-样式库扩展 */
/* iuiSlider */
.iuiSliderContainer {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.iuiSlider {
  position: absolute;
  top: 0;
  left: 0;
}
.iuiSliderItem {
  float: left;
  line-height: 0;
  font-size: 0;
}
.iuiSliderArrow {
  background-color: rgba(50, 50, 50, 0.5);
  border-radius: 100%;
  color: #fff;
  font-family: SimSun;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  text-align: center;
  text-decoration: none;
  visibility: hidden;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
}
.iuiSliderArrow:hover {
  text-decoration: none;
}
.iuiSliderArrowPrev {
  left: 10px;
}
.iuiSliderArrowNext {
  right: 10px;
}
.iuiSliderDot {
  height: 20px;
  left: 0px;
  position: absolute;
  text-align: center;
  font-size: 14px;
}
.iuiSliderDotItem {
  display: inline-block;
  height: 20px;
  width: 20px;
}
.iuiSliderDotItemA {
  background-color: rgb(229, 229, 229);
  border-radius: 100%;
  display: inline-block;
  text-indent: -139986px;
  vertical-align: top;
}
.iuiSliderDotActive {
  background-color: #999;
}

/* 2-公用样式 */
h1,
h2,
h3,
p,
form,
ol,
ul,
li,
input,
textarea {
  font-family: 'PingHei SC', 'PingHei TC', 'Hiragino Sans GB', 'Microsoft YaHei',
    '微软雅黑', sans-serif;
  font-weight: 400;
  word-wrap: break-word;
  text-align: left;
  list-style-type: none;
}
h1,
h2,
h3,
p,
form,
ol,
ul,
li {
  line-height: 180%;
}
h1,
h2,
h3 {
  font-weight: bold;
  color: rgb(51, 51, 51);
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
p {
  font-size: 1rem;
}
h1 {
  font-size: 1.75rem;
}
h2 {
  font-size: 1.375rem;
}
h3 {
  font-size: 1.25rem;
}
del {
  text-decoration: line-through;
}
ins {
  text-decoration: underline;
}
li > ul,
li > ol {
  margin-left: 1em;
  margin-bottom: 0;
}
.main-width {
  width: 1060px;
}
.primary-width {
  width: 720px;
}
.sidebar-width {
  width: 300px;
}
.error {
  font-size: 0.8rem;
  color: red;
  font-weight: bolder;
}
.disable-btn {
  border: 1px solid #ccc;
  color: #ccc;
  cursor: default;
  text-align: center;
  background-color: #fff;
}
.light-btn {
  border: 1px solid #333;
  color: #333;
  cursor: default;
  text-align: center;
  background-color: #fff;
}
.dark-red {
  color: #d62222;
}
.mask {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
}
.box-background {
  background-color: #281f1d;
}
.box-background > div {
  margin-left: auto;
  margin-right: auto;
}
.light-grey {
  color: #b6b6b6;
}
.light-frame {
  border: 1px solid rgb(220, 220, 220);
  background-color: rgb(248, 248, 248);
}
.input-box {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #111;
}
.abs-center {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

/* index article */
.single-thumb-title,
.triple-thumb-title,
.no-thumb-title {
  margin-bottom: 22px;
}
.big-thumb-title {
  height: 60px;
  line-height: 60px;
}
.small-thumb-title {
  float: right;
  width: 200px;
  font-size: 0.875rem;
  font-weight: normal;
}
.single-thumb-2-title {
  font-size: 1rem;
}

.single-thumb-thumbnail {
  width: 330px;
  font-size: 0;
}
.triple-thumb-thumbnail {
  font-size: 0;
  margin-bottom: 10px;
}
.triple-thumb-thumbnail-img {
  width: 236px;
  height: 157px;
  margin-right: 6px;
}
.triple-thumb-thumbnail a:last-child .triple-thumb-thumbnail-img {
  margin-right: 0;
}

.single-thumb-excerpt {
  width: 390px;
  height: 131px;
}
.no-thumb-excerpt,
.big-thumb-excerpt {
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 14px;
  display: inline-block;
}
.tag span:first-child {
  font-size: 0.75rem;
  padding: 2px 10px;
  background-color: #999;
  margin-right: 10px;
  color: #fff;
}

.meta {
  font-size: 0.875rem;
  height: 30px;
  line-height: 30px;
}

/* single article */
.single .title {
  line-height: 1em;
  margin: 30px 0 45px;
}
.single .meta {
  height: auto;
}
.single .meta p {
  font-size: 0.875rem;
  line-height: 180%;
  margin-bottom: 0.8em;
}
.single-content h2 {
  margin: 40px 0 20px;
}
.single-content > p,
.single-content > ul,
.single-content > ol {
  color: #2b2f37;
  margin-bottom: 1.25em;
}
.single-content img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.single-content figcaption {
  margin-top: 0.5em;
}
.single-content ul > li {
  list-style-type: disc;
}
.single-content ol > li {
  list-style-type: decimal;
}
#share-weibo-btn,
#share-weixin-btn {
  padding: 2px 30px;
  font-size: 14px;
}
#share-weibo-btn {
  border: 1px solid #e6162d;
  color: #e6162d;
}
#share-weixin-btn {
  border: 1px solid #699a3f;
  color: #699a3f;
}
#share-weibo-btn:hover,
#share-weixin-btn:hover {
  opacity: 0.6;
  cursor: pointer;
}
#share-weibo-btn:hover {
  border-color: rgba(230, 22, 45, 0.6);
}
#share-weixin-btn:hover {
  border-color: rgba(105, 154, 63, 0.6);
}
/* single gallery */
.single .format-gallery .title {
  margin-top: 0;
}
.single .format-gallery .single-content {
  margin-top: 45px;
}
.single .format-gallery .box-background {
  height: 567px;
}
#single-feature,
#single-features {
  top: 20px;
}
#single-features .iuiSliderItem > img {
  display: block;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
#image-feature-caption {
  overflow: hidden;
  color: #fff;
  margin-left: 40px;
  margin-top: 30px;
  width: 640px;
  height: 50px;
}
#image-feature-caption > p {
  font-weight: 700;
  font-size: 14px;
  overflow: auto;
  padding-right: 20px;
  max-height: 100%;
  width: 100%;
  line-height: 1.4em;
}
#image-feature-caption > p span:last-child {
  font-weight: 300;
}

/* pagination */
.nav-links {
  font-size: 0.875rem;
  font-weight: 700;
  height: 24px;
  line-height: 24px;
  margin: 20px 0;
  text-align: center;
}
.nav-links .page-numbers {
  margin-right: 10px;
  padding: 5px 8px;
}
.nav-links .current {
  color: #fff;
  background-color: #999;
}

/* share button */
#flow-window {
  visibility: hidden;
  position: fixed;
}
#flow-window-wrap {
  width: 300px;
  height: 330px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-color: white;
}
#flow-window-wrap img {
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}
#flow-window-wrap p {
  font-size: 1rem;
  margin-top: 10px;
  width: 300px;
  text-align: center;
}

/* 3-细节样式 */
#page {
  min-width: 1060px;
}
#wrapper {
  padding-top: 58px;
}
/* 4-header */
.browser-warning {
  text-align: center;
  background-color: #fff5cb;
  font-size: 12px;
  font-weight: lighter;
  border-bottom: 1px solid rgb(226, 226, 0);
  height: 24px;
  line-height: 24px;
}
#masthead {
  height: 58px;
  position: fixed;
  z-index: 99;
}
#logo-img {
  width: 159px;
  height: 58px;
  display: table-cell;
  vertical-align: middle;
}

/* nav menu */
.menu-navigation-container,
.menu-usercenter-container {
  display: table-cell;
  vertical-align: middle;
  height: 58px;
  color: #fff;
  font-size: 1.25rem;
}
.nav-menu-item {
  display: inline-block;
  margin-right: 1rem;
}
.nav-menu-item > a {
  display: block;
  height: 54px;
  line-height: 54px;
}
#menu-navigation > li:hover,
#menu-usercenter > li:hover,
.current-menu-item,
.current-category-ancestor,
.current-post-ancestor,
.current-menu-ancestor,
.current-menu-parent {
  border-bottom-width: 4px;
  border-bottom-style: solid;
  border-bottom-color: #0074d9;
}
#menu-navigation > li a:hover,
#menu-usercenter > li a:hover {
  text-decoration: none;
}

/* header user */
#header-user-container {
  position: absolute;
  right: 0;
  top: 0;
}
.user-status {
  font-size: 1rem;
  color: #ccc;
  height: 58px;
  line-height: 58px;
}
.user-status:hover {
  color: #999;
}
#nav-admin-url {
  border-right: 1px solid #d8d8d8;
}
#nav-profile-menu-container {
  top: 60px;
  right: 0;
  display: none;
}
#nav-profile-menu-container > span {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid #d8d8d8;
  background-color: #fff;
  border-right: 0;
  border-bottom: 0;
  top: -5px;
  right: 20%;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
}
#nav-profile-menu {
  border: 1px solid #d8d8d8;
  padding: 15px 10px 5px;
  width: 60px;
  font-size: 0.875rem;
  background-color: #fff;
}
.nav-profile-menu-item {
  height: 30px;
  line-height: 30px;
}
#nav-user-container > span {
  position: absolute;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  border-width: 4px;
  border-color: #ccc transparent transparent transparent;
  border-style: solid dashed dashed dashed;
  -webkit-transition: 0.3s ease-in;
  -moz-transition: 0.3s ease-in;
  -o-transition: 0.3s ease-in;
  transition: top 0.3s transform 0.3s ease-in;
  overflow: hidden;
}
#nav-user-container > span:hover {
  top: 35px;
  transform: rotate(180deg);
}

/* 5-promo */
#index-promo {
  width: 720px;
  height: 271px;
  font-size: 0;
}
#secondary-slider .secondary-slider-item {
  margin-bottom: 8px;
}
#secondary-slider .secondary-slider-item:last-child {
  margin-bottom: 0;
}

/* 6-image */
.index-image-article {
  display: none;
  font-size: 0;
  float: left;
}
.index-image-info {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 106px;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 10%,
    rgba(255, 255, 255, 0)
  );
  color: white;
  font-size: 0.875rem;
  opacity: 1;
  transition: opacity 0.4s ease;
  -webkit-transition: opacity 0.4s ease;
  -moz-transition: opacity 0.4s ease;
  -o-transition: opacity 0.4s ease;
}
.index-image-aside {
  height: 1.5rem;
  padding: 0 20px 0 40px;
}
.index-image-title {
  font-size: 1.125rem;
  padding: 0 20px 0 40px;
}
.index-image-excerpt {
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transition: opacity 0.4s ease;
  -webkit-transition: opacity 0.4s ease;
  -moz-transition: opacity 0.4s ease;
  -o-transition: opacity 0.4s ease;
}
.index-image-excerpt-text {
  font-size: 1rem;
  color: white;
  vertical-align: middle;
  padding: 0 60px;
}

/* 7-event */
.pre-tap {
  margin-right: 30px;
  background-color: #f04848;
  color: white;
  padding: 4px 6px;
  font-size: 12px;
  border-radius: 3px;
}

/* category gears promo */
.cat-gear-promo-title {
  position: absolute;
  bottom: 0;
  padding: 5px;
  width: 350px;
  font-size: 1rem;
  color: #fff;
  background-color: rgba(17, 17, 17, 0.8);
}

/* category images main */
#cat-tutorials-main article:first-child,
#cat-images-main article:first-child {
  margin-top: 0;
}

/* register, login */
#register-form-1 {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}
#reg-wrapper input,
#login-wrapper input {
  width: 300px;
  margin-top: 30px;
  height: 30px;
  font-size: 1rem;
}
#reg-wrapper,
#login-wrapper {
  width: 300px;
}
#pin {
  width: 180px !important;
}
#get-pin-btn {
  width: 100px !important;
  font-size: 0.875rem !important;
}
#reg-wrapper #submit1,
#reg-wrapper #submit2,
#login-wrapper #submit {
  width: 150px !important;
}

/* user center */
#user-center #masthead > div {
  margin-left: 60px;
}
#user-center-menu {
  width: 160px;
  height: 100%;
  position: fixed;
  margin-top: 58px;
  top: 0;
  left: 0;
  background-color: #111;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.125rem;
}
#user-center-menu ul li a {
  display: block;
  width: 160px;
}
#user-center-menu ul li a:hover {
  text-decoration: none;
  opacity: 0.6;
}
#user-center-menu ul li a div {
  height: 1.125rem;
  line-height: 1.125rem;
  padding: 8px 0 8px 30px;
  font-weight: bold;
}
#user-center-window {
  padding-top: 58px;
  padding-left: 160px;
}
#user-center-window-wrapper {
  width: 360px;
  margin-top: 50px;
}
#user-center-window-wrapper th {
  width: 20%;
}
#user-center-window-wrapper tr {
  height: 50px;
}
#user-center-window-wrapper input[type='text'],
#user-center-window-wrapper input[type='password'],
#user-center-window-wrapper input[type='email'] {
  height: 28px;
  font-size: 14px;
  padding-left: 10px;
  width: 100%;
}
#user-center-window-wrapper input[type='button'],
#user-center-window-wrapper input[type='submit'] {
  width: 50%;
  display: block;
  height: 30px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  font-size: 0.875rem;
}
#user-center-window-wrapper #user-avatar {
  width: 150px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}
.avatar {
  border-radius: 50%;
}

/* comment */
#commentform {
  margin-top: 30px;
  margin-bottom: 50px;
}
#comments .comment-form-comment {
  margin-bottom: 20px;
}
#comments .comment-form-comment .comment-right {
  width: 620px;
}
#comments .comment-form-comment .comment-right textarea {
  width: 598px;
  height: 80px;
  font-size: 1rem;
  padding: 10px;
  border-color: #ccc;
}
#commentform .form-submit #submit {
  float: right;
  width: 150px;
  height: 36px;
  font-size: 0.875rem;
  border: 1px solid #333;
  color: #333;
  cursor: default;
  text-align: center;
  background-color: #fff;
}
#commentform .form-submit {
  *zoom: 1;
}
#commentform .form-submit:after {
  display: table;
  content: '';
  clear: both;
}
.commentlist .comment .comment-content {
  width: 88%;
}
.commentlist .comment .children .comment-content {
  width: 90%;
}
#baoming input {
  width: 200px;
  height: 30px;
  margin-bottom: 20px;
}
#baoming input[type='submit'] {
  text-align: center;
}

#magazine #row01 #mg-text-01 {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 300px;
}
