
/*
Theme Name: andstudio
Theme URI: http://andstudio.lt
Author: Ugnius J.
Author URI: http://ugas.lt
Description: andstudio
Version: 1.0

*/

@import url(font/san/stylesheet.css);


@font-face {
    font-family: "apercu";
    src: url("font/apercu_regular_pro.otf");
}

@font-face {
    font-family: "apercu";
    src: url("font/apercu_medium_pro.otf");
    font-weight: 600;
}

@font-face {
    font-family: "apercu";
    src: url("font/apercu_bold_pro.otf");
    font-weight: bold;
}


@font-face {
	font-family: 'Fakt';
	src: url('font/Fakt-Normal.woff2') format('woff2'), url('font/Fakt-Normal.woff') format('woff');
}
@font-face {
	font-family: 'Fakt';
	src: url('font/Fakt-Medium.woff2') format('woff2'), url('font/Fakt-Medium.woff') format('woff');
	font-weight: 500;
}
@font-face {
	font-family: 'Fakt';
	src: url('font/Fakt-Medium.woff2') format('woff2'), url('font/Fakt-Medium.woff') format('woff');
	font-weight: 600;
}
@font-face {
	font-family: 'Fakt';
	src: url('font/Fakt-Medium.woff2') format('woff2'), url('font/Fakt-Medium.woff') format('woff');
	font-weight: 700;
}


/* Reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.5;
	font-family: 'Fakt', sans-serif;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.layouts-title {
	font-size: 26px;
	margin:15px 0px;
}

.layouts ul li {
	margin-bottom:5px;
}

.layouts ul li a {
	font-size: 17px;
	display: inline-block;
	padding:3px 10px;
}

.layouts ul li a:hover {
	background:#000;
	color:#fff;
}

/* -- END RESET -- */

.row {

}

/* -- main styles -- */

.nopad {
	padding:0px;
}

.nopadleft {
	padding-left:0px;
}

.nopadright {
	padding-right:0px;
}

strong {
	font-weight: bold;
}

i {
	font-style: italic;
}

em {
	font-style: italic;
}

.clear {
	clear:both;
}

.alignleft {
	float:left;
	margin-right:15px;
	margin-bottom:15px;
}

.alignright {
	float:right;
	margin-left:15px;
	margin-bottom:15px;
}

.invi {
	visibility: hidden;
	opacity: 0;
}

/* fancybox */

.fancybox-close {
    position: absolute;
    top: -35px;
	right: -35px;
    background:url(img/fancy-close.png) no-repeat center center;
    background-size:cover;
    width:24px;
    height: 24px;
}

.fancybox-close:hover {
	opacity: 0.8;
}

.fancybox-prev {
    left: -60px;
}

.fancybox-prev span {
	background:url(img/fancy-prev.png) no-repeat center center;
}

.fancybox-next {
	right:-60px;
}

.fancybox-next span {
	background:url(img/fancy-next.png) no-repeat center center;
}

/* header */

.header {
	padding:35px 15px;
	padding-bottom:40px;
	margin-bottom:115px;
	z-index: 22;
	position: relative;
}

.logo a img {
	max-width: 160px;
}

.nav {
	padding-top:11px;
}

.nav ul li {
	display: inline-block;
	margin-left:55px;
}

.nav ul li:first-child {
	margin-left:0px;
}

.nav ul li a {
	color:#666666;
}

.nav ul li a:hover, .nav ul li.current-menu-item a {
	color:#171717;
}

.intro {
	font-size:18px;
	line-height: 30px;
	color:#999999;
	margin-bottom:150px;
	opacity: 0;
	visibility: hidden;
	transition:0.2s;
	top:-20px;
	position: relative;
}

.intro.close {
	opacity: 1;
	top:0px;
	visibility: visible;
}

.intro h3 {
	font-size: 48px;
	line-height: 55px;
	color:#015bff;
	font-weight: bold;
	margin-bottom:35px;
	/* font-family: apercu, sans-serif; */
}

.intro p {
	max-width: 50%;
	margin-bottom:24px;
}

.intro a {
	color:#999999;
	font-size:18px;
	display: inline-block;
	margin-right: 25px;
	position: relative;
	font-weight: 600;
	transition:0.4s;
}

.intro a:after {
	content:"";
	position: absolute;
	left:0;
	right: 0;
	bottom:-4px;
	height: 2px;
	background:#e1e1e1;
	transition:0.4s;
	z-index: 2;
}

.intro a:before {
    position: absolute;
    bottom:-4px;
    margin-top: 0px;
    content: "";
    display: block;
    width:0;
    height: 2px;
    background: #333333 none repeat scroll 0% 0%;
    transition: width 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
    margin: 0 auto;
    left: 0;
    right: 0;
    z-index: 3;
}

.intro a:hover:before {
	width: 100%;
}

