/**
 * @version    2.0.0
 * @package    YachtSafe
 * @author     Izhar Aazmi <info@bhartiy.com>
 * @copyright  2012 (C) Bhartiy Web Technologies. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */
/* Global Font setup */
@font-face {
    font-family: 'InterstateMono';
    src: url('../fonts/interstate_mono.eot');
    src: url('../fonts/interstate_mono.eot?#iefix') format('embedded-opentype'),
         url('../fonts/interstate_mono.svg#Interstate Mono') format('svg'),
         url('../fonts/interstate_mono.woff') format('woff'),
         url('../fonts/interstate_mono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body a:hover, a, a:hover {
    text-decoration: none;
}
body {
    font-family: InterstateMono, 'sans-serif', serif;
}
.alert .close {
    font-family: sans-serif, serif;
}
/* Common Utility */
* {
    box-sizing: border-box;
}
.hidden {
    visibility: hidden;
    display: none;
    height: 1px;
    width: 1px;
}
.w100p {
    width: 100%;
}
.w50p {
    width: 50%;
    float: left;
}
.clearfix {
    clear: both;
}
.drop-10 {
    margin-top: 10px;
}
.drop-2 {
    margin-top: 2px;
}
.pushup-1 {
    margin-top: -1px;
}
.center {
    text-align: center !important;
}
.v-middle {
    vertical-align: middle !important;
}
.transparent {
    background: transparent !important;
}
.scroll-x {
    overflow-x: auto;
}
.scroll-y {
    overflow-y: auto;
}
.scroll-xy {
    overflow-x: auto;
    overflow-y: auto;
}
.row-narrow {
    line-height: 1.6;
    padding: 2px 5px;
}
div.input {
    padding: 1px 3px;
    border: 1px solid #cecece;
    background-color: #efefef /*, transparent*/;
    color: #000000;
    text-shadow: #ffffff 1px 1px;
    min-height: 22px;
    min-width: 40px;
}
.input-small {
    width: 120px;
    height: 22px;
    font-weight: normal;
    color: #6b6b6b;
    padding: 1px 3px !important;
}
.input-little {
    width: 100px;
    height: 22px;
    font-weight: normal;
    color: #6b6b6b;
    padding: 1px 3px !important;
}
.input-standard {
    height: 22px;
    font-size: 12px;
    font-weight: normal;
    color: #6b6b6b;
}
.btn-calendar {
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    padding: 0;
    width: 100%;
    height: 22px;
    box-shadow: none !important;
}
@media print {
    .btn-calendar {
        border-bottom: #eee 1px solid !important;
        box-shadow: none !important;
    }
}
.btn-calendar i {
    margin: 3px 2px 2px 4px;
    float:left;
}
.btn-calendar input, .btn-calendar input:focus {
    border: none !important;
    /*width: 100%;*/
    height: 19px;
    text-align: center;
    float: right;
    font-size: 12px;
    font-weight: normal;
    color: #000000;
    width: calc(100% - 28px);
    z-index: 10;
    opacity: 0.8;
}

div.calendar-wrap {
    display: inline-block !important;
    width: 120px;
    margin: 2px 3px 0 3px;
    vertical-align: middle;
}
label {
    font-weight: normal !important; /* Remove this to enable bold face fonts on labels */
}
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="tel"], textarea {
    display: inline ;
    max-width: 100%;
}
input[type="number"] {
    text-align: center;
}
.pull-right {
    float: right;
}
.pull-left {
    float: left;
}
.star {
    color: #e86869;
    font-size: 11px;
}
.error-field, .error-field + span:after, .error-field + span:before {
    background: #f99 !important;
    border: #f00 1px dashed !important;
    border-radius: 2px;
    padding: 1px;
}

.alert-info {
    padding: 8px 35px 8px 14px;
    margin-bottom: 20px;
    border: 1px solid #eccea9;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #474135;
    background-color: #eccea9;
}
.alert-info a {
    color: #e86869;
    text-shadow: #ffffff 1px 2px 1px;
}

