

/* ==========================================================================
   Author's custom styles
   ========================================================================== */





body {
  background: none;
  font-family: 'Open Sans', sans-serif;
}
p {font-size: 16px;}
p.strong, h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}


#main h1, #main h2, #main h3, #main h4, #main h5, #main h6, #catalogue h2 {
  color:#c0392b;
}
#main strong {
  color:#c0392b;
}
.fa-15x {font-size: 1.5em !important} 
.fa-2x {font-size: 2em}
.fa-3x {font-size: 3em}
.fa-4x {font-size: 4em}
.fa-5x {font-size: 5em}
.fa-6x {font-size: 6em}

/*FONTS*/

/*FONTS*/

.wrapper{
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

a {text-decoration: none !important;}

.margtop-20 {margin-top: 20px !important}
.margtop-50 {margin-top: 50px !important}
.margtop-100 {margin-top: 50px !important}

header {position: relative;}

.img-responsive-100 {width: 100%}
img.logo {min-width: 230px; max-width: 230px; margin-top: 10px;}



.carousel-caption h1 {
  color: #c0392b;
}
.carousel-caption {
    text-align: center;
    /*top: auto;*/
    top: 50%;
    transform: translateY(-50%);
    bottom: initial;
}
.carousel-caption p.lead {
    font-weight: 700;
}


.navbar {margin-bottom: 0; }
.navbar-brand {
  height: inherit;
}

/*NAVBAR*/
.navbar-custom {
    background-color:rgba(0,0,0,0);
    border-radius:0;
}
.navbar-custom .navbar-nav > li > a {
    color:#ffffff;
    line-height: 70px;
    font-size: 18px;
}

.navbar-custom .navbar-nav > .active > a {
    color: #ffffff;
    background-color:transparent;
}
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus,
.navbar-custom .navbar-nav > .open >a {
    text-decoration: none;
    background-color:transparent;
    color: #eaeaea;
}
.navbar-custom .navbar-brand {
    color:#eeeeee;
}
.navbar-custom .navbar-toggle {
  margin-top: 16px
}
.navbar-custom .icon-bar {
    background-color:#ffffff;
}

/* for dropdowns only */
.navbar-custom .navbar-nav .dropdown-menu  { 
  background-color: #f6f6f6 !important;
}
.navbar-custom .navbar-nav .dropdown-menu>li>a  { 
  color: #000000;
}
.navbar-custom .navbar-nav .dropdown-menu>li>a:hover,.navbar-custom .navbar-nav .dropdown-menu>li>a:focus  { 
  color: #4b4b4b;
}

/* NAVBAR OVER IMAGE SLIDER */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}
/*NAVBAR*/

.overlay {
    background: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 8;
    pointer-events: none;
}



/*BOTTONI*/
.btn {border-radius: 0px !important;}
.btn-default {
  background-color:#000000;
  background-image:none;
  background-repeat: none;
  border: 0px;
  text-shadow:none;
  color:#ffffff !important;
  padding-left: 30px;
  padding-right: 30px;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active {
	background-color: #4b4b4b;
  	background-image:none;
  	background-repeat: none;
  	color:#ffffff;
}

.btn-primary {
  background-color:#ffffff;
  background-image:none;
  background-repeat: none;
  border: 0px;
  text-shadow:none;
  color:#000000 !important;
  padding-left: 30px;
  padding-right: 30px;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background-image:none;
  background-repeat: none;
  background-color:#e8e8e8;
  color:#ffffff;
}

#carousel-main .btn-default {
  background-color:rgba(0,0,0,0) !important;
  background-image:none;
  background-repeat: none;
  border: 4px solid #ffffff;
  
  text-shadow:none;
  color:#ffffff;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;

  padding-top: 15px;
  padding-bottom: 15px;
}
#carousel-main .btn-default:hover,
#carousel-main .btn-default:focus,
#carousel-main .btn-default:active,
#carousel-main .btn-default.active,
#carousel-main .open .dropdown-toggle.btn-default {
  background-color:rgba(0,0,0,0) !important;
  background-image:none;
  background-repeat: none;
  border: 4px solid #dedede;
  color:#dedede;
}


.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display:none;
}
.back-to-top {
  padding:10px 13px;
}
#back-to-top.btn-default {
  background-color:#c0392b;
  background-image:none;
  background-repeat: none;
  border:0px !important;
  text-shadow:none;
  color:#ffffff !important;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: normal;
  border-radius: 50px !important;
}
#back-to-top.btn-default:hover {
  background-color:#b23726;
}
/*BOTTONI*/

