﻿.swal2-confirm + .swal2-cancel  {
    margin-left: 20px;
}

.swal2-modal .swal2-content {
    font-size: 14px;
}

.logo-cgi {
    padding-left: 15px;
    height: 30px;
    padding-top: 0px;
    margin-top: 20px;
}

#btnMnuLang {
    height: 70px;
    line-height: 38px;
    padding-right: 30px;
    color: #000;
}

#sb_language_fr, #sb_language_en, #sbMobileSeparator {
    display: none;
}

@media (max-width: 780px){
    #btnMnuProfile,
    #btnMnuLang {
        display: none;
    }

    .logo-cgi {
        position: fixed;
        right: 0;
        top: 0;
        padding-right: 20px;
    }

    #sb_language_fr, #sb_language_en, #drowndown-lng, 
    #sbMobileSeparator {
        display: block;
    }
}

[data-sort-by] {
    cursor: pointer;
}

[data-sort-by].active {
    color: #f00;
} 

[data-sort-order] {
    position: relative;
}

[data-sort-order]::after {
    content: ' ';
    display: none;
    width: 10px;
    height: 10px;

    position: absolute;
    right: -1.25em;
    top:  0.5em;
}

[data-sort-order].active::after {
    display: inline-block;
}

[data-sort-order="asc"]::after {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  
  border-bottom: 5px solid #f00;
}

[data-sort-order="desc"]::after {
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  
  border-top: 5px solid #f00;
}

/* navbar sidebar menu btn */
#menuButtonHeader > .fa{
    width: 35px;
}

.navbar-link {
    font-size: 30px;
}

.btn-default {
    border: 2px solid #FFFFFF;
    color: #FFF;
    background-color: transparent;
}

.btn-default:hover, .btn-default:focus {
    border: 2px solid #FFFFFF;
    color: rgb(53,56,63);
    background-color: #FFFFFF;
}

/* GLOBAL */

.table-clickable-rows tbody tr {
    cursor: pointer;
}

.pdf-loading-bar {
    height: 100px;
    width: 300px;
    line-height: 100px;
}

.selected-wcag {
    position: relative;
}

.selected-wcag::after{
    content: ".";

    background-color: rgba(255,0,0,0.5);

    color: red;

    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;

    display: block;
}

.image-box img[src*=place_holder] {
    width: 62px !important;
    height: 56px !important;
}

.form-control-container {
    display: inline-block;
    max-width: 280px;
}

iframe#pdfView {
    border: 0 none transparent;
}

iframe#htmlContent {
    border: 0 none transparent;
    width: 400px;
    height: 100px;
}

textarea.form-control.max-width {
    max-width: 280px;
}

#frmTesting .form-inline .form-control {
    margin-left: 0;
    margin-right: 1em;
}

#frmTesting .form-inline .form-group {
    margin-left: 0;
    margin-right: 1em;
}

/* To prevent overlapping loading animation (whirl)*/
#pnlCampaignList, #pnlInsertList, #pnlContentList, #pnlRulesList {
    min-height: 5em;
}

.modal-md {
    max-width: 500px;
}

.table-with-action-row tr td:last-child {
    white-space: nowrap;
}

.no-wrap {
    white-space: nowrap;
}

legend {
    font-size: 14px;
    font-weight: bold;
}

.table-small-text {
    font-size: 12px;
}

.inline-block {
    display: inline-block;
}

.glyphicon-2x {
    font-size: 1.75em;
}

.btn-link-no-hover:hover, .btn-link-no-hover:active, .btn-link-no-hover:focus {
  color: #01459a !important;
  font-weight: normal;
  border-radius: 0;
}

.width10p{ width: 10%; }
.width20p{ width: 20%; }
.width30p{ width: 30%; }
.width40p{ width: 40%; }
.width50p{ width: 50%; }
.width60p{ width: 60%; }
.width70p{ width: 70%; }
.width80p{ width: 80%; }
.width90p{ width: 90%; }
.width100p{ width: 100%; }

.bold{
    font-weight: 700;
}

.Asterix
{
    font-size: 24px;
    position: absolute;
    margin-top: -15px;
}

.Asterix2
{
    font-size: 24px;
    position: absolute;
    margin-top: -5px;
}

.border1Blue{
    border: solid 1px #4b91ea;
}

.TestPersoTable{
    border: solid 1px rgb(63, 84, 127);
}
.TestPersoTable td {
    padding: 10px;
}

.TestTypeDate{
    border: solid 1px #656565;
    padding: 10px;
}

/**********/

body {
    /*padding-bottom: 20px;*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 60px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    max-width: 400px;
    /*width: auto !important;*/
}

