/* 1200 */
@media only screen
and (max-width : 1200px) {  
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  #splash-module-recent .container {
    padding-left: 60px;
    padding-right: 60px;
  }
  section#splash-module-recent .owl-nav {
    top: 88px;
  }
  section#page-contact .column:first-child {
    width: 600px;
  }
  body:not(.body-splash) header {
    height: 130px;
  }
  body.body-splash header .o-line,
  header::after,
  header::before {
    display: none;
  }
  body:not(.body-splash) header .image-container {
    height: 80px;
    overflow: hidden;
  }
  header .o-line {
    position: absolute;
    top: 80px;
    left: 0;
    width: calc(100% - 35px);
  }
  header .o-line h1 {
    padding-left: 20px;
  }  
  body:not(.body-splash) header .image-container img {
    height: 400px;
    width: auto;
  }
  header .h1-container {
    width: calc(100% - 40px);
    height: auto;
    padding: 10px 20px;
  }
  section#navbar {
    height: 80px !important;
    background: rgba(0,0,0,0.6) !important;
    z-index: 400;
  }
  section#navbar img.logo {
    height: 55px !important;
  }
  section#splash-module-recent {
    padding-top: 0;
  }
  #resp-menu,
  #resp-close {
    display: block;
    color: #ffffff;
    font-size: 36px;    
  }
  #resp-menu {
    margin-left: auto;    
  }
  #resp-close {
    position: absolute;
    bottom: 50px;
  }
  section#navbar nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: rgba(246,146,30,0.98);
    flex-direction: column;
    padding: 50px 20px;
    overflow-y: auto;
    z-index: 100;
  }
  section#navbar nav.opened {
    left: 0;
  }
  section#navbar nav a,
  section#navbar nav span {
    width: 100%;
    height: auto;
    padding-bottom: 20px;
    margin-bottom: 20px;
    margin-left: 0;
    border-bottom: rgba(255,255,255,0.5) 1px dotted;
    text-align: center;
    justify-content: center;
    flex-direction: column;
  }
  section#navbar nav a i,
  section#navbar nav a.selected::before,
  section#navbar nav span.selected::before {
    display: none;
  }
  section#navbar nav .dropdown {
    display: none;
    position: relative !important;
    top: auto !important;
    right: auto !important;
  }
  section#navbar nav .dropdown-inner::before {
    display: none !important;
  }
  section#navbar nav .dropdown-inner {
    background: none !important;
    padding: 0 !important;
  }
  section#navbar nav .dropdown a {
    border: none !important;
    margin-bottom: 0 !important;
  }
  section#navbar nav .dropdown a:first-child {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
  }
  section#navbar nav .dropdown a:last-child {
    padding-bottom: 0 !important;
  }
}

/* 1024 */
@media only screen
and (max-width : 1024px) {
  #page-about .columns,
  section#page-contact .columns,
  section#page-post .columns {
    flex-direction: column;
    flex-wrap: wrap;
  }
  #page-about .column,
  #page-post .column {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  section#page-about .column:last-child,
  section#page-post .column:last-child {
    margin-top: 50px;
  }
  section#page-contact .column:first-child,
  section#page-post .column:first-child {
    width: 100%;
    margin-right: 0;
    margin-bottom: 50px;
  }
  header .image-container img {
    object-position: calc(100% + 300px) center;
  }
  section#page-posts .refine-block-container {
    flex-direction: column;
  }
  section#page-posts .refine-keyword,
  section#page-posts .refine-date {
    width: 100%;
  }
  section#page-posts .refine-tags .tags-container {
    flex-wrap: nowrap;
    width: calc(100% + 40px);
    margin-left: -20px;
    padding-left: 15px;
    overflow-x: scroll;
  }
  section#page-posts .article-item {
    flex-direction: column;
  }
  section#page-posts .article-item .image-container {
    width: 500px;
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
  section#page-posts .article-item .button {
    margin: 30px auto 0 auto;
  }
}

/* 768 */
@media only screen
and (max-width : 768px) {
  section#splash-module-recent .owl-nav {
    top: 58px;
  }
  section#page-project .columns {
    flex-direction: column;
    flex-wrap: wrap;
  }
  section#page-project .column:first-child {
    width: 100%;
    margin-right: 0;
    margin-bottom: 50px;
  } 
  section#page-404 .mce-content::before {
    display: none;
  }
}

/* 600 */
@media only screen
and (max-width : 600px) {
  header .h1-container h1 {
    font-size: 24px;
  }  
}

/* 480 */
@media only screen
and (max-width : 480px) {
  header .image-container img {
    object-position: calc(100% + 500px) center;
  }
  section#page-posts .refine-block-container .buttons-container {
    flex-direction: column;
  }
  section#page-posts .refine-block-container .buttons-container a {
    margin-right: auto;
  }
  section#page-posts .refine-block-container .buttons-container .clear {
    margin-left: 0;
    margin-top: 30px;
  }
}