/* MAIN RESETS*/
body{
    background-color: #fff;
}
.panel{
    border-radius: 0px;
}
.panel-heading{
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}
.btn{
    border-radius: 0px;
}
.popover {
    max-width: unset;
}
.table > thead > tr > th{
    vertical-align: top;
}

/* ADDING TO BOOTSTRAP */
.lb-lg {
    font-size: 20px;
}
.close{
    opacity: 1;
}
.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #428bca;
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}
.highlight {
    padding: 9px 14px;
    margin-bottom: 14px;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    border-radius: 4px;
}

/* DATATABLE RESETS */
.dataTables_wrapper .dataTables_processing{
    margin-top: -15px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* CUSTOMIZING BOOTSTRAP SIDEBAR */
#mainmenu1{
    margin-bottom: 5px;
}
#mainmenu1, #mainmenu1 a{
    color: #fff;
    background-color: #00aba9;
}
#mainmenu1 ul, #mainmenu1 ul a{
    color: #fff;
    background-color: #027270;
    font-size: 12px;
}
#mainmenu1 ul ul, #mainmenu1 ul ul a{
    color: #fff;
    background-color: #01413e;
}
#mainmenu2{
    margin-bottom: 5px;
}
#mainmenu2, #mainmenu2 a{
    color: #fff;
    background-color: #2d89ef;
}
#mainmenu2 ul, #mainmenu2 ul a{
    color: #fff;
    background-color: #236ab6;
    font-size: 12px;
}
#mainmenu2 ul ul, #mainmenu2 ul ul a{
    color: #fff;
    background-color: #133d68;
}
#mainmenu3{
    margin-bottom: 5px;
}
#mainmenu3, #mainmenu3 a{
    color: #fff;
    background-color: #603cba;
}
#mainmenu3 ul, #mainmenu3 ul a{
    color: #fff;
    background-color: #37216e;
    font-size: 12px;
}
#mainmenu3 ul ul, #mainmenu3 ul ul a{
    color: #fff;
    background-color: #190b3d;
}
#mainmenu4{
    margin-bottom: 5px;
}
#mainmenu4, #mainmenu4 a{
    color: #fff;
    background-color: #da532c;
}
#mainmenu4 ul, #mainmenu4 ul a{
    color: #fff;
    background-color: #89351c;
    font-size: 12px;
}
#mainmenu4 ul ul, #mainmenu4 ul ul a{
    color: #fff;
    background-color: #612513;
}
#mainmenu5{
    margin-bottom: 5px;
}
#mainmenu5, #mainmenu5 a{
    color: #fff;
    background-color: #818181;
}
#mainmenu5 ul, #mainmenu5 ul a{
    color: #fff;
    background-color: #5a5a5a;
    font-size: 12px;
}
#mainmenu5 ul ul, #mainmenu5 ul ul a{
    color: #fff;
    background-color: #444444;
}
.nav-sidebar a:hover{
    opacity: 0.65;
}
.menu-hidden{
    display: none !important;
}

/* SCAFFOLDING COLORS */
.login .panel-default>.panel-heading{
    color: #fff;
    background-color: #1ba1e2
}
.main .panel-default>.panel-heading{
    color: #fff;
    background-color: #eaebec;
}
.main .panel-default>.default{
    color: #fff;
    background-color: #aaa;
}
.main .panel-default>.crm{
    background-color: #818181;
}
.main .panel-default>.inventory{
    background-color: #2d89ef;
}
.main .panel-default>.parameters{
    background-color: #da532c;
}
.main .panel-default>.product{
    background-color: #603cba;
}
.nav-sidebar{
    background-color: #f5f5f5;
    margin-bottom: 22px;
}
.navbar-inverse .navbar-brand{
    color: #fff;
    background-color: #000
}

/* CUSTOMIZING BOOTSTRAP FORM */
.form-group small{
    color: red;
}
.custom-radio input{
    margin: 10px 10px 10px 10px;
    padding-right: 20px;
}

/* CUSTOM FORM STYLE */
.popover-image{
    margin-bottom: 10px;
    max-width: 200px;
    max-height: 500px;
}

/* CUSTOM CARD STYLE */
.card{
    box-shadow: 2px 4px 8px 2px rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px;
}
.card-block {
    padding: 10px 10px;
    margin-bottom: 10px;
}
.card-title{
    font-size: 20px;
    margin-top:0px;
}
.card-info{
    background-color:#f6f6f6;
}

/* AUTOCOMPLETE STYLING */
.ui-autocomplete {
    max-height: 500px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    z-index: 9999;

}

/* BOOTSTRAP SORTABLE STYLING */
.ui-state-default {
    background-color: rgb(239, 249, 255);
    border: 0px;
    padding: 5px;
    margin-bottom: 2px;
}
.itinerary-row td{
    padding: 5px;
}
.itinerary_order {
    color: #00aba9;
    font-size: 16px;
}
#inventory_elements_to_group .cabin_type{
    font-size: 12px;
}

