#info.infobox481 p {
    display: inline;
    font-size: 17px;
    font-weight: bolder;
}

.first_page_home .owl-item:not(:first-child) .item h1 {
    text-align: left;
    font-weight: bolder;
    border-color:#3582c1;
}

.first_page_home .owl-wrapper-outer .item p {
    text-align: left;
}

.first_page_home .top .content .button .custom-btn {
    float: left;
}

.secondary_page .body_page img {
    height: 300px;
    width: 500px;
    display: inline !important;
    cursor: pointer;

}
.attachment.images {
    float: left;
}

.body_page {
    display: inline;
    float: right;
    width: 50%;
}

#info .body_page  {
    width: 100%;
}
#custom-form-form_contatti .form-actions input {
    background-color: #3582c1;
    color: #fff;
}
#custom-form-form_contatti .formfield label {
    display: inline;
}
#custom-form-form_contatti .formfield {
    width: 95%;
}

#section_footer .container {
    position: absolute;
    right:0;
    left:0;
    padding-top: 13px;
}

#custom-form-form_contatti .form-actions input:hover {
    background-color: #fff;
    color: #3582c1;
    border-color: #3582c1;
}

.secondary_page .body_page img:hover {
    opacity: 0.7;
}
.resizable_bg_img_server {
    background-size: cover !important;
    background-repeat: no-repeat;
}
.secondary_page ul {
    line-height: 18px;
}


.box-background_slider h5 {
    margin-top: 55px;
}

.first_page_home .owl-wrapper-outer .item h1>span {
    display: block;
    font-size: 48px;
}

#portfolio .media-body span {
    display: block;
}

section.attachment.images {
    width: 50%;
}

.widget_simple_search_Portfolio {
    float: right;
}

footer img {
    float: left;
    margin: auto;
    margin-bottom: 5px;
    margin-top: 10px;
    margin-right: 15px;
}

footer h5 {
    position: inherit;
    margin: auto;
    font-size: 12px;
}

footer td h5 {
    text-align: left;
}

footer h5 a {
    color: #333;
}

footer table {
    width: 100%;
}

footer td div {
    margin-top: 10px;
}
.no_evidenza_child h1 {
    font-size: 70px;
    color: #3582c1;
    border-bottom:0;
    padding-bottom: 0px;
    text-align: center;
    text-shadow: 1px 1px 1px #333;
    font-weight: 500;
}

.no_evidenza_child p {
    font-size: 30px;
    color: #fff;
    text-align: center !important;
    font-weight: 500;
    text-shadow: 1px 1px 1px #333;
}

.search-media-container {
    width: 245px;
    float: none;
    display: inline-block;
    overflow: hidden;
    position: relative;
}

.search-media-container .media {
    text-align: left;
    line-height: 18px;
    overflow: hidden;
    border: 1px solid #ffffff;
    position: relative;
    margin: 12px 0px 13px 0px;
}

.search-media-container .media-left img{
    max-width: none;
}


.search-media-container .media h4 {
    text-align: left;
    font-size: 18px !important;
    padding-left: 5px;
}

.search-media-container .media h4 a {
    color: #3c8dbc;
    cursor: pointer;
}

.search-media-container .media .media-body {
    max-height: 180px;
    overflow: hidden;
}

.search-media-container .media .read-more-link {
    position: absolute;
    bottom: 5px;
    right: 15px;
}

.search-media-container .media-body {
    opacity: 0;
}
/**********MEDIA TITLE **********/
.search-media-container .media-title   {
    position: absolute;
    bottom: 0px;
    width: 94%;
    background-color: rgba(51, 122, 183, .9);
    margin:0px;
    opacity: 1;
    padding: 10px;
    transition: all 0.5s ease;
}
.search-media-container:hover .media-title {
    opacity: 1;
    cursor: pointer;
    bottom: 0px;
}
.search-media-container .media-title h4 {
    color: #ffffff;
}

.search-media-container .media-title h4:last-child {
    display: none;
}
.search-media-container:hover .media-title h4:last-child {
    display: inherit;
}

/**********END MEDIA TITLE **********/

article.search-media-container .media img {
    cursor: pointer;
}
.search-media-container .media-left, .media>.pull-left {
    padding-right: 0px;
}

