#page-content,
#page-footer {
    z-index: 1;
    border: 1px dotted #BFBFBF;
    padding: 10px
}

#left-col,
#main-content {
    z-index: 5
}

#main-content a,
body {
    text-decoration: none
}

.block,
.subnav .sugg-img {
    display: block
}

.attention-box .title,
.find-good span,
.form-elements .form-partners,
.form-steps .circle,
.rank-line,
.subnav .sugg-img {
    vertical-align: middle
}

.cursor-pointer,
.rank-bar {
    cursor: pointer
}

.navigation-bar-button {
    background-color: #FF950D
}

.navigation-bar-button:hover {
    background-color: #FF7D00
}

body,
html {
    height: 100%;
    margin: 0;
    min-height: 100%;
    color: #333
}

body {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    text-shadow: none;
    text-transform: none;
    word-spacing: 0;
    line-height: 1.2;
    margin: auto
}

#main-content a,
#month-nav a,
.rank-label,
strong {
    font-weight: 700
}

#page-content a {
    color: #398439
}

#page-wrapper {
    text-align: left
}

@media (min-width:1200px) {
    .container {
        width: 1080px!important
    }
}

#page-header {
    background-color: #fff;
    margin: 0 auto;
    position: relative;
    z-index: 2
}

#page-content {
    margin: 5px auto 0;
    border-bottom: none;
    height: auto;
    position: relative
}

#page-footer {
    width: 100%;
    border-top: 3px solid #ff950d
}

#page-header .logo {
    font-size: 36px
}

#page-header .claim {
    font-size: 12px;
    color: #737373;
    letter-spacing: 0
}

#page-header .logo-small {
    background: url(/public/images/v3/apina-small.png) top left no-repeat;
    height: 36px;
    width: 52px;
    position: absolute;
    top: 0;
    left: 305px
}

#google-plus,
#left-col,
#main-content,
.central-box {
    position: relative
}

#page-header #page-logo h1 {
    margin: 0
}

.dx {
    float: right;
    font-size: 22px;
    margin-top: 12px;
    color: #ff950d;
}
.dx:hover,
.dx:visited{
    color: #ff950d;
    text-decoration: none;
}
.dx i {
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    border: 2px solid #ff950d;
    margin-right: 5px;
    width: 32px;
    height: 32px;
    border-radius: 300px;
    -moz-border-radius: 300px;
    -webkit-border-radius: 300px;
}
.dx span {
    font-size: 12px;
    line-height: 6px;
    color: #666;
    width: 100%;
    margin-left: 45px;
    font-weight: normal;
    letter-spacing: 1px;
    clear: both;
    position: relative;
    display: block;
}
#div_dati_lead a,
#div_dati_lead a:visited {
    color: #333 !important;
    font-weight: normal;
    text-decoration: underline;
}

#support-flags,
#div_dati_lead .custom_field {
    padding: 0;
}

#div_dati_lead .custom_field label {
    max-width: inherit;
    display: inline;
    margin-left: 7px;
    font-weight: normal;
}

#div_dati_lead table td {
    padding: 3px 0;
}

#div_dati_lead table td input,
#div_dati_lead .custom_field input {
    width: 18px;
    height: 18px;
}

@media (max-width:640px) {
    #page-header #page-logo h1 {
        font-size: 2em
    }
}

@media (min-width:1200px) {
    #header-nav li a {
        padding: 5px 15px;
        font-weight: 700;
        max-width: 160px
    }
    .navbar {
        border: 0!important
    }
    .navbar-nav li {
        border-right: 5px solid #fff!important
    }
}

@media (max-width: 767px) {
    .dx {
        border-top: 1px solid #dedede;
        text-align: center;
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: #fff;
        padding: 10px 0 10px 24px;
        margin-top: 0;
    }
    .dx i {
        font-size: 12px;
        line-height: 26px;
        margin-right: 3px;
        width: 30px;
        height: 30px;
    }
    .dx span {
        font-size: 12px;
        line-height: 6px;
        margin-top: -3px;
        margin-left: 13px;
        letter-spacing: 1px;
    }
}

