html, body, h1, h2, h3, h4, h5, h6, a, p, ul, ol, li {
  font-family: Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  font-size: 14px;
  height: 100%;
}

small {
  font-weight: inherit;
}


li {
  color: #444444;
  font-size: 1rem;
  letter-spacing: 0.03rem;
}

main.main.about li {
  color: #f02e2e;
}
main.main.about li span {
  color: #212529;
}

h2 {
  font-size: 24px;
  margin-top: 40px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}

#header h2,
footer h2 {
  text-align: left;
}

main {
  padding-top: 30px;
  padding-bottom: 30px;
}
#clients {
  height: 300px;
  background-color: #787a83;
}

.red-text {
	color: #f02e2e;
}

.custom-select {
  height: 3rem !important;
}

.btn-default {
  font-size: 14px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  background-color: #f02e2e;
  color: #fff;
  text-transform: uppercase;
  padding: 0.8em 3em;
  cursor: pointer;
}
.btn-default:hover {
  color: #fff;
  background-color: #a11a1a;  
}
.btn-default:focus {
  outline: 0;
  box-shadow: none;
}

.btn-outline-secondary:focus {
  outline: 0;
  box-shadow: none;  
}

.btn-outline-secondary {
  background-color: #eee;
  padding: .375rem .75rem;
  font-size: 1rem;
  color: #666;
  border: 2px solid #c8c9c9;
  height: 100%;
}
.btn-outline-secondary:hover {
  background-color: #f02e2e;
  border-color: #f02e2e;
  color: #fff;
}
.input-group-btn:not(:last-child) > .btn, .input-group-btn:not(:last-child) > .btn-group {
    margin-right: -2px;
}
.input-group-btn:not(:first-child) > .btn-group:first-child, .input-group-btn:not(:first-child) > .btn:first-child {
    margin-left: -2px;
}
.custom-control-label {
  padding-left: .5rem;
}
.custom-control-label::before,
.custom-control-label::after {
  width: 1.5rem;
  height: 1.5rem;
  top: 0;
}
.custom-control-label::after {
  background-size: 60% 60%;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #f02e2e;
}
.custom-checkbox .custom-control-label::before {
  box-shadow: none !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  background-color: #f02e2e;
}
.nav-tabs .nav-link {
  color: #888;
}

#top {
  height: 60px;
}

.bg-dark {
	background-color: #111111 !important;
  color: white;
}

.navbar-inverse .navbar-nav .nav-link {
  color: #eeeeee;
}

.nav-link {
  font-weight: bold;
  border-radius: 2px;
}

.navbar-nav .nav-item .nav-link {
	color: white !important;
}
.navbar-nav .active > .nav-link, 
.navbar-nav .nav-link.active, 
.navbar-nav .nav-link.open, 
.navbar-nav .open > .nav-link {
  color: white;
  background: #f02e2e;
}
.navbar-nav .nav-link {
	padding: .75rem 1.25rem !important;
	margin: 0 5px !important;
  transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.navbar-nav .nav-link:hover {
  background-color: #f02e2e;
  border-radius: 2px;
}

.service {
  text-align: center;
  padding: 20px 30px;
}
.service img {
  max-width: 150px;
  max-height: 150px;
}
.service h2, .footer h2 {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
}

.footer h2 {
  font-size: 24px;
  margin-top: 40px;
}
.footer address {
  margin-bottom: 30px;
  margin-left: 40px;
}
.footer .address-title {
  color: #9b9b9b;
  text-transform: uppercase;
  margin-top: 25px;
  margin-bottom: 10px;
  margin-left: 40px;
}
.footer .address-info {
  font-weight: bold;
  font-size: 24px;
  margin-left: 12px;
}
.footer .fa {
  color: #f02e2e;
  font-size: 18px;
  font-weight: normal;
}
.footer #address {
  font-size: 14px;
  font-weight: normal;
}
.pepper, .pepper-center {
  width: 50px;
  height: 2px;
  background-color: #f02e2e;
  margin-bottom: 25px;
}
.pepper-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.footer a {
  color: inherit;
}
.footer a:hover {
  text-decoration: none;
  color: #aaa;
}
.footer .form-control {
  margin-bottom: 20px;
}

.copyright {
  background-color: #222222;
  color: #fff;
  padding: 20px 10px;
  font-size: 14px;
}
.red {
  color: #f02e2e;
}
.form-control::placeholder {
  color: #c8c9c9;
  opacity: 1;
}
.form-control {
  padding: 0.7em 1em;
  padding-right: 2em;
  border: 2px solid #c8c9c9;
  border-radius: 2px;
}
.form-control:focus {
  border-color: #f02e2e;
  outline: 0;
  box-shadow: none;
}

