/*!
 * Start Bootstrap - Agency Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */
@import url(https://fonts.googleapis.com/css?family=Lato:400,300,700);
html, body, div, p, a, h1, h2, h3, h4, h5, h6{ font-family: lato,Arial,sans-serif;line-height: 120%;}

body { overflow-x: hidden;}
h1,h2,h3,h4,h5,h6 { text-transform: uppercase; color: #085879; margin: 0 auto; }
li{line-height: 140% !important;}
body, p{color: #085879; margin: 0 auto; font-size: 16px !important; line-height: 140%;}
h2{ font-size: 36px; }

h3{ font-size: 24px; font-weight: 400; text-transform: none;}
h4{ font-size: 24px; font-weight: 400; color: #029fdb;}
h5{ font-size: 48px; font-weight: 400;}
.col-lg-12.text-center{ padding-bottom:80px;}
.light-one{font-weight: 300; }
.special-text{line-height: 140%;}

.navbar-fixed-top a{color: #ffffff !important;}
.navbar-fixed-top.navbar-shrink{ background-color: #ffffff !important;} 
.navbar-fixed-top.navbar-shrink a{ color: #085879 !important;}
.navbar-fixed-top.navbar-shrink a:hover{color: #000000 !important;}
.navbar-fixed-top.navbar-shrink .active a{color: #ffffff !important;}

.navbar-fixed-top.navbar-shrink .navbar-header .navbar-brand.page-scroll img{ height: 70px; }

/*for background logo*/	

	.navbar-fixed-top .navbar-header .navbar-brand.page-scroll{background-image: url(../img/custom/logo-desktop.jpg); background-repeat: none; background-position: center top; background-size: auto; width:200px; height:100px;}

@media only screen and (max-width:1023px){
	.navbar-fixed-top .navbar-header .navbar-brand.page-scroll{top: -15px !important; background-image: url(../img/custom/logo-new.png); background-repeat: none; background-position: center top; background-size: auto; width:80px; height:100px;}
}
.navbar-fixed-top.navbar-shrink .navbar-header .navbar-brand.page-scroll	{
	-ms-transform: scale(0.7,0.7); /* IE 9 */
    -webkit-transform: scale(0.7,0.7); /* Safari */
    transform: scale(0.7,0.7); /* Standard syntax */
	top: -15px;
}
/*end for background logo*/

.navbar-fixed-top .navbar-header .navbar-brand.page-scroll{ top: 0px; position: absolute;}

/*active chapter nav size*/
.nav > li > a{padding: 6px 10px 6px 10px; margin: 9px 5px 9px 5px;}
/*end of active chapter nav size*/

.intro-text .intro-lead-in { font-size: 40px; font-weight: 400; font-family: lato; line-height: 120%; font-style: normal; padding-bottom:15px;}
.intro-text .intro-heading { font-size: 30px; font-weight: 300; font-family: lato; line-height: 120%; }
.intro-text .page-scroll.btn{ display: none;}

.custom-list{padding:0px;}
.custom-list li{ list-style: none; /*padding-top:5px;*/ /*display: table-row;*//* line-height: 180%; */   padding-left: 20px; text-indent: -18px; display: block;}
.custom-list li:before{ font-family:FontAwesome; content: "\f054"; color: #029fdb; font-size: 10px; padding-right: 10px; /*display: table-cell;*/ }
.custom-list li:first-child{padding-top:10px;}
/*.custom-list.no-padding li:first-child{padding-top:0px;}*/
.heading-container{padding-bottom:25px; border-bottom}


.timeline .timeline-heading{border-bottom: 1px solid #029fdb; /*margin-bottom:10px;*/}
.timeline .timeline-heading .subheading{ padding: 10px 0px 15px 0px;}
.timeline .timeline-body{  }

.timeline .timeline-image.custom-national{ background-image: url(../img/custom/icon-switzerland.png);}
.timeline .timeline-image.custom-canton{ background-image: url(../img/custom/icon-ticino.png);}
.timeline .timeline-image.custom-village{ background-image: url(../img/custom/icon-village.png);}
.timeline .timeline-image{ background-position: center center; background-size:cover; background-repeat: no-repeat;}



.timeline>li { /*padding-bottom: 30px;*/ /*margin-bottom: 3px;*/ background-image: url(../img/custom/timeline-arrow.png); background-position: center bottom;  background-size: auto; background-repeat: no-repeat;}
.custom-timeline-grey>li:last-child{background-color:#f7f4f4;  background-image:none; }
.custom-timeline-white>li:last-child, #wid10 .timeline>li:last-child{background-color:#ffffff;  background-image:none; }
.timeline>li .timeline-panel{text-align: left !important;}



.custom-eye-catcher-container{ display: none;  position: absolute; background: url(../img/custom/arrow.png); background-repeat: no-repeat; background-size: 33px 17px; left: 9px; margin-top:15px;/*top: 80px;*/ width: auto; /*right: 20px;*/ z-index:1; background-position:5px top; }
.custom-eye-catcher-container .custom-eye-catcher{ background-color: #029fdb; border-radius: 8px; margin-top:10px;}
.custom-eye-catcher-container .custom-eye-catcher p{color:#ffffff; font-size: 14px; text-align: center; margin: 0 auto; padding: 5px 15px 5px 15px;} 

/*NEW 20150928*/
#bilancio-ener-comunale{}
.fa-stack.fa-4x { border: 1px solid #029fdb;border-radius: 50%; background-color: #029fdb;}
.text-container{ border-top: 1px solid #b4c5cf; border-bottom: 1px solid #b4c5cf; padding-top:15px; padding-bottom:15px; margin-top:40px; text-align: left;}
.icon-container .iwt{ display:block; text-align: left; ;}
.icon-container .iwt i{ color:#029fdb; font-size: 37px; position: absolute; margin-top: -9px;}
.icon-container .iwt span{padding-bottom:4px; padding-left: 40px;}
.icon-container {padding-top:25px; /*border-top: 1px solid #b4c5cf;*/ margin-top:15px; }
.custom-title-pop-up{padding-top: 50px; padding-bottom: 20px !important;}

#bilancio-ener-comunale-time{}
#bilancio-ener-comunale-time .custom-list li{min-width: 100%;}
#bilancio-ener-comunale-time .custom-list li span{display: inline-block; float:right;}
#bilancio-ener-comunale-time .custom-list li.timeline-first-li-el:before{ content:"\f057"/*"\f055"*/; color: #029fdb; font-size: 20px;}
#bilancio-ener-comunale-time .custom-list li.timeline-second-li-el:before{ content:"\f058"/*"\f055"*/; color: #029fdb; font-size: 20px;} 	
#bilancio-ener-comunale-time .custom-list li.timeline-third-li-el:before{ content:"\f0a9"; color: #029fdb; font-size: 20px;}

/* legenda*/
.custom-orizontal-list{text-align:left; margin-top:40px;} 
.custom-orizontal-list div{margin-bottom:20px;}
.custom-orizontal-list .fa-circle{ content:"\f111"; color: #029fdb; font-size: 20px; padding-right:10px; }


#potenziale-ener-bullets{}
.values-container{ padding-top:15px; margin-top:20px; border-top: 1px solid #b4c5cf;}
.double-column-custom{ padding-top:70px;}
.double-column-custom-padding{padding-top: 120px;}
.custom-special-text-section, .custom-text-section{ padding-top:75px; padding-bottom:75px;  background-color: #d5ebf8; }
..custom-text-section-no-background{padding-top:75px; padding-bottom:75px; }
.custom-special-text-section .text-center{padding-bottom:0px;}
.custom-special-text-section h4{text-transform: none;}
.custom-special-text-section h3,.custom-special-text-section h5{display: inline-block;}
/*.custom-special-text-section .icon-reduction{background-image: url(../img/custom/icon-reduction.png); background-repeat: no-repeat; background-position: top right; background-size:auto; height: 88px;}*/
.custom-special-text-section .icon-reduction{height: 88px; font-size: 82px;}
 
.custom-white-arrow{background-image: url(../img/custom/white-arrow.png); background-repeat: no-repeat; background-position: center top; background-size:auto;}
.custom-grey-arrow{background-image: url(../img/custom/grey-arrow.png); background-repeat: no-repeat; background-position: center top; background-size:auto;}
.custom-blue-arrow{background-image: url(../img/custom/blue-arrow.png); background-repeat: no-repeat; background-position: center top; background-size:auto; padding-top:30px;}

.custom-text-section h4{padding-bottom:10px;}

#visioni-obiettivi-futuri{}
/*#visioni-obiettivi-futuri .timeline>li:last-child{background-color:#f7f4f4;  background-image:none; }*/
#visioni-obiettivi-futuri .custom-list li{ min-width: 100%; }
#visioni-obiettivi-futuri .custom-list li{ border-bottom: 1px solid #b4c5cf; }
#visioni-obiettivi-futuri .custom-list li:last-child{ border-bottom: none; }
#visioni-obiettivi-futuri .custom-list li span{display: inline-block; float:right;}
.custom-switcher{margin-bottom:90px; border-bottom: 1px solid #b4c5cf; text-align:center; }

.custom-switcher li a{color: #dddddd; border-top-color:#dddddd; border-left-color:#dddddd; border-right-color:#dddddd;}
.custom-switcher li a:hover{color: #029fdb;}
.custom-switcher li.active a{color: #029fdb; border-top-color: #b4c5cf; border-left-color: #b4c5cf; border-right-color: #b4c5cf;}
.custom-switcher li.active a:hover,.custom-switcher li.active a:focus{color: #029fdb !important; border-top-color: #b4c5cf; border-left-color: #b4c5cf; border-right-color: #b4c5cf;}
.custom-switcher li.active a, .custom-switcher li.active a:hover, .custom-switcher li.active a:focus{background-color: #f7f4f4 !important;}
.custom-switcher > li {float: none; margin-bottom: -1px; min-width: 74px; display: inline-block;}


.custom-switcher > li > a{margin: 0 auto;}
/*.second-tab-content{display: none;}
*/
.tab-content > .tab-pane{display: none !important;}
.tab-content > .tab-pane.active{display: block !important;}
#potenziale-ener-prod-graf{}
#strategie-inter-rin{}/*
#strategie-inter-rin .col-md-4:after{font-family:FontAwesome; content: "\f067"; color: #029fdb; font-size: 40px; margin-left: 115px; position: absolute}
#strategie-inter-rin .col-md-4:nth-of-type(3):after{content: "";}*/

#stima-costi-sussid{}
#pre-footer{ background-attachment: scroll; background-image: url("../img/custom/footer.png"); background-position: center bottom; background-size: 100% auto; background-repeat: no-repeat; color: #fff; height: 395px; }

.custom-icon-section .icon-container .iwt{text-align:center;}
.custom-icon-section .icon-container .iwt i{position:relative;}
.custom-icon-section .custom-eye-catcher-container {top: 44px;}
.custom-icon-section .custom-eye-catcher-container{background-position: center top; left: 0px;}

.timeline .custom-eye-catcher-container{margin-top: -5px;}

.timeline > li .timeline-panel .custom-eye-catcher-container{margin-left:80px;}
.timeline > li.timeline-inverted > .timeline-panel .custom-eye-catcher-container{margin-left:0px;}
@media only screen and (max-width:1199px){
	.timeline > li .timeline-panel .custom-eye-catcher-container{margin-left:0px;}
}
@media only screen and (max-width:767px){
	.timeline > li .timeline-panel .custom-eye-catcher-container, .timeline > li.timeline-inverted > .timeline-panel .custom-eye-catcher-container{margin-left:80px;}
}


.custom-grey-background{background-color: #f7f4f4;}

.custom-carousel-slider img{ max-width:300px; width: 100%; margin: 0 auto;}
.custom-carousel-slider a, .custom-carousel-slider a:hover{ background-image: none !important; background-color: transparent !important;}
.custom-carousel-slider .carousel-control{width:10%;}
.custom-carousel-slider .carousel-inner{width: 80%; margin: 0 auto;}
.custom-carousel-slider .carousel-inner h4{padding-bottom:20px;}
.custom-carousel-slider .carousel-indicators {bottom: -45px;}
.custom-carousel-slider .glyphicon.glyphicon-chevron-left, .custom-carousel-slider .glyphicon.glyphicon-chevron-right{color: #029fdb; }
.custom-carousel-slider li{border-color: #029fdb;}
.custom-carousel-slider li.active{background-color:#029fdb;}



.calore_ambientale{background-image:url("../img/custom/icons/calore_ambientale.png"); background-position: center center; background-size: 100% auto; background-repeat: no-repeat; }
.energia_solare{background-image:url("../img/custom/icons/energia_solare.png"); background-position: center center; background-size: 100% auto; background-repeat: no-repeat; }
.idroelettrico{background-image:url("../img/custom/icons/idroelettrico.png"); background-position: center center; background-size: 100% auto; background-repeat: no-repeat; }
.legna{background-image:url("../img/custom/icons/legna.png"); background-position: center center; background-size: 100% auto; background-repeat: no-repeat; }

@media only screen and (max-width:992px){
	#strategie-inter-rin-graf img{padding-top: 20px;}
	.custom-carousel-slider .col-md-7{padding-top:20px;}
}

.custom-passive-box{opacity: 0.5;}
/*20150922*/
.img-responsive.custom-padding{padding-bottom:60px; padding-top:80px;}
/*end of 20150922*/


footer{ 
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7db9e8+0,029fdb+51,1e5799+100 */
background: #7db9e8; /* Old browsers */
background: -moz-linear-gradient(top, #7db9e8 0%, #029fdb 51%, #1e5799 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7db9e8), color-stop(51%,#029fdb), color-stop(100%,#1e5799)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #7db9e8 0%,#029fdb 51%,#1e5799 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #7db9e8 0%,#029fdb 51%,#1e5799 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #7db9e8 0%,#029fdb 51%,#1e5799 100%); /* IE10+ */
background: linear-gradient(to bottom, #7db9e8 0%,#029fdb 51%,#1e5799 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7db9e8', endColorstr='#1e5799',GradientType=0 ); /* IE6-9 */
}
footer a{}

/*#fusionDiv_visio1 .raphael-group-649-background rect, #fusionDiv_visio1 .raphael-group-656-canvas rect{fill: transparent !important;}
#fusionDiv_visio1 #raphael-paper-648{background-color: transparent !important;}*/
#sanko{border: 0px !important;}
#sanko > div{overflow: hidden !important;}


a.custom-internal-page-link{color: #029fdb;}
a.custom-internal-page-link:hover{color: #085879;}

@media only screen and (max-width:1023px){

	
	h2{ font-size: 30px;}
	/*global margin for each column*/
	.col-md-4{margin-bottom: 65px;}
	
	.custom-special-text-section .icon-reduction{ background-position: center top; margin-bottom:20px;}
	.custom-special-text-section .text-right, .custom-special-text-section .text-left{ text-align: center; }
	
	.double-column-custom{padding-top: 0px;}
	
	/*.collapse.navbar-collapse{display:none !important;}
	.navbar-header.page-scroll{display:block !important;}*/
}
@media only screen and (max-width:767px){
	h2{ font-size: 22px;}
	h3{ font-size: 18px;}
	h4{ font-size: 18px;}
	h5{ font-size: 36px;}
	body, p{font-size: 14px !important;}
	.timeline>li{background-image: none;}
	.navbar-fixed-top .navbar-header .navbar-brand.page-scroll img{ height: 70px; }
	
	/*for background logo*/	
	.navbar-fixed-top .navbar-header .navbar-brand.page-scroll{
		-ms-transform: scale(0.7,0.7); /* IE 9 */
		-webkit-transform: scale(0.7,0.7); /* Safari */
		transform: scale(0.7,0.7); /* Standard syntax */
	}
	/*end for background logo*/
	
	.navbar-fixed-top a{ color: #085879 !important;}
	.navbar-fixed-top a:hover{color: #000000 !important;}
	.navbar-fixed-top .navbar-header.page-scroll{ background-color: #ffffff !important;} 
	.navbar-fixed-top .navbar-header.page-scroll,.navbar-fixed-top.navbar-shrink{height:70px;}
	.navbar-fixed-top .navbar-header.page-scroll .navbar-toggle{margin-top:18px; margin-right:20px; }
	.navbar-fixed-top .navbar-collapse.collapse.in, .navbar-fixed-top .navbar-collapse.collapse, .navbar-fixed-top .navbar-collapse.collapsing{background-color: #d5ebf8 !important;}
	
	.intro-text .intro-lead-in, .intro-text .intro-heading  { font-size: 22px; }
	
	.timeline .timeline-panel{padding-top:30px !important;}
	
	/*20150922*/
	.col-lg-12.text-center{padding-bottom:50px;}
	.col-sm-3, .col-sm-4{padding-bottom:40px;}
	.heading-container{padding-bottom:15px;}
	.text-container {margin-top:20px; padding-top: 0px;}
	.service-heading{margin: 0 auto !important;}
	/*end of 20150922*/
	
}


.text-muted {
    /*color: #777;*/
}

.text-primary {
    color: #029fdb;
}

/*p {
    font-size: 14px;
    line-height: 1.75;
	
}*/

p.large {
    font-size: 16px;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
}

a {
    color: #ffffff;
}

a:hover,
a:focus,
a:active,
a.active {
    color: #d5ebf8;
}



.img-centered {
    margin: 0 auto;
}

.bg-light-gray {
    background-color: #f7f7f7;
}

.bg-darkest-gray {
    background-color: #222;
}

.btn-primary {
    border-color: #029fdb;
    text-transform: uppercase;
    font-family: lato,Arial,sans-serif;
    font-weight: 700;
    color: #fff;
    background-color: #029fdb;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    border-color: #f6bf01;
    color: #fff;
    background-color: #fec503;
}

.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-image: none;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    border-color: #029fdb;
    background-color: #029fdb;
}

.btn-primary .badge {
    color: #029fdb;
    background-color: #fff;
}

.btn-xl {
    padding: 20px 40px;
    border-color: #029fdb;
    border-radius: 3px;
    text-transform: uppercase;
    font-family: lato,Arial,sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background-color: #029fdb;
}

.btn-xl:hover,
.btn-xl:focus,
.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    border-color: #f6bf01;
    color: #fff;
    background-color: #fec503;
}

.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    background-image: none;
}

.btn-xl.disabled,
.btn-xl[disabled],
fieldset[disabled] .btn-xl,
.btn-xl.disabled:hover,
.btn-xl[disabled]:hover,
fieldset[disabled] .btn-xl:hover,
.btn-xl.disabled:focus,
.btn-xl[disabled]:focus,
fieldset[disabled] .btn-xl:focus,
.btn-xl.disabled:active,
.btn-xl[disabled]:active,
fieldset[disabled] .btn-xl:active,
.btn-xl.disabled.active,
.btn-xl[disabled].active,
fieldset[disabled] .btn-xl.active {
    border-color: #029fdb;
    background-color: #029fdb;
}

.btn-xl .badge {
    color: #029fdb;
    background-color: #fff;
}

.navbar-default {
    border-color: transparent;
    background-color: #222;
}

.navbar-default .navbar-brand {
    font-family: lato,Arial,sans-serif;
    color: #029fdb;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:active,
.navbar-default .navbar-brand.active {
    color: #fec503;
}

.navbar-default .navbar-collapse {
    border-color: rgba(255,255,255,.02);
}

.navbar-default .navbar-toggle {
    border-color: #085879;
    background-color: #085879;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #029fdb;
}

.navbar-default .nav li a {
    text-transform: uppercase;
    font-family: lato,Arial,sans-serif;
    font-weight: 400;
    letter-spacing: 0px;
    /*color: #fff;*/
}

.navbar-default .nav li a:hover,
.navbar-default .nav li a:focus {
    outline: 0;
    color: #d5ebf8;
}

.navbar-default .navbar-nav>.active>a {
    border-radius: 0;
    color: #fff;
    background-color: #029fdb; 
 	
}

.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #fff;
    background-color: #029fdb;
}

@media(min-width:768px) {
    .navbar-default {
        padding: 25px 0;
        border: 0;
        background-color: transparent;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
    }

    .navbar-default .navbar-brand {
        font-size: 2em;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }

    .navbar-default .navbar-nav>.active>a {
        border-radius: 3px;
    }

    .navbar-default.navbar-shrink {
        padding: 10px 0;
        background-color: #222;
    }

    .navbar-default.navbar-shrink .navbar-brand {
        font-size: 1.5em;
    }
}

header {
    text-align: center;
    color: #fff;
	background-color: #2b9bda;
    background-attachment: scroll;
    background-image: url(../img/custom/header.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
	background-size: 100% auto;
    /*-webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;*/
}

header .intro-text {
    padding-top: 150px;
    padding-bottom: 150px;
}



@media(min-width:768px) {
    header .intro-text {
        /*padding-top: 220px;
        padding-bottom: 220px;*/
		padding-top: 260px;
        padding-bottom: 260px;
    }

}

section {
    padding: 100px 0;
}




@media(min-width:768px) {
    section {
        padding: 115px 0;
    }
}

.service-heading {
    margin: 15px 0;
    /*text-transform: none;*/
}

#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 .portfolio-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(254,209,54,.9);
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
    opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-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 .portfolio-hover .portfolio-hover-content i {
    margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
    margin: 0;
}

#portfolio .portfolio-item .portfolio-caption {
    margin: 0 auto;
    padding: 25px;
    max-width: 400px;
    text-align: center;
    background-color: #fff;
}

#portfolio .portfolio-item .portfolio-caption h4 {
    margin: 0;
    text-transform: none;
}

#portfolio .portfolio-item .portfolio-caption p {
    margin: 0;
    font-family: lato,Arial,sans-serif;
    font-size: 16px;
    font-style: italic;
}

#portfolio * {
    z-index: 2;
}

@media(min-width:767px) {
    #portfolio .portfolio-item {
        margin: 0 0 30px;
    }
}

.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 1px;
    margin-left: -1.5px;
    background-color: #22abdf;
}

.timeline>li {
    position: relative;
    /*margin-bottom: 50px;*/
    min-height: 50px;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li .timeline-panel {
    float: right;
    position: relative;
    width: 100%;
    padding: 0 20px 0 100px;
    text-align: left;
}

.timeline>li .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline>li .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline>li .timeline-image {
    z-index: 100;
    position: absolute;
    left: 0;
    width: 80px;
    height: 80px;
    margin-left: 0;
    border: 1px solid #22abdf;
    border-radius: 100%;
    text-align: center;
    color: #fff;
   background-color: #ffffff;
}

.timeline>li .timeline-image h4 {
    margin-top: 12px;
    font-size: 10px;
    line-height: 14px;
}

.timeline>li.timeline-inverted>.timeline-panel {
    float: right;
    padding: 0 20px 0 100px;
    text-align: left;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline>li:last-child {
    margin-bottom: 0;
}

.timeline .timeline-heading h4 {
    margin-top: 0;
}

.timeline .timeline-heading h4.subheading {
    text-transform: none;
}

.timeline .timeline-body>p,
.timeline .timeline-body>ul {
    margin-bottom: 0;
}

@media(min-width:768px) {
    .timeline:before {
        left: 50%;
    }

    .timeline>li {

        min-height: 100px; 
		
    }

    .timeline>li .timeline-panel {
        float: left;
        width: 41%;
        padding: 0 20px 20px 30px;
        text-align: right;
    }

    .timeline>li .timeline-image {
        left: 50%;
        width: 100px;
        height: 100px;
        margin-left: -50px;
    }

    .timeline>li .timeline-image h4 {
        margin-top: 16px;
        font-size: 13px;
        line-height: 18px;
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        float: right;
        padding: 0 30px 20px 20px;
        text-align: left;
    }
}

@media(min-width:992px) {
    .timeline>li {
        min-height: 150px;
    }

    .timeline>li .timeline-panel {
        padding: 0 20px 20px;
    }

    .timeline>li .timeline-image {
        width: 140px;
        height: 140px;
        margin-left: -69px;
    }

    .timeline>li .timeline-image h4 {
        margin-top: 30px;
        font-size: 18px;
        line-height: 26px;
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        padding: 0 20px 20px;
    }
}

@media(min-width:1200px) {
    .timeline>li {
        min-height: 170px;
    }

    .timeline>li .timeline-panel {
        padding: 0 20px 20px 100px;
    }

    /*.timeline>li .timeline-image {
        width: 170px;
        height: 170px;
        margin-left: -85px;
    }*/

    .timeline>li .timeline-image h4 {
        margin-top: 40px;
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        padding: 0 100px 20px 20px;
    }
}

.team-member {
    margin-bottom: 50px;
    text-align: center;
}

.team-member img {
    margin: 0 auto;
    border: 7px solid #fff;
}

.team-member h4 {
    margin-top: 25px;
    margin-bottom: 0;
    text-transform: none;
}

.team-member p {
    margin-top: 0;
}

aside.clients img {
    margin: 50px auto;
}

section#contact {
    background-color: #222;
    background-image: url(../img/map-image.png);
    background-position: center;
    background-repeat: no-repeat;
}

section#contact .section-heading {
    color: #fff;
}

section#contact .form-group {
    margin-bottom: 25px;
}

section#contact .form-group input,
section#contact .form-group textarea {
    padding: 20px;
}

section#contact .form-group input.form-control {
    height: auto;
}

section#contact .form-group textarea.form-control {
    height: 236px;
}

section#contact .form-control:focus {
    border-color: #029fdb;
    box-shadow: none;
}

section#contact::-webkit-input-placeholder {
    text-transform: uppercase;
    font-family: lato,Arial,sans-serif;
    font-weight: 700;
    color: #bbb;
}

section#contact:-moz-placeholder {
    text-transform: uppercase;
    font-family: lato,Arial,sans-serif;
    font-weight: 700;
    color: #bbb;
}

section#contact::-moz-placeholder {
    text-transform: uppercase;
    font-family: lato,Arial,sans-serif;
    font-weight: 700;
    color: #bbb;
}

section#contact:-ms-input-placeholder {
    text-transform: uppercase;
    font-family: lato,Arial,sans-serif;
    font-weight: 700;
    color: #bbb;
}

section#contact .text-danger {
    color: #e74c3c;
}

footer {
    padding: 25px 0;
    text-align: center;
}

footer span.copyright {
    text-transform: uppercase;
    text-transform: none;
    font-family: lato,Arial,sans-serif;
    line-height: 65px;
	color: #ffffff;
}

footer ul.quicklinks {
    margin-bottom: 0;
    text-transform: uppercase;
    text-transform: none;
    font-family: lato,Arial,sans-serif;
    line-height: 40px;
}

ul.social-buttons {
    margin-bottom: 0;
}

ul.social-buttons li a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 40px;
    outline: 0;
    color: #fff;
    background-color: #222;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

ul.social-buttons li a:hover,
ul.social-buttons li a:focus,
ul.social-buttons li a:active {
    background-color: #029fdb;
}

.btn:focus,
.btn:active,
.btn.active,
.btn:active: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-bottom: 15px;
    font-size: 3em;
}

.portfolio-modal .modal-content p {
    margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 30px;
    font-family: lato,Arial,sans-serif;
    font-size: 16px;
    font-style: italic;
}

.portfolio-modal .modal-content ul.list-inline {
    margin-top: 0;
    margin-bottom: 30px;
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.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: #222;
    -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: #222;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

::-moz-selection {
    text-shadow: none;
    background: #029fdb;
}

::selection {
    text-shadow: none;
    background: #029fdb;
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: #029fdb;
}
@media only screen and (max-width:767px){
	section {
		padding: 70px 0;
	}
}