/* @todo: Change the selector for this! */
.btn-ysafe {
    align-items: flex-start;
    background-clip: border-box;
    background: #e86869 none scroll;
    background-origin: padding-box;
    background-size: auto;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-radius: 4px;
    border: 1px solid #e86869;
    box-shadow: #e86869 0 1px 0 0;
    box-sizing: border-box;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    letter-spacing: normal;
    line-height: 26px;
    margin: 2px;
    min-height: 24px;
    padding: 0 10px;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    vertical-align: middle;
    white-space: pre;
}
.btn-ysafe-small {
    height: 26px;
    width: 70px;
}
.btn-ysafe-micro {
    height: 14px;
    width: 16px;
}
.btn-ysafe-big {
    height: 32px;
    width: 180px;
}
.btn-radio, .btn-radio:active {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border: 1px solid #efefef;
    box-shadow: #666666 1px 1px;
}
button.btn-standard, button.btn-standard:hover {
    display: inline-block;
    margin-top: 5px;
    padding: 0 15px;
    background: #e86869;
    color: #fff;
    text-decoration: none;
    height: 32px;
    min-height: 32px;
    font-size: 13px;
    border: 1px solid #E86869;
    border-radius: 4px;
    box-shadow: 0 1px 0 0 #e86869;
    cursor: pointer;
    line-height: 24px;
    text-shadow: none;
}
a.btn-rowaction {
    width: 20px;
    display: inline-block;
    margin: 0;
    padding: 5px 8px 5px 5px;
    text-decoration: none;
    height: 24px;
    min-height: 24px;
    font-size: 13px;

    border-radius: 2px;
    cursor: pointer;
    line-height: 14px;
    text-shadow: none;

}
a.btn-rowaction.green {
    background-color: #090 !important;
    color: #fff !important;
    border: 1px solid #090;
}
a.btn-rowaction.red {
    background-color: #e86869 !important;
    color: #fff !important;
    border: 1px solid #e86869;
}

.cursor-pointer {
    cursor: pointer;
}
.allow-inactive {
    background: url(../images/icon-16-allowinactive.png) no-repeat 2px 2px;
    cursor: not-allowed;
}
.allow-active {
    background: url(../images/icon-16-allow.png) no-repeat 2px 2px;
    cursor: pointer;
}
.deny-inactive {
    background: url(../images/icon-16-denyinactive.png) no-repeat 1px 2px;
    cursor: not-allowed;
}
.deny-active {
    background: url(../images/icon-16-deny.png) no-repeat 1px 2px;
    cursor: pointer;
}

label input[type=checkbox].checkbox.darkened + span:before,
label input[type=checkbox].checkbox-right.darkened + span:after {
    content: "\f0c8";
    color: #000000;
}
label input[type=checkbox].checkbox.darkened:checked + span:before,
label input[type=checkbox].checkbox-right.darkened:checked + span:after {
    content: "\f00c";
    background: #000000;
    color: #ffffff;
}
.input-inline {
    display: inline-block !important;
}
.ref-note {
    color: #e86869;
    cursor: pointer;
}
.edit-link {
    color: #e86869;
    cursor: pointer;
}
.header-yacht {
    font-size: 18px;
    font-weight: bolder;
    margin-left: 10px;
}
.header-yacht-logo {
    width: 60px;
    margin: 10px;
}
.bg-color-white {
    background-color: #fff;
}

td, tr {
    page-break-inside: avoid;
}
/** Template fix */
.list-footer {
    margin: 10px auto 0;
    width: 200px;
}
.list-footer #limit {
    width: 70px;
    height: 30px;
    margin: -10px 10px -10px 10px;
    vertical-align: middle;
}

/* Checkbox fix */
.checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
    margin-left: -20px;
    float: left;
}
.checkbox-inline {
    display: inline-block;
    padding-left: 5px;
    margin-bottom: 0;
    vertical-align: middle;
    font-weight: normal;
    cursor: pointer
}
input[type=checkbox].checkbox {
    visibility: hidden;
    position: absolute;
    z-index: 20;
    width: 12px;
    height: 12px;
}
.checkbox-inline + .checkbox-inline {
    margin-left: 2px;
    margin-top: 0;
}
label input[type=checkbox].checkbox + span:before {
    font-family: FontAwesome,fantasy;
    font-size: 12px;
    border-radius: 0;
    content: "\a0";
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    padding: 1px;
    height: 12px;
    line-height: 12px;
    min-width: 12px;
    margin-right: 5px;
    border: 1px solid #bfbfbf;
    background-color: #ffffff;
    font-weight: 400;
    margin-top: -1px;
}

