body {
    background: #FFF;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    position: relative;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

h2 {
    font-size: 40px;
    color: #0065ae;
}

h2,
h3,
h4 {
    font-family: 'Josefin Slab', serif;
}

.relative {
    position: relative;
}

p {
    font-weight: 300;
    line-height: 28px;
}

.link {
    color: #0065ae;
    border-bottom: dotted 2px #0065ae;
}

.box-footer {

    padding-left: 53vh;
    padding-right: 53vh;
}

.link:hover {
    color: #337ab7;
    border-bottom: none;
}

/* start templatemo page container */
@media (min-width: 768px) {
    .container {
        width: 700px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 900px;
    }
}

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

/* end templatemo page container */

.blue {
    color: #06C;
}

.x-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 25px;
}

.green {
    color: #090;
}

.nopadding {
    padding: 0px;
    margin: 0px;
}

/* start templatemo navigation */
.navbar-default {
    background: #fff;
    border: none;
    box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.08);
    margin: 0;
}

.navbar-default .navbar-brand {
    font-weight: 600;
    font-size: 30px;
    padding: 10px 0 0 0;
    height: 65px;
    line-height: 40px;
}

.navbar-default .navbar-brand:hover {
    color: #ffa400;
}

.navbar-default .nav li a {
    color: #666;
    font-size: 21px;
    font-weight: 500;
    height: 65px;
    line-height: 38px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    font-family: 'Josefin Slab', serif;
}

.navbar-default .nav li a:hover {
    background-color: #0065ae;
    color: #FFF;
}

.navbar-default .nav li a:focus {
    color: #303030;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #FFF;
    background-color: #0065ae;
}

.navbar-default .navbar-toggle {
    border: none;
    padding-top: 18px;
}

.navbar-default .navbar-toggle .icon-bar {
    background: #ffa400;
    border-color: transparent;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: transparent
}

/* end templatemo navigation */


.sp-lato {
    padding-left: 2rem;
    padding-right: 2rem;
}


/*=================================================================
	Banner
==================================================================*/

.popup {
    max-width: 400px;
    height: auto;
    position: fixed;
    z-index: 1000;
    right: -578px;
    bottom: 0;
    background: #254DB4;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.60);
    */
}

.txtpopup {
    color: #fff;
    font-weight: 500;
}

.banner-content {
    padding: 30px;
    margin: 30px;
}

.popup i {
    font-size: 1.5em;
    position: relative;
    padding: 30px 30px 30px 30px;
    color: #fff;
    z-index: 999;
}

.popup i:hover {
    cursor: pointer;
    color: red;
}






/* ===========================
--- Infos
============================ */

#infos {
    background-color: #F9F9F9;
    /*border-bottom:5px solid #ffa400;*/
}

#infos .no-padding {
    padding: 0;
}

.info {
    padding: 20px 50px;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    text-align: center;
}

.info h2 {
    font-size: 30px;
}

/*=================================================================
	modal
==================================================================*/
.modal-dialog {
    width: 40%;
    margin: 30px auto;
    border-radius: 2rem;
}

.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 0;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}

.modal-header-dati {
    background: #0065ae !important;
}

.modal-title {
    margin: 0;
    line-height: 1.42857143;
    font-size: 24px;
    color: #fff;
    font-weight: 700;
}

.close {
    float: right;
    font-size: 50px;
    font-weight: 700;
    line-height: 0;
    margin-top: -1rem;
    color: #fff;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: 1;
}
}

.modal-footer {
    background-color: #fff !important;
}

/*=================================================================
	End Banner
==================================================================*/


/* start templatemo header background slideshow */
#home {
    padding-top: 65px;
}

.flexslider {
    margin: 0 0 60px;
    background: #fff;
    padding: 0;
    position: relative;
    zoom: 1;
    background-color: #371604;
    overflow: hidden;
    margin: 0;
}

.flexslider .slides {
    padding: 0;
    zoom: 1;
}

