﻿/*
    ####################################
    silversea.css personalization

    Ci vanno solo le classi che sovrascrivono 
    gli stili originali di silversea.css
    +
    da febbraio 2016 classi standard per i progetti di Silversea
    ####################################
*/

/* Checkbox */
.check-mask {
    background: url(../images/checkbox/icon-check-off.png) no-repeat;
    background-size: 30px auto;
}

    .check-mask.selected {
        background: url(../images/checkbox/icon-check-on.png) no-repeat;
        background-size: 30px auto;
    }

/* #1757 2016.07.11 START */
.check-mask.disabled {background:url(../images/checkbox/icon-check-off-disabled.png) no-repeat; background-size:30px auto;}
.check-mask.selected.disabled {background:url(../images/checkbox/icon-check-on-disabled.png) no-repeat; background-size:30px auto;}
.check-mask-small.disabled {background:url(../images/checkbox/icon-check-off-disabled.png) no-repeat; background-size:20px auto;}
.check-mask-small.selected.disabled {background:url(../images/checkbox/icon-check-on-disabled.png) no-repeat; background-size:20px auto;}
/* #1757 2016.07.11 END*/

/* #1688 2016.07.11 START */
label.check-mask-small {
    margin: 0;
	width:20px;
	height:20px;
	background-size:20px auto;
}
	
label.check-mask-small.selected { background-size:20px auto;}
/* #1688 2016.07.11 END*/

div.lbl-broadcast {
    color: white;
    display: inline;
}
	
div.lbl-broadcast span {color: white; padding-left: 3px;padding-right: 8px;}

/* #2404 2017.01.23 START */
div.lbl-engine {
    color: white;
    display: inline;
}
	
div.lbl-engine span {color: white; padding-left: 3px;padding-right: 8px;}
/* #2404 2017.01.23 END*/
/* Tables */

table.no-border > thead > tr > th, table.no-border td {
    border: 0;
}

.table-footer div {
    height: 2.5rem;
    line-height: 40px;
    text-align: center;
}

table {
    background-color: rgba(255,255,255,.7);
}

tbody tr:focus {
    background: #93c8eb;
    color: #fff;
    outline: 0;
}

    tbody tr:focus .linkButton, tbody tr:focus .sr-linkButton, tbody tr:hover a,
    tbody tr:hover .lnkHover
    /*tbody tr:hover .sr-linkButton, tbody tr:hover .linkButton*/ {
        color: #fff;
    }

/* Form */
    tbody tr:focus td input,
    tbody tr:focus td .custom-mask  {
        color: #000;
    }

input[type=text], input[type=email], input[type=tel], input[type=number] {
    min-width: 0;
}

input[type=number] {
    border: 1px solid #666;
    height: 2.5rem;
    padding: 0 .375rem;
    vertical-align: middle;
    font-size: .875rem;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
}

.form-error div.custom-mask,
.form-error input[type=number] .form-error select {
    border: 2px solid #d60524 !important;
}

.custom-mask {
    width: 100%;
}

.selected-custom-mask, .selected-custom-mask input:focus {
    border: 1px solid #66afe9 !important;
    outline: 0 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6) !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6) !important;
}

