﻿/* RESETS & BASIC PAGE SETUP */
*, *:before, *:after {
    margin: 0px;
    padding: 0px;
	box-sizing: border-box;
	list-style-type: none;
}

html {
	overflow: scroll;
	font-size: 16px;
}

 /* ELIMINATE SMALL SPACE UNDER IMAGE */
img {
    display: block;
}

body {
	/* font: 62.5% 'Lucida Sans Unicode','Lucida Grande',sans-serif;		 */
	background: white;
	color:black;
	margin: 0;
	min-height: 100vh;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
	Roboto, Oxygen-Sans, Ubuntu, Cantarell,
	"Helvetica Neue", sans-serif;
}

p { 
    font-size: 1.0rem;
    line-height: 1.6rem;
    margin-bottom: 1.0rem;
    margin-top:.3rem;
}

p a, h5 a, h4 a, h3 a, h2 a, h1 a {
	color: #004f6e;
    text-decoration:none;
}

p a:hover, h2 a:hover, h1 a:hover {
    text-decoration:underline;
}

h1 {
	font-size: 30px;
	text-align: center;
	margin-bottom: 20px;
}

h2 {
	font-size:22px;
}

h3 {
	font-size:20px;
}

h4 {
	font-size:18.7px;
}

h5 {
	font-size:17.3px;
}

h6 {
	font-size:16px;
}

ul, ol {
	margin-bottom:4px;
	font-size: 1rem;
}

ul a, ol a, ul li a {
	color:#006635;
	/* text-decoration:none; */
}

ul a:hover, ol a:hover, ul li a:hover {
	text-decoration:underline;
}

/* .imageMain ol li {
	margin-left: 30px;
} */

/* STRUCTURE */
#pageWrap {
	max-width: 1180px;
	margin: 0 auto;
	padding:10px 10px 10px 20px;	
}

/* MENU */

.hamburger-tab {
	width: 25px;
	height: 30px;
	background-color: #006635;
	position: fixed;
	top: 50%;
	left: 0px;
	border-radius: 5px;
	cursor: pointer;
	z-index: 999;
	transition: transform .5s;
}

.bar{
	width: 15px;
	height: 2px;
	background-color: white;
	dispLay: block;
	transform: translate(6px, 10px);
  }
  
.bar:nth-child(2){
	margin: 2px 0;
}

.green-edge {
	width: 10px;
	height: 2000px;
	position: fixed;
	top: 0px;
	left: 0px;
	background-color: #006635;
	cursor: pointer;
	z-index: 900;
	transition: transform .5s;
}

  .hamburger-tab.active,
  .site-navigation.active,
  .green-edge.active {
		transform: translateX(160px);
		transition: transform 1.5s;
  }

/* CUSTOMIZING SCROLLBAR */

::-webkit-scrollbar {
    width: 5px;
}

/* SOCIAL */

.social {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	margin-left: 10px;
}

.social img {
	height:30px;
	width:30px;
	margin-right: 10px;
}

.product-block {
	display: flex;
	flex-wrap: wrap;
	margin: 15px;
}

.main-buttons-block {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.main-button {
	background-color: #006635;
}

.main-button:hover {
	text-decoration: underline;
}

#parent, #child {
	padding-left: 0;
}

.projects-button-wrapper {
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}

.projects-button {
	background-color: #006635;
	color: white;
	text-decoration: none;
	padding: 10px 15px;
	border-radius: 5px;
	font-size: 18px;
	
}

.projects-button:hover {
	text-decoration: underline;
	background-color: #2a7c54;
}

.quote-svg {
	content: url("../images/invoice.svg");
	width: 60px;
	margin-right: 20px;
}

.training-svg {
	content: url("../images/training-icon.svg");
	width: 60px;
	margin-right: 20px;
}

.building-svg {
	content: url("../images/building-user.svg");
	width: 60px;
	margin-right: 20px;
}

.quote-svg svg path {
	fill: #006635 !important;
}

