:root {
  --main-color: #E00000;
  --main-color-hover: #ae0000;
  --gray: #C5C5C5;
  --gray-lite: #D1D1D1;
  
}

html,
body {
  /* font-family: 'Roboto', sans-serif; */
  /* font-family: ui-sans-serif, system-ui; */
  font-family: 'Segoe UI';
  font-size: 14px;
  line-height: 27px;
  font-weight: 400;
  /* color: #000; */
  /* background-color: #fff; */
  /* min-width: 320px; */
  height: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.main {
  flex: 1 1 auto;
}

img {
  max-width: 100%;
  /* width: 100%; */
  height: auto;
}

a {
  text-decoration: none;
  color: #000;
  /* transition: all 0.5s; */
}

a:hover,
a:focus {
  /* text-decoration: underline; */
  /* text-decoration-color: var(--main-color); */
  color: var(--main-color-hover);
}

.category-a:hover {
  text-decoration: underline;
}


/* ------------------- header ------------------- */
/* hide the blue outline */
.form-control:focus {
  outline: 0 !important;
  border-color: initial;
  box-shadow: none;
}

#button-addon2:hover {
  background: var(--main-color);
}

#button-addon2:active {
  background: var(--main-color-hover);
}

.header-tel {
  font-weight: 500;
  font-size: 20px;
}

.header-tel:hover {
  text-decoration: none;
  color: #000;
}

.header-tel svg {
  display: inline;
  font-size: 24px;
  margin-right: 0.25rem;
}

.catalog-div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.catalog-div svg {
  font-size: 20px;
  margin-left: 5px;
}

.catalog-btn {
  background: var(--main-color);
  text-transform: uppercase;
  color: #fff;
  height: 40px;
  /* width: 254px; */
  border: none;

}

.catalog-btn:hover {
  background: var(--main-color-hover);
}

.catalog-btn:active {
  background-color: var(--main-color-hover) !important;
}

.btn-secondary {
  background: var(--main-color);
  /* text-transform: uppercase; */
  color: #fff;
  /* height: 40px; */
  /* width: 254px; */
  border: none;

}

.btn-secondary:hover {
  background: var(--main-color-hover);
}

.btn-secondary:active {
  background-color: var(--main-color-hover) !important;
}

.burger-btn {
  background: var(--main-color);
}

.nav-bottom-ul {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.nav-bottom a {
  color: #000;
}

.nav-bottom a:hover {
  color: var(--main-color);
}

.nav-bottom ul:last-of-type {
  margin-left: auto;
}

.nav-bottom-user {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.nav-bottom-user svg {
  font-size: 25px;
}

.cart-link {
  position: relative;
}

.cart-badge {
  background: var(--main-color);
  position: absolute;
  top: 0px;
  left: 0px;
  font-size: 10px;
}

/* .cart-menu {
    width: max-content;
    box-shadow: 0px 8px 7px -2px rgba(34, 60, 80, 0.2);
    text-transform: none;
    background: #eee;
} */

.in-cart {
  text-transform: none;
}

.cart-btn-go {
  background: var(--main-color);
  text-transform: none;
  color: #fff !important;
  /* height: 40px; */
  /* width: 131.38px; */
  border: none;
  border-bottom: none !important;
}

.cart-btn-go:hover {
  text-decoration: none;
  background-color: var(--main-color-hover);
  border-bottom: none !important;
  
}

.cart-btn-go:active {
  text-decoration: none;
  background-color: var(--main-color-hover) !important;
  border-bottom: none !important;
  
}

/* #navbarNavDropdown {
  border-bottom: 1px solid #D9D9D9;
} */

#navbarNavDropdown a {
  border-bottom: 3px solid #fff; 
}
#navbarNavDropdown a:hover {
  border-bottom: 3px solid var(--main-color); 
}

.cart-btn {
  background: var(--main-color);
  /* text-transform: uppercase; */
  color: #fff;
  height: 40px;
  width: 131px;
  border: none;
}

/* ------------------- section0 ------------------- */
.section0 {
  margin-top: 1px;
  margin-bottom: 20px;
}