.attention-wrapper,
.central-box {
    border: 1px solid #e2e2e2
}

#right-col {
    width: 300px
}

#left-col {
    float: left;
    padding-bottom: 10px
}

#google-plus {
    right: 0;
    top: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: right
}

#main-content h4 {
    margin-top: 0
}

.find-good,
.form-elements {
    margin-top: 10px
}

#main-content p {
    margin-bottom: 3px;
    font-family: Arial;
    font-size: 14px;
    color: #6e6e6e
}

#main-content a {
    color: #398439
}

#main-content a:HOVER,
.form-elements .form-partners label:HOVER {
    text-decoration: underline
}

.form-verify {
    padding: 20px 10px;
	margin-bottom: 20px;
    background: #f4f4f4;
}

.form-steps {
    float: left;
    width: 80px!important
}
.form-verify .form-steps .circle strong {
	font-weight: 700;
    color: #337ab7;
    border: 1px solid #337ab7;
    border-radius: 100px;
    width: 40px;
    line-height: 38px;
    display: inline-block;
}
.addthis-top,
.best-text {
    float: right
}

.form-steps .circle {
    height: 70px;
    line-height: 50px;
    font-size: 25px;
    color: #000;
    text-align: center
}

.form-elements .input-cdm {
    font-size: 20px;
    text-transform: uppercase;
    width: 60%
}

.find-good {
    color: #00913A;
    text-align: right
}

.find-good span {
    margin-right: 10px
}

.box-title {
    font-size: 18px
}

.attention-wrapper {
    padding: 15px 5px 25px
}

.attention-box {
    border: 1px solid #337ea6
}

.attention-box .title {
    height: 30px;
    background-color: #337ea6;
    color: #fff;
    text-align: center;
    line-height: 30px
}

.attention-box .content {
    color: #337ea6;
    text-align: center;
    padding: 5px
}

.attention-box .content a {
    color: inherit;
    text-decoration: none
}

.attention-box .content a:HOVER {
    text-decoration: underline
}

.attention-box .big {
    font-size: 25px
}

.best-text {
    margin-left: 10px
}

#page-footer {
    background: #fafafa;
}

#page-footer a {
    color: #333
}

#page-footer .info {
    font-size: 10px;
    text-align: center
}

#right-col .subnav {
    border-top: 1px dotted #BFBFBF
}

.subnav .ma {
    margin-left: 5px;
    margin-top: 5px;
    margin-bottom: 10px
}

#right-col .subnav .a-suggestion,
.a-suggestion:ACTIVE,
.a-suggestion:HOVER,
.a-suggestion:LINK,
.a-suggestion:VISITED {
    color: #6E6E6E;
    text-decoration: none
}

.subnav h2 {
    font-size: 18px
}

#right-col .subnav a {
    text-decoration: none
}

#month-nav a:HOVER,
#right-col .subnav a:HOVER {
    text-decoration: underline
}

.paolo-valenti a {
    color: #F44B4B!important
}

.subnav .sugg-img-box {
    float: left;
    height: 41px;
    width: 72px
}

.subnav .sugg-text-box {
    float: left;
    width: 190px;
    color: #6E6E6E
}

.lF a,
.tF,
a.lF {
    color: #FFF
}

.spacer-30 {
    height: 30px
}

.spacer-20 {
    height: 20px
}

.spacer-10 {
    height: 10px
}

.clearb {
    clear: both
}

.cbp {
    padding: 5px 5px 15px
}

#flash-message {
    width: 100%;
    height: 50px;
    position: absolute;
    top: 5px;
    left: 0;
    z-index: 9999;
    background: #fff;
    display: none
}

#flash-message-internal {
    left: 0;
    margin: auto;
    width: 90%;
    text-align: center;
    border: 1px solid #000;
    height: 50px;
    line-height: 50px
}

.rank-bar,
.rank-label {
    float: left;
    line-height: 25px
}

