/* FONTS */
/*
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,900);
@import url(http://fonts.googleapis.com/css?family=Raleway:400,300,700,900);
*/

@import url('https://fonts.googleapis.com/css?family=Quicksand:400,700');

.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}


/* OVERALL ASPECT */

body {
  background-color: #f2f2f2;
    /*font-family: "Lato";*/
	font-family:Quicksand;
    font-weight: 300;
    font-size: 16px;
    color: #555;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    
    margin-top: 120px;
}

/* Titles */
h1, h2, h3, h4, h5, h6 {
    /*font-family: "Raleway";*/
	font-family:Quicksand;
    font-weight: 300;
    color: #333;
}


/* Paragraph & Typographic */
p {
    line-height: 28px;
    margin-bottom: 25px;
}

.centered {
    text-align: center;
}

/* Links */
a {
    /*color: #f85c37;*/
	color: #fff;
    word-wrap: break-word;

    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #B1ACA9;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

 hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


.navbar {
	font-weight: 800;
	font-size: 14px;
	padding-top: 15px;
	padding-bottom: 15px;
	text-transform:uppercase;
}

.navbar-inverse {
	background: #FFF;
	border-color: #FFF;
}

.navbar-inverse {
	border-bottom: 1px solid #506b80;
}

.navbar-inverse .navbar-nav > .active > a {
	background: #506b80;
	color:#FFF;
}

.navbar-inverse .navbar-brand {
	color: #999999;
	font-weight: bolder;
	font-size: 22px;
	letter-spacing: 1px;
}

.navbar-inverse .navbar-brand i {
	color: #ff7878;
	font-size: 22px;
	letter-spacing: 1px;
}

.navbar-inverse .navbar-nav {
	margin-top:18px;
}
.navbar-inverse .navbar-nav > li > a {
	color:#506b80;
}
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
	color:#7aa1c2;
}

.navbar-inverse .navbar-nav > .active > a:hover {
	background: #7aa1c2;

}

/*TILT*/
.tilt {
  -webkit-transition: all 0.5s ease;
     -moz-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
          transition: all 0.5s ease;
}
 
.tilt:hover {
  -webkit-transform: rotate(-10deg);
     -moz-transform: rotate(-10deg);
       -o-transform: rotate(-10deg);
      -ms-transform: rotate(-10deg);
          transform: rotate(-10deg);
}

/* ==========================================================================
   Wrap Sections
   ========================================================================== */

#headerwrap {
	background: url(../img/mc-home.jpg) no-repeat center top;
	margin-top: -10px;
	padding-top:20px;
	text-align:center;
	background-attachment: relative;
	background-position: center center;
	min-height: 600px;
	width: 100%;
	
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#headerwrap h1 {
	margin-top: 100px;
	color: white;
	font-size: 50px;
	font-weight: 300;
	/*letter-spacing: 3px;*/
}

#headerwrap h2 {
	color: white;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

/* Dark Grey Wrap */
#dg {
	background: #e0e0e0;
	padding-top: 70px;
	padding-bottom: 70px;
	text-align: center;
}

#dg h4 {
	font-weight: 700;
}

/* Light Grey */
#lg {
	background: #ebebeb;
	padding-top: 70px;
	padding-bottom: 70px;
	text-align: center;
}

#lg h4 {
	font-weight: 700;
}


/* Red Wrap */
#r {
	background: #ff7878;
	padding-top: 35px;
	padding-bottom: 35px;
}

#r h4 {
	color: white;
	font-weight: 700;
}

#r p {
	color: white;
}

/* Blue Wrap */

#blue {
	background: #3498db;
	padding-top: 35px;
	padding-bottom: 35px;
}

#blue h4 {
	color: white;
	font-weight: 700;
}

#blue p {
	color: white;
}



/* Footer Wrap */
footer {
	background: #506b80;
	padding-top: 30px;
	padding-bottom: 30px;
    color: #fff;
    font-size: 14px;
}

footer i {
	color: #fff;
	font-size: 22px;
	padding: 8px;
}

footer i:hover {
	color: #7aa1c2;
}

footer h5 {
    color: #fff;
    margin: 0;
    padding: 0;
    font-weight: 700;
}

footer a {
    color: #fff;
}
footer a:hover, footer a:focus {
    color: #7aa1c2;
}

