/****************************************
 * GENERAL SETUP
 ****************************************/
body {
    position: relative;
    background-attachment: fixed !important;
    -webkit-font-smoothing: subpixel-antialiased
}

::-moz-selection {
    display: inline-block;
}

::selection {
    display: inline-block;
}

.tooltipster-default {
    border-radius: 4px;
}

/****************************************
 * THEME NAVIGATION - MENUS
 ****************************************/
#navbar-mobile {
    display: none;
}

#theme-navbar {
    position: fixed;
    z-index: 100;
    width: 100%;
}

#theme-navbar.x-static {
    position: static;
}

.navbar-menus {
    -webkit-backface-visibility: hidden;
}

.navbar-menus ul.animate-navbar li {
    float: left;
    position: relative;
}

.navbar-menus ul.animate-navbar li a {    
    display: block;
    padding: 19px 28px 22px 0px;
}

.navbar-menus ul.animate-navbar > li.has-children > a:after {
    margin-left: 7px;
}

.navbar-menus ul.animate-navbar li ul.sub-menu{
    width: 228px;
    position: absolute;
    top: 53px;
    left: 0px;
    display: none;
    z-index: 100;
}

.navbar-menus ul.animate-navbar ul.sub-menu li{
    display: block;
    float: none;
}

.navbar-menus ul.animate-navbar ul.sub-menu li a{
    padding: 11px 21px 13px;
    margin: 0px;
}

.navbar-menus ul.animate-navbar ul.sub-menu li:last-child{
    border: none;
}

/* ANIMATE IT! */
.navbar-menus ul.animate-navbar li:hover > ul{
    display: block;
    -moz-animation: fadeInUp .3s ease-in;
    -webkit-animation: fadeInUp .3s ease-in;
    animation: fadeInUp .3s ease-in;
    padding: 0px;
}

/****************************************
 * THEME NAVIGATION - SOCIAL
 ****************************************/
.navbar-social ul li {
    float: left;
}

.navbar-social ul li a {
    padding: 20px 13px 18px;
}

.social-fb {
    padding: 20px 14px 18px !important;
}

.navbar-social ul li.social-icon a {
    display: block;
}

/****************************************
 * THEME NAVIGATION - SEARCH
 ****************************************/
.navbar-search {
    position: relative;
    border-left: 0px !important;
}

.navbar-search a{
    padding: 20px 14px 18px !important;
}

a.search-trigger {
    display: block;
}

a.search-trigger-close {
    display: none;  
    padding: 20px 15px 18px !important;
}

.navbar-search-form {
    display: none;
    position: absolute;
    right: 0;
    padding: 10px 11px;
}

.navbar-search-form:before {
    border-style: solid;
    border-width: 0 8px 8px;
    content: "";
    right: 13px;
    position: absolute;
    top: -8px;
    z-index: 98;
}

.navbar-search-form input[type="text"] {
    border: 0px;
    padding: 7px 10px;
    width: 253px;
    background: inherit;
}

.navbar-search-form button {
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    height: 38px;
    width: 45px;
    margin: auto 0;
    border: 0px;
    cursor: pointer;
    background: inherit;
}

/****************************************
 * THEME LOGO
 ****************************************/
#theme-logo {
    padding: 128px 0px 55px;
}

#theme-logo.x-static {
    padding: 75px 0px 55px;
}

/****************************************
 * THEME STICKY POST GALLERY
 ****************************************/
#theme-sticky-post-gallery .caption-wrapper {
    position: relative;
    width: 100%;
    height: 670px;
    padding: 18% 32%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-position: 50% 0;
}

#theme-sticky-post-gallery .caption-body {
    position: relative;
    height: 100%;
    width: 100%;
    display: table;
    vertical-align: middle;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    padding: 20px;
}

#theme-sticky-post-gallery .caption-text {
    vertical-align: middle;
    display: table-cell;
}

#theme-sticky-post-gallery .caption-tag {
    margin-bottom: 14px;
}

#theme-sticky-post-gallery .caption-tag a:after {
    content: ', ';
    margin-right: 1px;
}

#theme-sticky-post-gallery .caption-tag a:last-of-type:after {
    content: '';
}

#theme-sticky-post-gallery .caption-more {
    margin-top: 22px;
}

#theme-sticky-post-gallery .caption-more a {
    display: inline-block;
    padding: 13px 25px 15px;
}

#theme-sticky-post-gallery .slick-prev,
#theme-sticky-post-gallery .slick-next {
    opacity: 0;
    width: 39px;
}

