body {
	font-family: 'Montserrat', sans-serif;
}

/* ========== Стилизация Скроллбара =============  */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: rgb(218, 218, 218);
}

::-webkit-scrollbar-thumb {
	background: rgb(251, 172, 0);
	border-radius: 3px;
	border: 0px solid rgb(166, 193, 204);
}


::-webkit-scrollbar-thumb:hover {
	background: rgb(231, 115, 5);
	border-radius: 2px;
	transition: 0.1s;
}

/* ========== // ============= */

.padding-table {
	padding-top: 5%;
}


.table {
	margin-top: 3%;
}

h2 {
	font-size: 40px;
	font-weight: 700;
	margin: 0;
}

h4 {
	font-size: 18px;
}


h5 {
	font-weight: 700;
}


h6 {
	color: #000;
	font-weight: 600;
	font-size: 18px;
}


p {
	font-family: 'Montserrat', sans-serif;
	text-align: left;
}


a {
	color: rgb(219, 151, 5);
}

.blue {
	color: #0063cd;
}

.orange {
	color: rgb(219, 151, 5);
}

.margin {
	margin-top: 5%;
}


.small {
	width: 350px;
	margin-bottom: 3%;
	border-radius: 10px;
}


.logo {
	width: 200px;
	border-radius: 50%;
}


.bold {
	font-weight: 700;
}


/* ====================================================== Header ================================================ */
header {
	background: url(../img/bg-macbook.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
		 -o-background-size: cover;
			background-size: cover; 
    padding: 0;
} 

header .overlay {
	background-color: rgba(0, 0, 0, 0.75);
    background-repeat: repeat;
    left: 0;
    /* Использовали значение position: absolute;  - т.к этот класс накладывается на другой (используется в основном в этих случаях) */
    top: 0;
	z-index: 0;
	padding-bottom: 180px;
}


header .btn-default {
	background-color: rgb(251, 172, 0);
	border-radius: 5px;
	padding: 8px 25px;
	font-size: 18px;
	color: #000;
	font-weight: 700;
	border: none;
	box-shadow: 0 0 10px rgba(251, 172, 0, 0.5);
}


header .btn-default:hover, header .btn-default:focus {
	background-color: rgb(255, 255, 255);
	box-shadow: 0 0 10px rgba(152, 152, 152, 0.5);
	transition: 0.5s;
	color: #000;
}

header .btn-default:active {
	background-color: rgb(144, 144, 144);
	box-shadow: 0 0 10px rgba(152, 152, 152, 0.5);
	color: #fff;
}


header a {
	color: #000;
	font-weight: 600;
	border-bottom: 1px dashed #000;
}


header h3 {
	font-size: 40px;
	text-shadow: 0 5px 15px rgba(0, 0, 0, .8);
	font-weight: 700;
	padding-top: 10%;
	padding-bottom: 5%;
	color: #fff;
}

header p {
	color: #fff;
	font-size: 20px;
	padding-bottom: 7%;
	font-weight: 500;
	text-shadow: 0 5px 15px rgba(0, 0, 0, .8);
}

header .top {
	font-weight: 800;
}

header a:hover {
	text-decoration: none;
}


header .top {
	padding-top: 150px;
}



/* ====================================================== #two ================================================ */
#two {
	background-color: #fff;
	padding-top: 5%;
	padding-bottom: 5%;
}

#two .orange {
	color: rgb(219, 151, 5);
}

#two h2 {
	padding-bottom: 2%;
}

#two .small-h2 {
	padding-bottom: 5%;
}

#two hr {
	width: 50px;
	height: 4px;
	background: rgb(219, 151, 5);
	margin-bottom: 5%;
}

#two h3 {
	color: rgb(219, 151, 5);
	font-size: 25px;
	font-weight: 700;
	padding-bottom: 5%;
}

#two p {
	color: #000;
	font-size: 18px;
	padding-top: 5%;
}


#two h5 {
	background: rgba(0, 0, 0, 0.4);
	border-radius: 5px;
}


