/*!
 * Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    color: #333333;
    font-size: 16px;
    background-color: #f5f5f5;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding: 20px 40px;
}


.bg-white {
    background-color: #fff;
}

p {
    font-size: 16px;
    margin: 0 0 20px;
}

p.small {
    font-size: 14px;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
    color: #407ec9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
}

hr.star-light,
hr.star-primary {
    margin: 25px auto 30px;
    padding: 0;
    max-width: 250px;
    border: 0;
    border-top: solid 5px;
    text-align: center;
}

hr.star-light:after,
hr.star-primary:after {
    content: "\f005";
    display: inline-block;
    position: relative;
    top: -.8em;
    padding: 0 .25em;
    font-family: FontAwesome;
    font-size: 2em;
}

hr.star-light {
    border-color: #fff;
}

hr.star-light:after {
    color: #fff;
    background-color: #407ec9;
}

hr.star-primary {
    border-color: #2c3e50;
}

hr.star-primary:after {
    color: #2c3e50;
    background-color: #fff;
}

.img-centered {
    margin: 0 auto;
}

header .container {
    padding-top: 100px;
    padding-bottom: 50px;
}

header img {
    display: block;
    margin: 0 auto 20px;
}

header .intro-text .name {
    display: block;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2em;
    font-weight: 700;
}

header .intro-text .skills {
    font-size: 1.25em;
    font-weight: 300;
}

.slogan {
    font-size: 25px;
    font-weight: bold;
    color: #fff;
    text-align: right;
    padding-top: 10px;
    margin-right: -15px;
}

.navbar-default {
    background-color: #407ec9;
}

.navbar-default .navbar-brand {
    color: #407ec9;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: -1px;
}

.navbar-brand {
    padding: 12px 0px;
}

.navbar-brand img {
    width: 215px;
   height: auto;
    margin-top: -20px;
}


.navbar-toggle {
    background-color: #407ec9;
}

.navbar-default .navbar-toggle {
    border-color: #407ec9;
}

.freccia {
    width: 90px;
    height: 45px;
    position: absolute;
    z-index: 999;
    top: 78px;
    left: 50%;
    margin-left: -45px;
    background-image: url(../img/freccia.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.relative {
    position: relative;
}

/*== fine - PERSONALIZZAZIONI home ==*/


/*== PERSONALIZZAZIONI intestazione ==*/

.sfondo-intestazione {
    margin-top: 80px;
}

header h1 {
    color: #407ec9;
    font-size: 34px;
    padding: 0 30px;
    text-align: center;
}

header h1 span {
    font-weight: 400;
}


.evi {
    font-weight: 700;
    text-transform: uppercase;
}

.big {
    font-weight: 700;
    font-size: 140%;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
}