#theme-sticky-post-gallery:hover .slick-prev,
#theme-sticky-post-gallery:hover .slick-next {
    opacity: 1;
}

/****************************************
 * THEME FEATURED TAG SLIDER
 ****************************************/
#theme-featured-tag {
    margin-top: 23px;
}

#theme-featured-tag .grid_12 {
    overflow: hidden;  
}

#theme-featured-tag-slider {
    margin: 0px -10px;
    width: 1100px;
}

#theme-featured-tag .item {
    margin: 0px 11px;  
    position: relative;
}

#theme-featured-tag  .caption-wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    right: 0;
    width: 100%;
}

#theme-featured-tag  .item .caption-body {
    display: table;
    width: 100%;
    height: 100%;
}

#theme-featured-tag .item .caption-text {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height: 100%;
}

#theme-featured-tag .caption-title a {
    display: inline-block;
    padding: 12px 16px 12px 16px;
}

#theme-featured-tag .owl-theme .owl-controls {
    overflow: hidden;
    margin: 20px 11px 0px 12px;
}

#theme-featured-tag .owl-buttons {
    position: relative;
    display: inline-block;
}

#theme-featured-tag .owl-buttons::before, 
#theme-featured-tag .owl-buttons::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 520px;
}

#theme-featured-tag .owl-buttons::before {
    right: 100%;
}

#theme-featured-tag .owl-buttons::after {
    left: 100%;
}

#theme-featured-tag .owl-theme .owl-controls .owl-buttons div {
    margin: 0;
    padding: 8px 13px;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    transition: ease 0.2s;
    opacity: 1;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

#theme-featured-tag .owl-theme .owl-controls .owl-buttons div.owl-prev {
    margin: 4px 4px 0px 12px;
}

#theme-featured-tag .owl-theme .owl-controls .owl-buttons div.owl-next {
    margin: 4px 12px 0px 4px;
}

/****************************************
 * THEME POST CONTENT
 ****************************************/
#theme-post {
    margin: 60px 0px 70px;
}

#theme-post.search-grid {
    margin: 42px 0px 70px;
}

#theme-post-wrapper {
    width: 780px;
}

#theme-widget-wrapper {
    width: 300px;
}

#theme-post-wrapper.x-full-width {
    width: 90%;
    margin: 0 auto;
}

#theme-post-wrapper.post-grid-full {
    width: 100%;
    margin: 0 auto;
}

.x-padding-right {
    padding-right: 56px;
}

.x-padding-left {
    padding-left: 56px;
}

/****************************************
 * THEME FOOTER INSTAGRAM
 ****************************************/
#theme-footer-instagram {
    margin-bottom: -5px;
    padding-top: 30px;
}

#theme-footer-instagram-title {
    margin-bottom: 30px;
}

#theme-footer-instagram-body .item {
    float: left;
    width: 16.66666666666667%;
}

#theme-footer-instagram-body .item a:hover {
    opacity: 0.8;
}

/****************************************
 * THEME FOOTER FLICKR
 ****************************************/
#theme-flickr-footer {
    padding-top: 30px;
    margin-bottom: -5px;
}

#theme-flickr-footer-title {
    margin-bottom: 30px;
}

#theme-flickr-footer-body .item {
    float: left;
    width: 16.66666666666667%;
    height: 227px;
    background-size: cover;
    background-position: 50% 0;
    background-repeat: no-repeat;
    position: relative;
}

#theme-flickr-footer-body .item:hover .info-wrapper {
    opacity: 1;
}

#theme-flickr-footer-body .info-wrapper {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    transition: ease 0.2s;
}

#theme-flickr-footer-body .info-body {
    display: table;
    width: 100%;
    height: 100%;
}

#theme-flickr-footer-body .info-meta {
    display: table-cell;
    vertical-align: middle;
    padding: 0px 20px;
}

/****************************************
 * THEME FOOTER
 ****************************************/
.theme-footer-main {
    padding: 58px 0px 59px;
}

.theme-footer-logo {
    margin-bottom: 22px;
}

.theme-footer-social-wrapper {
    display: table;
    margin: 0 auto;
}

.theme-footer-social-wrapper a {
    display: table-cell;
    width: 42px;
    height: 42px;
    vertical-align: middle;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.theme-footer-social-wrapper .divider {
    display:table-cell;  
    width: 11px;
}

.theme-footer-text {
    margin-top: 24px;
}