#two .btn-default {
	color: rgb(219, 151, 5);
	font-size: 18px;
	font-weight: 600;
	border: 3px solid rgb(219, 151, 5);
	background-color: #fff;
	margin-bottom: 2%;
	width: 50%;
}

#two .btn-default:hover {
	color: #fff;
	font-size: 18px;
	border: 3px solid rgb(0, 0, 0);
	transition: 0.4s;
	background-color: #000000;
	box-shadow: 4px 4px 15px rgba(162, 108, 0, 0.1);
}

#two .btn-default:focus {
	color: rgb(144, 144, 144);
	font-size: 18px;
	border: 3px solid rgb(144, 144, 144);
	transition: 0.4s;
	background-color: #fff;
	box-shadow: 4px 4px 5px rgba(162, 108, 0, 0.1);
}




/* ===================================================== #about ========================================= */
#about {
	background-color: #000;
}


#about .overlay {
	background-color: rgba(0, 0, 0, 0.8);
    background-repeat: repeat;
    left: 0;
    /* Использовали значение position: absolute;  - т.к этот класс накладывается на другой (используется в основном в этих случаях) */
    top: 0;
	z-index: 0;
	padding-bottom: 5%;
	padding-top: 5%;
}


#about h4 {
	color: #fff;
	padding-bottom: 3%;
}


#about .fas {
	font-size: 35px;
	color: rgb(219, 151, 5);
}

#about .fas:hover {
	font-size: 35px;
	color: rgb(255, 255, 255);
	transition: 0.15s;
}


/* ====================================================== #three ================================================ */
#three {
	background-color: #fff;
	padding-bottom: 5%;
}

#three h2 {
	color: #000;
	padding-top: 5%;
	padding-bottom: 2%;
}

#three p {
	color: #000;
	font-weight: 500;
}

#three hr {
	width: 50px;
	height: 4px;
	background: rgb(219, 151, 5);
	margin-bottom: 5%;
}


#three h4 {
	font-size: 25px;
	font-weight: 700;
	padding-top: 1%;
	padding-bottom: 1%;
	color: rgb(168, 115, 1);
}

#three h5 {
	font-size: 18px;
	font-weight: 600;
	padding-top: 5%;
	padding-bottom: 5%;
	color: #000;
}


#three th {
	font-size: 18px;
	font-weight: 600;
}

#three .btn-default {
	background-color: rgb(168, 115, 1);
	border-radius: 5px;
	padding: 8px 25px;
	font-size: 18px;
	color: #fff;
	font-weight: 700;
	width: 80%;
}


#three .btn-default:hover {
	background-color: rgb(0, 0, 0);
	transition: 0.5s;
}

#three .btn-default:active {
	background-color: rgb(144, 144, 144);
}



/* ============================================= #otziv ========================================= */
#otziv {
	padding-bottom: 5%;
	background-color: #fbfbfb;
}


#otziv h2 {
	padding-top: 5%;
	padding-bottom: 2%;
}


#otziv hr {
	width: 50px;
	height: 4px;
	background: rgb(219, 151, 5);
	margin-bottom: 5%;
}


#otziv h3 {
	font-weight: 600;
	font-size: 25px;
}


#otziv th {
	font-weight: 600;
	font-size: 18px;
}

#otziv td {
	font-size: 18px;
}


#otziv p {
	color: #000;
	font-size: 18px;
}


#otziv .btn-default {
	background-color: rgb(168, 115, 1);
	border-radius: 5px;
	padding: 8px 25px;
	font-size: 18px;
	color: #fff;
	font-weight: 700;
	margin-top: 5%;
	margin-bottom: 5%;
}

#otziv .btn-default:hover {
	background-color: rgb(0, 0, 0);
	transition: 0.5s;
}

#otziv .btn-default:active {
	background-color: rgb(144, 144, 144);
}
/* -- // --  */


/* ============================================= #form ========================================= */
#form {
	background-color: #000;
	padding-bottom: 5%;
}


#form h2 {
	color: #fff;
	padding-top: 5%;
	padding-bottom: 5%;
}