.intro a:hover:after {
	background:#333;
}

.intro a:hover {
	color:#333333;
}

/* works list */

.works-list {
	padding:0px 10px;
	margin-bottom:105px;

	position: relative;
	top:-20px;	
	visibility: hidden;
	opacity: 0;
	transition:0.4s;
}

.works-list.close {
	visibility: visible;
	opacity: 1;
	top:0;
}

/*.work-item-row {
	position: relative;
	top:-20px;	
	visibility: hidden;
	opacity: 0;
	transition:0.4s;
}

.work-item-row.close {
	visibility: visible;
	opacity: 1;
	top:0;
}*/

.work-item {
	padding:0px 5px;
	margin-bottom:10px;
	width: 58.33333%;
}

.work-item a {
	background-size: cover !important;
	height: 510px;
	display: block;
	padding:45px 50px;
	color:#fff;
	font-size: 36px;
	line-height: 40px;
	transition:0.2s;
}

.work-item.black a {
	color:#222;
}

.work-item a span {
	visibility: hidden;
	opacity: 0;
	position: relative;
	top:-15px;
	transition:0.3s;
}

.work-item a:hover span {
	visibility: visible;
	opacity: 1;
	top:0;
}

.work-item a:hover {
	opacity: 0.8;
}

.work-item.column:last-child:not(:first-child), .work-item.columns:last-child:not(:first-child) {
    float: left;
}

.work-item-row .work-item:nth-child(2) {
	width: 41.66667%;
}

.work-item-row:nth-child(2n) .work-item:nth-child(1) {
	width: 41.66667%;
}

.work-item-row:nth-child(2n) .work-item:nth-child(2) {
	width: 58.33333%;
}




/* clients list */

.clients-list-hold {
	margin-bottom:100px;
}

.clients-list-title {
	color:#303030;
	font-weight: bold;
	font-size:24px;
	line-height: 26px;
	padding-bottom:32px;
	border-bottom:1px solid #e0e0e0;
	margin-bottom:28px;
	/* font-family: apercu, sans-serif; */
}

.clients-list ul {
	display: inline-block;
	float: left;
	margin-right: 70px;
	margin-bottom:20px;
}

.clients-list ul li {
	margin-bottom:7px;
}

.clients-list ul li a {
	color:#005aff;
	font-size:18px;
	text-decoration: underline;
	/* font-family: apercu, sans-serif; */
}

.clients-list ul li a:hover {
	text-decoration: none;
}

/* team */

.team-list {
	margin-bottom:120px;
}

.team-item {
	margin-bottom:40px;
}

.team-item-img {
	height: 370px;
	background-size: cover !important;
	margin-bottom:25px;
}

.team-item-name {
	color:#015bff;
	font-size:24px;
	line-height: 26px;
	margin-bottom:17px;
	/* font-family: apercu, sans-serif; */
	position: relative;
	top:-20px;
	visibility: hidden;
	opacity: 0;
	transition:0.4s;
}

.team-item-name.close {
	visibility: visible;
	opacity: 1;
	top:0;
}

.team-item-position {
	color:#999999;
	margin-bottom:20px;
	position: relative;
	top:-20px;
	visibility: hidden;
	opacity: 0;
	transition:0.4s;
}

.team-item-position.close {
	visibility: visible;
	opacity: 1;
	top:0;
}

.team-item-soc ul li  {
	display: inline-block;
	margin-right: 17px;
}

.team-item-soc ul li:last-child {
	margin-right: 0px;
}

.team-item-soc ul li a {
	color:#666666;
	font-size:14px;
}

.team-item-soc ul li a:hover {
	color:#333333;
}


.team-item.column:last-child:not(:first-child), .team-item.columns:last-child:not(:first-child) {
    float: left;
}

/* duk */

.duk {
	margin-bottom:130px;
}

.duk .accordion {
	border:none;
}

.duk .accordion-item {
	margin-bottom:85px;
	float:left;
	width: 100%;
}

.duk .accordion-title {
	border:none;
	position: relative;
	padding:65px 0px;
	padding-bottom:25px;
	transition:0.3s;
}

.duk .accordion-title span {
	display: inline-block;
	font-size:48px;
	color:#015bff;
	display: block;
	position: absolute;
	left:0;
	top:0;
}

.duk .accordion-title:after {
	content:"";
	position: absolute;
	left:70px;
	right: 0;
	top:24px;
	height:2px;
	background:#005aff; 
}

.duk .accordion-title:before {
	display: none;
}

.duk .accordion-title p {
	display: block;
	font-size:24px;
	line-height: 36px;
	color:#303030;
	font-weight: bold;
	/* font-family: apercu, sans-serif; */
	transition:0.2s;
}

.duk .accordion-title:focus, .duk .accordion-title:hover {
    background: none !important;
}

