/*
Theme Name: DMS
Author: Angelo Ferrara
*/

/* === DMS

1. FONT
2. CSS RESET
3. MARGIN PADDING
4. GENERAL TEXT
5. NAVIGATION
6. HOME PAGE
7. PAGE
8. FOOTER
9. FORMS
10. COOKIE
11. MEDIA QUERIES

=== */

/* =================================================================================================== 1 - FONT === */
@import url("https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i");

/* =================================================================================================== 2 - CSS RESET === */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  background-color: #ffffff;
  color: #6a6a6a;
}
body {
  padding-top: 100px;
}
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a,
button,
.btn {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
a,
a:hover,
a:active,
a:focus {
  outline: 0;
  text-decoration: none;
  color: #1d1d1d;
}
input::-moz-focus-inner {
  border: 0;
}
.checkbox {
  display: inline-block;
}

/* =================================================================================================== 3 - MARGIN PADDING === */
.m-t-30 {
  margin-top: 30px;
}
.m-b-30 {
  margin-bottom: 30px;
}

/* =================================================================================================== 4 - GENERAL TEXT === */
h1 {
  font-size: 28px;
  line-height: 26px;
  color: #05274c;
}
h1.dms-page-title {
  border-left: 4px solid #a5182c;
  padding: 8px 6px;
  margin: 0 0 20px -11px;
}
h1.dms-article-title {
  font-size: 22px;
  border-left: 4px solid #a5182c;
  padding: 8px 6px;
  margin: 0 0 20px -11px;
}
h2 {
  font-size: 18px;
  line-height: 24px;
}
h2.dms-article-title {
  color: #6a6a6a;
  border-bottom: 4px solid #05274c;
  padding: 8px 0px;
  margin: 0 0 12px -11px;
}
h3 {
  font-size: 16px;
  line-height: 22px;
}
small {
  font-size: 80% !important;
}

.bg-red {
  background-color: #a5182c;
  color: #ffffff;
}
.bg-yellow {
  background-color: #f1ea10;
}
.bg-blue {
  background-color: #05274c;
}
.color-white {
  color: #ffffff !important;
}
.color-grey {
  color: #ffffff !important;
}
.color-red {
  color: #a5182c !important;
}
table td {
  color: #6a6a6a;
}
.bdr-l-r {
  border-left: 6px solid #a5182c;
}
.bdr-r-r {
  border-right: 6px solid #a5182c;
}

.btn-default {
  background-color: #1d1d1d;
  border: 1px solid #1d1d1d;
  border-radius: 0;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  padding: 8px 28px;
  margin: 10px 0;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
  background-color: #ffffff;
  color: #1d1d1d;
  border: 1px solid #1d1d1d;
  box-shadow: none;
  text-shadow: none;
}
.btn-red {
  background-color: #a5182c;
  color: #ffffff;
  border: 1px solid #a5182c !important;
}
.btn-red:hover,
.btn-red:focus,
.btn-red:active {
  background-color: #ffffff;
  color: #a5182c;
  border: 1px solid #a5182c !important;
}
.btn-cta {
  font-size: 110%;
}

/* =================================================================================================== 5 - NAVIGATION === */
.main-navbar {
  padding-bottom: 20px;
}
a.navbar-brand {
  margin: 0;
  padding: 0;
}
a.navbar-brand img {
  width: 150px;
  margin: 0;
  padding: 8px;
  float: left;
}
a.navbar-brand span {
  float: left;
  color: #8a8a8a;
  font-size: 14px;
  font-weight: 300;
  margin: 0;
  padding: 34px 0 0px 5px;
}
a.navbar-brand span strong {
  font-weight: 500;
}
ul.navbar-nav {
  margin: 0;
}
ul.navbar-nav li {
  margin: 5px 0;
}
ul.navbar-nav li a {
  background-color: transparent;
  font-size: 14px;
  color: #8a8a8a;
  padding: 10px 10px;
  margin: 15px 0;
}
ul.navbar-nav li a:hover,
ul.navbar-nav li a:focus,
ul.navbar-nav li a.active {
  color: #1d1d1d;
  border-bottom: 4px solid rgba(0, 0, 0, 0.1);
}
.navbar-toggler {
  border: none;
}
/* =================================================================================================== 6 - HOME PAGE === */
#dms-hp-cta {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  display: block;
}
#home-page-carousel .item {
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding: 90px 0;
}
#hpc-1 {
  background: linear-gradient(
      -28deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.8) 100%
    ),
    url("resources/images/dms-bg-3a.jpg");
  background-position: center right;
}
#hpc-2 {
  background: linear-gradient(
      -28deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.8) 100%
    ),
    url("resources/images/dms-bg-2a.jpg");
  background-position: center center;
}
#hpc-3 {
  background: linear-gradient(
      -28deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.8) 100%
    ),
    url("resources/images/dms-bg-1a.jpg");
  background-position: center center;
}
#home-page-carousel .item .box {
  text-align: center;
}
#home-page-carousel .item .box h2 {
  font-size: 18px;
  font-weight: bolder;
  padding: 10px 20px;
  color: #ffffff;
  text-shadow: 0px 0px 3px #000;
}
#home-page-carousel .item .box p {
  padding: 0 20px;
  color: #ffffff;
  text-shadow: 0px 0px 3px #000;
  font-size: 100%;
}