.sec0-img {
  position: relative;
}

.sec0-p {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 400px;
  font-style: normal;
  font-weight: 700;
  font-size: 35px;
  line-height: 45px;
  text-transform: uppercase;
}




/* ------------------- section1 ------------------- */

/* .image:hover {
    box-shadow: 0px 8px 7px -2px rgba(34, 60, 80, 0.2);
    transition: all .3s;
} */

.image {
  position: relative;
  border-bottom :5px solid #fff;
}

.image:hover {
  border-bottom :5px solid var(--main-color);
}

.section1 span {
  position: absolute;
  font-weight: 500;
  text-transform: uppercase;
}

/* ------------------- section2 ------------------- */
.sec2-content {
  padding: 39px;;
  background-color: var(--gray-lite);
}

.sec2-content input {
  margin-bottom: 10px;
}

.sec2-content button {
  float: right;
}

.sec2-p {
  font-style: normal;
  font-weight: 700;
  font-size: 26px;
  line-height: 30px;
  text-transform: uppercase;
}

.ok-message {
  text-align: center;
  /* color: #fff; */
  margin-top: 12px;
  font-size: 20px;
}

/* ------------------- pagination ------------------- */
.pagination li a,
.pagination li span{
	position: relative;
	display: block;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #dee2e6;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	padding: .375rem .75rem;
}

.pagination li:not(:first-child) a {
	margin-left: -1px;
}

.pagination li a {
	color: var(--main-color);
}

.pagination li.active span {
	background-color: var(--main-color);
	border-color: var(--main-color);
	color: #fff;
}

.pagination li a:hover {
	color: #fff;
	background-color: var(--main-color);
	border-color: var(--main-color);
}



/* ------------------- footer ------------------- */


.footer-content {
  margin-top: 21px;
  padding: 39px;
  background-color: var(--gray);
  border-top:3px solid var(--main-color)
}

.footer-link {
  /* line-height: 35px; */
  margin-left: 50px;
  margin-bottom: 36px;
}

footer a {
  color: #000;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
}

footer a:hover,
footer a:focus {
  color: var(--main-color-hover);
}

footer li {
  color: #000;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
}

footer h5 {
  color: #000;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}

/* ------------------- cart ------------------- */


/* .cart-green-btn {
    background-color: var(--main-color);
    border: none;
}

.cart-green-btn:hover {
    background-color: #30893d;
    text-decoration: none;
}

.cart-green-btn:active {
    background-color: #30893d !important;
    text-decoration: none;
} */

.btn-primary {
  background-color: var(--main-color);
  border: none;
}

.btn-primary:hover {
  background-color: var(--main-color-hover);
  text-decoration: none;
}

.btn-primary:active {
  background-color: var(--main-color-hover) !important;
  text-decoration: none;
}

/* ------------------- checkout ------------------- */

.panel-group .panel {
  border-radius: 4px;
}

.panel-default {
  border: 1px solid #ddd;
  margin-bottom: 5px;
}

.panel {
  background-color: #fff;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.panel-default>.panel-heading {
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd;
}

.panel-group .panel-heading {
  border-bottom: 0;
}

.panel-body {
  padding: 20px;
}

.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: inherit;
}

div.required .control-label::before {
  content: '* ';
  color: #F00;
  font-weight: bold;
}

legend {
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 20px;
  font-size: 21px;
  line-height: inherit;
  color: #333;
  border-bottom: 1px solid #e5e5e5;
}

/* ------------------- btn-toggle ------------------- */

.list-group-item+.list-group-item.active {
  background-color: var(--main-color);
  border: none;
}

.list-group-item.active {
  background-color: var(--main-color);
  border: none;
}

.dropdown-item.active,
.dropdown-item:active {
  color: white;
  text-decoration: none;
  background-color: var(--main-color);
}

/* .dropdown-toggle { outline: 0; } */

.btn-toggle {
  padding: .25rem .5rem;
  font-weight: 600;
  color: rgba(0, 0, 0, .65);
  background-color: transparent;
}

