/*
 * Web Design: Roberto Vincenzi
 *
 * Agency: Getline Srl <info@getline.it> www.getline.it
 *
 * Copyright 2016 Arosio Autotrasporti.
 *
 */

@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,200,200italic,300,300italic,400italic,600,600italic,700,700italic,900,900italic);

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: #434A54;
}

.text-link {
    font-size: 16px;
    font-weight: 400;
}

.page-header h2 {
    font-size: 42px;
    color: #444;
    font-weight: 500;
}

.margin-bottom20 {
    margin-bottom: 20px;
}

@media (max-width: 767px) {
  .btn-top {
    display: none;
  }
}

/* Preloader */

#preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#fff; /* change if the mask should have another color then white */
    z-index:1100; /* makes sure it stays on top */
}

#status {
    width:200px;
    height:200px;
    position:absolute;
    left:50%; /* centers the loading animation horizontally one the screen */
    top:50%; /* centers the loading animation vertically one the screen */
    background-image:url('../img/status.gif'); /* path to your loading animation */
    background-repeat:no-repeat;
    background-position:center;
    margin:-100px 0 0 -100px; /* is width and height divided by two */
}

/* SINGLE PAGE */

.page-jumbo {
    padding-top: 20px;
    padding-bottom: 20px;
    background: linear-gradient(to right, #f5f5f5 0%, #eeeeee 100%);
}

.page-caption {
    position: relative;
    color: #656D78;
}

h2.jumbo-title {
}

h5.service-text {
    line-height: 1.2em;
}

.bread-wrapper {
    background-color: #fff;
    box-shadow: 0 1px 2px #e6e6e6;
    border-top: 1px solid #e6e6e6;
}

.breadcrumb {
    color: #264348;
    background-color: #fff;
    padding: 12px 0px;
    margin-bottom: 0px;
}

.breadcrumb a {
    color: #CE0040;
}

.breadcrumb > .active {
    color: #434a54;
}

.page-text {
    font-size: 16px;
}

blockquote.header-blockquote {
    font-size: 22px;
}

blockquote.header-blockquote-details {
    font-size: 22px;
    margin-top: 50px;
}

h3.thumb-title a {
    color: #434A54;
}

h3.thumb-title a:hover {
    color: #CE0040;
}

.img-hover:hover {
    opacity: 0.9;
}

/* =============== TOP HEADER ===============  */


.top-header {
    background-color: #fff;
}

.top-header-right {
    float: right;
    padding: 0;
    list-style: none;
    margin-top: 10px;
}

@media (max-width: 992px) {
  .top-header-right {
    float: left;
  }
}

ul.top-header-right li {
    position: relative;
    float: left;
    padding-left: 20px;
}


@media (max-width: 992px) {
  ul.top-header-right li {
    padding-left: 10px;
  }
}

.border {
    border-left: 1px solid #ddd;
    margin-left: 20px;
}

@media (max-width: 767px) {
  .border {
    margin-left: 10px;
  }
}

.first {
    border-left: 1px solid #ddd;
    margin-left: 0px;
}

@media (max-width: 767px) {
  .first {
    display:none;
  }
}

.icon-title {
    display: inline-block;
    margin-bottom: 0;
    color: #9BA3AF;
    margin-left: 5px;
}

.icon-subtitle {
    display: block;
    font-weight: 700;
    font-size: 16px;
}

.icon-subtitle-small {
    display: block;
    font-size: 16px;
    color: #9BA3AF;
        margin-left: 20px;
}

.box-heading {
    display: inline-block;
}


/* =============== COVER NAVBAR ===============  */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
    /*position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;*/
    
    background-image: linear-gradient(bottom, #CE0040 50%, #FFF 50%);
    background-image: -o-linear-gradient(bottom, #CE0040 50%, #FFF 50%);
    background-image: -moz-linear-gradient(bottom, #CE0040 50%, #FFF 50%);
    background-image: -webkit-linear-gradient(bottom, #CE0040 50%, #FFF 50%);
    background-image: -ms-linear-gradient(bottom, #CE0040 50%, #FFF 50%);
}


.triangle-border {
    width: 40%;
    height: 52px;
    border-top: 20px solid #fff;
    position: absolute;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}

.mywrapper {
    margin-left: 380px;
}

@media (max-width: 992px) {
  .mywrapper {
    margin-left: 0px;
  }
}

.navigation {
    position: relative;
}

.navigation:before {
    border-left: 0px solid rgba(255, 255, 255, 0);
    border-right: 36px solid #CE0040;
    border-top: 26px solid rgba(255, 255, 255, 0);
    border-bottom: 26px solid #CE0040;
    content: "";
    position: absolute;
    left: -52px;
    top: -1px;
}

.borderright {
    line-height: 0%;
    width: 20%;
    border-top: 52px solid #CE0040;
    /* border-right: 50px solid white; */
    position: absolute;
    /* bottom: 0; */
    right: 0;
    /* border-bottom: 50px solid transparent; */
    /* height: 52px; */
    /* border-bottom: 50px solid white; */
}


/* =============== NAVBAR ===============  */

.navbar-brand {
    float: left;
    height: 85px;
    padding-top: 20px;
}

.color-danger {
    color: #CE0040;
}

.danger-3 {
    background-color: #F6441D;
}

.navbar-inverse {
    background-color: rgb(206, 0, 64);
    border-color: rgba(67, 74, 84, 0);
}

.navbar-inverse .navbar-text, .navbar-inverse .navbar-nav > li > a {
    color: #fff;
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    color: white;
    background-color: #F45316;
}

@media (max-width: 1200px) {
  .btn-responsive {
    padding: 6px 2px;
    font-size: 90%;
    line-height: 1;
    border-radius: 3px;
  }
}


/* =============== HEADER ===============  */

.getjumbo {
    position: relative;
    background: url('../img/bg-01.jpg') center center no-repeat scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    padding-top: 30px;
    padding-bottom: 220px;
}

@media (max-width: 767px) {
  .getjumbo {
    padding-bottom: 20px;
  }
}

.jumbo-caption-inverse {
    padding-left: 110px;
    }

@media (max-width: 767px) {
  .jumbo-caption-inverse {
    padding-left: 20px;
  }
}

.headline {
    font-size: 60px;
    color: #f9f9f9;
    font-weight: 700;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
  .headline {
    font-size: 40px;
  }
}

.headline:before {
    content: '';
    border-bottom: 5px solid #CE0040;
    width: 80px;
    display: block;
    margin-bottom: 30px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
}

.sub-headline {
    font-size: 30px;
    font-weight: 600;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.jumbo-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color:rgba(0,0,0,0.4);
}


/* =============== CALLOUT ===============  */

#callout {
    background-color: #f5f5f5;
}

.box-callout {
    margin-top: -250px;
    padding: 0px 100px 0px 100px;
}

@media (max-width: 992px) {
  .box-callout {
    margin-top: -250px;
    padding: 0px 50px 0px 50px;
}
}

@media (max-width: 767px) {
  .box-callout {
    display: none;
  }
}

.text-callout-or {
    color: #f9f9f9;
    background-color: #CE0040;
    margin-left: -50px;
    padding: 0px 50px 20px 50px;
}

.text-callout-vert {
    color: #f9f9f9;
    background-color: #CE0040;
    margin-left: 50px;
    padding-top: 35px;
}

.text-callout-or:before {
    content: "";
    position: absolute;
    top: -250px;
    left: 115px;
    width: 50px;
    height: 50px;
    border-bottom: 50px solid #CE0040;
    border-left: 50px solid transparent;
    /* right: 0; */
}

@media (max-width: 992px) {
  .text-callout-or:before {
    top: 0px;
    left: 65px;
}
}

article {
    -webkit-column-count:2;
    -moz-column-count:2;
    column-count:2;
}

h5.callout {
    margin-top: 0;
    font-weight: 300;
}



/* =============== SERVICES BOXES ===============  */

#boxes {
    padding-top: 55px;
    padding-bottom: 40px;
    background-image: url('../img/bridge.jpg');
    background-position: center center;
    background-repeat: no-repeat;
}

.margin-box {
    margin-top: 10px;
}

.thumbnail {
    display: block;
    padding: 0px;
    margin-bottom: 0px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 0;
    border-radius: 0px;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
}

.thumb-border {
    border-top: 3px solid #CE0040;
}

.thumbnail .caption {
    padding: 10px 30px 20px 30px;
    color: #777;
}

@media (max-width: 1200px) {
  .thumbnail .caption {
    padding: 10px 5px 20px 5px;
    color: #777;
}
}

h3.thumb-title {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 600;
}

h2.service-title {
    margin-top: 0;
}

h2.service-title:before {
    content: '';
    border-bottom: 5px solid #222;
    width: 50px;
    display: block;
    margin-bottom: 33px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
}

/* =============== KNOW-HOW BOXES ========  */

#know-how {
    padding-top: 60px;
    padding-bottom: 70px;
    background-color: #fff;
}

@media (max-width: 767px) {
  #know-how {
    padding-top: 0px;
  }
}

.know-box {
    padding: 20px;
    border: 1px solid #e6e6e6;
    border-top: 3px solid #BBB;
}

@media (max-width: 1200px) {
  .know-box {
    padding: 20px 10px 20px 7px;
    border: 1px solid #e6e6e6;
    border-top: 3px solid #BBB;
}
}

.know-text {
    padding-left: 60px;
}

.offset-0 {
    padding-left: 0;
    padding-right: 0;
}



/* =============== CALL TO ACTION ===============  */

#call-to-action {
    padding-top: 20px;
    padding-bottom: 80px;
}