#header {
  height: 488px;
  position: relative;
  background: url('images/header-bg.jpg') center 60px repeat-x transparent;
  background-attachment: fixed;
}

#header .my-carousel-item {
  height: 488px;
  color: white;
}
#header .my-carousel-item img {
  display: block;
  width: auto;
}
#header h2 {
  font-size: 24px;
  text-transform: uppercase;
  color: white;
  font-weight: bold;
}

#clients h2 {
  font-size: 24px;
  padding-top: 40px;
  text-transform: uppercase;
  color: white;
  font-weight: bold;
  text-align: center;
}
#clients .owl-carousel {
  padding-top: 60px;
}
#clients .my-carousel-item {
  line-height: 80px;
  text-align: center;
}
#clients .my-carousel-item img {
  width: auto;
  vertical-align: middle;
  display: inline;
}

.owl-carousel .owl-nav {
  position: absolute;
  width: 100%;
  margin-top: -15px;
  top: 50%;
  display: none;
}
.owl-carousel:hover .owl-nav {
  display: block;
}
.owl-carousel .owl-nav [class*="owl-"] {
  background-color: transparent;
  border-radius: 0;
  opacity: 0.5;
}
.owl-carousel .owl-nav [class*="owl-"]:hover {
  background-color: transparent;
  opacity: 1;
}
.owl-carousel .owl-prev {
  float: left;
}
.owl-carousel .owl-next {
  float: right;
}
.owl-carousel .owl-dots {
  display: none;
}

#clients .owl-carousel .owl-nav {
  margin-top: 0;
}

main .service .explanation {
  min-height: 42px;
}

.navbar .dropdown .dropdown-toggle {
  border-radius: 0;
  border: none;
  padding: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  background-color: transparent;
}
.navbar .dropdown .dropdown-toggle:hover,
.navbar .dropdown.show .dropdown-toggle {
  background-color: #f02e2e;
}
.navbar .dropdown .dropdown-toggle::after {
  display: none;
}
.navbar .dropdown .dropdown-menu {
  border-radius: 0;
  margin: 0;
  width: 292px;
  margin-left: -250px;
}
.navbar .dropdown .form-control,
.navbar .dropdown .btn {
  padding: 8px;
}

#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    width: 64px;
    height: 64px;
    text-align: center;
    line-height: 60px;
    font-size: 40px;
    background: #333333;
    color: #fff;
    cursor: pointer;
    border: 0;
    border-radius: 32px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
}
#back-to-top.show:hover {
    opacity: 1;
}
#back-to-top.show {
    opacity: 0.5;
}
.navbar .dropdown-toggle .text {
  display: none;
}


.portrait img {
  background-color: #b6b6b6;
  border-radius: 50%;
  max-width: 200px;
  max-height: 200px;
}

#team {
  padding-bottom: 60px;
  padding-top: 3px;
  background-color: #e6e6e6;
}

#team .item img {
	display: inline;
}

#thanks .item img,
#responses .item img {
  width: auto;
  margin: 20px auto;
}
#thanks { 
  margin-bottom: 40px;
}

#responses {
	color: #fff;
	background-color: #000;
	padding-top: 20px;
	padding-bottom: 20px;
	background: url('images/bgfooter.jpg') center center black;
	background-attachment: fixed;
	background-size: cover;
}
#responses img {
	border-radius: 50%;
	max-width: 200px;
}

#statistics {
  text-align: center;
  margin-bottom: 60px;
}
#statistics .statistic-block {
  max-width: 250px;
  margin: 10px auto;
  background-color: rgba(0, 0, 0, 0.3);
}
#statistics .title {
  font-size: 18px;
  margin-bottom: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-transform: uppercase;
  font-weight: bold;
  background-color: #f02e2e;
}
#statistics .icon {
  background-color: #f02e2e;
  display: inline-block;
  border-radius: 50%;
  color: white;
  font-size: 30px;
  width: 100px;
  height: 100px;
  line-height: 100px;
  vertical-align: middle;
}
#statistics .statistic-value {
  font-size: 40px;
  font-weight: bold;
  margin-top: 30px;
  background-color: #f02e2e;
}

#title, #statistics {
  padding-top: 40px;
  padding-bottom: 40px;
  background: url('images/bgfooter.jpg') center center black;
  color: #fff;
  background-attachment: fixed;
  background-size: cover;
}
#title {
  background: url('images/bgfooter.jpg') center center black;  
  background-attachment: fixed;
  background-size: cover;
}

.fio {
  font-weight: bold;
  font-style: italic;
  padding-top: 20px;
}
.profession {
  color: #939393;  
}

.content h2 {
  text-align: left;
  margin-top: 0;
}

#order-form {
  background: black;
  padding: 40px;
  border-radius: 10px;
}
#order-form h2 {
  color: white;
  margin-top: 0;
  text-align: left;
  font-size: 18px;
}
#order-form .form-control {
}

