body {
    background-color: #183962;
}
a {
    color: #005397;
}
.layout-boxed {
    box-shadow: 0 0 0;
}
.dropdown.open .dropdown-menu {
    max-height: 250px!important;
}
.visually-hidden {
    display: none;
}
/*
#navigation {
    border-bottom: 10px solid #e5e5e5;
}
*/
button, input, label, select, textarea {
    font-family: 'Roboto';
    font-size:14px;
}

h1, h2, h3, h4, h5, h6, .site-title {
    font-family: 'Roboto', sans-serif;
}


h1 {
    font-weight:bold;
}

/* Top bar */
.navbar-responsive {
    display: none;
}
.navbar-inverse {
    background-color: #183962;
    border-color: #183962;
}
.navbar-inverse p {
    margin:0px;
}
.navbar-inverse ul.nav{
    width: 50%;
    float: left;
    font-size: 14px;
}
.navbar-inverse .custom-telefono{
    width: 50%;
    float: left;
    font-size: 14px;
    text-align: right;
}
/*
.navbar-inverse .custom-accesso{
    width: 20%;
    float: left;
    font-size: 14px;
}
*/
.navbar-inverse ul.nav > li{
    display: inline!important;
}
.dropdown .dropdown-menu{
    display: flow-root!important;
}
.navbar-inverse ul.nav > li > a{
    display: inline;
    color: #ffffff;
}
.navbar-inverse ul.nav > li:first-child > a{
    padding: 10px 15px 10px 0px
}
.navbar-inverse ul.nav > li.active > a,
.navbar-inverse ul.nav > li > a:hover {
    background-color: transparent;
    color: #c8ae93;
}
.navbar-inverse .custom-accesso {
    text-align: right;
}
.navbar-inverse .custom-telefono i,
.navbar-inverse .custom-accesso i{
    font-size: 22px;
    margin-right: 5px;
}
.navbar-inverse .custom-accesso a,
.navbar-inverse .custom-telefono a {
    color:#fff;
    margin-left: 30px;
}
.navbar-inverse .custom-accesso a:first-child{
    margin-left:0px;
}
.navbar-inverse .custom-accesso a:hover,
.navbar-inverse .custom-telefono a:hover {
    color:#c8ae93;
}
/* Nav bar */
.header {
    line-height: 30px;
}
.navbar-default {
    background-color: #c8ae93;
    border-color: #c8ae93;
}
.navbar-default .navbar-nav > li > a {
    color: #ffffff;
    font-size: 18px;
    text-transform: uppercase;
    /*padding: 15px 19px!important;*/
    padding: 15px 7px!important;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li.active > a {
    background-color: #005397!important;
    color: #ffffff;
}
#navigation .navbar-default .container {
    width: 1200px;
}
#navigation .navbar-default .navbar-collapse {
    padding-left: 0!important;
}
.nav {
    font-family: 'Roboto', sans-serif;
}


/* Logo */
#logo {
    background-color: #ffffff;
    height: 125px;
}
#logo #brand {
    width: 40%;
}
#logo-right {
    float: left;
    width: 60%;
    padding-top: 50px;
    display:flex;
    justify-content: space-between;
}
#logo-right .search {
    float: left;
    width: 80%;
}
.btn-primary {
    color: #fff;
    background-color: #005397;
    border-color: #005397;
}
.btn-primary:hover {
    color: #fff;
    background-color: #c8ae93;
    border-color: #c8ae93;
}

.mod-finder__search.input-group {
    display:flex;
    column-gap: 5px;
}

#logo-right .custom-accesso {
    float: left;
    font-size: 14px;
    width: 20%;
}
#logo-right .custom-accesso i{
    font-size: 22px;
    margin-right: 5px;
}
#logo-right .custom-accesso a {
    color:#005397;
    margin-left: 30px;
}
#logo-right .custom-accesso a:first-child{
    margin-left:0px;
}
#logo-right .custom-accesso a:hover {
    color:#c8ae93;
}