label input[type=checkbox].checkbox:disabled + span:before {
    background-color: #fda6a3;
}
label input[type=checkbox].checkbox:checked + span:before {
    content: "\f00c";
}
label input[type=checkbox].checkbox:checked + span {
    font-weight: bold;
}
/* Checkbox fix end */

/* Checkbox fix left label */
.checkbox-right input[type="checkbox"], .checkbox-inline-right input[type="checkbox"] {
    margin-right: -20px;
    float: right;
}

input[type=checkbox].checkbox-right {
    visibility: hidden;
    position: absolute;
    z-index: 20;
    width: 12px;
    height: 12px;
}
.checkbox-inline-right {
    display: inline-block;
    padding-right: 5px;
    margin-bottom: 0;
    vertical-align: middle;
    font-weight: normal;
    cursor: pointer
}
.checkbox-inline-right + .checkbox-inline-right {
margin-right: 2px;
margin-top: 0;
}
label input[type=checkbox].checkbox-right + span:after {
font-family: FontAwesome, fantasy;
font-size: 12px;
border-radius: 0;
content: "\a0";
display: inline-block;
text-align: center;
vertical-align: middle;
padding: 1px;
height: 12px;
line-height: 12px;
min-width: 12px;
margin-left: 5px;
border: 1px solid #bfbfbf;
background-color: #ffffff;
font-weight: 400;
margin-top: -1px;
}
label input[type=checkbox].checkbox-right:disabled + span:after {
    background-color: #fda6a3;
}
label input[type=checkbox].checkbox-right:checked + span:after {
    content: "\f00c";
}
label input[type=checkbox].checkbox-right:checked + span {
    font-weight: bold;
}
/* Checkbox fix left label end */

.text-bold, .strong {
    font-weight: bold;
}
.text-upper {
    text-transform: uppercase;
}
.text-left {
    text-align: left !important;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}

.text-small {
    font-size: 96%;
}
.text-justify {
    text-align: justify;
}
.text-light * {
    color: #efefef;
}

input.readonly, input[readonly], input[disabled] {
    border-color: #cedece;
    background-color: #eeeeee;
}
.page-header {
    font-size: 24px;
    color: #9ea5ab;
    font-family: 'InterstateMono', sans-serif, Verdana, Arial, serif;
    padding-bottom: 10px;
}

/* Table utility */
table td, table th {
    padding: 3px 3px;
    font-weight: normal !important;
}

.table-header {
    font-family: 'InterstateMono', sans-serif, Verdana, Arial, serif;
    background: #eba164;
    color: #ffffff;
    font-weight: normal !important;
}

.table-header2 {
    font-family: 'InterstateMono', sans-serif, Verdana, Arial, serif;
    background: #d1d0ce;
    color: #ffffff;
    font-weight: normal;
}

.nopadding, .table-nopadding td, .table-nopadding th {
    padding: 0 !important;
}

.table-noborder, .table-noborder tr, .table-noborder th, .table-noborder td {
    border: 0 !important;
}
.table-padded th, .table-padded td{
    padding: 3px 4px 3px 4px !important;
}
.table-outerborder {
    border: #d3d3d3 1px solid;
}

.table-zebra tr.data-row:nth-child(even) {
    background: #fff7ee;
}
.table-zebra tr.data-row:nth-child(odd) {
    background: #fefefe;
}
.table-highlight tr.data-row:hover, .table-highlight tr.data-row:hover td {
    background: #feebd5;
}
table.table-datalist td {
    font-weight: normal !important;
}

.table-group > table:not(:last-child),
.table-group > table:not(:last-child) tr:last-child,
.table-group > table:not(:last-child) tr:last-child > th,
.table-group > table:not(:last-child) tr:last-child > td {
/*
    border-top-width: 0 !important;
*/
    border-bottom-width: 0 !important;
}

/* Table bordering */
.table-border tr td {
    /*border-top: 1px solid #eaa064;*/
    border-top: 1px solid #d3d3d3;
}

.table-border tr:last-child td {
    border-bottom: 1px solid #d3d3d3;
}

.table-border th {
    border-left: 1px solid #ffffff;
}

.table-border th:first-child, .table-border td {
    border-left: 1px solid #d3d3d3;
}

