ul.resp-tabs-list, p {
    margin: 0px;
    padding: 0px;
}

.resp-tabs-list li {
    font-weight: 600 !important;
    font-size: 13px !important;
    display: inline-block;
    padding: 13px 15px;
    margin: 0 4px 0 0;
    list-style: none;
    cursor: pointer;
    float: left;
}

.resp-tabs-container {
    padding: 0px;
    background-color: #fff;
    clear: left;
}

h2.resp-accordion {
    cursor: pointer;
    padding: 5px;
    display: none;
}

.resp-tab-content {
    display: none;
    padding: 15px;
}

.resp-tab-active {
	border: 1px solid #5AB1D0 !important;
	border-bottom: none;
	margin-bottom: -1px !important;
	padding: 12px 14px 14px 14px !important;
	border-top: 4px solid #5AB1D0 !important;
	border-bottom: 0px #fff solid !important;
	z-index:1000;
}

.resp-tab-active {
    border-bottom: none;
    background-color: #fff;
}

.resp-content-active, .resp-accordion-active {
    display: block;
}

.resp-tab-content {
    border: 1px solid #c1c1c1;
	border-top-color: #5AB1D0;
}

h2.resp-accordion {
    font-size: 13px;
    border: 1px solid #c1c1c1;
    border-top: 0px solid #c1c1c1;
    margin: 0px;
    padding: 10px 15px;
}

h2.resp-tab-active {
    border-bottom: 0px solid #c1c1c1 !important;
    margin-bottom: 0px !important;
    padding: 10px 15px !important;
}

h2.resp-tab-title:last-child {
    border-bottom: 12px solid #c1c1c1 !important;
    background: blue;
}

/*-----------Vertical tabs-----------*/
.resp-vtabs ul.resp-tabs-list {
    float: left;
    width: 30%;
}

.resp-vtabs .resp-tabs-list li {
    display: block;
    padding: 15px 15px !important;
    margin: 0 0 4px;
    cursor: pointer;
    float: none;
}

.resp-vtabs .resp-tabs-container {
    padding: 0px;
    background-color: #fff;
    border: 1px solid #c1c1c1;
    float: left;
    width: 68%;
    min-height: 250px;
    border-radius: 4px;
    clear: none;
}

.resp-vtabs .resp-tab-content {
    border: none;
    word-wrap: break-word;
}

.resp-vtabs li.resp-tab-active { 
position: relative;
z-index: 1;
margin-right: -1px !important;
padding: 14px 15px 15px 14px !important;
border-top: 1px solid;
border: 1px solid #5AB1D0 !important;
border-left: 4px solid #5AB1D0 !important;
margin-bottom: 4px !important;
border-right: 1px #FFF solid !important;
}

.resp-arrow {
    width: 0;
    height: 0;
    float: right;
    margin-top: 3px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12px solid #c1c1c1;
}

h2.resp-tab-active span.resp-arrow {
    border: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #9B9797;
}

/*-----------Accordion styles-----------*/
h2.resp-tab-active {
    background: #DBDBDB;/* !important;*/
}

.resp-easy-accordion h2.resp-accordion {
    display: block;
}

.resp-easy-accordion .resp-tab-content {
    border: 1px solid #c1c1c1;
}

.resp-easy-accordion .resp-tab-content:last-child {
    border-bottom: 1px solid #c1c1c1;/* !important;*/
}

.resp-jfit {
    width: 100%;
    margin: 0px;
}

.resp-tab-content-active {
    display: block;
}

h2.resp-accordion:first-child {
    border-top: 1px solid #c1c1c1;/* !important;*/
}

/*Here your can change the breakpoint to set the accordion, when screen resolution changed*/
@media only screen and (max-width: 768px) {
    ul.resp-tabs-list {
        display: none;
    }

    h2.resp-accordion {
        display: block;
    }

    .resp-vtabs .resp-tab-content {
        border: 1px solid #C1C1C1;
    }

    .resp-vtabs .resp-tabs-container {
        border: none;
        float: none;
        width: 100%;
        min-height: 100px;
        clear: none;
    }

    .resp-accordion-closed {
        display: none !important;
    }

    .resp-vtabs .resp-tab-content:last-child {
        border-bottom: 1px solid #c1c1c1 !important;
    }
}

