@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.clear { clear: both; height: 0; width: 0; }

body {
  margin: 0;
  background-image: url(dalizon/img/bgMeniu.png), url(dalizon/img/bgHeader.jpg);
  background-position: left top, center top;
  background-repeat: repeat-x, no-repeat;
  background-color: #D0D0D0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  flex: 1;
}

/* HEADER */
header {
  position: relative;
  width: 960px;
  margin: auto;
  background-image: url(dalizon/img/aparatMasurare.png);
  background-position: 50px bottom;
  background-repeat: no-repeat;
  height: 410px;
}

#logo {
  width: 491px;
  height: 187px;
}

#logo img {
  max-width: 100%;
  height: auto;
}

/* NAVIGATION */
.headerMenu {
  width: 100%;
  margin-left: 0;
  clear: both;
  position: absolute;
  top: -7px;
  right: 0;
}

.headerMenu ul {
  text-align: right;
  list-style: none;
  padding: 0;
  margin: 0;
}

.headerMenu ul li {
  display: inline-block;
}

.headerMenu ul li a {
  display: block;
  height: 52px;
  line-height: 52px;
  padding-left: 8px;
  padding-right: 8px;
  font-size: 15px;
  text-decoration: none;
  color: #ffffff;
  text-shadow: 1px 1px 1px #000000;
}

.headerMenu ul li a:hover {
  color: #FF9E00;
  background-image: url(dalizon/img/btMeniu.png);
  background-position: center bottom;
  background-repeat: no-repeat;
}

.headerMenu ul li a.active {
  color: #FF9E00;
  text-shadow: 1px 1px 1px #000000;
}