/* Header */
#brand {
    padding-left: 10px;
}
#brand img {
    padding-top: 10px;
}
#header a {
    transition: none;
}
#header .search-box {
    z-index:999999;
}
/* Header - scroll */
.header--fixed {
    z-index: 99999;
}
.headroom--unpinned {
    transform:translateY(0px);
}
.headroom--not-top #top {
    display: none;
}
.headroom--not-top #logo {
    height: 90px;
}
.headroom--not-top #logo-right {
    padding-top: 25px;
}
.headroom--not-top #brand img {
    padding-top:5px;
    padding-bottom:5px;
    max-width: 200px;
}
.headroom--not-top .navbar-nav>li>a {
    padding-top:5px;
    padding-bottom:5px;
}
.headroom--not-top .navbar-default .search-button{
    margin-top:5px;
}
/* Slider */
.bordered-text {
    text-shadow: 2px 0 0 #005397, -2px 0 0 #005397, 0 2px 0 #005397, 0 -2px 0 #005397, 1px 1px #005397, -1px -1px 0 #005397, 1px -1px 0 #005397, -1px 1px 0 #005397;
    /*text-transform: uppercase;*/
}
.green-bordered-text {
    text-shadow: 2px 0 0 #c8ae93, -2px 0 0 #c8ae93, 0 2px 0 #c8ae93, 0 -2px 0 #c8ae93, 1px 1px #c8ae93, -1px -1px 0 #c8ae93, 1px -1px 0 #c8ae93, -1px 1px 0 #c8ae93;
    /*text-transform: uppercase;*/
}
.white-bordered-text {
    text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
    /*text-transform: uppercase;*/
}
.call-to-action a {
    color:#fff;
}
.call-to-action:hover
{
    background:#c8ae93 !important;
    color:#fff !important;
}

.rwd-video {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    position: relative;
}
.rwd-video iframe,
.rwd-video object,
.rwd-video embed {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Main Section */
body section {
    padding-top: 240px;
}
#main-box {
    font-size: 14px;
    line-height: 24px;
}
.ls-inner {
    z-index: 0!important;
}
#content-top .module-title h3 {
    font-size: 16px;
    color: #005397;
    text-transform: uppercase;
    font-weight: bold;
}
#content-top .module-title h3::after {
    content: '';
    display: block;
    height: 4px;
    position: relative;
    margin-top: -10px;
    margin-left: 140px;
    background-color: #c8ae93;
}
.nspArts h4.nspHeader{
    line-height: 20px;
    padding-bottom: 5px !important;
}
.nspArts h4.nspHeader a{
    color: #005397;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
}
.nspArts h4.nspHeader a:hover {
    color: #c8ae93;
}
.nspArts .readon {
    background-color: #005397;
    border-color: #005397;
    color:  #ffffff;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 4px;
    margin-top: 10px;
}
.nspArts .readon:hover {
    background-color: #c8ae93;
    color: #005397;
}
.nspArts .nspInfo {
    font-style: italic;
}
.nspArts .nspText  {
    min-height: 55px;
}
.blog .item-image {
    margin-right: 20px;
}
.blog .readmore {
    text-align: right;
}
.blog .readmore .btn{
    background-color: #005397;
    border-color: #005397;
    color:  #ffffff;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 4px;
    margin-top: 10px;
}
.blog .readmore .btn:hover {
    background-color: #c8ae93;
    color: #005397;
}
.page-header h2{
    line-height: 1.2;
}
.page-header h2,
.page-header h2 a{
    color: #005397;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.1;
}
.page-header h2 a:hover{
    color: #c8ae93;
}
.page-header {
    border-bottom: 0px;
}
.blog .items-row {
    margin-bottom: 20px;
}
/* Soci & Partners */
.wf-mediabox {
    z-index: 99999;
}
/* Anteros */