.search-media-container:hover .media-body {
    opacity: 1;
}

.search-media-container:hover .media {
    border: 1px solid #ffffff;

}

.search-media-container:hover img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: all 1s ease;
}

.search-media-container img {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

#portfolio .container {
    text-align: center;
}
#portfolio .modal-body .container {
    width: 970px;
}

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

#portfolio .media-body h4 {
    color: #337ab7;
    cursor: pointer;
}
#portfolio a>h4 {
    margin-top: 0px;
}

#portfolio .media .close_box {
    float: right;
}

.detail_portfolio {
    margin-top: 50px;
    margin-bottom: 50px;
}
#portfolio article .close {
    position: absolute;
    right: -8px;
    top: -9px;
    font-size: 26px;
    background-color: #fff;
    padding: 0px;
    line-height: 17px;
    opacity: 1;
}
#portfolio article .close span {
    color: #000;
}

#portfolio article .close span:focus:active {
    outline: 0;
    outline:none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#portfolio .media-body h3 {
    margin-top: 5px;
    font-size: 15px;
    line-height: 23px;
}

.modal-body .body_page div {
    display: inline-block;
    margin-bottom: 0px;
    margin-top: 5px;
    font-size: 15px;
    line-height: 23px;
    font-weight: 500;
    width: 100%;
    text-align: left;
}

.modal .modal-dialog {
    width: 1000px;
}
#portfolio_slider_modal .scrolling_section .container {
    width: 970px !important;
}
#portfolio_slider_modal .modal-body .container .header_page {
    display: none;
}

#portfolio_slider_modal .modal-header h4.modal-title {
    font-size: 18px;
    color: #333333;
    text-align: center;
}
.read_more {
    cursor: pointer;
}
.read_more:hover {
    color: #337ab7;
}
.infobox_maps {
    height: 450px;
}
@media (max-width: 1367px) {
    #cms.secondary_page h4 {
        line-height: 16px;
        font-size: 16px !important;
    }

    #cms.secondary_page h3 {
        font-size: 20px !important;
    }
    .secondary_page h4 {
        line-height: 22px!important;
    }
}

@media (max-width: 1023px) {
    .secondary_page h4 {
        font-size: 15px;
    }
    .top .content h1 {
        margin-top: 0px;
        font-size: 60px;
    }
    .top .content p {
        font-size: 15px;
    }
    .secondary_page ul {
        line-height: 15px;
    }
    footer td:first-child h5 {
        font-size: 10px;
    }
    #cms.secondary_page h3 {
        display: block;
        font-size: 20px;
    }
    #cms.secondary_page h4 {
        font-size: 15px;
    }

    #customization.secondary_page h4 {
        font-size: 14px;
    }
    section.attachment.images {
        width: 100%;
    }
    .body_page {
        width: 95%;
    }
}

@media (max-width: 480px) {
    #workflow .body_page div {
        width:80%;
        right:0;
        left:0;
        margin:auto;
    }
    .top .content h1 {
        font-size: 35px !important;
    }
    .first_page_home .owl-wrapper-outer .item h1>span {
        font-size: 30px !important;
    }
    .top .content .button a {
        font-size: 20px !important;
    }
    .first_page_home h1 {
        font-size: 35px ;
    }
    .no_evidenza_child p {
        font-size: 24px;
    }

    .infobox481 ul, #info header>h3, #info form {
        padding-left: 20px;
    }
    article.search-media-container {
        display: block;
        margin: auto;
    }
    .box-background_slider h5 {
        margin-top: 40px !important;
        font-size: 40px !important;
    }
    #portfolio .container {
        width: auto;
    }
    .modal .modal-dialog {
        width: auto;
    }
    .footer-bg {
        height: 166px;
        border: none;
    }
    footer img {
        float: none;
        margin-top: auto;
        margin-bottom: auto;
        margin-left: auto;
        margin-right: auto;
    }
    footer td h5 {
        text-align: left;

    }
    footer td {
        width: 50%;
        vertical-align: top;
    }
    .owl-theme .owl-controls {
        margin-top: -40px;
    }
    .dropdown-menu.menusublines {
        position: absolute !important;
    background-color:#000000 !important;
}
}