/* CONTACT IN HEADER */
.contactHeader {
  position: absolute;
  bottom: 20px;
  left: 230px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contactHeader span {
  color: #FF9A00;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.contactHeader img {
  vertical-align: middle;
  filter: grayscale(100%) brightness(55%) sepia(100%) hue-rotate(1deg) saturate(1200%) contrast(1);
  -webkit-filter: grayscale(100%) brightness(55%) sepia(100%) hue-rotate(1deg) saturate(1200%) contrast(1);
}

.contactHeader a {
  color: #ffffff;
  text-decoration: none;
}

.contactHeader a:hover {
  color: #FF9E00;
}

/* BLACK BAR */
.baraNeagra {
  background-image: url(dalizon/img/bgAB/negru70.png);
  height: 20px;
  width: 960px;
  margin: auto;
}

/* CONTENT PAGES */
.continutPagina {
  width: 960px;
  margin: 0 auto;
  background-image: url(dalizon/img/umbraStanga.png), url(dalizon/img/umbraDreapta.png), url(dalizon/img/umbraSus.png), url(dalizon/img/bgAB/alb60.png);
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-position: left top, right top, top center, left top;
  min-height: 400px;
  padding: 20px;
  overflow: hidden;
}

.continutPaginaIndex {
  width: 960px;
  margin: 0 auto;
  background-image: url(dalizon/img/umbraStanga.png), url(dalizon/img/umbraDreapta.png), url(dalizon/img/umbraSus.png), url(dalizon/img/foto-cadastru0.png), url(dalizon/img/bgAB/alb60.png);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-position: left top, right top, top center, left bottom, left top;
  min-height: 500px;
  padding: 20px;
}

.continutPagina h2,
.continutPaginaIndex h2 {
  font-size: 20px;
  display: block;
  width: 100%;
  border-bottom: 1px solid #333333;
  text-transform: uppercase;
  padding-bottom: 10px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.continutPagina h2:first-child,
.continutPaginaIndex h2:first-child {
  margin-top: 0;
}

.continutPagina h3,
.continutPaginaIndex h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.continutPagina p,
.continutPaginaIndex p {
  margin-bottom: 10px;
}

.continutPagina ul,
.continutPaginaIndex ul {
  padding-left: 40px;
  margin: 5px 0;
}

.continutPagina ul li,
.continutPaginaIndex ul li {
  padding-bottom: 4px;
  line-height: 1.4;
}

.continutPagina ol,
.continutPaginaIndex ol {
  padding-left: 40px;
  margin: 10px 0;
}

.continutPagina ol li,
.continutPaginaIndex ol li {
  padding-bottom: 7px;
  line-height: 1.5;
}

.continutPagina img,
.continutPaginaIndex img {
  max-width: 920px;
  height: auto;
}

.continutPagina a:link,
.continutPagina a:visited {
  color: #004f99;
  text-decoration: none;
}

.continutPagina a:hover {
  color: #003b72;
  text-decoration: underline;
}

/* LEFT SIDEBAR MENU */
.meniuStanga {
  width: 260px;
  float: left;
  background-image: url(dalizon/img/bgAB/negru60.png);
  margin-left: -20px;
}

.titluMeniu {
  margin-top: 20px;
  margin-left: 10px;
  color: #ffae00;
  font-size: 16px;
  font-weight: bold;
  text-shadow: 1px 1px 3px #000000;
  width: 240px;
  border-bottom: 1px solid #a0a0a0;
  padding-bottom: 10px;
}

.titluMeniu a,
.titluMeniu a:link,
.titluMeniu a:visited,
.titluMeniu a:hover {
  color: #ffae00;
  text-decoration: none;
  cursor: default;
}

.leftMenu {
  color: #ffffff;
  font-size: 14px;
  font-family: Arial;
}

.leftMenu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.leftMenu ul li {
  padding-top: 10px;
  padding-left: 15px;
  padding-right: 10px;
  display: block;
  width: auto;
  border-bottom: 1px dotted #666666;
}

.leftMenu ul li:last-child {
  border-bottom: none;
}

.leftMenu ul li:hover {
  background-image: url(dalizon/img/bgAB/negru40.png);
}

.leftMenu ul li:hover a {
  color: #ffae00;
  text-shadow: 1px 1px 2px #000000;
}

.leftMenu a,
.leftMenu a:link,
.leftMenu a:visited {
  color: #ffffff;
  text-decoration: none;
}

.leftMenu ul li:hover a,
.leftMenu ul li:hover a:visited {
  color: #ffae00;
  text-shadow: 1px 1px 2px #000000;
}

.leftMenu li.active a,
.leftMenu li.active a:visited {
  color: #FF9E00;
  text-shadow: 1px 1px 1px #000000;
}

.continutPaginaDreapta {
  width: 650px;
  margin-left: 20px;
  float: left;
  padding-left: 10px;
}

/* FOOTER */
.baraNeagraJos {
  background-image: url(dalizon/img/bgMeniu.png);
  height: 50px;
  width: 100%;
  margin-top: 0;
}

.footerInner {
  width: 960px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 0 10px;
}

.copyright {
  font-family: Arial;
  font-size: 12px;
  color: #ffffff;
}

.designBY {
  font-family: Arial;
  font-size: 12px;
  color: #ffffff;
}

.designBY a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

.designBY a:hover {
  color: #FF9E00;
}

/* CONTACT FORM */
.contact-form-wrap {
  background-image: url(dalizon/img/bgAB/negru40.png);
  padding: 20px;
  margin-top: 20px;
  max-width: 500px;
}

.contact-form-wrap label {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
  color: #fff;
}

.contact-form-wrap input,
.contact-form-wrap textarea {
  border-color: #808080 #C0C0C0 #C0C0C0 #D4D4D4;
  border-style: solid;
  border-width: 1px;
  background-image: url(dalizon/img/bgAB/negru20.png);
  padding: 4px;
  line-height: 16px;
  font-size: 14px;
  width: 380px;
  color: #333333;
  font-family: Arial, sans-serif;
}

.contact-form-wrap textarea {
  height: 200px;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  outline: none;
}

.contact-form-wrap p {
  margin-top: 10px;
  margin-bottom: 0;
  color: #fff;
}

.buttons_form {
  background: #FF9A00;
  border: none;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 3px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  width: auto;
  margin-top: 10px;
  cursor: pointer;
  letter-spacing: 1px;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

.buttons_form:hover {
  background: #e08800;
  color: #ffffff;
}

/* FACEBOOK LINK */
.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1877f2;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  margin: 15px 0;
}

.facebook-link:hover {
  background: #1558b0;
  text-decoration: none;
  color: #fff;
}

.contact-form h2 {
  font-size: 20px;
  text-align: center;
  color: #fff;
  border-bottom: none;
}

.contact-form label {
  display: block;
  font-size: 14px;
  margin-left: 20px;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #fff;
}

.contact-form input,
.contact-form textarea {
  border-color: #808080 #C0C0C0 #C0C0C0 #D4D4D4;
  border-style: solid;
  border-width: 1px;
  background-image: url(dalizon/img/bgAB/negru20.png);
  padding: 4px;
  line-height: 16px;
  font-size: 14px;
  width: 380px;
  margin-left: 20px;
  color: #333333;
}

.contact-form textarea {
  height: 200px;
  font-family: Arial;
}

.contact-form button {
  background: #323434;
  border: none;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 15px;
  color: #ffffff;
  text-transform: uppercase;
  padding: 7px 13px 8px 13px;
  border-radius: 3px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  width: 100px;
  margin-left: 20px;
  margin-top: 15px;
  cursor: pointer;
}

.contact-form button:hover {
  color: #000;
  background: #666666;
}

/* INDEX PAGE LAYOUT */
.index-layout {
  display: flex;
}

.index-spacer {
  width: 400px;
  min-width: 400px;
  min-height: 500px;
  float: left;
}

.index-content {
  width: 520px;
  float: left;
  padding-left: 50px;
}

/* ETAPE PAGE */
.etape-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.etape-item img {
  width: 60px;
  height: auto;
}

/* UTILITIES */
.alignleft {
  display: block;
  float: left;
  margin-right: 20px;
}

.alignright {
  display: block;
  float: right;
  margin-left: 20px;
}

.aligncenter {
  display: block;
  margin: 20px auto;
}

/* ===================== RESPONSIVE ===================== */

/* Tablets and below */
@media (max-width: 980px) {
  header {
    width: 100%;
    height: auto;
    min-height: 300px;
    background-size: auto 250px;
    background-position: 20px bottom;
    padding: 10px 15px;
  }

  #logo {
    width: 300px;
    height: auto;
  }

  .headerMenu {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 10px;
  }

  .headerMenu ul {
    text-align: center;
  }

  .headerMenu ul li a {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .contactHeader {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 15px;
    font-size: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .baraNeagra {
    width: 100%;
  }

  .continutPagina,
  .continutPaginaIndex {
    width: 100%;
    max-width: 960px;
    padding: 15px;
    background-image: url(dalizon/img/bgAB/alb60.png);
    background-repeat: repeat;
    background-position: left top;
  }

  .continutPaginaIndex {
    background-image: url(dalizon/img/foto-cadastru0.png), url(dalizon/img/bgAB/alb60.png);
    background-repeat: no-repeat, repeat;
    background-position: left bottom, left top;
    background-size: 300px auto, auto;
  }

  .index-layout {
    flex-direction: column;
  }

  .index-spacer {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 0;
    display: none;
  }

  .index-content {
    width: 100%;
    padding-left: 0;
  }

  /* Sidebar stacks above content */
  .meniuStanga {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-bottom: 15px;
    padding: 15px 0;
  }

  .leftMenu ul li {
    width: auto;
  }

  .continutPaginaDreapta {
    width: 100%;
    float: none;
    margin-left: 0;
    padding-left: 0;
  }

  .footerInner {
    width: 100%;
    padding: 0 15px;
  }

  .continutPagina img,
  .continutPaginaIndex img {
    max-width: 100%;
  }

  .contact-form-wrap {
    max-width: 100%;
  }

  .contact-form-wrap input,
  .contact-form-wrap textarea {
    width: 100%;
  }

  iframe {
    max-width: 100%;
  }
}

/* Phones */
@media (max-width: 600px) {
  body {
    background-image: url(dalizon/img/bgHeader.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-color: #D0D0D0;
  }

  header {
    min-height: 250px;
    background-image: none;
    text-align: center;
    padding-top: 10px;
  }

  #logo {
    width: 250px;
    margin: 0 auto;
  }

  .headerMenu {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 60px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 0;
    border-radius: 4px;
  }

  .headerMenu ul li {
    display: block;
  }

  .headerMenu ul li a {
    height: auto;
    line-height: 1.4;
    padding: 8px 10px;
    font-size: 14px;
  }

  .contactHeader {
    font-size: 14px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
  }

  .contactHeader span {
    display: inline;
  }

  .contactHeader img {
    display: inline;
    vertical-align: middle;
    margin-right: 5px;
    margin-left: 0 !important;
  }

  .continutPagina,
  .continutPaginaIndex {
    padding: 10px;
    background-color: #f0f0f0;
    background-image: none;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  }

  .continutPaginaIndex {
    background-color: #f0f0f0;
    background-image: none;
  }

  .continutPagina h2,
  .continutPaginaIndex h2 {
    font-size: 16px;
  }

  .continutPagina h3,
  .continutPaginaIndex h3 {
    font-size: 15px;
  }

  .alignleft,
  .alignright {
    float: none;
    display: block;
    margin: 10px auto;
    max-width: 100%;
  }

  .continutPagina ul,
  .continutPaginaIndex ul,
  .continutPagina ol,
  .continutPaginaIndex ol {
    padding-left: 25px;
  }

  .titluMeniu {
    width: auto;
    margin-left: 15px;
  }

  .footerInner {
    flex-direction: column;
    height: auto;
    padding: 10px 15px;
    gap: 5px;
    text-align: center;
  }

  .baraNeagraJos {
    height: auto;
  }

  .baraNeagra {
    display: none;
  }

  .fb-page {
    max-width: 100%;
    overflow: hidden;
  }
}

/* COLLAPSIBLE SIDEBAR MENU (mobile) */
.menu-toggle-btn {
  display: none;
}

@media (max-width: 980px) {
  .menu-toggle-btn {
    display: block;
    width: 100%;
    background: #444;
    color: #ffae00;
    border: none;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
    font-family: Arial, sans-serif;
    margin-bottom: 5px;
  }

  .menu-toggle-btn:hover {
    background: #555;
  }

  .meniuStanga.menu-collapsed {
    display: none;
  }
}