.flexslider .slides img {
    width: 100%;
    min-width: 648px;
    min-height: 270px;
    display: block;
}

.flexslider .slides>li {
    display: none;
    padding: 0;
    position: relative;
    -webkit-backface-visibility: hidden;
}

.flexslider img {
    position: relative;
    width: 100%;
}

.slider-caption {
    color: white;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    text-transform: uppercase;
    z-index: 7;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.templatemo-slider-btn {
    background: #ffa400;
    border-radius: 0;
    border: 2px solid transparent;
    color: #FFFFFF;
    font-weight: bold;
    margin: 40px 0 0 0;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    height: 50px;
    width: 250px;
    padding: 12px 10px 10px 10px;
}

.templatemo-slider-btn:hover,
.templatemo-slider-btn:focus {
    background: #fff;
    color: #ffa400;
    border: 2px solid transparent;
}

/* start templatemo features */
.cosa {
    background: #E8FDEA;
    border-bottom: 1px solid #f0f0f0;
    padding: 100px 0 100px 0;
}

.cosa h2 {
    font-weight: 400;
    padding-bottom: 20px;
}

.cosa h3 {
    font-weight: 400;
    padding-bottom: 6px;
}

.cosa .fa {
    background: #0065ae;
    border-radius: 50%;
    color: #FFF;
    font-size: 50px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;

}

/* end templatemo features */

.block {}

.title:before {
    content: url(../images/fiocco.png);
    margin-right: 20px;
}

.title:after {
    content: url(../images/fiocco.png);
    margin-left: 20px;
}


/* start templatemo chi */
#chi {
    color: #333;
    padding: 60px 0 100px 0;
}

#chi .col-md-12 {
    padding-top: 20px;
}

#chi h2 {
    font-weight: 400;
    padding: 0 0 20px 0;
}

#chi .skills {
    padding-top: 30px;
}

#chi .progress {
    background: #999;
    height: 6px;
    margin: 10px 0 16px 0;
}

#chi .progress .progress-bar-success {
    background: #ffa400;
}

/* end templatemo chi */

/* start templatemo team */
#metodo {
    background: #E9F6FF;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 100px 0 100px 0;
}

#metodo .col-md-3 {
    margin-bottom: 20px;
}

#metodo h2 {
    font-weight: 400;
    padding: 0 0 20px 0;
}

#metodo a {
    text-decoration: none;
}

#metodo h3 {
    background: #FFF;
    color: #0065ae;
    font-weight: 600;
    padding: 10px;
}

#metodo img {
    cursor: pointer;
    display: inline-block;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.text-img {
    height: 270px;
    width: 185px;
    display: block;
    float: left;
    margin: 0px 20px 0px 0px;
}

.text-img p {
    font-size: 12px;
}

/*#metodo img:hover
{
	border-radius: 50%;
	-webkit-transform: scale(0.9);
	-ms-transform: scale(0.9);
	transform: scale(0.9);
	opacity: 0.7;
}*/
/* end templatemo team */


/* start templatemo info */

#info {
    background: #F8EFFA;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 100px 0 100px 0;
}

#info h2 {
    font-weight: 400;
    padding: 0 0 20px 0;
}

#info h3 {
    color: #0065ae;
    font-size: 30px;
    text-align: center;
}

#info h4 {
    font-weight: 600;
    padding-top: 6px;
    padding-bottom: 10px;
}

#info .border {
    border-top: double #0065ae 4px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.panel-title:active {
    text-decoration: underline;
}

.panel-heading {
    border-bottom: 1px solid #ddd !important;
}

#info .panel-title {
    color: #666;
    font-size: 25px;
}

#info a {
    text-decoration: none;
}

#info .panel-title:hover {
    color: #0065ae;
    text-decoration: none;
}

#info .panel-title:active {
    color: #0065ae;
    text-decoration: none;
}

