/*!
Theme Name: Tostelex
Author: MV
Author URI: https://www.mvalauskas.lt/
Version: 1.0.0
License: GNU General Public License
Text Domain: tostelex
*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
:root {
	--primary-color: #4F7662; 
	--secondary-color: #1A331E;
	--sand-color: #DAD7CD;
	--sand-color2: #e8e7e1;
	--theme-white-color: #F2F1EE;
	--text-color: #1A331E;
	--text-grey: #6D6D6D;
}
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	color: var(--text-color);
}
main {
	display: block;
}


/* Browser fixes */
img {
	border-style: none;
}
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}
button,
select {
	text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}
fieldset {
	padding: 0.35em 0.75em 0.625em;
}
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}
progress {
	vertical-align: baseline;
}
textarea {
	overflow: auto;
}
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}
button,
input:not([type="checkbox"], [type="radio"]),
select,
optgroup,
textarea {
	-moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}
#primary[tabindex="-1"]:focus {
	outline: 0;
}
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}
.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography*/
body {
	font-family: "Poppins", sans-serif;
	font-size: 16px;
}

h1, .text-45 {
	font-size: 45px;
	line-height: 1.3;
}
.text-36 {
	font-size: 36px;
	line-height: 1.3;
}
h2, .text-28 {
	font-size: 28px;
	line-height: 1.3;
}
h3, .text-22 {
	font-size: 22px;
}
h4, .text-19, .entry-content p:first-child {
	font-size: 19px
}
.text-12 {
	font-size: 12px;
}

.font-weight-extra-bold {
	font-weight: 800;
}
strong {
	font-weight: 700;
}
.font-weight-semibold {
	font-weight: 600;
}
.font-weight-medium {
	font-weight: 500;
}
h1, h2, h3, h4, h5, h6  {
	font-weight: 400;
}
.font-weight-light {
	font-weight: 300;
}
p, h1, h2, h3, h4, h5, h6 {
	margin: 0 0 20px;
}
p, li {
	line-height: 1.5;
}
.text-uppercase, h1.entry-title {
    text-transform: uppercase;
}
a,
a:hover {
    text-decoration: none;
}
a {
	color: var(--primary-color);
}
a:hover,
a:focus,
a:active {
	color: var(--primary-color);
}
a,
a:hover,
a:active,
a:focus {
	outline: none;
}
h1, h2, h3, h4, h5, h6 {
	color: var(--text-color);
}
.color-text {
	color: var(--text-color);
}
.color-grey {
	color: #6D6D6D;
}
.color-white {
	color: #fff;
}
a.color-white:hover, a.color-theme-white:hover {
	color: #cfcfcf;
}
.color-primary {
	color: var(--primary-color);
}
.color-secondary {
	color: var(--secondary-color);
}
.color-theme-white {
	color: var(--theme-white-color);
}

/* Spacing */
.mx-auto {
	margin-left: auto;
	margin-right: auto;
}
.ml-auto {
	margin-left: auto;
}
.mt-auto {
	margin-top: auto;
}
.m-0 {
	margin: 0;
}
.m-5 {
	margin: 5px;
}

.mb-0, .wpcf7-form p {
    margin-bottom: 0;
}
.mb-10 {
	margin-bottom: 10px;
}
.mb-15 {
	margin-bottom: 15px;
}
.mb-20 {
	margin-bottom: 20px;
}
.mb-30, h1 {
	margin-bottom: 30px;
}
.mb-40 {
	margin-bottom: 40px;
}
.mb-50 {
	margin-bottom: 50px;
}
.mr-5 {
	margin-right: 5px;
}
.mr-20 {
	margin-right: 20px;
}
.ml-5 {
	margin-left: 5px;
}
.p-0 {
	padding: 0;
}
.p-20 {
	padding: 20px;
}
.p-25 {
	padding: 25px;
}
.p-30 {
	padding: 30px;
}
.p-50 {
	padding: 50px;
}
.pt-70 {
	padding-top: 70px;
}
.pt-100 {
	padding-top: 100px;
}
.pb-30 {
	padding-bottom: 30px;
}
.pb-40, .entry-content {
    padding-bottom: 40px;
}
.pb-50 {
	padding-bottom: 50px;
}
.pb-70 {
	padding-bottom: 70px;
}
.pb-100 {
	padding-bottom: 100px;
}
.ptb-20 {
	padding-top: 20px;
	padding-bottom: 20px;
}
.ptb-30 {
	padding-top: 30px;
	padding-bottom: 30px;
}
.ptb-50 {
	padding-top: 50px;
	padding-bottom: 50px;
}
.ptb-70 {
	padding-top: 70px;
	padding-bottom: 70px;
}

