/*
    TR1-Portfolio Theme
    Author: Sunti Hirunjaru
    Version: 0.0.1
*/
[class*=btn]:focus, [class*=btn]:active {
  outline: none;
}

@font-face {
  font-family: KanitRegular;
  src: url("assets/fonts/Kanit-Regular.ttf");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: KanitThin;
  src: url("assets/fonts/Kanit-Thin.ttf");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: KanitLight;
  src: url("assets/fonts/Kanit-Light.ttf");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: KanitMedium;
  src: url("assets/fonts/Kanit-Medium.ttf");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: KanitExtraLight;
  src: url("assets/fonts/Kanit-ExtraLight.ttf");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: StaffWideMedium;
  src: url("assets/fonts/st.ttf");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: StaffXWideMedium;
  src: url("assets/fonts/stx.ttf");
  font-style: normal;
  font-weight: normal;
}

html {
  margin: 0;
}

body {
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  margin: 0;
  font-family: KanitLight;
  font-size: 3.733vw;
  letter-spacing: 0.2px;
}

@media (min-width: 769px) {
  body {
    font-size: 2vw;
  }
}

@media (min-width: 992px) {
  body {
    font-size: 0.938vw;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: KanitLight;
}

h1, .h1 {
  font-family: StaffXWideMedium;
  font-size: 4.917vw !important;
  line-height: 130% !important;
}

@media (min-width: 992px) {
  h1, .h1 {
    font-size: 2.917vw !important;
    line-height: 201.42% !important;
  }
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

input,
textarea,
button,
select,
a {
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input:hover,
textarea:hover,
button:hover,
select:hover,
a:hover {
  text-decoration: none !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

li {
  list-style: none;
}

header {
  position: relative;
  padding-top: 3.125vw;
  padding-left: 3.125vw;
  padding-right: 3.125vw;
}

header .logo img {
  width: 14.33333vw;
}

@media (min-width: 992px) {
  header .logo img {
    width: 6.71875vw;
  }
}

header .menu {
  float: right;
}

header .menu img {
  width: 23vw;
}

@media (min-width: 992px) {
  header .menu img {
    padding-top: 10px;
    width: 10.78125vw;
  }
}

.menu-portfolio-menu-container {
  width: 100%;
  margin: 0 auto;
  padding-top: 66px;
}

@media (min-width: 992px) {
  .menu-portfolio-menu-container {
    width: 66%;
    padding-top: 0;
    margin-top: -80px;
  }
}

.menu-portfolio-menu-container ul.portfolio-menu {
  width: 80vw;
  position: relative;
  padding: 0;
  margin: 0 auto;
}

.menu-portfolio-menu-container ul.portfolio-menu:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

@media (min-width: 992px) {
  .menu-portfolio-menu-container ul.portfolio-menu {
    width: auto;
    display: flex;
    justify-content: space-between;
  }
}

.menu-portfolio-menu-container ul.portfolio-menu li {
  float: left;
  width: 22.22222vw;
  margin-left: 3vw;
  margin-bottom: 3.55556vw;
  text-align: center;
  border: 2px solid #E52718;
  transform: skew(-30deg, 0);
  transition: .5s;
}

@media (min-width: 992px) {
  .menu-portfolio-menu-container ul.portfolio-menu li {
    float: none;
    width: 11.687vw;
    margin-left: 1vw;
    margin-bottom: 0;
  }
}

.menu-portfolio-menu-container ul.portfolio-menu li:hover {
  background-color: #E52718;
}

.menu-portfolio-menu-container ul.portfolio-menu li:hover a {
  color: #FFFFFF;
}

.menu-portfolio-menu-container ul.portfolio-menu li a {
  display: block;
  padding-top: 2.66667vw;
  padding-bottom: 2.33333vw;
  color: #222222;
  font-family: StaffWideMedium;
  font-size: 2.22222vw;
  line-height: 1.77778vw;
  transition: .5s;
  transform: skew(30deg, 0);
}

@media (min-width: 992px) {
  .menu-portfolio-menu-container ul.portfolio-menu li a {
    font-size: 0.83333vw;
    padding-top: 0.95vw;
    padding-bottom: 1.094vw;
  }
}

.menu-portfolio-menu-container ul.portfolio-menu .current_page_item {
  background-color: #E52718;
}

.menu-portfolio-menu-container ul.portfolio-menu .current_page_item a {
  color: #FFFFFF;
}

@media (min-width: 769px) {
  main {
    padding-left: 65px;
    padding-right: 7.22222vw;
  }
}

@media (min-width: 992px) {
  main {
    padding-left: 6.66667vw;
    padding-right: 6.66667vw;
  }
}

main .head-title {
  margin-top: 9.375vw;
}

main .head-title h1 {
  text-transform: uppercase;
}

.portfolio {
  margin-top: 35px;
}

@media (min-width: 769px) {
  .portfolio {
    margin-top: 55px;
  }
}

@media (min-width: 992px) {
  .portfolio {
    margin-top: 130px;
  }
}

.portfolio-block {
  margin-bottom: 5.333vw;
}

@media (min-width: 992px) {
  .portfolio-block {
    margin-bottom: 3.385vw;
  }
}

.portfolio-block .title {
  position: relative;
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 3.33333vw;
  text-decoration: none;
  color: #8b8b8b;
  transition: .5s;
}

@media (min-width: 992px) {
  .portfolio-block .title {
    font-size: 1.250vw;
    color: #8b8b8b;
  }
}

.portfolio-block:hover .title {
  text-decoration: none;
  color: #222222;
}

.portfolio-block a .image {
  position: relative;
  margin-bottom: 1.111vw;
  overflow: hidden;
  border-radius: 5px;
}

@media (min-width: 992px) {
  .portfolio-block a .image {
    margin-bottom: 0.521vw;
  }
}

.portfolio-block a .image::after {
  display: block;
  content: '';
  /* 4:3 aspect ratio */
  padding-bottom: 66.6667%;
}

.portfolio-block a .image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  transition: .5s;
}

.portfolio-block a .image img:hover {
  transform: scale(1.1);
}

.portfolio-block a .viewer {
  position: relative;
  flex: 0 0 25%;
  max-width: 25%;
  padding-left: 6%;
  padding-right: 15px;
  color: #8b8b8b;
}

.portfolio-block a .viewer::after {
  content: '';
  position: absolute;
  top: 10%;
  left: -6%;
  width: 26%;
  height: 31%;
  background-image: url(assets/images/view.svg);
  background-size: 100%;
  background-repeat: no-repeat;
}

footer {
  position: relative;
  background-color: black;
  color: #FFFFFF;
}

footer .contact {
  padding-top: 9.375vw;
  padding-left: 66px;
  padding-bottom: 66px;
}

@media (min-width: 992px) {
  footer .contact {
    padding-left: 21.667vw;
    padding-bottom: 6.667vw;
  }
}

footer h1 {
  font-family: StaffWideMedium;
  font-size: 6.222vw;
  line-height: 6.889vw;
  text-transform: uppercase;
  margin-bottom: 3.333vw;
}

@media (min-width: 992px) {
  footer h1 {
    font-size: 2.917vw;
    line-height: 3.333vw;
  }
}

footer h2 {
  font-family: StaffWideMedium;
  font-size: 2.667vw;
}

@media (min-width: 992px) {
  footer h2 {
    margin-top: 4.79vw;
    font-size: 1.250vw;
  }
}

footer p {
  padding-bottom: 2.083vw;
  font-family: StaffWideMedium;
  font-size: 1.778vw;
  line-height: 3.556vw;
  color: #8b8b8b;
}

@media (min-width: 992px) {
  footer p {
    font-size: 0.833vw;
    line-height: 1.667vw;
  }
}

footer span {
  font-family: StaffWideMedium;
  font-size: 1.778vw;
  line-height: 3.556vw;
  color: #8b8b8b;
  padding-bottom: 2.083vw;
}

@media (min-width: 992px) {
  footer span {
    font-size: 0.833vw;
    line-height: 1.667vw;
  }
}

footer span a {
  color: #8b8b8b;
  transition: .5s;
}

footer span a:hover {
  color: #FFFFFF;
}

footer hr {
  width: 70%;
  position: absolute;
  top: 0;
  border: 1px solid #FFFFFF;
  margin: 0 auto;
}

@media (min-width: 992px) {
  footer hr {
    width: 81%;
    position: relative;
    top: auto;
    border: 1px solid #FFFFFF;
    margin: 0 auto;
  }
}

footer .copyright {
  position: relative;
  width: 100%;
  padding-top: 2.500vw;
  padding-left: 66px;
  padding-right: 66px;
  padding-bottom: 3.177vw;
}

@media (min-width: 992px) {
  footer .copyright {
    padding-left: 66px;
    padding-right: 66px;
    width: 56.667vw;
  }
}

footer .copyright ul {
  width: 35.55556vw;
  margin-bottom: 4.292vw;
  padding: 0;
  position: relative;
  display: flex;
  justify-content: space-between;
}

@media (min-width: 992px) {
  footer .copyright ul {
    width: 16.66667vw;
    margin-bottom: 2.292vw;
  }
}

footer .copyright ul li {
  font-family: StaffWideMedium;
  font-size: 1.77778vw;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  footer .copyright ul li {
    font-size: 0.83333vw;
  }
}

footer .copyright ul li a {
  color: #FFFFFF;
  text-decoration: underline !important;
}

footer .copyright span {
  display: block;
  text-align: center;
  color: #8b8b8b;
}

@media (min-width: 992px) {
  footer .copyright span {
    text-align: left;
  }
}

footer .copyright .social {
  float: right;
  margin-top: -12.367vw;
}

@media (min-width: 992px) {
  footer .copyright .social {
    margin-top: -4.167vw;
  }
}

footer .copyright .social ul {
  width: 96px;
  padding: 0;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  footer .copyright .social ul {
    margin-top: -4.167vw;
    width: 96px;
  }
}

footer .btn-email {
  display: block;
  width: 33.33333vw;
  border: 2px solid #E52718;
  background-color: black;
  transform: skew(-30deg, 0);
  margin-top: 3.33333vw;
  margin-left: 1.042vw;
  transition: .5s;
}

@media (min-width: 992px) {
  footer .btn-email {
    width: 16.66667vw;
    margin-top: -6.66667vw;
  }
}

footer .btn-email:hover {
  background-color: #E52718;
}

footer .btn-email a {
  display: block;
  font-family: StaffWideMedium;
  padding-top: 2.33333vw;
  padding-bottom: 2.11111vw;
  font-size: 2.66667vw;
  line-height: 1.77778vw;
  color: #FFFFFF;
  transform: skew(30deg, 0);
}

@media (min-width: 992px) {
  footer .btn-email a {
    font-size: 0.83333vw;
    line-height: 1.66667vw;
    padding-top: 0.833vw;
    padding-bottom: 0.833vw;
    width: 16.687vw;
  }
}

.fancybox-slide--iframe .fancybox-content {
  max-width: 80%;
  max-height: 100%;
  margin: 0;
}

.single {
  font-family: StaffWideMedium;
  background-color: black;
  padding-right: 0;
  padding-left: 0;
}

@media (min-width: 992px) {
  .single article {
    padding-left: 25%;
  }
}

.single aside {
  padding-left: 7.11111vw;
  padding-right: 7.11111vw;
}

@media (min-width: 992px) {
  .single aside {
    position: fixed;
    top: 0;
    left: 0;
    width: 25%;
    padding-left: 3.33333vw;
    padding-right: 3.33333vw;
  }
}

.single .author {
  display: flex;
  padding-top: 4.66667vw;
}

@media (min-width: 992px) {
  .single .author {
    padding-top: 3.33333vw;
    margin-bottom: 4.42708vw;
  }
}

.single .author .author-image {
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  width: 7.11111vw;
  height: 7.11111vw;
  clear: both;
}

@media (min-width: 992px) {
  .single .author .author-image {
    width: 3.33333vw;
    height: 3.33333vw;
  }
}

.single .author .author-image img {
  width: 100%;
  height: 100%;
}

.single .author .author-name {
  display: inline-block;
  padding-left: 2.22222vw;
}

@media (min-width: 992px) {
  .single .author .author-name {
    padding-left: 1.04167vw;
  }
}

.single .author .author-name span {
  color: #FFFFFF;
  font-size: 2.22222vw;
  line-height: 7.11111vw;
}

@media (min-width: 992px) {
  .single .author .author-name span {
    font-size: 0.9375vw;
    line-height: 3.33333vw;
  }
}

.single .detail {
  padding: 0;
}

.single .detail li {
  display: inline-block;
  width: 32%;
  text-align: center;
}

@media (min-width: 992px) {
  .single .detail li {
    display: block;
    width: auto;
    text-align: left;
  }
}

.single .detail li span {
  font-size: 2vw;
  line-height: 3.55556vw;
}

.single .detail li span:first-child {
  display: block;
  margin-top: 3.33333vw;
  color: #FFFFFF;
}

.single .detail li span:last-child {
  color: #8b8b8b;
  font-size: 2.22222vw;
}

@media (min-width: 992px) {
  .single .detail li span:last-child {
    font-size: 0.9375vw;
  }
}

@media (min-width: 992px) {
  .single .detail li span {
    font-size: 0.9375vw;
    line-height: 1.66667vw;
  }
  .single .detail li span:first-child {
    display: block;
    margin-top: 1.5625vw;
    color: #FFFFFF;
  }
  .single .detail li span:last-child {
    color: #8b8b8b;
  }
}
/*# sourceMappingURL=style.css.map */