.table-border th:only-child, .table-border th:last-child, .table-border td:last-child {
    border-right: 1px solid #d3d3d3;
}

.table-group > table:not(:last-child),
.table-group > table:not(:last-child) tr:last-child,
.table-group > table:not(:last-child) tr:last-child > th,
.table-group > table:not(:last-child) tr:last-child > td {
    border-bottom-width: 0 !important;
}
td[rowspan], td {
    vertical-align: middle;
}

/* Table corner rounding, print layout breaks on rounded corner usage */
@media only screen {
    .table-round-top,
    .table-round-top tr:first-child {
        border-collapse: separate;
        border-top-left-radius: 6px !important;
        border-top-right-radius: 6px !important;
    }
    .table-round-top tr:first-child td:first-child,
    .table-round-top tr:first-child th:first-child {
        border-top-left-radius: 6px !important;
    }
    .table-round-top tr:first-child td:last-child,
    .table-round-top tr:first-child th:last-child {
        border-top-right-radius: 6px !important;
    }

    .table-round-bottom,
    .table-round-bottom tr:last-child {
        border-collapse: separate;
        border-spacing: 0;
        border-bottom-left-radius: 6px !important;
        border-bottom-right-radius: 6px !important;
    }
    .table-round-bottom tr:last-child td:first-child,
    .table-round-bottom tr:last-child th:first-child {
        border-bottom-left-radius: 6px !important;
    }
    .table-round-bottom tr:last-child td:last-child,
    .table-round-bottom tr:last-child th:last-child {
        border-bottom-right-radius: 6px !important;
    }
}

/* Rounding corners */
.rounded-tl {
    border-top-left-radius: 6px;
}
.rounded-tr {
    border-top-right-radius: 6px;
}
.rounded-br {
    border-bottom-right-radius: 6px;
}
.rounded-bl {
    border-bottom-left-radius: 6px;
}
.rounded-t {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.rounded-r {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.rounded-b {
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}
.rounded-l {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.rounded {
    border-radius: 6px;
}

/** Overlay **/
.overlay-container {
    position: relative;
}
.overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
    background: #aeaeae;
    color: #e86869;
    font-size: 48px;
    padding-top: 20px;
    font-weight: bold;
    vertical-align: middle;
    text-align: center;
    opacity: 0.4;
    border-radius: 6px;
    text-shadow: #ffffff 1px 2px;
}
.overlay + table {
    position: absolute;
    top:0;
    left:0;
    z-index: 8;
}

/** field set */
fieldset.radio input[type="radio"], fieldset.radio input[type="radio"] + label {
    padding: 2px 10px;
}

fieldset.fieldset {
    margin-top: 10px;
    padding: 10px;
    border: 1px #eeeeee solid;
    border-radius: 6px;
}
fieldset.fieldset legend {
    background: #ffffff;
    border-radius: 10px;
    border: 1px #E86869;
    margin: 5px;
    padding: 1px 15px 1px 6px;
    color: #E86869;
}

div.fieldset {
    margin-top: 10px;
    margin-bottom: 25px;
    padding: 0;
    border: 0 solid #eccea9;
    border-top-width: 1px;
}
div.fieldset legend {
    background: #ffffff;
    border-radius: 10px;
    border: 1px #e86869;
    margin: -12px 5px 0 5px;
    padding: 1px 5px 1px 6px;
    color: #6b6b6b;
}

button:disabled {
    opacity: 0.5;
    cursor: default;
}
#wrapper {
    background: transparent;
}
sup {
    vertical-align: super;
    font-size: smaller;
    padding-left: 2px;
}
/** Tooltip f***/
.tooltip-inner {
     background-color: #e86869;
}

.tooltip.top .tooltip-arrow {
    border-top-color: #e86869;
}

.tooltip.right .tooltip-arrow {
    border-right-color: #e86869;
}

.tooltip.left .tooltip-arrow {
    border-left-color: #e86869;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: #e86869;
}

/** Print settings */
@media print {
    #navbar-wrap, .no-print, div.sclogin.sourcecoast {
        visibility: hidden !important;
        display: none !important;
    }
    .stickyme.stickyme-fixed {
        position: inherit;
    }
}

#menu-icon, #menu-icon:active, #menu-icon:hover {
    background: #e86869;
}

.arial {
    font-family: arial, helvetica, sans-serif;
}