#flash-message .info {
    background-color: #FFAE00
}

#flash-message .error  {
    background-color: #F44B4B
}

.banner-offerte>div {
	position: relative;
    border: 1px solid #dedede;
	text-align: center;
    margin: 20px 0 20px 6.5%;
    padding: 0 20px 20px;
    min-height: 270px;
    background: #fff;
    -webkit-box-shadow: 0 0 8px rgba(0,0,0,.1);
    -moz-box-shadow: 0 0 8px rgba(0,0,0,.1);
    box-shadow: 0 0 8px rgba(0,0,0,.1);
}
.banner-offerte>div center {
	height: 80px;
	border-bottom: 1px solid #dedede;
}
.banner-offerte>div h3 {
    color: #ff7d00;
	font-size: 20px;
    line-height: 26px;
    font-weight: normal;
    text-align: center;
	text-transform: uppercase;
    display: inline-block;
}

.banner-offerte>div h4 {
    margin-top: 0;
    color: #333;
	font-size: 14px;
    line-height: 20px;
    font-weight: normal;
    text-align: center;
    display: inline-block;
}

.banner-offerte button {
	border: none;
	outline: none;
	padding: 10px;
	width: 200px;
    position: absolute;
	margin-left: -100px;
	left: 50%;
	bottom: 20px;
	z-index: 1;
}

.check-privacy {
    font-size: 10px
}

@media (max-width:640px) {
    .banner-offerte>div {
        margin: 20px
    }
}

#month-nav li {
    float: left;
    margin-left: 8px;
    margin-right: 8px;
    list-style-type: none
}

#month-nav {
    margin-bottom: 10px
}

#month-nav a {
    text-decoration: none;
    color: #2A71B0
}

.hera-color {
    background-color: #E0078C
}

.edison-color {
    background-color: #00994F
}

.a2a-color {
    background-color: #00A5D9
}

.iren-color {
    background-color: #ED001A
}

.eni-color {
    background-color: #FFD400
}

.enel-color {
    background-color: #FFC63E
}

.acea-color {
    background-color: #325DA7
}

.rank-line {
    width: 608px;
    height: 25px
}

.rank-bar {
    height: 20px;
    margin-top: 3px
}

.rank-label {
    margin-left: 10px;
    clear: right;
    font-size: 12px
}

.ui-autocomplete-loading {
    background: url(../../gif/loading.gif) right center no-repeat #fff
}

.header-2 {
    font-size: 18px!important;
}
.form-verify.custom .form-elements {
	margin-top: 0;
	padding: 0;
}
.form-verify .form-elements span,
.form-verify .form-elements.custom label {
	font-size: 16px;
	font-weight: normal;
	color: #337ab7;
	margin-bottom: 5px;
	display: block;
}
.form-verify .form-partners label {
	margin: 0 5px;
}
.form-verify .form-elements.custom div {
	width: 32.5%;
	display: inline-block;
    vertical-align: top;
}
.form-verify .form-elements.custom div div {
    width: 100%;
}
.form-verify .form-elements.custom input {
	margin-bottom: 10px;
}
.form-verify .form-elements .btn {
    padding: 10px 31px;
	outline: none;
	cursor: pointer;
}
.form-verify #verifica-div {
	margin-top: 20px;
}
.privacy_check {
	font-size: 12px;
	color: #666;
	font-weight: normal;
}
.privacy_check,
.check.custom {
	margin: 0 30px;
}
.check.custom {
	margin-top: 20px;
}
.privacy_check {
	display: none;
}
.privacy_check .check {
	margin-bottom: 10px;
}
.privacy_check input,
.check.custom input {
	width: auto;
	padding: 0 !important;
	margin: 0 10px 0 0 !important;
	vertical-align: top;
	float: left;
}

.privacy_check label,
.check.custom label {
	font-size: 12px;
	font-weight: normal;
	width: auto;
	display: block;
}
.privacy_check label {
	font-size: 11px;
}
.privacy_check a,
.check.custom a,
.privacy_check a:visited,
.check.custom a:visited {
	color: #ff7d00 !important;
	font-weight: normal !important;
}
table .check {
    margin-right: 10px;
}