/****** SECTIONS *****/

.default-band {
	padding-top:40px;
    padding-bottom:40px;
    padding-left:15px;
    padding-right:15px;
	color:#FFF;
}
.bg01 {
	background-color:#506b80;
}
.bg02 {
	background-color:#b1aca9;
}
.bg03 {
	background-color:#7aa1c2;
}
.bg04 {
	background-color:#747373;
}
.bg05 {
    color:#506B80;
	background-color:#F2F2F2;
}
.bg06 {
	background-color: #dce1e5;
}
.bg07 {
	color:#506B80;
	background-color: #fff;
}
.bg01 h2, .bg02 h2, .bg03 h2, .bg04 h2 {
	color:#FFF;
}
.bg05 h2 {
	color:#506b80;
}



.w {
	padding-top: 35px;
}

.w h4 {
	font-weight: 700;
}

.w i {
	color: #ff7878;
	font-size: 30px;
}


.wb {
	padding-top: 35px;
	margin-bottom: 0px;
}

.wb h4 {
	font-weight: 700;
}

.desc {
	padding-top: 35px;
}

.desc h4 {
	font-weight: 700;
}

.desc i {
	color: #ff7878;
	font-size: 12px;
	padding: 5px;
}

/***** MODAL CONTACT *****/
.modal-content {
	border-radius: 0px;

}

.modal-header {
	background: #bdbdbd;
	color: white;
}

.modal-header h4 {
	font-weight: 700;
}

.modal-body {
	background: #f2f2f2;
    /*font-family: "Lato";*/
	font-family:Quicksand;
    font-weight: 300;
    font-size: 16px;
    color: #555;
}

.modal-footer {
	background: #f2f2f2;
	margin-top: 0px; 
}

/* ==========================================================================
   Pricing Tables
   ========================================================================== */
   
.pricing-option {
    padding-bottom: 40px;
}

.pricing-option .pricing-top {
    position: relative;
    background: #222;
    color: white;
    text-align: center;
    font-weight: bold;

    padding: 40px 20px 30px 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.pricing-option .pricing-top .special-label {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #1abc9c;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    padding: 3px 0;
}

.special .pricing-top {
    background: black;
}

.pricing-option .pricing-edition {
    text-transform: uppercase;
    display: block;
    font-size: 25px;
    letter-spacing: 8px;
}

.pricing-option .price {
    display: inline-block;
    position: relative;
}

.pricing-option .price sup {
    position: absolute;
    top: 50px;
    left: -10px;
    font-size: 24px;
}

.pricing-option .price .price-amount {
    font-size: 108px;
    letter-spacing: -4px;
}

.pricing-option .price small {
    position: relative;
    left: -10px;
    font-size: 18px;
}

.pricing-option ul {
    list-style: none;
    margin: 0;
    background: #eee;
    text-align: center;
    padding-left: 0px;
}

.pricing-option ul li {
    border-bottom: solid 1px #e1e1e1;
    padding-top: 20px;
    padding-bottom: 20px;
}

.pricing-option .pricing-signup {
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 10px;
    color: white;
    background: #1abc9c;
}

.pricing-option .pricing-signup:hover {
    background: #ff7878;
}

#newsletter {
    padding:20px 0;
}
#newsletter > fieldset > .form-group {
    padding:10px 10px;
}
.btn-newsletter {
    width:100%;
    background-color:#7aa1c2;
    color:#FFF;
    text-transform: uppercase;
	transition: color 0.1s ease-in 0s, background 0.1s ease-in 0s;
}

/* TIMELINE */
#cd-timeline {
  position: relative;
  padding: 4em 0;
  /*
  margin-top: 2em;
  margin-bottom: 2em;
  */
}
#cd-timeline::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 2px;
  background: #506b80;
}
@media only screen and (min-width: 1170px) {
  #cd-timeline {
    /*margin-top: 3em;
    margin-bottom: 3em;*/
  }
  #cd-timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}

.cd-timeline-block {
  position: relative;
  margin: 2em 0;
}
.cd-timeline-block::after {
  clear: both;
  content: "";
  display: table;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}
