@import url('https://fonts.googleapis.com/css?family=Raleway:400,700');

.modal-content{
    border-radius: 0;
}

.modal-open .modal{
    background: rgba(0, 0, 0, 0.75);
}

.form-control:focus {
    border-color: #108537;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgb(16, 133, 55);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgb(16, 133, 55);
}

/*
 * Row with equal height columns
 * --------------------------------------------------
 */
.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}

*{
	font-family: 'Raleway', sans-serif;
}

a{
	transition: all 0.25s linear;
}

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5{
    color: #108537;
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
}

h1, .h1{
    color: #000000;
    font-size: 2em;
    text-transform: uppercase;
}

a {
    color: #108537;
    text-decoration: none;
}

nav a:after, nav a.link:after{
	display: block;
    content: '';
    width: 100%;
    margin-top: 2px;
    height: 2px;
    background: #ffffff;
    transition: all 0.25s linear;
    opacity: 0;
}

nav a:hover:after, nav a.link:hover:after{
	opacity: 1;
}

.left.carousel-control span:before, .right.carousel-control span:before{
    background: rgba(255, 255, 255, 0.65);
    border-radius: 50px;
    padding: 11px 0;
    width: 50px;
    height: 50px;
    display: block;
}

.carousel-caption{
	color: #ffffff;
	background-color: rgba(0,0,0,0.5);
}

.carousel-caption h3{
	font-size: 4em
}
.carousel-caption h4{
	font-size: 2em
}

/** popupleft **/
#popupleft{
	position: fixed;
	height: 230px;
	top: calc( 50% - 115px );
	right:0;
    z-index: 100;
}

#popupleft .lebel{
    height: 200px;
    float: left;
    width: 30px;
    background: #108537;
    box-shadow: -3px 0 5px rgba(0, 0, 0, 0.75);
    position: relative;
}

#popupleft .lebel a {
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    float: left;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}

#popupleft .content{
	display: none;
	height: 200px;
    position: relative;
    top: 0;
    float: right;
    background: #eeeeee;
    padding: 10px;
    box-sizing: border-box;
}

#popupleft .content h3{
	font-size: 1.5em;
	font-weight: bold;
    margin-top: -7px;
}

#popupleft .content ul, #popupleft .content ul li{
	padding: 0; margin: 0; list-style: none;
}

#popupleft .content ul li a{
	padding: 10px 5px;
    background: #ffffff;
    display: block;
    margin-top: 10px;
    color: #000000;
}

.btn{
    border-radius: 0;
}

.btn-default{
    background: #108537;
    color: #ffffff;
    text-transform: uppercase;
    border:0;
}
.btn-default:hover{
    background: #108537;
    color: #ffffff;
    border:0;
    text-decoration: underline;
}

/** maps case history */
.case-history-maps {
    width: 100%;
    min-height: 550px;
    border: #ccc solid 1px;
    margin: 0;
    min-width: 360px;
}

.ch-map-box{
    width: 300px;
    min-height: 120px;
}

/** widget categorie */
.widgettitle{
    margin-top: 0px;
    text-transform: uppercase;
}
#dinamic-sidebar>div{
    margin-top: 0;
    padding-top: 15px;
    border-top: 3px solid #108537;
    padding-bottom: 15px;
    border-bottom: 3px solid #108537;
    margin-bottom: 15px;
}
#dinamic-sidebar ul, #dinamic-sidebar li{
    list-style: none;
    padding: 0;
}
#dinamic-sidebar li a{
    font-size: 1.2em;
    color: #000000;
}
#dinamic-sidebar li a:hover{
    color: #108537;
}
.widget-custom ul, .widget-custom li{
    list-style: none;
    padding: 0;
}
.widget-custom li{
    margin-bottom: 15px;
}

aside .widget-custom .h2{
    font-size: 1.5em;
    margin-top: 40px;
    margin-bottom: 15px;
}


.permalink_wrapper{
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 20px;
    border-top: 3px solid #108537;
    border-bottom: 3px solid #108537;
}

.permalink_wrapper a,
.date,
#loop-servizi .single-servizio .permalink{
    color: #bbbbbb;
}

.permalink_wrapper a:hover{
    color: #108537;
}

i.fa{
    font-size: 1.5em;
}

.tagcloud a{
    border: 1px solid #108537;
    padding: 2px;
}

.post-tags a{
    color: #108537;
    display: inline-block;
    margin-left: 5px;
    font-size: 1.2em;
}
.post-tags a:after{
    content: ',';
    color: #108537;
    margin-right: 5px;
}

.comment-form-comment textarea{
    display: block;
    width: 100%;
    border-color: #d4dad8;
}

#submit{
    background: #108537;
    color: #ffffff;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 0;
}

.comment-body{
    margin-top: 20px;
    border-bottom: 3px solid #eeeeee;
    padding-bottom: 15px;
}

.comment-meta.commentmetadata{
    margin-top: 10px;
    margin-bottom: 10px;
}

.btn-primary{
    background-color: transparent;
    border: 0;
    color: #000000;
    padding: 5px 0px;
}

.btn-primary:hover{
    color: #108537;
    background-color: transparent;
    text-decoration: underline;
}

/** page **/
#page .h2{
    border-top: 3px solid #108537;
    border-bottom: 3px solid #108537;
    padding: 15px 0;
    font-size: 1.75em;
}

#page figure.primary{
    margin-bottom: 40px;
}

