/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

ul {
    list-style: none;
}

#mainbody .ct-container {
    padding: 25px 0;
}

.wrapper-body h1 {
    margin-top: 2px !important;
    font-size: 30px !important;
    line-height: .6em !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid #D01D19 !important;
    margin-bottom: 30px !important;
}

.wrapper-body h2 {
    font-size: 24px;
    font-weight: 700;
}

.wrapper-body h4 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;

}

.wrapper-body h6 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 300;
}

.wrapper-body h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 50px;
    height: 3px;
    background: #D01D19;
}

.wrapper-body h3 {
    font-size: 21px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D2D2D2;
    position: relative;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.1em;
}

.wrapper-body h1 span {
    background: #ffffff;
    padding: 0 15px 10px 0;
    position: relative;
    z-index: 10;
    display: inline-block;
    top: 17px;
    margin-top: -17px;
    line-height: 1em;
}



.margin-right {
    border-right: 1px solid #D2D2D2;
    margin: 0 10px 0 0;
    padding: 0 25px 0 0;
    overflow: hidden;
}

@media (max-width: 767px) {
    .margin-right {
        margin: 0 0 20px;
        padding: 0;
        border: none;
    }
}

.wrapper-body .pagethumb {
    max-width: 100%;
    height: auto;
}

.wrapper-body .page-image {
    margin-bottom: 25px;
}

.wrapper-body .page-image img {
    width: 100%;
}

.wrapper-body .address .address-item {
    margin-bottom: 20px;
}

.wrapper-body p {
    margin-block-end: 0px;
}

.wrapper-body p.titolo {
    font-weight: 700;
    font-size: 13px;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.wrapper-body .doctitle {
    font-weight: 300;
    font-size: 14px;
    line-height: 1em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 20px;
}

.wrapper-body .doctitle.red {
    text-transform: none;
}

.wrapper-body .doctitle span {
    position: relative;
    background: #283D8E;
    padding: 8px 15px;
    display: inline-block;
}

.wrapper-body .doctitle i {
    font-style: normal;
    background: #D01D19;
    padding: 8px 12px;
    display: inline-block;
    margin: 0 -4px 0 0;
}

.wrapper-body .doctitle.full span {
    display: block;
}

.wrapper-body .doctitle.red span::after {
    border-left-color: #D01D19;
}

.wrapper-body .doctitle span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 0;
    width: 0;
    border-left: 7px solid #283D8E;
    border-left-color: rgb(40, 61, 142);
    border-bottom: 7px solid transparent;
}

.wrapper-body .doctitle.red span {
    background: #D01D19;
}

form hr {
    height: 1px;
    border-width: 1px 0 0 !important;
    border-style: solid;
    border-color: #D2D2D2 !important;
    margin: 15px 0 !important;
}

.attach_column hr {
    border: 1px solid #D01D19;
    height: 1px;
    margin: 15px 0;
    opacity: 1 !important;
}

.struttura-servizi {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #D2D2D2;
}

.struttura-servizi ul h3 {
    text-transform: uppercase;
}

.struttura-servizi ul li {
    font-size: 12px;
    line-height: 1em;
    margin-bottom: 11px;
}


ul.elenco-strutture,
.sidebar ul {
    padding-inline-start: 0;
}


.sidebar ul {
    margin: 0 0 20px 0 !important;
    background: #FAFAFA;
    border: 1px solid #E4E4E4;
}

.sidebar ul li ul {
    margin: 0px !important;
    padding: 0;
    border: none;
    background: none;
}

.sidebar ul li ul li {
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
}

.sidebar ul li:hover,
.sidebar ul li.current {
    background: #283D8E;
}

.sidebar ul li:hover::after,
.sidebar ul li.current::after {
    border-color: #FAFAFA;
}

.sidebar ul li a:hover,
.sidebar ul li.current a {
    color: #ffffff;
}

.sidebar ul:not(.menu-sidebar-2) li::after,
ul.navbar_principale li ul li::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    width: auto;
    margin: 0;
    height: 0;
    background: none;
    bottom: 0;
    border-bottom: 1px solid #CCCCCC;
    border-bottom-color: rgb(204, 204, 204);
}

.sidebar ul li.last::after,
.sidebar ul li:last-child::after,
ul.navbar_principale li ul li.last::after {
    border: none;
}

.sidebar ul li ul li a:hover,
.sidebar ul li ul li.current a,
.sidebar ul li ul li span:hover,
.sidebar ul li ul li.current span {
    color: #6C7AB2;
}



.sidebar ul li,
ul.navbar_principale li ul li {
    padding: 13px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1em;
    position: relative;
}





.sidebar ul li a::before,
ul.navbar_principale li ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    width: 4px;
    height: 4px;
    background: #DC0000;
    top: 5px;
}

.sidebar ul li a:hover::before,
.sidebar ul li.current a::before {
    background: #ffffff;
}

.sidebar ul li a,
.sidebar ul li span,
ul.navbar_principale li ul li a {
    padding-left: 14px;
    position: relative;
    float: none;
    display: block;
}

