/** ==================================================

Template name: Cory
http://themeforest.net/user/layerz

[TABLE OF CONTENTS]

01. GRID
02. COMMONS
03. BUTTONS
04. FORMS
05. HEADER
06. FOOTER
07. PORTFOLIO
08. HEADLINES
09. BLOG
10. SHARE

================================================== **/
/** 01. GRID
================================================== **/
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 100px;
  position: relative;
}
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix { display: block; }

@media (max-width: 800px) {
  .container {
    padding: 0 5vw;
  }
}
.column {
  float: left;
  position: relative;
  padding: 0 25px;
}
.column.col-1 {
  width: 8.333%;
}
.column.col-2 {
  width: 16.666%;
}
.column.col-3 {
  width: 24.999%;
}
.column.col-4 {
  width: 33.332%;
}
.column.col-5 {
  width: 41.665%;
}
.column.col-6 {
  width: 49.998%;
}
.column.col-7 {
  width: 58.331%;
}
.column.col-8 {
  width: 66.664%;
}
.column.col-9 {
  width: 74.997%;
}
.column.col-10 {
  width: 83.33%;
}
.column.col-11 {
  width: 91.663%;
}
.column.col-12 {
  width: 100%;
}
.column.offset-1 {
  margin-left: 8.333%;
}
.column.offset-2 {
  margin-left: 16.666%;
}
.column.offset-3 {
  margin-left: 24.999%;
}
.column.offset-4 {
  margin-left: 33.332%;
}
.column.offset-5 {
  margin-left: 41.665%;
}
.column.offset-6 {
  margin-left: 49.998%;
}
.column.offset-7 {
  margin-left: 58.331%;
}
.column.offset-8 {
  margin-left: 66.664%;
}
.column.offset-9 {
  margin-left: 74.997%;
}
.column.offset-10 {
  margin-left: 83.33%;
}
.column.offset-11 {
  margin-left: 91.663%;
}
.mb-50 {
    margin-bottom: 50px;
}
@media (max-width: 800px) {
  .column {
    float: none;
    width: 100% !important;
    padding: 0 !important;
    margin-left: 0 !important;
  }
  .column:not(:last-child) {
    margin-bottom: 50px;
  }
}
.row {
  display: block;
  margin: 0 -25px;
}
.row:not(:last-child) {
  margin-bottom: 50px;
}
@media (max-width: 800px) {
  .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .row:not(:last-child) {
    margin-bottom: 50px;
  }
}
.container::after,
.row::after,
.clear::after {
  content: '';
  display: table;
  clear: both;
}
/** 02. COMMONS
================================================== **/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
}
body {
  font-family: 'Source Sans Pro';
  font-size: 16px;
  color: #ffffff;
  line-height: 1.7;
  overflow-y: scroll;
  overflow-x: hidden;
  background: #000000;
}
body.light {
    color: #000;
    background: #f5f5f5;
}