.page-header-action {
    color: #f9f9f9;
    font-size: 16px;
    background-color: #CE0040;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: 100px;
    margin-right: 100px;
}

@media (max-width: 1200px) {
  .page-header-action {
    margin:0;
}
}

@media (max-width: 767px) {
 .page-header-action {
    padding-left:20px;
  }
}

.page-header-action-content {
    text-align: left;
    margin-right: 30px;
}

.page-header-action h3 {
    color: #fff;
}

.page-header-action h4 {
    color: #f9f9f9;
}

.page-header-action:before {
    position: absolute;
    top: 0px;
    left: 15px;
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 158px solid #CE0040;
    border-left: 100px solid transparent;
}

@media (max-width: 1200px) {
  .page-header-action:before {
    display:none;
}
}

.page-header-action:after {
    position: absolute;
    right: 15px;
    top: 0px;
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 158px solid #CE0040;
    border-right: 100px solid transparent;
}

@media (max-width: 1200px) {
  .page-header-action:after {
    display:none;
}
}

.page-header-action div {
    display: inline-block;
}

.page-header-action h3:before {
    content: '';
    border-bottom: 3px solid #f9f9f9;
    width: 50px;
    display: block;
    margin-bottom: 20px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
}

.page-header-action a.btn {
    margin-top: -50px;
}