#form hr {
	width: 50px;
	height: 4px;
	background: rgb(219, 151, 5);
	margin-bottom: 5%;
}


#form input {
	height: 40px;
	font-size: 18px;
	color: #000;
	font-weight: 600;
}

#form input:focus {
	height: 40px;
	font-size: 18px;
	color: #000;
	font-weight: 600;
	border: 2px solid rgba(255, 166, 0);
	box-shadow: 0px 0px 15px rgba(255, 166, 0, 0.95);
}


#form .btn-default {
	background-color: rgb(251, 172, 0);
	width: 100%;
	color: #000;
	font-size: 18px;
	font-weight: 700;
	height: 40px;
	border: none;
}

#form .btn-default:hover, #form .btn-default:focus {
	background-color: rgb(176, 121, 0);
	transition: 0.5s;
	color: #fff;
}

#form .btn-default:active {
	background-color: rgb(144, 144, 144);
	transition: 0.5s;
	color: #fff;
}




/* ============================================= #four ========================================= */
#four {
	background: url(../img/bg-macbook.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
		 -o-background-size: cover;
			background-size: cover; 
    padding: 0;
}


#four .overlay {
	background-color: rgba(255, 255, 255, 0.93);
    background-repeat: repeat;
    left: 0;
    /* Использовали значение position: absolute;  - т.к этот класс накладывается на другой (используется в основном в этих случаях) */
    top: 0;
	z-index: 0;
	padding-top: 5%;
	padding-bottom: 10%;
}


#four a, #four p {
	color: rgb(0, 0, 0);
	font-size: 18px;
	font-weight: 600;
}


#four h2 {
	color:#000;
	padding-bottom: 2%;
}


#four hr {
	width: 50px;
	height: 4px;
	background: rgb(219, 151, 5);
	margin-bottom: 5%;
}


#four h3 {
	color: rgb(168, 115, 1);
	font-size: 25px;
	font-weight: 700;
}


#four .fas, #four .fab {
	color: rgb(168, 115, 1);
}


#four .gis {
	color:#525252;
	font-size: 14px;
}



#four .dg-widget-link {
	width: 100%;
}


/* ===================================================== Медиа-Запросы ================================================= */
@media (max-width: 991px)
and (min-width: 768px) {
	#menu.navbar-default .navbar-nav > li > a {
		font-size: 12px;
	}

	#menu a.navbar-brand {
		font-size: 14px;
	}

	header .overlay {
		padding-bottom: 120px;
	}

	header h3 {
		font-size: 30px;
	}

	header .top {
		padding-top: 100px;
	}

	header .header-img {
		width: 450px;
	}

	header .btn-default {
		font-size: 16px;
	}

	h2 {
		font-size: 30px;
	}

	.padding-mobile {
		margin-top: 5%;
	}	

	header p {
		font-size: 18px;
	}

	header .img-wpp {
		width: 25px;
		padding-bottom: 4px;
	}

	/* ------ #two ------ */
	#two {
		padding-top: 10%;
	}

	#two hr {
		margin-bottom: 3%;
	}


	#two h3 {
		font-size: 20px;
	}	

	.company-img {
		width: 450px;
		display: block;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 5%;
	}


	
	/* ------ #three ------ */
	#three hr {
		margin-bottom: 3%;
		margin-top: 2%;
	}	

	#three h5 {
		padding-top: 2%;
		padding-bottom: 2%;
	}

	#three .btn-default {
		width: 50%;
	}


	/* ----------- #form --------- */
	#form .btn-default {
		margin-top: 3%;
	}	


	/* -------- #four ------- */
	#four h3 {
		font-size: 22px;
	}

	#otziv .otziv-padding {
		padding-top: 3%;
	}

}