@media (max-width: 800px) {
  body {
    font-size: 15px;
  }
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.link {
  color: #24ddaa;
  position: relative;
  border-bottom: 2px solid transparent;
}
a.link:hover {
  border-bottom: 2px solid #24ddaa;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  font-style: normal;
  color: #ffffff;
}
body.light h1,
body.light h2,
body.light h3,
body.light h4,
body.light h5,
body.light h6 {
    color: #000;
}

h1:not(:last-child),
h2:not(:last-child),
h3:not(:last-child),
h4:not(:last-child),
h5:not(:last-child),
h6:not(:last-child) {
  margin-bottom: 25px;
}
h1 {
  font-size: 42px;
}
h2 {
  font-size: 36px;
}
h3 {
  font-size: 30px;
}
h4 {
  font-size: 26px;
}
h5 {
  font-size: 22px;
}
h6 {
  font-size: 18px;
}
@media (max-width: 800px) {
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 20px;
  }
  h5 {
    font-size: 18px;
  }
  h6 {
    font-size: 16px;
  }
}
p:not(:last-child) {
  margin-bottom: 25px;
}
p.lead {
  font-size: 21px;
}
img {
  max-width: 100%;
  vertical-align: middle;
}
blockquote {
  position: relative;
  font-family: 'Inconsolata';
  font-size: 18px;
  padding: 25px 50px;
  border-left: 5px solid #262626;
}
blockquote:not(:last-child) {
  margin-bottom: 25px;
}
@media (max-width: 600px) {
  blockquote {
    font-size: 16px;
    padding: 25px;
  }
}
ul,
ol {
  list-style: none;
}
.float-right {
  float: right;
}
.float-left {
  float: left;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
div[class*="gap-"] {
  display: block;
}
.gap-25 {
  height: 25px;
}
.gap-50 {
  height: 50px;
}
.gap-100 {
  height: 100px;
}
.gap-150 {
  height: 150px;
}
.main,
.main .main-content {
  width: 100%;
  height: 100%;
  position: relative;
}
.loader-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  background: #000000;
  -webkit-transition: all 0.5s cubic-bezier(0.5, 0.3, 0.2, 1) 0s;
  -moz-transition: all 0.5s cubic-bezier(0.5, 0.3, 0.2, 1) 0s;
  -ms-transition: all 0.5s cubic-bezier(0.5, 0.3, 0.2, 1) 0s;
  -o-transition: all 0.5s cubic-bezier(0.5, 0.3, 0.2, 1) 0s;
  transition: all 0.5s cubic-bezier(0.5, 0.3, 0.2, 1) 0s;
}
.loader-mask.hide {
  opacity: 0;
  visibility: hidden;
}
.loader-mask .loader {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: #ffffff;
  animation: scale 1s infinite;
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1);
  }
}
.back2top {
  width: 20px;
  height: 16px;
  position: fixed;
  bottom: 30px;
  right: 40px;
  z-index: 10;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.back2top.visible {
  bottom: 50px;
  opacity: 1;
  visibility: visible;
}
.back2top .arrow {
  width: 2px;
  height: 16px;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
  background: #ffffff;
}
body.light .back2top .arrow {
    background: #000;
}
.back2top .arrow::before {
  content: '';
  width: 8px;
  height: 8px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -4px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
body.light .back2top .arrow::before {
    border-color: #000;
}
.reveal {
  opacity: 0;
  position: relative;
  top: 50px;
  -webkit-transition: all 1s ease 0s;
  -moz-transition: all 1s ease 0s;
  -ms-transition: all 1s ease 0s;
  -o-transition: all 1s ease 0s;
  transition: all 1s ease 0s;
}
.reveal.reveal-in {
  opacity: 1;
  top: 0;
}
/** 03. BUTTONS
================================================== **/
button,
input[type="submit"],
input[type="reset"],
input[type="button"],
.btn {
  display: inline-block;
  position: relative;
  height: 60px;
  line-height: 60px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  padding: 0 25px;
  cursor: pointer;
  background: #ffffff;
  border: none;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
body.light button,
body.light input[type="submit"],
body.light input[type="reset"],
body.light input[type="button"],
body.light .btn {
  color: #fff;
  background: #000;
}
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.btn:hover {
  color: #ffffff;
  background: #24ddaa;
}
body.light button:hover,
body.light input[type="submit"]:hover,
body.light input[type="reset"]:hover,
body.light input[type="button"]:hover,
body.light .btn:hover {
  color: #000;
  background: #24ddaa;
}
/** 04. FORMS
================================================== **/
.form-group:not(:last-child) {
  margin-bottom: 25px;
}
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  display: block;
  width: 100%;
  height: 60px;
  line-height: 60px;
  font-family: inherit;
  font-size: 17px;
  padding: 0 15px;
  color: #000000;
  background: #ffffff;
}
textarea {
  min-height: 150px;
  resize: none;
}
input[type]::-webkit-input-placeholder,
select::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999999;
  font-size: 14px;
  text-transform: uppercase;
}
input[type]::-moz-input-placeholder,
select::-moz-input-placeholder,
textarea::-moz-input-placeholder {
  color: #999999;
  font-size: 14px;
  text-transform: uppercase;
}
input[type]:-moz-input-placeholder,
select:-moz-input-placeholder,
textarea:-moz-input-placeholder {
  color: #999999;
  font-size: 14px;
  text-transform: uppercase;
}
input[type]:-ms-input-placeholder,
select:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #999999;
  font-size: 14px;
  text-transform: uppercase;
}
label {
  display: block;
  cursor: pointer;
  margin-bottom: 5px;
}
/** 05. HEADER
================================================== **/
.header {
  width: 100%;
  padding: 50px 0 150px;
  line-height: 50px;
  position: relative;
  z-index: 100;
}
.header .main-logo {
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 5px;
}
.header .main-nav {
  list-style: none;
}
.header .main-nav li {
  display: inline-block;
  position: relative;
}
.header .main-nav li:not(:last-child) {
  margin-right: 50px;
}
.header .main-nav li a {
  font-family: 'Source Sans Pro';
  font-size: 18px;
  font-weight: 600;
  position: relative;
  border-bottom: 2px solid transparent;
}
.header .main-nav li a:hover,
.header .main-nav li a.active {
  border-bottom: 2px solid #24ddaa;
}
.header .main-nav li .sub-menu {
  min-width: 120px;
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  text-align: right;
  white-space: nowrap;
}
.header .main-nav li .sub-menu.visible {
  display: block;
}
.header .main-nav li .sub-menu li {
  display: inline-block;
  line-height: normal;
}
.header .main-nav li .sub-menu li:not(:last-child) {
  margin-right: 10px;
}
.header .main-nav li .sub-menu li a {
  font-size: 14px;
  font-weight: normal;
  color: #ffffff;
}
body.light .header .main-nav li .sub-menu li a {
    color: #000;
}
.header .main-nav li .sub-menu li a:hover {
  color: #ffffff;
}
body.light .header .main-nav li .sub-menu li a:hover {
    color: #000;
}
@media (max-width: 800px) {
  .header .main-nav li {
    display: block;
    text-align: right;
    line-height: 30px;
  }
  .header .main-nav li:not(:last-child) {
    margin-right: 0;
  }
  .header .main-nav li .sub-menu {
    position: relative;
    margin-bottom: 25px;
  }
  .header .main-nav li .sub-menu li {
    display: block;
  }
  .header .main-nav li .sub-menu li:not(:last-child) {
    margin-right: 0;
  }
}
/** 06. FOOTER
================================================== **/
.footer {
  padding: 250px 0 150px;
  position: relative;
}
.footer .copy {
  max-width: 350px;
}
.footer .copy a.link {
  font-weight: 700;
  color: #ffffff;
}
body.light .footer .copy a.link {
    color: #000;
}