.duk .accordion-title:focus p, .duk .accordion-title:hover p {
	text-decoration: underline;
}

.duk .accordion-content {
	border-bottom:none;
	padding:0px;
	color:#999999;
	font-size:18px;
	line-height: 30px;
	float: left;
	width: 100%;

	height:0;
	display: block !important;
	transition:0.2s;
	visibility: hidden;
	opacity: 0;
}

.duk .accordion-item.is-active .accordion-content {
	visibility: visible;
	opacity: 1;
	height: auto;
}

.duk .accordion-content h3 {
	display: block;
	font-size:24px;
	line-height: 36px;
	color:#303030;
	font-weight: bold;
	/* font-family: apercu, sans-serif; */
	margin-bottom:30px;
}

.duk .accordion-item.is-active .accordion-title p {
	visibility: hidden;
	opacity: 0;
}

.duk .accordion-item.is-active .accordion-title {
	/*padding-bottom:0px;*/
	padding-bottom:40px;
}

.duk .duk-left {
	height: 580px;
	position: relative;
}

.duk .duk-left .duk-hold {
	position: relative;
	top:50%;
	transform:translateY(-50%);
}

.duk .accordion-item .duk-inner {
	opacity: 0;
	visibility: hidden;
	transition:1s;
}

.duk .accordion-item.is-active .duk-inner {
	visibility: visible;
	opacity: 1;
}

/* single work */

.single-work-info {
	padding-bottom:50px;
	border-bottom:2px solid #005aff;
	margin-bottom:120px;
}

.single-work-title {
	margin-bottom:70px;
}

.single-work-info-block {
	margin-bottom:52px;
}

.single-work-info-block-title {
	color:#333333;
	font-size:18px;
	line-height: 22px;
	margin-bottom:12px;
	font-weight: 600;
}

.single-work-info-block-text {
	color:#999999;
	font-size:18px;
	line-height: 30px;
}


.entry {

}

.entry-row {
	margin-bottom:70px;
}

.entry-img, .entry-img-left, .entry-img-right {
	margin-bottom:40px;
}

.entry-img img, .entry-img-left img, .entry-img-right img {
	width: 100%;
}

.entry-img-left {
	padding-right: 8.5%; 
}

.entry-img-right {
	padding-left: 8.5%; 
}

.entry-text {
	border-top:2px solid #005aff;
	margin-bottom:40px;
	padding-top:83px;
	color:#999999;
	font-size:18px;
	line-height: 30px;
}

.entry-text-left {
	position: relative;
	top:-20px;
	transition:0.5s;
	visibility: hidden;
	opacity: 0;
}

.entry-text-left.close {
	top:0;
	visibility: visible;
	opacity: 1;
}

.entry-text-right {
	position: relative;
	top:-20px;
	transition:0.5s;
	visibility: hidden;
	opacity: 0;
}

.entry-text-right.close {
	top:0;
	visibility: visible;
	opacity: 1;
}

/*.entry-img-left {
	position: relative;
	top:-20px;
	transition:0.4s;
	visibility: hidden;
	opacity: 0;
}

.entry-img-left.close {
	top:0;
	visibility: visible;
	opacity: 1;
}

.entry-img-right {
	position: relative;
	top:-20px;
	transition:0.4s;
	visibility: hidden;
	opacity: 0;
}

.entry-img-right.close {
	top:0;
	visibility: visible;
	opacity: 1;
}*/

.entry-text h3 {
	font-weight: bold;
	color:#005aff;
	font-size: 36px;
	line-height: 42px;
	margin-bottom:20px;
}


/* post nav */

.post-nav {
	position: fixed;
	top:25%;
	right: 0;
}

.post-nav a {
	display: block;
	width: 53px;
	height: 53px;
	margin-bottom:2px;
	overflow: hidden;
	text-indent: -9999px;
}

.post-nav a:hover {
	opacity: 0.8;
}

.post-prev a {
	background:url(img/post-prev.png) no-repeat center center #015bff;
}

.post-next a {
	background:url(img/post-next.png) no-repeat center center #015bff;
}

/* contacts */

.contacts {
	margin-bottom:70px;
}

.contacts .intro {
	margin-bottom:50px;
}

.contacts .intro p {
	max-width: 100%;
}

.contacts-left, .contacts-right {
	margin-bottom:50px;
}

.contacts-info {
	margin-bottom:40px;
}

.contacts-info-title {
	color:#000000;
	font-size:22px;
	line-height: 25px;	
	margin-bottom:16px;
	/* font-family: apercu, sans-serif; */
}

.contacts-info-text {
	color:#999999;
	line-height:30px; 
	margin-bottom:30px;
}


.contacts-soc ul li {
	margin-bottom:8px;
}

.contacts-soc ul li a {
	color:#005aff;
	font-size:18px;
	text-decoration: underline;
	/* font-family: apercu, sans-serif; */
}