/********  Stile form ***********/

.form-style-9{
    background: #FAFAFA;
    padding: 30px;
    margin: 20px auto;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    border: 6px solid #305A72;
}
.form-style-9 ul {padding:0; margin:0; list-style:none; }
.form-style-9 ul li { display: block; margin-bottom: 10px; min-height: 35px; }
.form-style-9 ul li  .field-style {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 8px;
    outline: none;
    border: 1px solid #B0CFE0;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;

}
.form-style-9 ul li  .field-style:focus { box-shadow: 0 0 5px #B0CFE0; border:1px solid #B0CFE0; }
.form-style-9 ul li .field-split { width: 49%; }
.form-style-9 ul li .field-cap { width: 20%; }
.form-style-9 ul li .field-prov { width: 20%; margin-right:47px; }
.form-style-9 ul li .field-full { width: 100%; }
.form-style-9 ul li input.align-left { float:left; }
.form-style-9 ul li input.align-right { float:right; }
.form-style-9 ul li .document {width:20%; }
.form-style-9 ul li .num_doc {width:34%; height:43px; }
.form-style-9 ul li .rilasciato_doc {width:38%; height:43px; }

.form-style-9 ul li textarea { width: 100%; height: 100px; }
.form-style-9 ul li input[type="button"],
.form-style-9 ul li input[type="submit"], .bottone {
    -moz-box-shadow: inset 0px 1px 0px 0px #3985B1;
    -webkit-box-shadow: inset 0px 1px 0px 0px #3985B1;
    box-shadow: inset 0px 1px 0px 0px #3985B1;
    background-color: #216288;
    border: 1px solid #17445E;
    display: inline-block;
    cursor: pointer;
    color: #FFFFFF;
    padding: 8px 18px;
    text-decoration: none;
    font: 12px Arial, Helvetica, sans-serif;
}
.form-style-9 ul li input[type="button"]:hover,
.form-style-9 ul li input[type="submit"]:hover {
    background: linear-gradient(to bottom, #2D77A2 15%, #337DA8 100%);
    background-color: #28739E;
}

.form-style-9 ul li input[type=submit][disabled=disabled], 
.form-style-9 ul li input[type=submit]:disabled {
    background: linear-gradient(to bottom, #8E8E8E 15%, #B7B4B4 100%);
    background-color: #8E8E8E;
}

fieldset { border: 1px solid #8b8b8b; border-radius: 5px; padding: 1em; }
legend { font-size: 14px; font-weight: bold; padding: 15px; }
select { font: 12px Arial, Helvetica, sans-serif; padding: 8px !important; }
select:required:invalid { color: #8E8E8E; font: 13px Arial, Helvetica, sans-serif; }
option[value=""][disabled] { display: none;	color: #8E8E8E; }
option { color: #000; padding: 1px 0 1px 15px; font-size:14px; }
#wrap{ border:solid #CCCCCC 1px; width:203px; -webkit-border-radius: 10px; float:left; -moz-border-radius: 10px; border-radius: 10px; padding:3px; }
img#refresh, img#refresh_atc_afv, img#refresh_atc { float:left; margin-top:30px; margin-left:4px; cursor:pointer; }
#captcha, #captcha_atc_afv, captcha_atc { width:118px; margin:auto; background: #FAFAFA; }
#code {height: 36px !important;padding-left:10px;border: 1px solid #b0cfe0;box-sizing: border-box;outline: medium none;padding: 10px;transition: all 0.3s ease-in-out 0s;background: #FAFAFA;background: #FFFFFF;width:195px;font-size:20px;font-weight:700;}
#code_atc {height:50px;padding-left:10px;border: 1px solid #b0cfe0;box-sizing: border-box;outline: medium none;padding: 10px;transition: all 0.3s ease-in-out 0s;background: #FAFAFA;background: #FFFFFF;width:195px;font-size:20px;font-weight:700;}
.error{ color:#CC0000; font-size:12px; margin:4px; font-style:italic; width:200px;}
.box-conv {
	background: #FAFAFA;
    padding: 30px;
    margin: 20px auto;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    border: 6px solid #305A72;
	line-height:35px !important;
}