.focus {
    border: 1px solid #66afe9 !important;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}


.custom-mask select:focus {
    width: 100%;
    /*height: 100%;*/
}

.custom-mask select {
    height: 100%;
    padding: 0 !important;
}

.custom-mask.sr-gray:before {
    background: rgba(0,0,0,0);
    content: "\e646";
    font-family: 'silversea-icons';
    position: absolute;
    right: 0;
    padding-top: 8px;
    width: 40px;
    height: 100%;
    text-align: center;
    color: #FFFFFF;
}

/*Sovrascrive label:first-of-type*/
/*label.radio-mask {
    width: 30px;
}

.radio-mask input {
    width: 100%;
    height: 100%;
}*/

/* Labels */


table label.radio-mask {
    width: 30px;
}

label:first-of-type {
    text-align: left !important;
}

label.check-mask {
    margin: 0;
    width: 30px;
}

/* DropDowns*/

.custom-mask p {
    padding-right: 40px;
    height: 100%;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* Datepicker */

*[datepicker] td, *[datepicker] th {
    padding: 0;
}

*[datepicker] tbody tr:hover,
tbody tr:hover *[datepicker] tr {
    background: none;
    color: #000000;
}

*[datepicker] tr:hover:nth-child(even),
*[datepicker] tr:nth-child(even),
*[datepicker] th {
    background: none;
}


*[datepicker] th {
    color: #000000;
    vertical-align: middle;
}

*[datepicker] table {
    border: none;
    outline: none;
}

.dropdown-menu button {
    background-image: none;
}

*[datepicker] td {
    border-right: none;
}

/* Alerts */
.error:before {
    content: "\e62f";
}

@media (max-width:1024px) {
    .custom-mask:before, .custom-mask.sr-gray:before {
        width: 20px;
    }
}

tr:hover .linkButton {
    color: rgba(255,255,255,.7);
}

tr .linkButton:hover {
    color: white;
}

.ss-bold {
    font-weight: bold !important;
}


/*------------------------------*/
/*Parte classi standard per i progetti dialog Silversea*/

/*elemento della legenda tipo features o availability*/
.legenda li {
    min-width: 160px;
}

.nl2br {
    white-space: pre;
}


.custom-mask-disabled {
    opacity: .5;
}

.dropdown-menu a {
        text-decoration: none;
        cursor: pointer;
    }

/*
 * classi CSS usate da SortableCollection
 *
 */
.sc-column {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: pointer;
    margin-top:2px;
    margin-right:5px;
}

.sc-column-desc-true:after {
    content: "\e113";
}

.sc-column-desc-false:after {
    content: "\e114";
}

.sc-column-inactive:after {
    content: "\e150";
}

/* lansa: stile applicato ai guest selezionati durante la fase di wizard */
.pax-small-recap {
    font-size: 0.7rem;
}
/* lansa: separatore verticale guest selezionati durante la fase di wizard*/
.vertical-separator {
    border: 0px;
    border-left: 1px solid #c0c0c0;
    height: 100%;    
}

input.header-filter {
    color: black;
    height:22px;
    margin:3px;
    padding:2px 4px;
}

/* etichetta disabilita */
label.disabled {
    color: #666 !important;
}

.sr-revert-ratio { /* revert tassi di conversione sr-currency-ratio */
    background-color: #f0ad4e;
    font-weight: bold;
}

tr:hover .glyphicon:hover {
    color:#f0f0f0 !important;
}

/* stili componente sr-matrix-panel - inizio */

.matrix-selected-row {
    color: black !important;
}
.matrix-selected-col {
    color: black !important;
}
.matrix-selected-cell {
    color: black !important;
}
.matrix-cell-touched {
    margin:0;
    padding:0;
    width: 3px;
    background-color:#c20522;
}
.matrix-colgroup {
    text-align: center;
    padding:10px 5px;
    border: 1px solid rgba(0,0,0,.075) !important;
}
.matrix-colheader, .matrix-rowheader {
    text-align: center;
    padding: 10px 3px;
    border: 1px solid rgba(0,0,0,.075) !important;
}
.matrix-input {
    height:25px !important;
    border:1px solid #999 !important;
}
.matrix-column {
    margin:0;
    padding:0;
    line-height:normal;
    vertical-align:middle;
    text-align:center;
    border-right: 1px dotted #aaa !important
}
.matrix-cell-boolen, .matrix-cell-button {
    text-align: center;
}
.matrix-cell {
    text-align: left;
}
.matrix-row {
    margin:0;
    padding:0;
    line-height:normal;
    vertical-align:middle;
}
.matrix-row-current {
    width:auto;
    text-align:left;
}
.matrix-row-current::before {
    position:absolute;
    margin-left:-22px;
    content:'';
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent; 
    border-left: 20px solid black; 
    border-bottom: 10px solid transparent;
    z-index:100;
}
.matrix-input-number {
    text-align:right !important;
}
.matrix-input-percent {
    text-align:right !important;
}
.matrix-input-listbox {
    padding:0;
    margin:0;
}
.matrix-calculate-field {
    color: #d60524 !important;
    font-weight: bold !important;
}
.matrix-switch {
    width:50px !important;
    height:16px !important;
    margin-left:3px !important;
    margin-right:3px !important;
}
.matrix-switch small {
    width:16px !important;
    height:16px !important;
}
.matrix-switch.checked small {
    left:33px !important;
}
.matrix-warning,
.matrix-warning:hover,
.matrix-warning:focus {
    position:absolute;
    margin-top: 5px;
    margin-left: 3px;
    color:darkgoldenrod;
    float:left;
    z-index:10;
    cursor:pointer;
}
.matrix-cell-current {
    border: 3px solid #444;
}
.matrix-cell-tools {
    position:absolute;
    margin-top: -10px;
    margin-left: 0;
    z-index:10;
    width: 0; 
    height: 0; 
    border-bottom: 10px solid cornflowerblue; 
    border-right: 20px solid transparent;
    cursor:pointer;
}
.matrix-cell-selection-range {
    border: 3px dotted #d60524 !important;
}
tr.matrix-row:hover {background-color: transparent !important; color:black !important;}

#matrix-toolsbox {
    position:absolute;
    top:0;
    left:0;
    background-color:gray;
    padding:2px;
    border:2px outset black;
}
#matrix-toolsbox-caption {
    background-color:blue;
    height:15px;
    width:100%;
}
    #matrix-toolsbox-caption i {
        color: black; 
        font-size: 0.6rem; 
        float: right; 
        background-color: 
            white; padding: 2px;
    }