.cd-timeline-block:last-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-block {
    margin: 2em 0;
  }
  .cd-timeline-block:first-child {
    margin-top: 0;
  }
  .cd-timeline-block:last-child {
    margin-bottom: 0;
  }
}

.cd-timeline-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  left: 8px;
  top: 50%;
  
  margin-top: -9px;
  
  /*box-shadow: 0 0 0 4px #ffffff, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);*/
}
.cd-timeline-img img {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
  left: 50%;
  top: 50%;
  margin-left: -12px;
  margin-top: -12px;
}
.cd-timeline-img.cd-picture {
  background: #506b80;
}
.cd-timeline-img.cd-movie {
  background: #506b80;
}
.cd-timeline-img.cd-location {
  background: #506b80;
}
@media only screen and (min-width: 1170px) {
  .cd-timeline-img {
	margin-top:-10px;
    width: 20px;
    height: 20px;
    left: 50%;
    margin-left: -11px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
  .cssanimations .cd-timeline-img.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-img.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
  }
}

@-webkit-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
  }
}
@-moz-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -moz-transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -moz-transform: scale(1.2);
  }
  100% {
    -moz-transform: scale(1);
  }
}
@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}
.cd-timeline-content {
  position: relative;
  margin-left: 60px;
  background: transparent;
  /*border-radius: 0.25em;*/
  padding: 1em;
  /*box-shadow: 0 3px 0 #d7e4ed;*/
  border:2px solid #506b80;
  color:#506B80;
}
.cd-timeline-content::after {
  clear: both;
  content: "";
  display: table;
}
.cd-timeline-content h2 {
  color: #303e49;
}
/*
.cd-timeline-content p, .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  font-size: 13px;
  font-size: 0.8125rem;
}
*/
.cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  display: inline-block;
}
.cd-timeline-block .cd-date {
  display: inline-block;
  color:#506B80;
}


.cd-timeline-content p {
  margin: 0;
  line-height: 1.6;
  text-align: left;
  font-size:14px;
}
.cd-timeline-content .cd-read-more {
  float: right;
  padding: .8em 1em;
  background: #acb7c0;
  color: #ffffff;
  border-radius: 0.25em;
}
.no-touch .cd-timeline-content .cd-read-more:hover {
  background-color: #bac4cb;
}
.cd-timeline-content .cd-date {
  float: left;
  /*padding: .8em 0;
  opacity: .7;*/
}
.cd-timeline-block .cd-date {
  float: left;
  /*padding: .8em 0;
  opacity: .7;*/
}

.cd-timeline-content::before {
  content: '';
  position: absolute;
  /*
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid #ffffff;
  */
  
  top:50%;
  right: 100%;
  height: 2px;
  width: 5%;
  background: #506b80;
  /*border: 2px solid #506b80;*/
  
}
@media only screen and (min-width: 1170px) {
	.cd-timeline-content p {
	  text-align: center;
	}
	.cd-timeline-content::before {
	  width: 40%;
	}
}


/*@media only screen and (min-width: 768px) {*/
  .cd-timeline-content h2 {
    font-size: 20px;
    font-size: 1.25rem;
  }
  .cd-timeline-content p {
    font-size: 14px;
    /*font-size: 1rem;*/
  }
  .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
    font-size: 14px;
    font-size: 0.875rem;
  }
  .cd-timeline-block .cd-date {
    /*
	font-size: 14px;
    font-size: 0.875rem;
	*/
	font-size: 6rem;
    font-weight: 700;
    padding-left: 80px;
    padding-right: 20px;
  }
/*}*/

@media only screen and (max-width: 768px) {
	.cd-timeline-content::before {
		width: 40px;
	}
}


/*
@media only screen and (min-width: 1170px) {
  .cd-timeline-content {
    margin-left: 0;
    padding: 1.6em;
    width: 45%;
  }
  .cd-timeline-content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #ffffff;
  }
  .cd-timeline-content .cd-read-more {
    float: left;
  }
  .cd-timeline-content .cd-date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: #ffffff;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
    float: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
    left: auto;
    right: 122%;
    text-align: right;
  }
  .cssanimations .cd-timeline-content.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-content.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
    -moz-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
  }
}
*/

