/*!
Theme Name: terasse
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: terasse
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

terasse is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */


 .item-content.tr-content p{
	padding: 0 !important;
 }
body .tr-home-banner .banner .list li::before {
	top: 10px;
}
.home-gallery .item{
	border: 2px solid white;
}
body .tr-card-form{
	padding: 0;
	box-shadow: none;
	background: transparent;
	border-radius: 0;
}
.tr-card-form > div{
	padding: 5px;
	-webkit-box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, .0509803922);
	box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, .0509803922);
	background: #fff;
	border-radius: 20px;
}
select.custom-select{
	opacity: 0;
}
.custom-select-wrapper {
	position: relative;
	display: inline-block;
	user-select: none;
	width: 100%;
}
.custom-select.opened .custom-select-trigger::after {
	margin-top: 3px;
	-webkit-transform: rotate(-135deg) translateY(-50%);
	transform: rotate(-135deg) translateY(-50%);
}
.custom-select-trigger::after {
	position: absolute;
	display: block;
	content: "";
	width: 8px;
	height: 8px;
	top: 50%;
	right: 15px;
	margin-top: -3px;
	border-bottom: 1px solid #071c35;
	border-right: 1px solid #071c35;
	-webkit-transform: rotate(45deg) translateY(-50%);
	transform: rotate(45deg) translateY(-50%);
	-webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	-webkit-transform-origin: 50% 0;
	transform-origin: 50% 0;
}
.custom-options {
	position: absolute;
	display: block;
	top: calc(100% + 5px);
	left: 0;
	right: 0;
	min-width: 100%;
	margin: -1px 0;
	border: 1px solid #d9d9d9;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	-webkit-transform: translateY(-15px);
	transform: translateY(-15px);
	z-index: 10;
	padding: 10px 20px;
	background-color: white;
	max-height: 250px;
	overflow-y: auto;
	/* display: flex;
	flex-wrap: wrap;
	justify-content: center; */
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-radius: 4px;
}
.opened .custom-options {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
.custom-select-trigger {
	display: block;
	width: 100%;
	height: 48px;
	border: 1px solid #d9d9d9;
	padding: 0 16px 0 42px;
	font-family: "Montserrat";
	border-radius: 4px;
	font-size: 16px;
	/* line-height: 24px; */
	color: #707071;
	line-height: 1.2;
	display: flex;
	align-items: center;
}
.custom-option {
	/* width: 20%; */
	display: block;
	padding: 5px 10px;
	border: 1px solid transparent;
	text-align: center;
	white-space: nowrap;
}
.custom-option:first-child.selection{
	border: none;
}
.custom-option.selection {
	font-weight: 500;
	border: 1px solid #d9d9d9;
}
.custom-option:first-child {
	font-size: 0 !important;
	height: 0 !important;
	width: 0 !important;
	display: none;
}
body .tr-home-facade .facade-catalog .form,
body .tr-home-about .about-price .form,
body .tr-home-managers .form{
	grid-template-columns: repeat(4, 1fr);
}
.form .form-row .button-blue{
	padding: 0;
}
.blue .custom-options,
.white .custom-options{
	max-height: 120px;
	padding-left: 0;
	padding-right: 0;
	grid-template-columns: repeat(3, 1fr)
}


.custom-select.blue .custom-select-trigger,
.blue .custom-select .custom-select-trigger{
	color:white;
	padding-left: 15px;
}

.custom-select.white .custom-select-trigger,
.white .custom-select .custom-select-trigger{
	padding-left: 15px;
}

.custom-select.blue .custom-select-trigger::after,
.blue .custom-select .custom-select-trigger::after{
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
}

@media(max-width: 1080px){
	body .tr-card-info .item{
		min-height: auto;
	}
}
@media (max-width: 900px){
	body .tr-home-facade .facade-catalog .form ,
	body .tr-home-about .about-price .form,
	body .tr-home-managers .form{
		grid-template-columns: repeat(1, 1fr);
		max-width: 312px;
	}
	
}
@media(max-width: 450px) {
	.custom-options{
		grid-template-columns: repeat(3, 1fr);
		padding-left: 0;
		padding-right: 0;
	}
}

