/*
Theme Name: SAN APP
Theme URI:
Author: Net Service
Author URI: http://netservice.lv
Description:
Version: 1.0
Text Domain: sanapp
*/

html,
body {
  margin: 0 !important;
  height: 100%;
  margin-bottom: 484px;
}
body {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}
footer{
    margin-top: 484px;
}
h1,h2,h3,h4,h5,h6,p,a,li,span {
  font-family: 'Roboto', sans-serif;
  color: #000000;
  font-weight: 400;
  margin-top: 16px;
  margin-bottom: 16px;
}
h1{
    font-size: 64px;
    margin-top: 32px;
}
h2{
    font-size: 32px;
    font-weight: 100;
    margin-top: 0;
    margin-bottom: 26px
}
p{
    font-size: 16px;
    font-weight: 100;
    color: #282828;
    margin-top: 45px;
    margin-bottom: 50px;
}
p.small{
    font-size: 16px;
    font-weight: 100;
    color: #282828;
}
.picture-count{
    text-align: center;

}
p.published,.post.post-container>p.published,.post.big-post>p.published{
    color: #8c8c8c;
    margin: 0;
	font-size: 12px;
   
}
.post.post-container > a{
    display: block;

}
.post.post-container>p,.post.big-post>p{
    margin-bottom: 22px;
    margin-top: 0;
}
a{
    font-size: 16px;
    color: #0c3239;
    margin-top: 8px;
    margin-bottom: 8px;
}
.container{
    width: 1070px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.container-content{
    width: 1070px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: table;
    height: 100%;
    top: -16px;
}
.container-content>div{
    display: table-cell;
    vertical-align: middle;
}
.content{
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
}
.about-text{
    width: 517px;
    margin-right: 16px;
    margin-top: 0;
    display: inline-block;
}
.about-image{
    width: 517px;
    margin-left: 16px;
    display: inline-block;
}
.post-container{
    width: 517px;
}
.post-container>p{
    font-size: 16px;
    font-weight: 100;
    color: #282828;
    margin-top: 0;
    margin-bottom: 32px;
}
.contacts>p{
    margin-top: 8px;
}
.contacts>h2{
    margin-top: 16px;
}
.item-hidden{
    display: none;
}
.item-1{
    display: inline-block;
    position: fixed;
    right: 40px;
    top: 40px;
}
.item-2{
    display: inline-block;
    position: fixed;
    right: 40px;
    bottom: 40px;
}
.item-3{
    display: inline-block;
    position: fixed;
    bottom: 40px;
    left: 40px;
}
.menu-item>a{
    font-size: 24px;
    font-weight: 300;
    color: #231f20;
    text-decoration: none;
    transition: 0.2s;
}
.menu-item>a:hover{
    text-decoration: underline;
    transition: 0.2s;
}
.current-menu-item>a{
    font-weight: 500;
    color: #0c3239;
}
.post-thumb{
    width: 100%;
    height: auto;
}
.post.post-container.instagram-none{
    display: none;
}
.big-post{
    max-width: 758px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.post{
    margin-bottom: 71px;
}
.store-container{
    width: 360px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 122px;
}
.store-btn>img{
    width: 170px;
    height: auto;
    display: inline-block;
}
.store-container>a{
    margin: 0;
}
.hideobject{
    display: none;
}
.timeline-offset{
    position: absolute;
    top: 484px;
}
.blockobject{
    display: block;
}
#headerlogo{
    width: 47px;
    top: 40px;
    left: 40px;
    position: fixed;
}
#logocontainer{
    position: relative;
    width: 301px;
    transform: scale(1);
    display: flex;
    justify-content: center;
}
#logocontainer a img{
    width: 266px;
}
#headercontainer{
    width: 100%;
    position: fixed;
    display: flex;
    justify-content: center;
    top: 0;
    height: 0;
}
.scroll-space{
    margin-top: 620px !important;
}
#logocontainer>a>img{
    margin-top: 178px;
}
.hamburger{
    display: none;
}
.littlelogo{
    width: 70px;
    height: auto;
    position: fixed;
    left: 40px;
    top: 40px;
    display: none;
}
.projects-container{
    margin-top: 120px;
}
.languagebar{
    position: fixed;
    right: 40px;
    top: 26px;
    text-transform: uppercase;
}
.languagebar a{
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
    color: #231f20;
    opacity: 0.6;
}
.languagebar a.active-lang{
    opacity: 1;
}
.slasher{
    margin: 0 18px;
}