@media only screen and (min-width: 1170px) {
  .cd-timeline-content {
    margin-left: 0;
    padding: 1em 1.2em;
    width: 45%;
	float: right;
  }
  .cd-timeline-content::before {
    /*top: 24px;*/
	top: 50%;
    /*left: 100%;*/
	left: auto;
    right: 110%;
    border-color: transparent;
    /*border-left-color: #ffffff;*/
	border-right-color: #ffffff;
  }
  /*
  .cd-timeline-content .cd-read-more {
    float: left;
  }
  */
  .cd-timeline-content .cd-date {
    position: absolute;
    width: 100%;
    /*left: 122%;*/
	left: auto;
	right: 122%;
    top: 6px;
    font-size: 16px;
    font-size: 7rem;
	text-align: right;
	font-weight:700;
  }
  .cd-timeline-block .cd-date {
    position: absolute;
    /*width: 100%;
    left: 122%;*/
	left: auto;
	/*right: 122%;*/
	/*right:56%;*/
	right:70%;
    /*top: 6px;*/
    font-size: 16px;
    font-size: 7rem;
	text-align: right;
	font-weight:700;
	
	display: block;
	height: 50%;
	margin-top:-50px;
	top: 50%;
  }
  
  .cd-timeline-block:nth-child(even) .cd-timeline-content {
    /*float: right;*/
	float: left;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
    /*top: 24px;*/
	top: 50%;
	left: 110%;
    /*left: auto;
    right: 100%;*/
    border-color: transparent;
	border-left-color: #ffffff;
    /*border-right-color: #ffffff;*/
  }
  /*
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
    float: right;
  }
  */
  .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
    left: 122%;
	/*left: auto;
    right: 122%;*/
    text-align: left;
  }
  .cd-timeline-block:nth-child(even) .cd-date {
    /*left: 122%;*/
	/*left: 56%;*/
	left: 70%;
	/*left: auto;
    right: 122%;*/
    text-align: left;
  }
  /*
  .cssanimations .cd-timeline-content.is-hidden {
    visibility: hidden;
  }
  .cssanimations .cd-timeline-content.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
    -moz-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
  }
  */
}


@media only screen and (min-width: 1170px) {
  /* inverse bounce effect on even content blocks */
  .cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
    -webkit-animation: cd-bounce-2-inverse 0.6s;
    -moz-animation: cd-bounce-2-inverse 0.6s;
    animation: cd-bounce-2-inverse 0.6s;
  }
}
@-webkit-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -moz-transform: translateX(20px);
  }
  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
    -moz-transform: translateX(-100px);
    -ms-transform: translateX(-100px);
    -o-transform: translateX(-100px);
    transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
    transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
  }
  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -moz-transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -moz-transform: translateX(-20px);
  }
  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
    -moz-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    -o-transform: translateX(-20px);
    transform: translateX(-20px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

.navbar-toggle {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    float: right;
    margin-bottom: 8px;
    margin-right: 15px;
    margin-top: 8px;
    padding: 9px 10px;
    position: relative;
}
.navbar-inverse .navbar-toggle {
    border-color: none;
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #506B80;
}
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
    background-color: transparent;
}



.carousel-caption {
    left: 0;
    right: 0;
	top: 0;
}
.carousel-caption h1 {
	font-size:42px;
	color:#FFF;
	padding-top:140px;
}
.btn-caption {
	border: 1px solid #fff;
    border-radius: 0;
    color: #fff;
    font-size: 30px;
    padding: 60px;
    text-transform: uppercase;
	width:100%;
}
.btn-caption2 {padding: 36px 30px;}
.btn-caption:hover, .btn-caption:focus {
	background:#fff;
    color: #506B80;
}

.color-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}
.color-wrap:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*
  background: rgba(80, 107, 128, 0.5);
  background: rgba(0, 112, 186, 0.5);
  background: rgba(0, 95, 155, 0.5);
  background: rgba(0, 88, 142, 0.5);
  */
  background: rgba(0, 70, 114, 0.5);
}
.carousel-caption, .carousel-caption .container, .carousel-caption .container .row { height:100%; }
.carousel-caption .container .row .col-sm-12 { height:100%; position:relative; }
.btn-left {position:absolute;bottom:80px;left:0;}
.btn-center {position:absolute;bottom:80px;left:25%;}
.btn-right {position:absolute;bottom:80px;right:0;}