/*WELL*/
.well {
	background-image: none;
	background-repeat: no-repeat;
	border: none;
	box-shadow: none;
	border-radius: 0;
	background-color: #000000;
	
	min-height: none;
	padding:2px;
	color: #ffffff
}
/*WELL*/

/*MODAL*/
.modal {
    -webkit-transition: all ease-out !important;
    -moz-transition: all 0.8s ease-out !important;
    -o-transition: all 0.8s ease-out !important;
    transition: all 0.8s ease-out !important;
}
.modal.in .modal-dialog {
    -webkit-transform: translateX(0px) !important;
    -ms-transform: translateX(0px) !important;
    transform: translateX(0px) !important;
}
.modal.fade .modal-dialog {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}
.modal .modal-header {
  border-bottom: none;
  position: relative;
}
.modal .modal-header .btn {
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 0;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
  background-color: #c0392b;
}
.modal .modal-footer {
  border-top: none;
  padding: 0;
}
.modal .modal-footer .btn-group > .btn:first-child {
  border-bottom-left-radius: 0;
}
.modal .modal-footer .btn-group > .btn:last-child {
  border-top-right-radius: 0;
}
.modal-footer .btn-default {
  background-color: #c0392b;
}
.modal-footer .btn-default:hover {
  background-color: #b23726;
}

.thumbnail {border-radius: 0}

#main {
  padding-top: 140px;
  padding-bottom: 150px;
}
#main .textbg {
  /*height: 630px;*/
  position: relative;
  padding: 5% 100px 5% 100px;
}

#divider {
  padding-top: 100px;
}

#skills {
  padding-top: 160px;
  padding-bottom: 100px;
  background-color: #e8e8e8;
}
#skills .thumbnail {
  min-height: 240px;
}
#skills h3 {
  color:#c0392b;
}
#skills strong {color: #c0392b;}

#map {width:100%; height:500px;margin:0 auto;} 
#footer {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #ffffff;
}
#footer a {color: #c0392b;}
#footer img.logofooter {
  min-width: 200px;
	max-width: 200px;
}

#superfooter {background-color: #c0392b; font-weight: 300; color: #ffffff; padding-top: 15px; padding-bottom: 15px;}
#superfooter p {margin: 0;}
#superfooter a {color: #ffffff}
#superfooter .logonext {max-height:22px; max-width:110px}





@media screen and (max-width: 1600px) {
  
  .calendargrid .calendarentry .date h3 {
    padding:30px 0 30px 0px;
  }
  #main .boxheader p {
    font-size: 13px;
  }
}
@media screen and (max-width: 1500px) {
  
  .maininfo h4 {font-size: 16px;}
}


@media screen and (max-width: 1280px) {
  .carousel-caption h1 {
    font-size: 25px;
  }
  .carousel-caption p.lead {
    font-size: 18px;
  }
  .carousel-caption {
    top: 60%;
  }
  #main .textbg {
    padding: 5% 70px 5% 70px;
  }
  #footer img.logofooter {
    max-width:150px;
    min-width:150px;
  }
}

/*ipad landscapes*/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
/* Styles */


}

@media (max-width: 992px) {
    img.logo {min-width: 180px; max-width: 180px; margin-top: 20px;}
    #footer {text-align: center;}
    #superfooter {text-align: center}
}


@media screen and (max-width: 767px) {
  img.logo {max-width: 150px; min-width: 150px; margin-top: 10px; margin-bottom: 10px;}
  .navbar-wrapper {
  position: relative;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  }
  /*CAROUSEL CAPTION*/
  .carousel-caption {
    position: absolute;
    right: 10%;
    top:0px;
    left: 10%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: right;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  }
  h2.underline {font-size: 10px;}
  h2.underline span.skill {font-size: 8px; }
  /*CAROUSEL CAPTION*/


  .navbar-custom .navbar-nav > li > a {
    line-height: 20px;
  }
  .navbar-custom {
    background-color:#c0392b;
    color:#000000;
    border-radius:0;
  }
  .navbar-custom .navbar-nav > li > a.socialmenu {
    padding-left: 15px;
    padding-right: 15px;
    float: left;
  }
  #main .boxheader h2 {font-size: 20px;}
  #main .boxheader p {margin-top: 25px; font-weight: 800}
}


.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

.navbar .navbar-collapse {
  text-align: center;
}



/*AREA RISERVATA*/
.fa-stack-2x {
  color:#000000;
}



.videoContainer {
  position: relative;
}
video { 
    position: relative;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    background: url('../img/bg.jpg') no-repeat;
    background-size: cover;
    transition: 1s opacity;
}
.stopfade { 
   opacity: .5;
}
.overlayvideo {
  /*position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 55%;*/
  width: 100%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

