/* Pubsys specific overrides for the default Bootsrap styles */
body {
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
}

a,
a:hover,
a:active {
    color: #0032a0;
    text-decoration: underline;
}

a.btn,
a:hover.btn,
a:active.btn {
    text-decoration: none;
}

code {
    background-color: inherit;
    color: inherit;
}

.panel {
    position: relative;
    background: rgb(242,242,242);
    border: 1px solid rgb(205,205,205);
    border-radius: 3px;
    box-shadow: 1px 1px 2px rgba(0,0,0, 0.1);
    min-height: 32px;
    padding: 20px 15px 15px;
}

.panel.modal-content {
    border: 0 none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* ---------- Body / Page Containers ---------- */
.body {
    background-color: white;
    margin-top: 0;
    padding-top: 0;
}

/* ---------- Buttons ---------- */
.btn {
    font-size: 13px;
    padding: 7px 26px;
    box-shadow: 1px 1px 0.5px rgba(0,0,0, 0.15);
    margin: 0 4px;
}

.btn:first-of-type {
    margin-left: 0;
}

.btn-info, /* make existing 'info' buttons look normal */
.btn-default {
    color: #333;
    background-color: #cbcbcb;
    background: linear-gradient(#d1d1d1, #b4b4b4);
    background: -webkit-linear-gradient(#d1d1d1, #b4b4b4);
    border-color: #b4b4b4;
}

.btn-info:hover,
.btn-default:hover,
.btn-info:active,
.btn-default:active {
    background: linear-gradient(#e1e1e1,#b4b4b4);
    background: -webkit-linear-gradient(#e1e1e1,#b4b4b4);
}

.btn-success,
.btn-primary {
   color: white;
   background: linear-gradient(#0032a0,#002b88); 
   background: -webkit-linear-gradient(#0032a0,#002b88);
   border-color: #b4b4b4;
}

.btn-success:hover,
.btn-primary:hover,
.btn-success:active,
.btn-primary:active {
    background: linear-gradient(#164cc4,#1342a9);
    background: -webkit-linear-gradient(#164cc4,#1342a9);
    border-color: #b4b4b4;
}

.btn.disabled,
.btn[disabled],
.btn.disabled:hover
.btn[disabled]:hover {
    background: white !important;
    box-shadow: 1px 1px 2px rgba(0,0,0, 0.1);
    border-color: #ccc !important;
    color: #666;
    pointer-events: auto;
}

/* ---------- Tab Groups ---------- */
ul.nav-tabs {
    border: none;
}

.nav-tabs > li > a,
.nav-tabs > li > a:hover {
    color: #333;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: bold;
    background: #c6c6c6;
    padding: 4px 20px; 
    margin-right: 5px;
    outline: none;
    border-color: #c6c6c6;
}

.nav-tabs > li.active > a, 
.nav-tabs > li.active > a:hover, 
.nav-tabs > li.active > a:focus {
    border-color: #c6c6c6 #c6c6c6 #f2f2f2;
    background: #f2f2f2;
}

.tab-content {
    border: 1px solid #c6c6c6;
    background: #f2f2f2;
    padding: 25px;
}

/* ---------- Modal Dialogs ---------- */
.modal-dialog {
    width: 450px;
}
    
.modal-content {
    border-radius: 0;
    border: none; 
    background: #f2f2f2;
}

.modal-header {
    height: 38px;
    padding: 0 14px;
    background: linear-gradient( #6b6b6b, #2c2c2c );
    background: -webkit-linear-gradient( #6b6b6b, #2c2c2c );
    border: none; 
    color: #e2e2e2;
    font-size: 22px;
    font-family: "Lato", sans-serif;
    position: relative;
}

.modal-header .close {
    margin: 0;
    padding: 0 0 5px;
    width: 32px;
    height: 32px;
    text-align: center;
    color: #e2e2e2;
    line-height: 20px;
    font-size: 28px;
    font-family: "Lato", sans-serif;
    font-weight: 200;
    background: #333;
    border: 2px solid #e2e2e2;
    border-radius: 16px;
    opacity: 1;
    position: absolute;
    right: -16px;
    top: -16px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.modal-header .close:hover {
    color: white;
    border-color: white;
}

.modal-title {
    line-height: 38px; /* Matches height of .modal-header */
}

.modal-body {
    overflow: hidden;
}

.modal-footer {
    border: 1px solid #e2e2e2;
    border-top: none;
    text-align: left;
    margin-top: -16px;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
}

aside.tooltip {
    z-index: 1;
}

/* Alerts */
.alert {
    position: relative;
}

.alert:last-child {
    margin-bottom: 0;
}

.alert .close {
    float: none;
    position: absolute;
    top: 4px;
    right: 8px;
}

.alert-info {
    border: 1px solid #cdcdcd;
    background: #dfe1ff;
    color: #0032a0;
}

@media print {
  a[href]:after {
    content: none !important;
  }
}