.telefono {
    width: 345px;
    height: 105px;
    margin: 20px auto 0 auto;
    background-image: url(../img/sf-telefono.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.telefono .contenuto {
    padding: 20px 0 0 40px;
    text-align: center;
    text-transform: uppercase;
    color: #ff5b00;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
}

.telefono .contenuto a.link-tel {
    color: #009898;
    font-weight: 400;
    font-size: 230%;
    line-height: 1;
    letter-spacing: -1px;
}


.inevidenza {
    background-color: #407ec9;
    color: #fff;
    padding: 40px 0;
}

.inevidenza img.icona {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px auto;
}

.inevidenza a:hover img.icona {
    width: 100px;
    height: 100px;
    margin: -10px auto 15px auto;
}

.inevidenza .text-center {
    padding-right: 40px;
    padding-left: 40px;
}


.inevidenza a:hover img.icona,
.inevidenza img.icona,
.btn-success:hover,
.btn-success,
.btn-blue, 
.btn-blue:hover,
.btn-social a:hover img,
.btn-social a img {
     -moz-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

/*== fine - PERSONALIZZAZIONI intestazione ==*/

/*== PERSONALIZZAZIONI padding e varie ==*/

.p_left_40 {
    padding-left: 40px;
}

.p_right_40 {
    padding-right: 40px;
}

.p_top_80 {
    padding-top: 80px;
}

.p_bottom_80 {
    padding-bottom: 80px;
}

.p_bottom_20 {
    padding-bottom: 20px;
}

.p_top_20 {
    padding-top: 20px;
}

.p_none {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.blocco-testo-sx,
.blocco-testo-dx {
    padding:100px 50px 50px 50px;
}

.blocco-testo-sx p,
.blocco-testo-dx p {
    font-size: 20px;
}

.blocco-testo-sx p {
    padding:20px 0px 20px 0px;
}

.blocco-testo-dx p {
    padding:20px 0px 20px 0px;
}


.btn-success {
    color: #ffffff;
    padding: 15px 25px;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 130%;
    font-weight: 400;
    background-color: #ff5b00;
    border: 0px;
    width: 100%;
    background-image: url(../img/freccia-form.png);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 63px 40px;
}

.btn-blue {
    color: #ffffff;
    padding: 15px 75px 15px 45px;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 160%;
    font-weight: 400;
    background-color: #407ec9;
    border: 0px;
    width: auto;
    background-image: url(../img/freccia-form-di-piu.png);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 65px 45px;
    margin: 20px auto 40px auto;
}

.btn-success:hover,
.btn-success:focus,
.btn-blue:hover,
.btn-blue:focus {
    background-color: #ed7400;
}


img.img-responsive.full {
    width: 100% !important;
    height: auto;
}

.contatti-cont {
   padding-top: 100px;
}

.contatti-cont h2 {
   font-size: 36px;
   color: #ff5b00;
   font-weight: 300;
   margin-bottom: 40px;
}

#page-top,
#vacanze-mare,
#vacanze-tavola,
#vacanze-attivita,
#contatti {
    padding-top: 78px;
    margin-top: -78px;
}

/*== fine PERSONALIZZAZIONI padding ==*/

section {
    padding: 0px 0;
}

section h2 {
    margin: 0;
    font-size: 38px;
    color: #407ec9;
}

.titolo {
    display: block;
    padding-bottom: 8px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 400;
    font-family: Arial, Helvetica, sans-serif;
}

section.success {
    color: #fff;
    background: #ed0000;
}

section.success a,
section.success a:hover,
section.success a:focus,
section.success a:active,
section.success a.active {
    outline: 0;
    color: #2c3e50;
}


#portfolio .portfolio-item {
    right: 0;
    margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 400px;
}

#portfolio .portfolio-item .portfolio-link .caption {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(24,188,156,.9);
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

#portfolio .portfolio-item .portfolio-link .caption:hover {
    opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    font-size: 20px;
    color: #fff;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content i {
    margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content h3,
#portfolio .portfolio-item .portfolio-link .caption .caption-content h4 {
    margin: 0;
}

#portfolio * {
    z-index: 2;
}



.btn-outline {
    margin-top: 15px;
    border: solid 2px #fff;
    font-size: 20px;
    color: #fff;
    background: 0 0;
    transition: all .3s ease-in-out;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
    border: solid 2px #fff;
    color: #407ec9;
    background: #fff;
}

/*== FORM ==*/

.richiedi-info {
    background-color: #f5f5f5;
}

.richiedi-info h3,
.video h3 {
    margin: 0px 0 10px 0;
    text-transform: uppercase;
    font-size: 18px;
    color: #ff5b00;
    text-align: center;
}

.video h3 {
    font-size: 22px;
    color: #fff;
}

.video-responsive {
    width: 100%;
    height: 315px !important;
}

.richiedi-info .col-md-6,
.richiedi-info .col-md-12,
.richiedi-info .col-xs-12,
.richiedi-info .col-sm-6,
.richiedi-info .col-sm-12 {
    padding: 0px 10px;
} 

.floating-label-form-group {
    position: relative;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: -15px;
}

.floating-label-form-group input,
.floating-label-form-group textarea,
select.form-control {
    z-index: 1;
    position: relative;
    padding: 5px 10px;
    height: 40px;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: none!important;
    
}

select.form-control {
   margin-top: 25px;
   margin-bottom: 10px;
    
}

.form-control:focus {
    border: 1px solid #407ec9;
}

.floating-label-form-group textarea {
    height: 100px;
}

.floating-label-form-group label {
    display: block;
    z-index: 0;
    position: relative;
    top: 2em;
    margin: 0;
    font-size: .85em;
    line-height: 1.764705882em;
    vertical-align: middle;
    vertical-align: baseline;
    opacity: 0;
    -webkit-transition: top .3s ease,opacity .3s ease;
    -moz-transition: top .3s ease,opacity .3s ease;
    -ms-transition: top .3s ease,opacity .3s ease;
    transition: top .3s ease,opacity .3s ease;
}

/*.floating-label-form-group::not(:first-child) {
    padding-left: 14px;
    border-left: 1px solid #eee;
}*/

.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
}

/*.floating-label-form-group-with-focus label {
    color: #407ec9;
}

form .row:first-child .floating-label-form-group {
    border-top: 1px solid #eee;
}*/

.privacy {
    color: #666;
    font-size: 12px;
    line-height: 14px !important;
    text-align: left;
}

footer {
    color: #fff;
}

footer h3 {
    margin-bottom: 30px;
}

