/* ------------------------------------------------------------------- */
/* 06. Media Queries
---------------------------------------------------------------------- */

/* Large (devices and browsers) */
@media only screen and (min-width: 1660px) {
  /* Isotope Grid Size */
  .isotope-one-cols .isotope-sizer,
  .isotope-one-cols .isotope-item {
    width: 100%;
  }

  .isotope-two-cols .isotope-sizer,
  .isotope-two-cols .isotope-item {
    width: 50%;
  }

  .isotope-three-cols .isotope-sizer,
  .isotope-three-cols .isotope-item {
    width: 33.33%;
  }

  .isotope-four-cols .isotope-sizer,
  .isotope-four-cols .isotope-item {
    width: 25%;
  }

  .isotope-five-cols .isotope-sizer,
  .isotope-five-cols .isotope-item {
    width: 20%;
  }

  .isotope-six-cols .isotope-sizer,
  .isotope-six-cols .isotope-item {
    width: 16.66%;
  }
  .custom-caption-2 {
    padding-left: 0 !important;
  }
}

/* Standard 1180 (devices and browsers) */
@media (max-width: 1659px) {
  .custom-caption-2 {
    padding-left: 12% !important;
  }
  .centered.custom-caption-2 {
    padding-left: 0 !important;
  }

  /* Isotope Grid Size */
  .isotope-one-cols .isotope-sizer,
  .isotope-one-cols .isotope-item {
    width: 100%;
  }

  .full-width-blog-with-sidebar .isotope-three-cols .isotope-sizer,
  .full-width-blog-with-sidebar .isotope-three-cols .isotope-item,
  .blog-wrapper-with-sidebar.isotope-three-cols .isotope-sizer,
  .blog-wrapper-with-sidebar.isotope-three-cols .isotope-item,
  .isotope-two-cols .isotope-sizer,
  .isotope-two-cols .isotope-item {
    width: 50%;
  }

  .isotope-three-cols .isotope-sizer,
  .isotope-three-cols .isotope-item {
    width: 33.33%;
  }

  .isotope-four-cols .isotope-sizer,
  .isotope-four-cols .isotope-item,
  .blog-wrapper.isotope-five-cols .isotope-sizer,
  .blog-wrapper.isotope-five-cols .isotope-item {
    width: 25%;
  }

  .isotope-six-cols .isotope-sizer,
  .isotope-six-cols .isotope-item {
    width: 16.66%;
  }

  .blog-wrapper.isotope-four-cols .post-content {
    padding: 45px;
  }
  .blog-wrapper.isotope-four-cols .post-content h3 {
    font-size: 22px;
    line-height: 32px;
    margin-bottom: -5px;
  }
  .blog-wrapper.isotope-four-cols .post-quote {
    padding: 40px;
  }

  /* Titlebar */
  #titlebar.single-post-titlebar {
    padding: 150px 0 !important;
  }
  #header#header-container #titlebar.large {
    padding: 130px 0;
  }
  #header-container #titlebar.centered {
    padding: 110px 0;
  }

  #header-container #titlebar {
    padding: 90px 0;
  }
  .glyph {
    width: 45%;
  }

  #counters {
    padding: 80px 0;
  }

  .parallax-content.wide h2 {
    max-width: 70%;
    font-size: 80px;
  }

  .fullscreen.video .parallax-content h2 {
    font-size: 58px;
    line-height: 76px;
  }
  .icon-box-4:after {
    margin-top: -55%;
  }

  .fullscreen-nav-container ul li {
    font-size: 42px;
    line-height: 36px;
    padding: 18px;
  }
}

