@import url('https://fonts.googleapis.com/css?family=Raleway:300,400|Oswald:300,400');

.virsraksts {
    font-weight: 700;
    font-family: 'PT Sans Narrow', sans-serif;
    font-style: normal;
    font-size: 40px;
    text-transform: uppercase;
    color: #000;
    line-height: 38px;
    text-align: center;
}

body {
    font-size: 17px;
    font-family: 'PT Sans', sans-serif;
    color: #818181;
    font-weight: 400;
}

.site-title {
    font-family: 'Oswald', sans-serif;
    display: inline-block;
}

.site-title a {
    font-family: inherit;
    text-transform: uppercase;
    font-weight: 400;
    color: #fff;
    line-height: 85%;
    font-size: 3rem;
}

.site-title span {
    font-family: inherit;
    font-weight: 300;
    white-space: nowrap;
    font-size: 88%;
    display: block;
}

#lang {
    position: relative;
}

.site-phone a {
    margin-left: 10px;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    white-space: nowrap;
    color: #fff;
}

.site-phone a:hover {
    color: #000000;
    text-shadow: 1px 1px 20px #fff;
}

@media (max-width: 1500px) {
    .menu-selected #lang {
        margin-top: 25px !important;
    }

    .menu-selected .site-phone a {
        position: absolute;
        left: 0;
        top: -100%;
    }
}

@media (max-width: 400px) {
    #lang {
        margin-top: 25px !important;
    }

    .site-phone a {
        position: absolute;
        left: 0;
        top: -100%;
    }
}

.mac-fix .site-title a > span {
    font-size: 85%;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .site-title a > span {
        font-size: 85%;
    }
}

@media (max-width: 1200px) and (min-width: 765px) {
    .menu-selected .site-title a {
        font-size: 3.35vw;
    }

    .menu-selected .site-title a > span {
        font-size: 2.95vw;
    }

    .mac-fix .menu-selected .site-title a > span {
        font-size: 2.85vw;
    }
    @media screen and (-webkit-min-device-pixel-ratio:0) {
        .menu-selected .site-title a > span {
            font-size: 2.85vw;
        }
    }

    .menu-selected nav #menu li a {
        font-size: 2.7vw !important;
    }
}

h1 {
    font-weight: 700;
    font-family: 'PT Sans Narrow', sans-serif;
    font-style: normal;
    text-transform: uppercase;
    color: #222;
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 30px;
}

h2, h3, h4, h5, h6 {
    font-weight: 700;
    font-family: 'PT Sans Narrow', sans-serif;
    font-style: normal;
    text-transform: uppercase;
    color: #222;
    margin-top: 30px;
}

h2 {
    font-size: 26px;
    line-height: 26px;
}

#side-right .content {
    font-size: 17px;
    font-family: 'PT Sans', sans-serif;
    color: #222;
    font-weight: 400;
    line-height: 26px;
    padding: 20px 20px 10px 20px;
}

nav #menu {
    font-family: 'PT Sans Narrow', sans-serif;
    margin: 0;
    text-align: left;
}

nav #menu li {
    text-align: left;
}

nav #menu li a {
    text-transform: uppercase;
    font-size: 28px;
    line-height: 28px;
    text-align: left;
}

nav #menu li a:hover, nav #menu li.active a {
    background: rgba(255, 255, 255, 0.65);
}

#lang {
    margin: 0 0 0 -5px;
    white-space: nowrap;
}

#lang .flag-icon {
    width: 14px;
    position: relative;
    top: -1px
}

#lang li a {
    padding: 3px 5px;
    margin: 2px;
    display: inline-block;
}

#lang li.active a {
    background: rgba(255, 255, 255, 0.65);
    color: #000;
}

@media only screen and (max-width: 768px) {
    #side-right .content {
        background: rgba(255, 255, 255, 0.8);
    }
}

@media only screen and (max-width: 760px) {
    nav #menu li a {
        font-size: 30px;
        line-height: 30px;
    }
}

@media only screen and (max-width: 640px) {
    nav #menu li a {
        font-size: 30px;
        line-height: 30px;
    }
}

@media only screen and (max-height: 600px) {
    nav #menu li a {
        font-size: 30px;
        line-height: 30px;
    }

    nav #menu li {
        display: block;
        margin: 15px 0;
        text-align: center;
        position: relative;
    }
}

@media only screen and (max-height: 460px) {
    nav #menu {
        font-family: 'PT Sans Narrow', sans-serif;
        margin-bottom: 30px;
        text-align: center !important;
    }

    nav #menu li {
        display: block;
        margin: 0;
        text-align: center;
        position: relative;
    }

    nav #menu li a {
        font-size: 25px;
        line-height: 25px;
    }
}

@media only screen and (max-height: 360px) {
    nav #menu li a {
        font-size: 25px;
        line-height: 25px;
    }
}

@media only screen and (max-height: 290px) {
    nav #menu li a {
        font-size: 20px;
        line-height: 20px;
    }
}

.gallery-item {
    float: left;
    display: inline-block;
    width: 14.5vw;
    height: 14.5vw;
    max-width: 277px;
    max-height: 277px;
    background-size: cover;
    background-position: center;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
}

@media (max-width: 1917px) {
    .gallery-item {
        width: 14vw;
        height: 14vw;
    }
}


@media (max-width: 600px) {
    .gallery .col-xs-12 {
        text-align: center;
    }

    .gallery-item {
        display: inline-block;
        width: 100vw;
        height: 100vw;
        float: none;
    }
}

.gallery-item > span {
    display: block;
    position: absolute;
    width: calc(100% - 10px);
    background: rgba(0, 0, 0, .7);
    color: #fff;
    top: 100%;
    padding: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

.gallery-item:hover > span {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    transform: translateY(-100%);
}

.gallery-item .gallery-image {
    width: 180px;
    height: 120px;
}

.well {
    padding: 10px;
}

.btn-inverse {
    color: #fff;
    font-weight: 500;
    font-family: 'PT Sans Narrow', sans-serif;
    font-style: normal;
    text-transform: uppercase;
    font-size: 20px;
}

@media (min-width: 980px) {
    .row-fluid .span7 {
        width: 155px;
    }
}

@media (max-width: 979px) and (min-width: 768px) {
    .row-fluid .span7 {
        width: 50px;
    }
}

@media (min-width: 260px) {
    .row-fluid .span5 {
        width: 175px;
    }
}
