/*
font-family: 'Slabo 27px', serif;
font-family: 'PT Sans', sans-serif;
font-family: 'Roboto', sans-serif;
*/

/* SETTING GLOBALI
====================================================== */
html,
body {
  height: 100%;
  font-size: 16px !important;
}

body {
  color: #000;
  font-family: "PT Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  font-weight: lighter;
}

h1 {
  font-size: 3rem;
  margin: 0 0 1rem;
  padding-top: 2rem;
}

h2 {
  font-size: 2rem; /* 32px */
  margin: 0 0 2.5rem;
}

h3 {
  font-size: 1.5rem; /* 24px */
  margin: 0.75rem 0;
}

h3.orange-box {
  background: #d43f3a;
  padding: 2.25rem 2rem;
  color: #fff;
  font-size: 24px;
  text-align: center;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

#post-content h3.orange-box a:not(.btn) {
  display: inline-block;
  border: 1px solid #fff;
  color: #fff !important;
  padding: 16px;
  margin: 1rem 0;
  text-decoration: none;
}

#post-content h3.orange-box a:not(.btn):hover {
  color: #d43f3a !important;
  background: #fff;
  padding: 16px;
  margin-top: 1rem;
}

h4 {
  font-size: 1.25rem; /* 20px */
}

p {
  margin: 0 0 0.875rem;
}

p.lead {
  font-weight: normal;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
.btn,
a.btn {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
}

.btn {
  font-weight: bold;
}

button.btn:focus {
  outline: none !important;
}

.btn-default-outline {
  color: #fff !important;
  background: transparent !important;
  border-color: #fff !important;
}

.btn-default-outline:hover {
  color: #333 !important;
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: #fff !important;
}

.btn-black-outline {
  color: #222 !important;
  background: #fff !important;
  border-color: #222 !important;
}

.btn-black-outline:hover {
  color: #fff !important;
  background: rgba(34, 34, 34, 0.75) !important;
  border-color: #222 !important;
}

.btn-danger-outline {
  color: #d43f3a;
  background-color: transparent;
  border-color: #d43f3a;
}

.btn-danger-outline:hover {
  background-color: #d9534f;
  color: #fff;
}

#post-content a:not(.btn),
#post-content a:not(.btn):visited,
#page-content a:not(.btn),
#page-content a:not(.btn):visited,
#contatti a:not(.btn),
#contatti a:not(.btn):visited {
  color: #d9534f !important;
}

.alignleft {
  float: left !important;
  margin: 0 0.625rem 0.5rem 0;
}

.alignright {
  float: right !important;
  margin: 0 0 0.5rem 0.625rem;
}

.aligncenter {
  margin: 0 auto;
  display: block;
}

.md-move-right {
  float: right;
}

td,
tr {
  padding: 2px 6px;
  background: #e6e0e0;
  border: 1px solid #fff;
}

/* MENU DI NAVIGAZIONE
====================================================== */

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  background-color: #d9534f;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: #d9534f;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  color: #fff;
}

#secondary-menu {
  min-height: 2rem;
  padding: 0.75rem 0;
  font-size: 0.92rem;
}

#secondary-menu #mail a:link,
#secondary-menu #mail a:visited {
  color: inherit !important;
  text-decoration: none;
}

#mail,
#phone,
#address {
  padding-top: 0.5rem;
}

.navbar {
  margin: 0;
}

.navbar-brand {
  height: 80px !important;
}

.navbar-default .navbar-collapse {
  margin-top: 15px;
  font-size: 0.9375em;
}

.badge.social {
  font-size: 14px;
  height: 30px;
  width: 30px;
  line-height: 32px;
  text-align: center;
  margin: 0 5px 0 0;
  padding: 0;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  color: #fff !important;
}

.badge.social:hover {
  background: #ddd;
  color: #000;
}

.badge.facebook {
  background-color: #3b5998 !important;
}

.badge.twitter {
  background-color: #4099ff !important;
}

.badge.youtube {
  background-color: #cc181e !important;
}

.badge.linkedin {
  background-color: #00a0dc !important;
}

.badge.wa {
  font-size: 50px;
  height: 110px;
  width: 110px;
  line-height: 112px;
  text-align: center;
  margin: 0 5px 0 0;
  padding: 0;
  -webkit-border-radius: 110px;
  -moz-border-radius: 110px;
  border-radius: 110px;
  color: #333 !important;
  background-color: transparent !important;
  border: 2px solid #333;
}