input.auto-width,
select.auto-width {
    max-width: none !important;
    width: auto !important;
}

.navbar-brand-cgi{
    float:right;
    color:#ffffff;
    position:absolute;
    bottom:20px;
    right:50px;
    font-size: 25px;
    line-height: 20px;
}

.navbar-inverse {
    /* fallback */
    background-color: rgb(53,56,63);
    background: linear-gradient(to right, #79797a 270px, rgb(53,56,63) 270px);
}

.navbar-brand {
    float: left;
    font-size: 30px;
    line-height: 70px;
    height: 75px;
    text-indent:0px;
}

.navbar-brand-logo {
    margin-top: 5px;
    margin-left: 10px;
    width: auto;
    height: 57px;
}

.btn-openclose-sidebar{
    font-size: 26px; 
    margin-left: 20px; 
    padding-right: 0px;
}

.forColorOpencoseNavbar{
    color: white;
    text-decoration: none;
}
#pnlLogin, #pnlRegister, #pnlInfo {
    width: 600px;
}

.top-bar-left {
    position: fixed;
    top: 2px;
    left: 50px;
    z-index: 1031;
}

.top-bar-middle {  
    position: fixed;
    top: 2px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1031;
}

.right {
    position: absolute;
    right: 0px;
}

.panel-bg-yellow-dark {
    margin-bottom: 20px;
    background-color: #ffcb00;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.displayBlock {
    display: block;
}

.loading-img {
    display: block;
    width: 3em;
    margin-left: auto;
    margin-right: auto;
}

.auto-height{
    height: auto;
}

.btn-action{
    width: 35px;
    height: 30px;
}

.campaignContentCreateSection {
    padding-bottom: 15px;
}

/* Insert list */
tr[data-campaign-parent-id]:not([data-campaign-parent-id=""]),
tr[data-insert-parent-id]:not([data-insert-parent-id=""]),
tr[data-content-parent-id]:not([data-content-parent-id=""]),
tr[data-rule-parent-id]:not([data-rule-parent-id=""]) {
    background-color: #4b5163;
    display: none;
    color: white;
}

tr[data-campaign-parent-id]:not([data-campaign-parent-id=""]):hover,
tr[data-insert-parent-id]:not([data-insert-parent-id=""]):hover,
tr[data-content-parent-id]:not([data-content-parent-id=""]):hover,
tr[data-rule-parent-id]:not([data-rule-parent-id=""]):hover {
    background-color: #656b7a;
}

tr[data-campaign-parent-id]:not([data-campaign-parent-id=""]) a,
tr[data-insert-parent-id]:not([data-insert-parent-id=""]) a,
tr[data-content-parent-id]:not([data-content-parent-id=""]) a,
tr[data-rule-parent-id]:not([data-rule-parent-id=""]) a{
    color: #e5e4ea;
}

tr[data-campaign-parent-id]:not([data-campaign-parent-id=""]) td ,
tr[data-insert-parent-id]:not([data-insert-parent-id=""]) td ,
tr[data-content-parent-id]:not([data-content-parent-id=""]) td ,
tr[data-rule-parent-id]:not([data-rule-parent-id=""]) td {
    border-top: 0;
}

tr[data-campaign-parent-id]:not([data-campaign-parent-id=""]) td:nth-child(-n+3) span,
tr[data-insert-parent-id]:not([data-insert-parent-id=""]) td:nth-child(-n+3) span,
tr[data-content-parent-id]:not([data-content-parent-id=""])  td:nth-child(-n+3) span,
tr[data-rule-parent-id]:not([data-rule-parent-id=""]) td:nth-child(-n+3) span  {
    left: 12px;
}
/* = = = = = = = = */

/* **** TESTING ****/
.SavedTestingContainer{
    color: green;
    font-weight: 700;
    font-size: 16px;
    width: 330px;
    height: 130px;
}
.saveTestingShadow{
    position: absolute; 
    background-color: gray; 
    color:navy; 
    width: 300px; 
    height: 120px; 
    z-index:0; 
    left: 5px; 
    top: 5px; 
    opacity: 0.5;
}
.saveTestingData{
    position: absolute; 
    background-color: white; 
    width: 300px; 
    height: 120px; 
    z-index:1; 
    border: solid 3px navy;
}

.image-box {
    display: inline-block;
    overflow: hidden;
    width: 100%;
    /*height: 200px;*/
    background-color: lightgray;
    /*border: 1px solid rgba(45,45,45,0.5);*/
}

.modal .modal-sub .fade .in {
    overflow-y: scroll !important;
}