/*Projects*/
.feed {
    margin-top: 6px;
}

.projects-container .project-load{
    width: 250px;
    height:48px;
    display: block;
    margin: 0 auto 48px auto;
    font-size: 20px;
    text-transform: uppercase;
    color: #231f20;
    border: 2px solid #231f20;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    transition: .2s ease-in;
}
.projects-container .project-load:hover{
    background-color: rgba(0, 0, 0, 1);
    color: #fff;
}

.feed .grid{
    margin-bottom: 40px;
}
.feed .item{
    width: 250px;
    background-color: #fff;
    margin-bottom: 32px;
}
.feed .item img{
width: 100%;
height: auto;
}
.feed .item-wrapper{
margin-bottom: 18px;
display: inline-block;
vertical-align: top;
}
.feed .item-wrapper:not(:nth-child(4n)){
    margin-right: 15px;
}
.feed h3{
    margin: -30px 0 0 0;
    width: 250px;
    height: 23px;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.feed .item a:not(:first-child){
    display: none;
}
.feed .item-prev, .feed .item-next{
    display: none;
}

#lightbox .lb-image{
    border: none;
}
#lightbox .lb-data{
    padding: 15px 0;
}
#lightbox .lb-data:after{
    content: "";
    clear: both;
    display: table;
}
#lightbox .lb-outerContainer{
    background-color: transparent;
}
.lb-number{
    display: none !important;
}
.lb-data .lb-details .lb-caption{
    font-size: 16px;
    color: #fff;
    font-weight: 300;
    line-height: 1;
    margin-top: 20px;
}
.lb-data .lb-details .lb-number{
    display: none;
}
#lightbox .lb-closeContainer{
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 10;
}
#lightbox .lb-closeContainer .lb-close{
    position: absolute;
    right: 38px;
    top: 48px;
    width: 45px;
    height: 45px;
    opacity: 1;
}
#lightbox .lb-closeContainer .lb-close:hover {
  opacity: 0.6;
}
.lb-close:before, .lb-close:after {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  content: ' ';
  height: 3px;
  width: 48px;
  background-color: #fff;
}
.lb-close:before {
  transform: rotate(45deg);
}
.lb-close:after {
  transform: rotate(-45deg);
}
#lightbox .lb-nav{
    position: fixed;
    margin: auto;
    top: 0;
    bottom: 0;
    height: 40px;
}
#lightbox .lb-nav .lb-prev,
#lightbox .lb-nav .lb-next{
    width: 30px;
    position: absolute;
    height: 30px;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 28px;
    opacity: 1;
}
#lightbox .lb-nav .lb-prev{
    left: 28px;
    right: initial;
}
#lightbox .lb-nav .lb-prev:hover,
#lightbox .lb-nav .lb-next:hover{
    opacity: 0.7;
}
.lb-prev:after, .lb-prev:before, .lb-next:after, .lb-next:before{
    position: absolute;
    content: ' ';
    height: 3px;
    width: 30px;
    background-color: #fff;
    display: block;
}
.lb-next:after{
    transform: rotate(45deg);
    right: 0;
}
.lb-next:before{
    transform: rotate(-45deg);
    top:20px;
    right: 0;
}
.lb-prev:after{
    transform: rotate(-45deg);
    left: 0;
}
.lb-prev:before{
    transform: rotate(45deg);
    top:20px;
    left: 0;
}


/* Breakpoints */

@media (max-width: 1430px){
    .languagebar{
        display: none;
        position: fixed;
        top: 64px;
        right: 0;
        width: 100%;
        text-align: center;
        z-index: -1;
    }
    .languagebar a{
        font-size: 33px;
        font-weight: 300;
        text-align: left;
        color: #808285;
        text-decoration: none;
        opacity: 1;
    }
    .languagebar a.active-lang{
        color: #fff;
    }
}

@media (max-width: 1132px) {
    .feed .item-wrapper:not(:nth-child(4n)){
        margin-right: 0;
    }
    .feed .item-wrapper:not(:nth-child(3n)){
        margin-right: 15px;
    }
}
@media (max-width: 860px) {
    .feed .item-wrapper:not(:nth-child(3n)){
        margin-right: 0;
    }
    .feed .item-wrapper:not(:nth-child(2n)){
        margin-right: 15px;
    }
}