#info .panel-title:focus {
    color: #0065ae;
    text-decoration: none;
}

.panel-body {
    padding: 10px;
}

.media-body p {
    margin: 0;
}

.panel-heading.active {
    background-color: #0065ae;
}

.panel-heading.active a {
    color: #fff;
}

/* end templatemo info */


/* start templatemo portfolio */
#portfolio {
    text-align: center;
    padding: 60px 0 100px 0;
}

#portfolio h2 {
    font-weight: 400;
    padding: 0 0 20px 0;
}

#portfolio p {
    margin-bottom: 60px;
}

#portfolio .col-md-3 {
    padding: 4px;
}

#portfolio .image_thumb {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

#portfolio .image_thumb .image_overlay {
    background: #ffa400;
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    -webkit-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    top: 0;
    left: 0;
    bottom: 0;
    /*padding-top: 46px;*/
    text-align: center;
}

#portfolio .image_thumb:hover .image_overlay {
    opacity: 0.9;
}

#portfolio .image_thumb .image_overlay .fa {
    background: #EEE;
    border-radius: 50%;
    color: #444;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    opacity: 1;
    /*http: //www.smashingmagazine.com/2013/08/09/absolute-horizontal-vertical-centering-css/; */
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#portfolio .image_thumb a:hover {
    text-decoration: none;
}

/* end templatemo portfolio */

.gallerypagine {
    padding: 5px;
}

.gallerypagine:hover {
    padding: 0px;
}


/* start templatemo contact */
#contact {
    background: #FAFAED;
    color: #000;
    padding: 80px 0 80px 0;
}

#contact a {
    color: #000;
    font-size: 16px;
}

#contact a:hover {
    color: #0065ae;
}

#contact h2 {
    font-weight: 400;
}

#contact .text-center p {
    padding: 0 0 60px 0;
}

#contact h2,
#contact h3 {
    padding: 0 0 20px 0;
}

#contact .form-control {
    background: transparent;
    border: 1px solid #444;
    border-radius: 0px;
    color: #0e0e0e;
    margin: 10px 0 10px 0;
}

#contact .form-control:focus {
    background: rgb(0, 101, 174);
    border-color: transparent;
    box-shadow: none;
}

#contact input[type="submit"] {
    color: #000;
    font-weight: 600;
    letter-spacing: 1px;
    width: 220px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

#contact input[type="submit"]:hover {
    background: #0065ae;
    border-color: transparent;
    color: #FFF;
}

#contact .address {
    padding: 20px;
    padding-top: 0;
    margin: 0;
}

#contact .fa {
    color: #0065ae;
    font-size: 20px;
    padding: 6px 10px 6px 0;
}

a {
    color: #0065ae;
}

/* end templatemo contact */

/* start templatemo footer */
footer {
    background: #FFFFFF;
    color: #000;
    padding: 30px 0 10px 0;
}

footer .fa {
    background-color: transparent;
    border-radius: 50%;
    color: #FFF;
    font-size: 20px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    margin: 2px 0;
}

footer h3 {
    color: #0065ae;
    border-bottom: solid #464188 2px;
    padding-bottom: 5px;
}

footer a {
    color: #000;
    border-bottom: dotted #000 1px;
}

footer a:hover {
    color: #0065ae;
    border-bottom: none;
}

/* end templatemo footer */

/* starttemplatemo  go top */
.go-top {
    background-color: #0065ae;
    border-radius: 50%;
    bottom: 2em;
    right: 2em;
    color: #FFF;
    display: none;
    position: fixed;
    text-decoration: none;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.go-top:hover {
    color: #F9F9F9;
}

/* end templatemo go top */




.modal-header {
    background: #E89A2F;
}

.modal-header h4 {
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
}




/*=========================================
	Slider
==========================================*/

#owl-head {
    background: #e2d2c6;
}

#owl-head .item img {
    display: block;
    height: auto;
}