.btn-container {
    display:flex;
    justify-content: space-between;
}
a.img-box-link {
    display: block;
    width:48%;
    text-align: center;
    position:relative;
    border:2px solid transparent;
}
a.img-box-link:hover {
    border:2px solid #c8ae93;
}
a.img-box-link span {
    position: absolute;
    width: 100%;
    bottom: 0%;
    left: 0;
    background: rgba(15, 42, 78, 0.5);
    padding: 6px 12px;
    font-size: 26px;
    line-height:1.4em;
    font-weight: bold;
    color: #fff;
}
a.img-box-link:hover span {
    background: rgba(115, 198, 157, 0.8);
}

/* Right sidebar */
.box-multi {
    background-color: #e5e5e5;
    color: #005397;
    font-size: 14px;
}
.box-multi h3{
    text-align: center;
    font-weight: bold;
}
.box-multi .moduletable,
.box-cv .moduletable {
    padding: 20px;
}
.box-cv{
    background-color: #c8ae93;
    color: #ffffff;
    text-align: center;
}
.box-cv.box-runts,
.box-cv.box-aziende {
    background-color: #005397;
}
.box-cv h3{
    font-size: 28px;
    font-weight: bold;
}
.box-cv .btn-primary {
    font-size: 26px;
    background-color: #005397;
    border-color: #005397;
    max-width: 100%;
    white-space: normal;
}
.box-cv.box-aziende .btn-primary{
    background-color:#c8ae93;
    border-color:#c8ae93;
}
.box-cv .btn-primary:hover {
    background-color: #c8ae93;
    color: #005397;
}
.box-cv.box-aziende .btn-primary:hover {
    color: #c8ae93;
    background-color: #005397;
}
.box-cv.box-runts a:hover img {
    opacity:0.6;
}
.module-content ul li::before {
    content: '';
}
.sub {
    background-color: #e5e5e5;
    border: 4px solid #c8ae93;
    margin-bottom: 20px;
}
.sub .moduletable {
    padding-bottom: 0px;
    margin-bottom: 0px;
}
.sub .title {
    margin-bottom: 0px;
}
.sub h3{
    color: #005397;
    font-size: 18px;
    border-bottom: 4px solid #c8ae93;
}
.sub .nav > li > a {
    padding: 10px 0;
    color: #005397;
}
.sub .nav > li > a:hover,
.sub .nav > li.current > a {
    background-color: transparent;
    color: #c8ae93;
}
.no-padding .moduletable {
    padding: 0!important;
}

/* Registrazione Utenti */

.pagina-login #main-box {
    padding-top:0px;
}
.login-intro.registration-invitation {
    padding: 1em;
    border: 1px solid #c8ae93;
    margin: 2em 0;
}
a.user-registration-btn {
    display: inline-block;
    padding: 5px 10px;
    background: #c8ae93;
    color: #fff;
    font-weight: bold;
    font-size:24px;
    /*margin: 10px 0px 40px;*/
    margin: 10px 0px 0px;
    text-transform:uppercase;
}
a.user-registration-btn:hover {
    background: #005397;
}
.login-intro,
.login-description{
    margin-bottom: 10px;
}
#main-box .pagina-login legend {
    color: #fff;
}
#main-box .pagina-login form.well {
    background:#005397;
    padding:20px;
}
#member-registration .control-group,
.pagina-login .control-group {
    width:70%;
    display:flex;
    margin-left:auto;
    margin-right:auto;
}
.pagina-login .control-label .form-control-feedback{
    display:none;
}