#chi-siamo {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  display: block;
}

#chi-siamo-carousel .item {
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding: 220px 0;
}
#chi-siamo-carousel .item .box {
  text-align: center;
}

#csc-1 {
  background: url("resources/images/dms-bg-6c.jpg");
  background-position: center center;
}

#csc-2 {
  background: url("resources/images/dms-bg-5c.jpg");
  background-position: center center;
}

#csc-3 {
  background: url("resources/images/dms-bg-4c.jpg");
  background-position: center center;
}

.owl-dots {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
}

.owl-dot {
  border-radius: 50px;
  height: 10px;
  width: 10px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.5);
  margin-left: 5px;
  margin-right: 5px;
}

.owl-dot.active {
  background: #a5182c;
}

#important-notice {
  background-color: #a5182c;
  color: #ffffff;
  margin: 0;
  padding: 40px 20px;
  display: block;
  text-align: center;
}

#important-notice h2,
#important-notice h3 {
  margin: 10px;
  padding: 0;
}

/* =================================================================================================== 8 - FOOTER === */
#contatti-footer {
  display: block;
  padding: 40px 0;
}
footer {
  background-color: #6f6f6f;
  text-align: center;
  padding: 15px 0;
  margin: 0;
}
footer p {
  margin: 0;
  padding: 0;
  color: #fdfdfd;
  font-size: 12px;
}

/* =================================================================================================== 9 - FORMS === */
.form-group {
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 5px;
}
.form-group label {
  color: #8a8a8a;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 1px;
}
.form-group input {
  border-radius: 0;
  font-weight: bold;
  border-color: #1d1d1d;
  border-width: 0 0 1px 0;
  box-shadow: none;
  margin-bottom: 20px;
}
.form-group textarea {
  border-radius: 0;
  font-weight: bold;
  border-color: #1d1d1d;
  border-width: 1px;
}
.form-group label i.fa-asterisk {
  color: #dd1100;
  font-size: 9px;
}
.form-group .bootstrap-select {
  width: 100%;
  text-shadow: none;
}
.form-group .bootstrap-select button,
.form-group .bootstrap-select button.bs-placeholder {
  font-size: 14px;
  padding: 6px 12px;
  margin: 0;
  background-color: #ffffff;
  color: #1d1d1d;
  border: 1px solid #1d1d1d;
}
.form-group .bootstrap-select button.bs-placeholder:hover,
.form-group .bootstrap-select button.bs-placeholder:focus,
.form-group .bootstrap-select button.bs-placeholder:active,
.form-group .bootstrap-select.open button.bs-placeholder {
  background-color: #1d1d1d;
  color: #ffffff;
  box-shadow: none;
}
.form-group .bootstrap-select button:hover,
.form-group .bootstrap-select button:focus,
.form-group .bootstrap-select button:active,
.form-group .bootstrap-select.open button {
  background-color: #1d1d1d;
  color: #ffffff;
  box-shadow: none;
}
.form-group .bootstrap-select button span.bs-caret {
  padding: 5px;
  margin: 0;
}
.form-group input[type="file"] {
  font-size: 12px;
}
.checkbox label {
  padding-left: 7px;
  color: #7a7a7a;
  font-size: 13px;
  line-height: 16px;
}
.checkbox label input {
  margin-left: -15px;
}
.checkbox input[type="checkbox"] {
  position: relative;
}

#wpcf7-f443-o1 .form-group label {
  color: #ffffff;
}

div.wpcf7-response-output {
  margin: 0;
  padding: 10px 20px;
  font-size: 15px;
  color: #dd1100;
  font-weight: bold;
}
span.wpcf7-not-valid-tip {
  font-size: 14px;
  font-weight: bold;
}
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
  border: none !important;
  background-color: #dd1100;
}
div.wpcf7-mail-sent-ok {
  border: none !important;
  background-color: #398f14;
}

/* =================================================================================================== 10 - COOKIES === */
#cookie-notice {
  font-size: 15px;
  line-height: 30px;
}

/* =================================================================================================== 11 - MEDIA QUERIES === */

/* =========== SM =========== */
@media (min-width: 768px) {
  .main-navbar {
    padding-bottom: 0;
  }
  ul.navbar-nav li:first-child a {
    border-left: none;
  }

  .form-group {
    padding-left: 0;
    padding-right: 5px;
  }

  #home-page-carousel .item {
    padding: 160px 0;
  }
  #home-page-carousel .item .box h2 {
    font-size: 22px;
  }
  #home-page-carousel .item .box p {
    font-size: 125%;
  }

  #agenzie-partner {
    padding: 40px;
  }
  #agenzie-partner h2 {
    font-size: 48px;
    margin: 40px 0 80px;
  }

  #top-bar a,
  #top-bar p {
    padding: 6px 10px 0;
  }
}

/* =========== MD =========== */
@media (min-width: 992px) {
}

/* =========== LG =========== */
@media (min-width: 1200px) {
}