@media (max-width: 992px) {
  .page-header-action a.btn {
    margin-top: 10px;
}
}

@media (max-width: 767px) {
  .page-header-action a.btn {
    margin-left: -20px;
}
}

hr.ctc {
    margin-bottom: -35px;
}

/* =============== TRUCK ===============  */

#truck {
    padding-top: 30px;
    padding-bottom: 50px;
    background: url('../img/truck.jpg') center center no-repeat fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.page-header-truck {
    margin-bottom: 40px;
}

h2.truck-title {
    color: #f9f9f9;
    font-size: 50px;
}

h4.truck-subtitle {
    color: #f9f9f9;
    font-weight: 300;
    font-size: 20px;
}

h2.truck-title:before {
    content: '';
    border-bottom: 5px solid #CCD1D9;
    width: 50px;
    display: block;
    margin-bottom: 33px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
}

h4.thumb-title {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid #CCD1D9;
    padding-bottom: 10px;
}

.thumb-row {
    margin-top: 30px;
}

/*hover effect*/

h2.thumb-caption {
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    background-color: #FFFFFF;
    margin-top: 0;
    padding-bottom: 10px;
    padding-top: 10px;
}

@media (max-width: 1200px) {
  h2.thumb-caption {
    font-size: 18px;
  }
}

.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hovereffect:hover .overlay {
    background-color: rgba(0,0,0,0.6);
}

.hovereffect img {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hovereffect img {
  display: block;
  position: relative;
  /*border: 1px solid #e6e9ed;*/
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.hovereffect:hover img {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}


.hovereffect a.info {
  display: inline-block;
  text-decoration: none;
  padding: 7px 14px;
  text-transform: uppercase;
  color: #fff;
  background-color: transparent;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(1.5);
  -ms-transform: scale(1.5);
  transform: scale(1.5);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  font-weight: normal;
  margin-top: 22%;
  font-size: 50px;
}



.hovereffect:hover a.info {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}



/* =============== GALLERIA ===============  */

#portfolio {
    padding-top: 20px;
    padding-bottom: 80px;
    background-color: #f9f9f9;
}

.img-portfolio {
    margin-bottom: 30px;
}


/* =============== VIDEO ===============  */

.video-wrapper {
    margin-top: 30px;
    margin-bottom: 0px;
}


/* =============== CALL-TO-ACTION-LIGHT ===============  */

#call-to-action-light {
    background-color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 0px;
}

.ctc-text {
    float: left;
    color: #222;
    font-size: 26px;
    font-weight: 500;
    padding: 23px 0 22px 0;
}

.ctc-button {
    float: right;
    padding: 16px 0;
}


/* =============== ABOUT ===============  */


#about {
    background-color: #fff;
    font-size: 16px;
    padding-top: 60px;
    padding-bottom: 60px;
}