/* Smaller than standard 1180 (devices and browsers) */
@media (max-width: 1239px) {
  .full-width.projects a {
    width: 33.33333%;
  }

  .counter-box i,
  .counter-box .counter {
    font-size: 44px;
  }
  .counter-box p {
    font-size: 18px;
    margin-top: 7px;
  }

  .parallax-banner {
    padding: 80px 0 75px 0;
  }
  .parallax-title {
    font-size: 36px;
  }
  .parallax-title span {
    font-size: 22px;
  }

  /* Blog Grid Sizes */
  .blog-wrapper.isotope-one-cols .isotope-sizer,
  .blog-wrapper.isotope-one-cols .isotope-item {
    width: 100%;
  }

  .related-posts.isotope-three-cols .isotope-sizer,
  .related-posts.isotope-three-cols .isotope-item,
  .blog-wrapper.isotope-two-cols .isotope-sizer,
  .blog-wrapper.isotope-two-cols .isotope-item {
    width: 50%;
  }

  .blog-wrapper.isotope-three-cols .isotope-sizer,
  .blog-wrapper.isotope-three-cols .isotope-item,
  .blog-wrapper.isotope-four-cols .isotope-sizer,
  .blog-wrapper.isotope-four-cols .isotope-item,
  .blog-wrapper.isotope-five-cols .isotope-sizer,
  .blog-wrapper.isotope-five-cols .isotope-item {
    width: 33.33%;
  }

  .full-width-blog-with-sidebar .isotope-three-cols .isotope-sizer,
  .full-width-blog-with-sidebar .isotope-three-cols .isotope-item,
  .blog-wrapper-with-sidebar.isotope-three-cols .isotope-sizer,
  .blog-wrapper-with-sidebar.isotope-three-cols .isotope-item {
    width: 50%;
  }

  .blog-wrapper.isotope-six-cols .isotope-sizer,
  .blog-wrapper.isotope-six-cols .isotope-item {
    width: 16.66%;
  }

  .full-width-blog-with-sidebar .post-content,
  .blog-wrapper-with-sidebar .post-content,
  .blog-wrapper.isotope-three-cols .post-content,
  .blog-wrapper.isotope-three-cols .post-content,
  .blog-wrapper.isotope-four-cols .post-content,
  .blog-wrapper.isotope-four-cols .post-content,
  .blog-wrapper.isotope-five-cols .post-content,
  .blog-wrapper.isotope-five-cols .isotope-item {
    padding: 45px;
  }

  /* Titlebar */
  #titlebar.single-post-titlebar {
    padding: 110px 0 !important;
  }

  #header-container #titlebar.large,
  #header-container #titlebar.centered {
    padding: 100px 0;
  }
  #header-container #titlebar {
    padding: 80px 0;
  }

  #header-container.basic #titlebar {
    padding: 70px 0;
  }
  #header-container.basic #titlebar.centered {
    padding: 80px 0;
  }

  #titlebar h2,
  #titlebar.single-post-titlebar h2 {
    font-size: 40px !important;
    line-height: 46px !important;
  }

  /* Dynamic Grid */
  .og-content {
    padding: 40px;
    padding-left: 15px;
  }

  .og-content h3 {
    font-size: 20px;
    line-height: 30px;
  }

  .add-comment input {
    width: 40%;
  }

  #countdown div {
    margin: 10px 5px;
    float: none;
  }

  .image-edge-content h2 {
    font-size: 34px;
    line-height: 48px;
  }
  .image-edge {
    height: 60vw;
  }
  .image-edge-content {
    padding: 0 6%;
  }

  /* 404 Error Page  */
  #not-found {
    margin: 40px 0 60px 0;
  }

  #not-found h2 {
    font-size: 180px;
    line-height: 160px;
  }

  #not-found p {
    font-size: 26px;
    line-height: 42px;
  }

  #not-found i {
    font-size: 180px;
    top: 0px;
  }

  .testimonial-carousel.full-width .testimonial {
    width: 50%;
  }
  .testimonial-carousel.full-width .owl-controls {
    width: 80%;
  }
  .projects.style-7 a .overlay {
    padding: 0 30px;
  }
  .icon-box-4:after {
    margin-top: -70%;
  }
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media (max-width: 991px) {
  .fullscreen-nav-container ul li {
    font-size: 32px;
    line-height: 26px;
    padding: 18px;
  }

  #loader-wrapper {
    display: none;
  }

  .icon-box-4:after {
    margin-top: -60%;
  }

  .button.social-btn {
    margin-bottom: 50px;
  }
  .testimonial-carousel.full-width .testimonial {
    width: 60%;
  }
  .testimonial-carousel.full-width .testimonial p {
    font-size: 20px;
    line-height: 36px;
  }
  .testimonial-carousel.full-width .owl-controls {
    width: 95%;
  }

  h3.headline {
    margin: 45px 0 35px 0;
  }

  .full-width.projects a {
    width: 50%;
  }
  .vanilla-content {
    padding: 0;
  }
  .header-widget {
    float: none;
    margin: 0;
    width: 100%;
    display: inline-block;
    text-align: center;
  }

  .header-widget li {
    text-align: left;
    margin-top: 35px;
    margin-bottom: 7px;
  }

  #logo {
    text-align: center;
    width: 100%;
  }

  h3.headline {
    font-size: 24px;
    line-height: 36px;
    margin: 40px 0 37px 0;
  }

  .headline span.headline-detail {
    float: none;
    margin: 10px 0 5px 0;
  }

  .tabs-nav.blog li,
  .tabs-nav.blog li a,
  .tabs-nav li,
  .tabs-nav li a {
    width: 100%;
    padding: 0;
    border-radius: 3px;
    text-align: center;
    border-bottom: none;
  }

  .style-5 .tabs-nav.blog li a {
    border-radius: 50px !important;
    margin-bottom: 1px;
  }

  .style-1 .tabs-container .tab-content {
    border: none;
  }
  .style-2 .tabs-container {
    display: inline-block;
    margin-top: 15px;
  }

  .tabs-nav li.active a {
    color: #fff !important;
  }

  .style-3 .tabs-nav li {
    margin-bottom: 2px;
  }

  .row div .widget:first-child {
    margin-top: 70px;
  }

  .sidebar-textbox {
    margin-top: 0;
  }

  .counter-box i,
  .counter-box .counter {
    font-size: 54px;
  }
  .counter-box p {
    font-size: 21px;
    margin-top: 12px;
  }

  .counter-box {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
  .counter-box:after {
    height: 1px;
    width: 100%;
    top: 100%;
  }

  #counters {
    padding: 50px 0 0 0;
  }

  .counter-boxes-inside-parallax .counter-box-icon {
    top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0;
  }

  .rev_slider .tp-caption,
  .rev_slider .caption {
    padding-top: 90px !important;
  }
  .relative-header.rev_slider .tp-caption,
  .relative-header.rev_slider .caption {
    padding-top: 0px !important;
  }

  .simple-slider.shop {
    margin-bottom: 30px;
  }

  /* Portfolio Grid */
  .isotope-sizer,
  .isotope-item,
  .fw .isotope-sizer,
  .fw .isotope-item,
  .item--width2,
  .item--width3,
  .fw .item--width2,
  .og-grid > li,
  .fw .item--width3 {
    width: 50%;
  }

  /* Blog Grid Sizes */
  .shop-wrapper.isotope-four-cols.fw .isotope-sizer,
  .shop-wrapper.isotope-four-cols.fw .isotope-item,
  .shop-wrapper.isotope-three-cols.fw .isotope-sizer,
  .shop-wrapper.isotope-three-cols.fw .isotope-item,
  .shop-wrapper.isotope-three-cols .isotope-sizer,
  .shop-wrapper.isotope-three-cols .isotope-item,
  .blog-wrapper.isotope-one-cols .isotope-sizer,
  .blog-wrapper.isotope-one-cols .isotope-item,
  .blog-wrapper.isotope-two-cols .isotope-sizer,
  .blog-wrapper.isotope-two-cols .isotope-item,
  .blog-wrapper.isotope-three-cols .isotope-sizer,
  .blog-wrapper.isotope-three-cols .isotope-item,
  .blog-wrapper.isotope-four-cols .isotope-sizer,
  .blog-wrapper.isotope-four-cols .isotope-item,
  .blog-wrapper.isotope-five-cols .isotope-sizer,
  .blog-wrapper.isotope-five-cols .isotope-item,
  .blog-wrapper.isotope-six-cols .isotope-sizer,
  .blog-wrapper.isotope-six-cols .isotope-item {
    width: 50% !important;
  }

  .extra-gutter-left,
  .extra-gutter-left-30px,
  .extra-gutter-left-35px {
    padding-left: 15px;
  }

  .extra-gutter-right,
  .extra-gutter-right-30px,
  .extra-gutter-right-35px {
    padding-right: 15px;
  }

  .isotope-wrapper.extra-gutter-right {
    margin-right: 0px;
    padding-right: 0;
  }
  .isotope-wrapper.extra-gutter-left {
    margin-left: 0px;
    padding-left: 0;
  }

  /* Titlebar */
  #titlebar.single-post-titlebar {
    padding: 90px 0 !important;
  }

  #header-container #titlebar.large,
  #header-container #titlebar.centered,
  #header-container #titlebar {
    padding: 90px 0;
  }

  #header-container.basic #titlebar,
  #header-container.basic #titlebar.centered {
    padding: 70px 0;
  }

  #titlebar h2,
  #titlebar.single-post-titlebar h2 {
    font-size: 36px !important;
    line-height: 46px !important;
  }

  #titlebar span {
    font-size: 26px !important;
    margin-top: 0 !important;
  }

  #blogSlider .meta-tags span,
  #header-container #titlebar.single-post-titlebar .meta-tags span {
    font-size: 13px !important;
    margin-top: 20px !important;
  }
  #blogSlider .meta-tags,
  #header-container #titlebar.single-post-titlebar .meta-tags {
    margin-left: 30px;
  }

  #portfolio-nav {
    top: 50%;
    width: 95%;
    left: 5%;
    right: 0;
    margin: 0 auto;
  }

  .full-width-blog-with-sidebar {
    padding: 0 30px;
  }

  #main-header.cloned {
    display: none;
  }

  /* Dynamic Grid */
  .og-content {
    padding: 50px;
  }

  .og-content h3 {
    font-size: 22px;
  }
  .add-comment input {
    width: 100%;
  }

  .parallax-content h2 {
    font-size: 66px !important;
    line-height: 70px !important;
    padding: 0 5%;
  }

  .full-width-box-container {
    display: block;
  }
  .full-width-box-content {
    min-height: auto;
    padding: 40px !important;
  }
  .full-width-box-content.image-bg {
    min-height: 30vh;
  }

  /* Image Edge  */
  .image-edge {
    position: relative;
    overflow: visible;
    margin: 0;
    height: auto;
    max-height: auto;
    display: inline-block;
    padding: 0;
    width: 100%;
  }

  .image-edge-content {
    padding: 0;
    top: 0;
    position: relative;
    transform: translateY(0%);
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    width: 100%;
    padding: 50px;
    padding-bottom: 30px;
  }

  .image-edge-content h3.headline {
    width: 100%;
    display: block;
    margin-top: 0;
  }

  .presentation-content h2,
  .image-edge-content h2 {
    font-size: 34px;
    line-height: 48px;
  }

  .edge-bg {
    position: relative;
    width: 100%;
    top: 20px;
    overflow: hidden;
    right: 0;
    height: 450px;
    display: inline-block;
  }

  .edge-bg:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 34, 0.1);
  }

  .image-edge.left .image-edge-content,
  .image-edge.left .edge-bg {
    left: 0;
  }

  .image-edge.left .container {
    transform: translateX(0);
    -webkit-transform: translateX(0);
  }

  .office-address {
    padding: 60px 0 !important;
  }
  #googlemaps {
    height: 30vh !important;
    padding-bottom: 0 !important;
  }

  .edge-bg.with-map {
    height: 30vh !important;
    margin-bottom: 30px;
  }
  .image-edge #googlemaps,
  .image-edge .google-map-container {
    height: 100% !important;
  }

  .stacktable.large-only {
    display: none;
  }
  .stacktable.small-only {
    display: table;
  }
  .cart-table.bottom {
    border-top: 1px solid #e0e0e0;
  }

  /* Icons boxes */
  a.icon-box-4 {
    margin: 5px 0px;
    padding: 40px;
    display: inline-block;
    width: 100%;
  }
  .icon-boxes-4 {
    display: block;
    left: 0px;
    margin-left: 0;
  }

  .icon-box-4-content i {
    top: -10px;
  }

  .info-banner-fw a {
    display: table !important;
    padding: 3px 26px;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    margin: 0px 0 25px 0 !important;
    top: 25px !important;
  }

  .info-banner-fw {
    font-size: 26px;
  }
  .counter-box-icon {
    margin-bottom: 35px;
  }
  .hidden-on-mobile {
    display: none !important;
  }

  .presentation-desc,
  .presentation-img {
    width: 100%;
    display: block;
    padding: 0;
  }

  .presentation-content {
    padding: 50px 0;
  }

  .widget-tabs.shop.list li:last-child {
    margin-bottom: 40px;
  }
}