/* Backgrounds */
.bg-image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.bg-white {
    background: #fff;
}
.site-content {
	background: var(--sand-color2);
}
.bg-primary {
	background-color: var(--primary-color);
}
.bg-secondary {
	background-color: var(--secondary-color);
}
.bg-theme-white, .bg-main, html, .bg-header {
	background-color: var(--theme-white-color);
}
.bg-sand {
	background-color: var(--sand-color)
}

/* Forms */
.wpcf7-form-control-wrap {
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
}
.wpcf7-form-control:not(.wpcf7-acceptance) {
	border: 1px solid;
    border-color: transparent;
    padding: 15px 30px;
    height: auto;
    /*color: var(--theme-white-color);*/
    font-size: 16px;
	outline: none;
}
.wpcf7-form-control:not(.wpcf7-submit) {
	width: 100%;
}
.wpcf7-form-control:focus {
    box-shadow: none;
    /*background: none;*/
    border-color: var(--primary-color);
    transition: none;
}
.wpcf7-list-item:not(.wpcf7-acceptance .wpcf7-list-item) {
    width: 50%;
    margin: 0;
}
.wpcf7-list-item {
	margin-left: 0;
}
.wpcf7-list-item input {
    margin-right: 5px;
}

/* Btn */
.site button:not(.menu-toggle), .btn, .wpcf7-submit {
	border-radius: 4px;
    color: #fff !important;
    border: 1px solid var(--secondary-color);
    background-color: var(--secondary-color);
    padding: 15px 30px;
	cursor: pointer;
	display: inline-block;
}
.site button:hover, .btn:hover, .wpcf7-submit:hover, .wpcf7-submit:focus {
    background-color: #fff;
    color: var(--primary-color) !important;
}
.btn-theme-white {
	background-color: var(--theme-white-color);
	color: var(--secondary-color) !important;
}
.btn-theme-white:hover {
	background-color: var(--primary-color) !important;
	color: var(--theme-white-color) !important;
}
.wpcf7-submit {
    padding: 10px 40px 6px;
	display: block;
}

.menu-toggle {
    padding: 0;
    background: none !important;
    border: none !important;
}

/*Global*/
.screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal!important;
}
.w-100, .map-iframe iframe {
	width: 100%;
}
.h-100 {
	height: 100%;
}
.max-900 {
    max-width: 900px;
}
img {
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}

table {
	width: 100%;
	border-collapse: collapse;
}
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}
.text-left {
	text-align: left;
}
.position-relative, main {
	position: relative;
	overflow: hidden;
}
.z-index-1, main {
	z-index: 1;
}
.sep-circle {
    display: block;
    width: 9px;
    height: 9px;
    margin: 0 10px 10px;
	background-color: var(--primary-color);
	border-radius: 100%;
}


/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.site {
    overflow: hidden;
}
body:not(.home) .site-content {
    padding-top: 50px;
}
.archive .site-content {
	padding-bottom: 20px;
}
.bg-right-vector,
.bg-left-vector {
    position: absolute;
    width: 100%;
	max-width: 8.7vw;
}
.bg-left-vector {
	left: 0;
	top: 50%;
	transform: translate(0, -50%);
}
.bg-right-vector {
	right: 0;
	top: 0;
}
header#masthead {
	width: 100%;
	z-index: 9;
	min-height: 100px;
}
.sticky {
	position: fixed;
}

.sticky+#content {
	padding-top: 150px;
}
.home .sticky+#content {
	padding-top: 0;
}