.quote-block {
	padding: 15px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.quote-actions {
	text-align: center;
}

.quote-text {
	margin-bottom: 10px;
	font-size: 28px !important;
}

.quote-block a {
	text-decoration: none;
}

.quote-button {
	background-color: #006635;
	padding: 7px 15px;
	color: white;
	text-decoration: none;
	border-radius: 5px;
	font-size: 20px;
	margin: 0 5px;
}

.quote-buttons-block {
	display: flex;
	flex-wrap: nowrap;
}

.quote-button:hover {
	background-color: #2a7c54;
	text-decoration: underline;
}

.bracing-list {
	margin: 15px;
}

.bracing-list li {
	list-style-type: decimal !important;
	margin-bottom: 15px;
}

.decimal-list li {
	list-style-type: decimal !important;
}

.training-banner {
	display: flex;
	justify-content: center;
	background-color: rgb(158, 252, 171);
	border: 1px solid black;
	padding: 10px;
	margin-top: 10px;
	font-size: 20px;
	font-weight: 600;
}

.training-details {
	color: black;
}

.chalkboard-svg {
	content: url("../images/chalkboard.svg");
	width: 35px;
	margin-right: 20px;
}

.video {
	width: 100%;
	aspect-ratio: 16 / 9;   /* стандарт для YouTube; для Shorts можно 9/16 */
	position: relative;
}

.video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.mt-20 {
	margin-top: 20px;
}

.m-auto {
	margin: auto;
}

/* MAIN CONTENT: FEATURE */

@media (min-width: 360px) {
	.feature {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	.main-project-block {
		width: 100%;
		border: 1px #333 solid;
		background-color: white;
		margin-bottom: 10px;
		display: flex;
		flex-wrap: wrap;
		align-content: space-between;
	}

	.main-project-block img {
		width: 100%;
	}

	.main-project-block h2, .main-project-block p {
		color:#333;
		margin: 10px;
	}

	.main-buttons-block {
		justify-content: center;
	}

	.main-button {
		font-size: 16px;
		margin: 0 5px 10px;
	}
}

@media (min-width: 720px) {
	.main-project-block {
		margin: 0 10px 20px;
	}

	.main-project-block {
		width: calc(50% - 20px);
	}

	.main-project-block h2 {
		height: 60px;
	}

	.main-button {
		font-size: 20px;
	}
}

@media (min-width: 1024px) {
	.product-block {
		flex-wrap: nowrap;
	}

	.main-project-block {
		width: calc(25% - 20px);
	}

	.product-image {
		margin-right: 20px;
		width: 100%;
		min-width: 500px;
	}
}

			
/* CONTENT STYLING */

.iframeResponsive {
	padding-bottom:56.25%;
	position:relative;
	height:0px;
	width:100%;
	margin-top:10px;
	border: 1px solid #999;
}

.iframeResponsive iframe {
	height:100%;
	width:100%;
	position:absolute;
}

/* IMAGEMAIN (when there is an image in the block), SPECMAIN (just text) */

.imageMain {
	border:1px #999 solid;
	margin: 10px 0px 10px 0px;
	position:relative;
	clear:both;
	overflow: hidden;
}

.imageMain li, .imageMain div {
	font-size:1.2rem;
	list-style:disc;
	list-style-position:inside;
}

.imageMain img {
	width: 100%;
	height: auto;
}

.imageMain p {
	margin: 10px;	
}

.img-25-r {
	float: right;
	max-width: 25%;
	height: auto;
	margin: -10px -10px -10px 10px;
}

.img-50-r {
	float: right;
	max-width: 50%;
	height: auto;
	margin: -10px -10px -10px 10px;
}

.imageMain h1,
.imageMain h2,
.imageMain h3,
.imageMain h4,
.imageMain h5,
.imageMain ul {
	margin-left:10px;
}

h3 {
	margin-bottom: 10px;
}

.specMain {
	border:1px #999 solid;
	margin: 10px 0px 10px 0px;
	position:relative;
	clear:both;
	overflow: hidden;
	padding: 10px;
}

.specMain li, .specMain div {
	font-size:1.0rem;
	list-style:disc;
	list-style-position:inside;
	margin:0 0 5px 20px;
	list-style-position:outside;
}

.heading {
	margin-bottom: 5px;
	margin-top: 0px;
}

.heading a {
	text-decoration: underline;
}


/* FLEX COLUMNS */

.twoColumns {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}

.red_border {
	border-left: solid 2px red;
}

.green_border {
	border-left: solid 2px green;
}

.button_gray, .button_gray:hover {
	background-color: gray;
	cursor: default;
}

.copyright {
	font-size: .75em;
	margin-left: 10px;
}

#image_wrapper {
	margin: 0 0 20px 0;
	padding: 0;
}

.relative {
	position: relative;
}

.nudura_training_button {
	display: block;
	border-radius: 5px;
	border: none;
	padding: 10px 30px;
	background-image: linear-gradient(#5bb555, #40a126);
	color: white;
	cursor: pointer;
	box-shadow: black 2px 2px 5px;
}

.training-wrapper {
	display: flex;
	flex-wrap: wrap;
}

@media (min-width: 320px) {
	.nudura_training_button {
		font-size: 18px;
		margin: 20px auto;
	}

	.paragraph_wrapper {
		margin: 0 5px 10px 0;
	}
}

@media (min-width: 900px) {
	.nudura_training_button {
		position: absolute;
		font-size: 22px;
		left: 120px;
		bottom: 80px;
	}

	.paragraph_wrapper {
		margin: 0 10px 20px 0;
	}
}


@media (max-width: 768px) {
    .main-project-block h2,
    .main-project-block p {
        text-align: center;
    }

	.main-project-block a {
		margin: auto;
		margin-bottom: 3px;
	}
}