@media (max-width: 555px){
    .item-wrapper{
        width: calc(50% - 16px);
        margin-right: 16px;
    }
    .feed .item{
        width: 100%;
        overflow: hidden;
        position: relative !important;
        top: 0 !important;
}
    .feed .item img{
    max-height: 400px;
}
    .feed .item a{
    cursor: pointer;
    vertical-align: top;
}
    .feed .item-btns{
    margin-top: -30px;
    display: block;
}
    .feed h3{
    margin: -30px 0 16px 0;
    width: 100%;
}
    .feed .item-prev, .feed .item-next{
    display: inline-block;
    cursor: pointer;
    float: left;
    padding-right: 8px;
}
    .feed .item-next{
    float: right;
    padding-left: 8px;
    padding-right: 0;
}
}

@media (max-width:682px) {
    #lightbox .lb-nav{
        position: inherit;
    }
    #lightbox .lb-closeContainer .lb-close{
        right: 10px;
        top: 10px;
    }
    #lightbox .lb-nav .lb-next{
        right: 8px;
    }
    #lightbox .lb-nav .lb-prev{
        left: 8px;
    }
    #headerlogo{
        width: 70px;
    }
    .languagebar{
        display: none;
        top: 21px;
    }
    .languagebar a{
        font-size: 33px;
        font-weight: 300;
        text-align: left;
        color: #808285;
        text-decoration: none;
    }
    .languagebar a.active-lang{
        color: #fff;
    }
    .container-content, .container{
        width: calc(100% - 64px);
        transition: 0.2s;
        margin-top: 230px;
        display: block;
    }
    .container-content>div{
        display: block;
    }
    .about-image{
        display: block;
        width: 100%;
        margin: 0;
    }
    .about-text{
        width: 100%;
        margin-right: 0;
        display: block;
    }
    p.small{
        font-size: 22px;
    }
    .content{
        margin-top: 30px;
        display: block;
    }
    .post-container{
        width: 100%;
    }
    h2{
        margin-bottom: 12px;
    }
    header{
        background-color: #ffffff;
        height: 180px;
        width: 100%;
        position: fixed;
        z-index: 300;
    }
    .item-1{
        display: none;
    }
    .item-2{
        display: none;
    }
    .item-3{
        display: none;
    }
    .post{
        margin-left: auto;
        margin-right: auto;
    }
    .post{
        width: 100%;
        margin-left: auto !important;
        margin-top: auto !important;
        margin-right: auto !important;
        margin-bottom: 30px;
    }
    .store-container{
        width: 301px;
        margin-bottom: 244px;
        margin-top: 77px;
        height: 196px;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .store-btn>img{
        width: 301px;
        height: auto;
        display: block;
    }
    .store-container>a{
        margin: 0;
    }
    footer{
        margin-top: 121px;
    }
    #headercontainer{
        height: 10px;
        position: absolute;
    }
    .hamburger {
      display: inline-block;
      cursor: pointer;
      transition-property: opacity, filter;
      transition-duration: 0.15s;
      transition-timing-function: linear;
      font: inherit;
      color: inherit;
      text-transform: none;
      background-color: transparent;
      border: 0;
      margin: 0;
      overflow: visible;
      float: right;
      right: 40px;
      position: relative;
      height: 100%;
    }
    .hamburger:hover {
      opacity: 0.7;
    }
    .hamburger-box {
      width: 61px;
      height: 45px;
      display: inline-block;
      position: relative;
    }
    .hamburger-inner {
      display: block;
      top: 50%;
      margin-top: -2px;
    }
    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
      width: 61px;
      height: 3px;
      background-color: #000;
      position: absolute;
      transition-property: transform;
      transition-duration: 0.15s;
      transition-timing-function: ease;
    }
    .hamburger-inner::before,
    .hamburger-inner::after {
      content: "";
      display: block;
    }
    .hamburger-inner::before {
      top: -18px;
    }
    .hamburger-inner::after {
      bottom: -18px;
    }
    .menuoverlay{
        display: none;
        height: 100%;
        width: 100%;
        background-color: rgba(012, 050, 057, 0.95);
        position: fixed;
        z-index: 3000;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
    }
    .headerNav{
        padding: 0;
        float: left;
        clear: both;
        align-self: center;
    }
    .item-hidden{
        display: block;
        position: relative;
        text-align: center;
    }
    .item-1{
        display: block;
        position: relative;
        text-align: center;
        right: 0;
        top: 0;

    }
    .item-2{
        display: block;
        position: relative;
        text-align: center;
        right: 0;
        bottom: 0;

    }
    .item-3{
        display: block;
        position: relative;
        text-align: center;
        left: 0;
        top: 0;

    }
    .menu-item>a,.current-menu-item>a{
        font-size: 32px;
        font-weight: 300;
        color: #fff;
        transition: 0.2s;
    }
    .menu-item>a:hover,.current-menu-item>a:hover{
        text-decoration: underline;
        transition: 0.2s;
    }
    .closecross {
      position: absolute;
      right: 61px;
      top: 61px;
      width: 32px;
      height: 32px;
      opacity: 1;
    }
    .closecross:hover {
      opacity: 0.6;
    }
    .closecross:before, .closecross:after {
      position: absolute;
      left: 15px;
      content: ' ';
      height: 33px;
      width: 3px;
      background-color: #fff;
    }
    .closecross:before {
      transform: rotate(45deg);
    }
    .closecross:after {
      transform: rotate(-45deg);
    }
}
@media (max-width:470px){
    #headerlogo{
        width: 70px;
    }
    .store-container{
        width: 240px;
    }
    .store-btn>img{
        width: 227px;
    }
}