.owl-page span{
    background-color: #108537;
    border: 3px solid #ffffff;
    box-shadow: 0px 0px 5px #108537;
    padding: 5px;
}

.acf-map {
    width: 100%;
    min-height: 450px;
    border: #ccc solid 1px;
    margin: 0;
    min-width: 360px;
}

/* form */
#hidden-form-fields{
    height: 0px;
    width: 0px;
}

input, select, textarea{
    padding: 5px;
    width: 100%;
}

select{
    padding: 7px;
    border-radius: 0;
}

.wpcf7-submit{
    background: #5b3416;
    color: #ffffff;
    font-size: 1.25em;
    border: 0;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    margin-top: 25px;
}

#contactform .row>div{
    margin-top: 20px;
}

#section-form{
    clear: both;
    padding-top: 40px;
}

#comment-box{
    margin-top: 40px;
}

.glyphicon.glyphicon-chevron-left:before{
        content: "\f104";
        font-family: FontAwesome;
}
.glyphicon.glyphicon-chevron-right:before{
    content: "\f105";
    font-family: FontAwesome;
}

/** case history **/
.btn-ch{
    width: 225px;
}

.btn{
    transition: all 0.25s linear;
}

/*.btn:hover{
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.75);
}*/

.btn-gray{
    background: #777777;
    color: #ffffff;
    width: 100%;
    text-align: center;
}
.btn-gray:hover{
    color: #ffffff;
}

.case-history-label{
    font-size: 1.2em;
    font-weight: bold;
}

.case-history-label.cliente{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    display: block;
}

.single-case-history-box{
    padding: 0;
    position: relative;
    overflow: hidden;
}

.single-case-history-box .caption{
    position: absolute;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    width: 100%;
    transform: translateY(-50%);
    padding: 0px 50px;
    z-index: 20;
    transition: all 0.25s linear;
    top: 150%;
}

.single-case-history-box .caption strong{
    display: block;
    width: 100%;
    z-index: 30;
    font-size: 1.75em;
    margin-bottom: 20px;
}

.single-case-history-box .caption strong.service{
    color: #108537;
    display: block;
    line-height: 0.8em;
}

.single-case-history-box a img{
    border: 2px solid #5b3416;
}

.single-case-history-box a:hover img{
    border: 2px solid #108537;
    z-index: 1;
}

.single-case-history-box a:hover .caption{
    top: 50%;
}

.single-case-history-box a:after{
    content: ' ';
    display: block;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 10;
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    transition: all 0.25s linear;
}

.single-case-history-box a:hover:after{
    opacity: 0.7;
}

/** filtro case history */
#filtro_case_history{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    float: left;
}
#filtro_case_history select{
    border-radius: 0;
    width: auto;
    float: left;
    margin-right: 5px;
}

#testimonianze_case_history .h2{
    text-transform: uppercase;
    font-size: 1.5em;
}

#testimonianze_case_history .testo_della_testimonianza{
    font-weight: bold;
    font-size: 1.2em;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current{
    border-color: transparent;
    background: #108537;
    color: #ffffff;
    text-decoration: none;
    font-weight: normal;
}

.wp-pagenavi a, .wp-pagenavi span{
    padding: 10px 10px;
    font-size: 1.25em;
}

.filter-text-wrapper{
    font-weight: bold;
}

.allegato-wrapper{
    border: 1px solid #cccccc;
    padding: 15px 10px;
    margin: 0;
}

.allegato-wrapper .col-md-3{
    height: auto !important;
    text-align: right;
}

.allegato-wrapper a{
    margin-left: 5px;
}

#testo_breve_secondario{
    margin-top: 20px;
    margin-bottom: 20px;
    color: #108537;
    font-size: 1.2em;
}

#pagina-evidenza .content-wrapper a{
    font-size: 1em;
    padding: 5px;
    background: #108537;
}

#info-case-hostory .tag{
    display: inline-block;
    margin-right: 10px;
    text-decoration: underline;
}

.box-case_history .h3 a{
    text-decoration: none;
    color: #000000;
}

.box-case_history .h5{
    color: #000000;
    float: left;
    margin: 0;
}

.box-case_history .content ul, .box-case_history .content li{
    list-style: none;
    padding: 0;
}

.box-case_history .content li{
    float: left;
    margin-right: 15px;
}
.box-case_history .content li a:after{
    content: ' ,';
}
.box-case_history .content li:last-child a:after{
    content: '';
}

hr{
    margin: 10px 0px;
}

.box-case_history .content{
    margin-top: 15px;
}

.single-cliente img{
    filter: saturate(0);
    width: 60px;
}
.single-cliente span{
    margin-left: 15px;
}

.single-cliente a *{
    transition: all 0.25s linear;
}

.single-cliente a:hover img{
    filter: saturate(1);
}

.single-cliente{
    margin-bottom: 10px;
}

#filtro_case_history option[disabled="disabled"]{
    background: #cccccc;
    color: #8c8c8c;
}

.item.next .carousel-caption {
    opacity: 0;
}

.carousel-caption {
  transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -webkit-transition: opacity .5s ease-in-out;
}

#logo-mobile{
    display: inline-block;
    width: 150px;
    float: left;
    margin-left: 45px;
    margin-top: -15px;
}

.btn-default-gray{
    background: #dddddd;
}

.btn-default-gray:hover, .btn-default-gray:focus, .btn-default-gray:active, .btn-default-gray.active{
    background: #0f8537;
    color: #ffffff;
}

.enu_warning {
    background-color: #108537;
}

.enu_error {
    background-color: #108537;
}