/* -----------------------------------------------------------------------------------------------------------------------------fancybox dettaglio */
.layout_hidden {
	overflow: hidden;
	position: fixed;
}
.fancybox_wrapper {
	background-color: rgba(0,0,0,0.9);
	text-align: center;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;
	/*display: none;*/
}
.fancybox_container {
	background-color: #fff;
	margin: 5% auto 0;
	width: 670px;
        height: 470px;
	margin-bottom: 40px;
	position: relative;
        /*overflow: hidden;*/
        overflow-y: scroll; /* has to be scroll, not auto */
        -webkit-overflow-scrolling: touch;
}
.fancybox_container .col-content {
	padding: 50px 10% 15px;
}
.fancybox_container .close {
	width: 40px;
	height: 40px;
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10;
	opacity: 1;
}
.fancybox_container .close:before, 
.fancybox_container .close:after {
    content: "";
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: block;
    background-color: #666;
    height: 2px;
    position: absolute;
    width: 34px;
}
.fancybox_container .close:before {
    transform: rotate(45deg);
    top: 21px;
}
.fancybox_container .close:after {
    transform: rotate(-45deg);
    bottom: 18px;
}
.fancybox_container h3 {
	font-size: 20px;
	line-height: 28px;
	text-transform: uppercase;
	font-weight: 500;
}
.fancybox_container h4 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 20px;
}
.fancybox_container ul li {
	border-bottom: 1px solid #dedede;
	font-size: 14px;
	text-align: left;
	padding: 5px 0;
}
.fancybox_container ul li span {
	font-weight: 500;
	float: right;
}
.fancybox_container small {
	font-size: 12px;
	text-align: left;
	display: block;
	margin: 20px 0;
}
.fancybox_container .button_link { 
	background-color: #5cb85c;
	font-size: 16px;
	font-weight: 500;
	color: #fff !important;
	padding: 10px 30px;
	margin: 0;
	display: inline-block;
	text-transform: uppercase;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
.fancybox_container .button_link:hover {
	background-color: #449d44;
	text-decoration: none !important;
}
.fancybox_container.form_contact h3 {
	padding: 30px 30px 0;
}
.fancybox_container.form_contact h3 span {
	color: #ff7619;
	display: block;
}
.fancybox_container.form_contact h4 {
	margin-bottom: 10px;
}
.fancybox_container.form_contact .col-content {
    padding: 0 22px 15px;
}
.fancybox_container.form_contact .first {
	background-color: #59aa51;
	padding: 10px 35px;
	margin: 20px 0 10px;
	width: 100%;
}
.fancybox_container.form_contact .first li {
	border-bottom: none;
	font-size: 16px;
	line-height: 20px;
	color: #fff;
	font-weight: 500;
	text-transform: uppercase;
	padding: 0;
	margin: 0;
	width: 32.5%;
	display: inline-block;
}
.fancybox_container.form_contact .first li small {
	font-size: 12px;
	font-weight: 300;
	text-transform: none;
	margin: 0;
}
.fancybox_container.form_contact .form_container {
    background-color: transparent;
    border: none;
    padding: 0;
	margin: 0;
}
.fancybox_container.form_contact .form_container ul {
	margin: 0;
	padding: 0;
}
.fancybox_container.form_contact form li, 
.fancybox_container.form_contact form li:first-child {
    border-bottom: none;
    width: 31%;
    display: inline-block;
	margin-bottom: 0;
}
.fancybox_container.form_contact form li:nth-child(2), 
.fancybox_container.form_contact form li:nth-child(4) {
    margin: 0 10px;
}
.fancybox_container.form_contact form li input {
	height: 40px;
}
.fancybox_container.form_contact p.custom {
	font-size: 16px;
	text-align: left;
	margin: 10px 0;
}
.scrollbot-scrollbar-holder {
	background-color: #dedede !important;
	width: 6px !important;
	height: auto !important;
	top: 10px !important;
	right: 3px !important;
	bottom: 10px !important;
}
.scrollbot-scrollbar {
	background-color: #999 !important;
	width: 6px !important;
}
.choose_services {
	text-align: left;
	margin: 0 0 20px;
}
.choose_services span {
    background: #f3f3f3;
    font-size: 20px;
	color: #333;
	font-weight: 500;
	text-align: center;
    text-transform: uppercase; 
	text-decoration: none;
	vertical-align: middle;
	padding: 10px 2px;
	width: 47.5%; 
	display: inline-block;
    position: relative;
    cursor: pointer;
}
.choose_services span.select_gas {
    margin-left: 17px;
}
.choose_services span i {
    font-size: 22px;
}
.choose_services span i.fa-check {
    font-size: 14px;
    position: absolute;
    top: -3px;
    right: -3px;
    color: #AAA;
    display: none;
    background: #FFF;
    -webkit-border-radius: 90px;
    -moz-border-radius: 90px;
    border-radius: 90px;
    padding: 2px;
}
.choose_services .fa-lightbulb-o:before {
    content: "\f0eb";
}
.choose_services .fa-check:before {
    content: "\f00c";
}
.choose_services span.selected {
    background: #ff7619;
	color: #fff;
}
.choose_services span i.fa-check {
    color: #ff7619;
}
.choose_services span.selected i.fa-check {
    display: inline-block;
}
.fancybox_container .check.custom {
	text-align: left;
	margin: 20px 0 10px 10px;
}
.fancybox_container .privacy_check {
	text-align: left;
	margin: 0 10px;
}
.error p,
label.error,
p.error {
	font-size: 16px;
	color: red;
	font-weight: bold;
}
small.error { 
    color: red;
}
input[type=checkbox].error, 
input.error {	
    border: 1px solid red;
}

.note.custom {
    display: block;
    margin-top: 5px;
}
.note.custom a,
.note.custom a:visited {
    color: #333 !important;
    font-weight: normal !important;
    text-decoration: underline !important;
}

#internal p {
    margin-bottom: 10px;
}
.hide_element {
	font-size: 0;
	line-height: 0;
	margin: 0;
	padding: 0;
	width: 0;
	height: 0;
	display: block;
}
.icon_loghi {
	text-align: center;
}
.icon_loghi ul {
	padding: 0;
}
.icon_loghi li {
	display: inline-block;
	border: 1px solid #dedede;
	width: 49%;
	height: 52px;
}
.icon_loghi li a {
	display: inline-block;
	width: 100%;
	height: 100%;
	text-indent: -9999px;
	overflow: hidden;
}
.icon_loghi li a {
	background-image: url("https://cdn3.comparasemplice.it/images/loghi_energia.png");
	background-repeat: no-repeat;
}
/* loghi energia */
.logo_eni {
	background-position: center 0;
}
.logo_enel {
	background-position: center -51px;
}
.logo_edison {
	background-position: center -101px;
}
.logo_amga {
	background-position: center -148px;
}
.logo_acea {
	background-position: center -199px;
}
.logo_illumia {
	background-position: center -249px;
}
.logo_eon {
	background-position: center -297px;
}
.logo_heracomm {
	background-position: center -346px;
}
.logo_wekiwi {
	background-position: center -398px;
}
.logo_gasnatural {
	background-position: center -445px;
}
.logo_iren {
	background-position: center -496px;
}
.logo_greenetwork {
	background-position: center -548px;
}
.logo_vivigas {
	background-position: center -594px;
}
.logo_gelsia {
	background-position: center -644px;
}
.logo_invent {
	background-position: center -694px;
}
.logo_enne {
	background-position: center -744px;
}
.logo_engie {
	background-position: center -795px;
}
.logo_dolomiti {
	background-position: center -844px;
}
.logo_a2a {
	background-position: center -891px;
}
.logo_sorgenia {
	background-position: center -941px;
}
.logo_cvatrading {
	background-position: center -991px;
}
.logo_agsm {
	background-position: center -1039px;
}
.logo_eviva {
	background-position: center -1090px;
}
.logo_enostra {
	background-position: center -1139px;
}
.logo_gasales {
	background-position: center -1189px;
}
.logo_nuovenergie {
	background-position: center -1238px;
}
.logo_sato {
	background-position: center -1288px;
}
.logo_energetic {
	background-position: center -1336px;
}
@media (max-width: 1199px) {
	.banner-offerte .col-md-3 {
		width: 30%;  
		margin: 20px 0 20px 2.5%;
	}
	.form-verify .form-partners nobr {
		display: inline-block;
		margin-bottom: 8px;
	}
	.form-verify #verifica-div {
		margin-top: 5px;
	}
}
@media (max-width: 1023px) {
	.form-verify .form-steps {
		width: 58px!important;
	}
	.form-verify .form-steps .circle strong {
		width: 30px;
		line-height: 28px;
		font-size: 16px;
	}
	.form-verify .form-elements.custom div {
		width: 100%;
	}
	.banner-offerte>div h3 {
		font-size: 16px;
		line-height: 20px;
	}
	.banner-offerte>div {
		padding: 0 10px 10px;
		min-height: 260px;
	}
	.banner-offerte button {
		padding: 10px;
		width: 190px;
		margin-left: -95px;
		bottom: 15px;
	}
	#right-col {
		width: 232px;
	}
}
@media (max-width: 767px) {
	.form-verify .form-control {
		width: 250px;
		margin-left: 13px;
	}
	.banner-offerte .col-md-3 {
		margin: 10px 0;
	}
	.banner-offerte>div {
		min-height: auto;
	}
	.banner-offerte button {
		padding: 10px 20px;
		width: auto;
		margin-left: 0;
		bottom: inherit;
		position: relative;
		left: inherit;
	}
	.form-steps .circle {
    	height: auto;
	}
	.form-verify .form-elements span {
		font-size: 14px;
		margin: 6px 0 12px;
	}
	.form-verify .form-control {
		margin-bottom: 10px;
	}
	.form-verify .form-partners {
		margin-left: 20px;
	}
	.form-verify .form-steps {
		width: 52px!important;
	}
	.form-verify .form-elements.custom {
		margin-left: 20px;
	}
	.form-verify .form-elements.custom input {
		width: 243px;
		margin-left: 0;
	}
	.form-verify .form-elements .btn {
		width: 243px;
		padding: 10px 0;
		margin: 0 0 0 19px;
	}
	.fancybox_container.form_contact form li:nth-child(2), 
	.fancybox_container.form_contact form li:nth-child(4) {
		margin: 0;
	}
	.fancybox_container.form_contact h3 {
		font-size: 14px;
		line-height: 20px;
		padding: 20px 10px 0;
		margin-bottom: 0;
	}
	.fancybox_container .check.custom {
		margin: 5px 0 10px 0px;
	}
	.fancybox_container.form_contact h3 span {
		display: inline-block;
	}
	.fancybox_container .close {
		top: 0px;
		right: 1px;
	}
	.fancybox_container .privacy_check {
		margin: 0;
	}
	.fancybox_container.form_contact form li, 
	.fancybox_container.form_contact form li:first-child,
	.banner-offerte .col-md-3,
	#right-col {
		width: 100%;
	}
	.fancybox_container {
		background-color: #fff;
		margin: 2px auto 0;
		width: 98%;
	}
	.fancybox_container.form_contact .first {
		display: none;
	}
}
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (       min-device-pixel-ratio : 2),
only screen and (			min-resolution : 192dpi),
only screen and (			min-resolution : 2dppx) {
	.icon_loghi li a {
		background-image: url("https://cdn3.comparasemplice.it/images/loghi_energia.png");
		background-size: 250px 1900px;
		background-size: 250px 1900px;
		background-size: 250px 1900px;
	}
}