#main-box .pagina-login form p {
    margin-bottom: 30px;
}
#main-box .pagina-login .control-group > .control-label {
    width: 30%;
    text-align: left !important;
}
#main-box .pagina-login .control-group > .control-label + .controls {
    width: 70%;
    text-align:left;
}
#main-box .pagina-login .control-group > div {
    display:inline-block;
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto;
}
#main-box .pagina-login .password-group .input-group {
    display:flex;
    vertical-align:middle;
}
.controls .small.text-muted {
    color: #c8ae93;
    font-style:italic;
}
#main-box .pagina-login .password-group .input-password-toggle {
    /*display: none;*/
    line-height: 1;
    height: 34px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
#main-box .pagina-login .password-group div[aria-live=polite] {
    font-size: 0.875em;
}
.controls .checkboxes .form-check-inline {
    display: flex;
    vertical-align: top;
    column-gap: 10px;
    padding: 7px 0;
}
#main-box .pagina-login .control-group input[type=checkbox]{
    transform: scale(2);
    height: 10px;
    /*margin-right:210px;*/
}
input#remember {
    margin-top: 10px;
    margin-left: 2px;
}
#main-box .pagina-login #jform_captcha {
    transform: scale(0.875);
}

#main-box .pagina-login form .btn {
    background-color:#c8ae93;
    margin-bottom:-15px;
}
#main-box .pagina-login form .btn-primary:hover {
    background-color: #e5e5e5;
    color:#005397;
}
.pagina-login #main-box .nav>li>a:focus,
.pagina-login #main-box .nav>li>a:hover {
    background-color:#f5f5f5;
    color: #005397;
}

/* Form CV e Richiesta aziende*/

.alert {
    background: rgba(255,0, 0, 0.8);
    color: #fff;
    margin-top: -10px;
}
.formResponsive h2 {
    margin-bottom:40px;
    font-size:26px;
    text-transform:uppercase;
    font-weight:bold;
}
.cv-form h2 {
    border-bottom:3px solid #c8ae93;
}
.aziende-form h2 {
    border-bottom:3px solid #005397;
}
.formResponsive .formHorizontal .rsform-block {
    margin-bottom: 15px;
}
.formResponsive .formHorizontal .formControlLabel {
    padding: 7px 0px;
    margin-bottom: 0px;
    font-weight:bold;
}
.formResponsive select,
.formResponsive input[type="text"],
.formResponsive input[type="number"],
.formResponsive input[type="email"],
.formResponsive input[type="tel"],
.formResponsive input[type="url"],
.formResponsive input[type="password"] {
    height: 32px;
    padding: 4px 6px;
    font-size: 14px;
    margin-bottom:0px;
    box-sizing: border-box;
    width: 280px;
}
.formResponsive textarea {
    padding: 4px 6px;
    font-size: 14px;
    margin-bottom:0px;
    box-sizing: border-box;
    width: 280px;
}
.formResponsive input, .formResponsive textarea {
    width: 280px;
    box-sizing: border-box;
}
.formResponsive .formHorizontal p.formDescription {
    display: none;
}

.with-description .formHorizontal p.formDescription {
    display:block;
    font-size: 0.875em;
    margin-top:0;
    font-style:italic;
}

.rsform-block-residenza-titolo,
.rsform-block-domicilio-titolo,
.rsform-block-istruzione-titolo,
.rsform-block-sede-titolo,
.rsform-block-referente-titolo,
.rsform-block-figura-titolo,
.rsform-block-tipologia-candidatura,
.rsform-block-dati-personali-titolo,
.rsform-block-requisiti-bando-titolo
{
    font-weight:bold;
    font-size:1.2em;
    margin-top:30px;
}
.rsform-block-residenza-titolo,
.rsform-block-domicilio-titolo,
.rsform-block-istruzione-titolo,
.rsform-block-tipologia-candidatura,
.rsform-block-dati-personali-titolo,
.rsform-block-requisiti-bando-titolo
{
    border-bottom:1px solid #c8ae93;
}
.rsform-block-sede-titolo,
.rsform-block-referente-titolo,
.rsform-block-figura-titolo{
    border-bottom:1px solid #005397;
}
.formResponsive .formHorizontal .rsform-block.rsform-block-note,
.formResponsive .formHorizontal .rsform-block.rsform-block-descrizione-aziendale,
.formResponsive .formHorizontal .rsform-block.rsform-block-descrizione-figura,
.formResponsive .formHorizontal .rsform-block.rsform-block-competenze-figura
{
    margin-bottom: -20px;
}
.rsform-block.rsform-block-cv-inserito {
    margin-top: -20px;
}
.formResponsive input[type="submit"],
.formResponsive button[type="submit"] {
    background: #c8ae93;
    font-size: 1.2em;
    padding: 8px 12px;
}
.formResponsive input[type="submit"]:hover,
.formResponsive button[type="submit"]:hover {
    background:#005397;
}