button.matrix-btn-tools {
    padding: 3px !important;
    border:1px solid #c0c0c0;
}
i.matrix-btn-tools {
    padding: 3px !important;
}
div.matrix-sheet-container {
    overflow:auto;
}
div.matrix-row-touched {
    border-left: 2px solid #c20522 !important;
}

.matrix-btn-success {
    color: #ffffff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}
.matrix-btn-normal {
    color: #ffffff;
    background-color: #ded65b;
    border-color: #eea236;
}
.matrix-btn-info {
    color: #ffffff;
    background-color: #5bc0de;
    border-color: #46b8da;
}
.matrix-btn-warning {
    color: #ffffff;
    background-color: #f0ad4e;
    border-color: #eea236;
}
/* stili componente sr-matrix-panel - fine */

.hover-pointer {
    cursor: pointer;
}

.no-padding-left {
    padding-left: 0;
}

.fix-ie-editor-inline {
    vertical-align: middle !important;
}
.fix-ie-editor-inline div.custom-mask {
    margin-bottom: -6px;
}



/* #3891 nuvoletta di notifica messaggistica */
.alert-minimalist {
	background-color: rgb(241, 242, 240);
	border-color: rgba(149, 149, 149, 0.3);
	border-radius: 3px;
	color: rgb(149, 149, 149);
	padding: 10px;
}
.alert-minimalist::before { content: none; }

.alert-minimalist > [data-notify="icon"] {
	height: 50px;
	margin-right: 12px;
}
.alert-minimalist > [data-notify="title"] {
	color: rgb(51, 51, 51);
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
	margin-top: 35px;
}
.alert-minimalist > [data-notify="message"] {
	font-size: 100%;
}

.alert-minimalist div.btnX {
	background-color: #cdcdcd
}
/* #3891 nuvoletta di notifica messaggistica */

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    opacity: 0.5 !important;
}

/* #5281 reder switch size more */
div.switch-x2 span {
    width: 100px;
}
div.switch-onwork {
    position: absolute;
    z-index: 100;
    width: 60px;
    text-align: center;
    background:white;
    opacity: 0.5;
}
div.switch-x2 div.switch-onwork {
    width: 100px !important;
}
div.switch-x2 span.checked > small {
    left: 80px !important;
}
div.switch-x2 span.off {
    right: -30px !important;
}

/* #5490 */
textarea.item-master-gift-message {
    height: 7rem;
}
