body {
	font-family: "Ubuntu Sans", sans-serif;
}

/* ========== Стилизация Скроллбара =============  */
::-webkit-scrollbar {
	width: 9px;
}

::-webkit-scrollbar-track {
	background: rgb(218, 218, 218);
}

::-webkit-scrollbar-thumb {
	background: #013999;
	border-radius: 3px;
	border: 0px solid rgb(166, 193, 204);
}


::-webkit-scrollbar-thumb:hover {
	background: #959595;
	border-radius: 2px;
	transition: 0.1s;
}

/* ========== // ============= */

.padding-table {
	padding-top: 5%;
}


.table {
	margin-top: 3%;
}

h2 {
	font-size: 40px;
	font-weight: 700;
}


h5 {
	font-weight: 700;
}


h6 {
	color: #505050;
	font-weight: 500;
	font-size: 14px;
}


/* ------- Меню навигации ---------- */

#menu {
	transition: 0.8s;
}

#menu.navbar-default {
	background: rgb(255, 255, 255);
	border-bottom: 1px solid #efefef;
}


#menu a.navbar-brand {
	text-transform: uppercase;
	font-size: 16px;
	color: #505050;
	font-weight: 700;
}


#menu a.navbar-brand i.fa {
	color: #00f255;
}


#menu .fa-instagram {
	font-size: 18px;
}


#menu.navbar-default .navbar-nav > li > a {
	text-transform: uppercase;
	color: #505050;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	word-spacing: 3px;
}

/* -- Горит активности секции -- */
 .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #00da8a!important;
} 

/* -- Горит при нажатии -- */
#menu.navbar-default .navbar-nav > li > a:hover {
	color: #00db6a;
}


.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	border-color: #00db6a;
	border-radius: 5px;
	transition: 0.4s;
	box-shadow: 0 0 7px rgba(54, 54, 54, 0.1);
}

.on {
	transition: all 0.8s;
}

/* // */
.padding {
	margin-top: 5%;
}


/* -------- Для 2ГИС --------- */
.gis {
	font-size: 14px;
}


/* ------------------ Стили для всех btn-danger ------------- */
.btn-danger {
    margin-top: 5%;
    background: #93ffd7;
    border: #93ffd7 3px solid;
    color: #505050;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
	background: none;
	border: #505050 3px solid;
	color: #505050;
	font-size: 18px;
	font-weight: 700;
	box-shadow: 0 0 10px rgb(0 0 0 / 15%);
	transition: 0.5s;
}
/* ----------------- // -------------------- */

/* ---- стиль для кнопки записи */
.zapis {
	margin-top: 5%;
	background: #009046;
	border: #009046 3px solid;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	border-radius: 10px;
}

.zapis:hover, .zapis:focus, .zapis:active {
	background: none;
	border: #009046 3px solid;
	color: #009046;
	font-size: 18px;
	font-weight: 700;
	box-shadow: 0 0 10px rgb(0 0 0 / 15%);
	transition: 0.5s;
}
/* -- // -- */

/* ------------------ Стили для всех картинок ------------- */
.uslugi-img {
	width: 350px;
	box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
}
/* ----------------- // -------------------- */


/* ====================================================== Header ================================================ */
header {
    background: url(../img/bg-main.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;
    border: 1px solid #efefef;
} 

header .overlay {
	background-color: rgba(255, 255, 255, 0.75);
	padding-bottom: 100px;
}

header .btn-default {
	background-color: #013999;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	border-radius: 5px;
	padding: 8px 25px;
	font-size: 18px;
	color: #fff;
	font-weight: 600;
	border: none;
	width: 50%;
}

header .btn-default:hover, header .btn-default:focus, header .btn-default:active {
	background-color: #099901;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
	transition: 0.5s;
	color: #fff;
}

header a {
	color: #505050;
	font-weight: 600;
	border-bottom: 1px dashed #505050;
}

header h1 {
	font-size: 35px;
	font-weight: 700;
	margin-top: 7%;
	margin-bottom: 7%;
	padding: 25px;
	color: #00c503;
	text-align: center;
	background-color: #fff;
	border-radius: 25px;
	box-shadow: 0 0 7px rgba(67, 147, 234, 0.4);
}

header .top {
	border-radius: 25px;
	padding-bottom: 25px;
	margin-top: 140px;
}

header .italic {
	font-size: 25px;
	font-style: italic;
	font-weight: 500;
	color: #505050;
}

header .small {
	font-size: 20px;
	font-weight: 700;
	color: #00db6a;
}

header a:hover {
	text-decoration: none;
}


.motor {
	color: #013999;
}
/* -- // -- */




/* ============================================= #contact ========================================= */
#contact {
	background-color: #42b3fe;
	border: 1px solid #efefef;
}