.form-msg {
    padding: 10px;
    color: #fff;
    font-weight: bold;
}
.form-msg.success-msg {
    background: green;
    margin-top:20px;
}
.form-msg.error-msg {
    background: red;
    margin-bottom: 20px;
}

/**** Partner ***/

.partner-item {
    margin-bottom: 20px;
    padding: 20px;
}
.partner-item .logo-partner{
    min-height:120px;
    text-align:center;
}


/** Contatti ***/
.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

/** Ricerca su sito **/


#searchForm fieldset {
    margin: 40px 0px;
}

#finder-filter-window .filter-branch {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    padding: 40px 20px;
    border-bottom: 2px solid #f0f0f0;
}
.com-finder__search .form-inline .input-group {
    display:flex;
    column-gap: 10px;
}
.com-finder__search .form-inline .input-group .button-group {
    display:flex;
    column-gap: 5px;
}

.result__title-text {
    font-weight:bold;
    /*font-family: 'Roboto', sans-serif;*/
    font-size: 1.1em;
}

dl.search-results {
    margin-top: 40px;
}
dt.result-title {
    margin-top: 20px;
}

/*** Paginazione ***/

/*.icon-angle-double-left,*/
/*.icon-angle-left,*/
/*.icon-angle-double-right,*/
/*.icon-angle-right {*/
/*    font-family: "FontAwesome";*/
/*}*/

/*.icon-angle-double-left:before {*/
/*    content: "\f100";*/
/*}*/
/*.icon-angle-left:before {*/
/*    content: "\f104"*/
/*}*/
/*.icon-angle-right:before {*/
/*    content: "\f105"*/
/*}*/
/*.icon-angle-double-right:before {*/
/*    content: "\f101"*/
/*}*/

/* Footer */
#footer {
    background: #e5e5e5;
    color:#005397;
}
.mod-articles-items.mod-list li,
.mostread.mod-list li {
    margin-bottom:10px;
}
.mod-articles-items.mod-list li .item-image,
.mostread.mod-list li .item-image {
    max-width:30%;
}
.mod-articles-items.mod-list li .item-image {
    float:left;
}
.mod-articles-items.mod-list li .item-image + .mod-articles-title,
.mostread.mod-list li .item-title {
    max-width: 70%;
    padding: 0 10px;
    display:inline-block;
}

.well {
    /*background-color: #434343;*/
    background-color: #000;
    color: #ffffff;
    text-align: center;
    padding:0px;
}
.well a{
    color: #ffffff;
    text-decoration: underline;
}
#copy.well .moduletable {
    margin: 0px;
}


/* Blog */

.page-header {
    margin:10px 0 0px !important
}
.page-header h2 a {
    color: #005397;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
}
.blog .item-image {
    margin-bottom: 20px;
}

.block.sub .nav.menu {
    margin-top: 10px;
    margin-bottom: 20px;
}

figure.item-image img {
    width: 100%;
    height: auto;
}

#sidebar-2 .nav > li > a{
    background-color: #005397 !important;
    color: #ffffff;
    padding: 10px;
}