/* All Mobile Sizes (devices and browser) */
@media (max-width: 767px) {
  .section .photo-section-content {
    left: 30px;
    max-width: 100%;
  }
  .photo-section-content h2 {
    font-size: 36px;
    line-height: 46px;
  }

  .photo-section-content p {
    font-size: 28px;
    line-height: 36px;
    margin-right: 30px;
  }

  .photo-section-btn {
    font-size: 21px;
  }

  ul.footer-links {
    float: none;
    margin: 0;
  }

  ul.footer-links:last-child {
    margin-bottom: 30px;
  }

  #top-bar .social-icons {
    float: left !important;
  }

  input.center[type="button"],
  input.center[type="submit"] {
    margin-left: 0;
    transform: translateX(0);
  }

  .fullscreen.background {
    min-height: 400px;
  }

  .fullscreen.background .parallax-content {
    padding-top: 120px;
  }

  .scroll-to-section,
  .scroll-to-content {
    display: none;
  }

  .parallax-content h2 {
    font-size: 32px !important;
    line-height: 36px !important;
    letter-spacing: 0px !important;
  }

  .parallax-content h3 {
    font-size: 22px !important;
    line-height: 26px !important;
    letter-spacing: 0px !important;
  }

  .fullscreen-nav-container ul li {
    font-size: 22px;
    line-height: 26px;
    padding: 6px 0;
  }
  .fullscreen-nav-trigger {
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
  }
  .fsnav .fullscreen-nav-trigger {
    left: initial;
    top: -50px;
    right: 30px;
    text-align: right;
    display: inline-block;
  }

  .edge-bg {
    height: 350px;
  }
  .glyph {
    width: 100%;
  }

  .image-edge-content h2 {
    font-size: 26px;
    line-height: 40px;
  }

  .image-edge p {
    font-size: 18px;
    line-height: 28px;
  }

  /* Icons boxes */
  a.icon-box-4 {
    margin: 5px 0px;
    padding: 40px;
    display: inline-block;
    width: 100%;
  }
  .icon-boxes-4 {
    display: block;
    left: 0px;
    margin-left: 0;
  }

  .icon-box-4-content i {
    font-size: 55px;
    line-height: 60px;
    top: 5px;
  }
  .icon-box-4-content {
    padding-left: 90px;
  }

  h3.headline {
    margin: 48px 0 35px 0;
  }

  .style-4 .tabs-nav {
    width: 100%;
    display: block;
  }
  .style-4 .tabs-nav li a {
    width: 100%;
    padding: 0;
  }
  .style-4 .tabs-container {
    width: 100%;
    padding-left: 0;
    padding-top: 15px;
    display: block;
  }

  .image-edge-content {
    padding: 0;
    top: 0;
    position: relative;
    transform: translateY(0%);
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    width: 100%;
    padding: 30px;
    padding-bottom: 20px;
  }

  #small-dialog {
    padding: 25px;
  }

  .header-widget li a.button {
    margin-left: 0;
  }

  .full-width.projects a {
    width: 100%;
  }

  #titlebar #breadcrumbs {
    position: relative;
  }

  #titlebar #breadcrumbs ul {
    padding-left: 0;
    position: relative;
    top: 0;
    -webkit-transform: translateY(50%);
    -moz-transform: translateY(50%);
    -ms-transform: translateY(50%);
    transform: translateY(50%);
    left: 5px;
  }

  #titlebar span a,
  #titlebar span {
    display: block;
  }

  .option-set {
    margin: 0px 0 35px 0;
  }
  .option-set li {
    margin: 0 0 1px 0;
    width: 100%;
  }
  .option-set li a {
    display: inline-block;
    line-height: 22px;
    width: 100%;
  }

  .extra-gutter-left,
  .extra-gutter-right {
    padding: 0 15px;
  }

  #titlebar #breadcrumbs ul {
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
  }

  /* Blog Grid Sizes */
  .isotope-sizer,
  .isotope-item,
  .fw .isotope-sizer,
  .fw .isotope-item,
  .item--width2,
  .item--width3,
  .fw .item--width2,
  .og-grid > li,
  .fw .item--width3,
  .shop-wrapper.isotope-four-cols.fw .isotope-sizer,
  .shop-wrapper.isotope-four-cols.fw .isotope-item,
  .shop-wrapper.isotope-three-cols.fw .isotope-sizer,
  .shop-wrapper.isotope-three-cols.fw .isotope-item,
  .blog-wrapper.isotope-one-cols .isotope-sizer,
  .blog-wrapper.isotope-one-cols .isotope-item,
  .blog-wrapper.isotope-two-cols .isotope-sizer,
  .blog-wrapper.isotope-two-cols .isotope-item,
  .blog-wrapper.isotope-three-cols .isotope-sizer,
  .blog-wrapper.isotope-three-cols .isotope-item,
  .blog-wrapper.isotope-four-cols .isotope-sizer,
  .blog-wrapper.isotope-four-cols .isotope-item,
  .shop-wrapper.isotope-three-cols .isotope-sizer,
  .shop-wrapper.isotope-three-cols .isotope-item,
  .related-posts.isotope-three-cols .isotope-sizer,
  .related-posts.isotope-three-cols .isotope-item,
  .blog-wrapper.isotope-five-cols .isotope-sizer,
  .blog-wrapper.isotope-five-cols .isotope-item,
  .blog-wrapper-with-sidebar.isotope-two-cols .isotope-sizer,
  .blog-wrapper-with-sidebar.isotope-two-cols .isotope-item,
  .blog-wrapper.isotope-six-cols .isotope-sizer,
  .blog-wrapper.isotope-six-cols .isotope-item {
    width: 100% !important;
  }

  #portfolio-nav {
    display: none;
  }

  /* Titlebar */
  body #titlebar.single-post-titlebar {
    padding: 90px 0;
  }

  #header-container #titlebar.large,
  #header-container #titlebar.centered,
  #header-container #titlebar {
    padding: 70px 0;
  }

  #header-container.basic #titlebar,
  #header-container.basic #titlebar.centered {
    padding: 60px 0;
  }

  body #titlebar h2 {
    font-size: 30px;
    line-height: 38px;
  }

  #blogSlider .meta-tags span,
  #header-container #titlebar.single-post-titlebar .meta-tags span {
    margin: 15px 0px 0 0;
    padding-right: 5px;
    border: none;
    display: block;
  }

  .full-width-blog-with-sidebar {
    padding: 0;
  }

  #blogSlider .meta-tags span,
  #header-container #titlebar.single-post-titlebar .meta-tags span {
    margin: 15px 0 0 0 !important;
  }
  #blogSlider .meta-tags,
  #header-container #titlebar.single-post-titlebar .meta-tags {
    margin: 30px 0 0 0;
  }

  #titlebar.single-post-titlebar h2 {
    padding: 0;
  }

  /* Blog styling */
  #posts-nav li {
    position: relative;
    width: 100%;
  }

  #posts-nav li a {
    padding: 0 !important;
  }
  #posts-nav li a::before {
    display: none;
  }
  #posts-nav li.next-post {
    text-align: left;
    margin-bottom: 30px;
  }

  .about-author img {
    display: none;
  }
  .about-description {
    margin: 0;
  }
  .comments ul li ul {
    margin: 0;
  }

  .avatar img {
    max-width: 60px;
  }
  .comment-content {
    padding: 0 0 0 85px;
  }
  .comments ul li ul li::before {
    top: 25px;
  }

  /* 404 Error Page  */
  #not-found {
    margin: 20px 0 30px 0;
  }

  #not-found h2 {
    font-size: 90px;
    line-height: 70px;
  }

  #not-found p {
    font-size: 26px;
    line-height: 42px;
  }

  #not-found i {
    font-size: 90px;
    top: 0px;
  }

  .full-width-carousel::before,
  .full-width-carousel::after {
    display: none;
  }
  .rev_slider .tp-caption,
  .rev_slider .caption {
    padding-top: 140px !important;
  }
}