.badge.wa-large {
  font-size: 70px;
  height: 150px;
  width: 150px;
  line-height: 152px;
  text-align: center;
  margin: 0 5px 0 0;
  padding: 0;
  -webkit-border-radius: 150px;
  -moz-border-radius: 150px;
  border-radius: 150px;
  color: #fff !important;
  background-color: #222 !important;
}

.badge.wa.mobile {
  font-size: 80px;
}

.nav > li > a {
  padding: 10px 12px !important;
}

/* CAROUSEL
====================================================== */
#myCarousel {
  position: relative;
  background-color: #98bf0d;
}

.carousel {
  height: 505px;
}

.carousel .item {
  height: 500px;
}
.carousel-caption {
  right: auto;
  bottom: 4%;
  left: 5%;
  padding: 20px;
  z-index: 10;
  text-align: left;
  max-width: 55%;
}

.carousel-caption h2,
.carousel-caption p {
  background-color: rgba(153, 190, 14, 0.75);
  text-shadow: none;
  text-transform: uppercase;
  padding: 8px 14px;
}

.carousel-caption h2 {
  margin-bottom: 2px;
  display: inline-block;
}

.carousel-caption p {
  margin-bottom: 0;
}

.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  max-height: 100%;
}

.carousel-control {
  width: 10%;
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
  font-size: 50px !important;
}

/* FORMS
====================================================== */
label {
  display: block;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* CONTENUTI
====================================================== */

img.ico-small {
  max-width: 80px;
  margin-bottom: 1rem;
}

section {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#hero {
  background-repeat: no-repeat;
  background-position: center;
  min-height: 500px;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  -webkit-align-items: center;
}

#hero #brand {
  text-align: center;
}

#hero .payoff {
  color: #fff;
  margin-bottom: 3rem;
}

#hero .hero_title {
  color: #fff;
  margin-bottom: 3rem;
  margin-top: 3rem;
  font-size: 3rem;
  text-shadow: 2px 2px 2px rgba(100, 100, 100, 1);
}

.settore {
  padding: 1.5rem;
}

#gpcomunicazione,
#webagency,
#pubblicita,
#app,
#fotografia {
  text-align: center;
}

#gpcomunicazione h3 {
  margin-bottom: 1.5rem;
}

#pubblicita,
#app,
#fotografia {
  padding-bottom: 1.5rem;
}

#libri {
  background-color: #941d15;
}

#libri-text {
  padding: 1.5rem 1rem;
  color: #fff;
}

.grid div {
  padding: 0 !important;
}

.grid div.text-box {
  padding: 2.5rem !important;
  text-align: justify;
}

#portfolio {
  background: url("../img/texture.jpg") 0 0;
  background-size: cover;
  border-top: 0.5rem solid #999;
  padding: 3rem 2rem;
}

#portfolio .proj {
  margin-bottom: 1rem;
  min-height: 490px;
}

#portfolio .proj img {
  -moz-border-radius: 0.5rem 0.5rem 0 0;
  -webkit-border-radius: 0.5rem 0.5rem 0 0;
  border-radius: 0.5rem 0.5rem 0 0;
}

#portfolio .proj_details {
  background-color: #eee;
  border-top: 0.25rem solid #ccc;
  border-bottom: 0.0625rem solid #ccc;
  padding: 1rem;
  margin-top: 0.5rem;
  min-height: 200px;
}

#portfolio .proj_name {
  display: block;
  color: inherit;
  font-size: 1.4rem;
  font-weight: bold;
}

#portfolio .proj_desc {
  color: #333;
}

#portfolio-web .portfolio-img {
  float: left;
  margin: 0 1rem 0.5rem 0;
  max-width: 25rem;
}

#portfolio-web #portfolio-intro {
  text-align: justify;
  padding-right: 1rem;
}

#portfolio-web .portfolio-label {
  font-weight: bold;
  padding-right: 0.5rem;
  text-align: right;
}

#portfolio-web .spec {
  border-bottom: 0.0625em solid #ddd;
  font-size: 0.875rem;
}

#portfolio-web .spec:nth-child(even) {
  background-color: #eee;
}

#portfolio .evento {
  min-height: 710px;
  margin-bottom: 12px;
}

#portfolio .evento_details {
  background-color: #eee;
  border-top: 0.25rem solid #ccc;
  border-bottom: 0.0625rem solid #ccc;
  padding: 1rem;
  margin-top: 0.5rem;
  min-height: 320px;
}

#portfolio .evento_name {
  display: block;
  color: inherit;
  font-size: 1.4rem;
  font-weight: bold;
}

#portfolio .evento_desc {
  color: #333;
}