/* Navigation */
.main-navigation {
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation .menu-item-has-children > ul {
	background-color: #fff;
}
.main-navigation .menu-item-has-children > ul a {
	padding: 5px 15px;
}
.main-navigation ul ul {
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	flex-direction: column;
	padding-top: 27px;
	width: 100%;
    min-width: 160px;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: 100%;
}

.main-navigation ul ul a {
	max-width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation .menu a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 400;
	color: var(--text-color);
	display: flex;
    height: 100%;
    align-items: center;
}

.main-navigation .menu a:hover, .main-navigation .current-menu-item a {
	color: #000;
}

.main-navigation .menu a:hover::after, .main-navigation .current-menu-item a::after {
	background-color: var(--text-color);
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

/* Posts and pages */
.updated:not(.published) {
	display: none;
}
.banner-page-title, .theme-clip-path {
    clip-path: polygon(96% 0, 0 0, 0 100%, 100% 100%, 100% 40%);
}
.banner-link {
	background-image: url(img/bg-green.svg);
	background-repeat: no-repeat;
    background-size: cover;
	background-position: center;
}

/* Front-page */
.services-section {
    clip-path: polygon(0 100%, 4% 93%, 24% 93%, 24% 100%, 100% 100%, 100% 16%, 96% 0%, 0 0);
    margin-bottom: -3%;
	margin-top: -7%;
}
.services {
    margin: 0 -5px;
}
.services .service-item {
    max-width: calc(20% - 10px);
	min-height: 230px;	
}
.service-item .link-text:hover svg {
	margin-left: 10px;
	transition: margin-left 0.5s;
}

/* Media */
.custom-logo-link {
    display: inline-block;
    margin: 20.3px 0;
}
.custom-logo-link img[src$=".svg"], .custom-footer-logo {
	max-width: 100%;
	width: 220px;
	vertical-align: middle;
}

/*Slider*/
.header-slider {
	visibility: hidden;
    opacity: 0;  
    transition: opacity 0.1s;
}
.slick-slider.slick-initialized { 
    visibility: visible; 
	opacity: 1;
}


/* Slider Dots */
.header-slider.slick-dotted.slick-slider {
	margin-bottom: 100px;
}
.slick-dots {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}
.slick-dots li * {
	width: 16px;
	height: 16px;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}
.site .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: 0;
    background: 0 0;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li.slick-active button:before {
    opacity: 1;
	transform: scale(1.1);
}
.slick-dots li button:before {
    font-size: 40px;
    line-height: 16px;
    position: absolute;
    top: 0;
    left: 0;
    content: '•';
    text-align: center;
	opacity: 0.5;
    color: var(--primary-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*Flexible content*/
.section-rows .row+.row {
    border-top: 1px solid #DAD7CD;
    padding-top: 30px;
}

/*Tabs*/
.nav-tabs {
    display: flex;
    list-style: none;
    padding-left: 0 !important;
	margin-top: 0;
	flex-wrap: wrap;
}
.nav-tabs .tab-nav-item {
	margin-bottom: 5px;
	width: 100%;
}
.nav-tabs .tab-nav-item a {
	padding: 15px 25px;
	display: block;
	color: var(--primary-color);
	background-color: var(--theme-white-color);
	font-weight: 600;
}
.nav-tabs .active a, .nav-tabs .tab-nav-item:hover a {
    color: var(--theme-white-color);
    background-color: var(--primary-color);   
}
.tabs-onside .tab-content {
	border-top: 4px solid var(--primary-color);
}
.tab-content>.tab-pane {
    display: none;
}
.tab-content>.active {
    display: block;
}
.fade {
    transition: opacity .15s linear;
}

/*Pagination*/
.numbered-pagination .page-numbers {
    background: #fff;
    color: var(--primary-color);
    display: inline-block;
    padding: 6px 12px 4px;
    font-size: 14px;
	border: 1px solid #ddd;
	margin-left: -1px;
}
.numbered-pagination .page-numbers:first-child {
    margin: 0;
    border-radius: 5px 0 0 5px;
}
.numbered-pagination .page-numbers:last-child {
    border-radius: 0 5px 5px 0;
}
.numbered-pagination .page-numbers.current,
.numbered-pagination .page-numbers:hover,
.numbered-pagination .page-numbers.prev:hover,
.numbered-pagination .page-numbers.next:hover  {
    background: var(--primary-color);
	color: #fff;
}

/*Table*/
.dataTables_scrollHead table th {
	padding: 15px 15px 15px 20px !important;
	border-bottom: 0 !important;
}
table th {
    background-color: var(--sand-color) !important;
	font-weight: 600 !important;
	
}
.tablepress>*+tbody>*>*, .tablepress>tbody>*~*>*, .tablepress>tfoot>*>* {
	border-color: var(--text-grey) !important;
}
table tbody td {
    background-color: var(--sand-color2) !important;
	padding: 15px 20px !important;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media screen and (min-width: 1200px) {
	.main-navigation .menu > li {
		margin-left: 55px;
	}
	.fluid-lg-7 {
		max-width: 730px !important;
	}
	.fluid-lg-6 {
		max-width: 585px !important;
	}
}
@media screen and (max-width: 1199px) {
	.main-navigation .menu > li {
		margin-left: 30px;
	}
	.services-section {
		clip-path: polygon(0 100%, 4% 96%, 20% 96%, 20% 100%, 100% 100%, 100% 6%, 96% 0%, 0 0);
	}
	.services .service-item {
		max-width: unset;
		flex: 1 0 32%;
		min-height: 200px;
	}
}
@media screen and (min-width: 992px) {
	
	.main-navigation .menu > li:first-child {
		margin-left: 0;
	}
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: flex;
	}
	.main-navigation .menu a::after {
		content: '';
		width: 36px;
		height: 6px;
		display: block;
		position: absolute;
		bottom: 0;
		left: 50%;
		right: 50%;
		transform: translateX(-50%);
	}
	.fluid-lg-7 {
		max-width: 580px;
	}
	.fluid-lg-6 {
		max-width: 495px;
	}
	.tabs-onside .nav {
		display: inline-flex;
		flex-direction: column;
		width: 33%;
	}
	.tabs-onside .tab-content {
		width: 66%;
	}
}
@media screen and (max-width: 991px) {
	.main-navigation .menu > li {
		margin-left: unset;
	}
	.main-navigation .current-menu-item a {
		border-left: 3px solid var(--text-color);
		padding-left: 15px;
	}
	#primary-menu-container {
		flex: 1 0 100%;
	}
	.menu-item-has-children a {
		display: inline-block !important;
	}
	.menu-item-has-children .submenu-icon::before {
		content: '+';
		float: right;
		padding: 10px 0;
    	font-size: 22px;
	}
	.menu-item-has-children.focus .submenu-icon::before {
		content: '—';
	}
	.main-navigation .focus ul {
		position: relative;
		background-color: #fbfbfb !important;
		padding: 10px 0px;
		float: unset;
	}
	.p-50 {
		padding: 25px;
	}
	.header-section .row {
		flex-direction: column-reverse;
	}
	.header-section .col-img .col-wrapper {
		height: 250px;
	}
	.services-section {
		margin-bottom: -6%;
		margin-top: -10%;
	}
	.tabs-onside.flex-row {
		flex-direction: column;
	}
}
@media screen and (min-width: 768px) {
	.header-slider .title {
		font-size: 40px;
	}
}
@media screen and (max-width: 767px) {
	h1, .text-45 {
		font-size: 35px;
	}
	.header-slider .title {
		font-size: 30px;
	}
	.text-36 {
		font-size: 25px;
	}
	h2, .text-28 {
		font-size: 20px;
	}
	.text-22 {
		font-size: 18px;
	}
	.services {
		margin: auto;
	}
	.services .service-item {
		flex: 1 0 100%;
		min-height: unset;
		margin: 0 auto 10px;
	}
	.banner-contacts .links.flex-row {
		flex-direction: column !important;
	}
	.services-section {
		clip-path: polygon(0 100%, 4% 98%, 20% 98%, 20% 100%, 100% 100%, 100% 6%, 96% 0%, 0 0);
	}
	.ptb-70 {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.col-12.text-right {
		text-align: unset;
	}
	.site-footer .col-12 {
		margin: 10px 0;
	}
}
@media screen and (max-width: 575px) {
	.fluid-lg-7 .container,
	.fluid-lg-6 .container {
		padding: unset;
	}
}