/*
Theme Name: kvant
Theme URI: http://www.fotoprojektas.lt/
Author: Dewilas
Author URI: https://www.facebook.com/haroldas.kerusauskas
Description: WordPress Theme kvant
Version: 1.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, light, one-column, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: kvant
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body {
    font-family: 'PT Sans', sans-serif;
    color: #666;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    line-height: normal;
}

ul li:after,
ul li:before {
    content: none;
}

p {
    margin: 15px 0px;
}

p.more {
    display: none;
    color: #239f97;
    position: absolute;
    margin-top: 0px;
}

a {
    color: #666;
    transition: all 200ms ease-in-out;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

a:hover {
    color: #239f97;
}

a:focus, a:hover {
    text-decoration: none;
}

a.image {
    display: block;
}

a.image:hover {
    color: #666;
}

a.image:hover p.more {
    display: block;
}


/* HEADER */

header {
    width: 100%;
    z-index: 101;
    background: #fff;
    line-height: 88px;
    padding: 20px 0;
}

header .logo {
    margin-right: 100px;
    display: block;
    vertical-align: middle;
    height: 88px;
    width: 88px;
}

header .contacts {
    text-align: right;
}

header .contacts a {
    font-size: 14px;
    display: inline-block;
    margin-right: 15px;
}

header .contacts a:last-child {
    margin-right: 0;
}

header nav {
    display: inline-block;
}

header nav ul {
    display: block;
}

header nav ul li {
    line-height: normal;
}

header nav ul li:after,
header nav ul li:before {
    content: none;
}

header nav ul li {
    margin-right: 35px;
    display: inline-block;
    vertical-align: middle;
}

header nav ul li:last-child {
    margin-right: 0;
}

header nav ul li.current-menu-item a,
header nav ul li.current-menu-ancestor a {
    font-weight: 700;
    color: #239f97;
}

header nav ul li a {
    font-size: 18px;
    color: #666;
    text-decoration: none;
}

header nav ul li a:hover {
    color: #239f97;
}


/* KONTAKTAI */

.page-title {
    font-weight: normal;
    font-size: 24px;
    color: #666;
}

#map {
    margin-top: 30px;
    height: 645px;
}


/* STUDIJA & PORFOLIO */

#sidebar nav ul li {
    margin-top: 0;
    margin-bottom: 20px;
}

#sidebar nav ul li.current-menu-item a {
    color: #239f97;
    font-weight: 700;
}

#sidebar nav ul li a {
    font-size: 16px;
}

#sidebar nav ul li:before {
    content: none;
}

.blocks.infoblocks {
    max-width: 1056px;
    background: url('assets/img/background-circle.png') no-repeat center;
    margin: 0 auto;
    width: 100%;
}

.blocks.infoblocks > div {
    display: table;
    width: 100%;
    height: 100%;
}

.blocks.infoblocks > div:nth-child(even) {
    direction: rtl;
}

.blocks.infoblocks > div:nth-child(even) .content {
    direction: ltr;
}

.blocks.infoblocks .image {
    width: 50%;
    display: table-cell;
    vertical-align: middle;
}

.blocks.infoblocks .image img {
    margin: 0 auto;
}

.blocks.infoblocks .content {
    padding-left: 35px;
    padding-right: 35px;
    vertical-align: middle;
    display: table-cell;
}

.blocks.infoblocks h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #666;
    font-weight: normal;
}

.blocks.categories {
    margin-top: -30px;
}

.blocks.categories > div {
    margin-top: 30px;
}

.blocks.categories h1,
.blocks.categories h2,
.blocks.categories h3,
.blocks.categories .title {
    line-height: 40px;
    font-weight: normal;
    font-size: 34px;
    color: #333;
    margin: 20px 0;
}

.blocks.categories .image img {
    margin: 0 auto;
}

.blocks.portfolio-container {
    padding: 2px;
    background: #f2f2f2;
    max-width: 940px;
    margin: 0;
    width: 100%;
}

.blocks.portfolio:after {
    content: "";
    display: table;
    clear: both;
}

.blocks.portfolio:hover > div {
    opacity: 0.45;
}

.blocks.portfolio > div {
    transition: all 200ms ease-in-out;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    float: left;
    width: 25%;
}

.blocks.portfolio > div:hover {
    opacity: 1;
}

.blocks.portfolio > div.heading {
    width: 50%;
    opacity: 1 !important;
}

.blocks.portfolio > div.heading .box {
    background-color: transparent;
}

.blocks.portfolio > div.heading .content {
    border: 0;
    padding: 50px;
}

.blocks.portfolio > div.heading h1,
.blocks.portfolio > div.heading h2,
.blocks.portfolio > div.heading h3,
.blocks.portfolio > div.heading .title {
    line-height: 40px;
    font-weight: normal;
    font-size: 34px;
    margin: 0 0 20px 0;
}

.blocks.portfolio > div.quarter {
    width: 25%;
}

.blocks.portfolio > div.tall .box {
    padding-bottom: 200%;
}

.blocks.portfolio > div.half {
    width: 50%;
}

.blocks.portfolio > div.tiny .box {
    padding-bottom: 50%;
}

.blocks.portfolio .box {
    position: relative;
    display: block;
    padding-bottom: 100%;
    background-color: #fff;
}