footer .footer-above {
    padding-top: 50px;
    background-color: #2c3e50;
}

footer .footer-col {
    margin-bottom: 50px;
}

footer .footer-below {
    padding: 25px 0;
    background-color: #407ec9;
}

p.copy {
  font-size: 14px;
  margin-bottom: 5px;
  padding-bottom: 0px;
  text-align: left;
  color: #666;
}

p.copy a {
  color: #666;
}

p.copy a:hover {
  color: #407ec9;
}

.credits {
  font-size: 14px;
  float: right;
}

.credits a {
  color: rgba(255, 255, 255, 0.8);
}

.credits a:hover {
  color: #fff
}

.credits:before {
  content: url(../img/peperoncino-spicelab.png);
  vertical-align: -40%;
  padding-right: 5px;
}

.bot {
  padding-top: 20px;
  padding-bottom: 20px;
}

ul.social-footer  {
  float: right;
  margin-left: 10px;
}


.btn-social {
    display: inline-block;
    width: 38px;
    height: 38px;
    margin-left: 5px;
}

.btn-social img {
    width: 38px;
    height: 38px;
}

.btn-social a img {
    opacity: 1;
}

.btn-social a:hover img {
    opacity: 0.7;
}

.btn:focus,
.btn:active,
.btn.active {
    outline: 0;
}

.scroll-top {
    z-index: 1049;
    position: fixed;
    right: 2%;
    bottom: 2%;
    width: 50px;
    height: 50px;
}

.scroll-top .btn {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 20px;
        padding: 10px 18px 10px 13px;
}

.scroll-top .btn:focus {
    outline: 0;
}

.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    text-align: center;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.portfolio-modal .modal-content h2 {
    margin: 0;
    font-size: 3em;
}

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

.portfolio-modal .modal-content .item-details {
    margin: 30px 0;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
}

.portfolio-modal .close-modal:hover {
    opacity: .3;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #2c3e50;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    background-color: #2c3e50;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.portfolio-modal .modal-backdrop {
    display: none;
    opacity: 0;
}

/* MEDIA QUERIES */

@media(max-width:1420px) {

    header h1 {
    font-size: 38px;
    padding-top: 0px;
    }

    .telefono {
    margin: 5px auto 0 auto;
    }

}

@media(max-width:1360px) {


    .titolo {
    font-size: 24px;
    }

    section h2 {
    font-size: 30px;
    }


    .blocco-testo-sx p, .blocco-testo-dx p {
    font-size: 18px;
    }


}

@media(max-width:1280px) {


    header h1 {
    font-size: 34px;
    }

    .big {
    font-size: 120%;
    }

    .btn-success {
    padding: 15px 5px;
    font-size: 110%;
    }

    .btn-blue {
        padding: 15px 65px 15px 35px;
        background-size: 55px auto;
    }
}

@media(max-width:1240px) {

    .big {
    font-size: 120%;
    }
}


@media(max-width:1200px) {

    .blocco-testo-sx, .blocco-testo-dx {
    padding: 50px 50px 0px 50px;
    }

    .blocco-testo-sx p, .blocco-testo-dx p {
    font-size: 17px;
    }

    header h1 {
    font-size: 34px;
    }

   
}

@media(max-width:1199px) {

    .blocco-testo-sx, .blocco-testo-dx {
    padding: 50px 50px 0px 50px;
    }

    .blocco-testo-sx p, .blocco-testo-dx p {
    font-size: 16px;
    }

    header h1 {
    font-size: 30px;
    }

    .navbar-fixed-top .navbar-brand {
    font-size: 1.6em !important;
    }
}


@media(max-width:1100px) {
    .nav>li>a {
    padding: 10px 10px;
    font-size: 14px;
    }

    .navbar-brand img {
    width: 200px;
    height: auto;
    margin-top: -15px;
    }
}


@media(max-width:1050px) {
    header h1 {
        font-size: 28px;
        padding: 0 0px;
    }

    .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding: 20px 20px;
    }

    .btn-success {
    font-size: 100%;
    }

    .video-responsive {
    width: 100%;
    height: 220px !important;
    }
}

@media(max-width:992px) {

    .copy  {
      float: none;
      text-align: center;
      display: block;
      padding-bottom: 20px;
    }

    .credits {
      float: none;
      text-align: center;
    }

    .inevidenza .text-center {
      padding-top: 20px;
      padding-bottom: 20px;
    }

    .blocco-testo-sx, .blocco-testo-dx {
    padding: 30px 20px 0px 20px;
    }

    .blocco-testo-sx p, .blocco-testo-dx p {
    font-size: 18px;
    }

    .navbar-fixed-top .navbar-brand {
    font-size: 1.3em !important;
    }

    .video-responsive {
    height: 200px !important;
    }

}


