/* THEME SCA CSS */
/*
 * Align all amounts on the right
*/
.entity-grid td[data-type="System.Decimal"], .entity-grid td[data-type="System.Int32"]:not(td[data-attribute="cms_invoice"]){
    text-align: right;
}

.requestSubTypedropdown-content{
    max-height: 210px;
    overflow-y: auto;
}

.contactdropdown-content,.requestSubTypedropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 1px solid black;
    padding: 10px;
}

.contactdropdown-content a,.requestSubTypedropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.contactdropdown-content a:hover,.requestSubTypedropdown-content a:hover {
    background-color: #ddd;
}

/* Return back button */
a#previousPageButton {
  margin: 6.5em 0em 0em 3.3em;
  position: relative;
  /*color : white !important;*/
}
a#previousPageToOrderButton {
  margin: 6.5em 0em 0em 2em;
  position: relative;
  /*color : white !important;*/
}

a#previousPageButton:hover, a#previousPageButton:focus, a#previousPageToOrderButton:hover, a#previousPageToOrderButton:focus {
  text-decoration: none;
  color: #112753;
}

#WebResource_GestionDocumentPortail {
    height: 500px !important;
}

 .navbar-smartbar .nav>li>a:hover, .nav>li>a:focus, .nav>li>a:visited {
        /*background-color: red !important;*/
        text-decoration: none !important;
}

.tab-element {
    border-bottom: 1px #dddddd solid;
}
 /* Change the THEAD color of a part of the head column list */
.view-grid th:nth-child(n+13):nth-last-child(n+4) {
    background-color: #0066CC;
}

.view-grid th:nth-child(n+18):nth-last-child(n+1) {
    background-color: #66B2FF;
}

.info label {
    font-size: 22px;
}

.control .text {
    font-size: 18px;
}

.body-breadcrumb .container:has(#previousPageButton) {
    height: 5em;
}

/* Add background image for the connexion page */
.addBackgroundImage {
    height: 100%;
    background-image: url("../backgroundimage.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
}

.content-container {
    display: flex;
    justify-content: center;
}

/*.connect-block-center{
    display: flex;
    justify-content: center;
}
*/

.connect-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.connect-buttons .bt-mg {
    padding: 0.5rem;
    width: 50%;
    margin: 0.5rem 0;
}

body:has(.addBackgroundImage){
    font-size: 12px;
}

/*body:has(.addBackgroundImage) .bt{    
    padding: 0.25rem;
}

body:has(.addBackgroundImage) a.bt.bt-primary.bt-mg {
    margin-top: 2.5rem;
}
body:has(.addBackgroundImage) .bt-mg{
    height: 16%;
    width: 50%;
    margin: 1rem 0rem 0.5rem 8rem;
}
*/

body:has(.addBackgroundImage) .headerspace {
    margin: 0;
}

body:has(.addBackgroundImage) .footer {
    margin-top: 0;
}

/* Align the create request button with the title of the page */

@media screen and (min-width: 992px) {
    .bt-floatTopRight{
        float: right;
        margin: 0.25em 1em -4em 0em;
    }
}

@media screen and (max-width: 992px) {
    .bt-floatTopRight{
        margin: 0 0 2rem 0 !important;
        width: 100%;
    }
}

/*@media screen and (max-width: 1199px) {
    .tab-column div fieldset { 
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}
*/

.nav-order {
    padding: 0 5vw;
}

/*#cms_rmdescription_ControlView iframe {
    height: 23rem !important;
}*/

#sca_customeractionportal_ControlView iframe {
    height: 23rem !important;
}

/* Hide the Service Choices field*/
tr:has(#cms_serviceschoice_Container) {
    display: none;
}