#sidemenu {
  text-align: left;
  padding-bottom: 30px;
}
#sidemenu a {
  color: inherit;
}
#sidemenu > ul {
  padding: 0;
  margin: 0;
}
#sidemenu > ul > li {
  list-style-type: none;
}
#sidemenu > ul > li > span {
  background-color: black;
  color: #fff;
  padding: 10px;
  display: block;
  border-radius: 5px;
  font-size: 18px;
  margin-bottom: 10px;
}
#sidemenu > ul ul {
  padding-bottom: 10px;
}
#sidemenu > ul > li.active > span {
	background-color: #f02e2e;
}
#sidemenu > ul ul li.active {
	color: #f02e2e;
}

.divider {
	border-left: 1px solid #c2c2c2;
}

.pagination {
  margin-top: 14px;
}

.page-item.active .page-link {
  background-color: #f02e2e;
  border-color: #f02e2e;
}
.page-link, .page-link:focus, .page-link:hover {
  color: #f02e2e;
}

.article {
  padding-top: 20px;
  padding-bottom: 20px;
}
.article:nth-child(even){
  background-color: #e8e8e8;
}
.article img {
  display: none;
}

.article img.preview {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  display: block;
}

.article h2 {
  text-transform: none;
}
.single-article h2 {
  font-size: 30px;
  text-transform: none;
  padding-bottom: 10px;
}
.single-article img.preview {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}

.content {
  padding-bottom: 40px;
}

#calculator .tool {
  width: 100%;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}
#calculator .tool:focus {
  outline: 0;
}
#calculator .tool.active {
  border-color: #f02e2e;  
  background-color: #f02e2e;  
}
#calculator .tool[disabled] {
  border-color: transparent;
  cursor: default;
}
#calculator .tool .name {
  font-size: 11px;
}
#calculator .tool.active .name {
  color: #fff !important;
}
#calculator .tool:hover .name {
  color: #f02e2e;  
}
#calculator .tool[disabled] .name {
  color: #aaa;
}
#calculator .tool .tool-image {
  background: url('images/tool-house.svg') center top no-repeat transparent;
  width: 100%;
  padding-bottom: 100%;
}

#calculator #tool-house .tool-image { background-image: url('images/tool-house.svg'); }
#calculator #tool-house:hover .tool-image { background-image: url('images/tool-house-red.svg'); }
#calculator #tool-house.active .tool-image { background-image: url('images/tool-house-white.svg'); }
#calculator #tool-house[disabled] .tool-image { background-image: url('images/tool-house-disabled.svg'); }

#calculator #tool-radius .tool-image { background-image: url('images/tool-radius.svg'); }
#calculator #tool-radius:hover .tool-image { background-image: url('images/tool-radius-red.svg'); }
#calculator #tool-radius.active .tool-image { background-image: url('images/tool-radius-white.svg'); }
#calculator #tool-radius[disabled] .tool-image { background-image: url('images/tool-radius-disabled.svg'); }

#calculator #tool-poly .tool-image { background-image: url('images/tool-rect.svg'); }
#calculator #tool-poly:hover .tool-image { background-image: url('images/tool-rect-red.svg'); }
#calculator #tool-poly.active .tool-image { background-image: url('images/tool-rect-white.svg'); }
#calculator #tool-poly[disabled] .tool-image { background-image: url('images/tool-rect-disabled.svg'); }

#total {
  background-color: #a11a1a; 
  color:#fff; 
  text-align: center; 
  margin-bottom: 20px;
}
#total .title {
  font-size: 200%; 
  font-weight: bold; 
  background-color: #f02e2e; 
  color:#fff; 
  text-transform: uppercase; 
  padding: 10px;  
}
#total .param-name {
  text-align: right;
  line-height: 25px;
}
#total .param-value {
	font-size: 18px; 
	font-weight: bold;
  text-align: left;
  line-height: 25px;
}
#total .footer {
	font-weight: bold; 
	background-color: #f02e2e; 
	color:#fff; 
	text-transform: uppercase; 
	padding: 10px 0;
}
#total .footer .result {
	font-size: 210%;
}
#total .footer .fa {
	color: #fff;
}

.hidden { 
  display: none;
}

main.services .content li {
  color: #f02e2e;
  margin-top: 5px;
  margin-bottom: 5px;
}

main.services .content li span {
  color: #212529;
}

/* lg and down */
@media (max-width: 991px) {
  .navbar .dropdown .dropdown-toggle {
    width: 100% !important;
    background-color: #414142;
  }
  .navbar .dropdown .dropdown-menu {
    margin-left: 0;
    width: 100%;
  }

  .divider {
  	border-left: none;
  }

  #header .my-carousel-item {
    background: none !important;
  }
}