@media(max-width:991px) {

    .blocco-testo-sx, .blocco-testo-dx {
    padding: 50px 50px 50px 50px;
    }

    .hidden-mobile {
    display: none;
    }

    .video-responsive {
    height: 400px !important;
    }
    
}



@media(max-width:930px) {

    header h1 {
        font-size: 26px;
    }


}



@media(max-width:850px) {
    .nav>li>a {
    padding: 10px 7px;
    font-size: 14px;
    }

    .navbar-brand img {
    width: 170px;
    height: auto;
    margin-top: -15px;
    }
}

@media(max-width:800px) {

    .nav>li>a {
    padding: 10px 7px;
    font-size: 13px;
    }

    header h1 {
    font-size: 24px;
    }

    .big {
    font-size: 110%;
    }

    .video-responsive {
    height: 350px !important;
    }
}

@media(max-width:768px) {


    header h1 {
    font-size: 30px;
    }

    header .container {
        padding-top: 20px;
        padding-bottom: 20px;
        text-align: center;
    }
}

@media(max-width:767px) {

    .navbar-fixed-top, .navbar-fixed-bottom {
    position: relative;
    margin-bottom: 0px;
    }

    section.first {
        padding-top: 75px;
    }

    .navbar-brand {
        float: none;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .navbar-brand img {
        width: 180px;
        height: auto;
        margin: 10px auto;
    }

    .slogan {
        font-size: 20px;
        text-align: center;
        padding: 0px 0px 10px 0px;
        margin-right: 0px
    }

    /*.navbar-fixed-top.navbar-shrink .slogan {
        display: none;
    }

    .navbar-fixed-top.navbar-shrink .navbar-brand img {
        margin: 40px auto 10px auto;
    }*/


    .sfondo-intestazione {
    margin-top: 0px;
    }

    p.copy {
    text-align: center;
    }

    ul.social-footer {
        float: none;
        display: block;
        margin-left: -45px;
        margin-top: -30px;
    }
}


@media(max-width:640px) {

    .video-responsive {
    height: 315px !important;
    }
}


@media(max-width:580px) {
    
    .video-responsive {
    height: 280px !important;
    }
}

@media(max-width:480px) {
    .btn-success {
    font-size: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 8px;
    letter-spacing: -1px;
    }

    .nav>li>a {
    padding: 10px 20px;
    font-size: 16px;
    }

    #page-top,
    #vacanze-mare,
    #vacanze-tavola,
    #vacanze-attivita,
    #contatti {
        padding-top: 30px;
        margin-top: -30px;
    }

    .freccia {
    top: 30px;
    }

    section h2 {
    font-size: 32px;
    }

    .slogan {
    font-size: 16px;
    }

    .video-responsive {
    height: 180px !important;
    }

    .btn-blue {
        width: 100%;
    }
}

@media(max-width:400px) {

    .btn-success {
        background-image: none;
    }

    header h1 {
        font-size: 25px;
    }

    .bot {
        padding-bottom: 50px;
    }
}


@media(max-width:320px) {
    .btn-success {
        padding-left: 5px;
        padding-right: 5px;
        font-size: 95%;
    }

    .telefono {
    width: 280px;
    height: 95px;
    }

    .telefono .contenuto {
    font-size: 16px;
    }

    .telefono .contenuto a.link-tel {
    font-size: 220%;
    }
}





@media(min-width:1600px) {
    .container {
        width: 1580px;
    }
}


@media(min-width:1200px) {
    .container {
        width: 98%;
    }
}

@media(min-width:992px) {
    .hidden-desktop {
    display: none;
    }
}



@media(min-width:768px) {

    .container {
    width: 90%;
    } 

    .navbar-fixed-top {
        padding: 25px 0;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
    }

    .navbar-fixed-top .navbar-brand {
        font-size: 2em;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }

    .navbar-fixed-top.navbar-shrink {
        padding: 10px 0;
    }

    .navbar-fixed-top.navbar-shrink .navbar-brand {
        font-size: 1.5em;
    }

    header .container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    header .intro-text .name {
        font-size: 4.75em;
    }

    header .intro-text .skills {
        font-size: 1.75em;
    }
}


@media(min-width:767px) {
    #portfolio .portfolio-item {
        margin: 0 0 30px;
    }
}

/* === GENERICI === */



hr {
    border-top: 4px solid #407ec9;
}

.bg-blue {
    background-color: #407ec9;
}

.bg-grey {
    background-color: #e8e8e8;
}

.nopadding {
    padding: 0px 0px !important;
}

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