#sidebar-2 .nav > li > a:hover,
#sidebar-2 .nav > li.current > a,
#sidebar-2 .nav > li.current.active > a{
    color: #005397 !important;
    background-color: #ffffff !important;
}
#sidebar-2 .nav > li.current > a,
#sidebar-2 .nav > li.current.active > a {
    font-weight:bold;
}

/* Colori */
.fondazione-gdf a.nspImageWrapper img {
    border-bottom: 5px solid #b5162c;
}
.chiesa a.nspImageWrapper img {
    border-bottom: 5px solid #673b15;
}
.borse-di-studio a.nspImageWrapper img {
    border-bottom: 5px solid #d7c614;
}
.varie a.nspImageWrapper img {
    border-bottom: 5px solid #f29400;
}


/*** Form Bando 2026 - Kalimera ***/

.bando-assets {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 1em;
    row-gap:1em;
}

.bando-info-block {
    padding: 1em;
    background: #e5e5e5;
    text-align: center;
    flex-grow: 1;
}

#bando2026-form h2 {
    margin-bottom: 20px;
}

#bando2026-form.formResponsive .rsformProgressContainer {
    border:0;
    margin-bottom:20px !important;
}
#bando2026-form.formResponsive .rsformProgressContainer .rsformProgressBar {
    position:relative;
    background: #005397;
}
/*#bando2026-form.formResponsive .rsformProgressContainer .rsformProgressBar:after {*/
/*    border-left: 9px solid #fff;*/
/*    border-top: 9px solid #fff;*/
/*    border-bottom: 9px solid #fff;*/
/*    width:0;*/
/*    height:0;*/
/*    background: red;*/
/*    position:absolute;*/
/*    right: -9px;*/
/*    content: "";*/
/*    top:0;*/
/*}*/
#bando2026-form div.rsform-block h3{
    border-bottom: 3px solid #c8ae93;
    margin-top: 20px;
    margin-bottom:20px;
    text-transform: uppercase;
    /*padding-top:40px;*/
}
#bando2026-form h4 {
    text-transform: uppercase;
    margin-bottom: 20px;
}

#bando2026-form .rsform-block {
    margin-bottom: 1em;
}
#bando2026-form .rsform-block:not(.rsform-type-checkboxgroup) label {
    font-weight: bold;
}
#bando2026-form select,
#bando2026-form textarea,
#bando2026-form input:not([type="checkbox"]):not(.rsform-calendar-box){
    max-width:100%;
    width:100%;
}
#bando2026-form .rsform-block-persona-fisica {
    margin-top:1em;
}
#bando2026-form .rsform-block-add-btn-spesa,
#bando2026-form .rsform-block-add-btn-scadenza {
    margin-bottom: 2em;
}
#bando2026-form .rsform-type-checkboxgroup .formControlLabel {
    font-weight: bold;
}
#bando2026-form.formResponsive .dfform-add-btn {
    font-size: 1em;
    background: #c8ae93;
    color: #fff;
    text-shadow:none;
    position:relative;
    padding: .5em 1em .5em 2.5em;
}
#bando2026-form.formResponsive .dfform-add-btn:hover {
    background: #005397;
}


#bando2026-form.formResponsive .dfform-add-btn::before {
    content: '+';
    font-size: 2em;
    margin-right: 10px;
    display: inline-block;
    position: absolute;
    line-height: 34px;
    left: 10px;
    bottom: 0px;
}
/*#bando2026-form .rsform-block-add-btn-scadenza {*/
/*    padding-bottom: 40px;*/
/*    border-bottom: 3px solid #c8ae93;*/
/*}*/


#bando2026-form input.rsform-calendar-box {
    width: calc(100% - 40px);
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
#bando2026-form .rsform-type-jquerycalendar .rsform-calendar-button {
    height:32px;
    margin-bottom: 0;
    border-radius: 3px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}
