.erebus.system { font-family: Consolas !important; }
.erebus.hidden { display: none !important; }

/*
| Messaggi
*/
.erebus.message
{
	position: relative;

	margin: 5px;
	padding: 8px;

	font-size: 14px;
	font-weight: normal;
	color: #666;

	background-color: #EEE;
	text-align: left;

	border: 1px solid #666;
	border-radius: 3px;

	overflow: hidden;
}

.erebus.message .closure
{
	display: block;

	position: absolute;
	top: 3px;
	right: 3px;

	width: 14px;
	height: 14px;

	font-size: 12px;

	text-align: center;
	line-height: 14px;

	color: inherit;

	border-radius: 3px;

	cursor: pointer;
}

.erebus.message .closure:after
{
	content: 'X';
}

.erebus.message .closure:hover
{
	color: #EEE;
	background-color: #666;
}

.erebus.message h1
{
	margin: 0px !important;
	padding: 0px !important;

	font-size: inherit !important;
	font-weight: bold !important;

	color: inherit !important;

	font-family: inherit !important;
	font-style: normal !important;

	text-shadow: none !important;
}

.erebus.message p
{
	margin: 2px 0px !important;
	padding: 0px !important;
}

.erebus.message a
{
	color: inherit !important;
	font-weight: bold !important;
}

.erebus.message .quote
{
	color: inherit !important;
	font-style: italic !important;
	font-size: 12px !important;
}

.erebus.message.success
{
	color: #0A0;
	background-color: #EFE;
	border-color: #0A0;
}

.erebus.message.success .closure:hover
{
	color: #EFE;
	background: #0A0;
}

.erebus.message.warning
{
	color: #F60;
	background-color: #FFE;
	border-color: #F60;
}

.erebus.message.warning .closure:hover
{
	color: #FFE;
	background: #F60;
}

.erebus.message.error
{
	color: #D00;
	background-color: #FEE;
	border-color: #D00;
}

.erebus.message.error .closure:hover
{
	color: #FEE;
	background: #D00;
}

/**/

/* Fixes */

/*
 * Offerte Preview
 */
 #offerte.erebus
 {

}

#offerte.erebus img
{
    width: 100%;
    margin-bottom: 16px;
}

/*
 * Offerte Preview
 */
#offertepreview.erebus
{
    font-family: 'Raleway';
    color: #33393E;
    margin-bottom: 24px;
}

#offertepreview.erebus .thumbnail
{
    padding: 66% 0 0 0;
    margin: 0px;

    background-size: cover;
    background-position: center;
}

#offertepreview.erebus .caption
{
    margin-bottom: 24px;

    text-align: center;
}

#offertepreview.erebus h3
{
    margin: 12px auto;
    font-size: 21px;
    font-weight: normal;
    min-height: auto;
}

/*
| Form
*/
.erebus form input[name=honeypot]
{
	display: none !important;
}
/**/

/*
| Calendar
*/
select.ui-datepicker-month,
select.ui-datepicker-year
{
	color: #000 !important;
}

select.ui-datepicker-month
{
    float: left !important;
}

select.ui-datepicker-year
{
    float: right !important;
}
/**/

/*
| Gallerie
*/
#gallerie.erebus img { display: none; }

#gallerie.erebus .thumbnail
{
    padding: 100% 0 0 0;
    margin: 0px;

    background-size: cover;
    background-position: center;
}

#gallerie.erebus.album
{
    margin: 24px 0;
}

#gallerie.erebus h3
{
    font-family: 'Raleway';
    color: #33393E;
    font-size: 24px;
    font-weight: normal;
    min-height: auto;

    text-align: center;
}
/**/

/*
| Calcolo Preventivo
*/
#preventivoCalcolo.erebus .totale
{
	text-align: center;
	font-weight: bold;
	font-size: 18px;
}
/**/

/*
 * Contatti
 */
#contatti.erebus *
{
    font-size: 15px !important;
}

#contatti.erebus a
{
    color: #fff;
}

#contatti.erebus input[type=checkbox]
{
    height: 18px;
}

#contatti.erebus label
{
    display: block;
    margin: 4px 0;
    color: #fff;

    text-align: left;
}

#contatti.erebus .modulo_alt
{
    display: block;

    width: 100%;

    padding: 0;
    margin: 5px 0;

    color: #000;
    text-indent: 10px;

    background-image: none;
    background-repeat: no-repeat;
    background-color: #fff;

    border: none;
    border-radius: 4px;

    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;

    box-shadow: none;
}

#contatti.erebus select.modulo_alt
{
    background-image: url('/images/arr_down.png');
    background-repeat: no-repeat;
    background-position: 95% 50%;
    background-position: right 6px bottom 50%;
}

#contatti.erebus textarea.modulo_alt
{
    /* height: 144px; */
    resize: none;
}

/*
| Rettangolo verde invio mail con successo!
*/
.alert {
    padding: 55px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px
}

.alert h4 {
    margin-top: 0;
    color: inherit
}

.alert .alert-link {
    font-weight: 700
}

.alert>p,
.alert>ul {
    margin-bottom: 0
}

.alert>p+p {
    margin-top: 5px
}

.alert-dismissable,
.alert-dismissible {
    padding-right: 35px
}

.alert-dismissable .close,
.alert-dismissible .close {
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6
}

.alert-success hr {
    border-top-color: #c9e2b3
}

.alert-success .alert-link {
    color: #2b542c
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1
}

.alert-info hr {
    border-top-color: #a6e1ec
}

.alert-info .alert-link {
    color: #245269
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc
}

.alert-warning hr {
    border-top-color: #f7e1b5
}

.alert-warning .alert-link {
    color: #66512c
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1
}

.alert-danger hr {
    border-top-color: #e4b9c0
}

.alert-danger .alert-link {
    color: #843534
}