@media (min-width:682px) and (max-width:1430px) {
    #headerlogo{
        width: 70px;
    }
    .container-content, .container{
        width: calc(100% - 64px);
        transition: 0.2s;
        margin-top: 230px;
        display: block;
    }
    .container-content>div{
        display: block;
    }
    .post-container{
        width: auto;
    }
    .about-image{
        display: block;
        width: 100%;
        margin: 0;
    }
    .about-text{
        width: 100%;
        margin-right: 0;
        display: block;
    }
    p.small{
        font-size: 22px;
    }
    .content{
        margin-top: 30px;
        display: block;
    }
    .item-1{
        display: none;
    }
    .item-2{
        display: none;
    }
    .item-3{
        display: none;
    }
    .post{
        margin-left: auto;
        margin-top: auto;
        margin-right: auto;
        margin-bottom: 30px;
    }
    footer{
        margin-top: 242px;
    }
    #headercontainer{
        height: 10px;
        position: absolute;
    }
    header{
        background-color: #ffffff;
        height: 180px;
        width: 100%;
        position: fixed;
        z-index: 300;
    }
    #header-content{
        position: absolute;
    }
    #header-content>a>img{
        position: absolute;
    }
    .hamburger {
      display: inline-block;
      cursor: pointer;
      transition-property: opacity, filter;
      transition-duration: 0.15s;
      transition-timing-function: linear;
      font: inherit;
      color: inherit;
      text-transform: none;
      background-color: transparent;
      border: 0;
      margin: 0;
      overflow: visible;
      float: right;
      right: 40px;
      position: relative;
      height: 100%;

    }
    .hamburger:hover {
      opacity: 0.7;
    }
    .hamburger-box {
      width: 61px;
      height: 45px;
      display: inline-block;
      position: relative;
    }
    .hamburger-inner {
      display: block;
      top: 50%;
      margin-top: -2px;
    }
    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
      width: 61px;
      height: 3px;
      background-color: #000;
      position: absolute;
      transition-property: transform;
      transition-duration: 0.15s;
      transition-timing-function: ease;
    }
    .hamburger-inner::before,
    .hamburger-inner::after {
      content: "";
      display: block;
    }
    .hamburger-inner::before {
      top: -18px;
    }
    .hamburger-inner::after {
      bottom: -18px;
    }
    .menuoverlay{
        display: none;
        height: 100%;
        width: 100%;
        background-color: rgba(012, 050, 057, 0.95);
        position: fixed;
        z-index: 3000;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        justify-content: center;
        align-content: center;

    }
    .headerNav{
        padding: 0;
        float: left;
        clear: both;
        align-self: center;
    }
    .item-hidden{
        display: block;
        position: relative;
        text-align: center;
    }
    .item-1{
        display: block;
        position: relative;
        text-align: center;
        right: 0;
        top: 0;

    }
    .item-2{
        display: block;
        position: relative;
        text-align: center;
        right: 0;
        bottom: 0;

    }
    .item-3{
        display: block;
        position: relative;
        text-align: center;
        left: 0;
        top: 0;

    }
    .menu-item>a,.current-menu-item>a{
        font-size: 32px;
        font-weight: 300;
        color: #fff;
        transition: 0.2s;
    }
    .menu-item>a:hover,.current-menu-item>a:hover{
        text-decoration: underline;
        transition: 0.2s;
    }
    .closecross {
      position: absolute;
      right: 61px;
      top: 61px;
      width: 32px;
      height: 32px;
      opacity: 1;
    }
    .closecross:hover {
      opacity: 0.6;
    }
    .closecross:before, .closecross:after {
      position: absolute;
      left: 15px;
      content: ' ';
      height: 33px;
      width: 3px;
      background-color: #fff;
    }
    .closecross:before {
      transform: rotate(45deg);
    }
    .closecross:after {
      transform: rotate(-45deg);
    }
}
    .content>div, .content>div>div{
        display: inline-block;
}
@media (min-width:1134px) and (max-width:1430px){
    .container-content, .container{
        width: 1070px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        transition: 0.2s;
        margin-top: 230px;
        display: block;
    }
    .store-container{
        width: 360px;
        margin-right: auto;
        margin-left: auto;
        display: flex;
        justify-content: space-between;
        margin-bottom: 122px;
    }
    .content{
        margin-top: 30px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: start;
    }
    .about-text{
        width: 517px;
        margin-right: 16px;
        margin-top: 0;
        display: inline-block;
    }
    .about-image{
        width: 517px;
        margin-left: 16px;
        display: inline-block;
    }
    .post-container{
        width: 517px;
    }
    .post-container>p{
        font-size: 16px;
        font-weight: 100;
        color: #282828;
        margin-top: 0;
        margin-bottom: 32px;
    }
    .post{
        margin-left: 0;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 71px;
    }
}
@media (min-width:800px) and (max-width:1133px){
    .post{
        margin-left: 0;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 30px;
    }
    .post-container>p{
        font-size: 16px;
        font-weight: 100;
        color: #282828;
        margin-top: 0;
        margin-bottom: 32px;
    }
    .post{
        margin-left: 0;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 71px;
    }
    .content{
        display: flex;;
    }
    .post-container{
        display: inline-block;
        width: calc(50% - 18px);
    }
    .projects-container{

    }
}
@media (max-width:799px){
    .big-post{
        width: 100%;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: auto !important;
    }
}
@media (max-width:682px){
    h1{
        font-size: 30px;
        margin-bottom: 14px;
    }
    h2{
        font-size: 22px;
    }
    header{
        height: 84px;
    }
    #header-content{
        height: 84px;
        position: absolute;
    }
    #headerlogo{
        width: 34px;
        top: 16px;
        left: 16px;
        position: absolute;
    }
    #logocontainer{
        width: auto;
    }
    #logocontainer>a>img{
        margin-top: 70px;
        width: 143px;
    }
    .container-content, .container{
        width: calc(100% - 32px);
        margin-top: 89px;
    }
    .content{
        margin-top: 14px;
    }
    .post-container>p{
        margin-bottom: 16px;
    }
    .hamburger{
        right: 16px;
    }
    .hamburger-box{
        width: 30px;
        height: 21px;
    }
    .hamburger-inner{
        margin-bottom: 6px;
    }
    .hamburger-inner::before{
        top: -9px;
    }
    .hamburger-inner::after{
        bottom: -9px;
    }
    .hamburger-inner,.hamburger-inner::before,.hamburger-inner::after{
        width: 30px;
        height: 2px;
    }
    .scroll-space{
        margin-top: 307px;
    }
    .store-container{
        width: 240px;
        margin-top: 35px;
        margin-bottom: 57px;
        height: auto;
    }
    .store-container>a>img{
        width: 115px;
    }
    .store-btn{
        width: auto;
    }
    .timeline-offset{
        top: 140px;
        position: absolute;
    }
    #littlelogo{
        width: 34px;
        left: 16px;
        top: 16px;
    }
    .closecross{
        right: 16px;
        top: 16px;
    }
    .closecross::before, .closecross::after{
        width: 2px;
    }
    .scroll-space{
        margin-top: 307px !important;
    }
}