.sidebar ul li.current ul li a::before,
.sidebar ul li ul li a::before {
    top: 1px;
    width: 5px;
    height: 10px;
    background: transparent;
}

.sidebar ul li ul li a:hover::before,
.sidebar ul li ul li.current a::before,
.sidebar ul li ul li span:hover::before,
.sidebar ul li ul li.current span::before {
    background: url(../blocksy-child/images/arrow-w-menu.png) no-repeat center;
}


.box-laterale {
    border: 1px solid #E4E4E4;
    margin-bottom: 20px;
    background: #ffffff;
    background: -moz-linear-gradient(-45deg, #ffffff 64%, #f6f6f6 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(64%, #ffffff), color-stop(100%, #f6f6f6));
    background: -webkit-linear-gradient(-45deg, #ffffff 64%, #f6f6f6 100%);
    background: -o-linear-gradient(-45deg, #ffffff 64%, #f6f6f6 100%);
    background: -ms-linear-gradient(-45deg, #ffffff 64%, #f6f6f6 100%);
    background: linear-gradient(135deg, #ffffff 64%, #f6f6f6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6', GradientType=1);
}

.box-laterale .corpo-article {
    padding: 15px;
}

.box-laterale h2 {
    font-size: 14px;
    margin: 0 0 5px;
    font-weight: 400;
}

.box-laterale .corpo-article p {
    font-size: 13px;
    line-height: 20px;
}


.allegati .titoletto {
    margin-bottom: 20px;
}

.allegati p {
    line-height: 1em;
    margin-bottom: 10px;
    font-family: 'Tahoma', Helvetica, Arial, sans-serif;
    font-size: 13px;
}

.allegati .documento img.icona {
    width: auto;
    margin: 2px 10px 0 -5px;
}

.legenda .documento .icona {
    float: left;
}

.allegati .documento .icona {
    display: inline-block;
    width: 12px;
    margin: 0 10px 0 0;
}

.box-ricerca.box-padding {
    padding: 15px 20px;
}

.box-ricerca {
    margin-bottom: 30px;
}

.box-red-gradient {
    background: #d01d19;
    background: -moz-linear-gradient(-45deg, #d01d19 0%, #e58684 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #d01d19), color-stop(100%, #e58684));
    background: -webkit-linear-gradient(-45deg, #d01d19 0%, #e58684 100%);
    background: -o-linear-gradient(-45deg, #d01d19 0%, #e58684 100%);
    background: -ms-linear-gradient(-45deg, #d01d19 0%, #e58684 100%);
    background: linear-gradient(135deg, #d01d19 0%, #e58684 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d01d19', endColorstr='#e58684', GradientType=1);
}

.box-colorato,
.box-colorato h1,
.box-colorato h2,
.box-colorato h3,
.box-colorato h4,
.box-colorato h5,
.box-colorato h6,
.box-colorato p,
.box-colorato a,
.box-colorato label,
.box-colorato .htmlcontent {
    color: #ffffff;
}

.img-right {
    float: right;
}

.box-colorato hr {
    border-color: #ffffff;
    border-color: rgba(255, 255, 255, .4);
}

hr.dotted,
.htmlcontent hr.dotted {
    border-style: dotted;
}

hr.red {
  border-top: 2px solid #d01d19;
  margin: 20px 0;
  opacity: 1 !important;
}

.inline-form .form-group {
    display: inline-block;
    margin: 0 20px 0 0;
}

@media (max-width: 1010px) {
    .inline-form .form-group {
        margin-bottom: 15px;
    }
}

.inline-form label {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
    display: block;
}

.arrow-select::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    z-index: 20;
    height: 100%;
    width: 30px;
    background: #283D8E url(../blocksy-child/images/arrow-w-select.png) no-repeat center;
    pointer-events: none;
}

.arrow-select {
    position: relative;
    display: inline-block;
}



select::after {
    content: "";
    display: inline-block;
    width: 26px;
    height: 26px;
    background: url(../pics/bg-select.png) no-repeat right top;

    right: 0;
    top: 0;
    position: absolute;
    z-index: 100;
}

.arrow-select select {
    position: relative;
    z-index: 10;
    height: 30px;
    padding: 4px 10px;
}

.input-small {
    width: 120px !important;
}

.input-medium {
    width: 180px !important;
}

.input-large {
    width: 290px !important;
}

select {
    position: relative;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    font-weight: 400;
    font-size: 13px;
    line-height: 1em;
    color: #656565;
    text-shadow: 0 1px 1px #ffffff;
    padding: 6px 12px;
    border: 1px solid rgba(0, 0, 0, .6) !important;
    border-radius: none !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    background: #ffffff;
    height: 30px;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    font-size: 100%;
    vertical-align: middle;
}


h3.no-bordo {
    padding-bottom: 0;
    border: none;
    margin-bottom: 10px;
    color: #666666;
}

h3.no-bordo::after {
    display: none;
}

h4.con-bordo {
    padding-bottom: 10px;
    margin-bottom: 5px;
    border-bottom: 1px solid #D2D2D2;
}

.elenco-strutture li {
    margin-top: 30px;
}

.wrapper-body select {
    border-radius: 0;
}

.wrapper-body select,
.wrapper-body select:focus,
.wrapper-body input[type="text"],
.wrapper-body input[type="text"]:focus {
    font-weight: 400;
    font-size: 13px;
    line-height: 1em;
    color: #656565;
    text-shadow: 0 1px 1px #ffffff;
    padding: 6px 12px;
    border: 1px solid rgba(0, 0, 0, .6) !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    background: #ffffff;
    height: 30px;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 0px;
}

.wrapper-body a.button,
.wrapper-body .button,
.wrapper-body button,
.wrapper-body input[type="button"],
.wrapper-body input[type="reset"],
.wrapper-body input[type="submit"] {
    padding: 8px 10px 8px 35px;
    display: inline-block;
    border: 1px solid #ffffff;
    border-top-color: rgb(255, 255, 255);
    border-right-color: rgb(255, 255, 255);
    border-bottom-color: rgb(255, 255, 255);
    border-left-color: rgb(255, 255, 255);
    background: transparent url(../pics/arrow-w-bt.png) no-repeat 10px center;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1em;
    width: auto;
    text-align: left;
    text-decoration: none;
    height: auto;
    border-radius: 0;
    min-height: min-content;
}

.wrapper-body a.button.blue,
.wrapper-body button.blue,
.wrapper-body input[type="button"].blue,
.wrapper-body input[type="reset"].blue,
.wrapper-body input[type="submit"].blue {
    background: #283D8E;
    border-color: #283D8E;
    padding: 8px 10px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.wrapper-body a.button.red,
.wrapper-body button.red,
.wrapper-body input[type="button"].red,
.wrapper-body input[type="reset"].red,
.wrapper-body input[type="submit"].red {
    background: #dc0000;
    border-color: #dc0000;
    padding: 8px 10px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.docs .singledocument {
    padding: 14px 0;
    padding-top: 14px;
    border-top: 1px dotted #AEAEAE;
}

.attach_column .docs .singledocument:first-child {
    padding-top: 0;
    border-top: none;
}

.attach_column .docs .singledocument:last-child {
    padding-bottom: 0;
    border-bottom: none;
}


.docs .singledocument header {
    padding: 0 10px 0 29px;
    background: url(../blocksy-child/images/ico-pdf.png) 0 3px no-repeat;
    margin-bottom: 5px;
}

.docs .singledocument a {
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2em;
    display: block;
    margin-bottom: 5px;
}


.docs .singledocument .doc_info {
    margin: 0;
    color: #3E3F3E;
    font-size: 11px;
    line-height: 1.2em;
    position: relative;
    display: inline-block;
}

.docs .singledocument .pallino {
    margin: 6px 0 0 10px;
    float: right;
}

.pallino.presentazione_liv_0 {
    background: #009344;
}

.pallino.presentazione_liv_1 {
    background: #EBA23F;
}

.pallino.presentazione_liv_2 {
    background: #FF2A1C;
}

.pallino {
    display: inline-block;
    border-radius: 20px;
    height: 12px;
    width: 12px;
}

.fieldtip {
    font-size: 11px;
    line-height: 1.1em;
    margin: 10px 0;
    display: block;
}


.border-bar.top-bar-list {
    border-top: 2px solid #D01D19;
    border-bottom: 1px dotted #D2D2D2;
}

.border-bar.bottom-bar-list {
  border-bottom: 2px solid #D01D19;
  border-top: 1px dotted #D2D2D2;
}

.border-bar {
    padding: 15px 0;
    margin: 20px 0 30px;
}

.list.lista-documenti .doc-cat-subcat {
    font-size: 13px;
}

.list.lista-documenti .doc-cat-subcat span {
    display: inline-block;
    padding-right: 25px;
    background: url(../blocksy-child/images/arrow-r-bt.png) no-repeat right center;
}

.list.lista-documenti article {
    margin: 0 0 20px;
    padding: 0 0 15px;
}

.list.lista-documenti article:not(:last-child)
{
    border-bottom: 1px solid #C2C2C2;
}

.paginazione a,
.paginazione span {
    font-size: 15px;
    font-weight: 700;
    display: inline-block;
    margin-right: 12px;
}

.border-bar .label.small {
    float: left;
    margin-right: 15px;
    line-height: 1.4em;
}

.label.small {
    font-size: 14px;
    text-transform: none;
}

.label {
    font-size: 18px;
    line-height: 1em;
    font-weight: 300;
    text-transform: uppercase;
    color: #273D8D;
    text-align: left;
    display: block;
    margin-bottom: 10px;
}

.lista-categorie article {
  margin-bottom: 40px;
}

.lista-categorie ul {
  margin-left: 25px;
}

.due-col {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 25px;
  -moz-column-gap: 25px;
  column-gap: 25px;
}