h2.about-title {
    margin-top: 30px;
}

h2.about-title:before {
    content: '';
    border-bottom: 5px solid #CE0040;
    width: 50px;
    display: block;
    margin-bottom: 33px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
}

.margin-0 {
    /*margin-left: 0;*/
    margin-right: 0;
}


/* =============== NEWS ===============  */


#news {
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 60px;
}

.news-wrapper {
    border: 5px solid #ddd;
    padding-top: 30px;
}

h2.news-title {
    margin-left: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
  h2.news-title {
    margin-left: 0px;
}
}




/* =============== MAP ===============  */

#map-block {
    padding-top: 20px;
    padding-bottom: 60px;
}

.map {
    width: 100%;
    height: 500px;
}

/* =============== MAP CONTACT ===============  */


.map-contact {
    padding: 30px 30px 50px 30px;
    background: rgba(34, 34, 34, 0.9);
    position: relative;
    color: #f9f9f9;
    min-height: 500px;
}

.item-text {
   font-size: 16px;
   font-weight: 300;
    color: rgba(249, 249, 249, 0.95);
}

.item-left {
    float: left;
}

@media (max-width: 767px) {
  .item-left {
    display:none;
  }
}

.item-left h3{
    margin-top:0;
}

.item-right {
    padding-left: 20px;
    border-left: 1px solid rgba(249, 249, 249, 0.3);
    margin-left: 120px;
    margin-top: 35px;
}

@media (max-width: 767px) {
  .item-right {
    margin-left: 0px;
  }
}

.center-box {
    margin: 0 auto;
    float: none;
}

h2.map-title {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 50px;
}

h2.map-title:before {
    content: '';
    border-bottom: 5px solid #f9f9f9;
    width: 50px;
    display: block;
    margin-bottom: 30px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
}

/* =============== CONTACT ===============  */

#contact {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #f5f5f5;
}

#contact-invio {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #fff;
}

.contact-box {
    padding: 30px;
    background-color: #fff;
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);*/
}

h2.contact-title {
    padding-bottom: 10px;
}

h2.contact-title:before {
    content: '';
    border-bottom: 5px solid #222;
    width: 50px;
    display: block;
    margin-bottom: 33px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
}


/* =============== FOOTER ==================  */

.nav-padding {
    padding-left: 20px;
}

dt {
    font-weight: 500;
}

.footer-bottom {
    padding: 20px 0px 10px 0px;
    color: #aab2bd;
    background-color: #222;
}

a.link-inverse {
    color: #fff;
}

img.credits {
    margin-bottom: 5px;
}

.bg-credits {
    margin-top: 5px;
    border-top: 1px solid #414B54;
    padding-top: 5px;
}


/* =============== ABOUT PAGE ==================  */

#page-about {
    padding-top: 60px;
    padding-bottom: 60px;
    margin-bottom:10px;
}

h2.page-about-title {
    margin-top: 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 30px;

}

h2.page-about-title:before {
    content: '';
    border-bottom: 5px solid #222;
    width: 50px;
    display: block;
    margin-bottom: 33px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
}

#timeline{
    padding-bottom: 50px;
}

/* =============== SERVICES PAGE ==================  */

#boxes-page {
    padding-top: 55px;
    padding-bottom: 0px;
}

.caption.re-padding {
    padding-left: 10px;
}

h2.thumb-title {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 600;
}

/* =============== TRUCK PAGE ==================  */

#truck-page {
    padding-top: 55px;
    padding-bottom: 50px;
}

.affix {
      top: 0px;
  }

  @media (max-width: 991px) {
  .affix {
    display:none;
  }
}

  h5.menu-affix {
    border-bottom: 1px solid #E6E9ED;
    padding-bottom: 5px;
    margin-bottom: 0;
}

.page-header-t {
    padding-bottom: 0px;
    margin: 30px 0 30px;
    border-bottom: 1px solid #E6E9ED;
}

.page-header-t h2 {
    font-size: 42px;
    color: #444;
    font-weight: 300;
}

.page-header-t h4 {
    color: #9BA3AF;
    font-weight: 300;
}


/* =============== SERVICES DETAILS PAGES ===============  */

#s-details {
    padding-top: 10px;
    padding-bottom: 60px;
}

.know-box-details {
    padding: 10px 20px 20px 20px;
    border: 1px solid #e6e6e6;
    border-top: 3px solid #CE0040;
}

h3.thumb-title-details {
    color: #2B2B2B;
    font-size: 26px;
}


/* =============== RICHIESTA PREVENTIVO ===============  */

#contact-quote {
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact-box-quote {
    padding: 0px 30px 30px 30px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