#bando2026-form .rsform-type-pagebreak {
    margin-top: 2em;
    margin-bottom: 2em;
}
#bando2026-form .rsform-type-pagebreak .formControls .formBody
{
    display: flex;
    column-gap: 1em;
    justify-content: center;
}
#bando2026-form .rsform-type-submitbutton .formControls .formBody{
    display: flex;
    flex-direction:column;
    column-gap: 1em;
    justify-content: center;
    align-items: center;
}

#bando2026-form .rsform-type-pagebreak button,
#bando2026-form .rsform-type-submitbutton .rsform-button-prev {
    font-size: 1em;
    padding: .5em 1em;
}


#bando2026-form.formResponsive input[type="submit"], #bando2026-form.formResponsive button[type="submit"] {
    display:block;
    margin-top: 2em;
}

.rsformProgress.bottom-copy {
    margin-bottom: 2em;
}

@media (min-width: 1240px) {
    #top .container {
        margin: 0px;
        width: 1240px;
        padding: 10px 0;
    }

}
@media (max-width: 1240px) {
    .layout-boxed .header--fixed {
        width: 100%;
    }
    #bando2026-form.formResponsive div[class*='rsform-block-scadenza-'] div[class*='formSpan'] {
        width:100%;
        margin-left: 0;
    }
}
@media (max-width: 1200px) {
    .navbar-inverse ul.nav{
        width: 70%;
    }
    .navbar-inverse .custom-telefono{
        width: 30%;
    }
    #logo-right .search {
        width: 70%;
    }
    #logo-right .custom-accesso {
        width: 30%;
    }
    #logo-right .custom-accesso a span {
        display:none;
    }

    .navbar-default .navbar-nav > li > a {
        font-size: 16px;
        /*padding: 15px 10px !important;*/
        padding: 15px 5px !important;
    }
}
@media (max-width: 1040px) {
    .navbar-default .navbar-nav > li > a {
        font-size: 14px;
        padding: 15px 8px !important;
    }

    #logo-right .custom-accesso {
        text-align:right;
        padding-right: 10px;
    }

    #logo-right .custom-accesso a {
        margin-left:10px;
    }
}
@media (max-width: 991px) {
    #top .container {
        width: 100%!important;
    }
    #logo #logo-right {
        padding-left:40px;
    }

    .navbar-inverse ul.nav{
        width: 70%;
    }
    .navbar-inverse .custom-telefono{
        width: 30%;
    }
    #navigation .navbar-default .container {
        width: auto;
    }
    .btn-container {
        display:block;

    }
    a.img-box-link {
        display: block;
        width:unset;
        margin-bottom: 20px;
    }

    .nspArt img.nspImage {
        height:auto !important;
    }
    .bando-assets {
        grid-template-columns: 1fr 1fr;
    }



}
@media (min-width: 901px) {
    .jf_mm_trigger {
        display: none!important;
    }
}

@media (max-width: 900px) {
    .jf_mm_trigger {
        position: relative !important;
    }
    .navbar-toggle {
        display: block;
        margin-top: 10px!important;
        padding: 10px!important;
        float:none;
    }

    .navbar.navbar-default .navbar-collapse {
        display:none;
    }
    .navbar-collapse.collapse,
    .navbar-header +.navbar-collapse
    {
        /*display: none !important;*/
        /*display: none ;*/
    }

    .navbar-collapse.collapse.in{
        display: block !important;
    }

    .navbar-responsive {
        display: block;
        z-index: 9999;
    }
    .navbar-desktop,
    .navbar-default .search-button,
    #top .nav {
        display: none !important;
    }
    .navbar-toggle .icon-bar {
        height: 4px;
    }
    .navbar-default .navbar-toggle .icon-bar {
        background-color: #005397;
    }
    .jf_mm_wrapper a:hover,
    .jf_mm_wrapper li.active a {
        color: #ffffff!important;
    }
    .jf_mm_wrapper li.active  {
        background-color: #005397;
    }
}