/* navbar client / doc infos */
.navbar .client-info {
    margin-left: 1em; 
    height: 70px; 
    line-height: 70px; 
    color: white;
    float: left;
}

.navbar-header {
    float: left !important;
}

.navbar-nav {
    margin: 0;
}

.navbar .client-info div {
    line-height:23px;
}
/* = = = = = = = = = = = = = */

.form-alert {
    max-width: 400px;
}

.pdfPreviewer {
    display:none;
}

.pdfPreviewer iframe {
   border:0;
}

.prevScreen {
    /*max-width:200px;*/
    display:block;
}

#Alert {
    display: inline-block;
    vertical-align: top;
    padding: 6px 40px 6px 16px;
}

#addMail {
    font-size:30px;
    padding-top:2px;
    display:inline-block;
    vertical-align:top;
    margin-left:-35px;
    line-height: 30px;
}

#addMail i {
    vertical-align:top;
}

#listeEmail {
    width:100%;
    max-width:400px;
    background-color:#dde6e9;
    border-radius:4px;
}

    #listeEmail table {
        width:100%;
    }

.lstEmailHolder {
    padding:0px 10px 0px 16px;
}

.delMail {
    color:#ee3d3d;
    font-size:18px;
    float:right;
}

#validError {
    color:#f00;
    font-size:12px;
    padding-left:16px;
    height:20px;
}

#errorAddMail {
    display:none;
}

#searchTerms {
    width:230px;
}

.errorFile {
    display:none;
    color:#f05050;
}

#fillsec {
    text-align:center;
    color:#f05050;
    padding:10px 0px;
}

#ifrmCampaignPreview {
    border: none;
    width: 100%;
    min-height: 400px;
}

.modal-body-min-height {
    min-height: 100px;
}

.btn-back-to-cmp-preview {
    margin-right: 1em;
}

.proofName {
    text-align:center;
    margin-bottom:30px;
}

.LabelModContentWarning {
    font-size:10px;
}

.ModifySection {
    padding: 10px;
    background-color: #eee;
    margin-bottom: 20px;
}

.greyed {
    background-color: #eee;
}

.noEdit {
    background-color: #eee;
    padding:10px;
}

#newVersion {
    display:none;
    margin-bottom:20px;
}

.alert {
    margin-bottom:0px;
}

.btnAddContent {
    margin-left:15px;
}

#frmEditPostComplete {
    margin-bottom:20px;
}

#logoHolder {
    float: left;
    width: 210px;
}

.btnSpace {
    display:inline-block;
    width:35px;
    height:30px;
    padding: 5px 10px;
    vertical-align: middle;
}

/* Content Usage Section */

.statusFilter {
    margin:0px 10px;
}

/* === */

.warningLnk {
    font-size: 20px;
    float: left;
    color: #f4711f;
    line-height: 20px;
}

.warningXML {
   margin-bottom:20px;
}

#imgValidationErrMsg {
    display:none;
    padding:10px;
    text-align:center;
}

#ApproveAllSuccess {
    font-family: "Source Sans Pro", sans-serif;
    display: none;
    color: rgb(78, 144, 73);
}

#confirmApproveAll {
    display: none;
    padding: 10px;
    border: 1px solid lightgray;
    border-radius: 5px;
}

.top-bar-right {
    background-color: #eae6e6;
}

.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
    color: #000;
    background-color: transparent;
}

.navbar-inverse {
    background-color: rgb(53,56,63);
    background: linear-gradient(to right, #eae6e6 270px, rgb(53,56,63) 270px);
}

.forColorOpencoseNavbar {
    color: #000;
    text-decoration: none;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
    background-color: transparent;
    color: #000;
}

#logWarn {
    font-size: 11px;
    width: 260px;
    display: block;
    float: left;
    padding-right: 10px;
    padding-left: 10px;
}

#MainFooter {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 40px;
    background-color: rgb(53,56,63);
    color: #fff;
    font-size: 13px;
    line-height: 40px;
    text-align: center;
}

    #MainFooter a {
        color: #fff;
        text-decoration: none;
    }

/* Versionning modal */

#VersionningOverlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    background-color: rgba(0, 0, 0, 0.6);
    padding-top: 100px;
    display: none;
    z-index: 9999;
    overflow-y: auto;
}

#VersionningBody {
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    width: 600px;
    margin-bottom: 60px;
}

#VersionningContent {
    padding: 20px;
}

#VersionningHeader {
    margin-bottom: 30px;
}

    #VersionningHeader h3 {
        margin: 0;
        padding: 0;
    }

#VersionningText {
}

#CloseVersionBtn {
    float: right;
    font-size: 20px;
}