.blocks.portfolio .box:focus {
    outline: none
}

.blocks.portfolio .box:before {
    z-index: 3;
    content: '';
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-shadow: inset 0 0 0 2px #f2f2f2;
    box-shadow: inset 0 0 0 2px #f2f2f2;
}

.blocks.portfolio .content {
    border: 15px solid #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.blocks.portfolio .content.full {
    border: none;
    background-size: cover;
}

.blocks.infoblocks ul li:before {
    margin-right: 7px;
    content: '—';
    color: #239f97;
}

.blocks.infoblocks ul li {
    margin: 5px 0;
}


/* FOOTER */

footer {
    padding: 45px 0;
}

footer .copyrights {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
}

footer .socials {
    display: inline-block;
}

footer .socials li {
    line-height: normal;
}

footer .socials li:after,
footer .socials li:before {
    content: none;
}

footer .socials li {
    display: inline-block;
    margin-right: 15px;
    vertical-align: middle;
}

footer .socials li a {
    display: block;
    color: #bfbfbf;
}

footer .socials li a:hover {
    color: #666;
}

footer .socials li .fa:before {
    font-size: 22px;
}

footer .socials li:last-child {
    margin-right: 0;
}

/* MagnificPopup*/

.mfp-bg {
    background: #fff;
    opacity: 1;
}
.mfp-close {
    font-family: 'Times New Roman';
    font-size: 80px;
    color: #999;
    margin: 8px 8px 0px 0px;
}

.mfp-figure:after {
    background: transparent;
    box-shadow: none;
}

.mfp-title {
    color: #999;
}

.mfp-arrow-left:before, .mfp-arrow-left:after,
.mfp-arrow-right:before, .mfp-arrow-right:after {
    border: none;
}

.mfp-arrow-left:before {
    display: inline-block;
    border-left: 3px solid #999;
    border-bottom: 3px solid #999;
    width: 35px;
    height: 35px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg); 
}

.mfp-arrow-right:before {
    display: inline-block;
    border-right: 3px solid #999;
    border-bottom: 3px solid #999;
    width: 35px;
    height: 35px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg); 
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
    opacity: 0;
    -webkit-backface-visibility: hidden;
    /* ideally, transition speed should match zoom duration */
    -webkit-transition: all 0.3s ease-out; 
    -moz-transition: all 0.3s ease-out; 
    -o-transition: all 0.3s ease-out; 
    transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 1;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}

.mfp-bottom-bar {
    position: fixed;
    left: 30%;
    width: 40%;
}

@media only screen and (max-width: 992px) {
    .mfp-arrow {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    .mfp-img-mobile .mfp-close {
        background: transparent;
    }
}

@media only screen and (min-width: 768px) {
    header .logo {
        position: fixed;
        z-index: 1;
    }
    #sidebar nav {
        position: fixed;
        padding: 60px 0px 0px 22px;
    }
}

@media only screen and (min-width: 992px) {
    .blocks.infoblocks > div:nth-child(odd) .content {
        vertical-align: top;
        padding-top: 35px;
    }
}

@media only screen and (min-width: 1200px) {
    .blocks.infoblocks > div:nth-child(odd) .content {
        padding-top: 55px;
    }
}


/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
    body {
        padding-top: 0;
    }
    header {
        position: static;
    }
    #sidebar nav {
        margin-bottom: 20px;
    }
    #sidebar nav:after {
        content: "";
        display: table;
        clear: both;
    }
    #sidebar nav ul li {
        width: 20%;
        float: left;
    }
    #sidebar nav ul li a {
        display: block;
    }
    footer {
        text-align: center;
    }
    footer .copyrights {
        display: block;
        text-align: center;
    }
    footer .socials {
        margin-top: 5px;
        margin-left: 0;
    }
    .blocks.infoblocks {
        background: none;
    }
    .blocks.infoblocks > div {
        margin-top: 30px;
        display: block;
        direction: ltr;
    }
    .blocks.infoblocks > div:first-child {
        margin-top: 0;
    }
    .blocks.infoblocks > div:nth-child(even) {
        direction: ltr;
        padding-left: 0;
        padding-right: 0;
    }
    .blocks.infoblocks > div .image {
        margin-bottom: 10px;
        display: block;
        width: 100%;
    }
    .blocks.infoblocks > div .content {
        padding-left: 0;
        padding-right: 0 !important;
        display: block;
    }
    .blocks.infoblocks > div h3 {
        margin-top: 0;
    }
    .blocks.portfolio > div {
        width: 50% !important;
    }
    .blocks.portfolio > div.heading {
        width: 100% !important;
    }
    .blocks.portfolio > div.heading .box {
        padding-bottom: 100%;
    }
    header {
        text-align: center;
        line-height: normal;
    }
    header .contacts {
        margin-top: 10px;
        text-align: center;
    }
    header .logo {
        margin-right: 0;
        margin: 0 auto;
    }
    header nav {
        margin-top: 15px;
        display: block;
    }
    header nav ul li {
        margin: 0 15px;
    }
    .lgc-column {
        margin: 0 !important;
    }
    section.content {
        text-align: center;
    }
    .mfp-bottom-bar {
        left: 20%;
        width: 60%;
    }
}