@media (max-width: 850px) {
    .custom-telefono span.telefono {
        display: none;
    }
    .navbar-inverse ul.nav{
        width: 80%;
    }
    .navbar-inverse .custom-telefono{
        width: 20%;
    }
}
@media (max-width: 820px) {
    .navbar-default .navbar-nav > li > a {
        font-size: 15px;
    }
    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        border: 0!important;
    }
}
@media(min-width: 768px) {
    #navigation .navbar-right.navbar-desktop {
        float: none!important;
        /*margin-right: unset;*/
    }
    .navbar-header {
        float: none;
    }

    .navbar-collapse.collapse {
        display:none !important;
    }
}
@media (max-width: 768px) {

    header#header {
        /*height: 100%;*/
        overflow-y: scroll;
    }
    .navbar-toggle {
        /*float: left;*/
    }
    /*.container>.navbar-collapse,*/
    .container>.navbar-header {
        margin-left:0;
        margin-right:0;
    }
    .navigation .navbar-nav {
        margin:0px;
    }
    .navbar-collapse {
        padding: 0px;
        margin:0;
    }
    .navbar-default .navbar-nav > li > a {
        padding: 3px 15px!important;
    }

    .navbar-inverse .custom-telefono{
        width:100%;
        text-align: center;
    }
    #logo-right .search {
        padding-left: 20px;
    }
    #logo-right .custom-accesso .accesso-utente {
        display: none;
    }
    #logo #brand {
        width: 40%;
    }
    #logo-right {
        width: 60%;
    }
    .navbar-header {
        width:100%;
    }
    .ls-gui-element {
        z-index: 0!important;
    }
    .navbar-default .navbar-responsive > .active  {
        background-color: #005397;
        color: #c8ae93;
    }
    .navbar-default .navbar-responsive > .active  a{
        color: #c8ae93;
    }

    .pagina-bando #main{
        display: flex;
        flex-direction:column;
    }
    .pagina-bando #main #container {
        order:1;
    }
    .pagina-bando #main #sidebar-2 {
        order:0;
    }


}
@media screen and (max-width: 650px){
    body section {
        /*padding-top:200px;*/
        padding-top:220px;
    }
    .formResponsive .formHorizontal .rsform-block {
        line-height:1;
    }
    .formResponsive input[type="email"] {
        width:100%;
    }
    #logo #logo-right .form-search,
    .search {
        display: none;
    }
    #logo #brand {
        /*width: 80%;*/
        width: 50%;
    }
    #logo-right {
        /*width: 20%;*/
        width: 50%;
    }
    #logo-right .custom-accesso {
        float:right;
        text-align:right;
        margin-right:10px;
        width:100%;
        padding-right: 10px;
    }
    #logo-right .custom-accesso a {
        margin-left: 10px;
    }
    #logo-right .custom-accesso p {
        margin:0px;
    }
    #logo-right .custom-accesso a span {
        display:none;
    }

    #member-registration .control-group,
    #main-box .pagina-login .control-group{
        width:100%;
        flex-direction: column;
    }
    #main-box .pagina-login .control-group > .control-label,
    #main-box .pagina-login .control-group > .control-label + .controls{
        width: 100%;
    }

    .bando-assets {
        display: flex;
        row-gap: 1em;
        flex-direction: column;
    }


}
@media (max-width: 400px) {
    #showcase .moduletable {
        padding-bottom:0px;
        margin-bottom:0px;
    }
    #brand {
        max-width: 70%;
    }
    .box-cv h3 {
        font-size: 24px;
    }
    .box-cv .btn-primary {
        font-size: 20px;
    }

    body section {
        padding-top: 200px;
    }

    #logo {
        height:102px;
    }
    #logo #brand {
        width: 50%;
    }
    #logo-right {
        width: 50%;
        padding-top: 30px;
    }
    .pagina-login .control-group input[type=checkbox] {
        margin: 0;
    }


}