.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(0, 0, 0, .85);
  background-color: #d2f4ea;
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(0, 0, 0, .85);
}

.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
}

.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: #d2f4ea;
}

/* .scrollarea {
  overflow-y: auto;
} */

/* ========================================= */

input[type="number"] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.number-input {
  /* border: 2px solid #ddd; */
  display: inline-flex;
}

.number-input,
.number-input * {
  box-sizing: border-box;
}

.number-input button {
  outline:none;
  -webkit-appearance: none;
  background-color: #eeeeee;
  border: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  cursor: pointer;
  margin: 0;
  position: relative;
  padding:0;
}

.number-input button:before,
.number-input button:after {
  display: inline-block;
  position: absolute;
  content: '';
  width: 0.5rem;
  height: 2px;
  background-color: #212121;
  transform: translate(-50%, -50%);
}
.number-input button.plus:after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.number-input input[type=number] {
  /* font-family: sans-serif; */
  max-width: 4.5rem;
  /* padding: .5rem; */
  border:0;
  text-align: center;
  outline:none;
}
/* .number-input{
  border: solid #c2c4c6;
  border-width:2px;
} */




/* ------------------- media ------------------- */
@media (max-width: 576px) {
  .sec0-p {
    top: 10px;
    left: 20px;
    font-size: calc(10px + (16 + 16 * 0.7) * ((100vw - 320px) / 1280));
    line-height: 120%;
    width: 40%;
  }
  
  .sec0-p button {
    width: 75%;
    font-size: calc(9px + (16 + 16 * 0.7) * ((100vw - 320px) / 1280));
    
  }
  .section1 span {
    top: 60%;
    left: 5%;
    font-size: calc(10px + (16 + 16 * 0.7) * ((100vw - 320px) / 1280));
    line-height: 120%;
  }
  .sec2-p {
    font-size: 14px;
    line-height: 20px;
  }
  
  .footer-link {
    margin-top: 30px;
    margin-left: 0px;
    margin-bottom: 36px;
  }
}

@media (min-width: 576px) {
  .sec0-p {
    top: 10px;
    left: 20px;
    font-size: 14px;
    line-height: 25px;
    width: 300px;
  }
  
  .sec0-p button {
    width: 160px;
  }
  
  .section1 span {
    top: 155px;
    left: 15px;
    width: 200px;
    font-size: 14px;
    line-height: 20px;

  }
  .sec2-p {
    font-size: 20px;
    line-height: 25px;
  }
  
  .footer-link {
    margin-top: 30px;
    margin-left: 0px;
    margin-bottom: 36px;
  }
}

@media (min-width: 768px) {
  .sec0-p {
    top: 20px;
    left: 40px;
    font-size: 20px;
    line-height: 25px;
    width: 300px;
  }
  
  .sec0-p button {
    width: 200px;
  }
  
  .section1 span {
    top: 95px;
    left: 10px;
    max-width: 140px;
    font-size: 11px;
    line-height: 13px;
  }
  
  .sec2-p {
    font-size: 20px;
    line-height: 30px;
  }
  
  .footer-link {
    margin-top: 0px;
    margin-left: 50px;
    margin-bottom: 36px;
  }
}

@media (min-width: 992px) {
  .sec0-p {
    top: 40px;
    left: 40px;
    font-size: 35px;
    line-height: 45px;
    width: 400px;
  }
  
  .sec0-p button {
    width: 254px;
  }
  
  .section1 span {
    top: 135px;
    left: 15px;
    max-width: 200px;
    font-size: 14px;
    line-height: 20px;
  }
  
  .sec2-p {
    font-size: 25px;
    line-height: 30px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1140px;
  }
  
  .sec0-p {
    top: 40px;
    left: 40px;
    font-size: 35px;
    line-height: 45px;
    width: 400px;
  }

  .section1 span {
    top: 165px;
    left: 20px;
    min-width: 230px;
    font-size: 16px;
    line-height: 20px;
  }
  
  .sec2-p {
    font-size: 25px;
    line-height: 30px;
  }
  
  

}