#contact .overlay {
	padding-top: 5%;
	padding-bottom: 10%;
	background-color: rgba(255, 255, 255, 0.90);
    background-repeat: repeat;
    left: 0;
    /* Использовали значение position: absolute;  - т.к этот класс накладывается на другой (используется в основном в этих случаях) */
    top: 0;
	z-index: 0;
}


#contact h2 {
	color: #013999;
	padding-bottom: 5%;
}


#contact h3 {
	color: #013999;
	font-size: 25px;
	font-weight: 700;
	padding-bottom: 3%;
}


#contact a {
	color: #505050;
	font-size: 20px;
	font-weight: 500;
}


#contact .fa {
	color: #013999;
}



/* ===================================================== Медиа-Запросы ================================================= */
@media (max-width: 1200px)
and (min-width: 991px) {
	.uslugi-img {
		width: 300px;
	}
}


@media (max-width: 991px)
and (min-width: 768px) {
	#menu.navbar-default .navbar-nav > li > a {
		font-size: 14px;
	}

	#menu a.navbar-brand {
		font-size: 14px;
	}

	header .btn-default {
        width: 60%;
    }

	header h1 {
		font-size: 30px;
	}

	header .italic {
		font-size: 18px;
	}

	header .small {
		font-size: 18px;
	}

	header .top {
		padding-bottom: 10px;
		margin-top: 140px;
	}

	h2 {
		font-size: 30px;
	}

	.padding-mobile {
		margin-top: 7%;
	}	

	header p {
		font-size: 18px;
	}


	/* ----------- #contact ---------- */
	#contact h3 {
		font-size: 20px;
		padding-bottom: 2%;
	}
	
	
	#contact a {
		font-size: 16px;
	}
	/* -- // -- */
}



@media (max-width: 768px)
and (min-width: 621px) {
	#menu a.navbar-brand {
		font-size: 14px;
	}

	h2 {
		font-size: 30px;
	}

	header .btn-default {
        width: 70%;
    }

	header h1 {
		font-size: 30px;
	}

	header .italic {
		font-size: 18px;
	}

	header .small {
		font-size: 16px;
	}

	header .top {
		padding-bottom: 10px;
		margin-top: 140px;
	}

	.padding-mobile {
		margin-top: 7%;
	}	

	.btn-danger {
		font-size: 18px;
	}
	/* // */


	/* ----------- #contact ---------- */
	#contact h3 {
		font-size: 20px;
		padding-top: 5%;
	}
	
	
	#contact a {
		font-size: 16px;
	}
	/* -- // -- */
}


@media (max-width: 620px)
and (min-width: 480px) {
	#menu a.navbar-brand {
		font-size: 14px;
	}

	.padding-mobile {
		margin-top: 7%;
	}	

	header .btn-default {
        width: 80%;
    }

	header h1 {
		font-size: 25px;
	}

	header .italic {
		font-size: 18px;
	}

	header .top {
		padding-bottom: 10px;
		margin-top: 140px;
	}

	.btn-danger {
		font-size: 18px;
	}

	h2 {
		font-size: 25px;
	}

	header p {
		font-size: 16px;
	}

	header .small {
		font-size: 16px;
	}
	/* // */



	/* ----------- #contact ---------- */
	#contact h3 {
		font-size: 20px;
		padding-bottom: 2%;
		padding-top: 3%;
	}
	
	
	#contact a {
		font-size: 16px;
	}
	/* -- // -- */
}


@media (max-width: 480px) {
	.btn-danger {
		font-size: 18px;
	}

	/* header .overlay {
		padding-bottom: 100px;
	} */

	#menu a.navbar-brand {
		font-size: 14px;
	}

	header .top {
		padding-bottom: 10px;
		margin-top: 140px;
	}

	header .italic {
		font-size: 18px;
	}


	.padding-mobile {
		margin-top: 10%;
	}	


	header h1 {
		font-size: 25px;
		padding-top: 10%;
		padding-bottom: 10%;
	}

	header .small {
		font-size: 16px;
	}

	header p {
		font-size: 16px;
	}

	header .btn-default {
		font-size: 16px;
		width: 100%;
	}

	header .btn-default:hover, header .btn-default:focus, header .btn-default:active {
		font-size: 16px;
	}
	/* // */

	h2 {
		font-size: 30px;
	}


	/* ----------- #contact ---------- */
	#contact .overlay {
		padding-bottom: 15%;
	}
	

	#contact h3 {
		font-size: 20px;
		padding-bottom: 2%;
		padding-top: 5%;
	}
	
	
	#contact a {
		font-size: 16px;
	}
	

}

	

/* ========================== Медиа-запросы на высоту ======================= */