/* ------------------------------------------------------------------- */
/* Page Preloader
---------------------------------------------------------------------- */
#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: #666;
  -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
  z-index: 1001;
}

#loader:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #fff;
  -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
  animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(0deg); /* IE 9 */
    transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
  }
  100% {
    -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(360deg); /* IE 9 */
    transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(0deg); /* IE 9 */
    transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
  }
  100% {
    -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: rotate(360deg); /* IE 9 */
    transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
  }
}

#loader-wrapper {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  -webkit-transform: translateX(0); /* Chrome, Opera 15+, Safari 3.1+ */
  -ms-transform: translateX(0); /* IE 9 */
  transform: translateX(0); /* Firefox 16+, IE 10+, Opera */
  opacity: 1;
}

/* Page loader Background */
#loader-wrapper,
html.page-loader-bg {
  background: #222;
}

.loaded #loader {
  opacity: 0;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.loaded #loader-wrapper {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.7s ease-out;
  transition: all 0.7s ease-out;
}

/* JavaScript Turned Off */
.no-js #loader-wrapper {
  display: none;
}

/* Fix for Firefox*/
body.loaded #header-container.moz-fix {
  opacity: 1;
}
#header-container.moz-fix {
  opacity: 0;
}

/* ------------------------------------------------------------------- */
/* Styles Switcher
---------------------------------------------------------------------- */