@media (max-width: 767px)
and (min-width: 621px) {
	#menu a.navbar-brand {
		font-size: 14px;
	}

	header .top {
		padding-top: 60px;
	}

	header .overlay {
		padding-bottom: 120px;
	}

	header .btn-default {
		font-size: 16px;
	}

	header .header-img {
		width: 400px;
	}

	header h3 {
		font-size: 25px;
	}

	.padding-mobile {
		margin-top: 5%;
	}	

	header p {
		font-size: 18px;
	}

	header .img-wpp {
		width: 25px;
		padding-bottom: 4px;
	}
	
	.tovar {
		padding-bottom: 15px;
	}

	.conder {
		width: 70%;
	}
	/* // */

	/* ------ #two ------ */
	#two {
		padding-top: 10%;
	}

	#two h3 {
		font-size: 20px;
	}

	#two hr {
		margin-bottom: 3%;
	}

	.company-img {
		width: 450px;
		display: block;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 5%;
	}
	
	/* ------ #three ------ */
	h2 {
		font-size: 30px;
	}

	#three hr {
		margin-bottom: 3%;
	}	

	#three .btn-default {
		width: 50%;
	}

	#three h5 {
		padding-top: 2%;
		padding-bottom: 2%;
	}

	#three .btn-danger {
		font-size: 18px;
	}
	/* -- // -- */


	/* ----------- #form --------- */
	#form .btn-default {
		margin-top: 3%;
	}	


	/* ----- #four ----- */
	#four hr {
		margin-bottom: 5%;
	}

	#four h3 {
		font-size: 20px;
	}

	#four a, #four p {
		font-size: 18px;
	}
}


@media (max-width: 620px)
and (min-width: 480px) {
	#menu a.navbar-brand {
		font-size: 14px;
	}

	header .top {
		padding-top: 100px;
	}

	header .header-img {
		width: 300px;
	}

	.padding-mobile {
		margin-top: 5%;
	}	

	header .overlay {
		padding-bottom: 120px;
	}

	h2 {
		font-size: 25px;
	}

	#about h4 {
		font-size: 16px;
	}

	
	header .btn-default {
		font-size: 16px;
	}


	header h3 {
		font-size: 25px;
	}

	header p {
		font-size: 16px;
	}

	header .img-wpp {
		width: 25px;
		padding-bottom: 4px;
	}


		
	/* ---------------------- #one ------------------- */
	#one {
		padding-top: 100px;
		padding-bottom: 5%;
	}

	/* ------ отступы текста в страницах окна, двери, витражи ----- */
	#one .text {
		padding-top: 5%;
	}

	#one .btn-danger {
		width: 250px;
		margin-top: 2%;
		margin-bottom: 2%;
		background-color: rgb(219, 151, 5);
		font-size: 16px;
	}

	#one .btn-danger:hover, #one .btn-danger:focus, #one .btn-danger:active {
		background-color: rgb(231, 115, 5);
		transition: 0.5s;
		color: #fff;
	}
	/* ----- // ------ */	
	

	/* ------ #two ------ */
	#two {
		padding-top: 10%;
	}

	#two h3 {
		font-size: 20px;
	}	

	#two p {
		font-size: 16px;
	}

	#two hr {
		margin-bottom: 3%;
	}

	#two .btn-default {
		width: 80%;
		font-size: 16px;
	}

	#two .btn-default:hover {
		font-size: 16px;
	}
	
	#two .btn-default:focus {
		font-size: 16px;
	}

	.company-img {
		width: 350px;
		display: block;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 10%;
	}

	/* ------ #three ------ */
	#three hr {
		margin-bottom: 3%;
	}

	#three th {
		font-size: 16px;
	}

	#three .btn-danger {
		font-size: 18px;
	}

	#three .btn-default {
		width: 60%;
		font-size: 16px;
	}

	#three h5 {
		padding-top: 2%;
		padding-bottom: 2%;
	}

	#three h4 {
		font-size: 20px;
		font-weight: 600;
	}
	
	#three h5 {
		font-size: 16px;
	}

	#about .fas {
		font-size: 30px;
	}


	/* ------- #otziv ------- */
	#otziv hr {
		margin-bottom: 5%;
	}

	#otziv .otziv-padding {
		padding-top: 5%;
	}

	#otziv p {
		font-size: 16px;
	}

	#otziv h3 {
		font-size: 20px;
	}
	
	#otziv .btn-default {
		font-size: 16px;
	}
	
	#otziv th {
		font-size: 16px;
	}
	
	#otziv td {
		font-size: 16px;
	}


	/* ----------- #form --------- */
	#form .btn-default {
		margin-top: 5%;
	}


	/* ------- #four -------- */
	#four hr {
		margin-bottom: 5%;
	}


	#four h3 {
		font-size: 20px;
	}

	#four a, #four p {
		font-size: 16px;
	}

}