/* CUSTOM GENERAL CSS */
.p-1{
    padding: 1px;
}
.p-2{
    padding: 2px;
}
.p-3{
    padding: 3px;
}
.p-4{
    padding: 4px;
}
.p-5{
    padding: 5px;
}
.p-10{
    padding: 10px;
}
.group-element{
    margin: 10px;
}
.interior-stateroom{
    background-color: #f6fff4;
}
.balcony{
    background-color: #f4f9ff;
}
.oceanview-stateroom{
    background-color: #fffaf4;
}
.row-description{
    text-align: right;
    vertical-align: middle;
    background-color: #f3f3f3;
}
.inventory-summary td{
    text-align: right;
    vertical-align: middle;
}
.delete-row{
    cursor: pointer;
}
.pivotdiv{
    overflow-x: auto;
}
.pricingoptions{
    overflow-x: auto;
}
.itinerary-row .booked{
    padding: 3px 4px 1px 4px;
    background-color: #d83636;
}
.itinerary-row .reserved{
    padding: 3px 4px 1px 4px;
    background-color: #1877c5;
}
/*  vertical tab */
div.vertical-tab-container{
    background-color: #ffffff;
    opacity: 0.97;
    filter: alpha(opacity=97);
  }
div.vertical-tab-menu{
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
}
div.vertical-tab-menu div.list-group{
    margin-bottom: 0;
}
div.vertical-tab-menu div.list-group>a{
    margin-bottom: 0;
}
div.vertical-tab-menu div.list-group>a .glyphicon,
div.vertical-tab-menu div.list-group>a .fa {
    color: #5A55A3;
}
div.vertical-tab-menu div.list-group>a:first-child{
    border-top-right-radius: 0;
    -moz-border-top-right-radius: 0;
}
div.vertical-tab-menu div.list-group>a:last-child{
    border-bottom-right-radius: 0;
    -moz-border-bottom-right-radius: 0;
}
div.vertical-tab-menu div.list-group>a.active,
div.vertical-tab-menu div.list-group>a.active .glyphicon,
div.vertical-tab-menu div.list-group>a.active .fa{
    background-color: #37216e;
    background-image: #37216e;
    color: #ffffff;
}
div.vertical-tab-menu div.list-group>a.active:after{
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -13px;
    border-left: 0;
    border-bottom: 13px solid transparent;
    border-top: 13px solid transparent;
    border-left: 10px solid #37216e;
}
div.vertical-tab-content{
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    padding: 10px;
    min-height:655px;
    overflow:hidden;
}
div.vertical-tab div.vertical-tab-content:not(.active){
    display: none;
}
.form-group .form-help{
    font-size: 0.85em;
}

/* Package Tool CSS */
.element-list-wrapper{
    border: 1px solid #eeeeee;
    min-height: 655px;
}
.package-tool-element-list-container{
    overflow-y: auto;
    min-height: 525px;
    max-height: 525px;
}
.package-tool-search-results{
    border-top: 1px solid #eeeeee;
}
.package-tool-form-action{
    border-top: 1px solid #eeeeee;
    padding-top: 15px;
}
tr.group-element{
    background-color: rgb(255, 254, 241);
}
.package-tool-group-selected-title{
    color: black;
    font-weight: bold;
}
.package-tool-single-selected-title{
    color: black;
    font-weight: bold;
}
.pivot-button{
    margin-bottom: 5px;
}
.primarypricingrow{
    background-color:#f1fcff;
}
.primarypricingrow small{
    color: deepskyblue;
}
.secondarypricingrow small{
    color: deepskyblue;
}
.auxiliarypricingrow small{
    color: deepskyblue;
}
.pivotdiv .supplierprice{
    font-size: 1.2em;
    color: grey;
}
.pivotdiv .markedupprice{
    font-size: 1.4em;
    font-weight: bold;
    color: darkgreen;
}
.pivotdiv .highlight{
    border: 2px solid red;
}
/* CUSTOM STYLE FOR TOOLBAR IN FORM PAGES */
.form-group.section{
    margin: 0px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #e8e8e8;
}
.form-group.toolbar{
    margin-bottom: 0px;
}

/* CUSTOM LOADING SPINNER FOR BUTTONS*/
.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

.dim{
    opacity: 0.2;
}

/* CUSTOM LOADING SPINNER FOR LOADING*/
#loading {
    position: absolute;
    left: 50%;
    top: 15%;
    z-index: 1;
    border-top: 10px solid #00ade3;
    border-right: 10px solid #15a751;
    border-bottom: 10px solid #e21f27;
    border-left: 10px solid #f69135;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
#mini-loading {
    position: relative;
    z-index: 1;
    border: 3px solid #f7f7f7 ;
    border-top: 3px solid #17a2b8;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    margin-top:2px;
    animation: spin 1s linear infinite;
}
#admin-loading {
    position: relative;
    z-index: 1;
    border: 7px solid #f7f7f7 ;
    border-top: 7px solid #a0a0a0;
    border-right: 7px solid #a0a0a0;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    margin-top:2px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}