#style-switcher h3 {
  color: #fff;
  font-size: 13px;
  margin: 10px 0;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

#style-switcher {
  background: #333;
  width: 205px;
  position: fixed;
  top: 80px;
  z-index: 9999;
  left: -205px;
  border-radius: 0 0 3px 0;
}

#style-switcher ul {
  list-style: none;
  padding: 0;
  margin-bottom: 22px;
}

#style-switcher div {
  padding: 6px 18px;
}

#style-switcher h2 {
  background: #282828;
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  line-height: 46px;
  padding: 0 0 0 20px;
  letter-spacing: 1px;
  margin-top: 0;
  text-transform: uppercase;
}

#style-switcher h2 a {
  background-color: #282828;
  display: block;
  height: 46px;
  position: absolute;
  right: -46px;
  top: 0;
  width: 46px;
  border-radius: 0 3px 3px 0;
  font-size: 22px;
  color: #fff;
  text-align: center;
}

#style-switcher h2 a i {
  position: relative;
  top: 2px;
}

.colors {
  list-style: none;
  margin: 0 0px 10px 0;
  overflow: hidden;
}

.colors li {
  float: left;
  margin: 4px 2px 0 2px;
}

.colors li a {
  display: block;
  width: 17px;
  height: 17px;
  cursor: pointer;
}