.btn-header {position:relative; bottom:-180px;}

@media (max-width: 1200px) {
	.carousel-caption h1 {
		font-size:40px;
		color:#FFF;
		padding-top:100px;
	}
	.btn-caption {
		border: 1px solid #fff;
		border-radius: 0;
		color: #fff;
		font-size: 20px;
		padding: 40px;
		text-transform: uppercase;
		width:100%;
	}
}
@media (max-width: 900px) {
	.carousel-caption h1 {
		font-size:30px;
		color:#FFF;
		padding-top:80px;
	}
	.btn-caption {
		border: 1px solid #fff;
		border-radius: 0;
		color: #fff;
		font-size: 20px;
		padding: 40px;
		text-transform: uppercase;
		width:100%;
	}
	.btn-left {position:absolute;bottom:40px;left:0;}
	.btn-right {position:absolute;bottom:40px;right:0;}
}
@media (max-width: 500px) {
	.carousel-caption h1 {
		font-size:28px;
		color:#FFF;
		padding-top:30px;
	}
}

@media (max-width: 1591px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }
}

.anchor {
    position: absolute;
    margin: -160px;
}

h4 {font-weight:700;}

/* HOVER */ 
.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  display:block;
  min-height:200px;
  text-align:center;
  margin-bottom:30px;
  cursor:pointer;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect:hover .overlay {

}

/*
.hovereffect img {
  display: block;
  position: relative;
}
*/

.hovereffect h2 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 18px;
  padding: 10px;
  /*
  background: rgba(0, 0, 0, 0.6);
  */
  -webkit-transform: translateY(45px);
  -ms-transform: translateY(45px);
  transform: translateY(45px);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect:hover h2 {
  -webkit-transform: translateY(5px);
  -ms-transform: translateY(5px);
  transform: translateY(5px);
}

.hovereffect label.info {
	font-size:24px;
  display: inline-block;
  text-decoration: none;
  padding: 28px 14px;
  text-transform: uppercase;
  color: #fff;
  background-color: transparent;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  font-weight: normal;
  /*margin: -52px 0 0 0;
  padding: 62px 100px;*/
}

.hovereffect:hover label.info {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.hovereffect label.info:hover {

}
/* END HOVER */

/* SISTEMI */ 
.big-btn {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  /*cursor: default;*/
  display:block;
  min-height:200px;
  text-align:center;
  margin-bottom:30px;
}

.big-btn .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
}

.big-btn h2 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 18px;
  padding: 10px;
}