.img-frame {
  border: 1px solid #aaa;
  padding: 8px;
  -webkit-box-shadow: 3px 3px 4px 0px rgba(50, 50, 50, 0.75);
  -moz-box-shadow: 3px 3px 4px 0px rgba(50, 50, 50, 0.75);
  box-shadow: 3px 3px 4px 0px rgba(50, 50, 50, 0.75);
  margin-bottom: 0.5rem;
}

#portfolio-details {
  margin: 6px 0;
  background: rgba(200, 200, 200, 0.5);
  padding: 16px;
  border-top: 3px solid rgb(200, 200, 200);
  border-bottom: 1px solid rgb(200, 200, 200);
}

#portfolio-details span.details-label {
  font-weight: bold;
  display: inline-block;
  width: 200px;
  text-align: right;
  font-variant: small-caps;
  padding: 0 10px 0 0;
}

#portfolio-details span.details-label::after {
  content: "  \007C  ";
  color: rgb(200, 200, 200);
}

span.evt-cat {
  display: block;
  position: absolute;
  top: 0px;
  right: 15px;
  background: #d9534f;
  color: #fff;
  font-weight: bold;
  padding: 4px 10px;
}

aside {
  border-left: 0.0625rem solid #ddd;
  padding-left: 1rem;
}

#contatti {
  background: #222;
  color: #fff;
  padding: 3rem 2rem;
}

#dovesiamo {
  background: url("../img/texture.jpg") 0 0;
  background-size: cover;
  padding-top: 1.5rem;
}

#page-content,
#post-content,
#intro {
  padding: 2rem 0;
}

.art .well {
  margin-left: 1rem;
  z-index: 999;
}

figcaption {
  font-style: italic;
  text-align: center;
}

.box-foto-art {
  margin-bottom: 10px;
  border-bottom: 4px solid rgba(75, 75, 75, 0.15);
  padding-bottom: 6px;
  min-height: 170px;
}

.box-foto-art a {
  color: #000 !important;
}

.box-foto-art a:hover {
  background-color: rgba(100, 100, 100, 0.15);
}

.mostra_reminder {
  padding-bottom: 0.35rem;
  border-bottom: 0.0625rem solid #ddd;
  margin-bottom: 0.35rem;
}

.mostra_reminder h5 {
  margin-top: 1.6rem;
  color: #222 !important;
  font-weight: bold;
}

/* COMMENTS 
========================= */
h3.comments-title {
  margin-top: 48px;
}
ol.comment-list {
  margin: 0;
  padding: 0;
}

ol.comment-list > li {
  margin-bottom: 20px;
  box-shadow: 3px 3px 10px 2px #c2c2c2;
  padding: 10px;
}

ol.comment-list li {
  list-style: none;
}

ol.comment-list ol.children > li {
  margin-top: 16px;
  margin-bottom: 16px;
}

div#comments.comments-area label {
  display: inline-block !important;
}

div#comments div.row {
  margin-bottom: 8px;
}

#post-content a.comment-reply-link {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  font-weight: bold;
  font-size: 14px;
  color: #fff !important;
  background-color: #d9534f;
  border-color: #d43f3a;
  background-image: none;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0;
  padding: 4px 8px;
  text-align: center;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* GPC EMBEDS
 *==================== */
.gpc-embed {
  padding: 1.25rem;
  margin: 1rem 0;
  background: #f0f0f0;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
  max-width: 600px;
}

#post-content .gpc-embed-heading > a {
  color: #222 !important;
  font-size: 1.25rem;
  font-weight: 600;
}

.gpc-embed-featured-image {
  max-width: 150px;
  width: 100%;
  float: left;
  margin-right: 20px;
}

.gpc-embed-footer {
  clear: both;
  margin-top: 0.5rem;
  text-align: right;
  color: #acacac;
  font-weight: bold;
}

/* MEDIA QUERIES
====================================================== */

@media screen and (max-width: 1199px) {
  .settore {
    min-height: 370px;
  }

  .art .proj_details {
    min-height: 225px;
  }
}

@media screen and (max-width: 991px) {
  .navbar-brand {
    display: none;
  }

  h1 {
    font-size: 2.5rem;
  }

  .md-move-right {
    float: none;
  }

  .settore {
    min-height: 420px;
  }

  .art .proj_details {
    min-height: 300px;
  }

  #portfolio .proj_details {
    min-height: 290px;
  }
}

@media screen and (max-width: 768px) {
  #mail,
  #phone,
  #address {
    margin-left: 0.5rem;
  }

  h1 {
    font-size: 2.2rem;
    margin: 0 0 1rem;
    padding-top: 1.8rem;
  }

  .art .proj_details {
    min-height: 170px;
  }
}

@media screen and (max-width: 480px) {
}
