@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,600,800&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Kaushan+Script');
@import url('https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic');
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700');


.clear { clear:both; }

body {
  overflow-x: hidden;
  font-family: 'Roboto Slab';
}

p {
  line-height: 1.75;
}

a {
  color: #fed136;
}

a:hover {
  color: #fec503;
}

.text-primary {
  color: #fed136 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: 'Montserrat';
}

section {
  padding: 100px 0;
}

section h2.section-heading {
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 15px;
}

section h3.section-subheading {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 75px;
  text-transform: none;
  font-family: 'Droid Serif';
}

.btn {
  font-family: 'Montserrat';
  font-weight: 700;
}

.btn-xl {
  font-size: 18px;
  padding: 20px 40px;
}

.btn-primary {
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #5a6268 !important;
  border-color: #5a6268 !important;
  color: white;
}

.btn-primary:active, .btn-primary:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}


#mainNav {
  background-color: #212529;
}

#mainNav .navbar-toggler {
  border: 0;
}

#mainNav .navbar-brand {
  color: #fed136;
  font-family: 'Kaushan Script';
}

#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #fec503;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 90%;
  font-weight: 600;
  padding: 0.75em 0;
  letter-spacing: 1px;
  color: white;
  font-family: 'Montserrat';
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  /* color: #fed136; */
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 25px;
    padding-bottom: 25px;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    font-size: 1.75em;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 0.5em 1em !important;
  }
  #mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #212529;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.15em;
    padding: 12px 0;
  }
}

header.masthead {
  text-align: center;
  max-width:916px;margin:0 auto;
  color: white;
  background-image: url("../img/header-bg-compressed.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
  min-height: 500px;
}

header.masthead .intro-text {
  padding-top: 50px;
}

header.masthead .intro-text .intro-lead-in {
  font-size: 22px;
  line-height: 22px;
  margin-bottom: 25px;
  font-family: 'Montserrat';
  font-weight:600;
}

header.masthead .intro-text .intro-heading {
  font-size: 45px;
  font-weight: 700;
  line-height: 45px;
  margin-bottom: 25px;
  font-family: 'Montserrat';
}

@media (min-width: 768px) {
  header.masthead .intro-text {
    padding-top: 50px;
  }
  header.masthead .intro-text .intro-lead-in {
    font-size: 22px;
    line-height: 22px;
    margin-bottom: 25px;
    font-family: 'Montserrat';
    font-weight:600;
  }
  header.masthead .intro-text .intro-heading {
    font-size: 45px;
    font-weight: 700;
    line-height: 45px;
    margin-bottom: 25px;
    font-family: 'Montserrat';
  }
}

.service-heading {
  margin: 15px 0;
  text-transform: none;
}



footer#principal {
  padding: 25px 0;
  text-align: center;
  background:#f7f7f7;
}

footer#principal span.copyright {
  font-size: 90%;
  line-height: 40px;
  text-transform: none;
  font-family: 'Montserrat';
}

footer#principal ul.quicklinks {
  font-size: 90%;
  line-height: 40px;
  margin-bottom: 0;
  text-transform: none;
  font-weight:600;
  font-family: 'Montserrat','sans-serif';
}

ul.social-buttons {
  margin-bottom: 0;
}

ul.social-buttons li a {
  font-size: 20px;
  line-height: 50px;
  display: block;
  width: 50px;
  height: 50px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  color: white;
  border-radius: 100%;
  outline: none;
  background-color: #212529;
}

ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
  background-color: #fed136;
}


.popover-body a {
  color:#333;
  text-decoration:underline;
}

.useful_area {
  background:white;
  border-radius:10px;
  padding:50px;
  color:black;
  margin-bottom:50px;
}

#btn_back {
  position: relative;
  margin-top: -30px;
  margin-bottom: 10px;
}

.head-titlu {
  background:#fed136;
  color:white;
  margin-top: -50px;
  margin-left: -50px;
  margin-right: -50px;
  margin-bottom:50px;
  padding:20px 50px;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.head-titlu p {
  margin-bottom:0px;
  font-size:18px;
}

.head-titlu p.mare {
  font-size: 28px;
  line-height:1.4;
  font-family: 'Montserrat';
  font-weight: 600;
}

div.div_continua {
  padding:20px;
}

/* responsive */

@media only screen and (max-width: 600px) {
  #intro .form-group { margin-bottom:0px; }

  header.masthead .intro-text .intro-heading {
    font-size:36px;
    line-height:36px;
  }

  .dinamic h1 { font-size:2rem; }
  .dinamic a.btn-primary { margin-bottom:15px; }

  .head-titlu { padding:20px; margin-top: -20px; margin-left: -20px; margin-right: -20px; margin-bottom:50px;  }
  .head-titlu p { font-size:16px; }
  .head-titlu p.mare { font-size:20px; }

  .useful_area { padding:20px; }

  #btn_back { text-align:center !important; margin-bottom:30px; }
}