.big-btn label.info {
  font-size:24px;
  display: inline-block;
  text-decoration: none;
  padding: 0px 14px;
  text-transform: uppercase;
  color: #fff;
  background-color: transparent;
  font-weight: normal;
  cursor: pointer;
  
  transition: color 0.1s ease-in, background 0.1s ease-in;
}
.big-btn .overlay:hover label.info {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
/* END SISTEMI */

.tit-mid {margin:0;color:#fff;text-align:center;width:100%;height:100%;display:block;padding-top:22%;font-weight:500;font-size:24px;}

a.news-privacy {color:#506B80;}
a.news-privacy:hover, a.news-privacy:focus {color:#747373;}

.nav-tabs { border-bottom: 0;margin-top:40px; }
.nav-tabs > li { margin-bottom: 0px; }

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    background-color: #506B80;
    border: 1px solid #506B80;
    border-image: none;
    color: #fff;
    cursor: pointer;
}
.nav-tabs > li > a {
    border-radius: 0;
	text-align: center;
}

.nav-tabs > li > a {
    background-color: #ffffff;
    border: 1px solid #506B80;
    border-image: none;
    color: #506B80;
    cursor: pointer;
}
.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
    background-color: #7AA1C2;
    border: 1px solid #7AA1C2;
    border-image: none;
    color: #FFF;
    cursor: pointer;
}



@media (min-width: 1680px) {
	body {background-color: #FFF;}
    .container-fluid {
        width: 1680px;
		margin:0 auto;
    }
	.color-wrap {
		height: 100%;
		margin: 0 auto;
		position: relative;
		width: 1680px;
	}
}


.img-gallery {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
label {
    font-weight: normal;
}

.modal-dialog {
    padding-top: 90px;
}

.form-group {margin:10px 0;}
.has-feedback label ~ .form-control-feedback {
	display:none !important;
}

.separator {float:left;height:30px;}
.footer-social {float:right;}
@media only screen and (max-width: 1170px) {
	.footer-social {float:left;}
	.btn-header {
		bottom: -120px;
	}
	/*.caption-small {
		top: 50%;
		transform: translateY(-50%);
	}*/
	.caption-small h1 {
		/*font-size: 42px;*/
		padding-top: 60px;
		/*padding:0;
		margin:0;*/
	}
}
@media only screen and (max-width: 780px) {
	h2, .h2 {
		font-size: 22px;
	}
	.btn-header {
		bottom: -100px;
	}
	.caption-small h1 {
		/*font-size: 42px;*/
		padding-top: 10px;
		margin-top:0;
	}
	
	.nav-tabs > li {
		padding: 0;
	}
	.nav-tabs > li > a {
		font-size: 12px;
	}
}

#top-link-block.affix-top {
    position: absolute; /* allows it to "slide" up into view */
    bottom: -82px; /* negative of the offset - height of link element */
    right: 20px; /* padding from the left side of the window */
}
#top-link-block.affix {
    position: fixed; /* keeps it on the bottom once in view */
    bottom: 40px; /* height of link element */
	right: 20px;
}
a.well-top {color:#FFF;border-color:#FFF;background-color:#506B80;padding: 10px 12px;}
a.well-top:hover {color:#B1ACA9;}

.full-width {
    width: 100%;
}
.carousel-caption-center {
    position: absolute;
    top: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    height: 100%;
}
.bread {
background: -moz-linear-gradient(left,  rgba(30,87,153,0.5) 0%, rgba(125,185,232,0) 100%);
background: -webkit-linear-gradient(left,  rgba(30,87,153,0.5) 0%,rgba(125,185,232,0) 100%);
background: linear-gradient(to right,  rgba(30,87,153,0.5) 0%,rgba(125,185,232,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#007db9e8',GradientType=0.5 );
height: 50px;
/*margin-top: -20px;*/
padding-top: 15px;
position: absolute;
top: 0;
width: 100%;
margin-top:0;
}
.breadcrumbs {text-align:left;position:absolute;font-size:14px;left:4px;}
.carousel-caption-center h1 {
    padding-top: 10px;
}
footer ul li {
    margin: 0 0 5px;
}
#cookieChoiceInfo a {
	color:#506B80;
	font-weight:700;
}
#cookieChoiceInfo a:hover, #cookieChoiceInfo a:focus {
	color:#7AA1C2;
}
/** File upload **/
.jFiler-theme-default .jFiler-input {
	font-family: Quicksand;
    font-size: 14px;
	
    background: #fefefe none repeat scroll 0 0;
    border: 1px solid #cecece;
    border-radius: 4px;
    box-shadow: 0 4px 5px -5px rgba(0, 0, 0, 0.25) inset;
    color: #888;
    cursor: pointer;
    display: block;

    height: 35px;
    margin: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.jFiler-theme-default .jFiler-input-button {
    background-color: #7AA1C2;
    background-image: none;
    border-left: 1px solid #ccc;
    color: #FFF;
    display: block;
    float: right;
    height: 100%;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 8px;
    text-align: center;
    transition: all 0.1s ease-out 0s;
}
.jFiler-theme-default .jFiler-input-button:active {
    background-image: none;
	background-color: #EBEBEB;
	color: #333;
}
.jFiler-items-default .jFiler-item {
    background: #f7f7f7 none repeat scroll 0 0;
    color: #4d4d4c;
    margin-bottom: 0;
    padding: 8px 6px;
    position: relative;
}
.modal-title { color:#FFF;text-align:center; }
.modal-body { padding-top:60px;padding-bottom:60px; }
.modal-footer .btn-primary {
    background-color: #506B80;
    border-color: #506B80;
    color: #ffffff; }
/*	
body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
    margin-right: 0;
}
.modal {
    overflow-y: auto;
}
*/
body.modal-open-noscroll {
	margin-right: 0!important;
	overflow: hidden;
}
.modal-open-noscroll .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
	margin-right: 0!important;
}
@media only screen and (min-width: 780px) {
	.modal-large {
		width: 70%;
	}
}