@media (max-width: 600px) {
  .footer {
    padding: 150px 0 100px;
  }
}
/** 07. PORTFOLIO
================================================== **/
.work-entry .desc {
  text-align: center;
  padding-top: 15px;
}
.work-entry .desc .title {
  font-size: 20px;
}
.work-entry .desc .cat {
  font-family: 'Inconsolata';
  font-size: 14px;
  opacity: 0.7;
}
.related-works {
  margin-top: 150px;
}
/** 08. HEADLINES
================================================== **/
.headline {
  padding-bottom: 150px;
  position: relative;
}
.headline .title {
  line-height: 1;
}
.headline .cat {
  font-family: 'Inconsolata';
  font-size: 14px;
  color: #999999;
}
/** 09. BLOG
================================================== **/
.post:not(:last-of-type) {
  margin-bottom: 150px;
}
.post-nav {
    margin-top: 150px;
}
.post.single-post {
  margin-bottom: 0;
}
.post .post__image {
    margin-bottom: 50px;
}
.comments {
    margin:0 auto;
    margin-top: 150px;
}
.comment {
    margin-top:25px;
}
.comment:first-child {
    margin-top:0
}
.comment .comment-content {
    padding:25px;
}
.comment .user {
    float:left
}
.comment .user img {
    display:block;
    width:60px;
    border-radius:100%
}
.comment .desc {
    padding-left:100px
}
.comment .comment-header {
    margin-bottom:15px
}
.comment .name {
    margin:0
}
.comment .date {
    font-size:14px;
    color:#c3c3c3
}
.comment ul,
.comment ol {
    padding:25px 0 0 30px
}
.comment .comment-desc ul {
    list-style-type: disc;
}
.comment .comment-desc ol {
    list-style-type: decimal;
}
.comment .comment-desc > ul,
.comment .comment-desc > ol {
    padding: 0;
    padding-left: 25px;
}
.comment .comment-desc ul ul,
.comment .comment-desc ol ol {
    padding-top: 0;
}
.entry-metas .meta {
  display: block;
}
.entry-metas .meta:not(:last-child) {
  margin-bottom: 25px;
}
.entry-metas .meta .title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}
.post-tags {
  margin-top: 50px;
  padding-left: 50px;
  position: relative;
}
.post-tags::before {
  content: '';
  width: 10px;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -1px;
  background: #ffffff;
}
body.light .post-tags::before {
    background: #000;
}
.post-tags li {
  display: inline-block;
  position: relative;
}
.post-tags li:not(:last-child) {
  margin-right: 15px;
}
/** 10. SHARE
================================================== **/
.share {
  width: 30px;
  position: fixed;
  right: 35px;
  bottom: 150px;
  z-index: 10;
  text-align: center;
  list-style: none;
}
.share li {
  display: block;
  position: relative;
}
.share li:not(:last-child) {
  margin-bottom: 10px;
}
.share li a {
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -ms-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.share li a:hover {
  color: #24ddaa;
}
@media (max-width: 800px) {
  .share {
    width: auto;
    position: relative;
    right: 0;
    bottom: 0;
    text-align: left;
    margin-top: 100px;
  }
  .share li {
    display: inline-block;
    margin-bottom: 0;
  }
  .share li:not(:last-child) {
    margin-right: 15px;
  }
  .share li a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    text-align: center;
    color: #000000;
    line-height: 40px;
  }
}

/* Widgets */

.sidebar-widget h2 {
    margin-bottom:0;
}

.sidebar-widget .widget:not(:last-child) {
    margin-bottom:30px;
}

.sidebar-widget .widget input[type="text"]  {
    margin-bottom:10px;
}

.sidebar-widget .widget .screen-reader-text {
    display:none;
}

.sidebar-widget .widget .menu > li > ul,
.sidebar-widget .widget .menu > li > ul > li > ul,
.sidebar-widget .widget .menu > li > ul > li > ul > li > ul,
.sidebar-widget .widget .menu > li > ul > li > ul > li > ul > li > ul {
    padding-left:25px;
}