@media (max-width: 479px) {
	.small {
		width: 250px;
		margin-bottom: 5%;
		border-radius: 10px;
	}

	.logo {
		width: 150px;
	}

	header .overlay {
		padding-bottom: 140px;
	}

	#menu a.navbar-brand {
		font-size: 14px;
	}

	header .top {
		padding-top: 100px;
	}

	header .header-img {
		width: 260px;
	}

	.padding-mobile {
		margin-top: 10%;
	}	

	header h3 {
		font-size: 25px;
		padding-top: 5%;
		padding-bottom: 5%;
	}

	.small-h2 {
		font-size: 20px;
	}

	header p {
		font-size: 16px;
		padding-bottom: 10%;
		padding-top: 5%;
	}

	header .btn-default {
		font-size: 16px;
	}

	header .btn-default:hover, header .btn-default:focus, header .btn-default:active {
		font-size: 16px;
	}


	h4 {
		font-size: 18px;
	}

	h2 {
		font-size: 25px;
	}

	/* ------ #two ------ */
	#two {
		padding-top: 15%;
		padding-bottom: 10%;
	}

	#two hr {
		margin-bottom: 5%;
	}

	#two .btn-default {
		width: 100%;
		font-size: 16px;
	}

	#two .btn-default:hover {
		font-size: 16px;
	}
	
	#two .btn-default:focus {
		font-size: 16px;
	}


	#two .small-h2 {
		padding-bottom: 10%;
	}

	#two h3 {
		font-size: 18px;
	}

	#two p {
		color: #000;
		font-size: 16px;
	}
	/* -- // -- */


	/* ------ #about ------ */
	#about .overlay {
		padding-bottom: 10%;
		padding-top: 10%;
	}
	
	
	#about h2 {
		padding-bottom: 10%;
	}

	#about h4 {
		font-size: 16px;
	}

	#about .fas {
		font-size: 30px;
	}
	/* -- // -- */

	/* ------ #three ------ */
	#three {
		padding-top: 10%;
		padding-bottom: 10%;
	}

	#three hr {
		margin-bottom: 5%;
	}

	#three th {
		font-size: 16px;
	}

	#three h5 {
		padding-top: 3%;
		padding-bottom: 3%;
	}

	#three .btn-danger {
		font-size: 18px;
	}

	#three .btn-default {
		font-size: 16px;
	}

	#three h4 {
		font-size: 20px;
	}
	
	#three h5 {
		font-size: 16px;
	}
	/* -- // -- */


	/* --------- #otziv ------- */
	#otziv {
		padding-top: 10%;
		padding-bottom: 10%;
	}

	#otziv .otziv-padding {
		padding-top: 5%;
	}

	#otziv .btn-default {
		font-size: 16px;
	}

	#otziv hr {
		margin-bottom: 7%;
	}

	#otziv p {
		font-size: 16px;
	}

	#otziv h3 {
		font-size: 20px;
	}
	
	
	#otziv th {
		font-size: 16px;
	}
	
	#otziv td {
		font-size: 16px;
	}
	/* -- // -- */


	/* ----------- #form --------- */
	#form {
		padding-top: 10%;
		padding-bottom: 20%;
	}

	#form h2 {
		padding-bottom: 10%;
	}

	#form .btn-default {
		margin-top: 5%;
		font-size: 16px;
	}
	/* -- // -- */

	/* ------ #four ------ */
	#four .overlay {
		padding-top: 10%;
		padding-bottom: 20%;
	}

	#four hr {
		margin-bottom: 5%;
	}

	#four h3 {
		font-size: 20px;
	}

	#four a, #four p {
		font-size: 16px;
	}
	/* -- // -- */

}