.contacts-soc ul li a:hover {
	text-decoration: none;
}




/* footer before */

.footer-before-hold {
	border-top:2px solid #005aff;
}

.footer-before {
	padding-top:42px;
	color:#303030;
	font-weight: bold;
	font-size:24px;
	line-height: 40px;
	margin-bottom:100px;
	/* font-family: apercu, sans-serif; */
	position: relative;
	top:-20px;
	transition:0.4s;
	visibility: hidden;
	opacity: 0;
}

.footer-before.close {
	top:0;
	visibility: visible;
	opacity: 1;
}

.footer-before a {
	color:#005aff;
}

.footer-before a:hover {
	opacity: 0.8;
}

.footer {
	padding:29px 15px;
	color:#666666;
	font-size:14px;
	line-height: 18px;
	border-top:1px solid #e0e0e0;
	/* font-family: apercu, sans-serif; */
}

.footer ul li {
	display: inline-block;
}

.copyright ul li {
	margin-right: 45px;
}

.soc-footer ul li {
	margin-left:20px;
}

.soc-footer ul li a {
	color:#666666;
}

.soc-footer ul li a:hover {
	color:#171717;
}

.acf-map {
	width: 100%;
	height: 535px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

.acf-map img {
   max-width: inherit !important;
}

@media screen and (max-width:64em) {

	.intro p {
		max-width: 70%;
	}


	.intro {
		margin-bottom:110px;
	}

}


@media only screen and (min-width: 40.063em) and (max-width: 64em) { 



}

@media screen and (max-width:640px) {

	.fancybox-close {
	    top: -30px;
	    right: -10px;
	    width:20px;
	    height: 20px;
	}

	.header {
		margin-bottom:15px;
		padding:20px 15px;
	}

	.entry-img-left, .entry-img-right {
		padding:0px;
	}
	
	.contacts-left, .contacts-right {
		padding:0px;
	}

	.work-item {
		width: 100% !important;
	}

	.work-item a {
		height: 290px;
	}

	.duk-right {
		text-align: center;
		padding:0px;
	}

	.duk-left {
		height: auto !important;
		margin-bottom:40px;
		padding:0px;
	}

	.duk .duk-left .duk-hold {
		top:0;
		transform:none;
	}

	.intro h3 {
    	font-size: 24px;
	    line-height: 34px;
	    margin-bottom: 18px;
	}

	.intro p {
	    max-width: 100%;
	    margin-bottom: 15px;
	}

	.intro {
		margin-bottom:50px;
	}

	.works-list {
		margin-bottom:50px;
	}

	.clients-list-hold {
		margin-bottom:50px;
	}

	.footer-before {
		font-size: 20px;
		line-height: 30px;
	}

	.footer-before a {
		margin-top:20px;
		display: inline-block;
	}

	.copyright ul li {
		display: list-item;
		margin:0px;
		margin-bottom:10px;
	}

	.soc-footer ul li {
		margin-bottom:11px;
		display: list-item;
	}

	.footer {
		padding:25px 15px;
	}

	.duk-right img {
		max-height: 300px;
	}

	.duk .accordion-content h3, .duk .accordion-title p {
	    font-size: 20px;
	    line-height: 30px;
	}

	.duk .accordion-content {
		font-size: 16px;
		line-height: 26px;
	}

	.duk .accordion-title::after {
		top:20px;
	}

	.duk .accordion-title span {
		font-size:40px;
	}

	.trigger {
		display: inline-block;
		float: right;
		width: 30px;
		height: 27px;
		background:url(img/trigger-2x.png) no-repeat center center;
		background-size: 100% 100%;
		cursor: pointer;
		margin-top:7px;
	}

	.trigger.close {
		background:url(img/trigger-2x-close.png) no-repeat center center;
		background-size: 100% 100%;
	}

	.nav-close {
		position: absolute;
		display: inline-block;
		right: 15px;
		top:20px;
		width: 30px;
		height: 27px;
		background:url(img/trigger-2x-close.png) no-repeat center center;
		background-size: 100% 100%;
		cursor: pointer;
	}


	.nav {
		visibility:hidden;
		opacity:0;
		position: fixed;
		top:0;
		left:0;
		right: 0;
		bottom:0;
		background:rgba(255,255,255, 0.92);
		height: 100vh;
		transition:0.2s;
		z-index: 10;
		padding-top:0px;
	}

	.nav .menu-nav-container {
		position: relative;
		top:50%;
		transform:translateY(-50%);
	}

	.nav ul li a {
		font-size:22px;
	}


	.nav.close {
		visibility: visible;
		opacity: 1;
	}

	.nav ul li {
		display: list-item;
		margin:8px 0px;
		text-align: center;
	}

	.acf-map {
		height: 300px
	}

	.work-item a {
		padding:25px;
	}
}