div.layout-style {
  padding: 0 !important;
}

.layout-style select {
  width: 164px;
  padding: 7px;
  color: #aaa;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin: 2px 0 25px 0px;
  background-color: #505050;
  border: 0;
  min-height: auto;
}

.green,
.green-bg {
  background: #44b272;
}
.blue,
.blue-bg {
  background: #0767c9;
}
.orange,
.orange-bg {
  background: #fa5b0f;
}
.navy,
.navy-bg {
  background: #495d7f;
}
.yellow,
.yellow-bg {
  background: #ffb400;
}
.peach,
.peach-bg {
  background: #fcab55;
}
.red,
.red-bg {
  background: #dd3737;
}
.beige,
.beige-bg {
  background: #bfa980;
}
.pink,
.pink-bg {
  background: #d64391;
}
.cyan,
.cyan-bg {
  background: #37b6bd;
}
.celadon,
.celadon-bg {
  background: #74aea1;
}
.brown,
.brown-bg {
  background: #784e3d;
}
.cherry,
.cherry-bg {
  background: #911938;
}
.gray,
.gray-bg {
  background: #555;
}
.purple,
.purple-bg {
  background: #917ae9;
}
.olive,
.olive-bg {
  background: #b3c211;
}

.bg1 {
  background-image: url("../images/bg/squared_metal.png");
}
.bg2 {
  background-image: url("../images/bg/retina_wood.png");
}
.bg3 {
  background-image: url("../images/bg/brushed_alu.png");
}
.bg4 {
  background-image: url("../images/bg/crisp_paper_ruffles.png");
}
.bg5 {
  background-image: url("../images/bg/navy_blue.png");
}
.bg6 {
  background-image: url("../images/bg/bedge_grunge.png");
}
.bg7 {
  background-image: url("../images/bg/diamond_upholstery.png");
}
.bg8 {
  background-image: url("../images/bg/shattered.png");
}
.bg9 {
  background-image: url("../images/bg/light_toast.png");
}
.bg10 {
  background-image: url("../images/bg/noise_pattern_with_crosslines.png");
}
.bg11 {
  background-image: url("../images/bg/purty_wood.png");
}
.bg12 {
  background-image: url("../images/bg/subtle_stripes.png");
}
.bg13 {
  background-image: url("../images/bg/textured_stripes.png");
}
.bg14 {
  background-image: url("../images/bg/tileable_wood_texture.png");
}
.bg15 {
  background-image: url("../images/bg/stardust.png");
}
.bg16 {
  background-image: url("../images/bg/vichy.png");
}

.colors li a.active {
  box-shadow: 0 0 0 2px #fff inset;
}
.colors li a {
  border-radius: 3px;
}

#reset {
  margin: -5px 0 15px 0px;
}
#reset a.button {
  padding: 7px 14px;
  font-weight: 700;
  font-size: 13px;
}
#reset a.button:hover {
  color: #333;
  background-color: #fff;
}

@media only screen and (max-width: 1024px) {
  #style-switcher {
    display: none;
  }
}
