/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */
@import url("https://use.typekit.net/bxr2wbj.css");

 body {
   font-family: rustica, sans-serif;
   font-weight: 400;
   color:#2D2F79;
   font-size: 15px;
 }

 h1,
 .h1 {
 	font-family: rustica, sans-serif;
 	font-size: 18px;
 	font-weight: 700;
   color: #8F95CA;
   line-height: 1em;
   letter-spacing: 0.05em;
 }

a {
 transition: all 0.5s;
}

 .tm-headerbar .tm-logo {
   float: none;
 }

 .tm-logo img {
   width: 250px;
 }

 .uk-panel-box {
   padding: 0px;
   background: transparent;
   color:#2D2F79;
}

.intro {
  width: 100%;
  padding: 20px;
  text-align: center;
}

.slider {
  background: url(../images/header.jpg);
  background-size: cover;
  background-position: top;
  height: 60vh;
}

#numero {
  position: fixed;
  top: 10px;
  right: 10px;
  background: #F0F1F8;
  padding: 20px;
  font-size: 30px;
  font-weight: 700;
  box-shadow: 10px -10px;
 transition: all 0.5s;
}

#numero a {
  color: #8F95CA;
}

#numero a:hover {
 text-decoration: none;
 color: #2D2F79;
}

#numero p {
  margin-bottom: 0px;
}

.page-header {
  display: none;
}

#numero:hover {
 top: 0px;
 right: 0px;
}

.box-testo {
  text-align: center;
  padding: 40px;
}

.box-immagine {
  height: 60vh;
  background-size: cover!important;
  background-position: center!important;
}

.autofficina-osimo {
  background: url(../images/autoservice-03.jpg);
}

.chi-siamo {
  background: url(../images/autoservice-02.jpg);
}

.tm-middle {
  margin-top: 0px!important;
}

.tm-leading-article .uk-article:last-child {
  padding-bottom: 0px;
  border-bottom: none;
}

.box-social {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  background: #E8E9F4;
  padding: 40px;
  border-radius: 40px;
    margin-top:40px;
}

.box-social h1 {
  color:#2D2F79;
}

.box-social a {
  display: block;
  font-weight: 600;
  color:#2D2F79;
}

.box-social i {
  color: #fff;
  font-size: 30px;
  display: inline-block;
  vertical-align: middle;
}

.box-testo.mappa a,
.tm-footer a {
  text-decoration: underline;
  color:#FCD49C;
  font-weight: 700;
  background: #8f95ca;
  padding: 0px 5px;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.box-testo.mappa a:hover,
.tm-footer a:hover {
  color: #fff;
  text-decoration: none;
}

.dove {
  width: 50%;
  text-align: right;
}

.dove .via {
  padding: 10px 20px;
  background: #8F95CA;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.dove .via i {
  margin-right: 5px;
}

.dove a {
  color:#8f95ca;
}

.jb-cookie {
  padding:5px 0;
}

.jb-cookie h2 {
 font-size:  14px;
 margin: 0px;
 display: inline-block;
}

.jb-cookie p {
 display: inline-block;
 margin: 0px;
}

.jb-accept {
 background: #8f95ca;
 background-image:none!important;
 border: none!important;
 text-transform: uppercase;
 font-weight: 500;
 letter-spacing: 0.05em;
 display: inline-block;
 vertical-align: middle;
 margin-left: 10px;
 transition: all 0.5s;
}

.jb-accept:hover {
 filter: sepia(1);
 box-shadow: none;
}

#jbcookies {
  color: inherit;
}

#jbcookies .uk-modal-header h2{
  color:#8F95CA!important;
  font-weight: 700!important;
}

#jbcookies .uk-button {
 background:#8f95ca;
 text-transform: uppercase;
 color: #fff;
 border-radius: 4px;
 letter-spacing: 0.05em;
 transition: all 0.5s;
}

#jbcookies .uk-button:hover {
  filter: sepia(1);
}

.credits {
	background: rgba(120, 157, 211, 0.5);
	color: #fff;
	font-weight: 500;
	font-size:14px;
}

.credits a {
	color: #263F51;
}

.tm-footer {
  margin-bottom: 0px;
}

@media(max-width:480px) {

  body {
    margin-bottom: 80px;
    line-height: 1.6em;
  }
  #numero {
    top: initial;
    bottom: 0;
    right: 0px;
    padding: 10px 10px 20px;
    font-size: 24px;
    box-shadow: none;
    left: 0;
    width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    letter-spacing: 0.08em;
    background: #2D2F79;
    border-radius:20px 20px 0px 0px;
  }

  #numero a {
    color:#E8E9F4;
  }

  .box-testo {
    padding:40px 20px;
  }

  .box-social {
    width: auto;
  }

  .dove {
    margin:0px 20px 20px;
    width: auto;
    text-align: center;
  }

  .uk-article .box-testo {
    padding-bottom: 0px;
  }

  .box-testo.mappa a, .tm-footer a {
    padding: 0px 6px;
  }

  .jb-cookie.bottom {
    bottom: 40%!important;
    left: 20px!important;
    right: 20px!important;
    width: auto!important;
  }

  .credits {
    margin-top: 20px;
  }

  .credits a {
    display: block;
  }
}