#owl-head .item {
    padding: 100px 0;
}

.slide1 {
    background: url(../images/slider/1.jpg) center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.slide2 {
    background: url(../images/slider/2.jpg) center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.slide3 {
    background: url(../images/slider/3.jpg) right;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.slide4 {
    background: url(../images/slider/4.jpg) center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.slide5 {
    background: url(../images/slider/5.jpg) center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}



/* ==========================================================================
   Mappa
   ========================================================================== */

.mappa {
    padding: 0;
}

.gmap3 {
    width: 100%;
    height: 250px
}

#map {
    width: 100%;
    height: 250px
}





/* ==========================================================================
   Responsive Slider
   ========================================================================== */

.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}

.rslides_tabs {
    list-style: none;
    padding: 0;
    background: #0065ae;
    font-size: 18px;
    list-style: none;
    margin: 0 auto 50px;
    padding: 10px 0;
    text-align: center;
    width: 100%;
}

.rslides_tabs li {
    display: inline;
    float: none;
    margin-right: 1px;
}

.rslides_tabs a {
    width: auto;
    line-height: 20px;
    padding: 9px 20px;
    height: auto;
    background: transparent;
    display: inline;
    color: #fff;
}

.rslides_tabs a:hover {
    color: white;
}

.rslides_tabs li:first-child {
    margin-left: 0;
}

.rslides_tabs .rslides_here a {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-weight: bold;
}

@media only screen and (max-width:1920px) {
    .box-footer {

        padding-left: 33vh;
        padding-right: 33vh;
    }
}
@media only screen and (max-width:1490px) {
    .box-footer {

        padding-left: 13vh;
        padding-right: 13vh;
    }
}
@media only screen and (max-width: 1199px) {

    .flexslider h1 {
        font-size: 30px;
    }

    .flexslider h2 {
        font-size: 24px;
    }


    
}

@media only screen and (max-width:1024px) {
    .box-footer {

        padding-left: 4vh;
        padding-right: 4vh;
    }
}


@media (max-width:992px) {
	.box-footer {

        padding-left: 2vh;
        padding-right: 2vh;
    }
    .title:before {
        content: url(../images/minibefore.png);
        margin-right: 20px;
    }

    .title:after {
        content: url(../images/miniafter.png);
        margin-left: 20px;
    }

    #owl-head .item img {
        width: 190px;
    }

    .sp-lato {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width:528px) {
    .title:before {
        content: none;
    }

    .title:after {
        content: url(../images/allafter.png);
        margin: 0;
    }

    .modal-dialog {
        width: 90%;
        margin: 30px auto;
        border-radius: 2rem;
    }
}


/* start templatemo 768 media quires */
@media only screen and (max-width: 768px) {
    .navbar-default .navbar-brand {
        margin-left: 20px;
    }

    .navbar-default .navbar-nav {
        margin: 0;
    }

    .navbar-default .navbar-collapse {
        padding-left: 20px;
        padding-right: 20px;
    }

    .flexslider h1 {
        font-size: 26px;
    }

    .flexslider h2 {
        font-size: 18px;
    }

    .templatemo-slider-btn {
        margin-top: 10px;
        width: 180px;
        height: 40px;
        padding-top: 8px;
    }
}

/* end templatemo 768 media quires */

/* start templatemo 680 media quires */
@media only screen and (max-width: 680px) {
    .navbar-default .navbar-nav li a {
        border-bottom: 1px solid #f6f6f6;
        line-height: normal;
        height: 40px;
    }

    /* end templatemo 680 media quires */

    /* start templatemo 600 media quires */
    @media only screen and (max-width: 640px) {
        .flexslider h1 {
            font-size: 20px;
        }

        .flexslider h2 {
            font-size: 14px;
        }

        .templatemo-slider-btn {
            width: auto;
            height: auto;
            padding: 10px 20px;
            margin-top: 10px;
        }
    }

    /* end templatemo 600 media quires */