/* Dialegs */

.fade_screen {
    /* position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #000; */
    /* filter: alpha(opacity = 60);
    -moz-opacity: .60; */
    /* opacity: .60; */
    /* Nou disseny */
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: hidden;
}

.jsWindow {
    position: absolute;
    z-index: 1000;
}

.dlg_blue_header,
.dlg_black_header {
    /* cursor: pointer;*/
    /*height: 43px;  */
    /*57px-padding(14px)*/
    /*padding: 14px 14px 0px 14px;
    border-radius: 15px 15px 0 0;
    box-sizing: content-box; */
}

#dlg_blue_sub_header,
#dlg_black_sub_header {
    /*height: 100%;*/
    /*dlg_xyz_header height (43) - border (2x1) - padding-top (14)*/
    /* border-radius: 10px 10px 0 0;
    padding: 2% 0.5em;
    font-weight: bold;
    font-size: 13px;
    box-sizing: border-box; */
    display: flex;
    justify-content: space-between;
}

.titleDialog {
    /* float: left;
    width: 90%;
    height: 18px; */
    overflow: hidden;
}

.dlg_blue_header {
    /* #dlg_blue_body,
#dlg_blue_footer{ */
    /* background-color: #3ba1d2; */
    color: #FFF;
    background-color: #00aeef;
    font-family: "Open Sans Bold";
    font-size: 16px;
    height: 52px;
    line-height: 52px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}

#dlg_blue_sub_header {
    /* background-color: #a2d6ec;
    border: 1px solid #447d97;
    color: #454b4d; */
    display: flex;
    height: 100%;
}

.dlg_black_header,
#dlg_black_body,
#dlg_black_footer {
    background-color: #FFF;
}

#dlg_black_sub_header {
    background-color: #cacaca;
    border: 1px solid #848484;
    color: #515151;
}

#dlg_blue_body,
#dlg_black_body {
    /* padding: 0px 14px; */
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    background-color: #FFF;
    color: #4D4D4D;
    font-family: "Open Sans";
    font-size: 16px;
    position: relative;
    box-sizing: content-box;
    max-height: calc(100vh - 200px);
    overflow: auto;
}

#dlg_blue_sub_body,
#dlg_black_sub_body {
    /* background-color: #eee;
    color: #1d1d1d;
    padding-left: 17px;
    padding-right: 17px; */
    overflow: auto;
}

#dlg_blue_sub_body,
#dlg_blue_sub_footer {
    /* border-left: 1px solid #447d97;
    border-right: 1px solid #447d97; */
}

#dlg_black_sub_body,
#dlg_black_sub_footer {
    border-left: 1px solid #848484;
    border-right: 1px solid #848484;
}

#dlg_blue_footer,
#dlg_black_footer {
    /* height: 8px;
    padding: 0px 14px 14px 14px;
    border-radius: 0 0 15px 15px;
    box-sizing: content-box; */
}

#dlg_blue_sub_footer,
#dlg_black_sub_footer {
    /* height: 8px;
    background-color: #eee;
    border-radius: 0 0 10px 10px; */
}

#dlg_blue_sub_footer {
    /* border-bottom: 1px solid #447d97; */
}

#dlg_black_sub_footer {
    border-bottom: 1px solid #848484;
}

#jsWindowArea {
    /* font-family: Verdana, Arial, Helvetica, sans-serif;     */
    line-height: normal;
}

.btnCloseDialog {
    width: 20px;
    height: 20px;
    background: url('/templates/bold/img/tj/btnCloseDialog.svg');
    float: right;
    background-repeat: no-repeat;
    align-self: center;
    cursor: pointer;
}

#jsWindow #galeriaContainer,
#jsWindow #galeriaCopyright,
#jsWindow #galeriaCredits {
    text-align: center;
}

#jsWindow #galeriaNavigation {
    width: 205px;
    margin: 10px auto 0 auto;
}

#jsWindow #galeriaNavigation p {
    margin: 10px;
    width: 100px;
    text-align: center;
}

#jsWindow #galeriaTitle {
    text-align: center;
    margin-top: 1em;
}

#jsWindow .backButton,
#jsWindow .forwardButton {
    cursor: pointer;
    width: 40px;
}

#jsWindow .pull-left {
    float: left;
}

#jsWindow .galleryThumbnail {
    max-width: 100% !important;
    height: 550px;
    max-height: 550px;
    margin: 0 auto 0 auto;
}

#jsWindow,
#jsWindowArea,
#jsWindowHandle,
.dlg_black_header,
#dlg_black_sub_header,
.titleDialog,
.btnCloseDialog,
#dlg_black_body,
#dlg_black_sub_body,
#divJSDialogResources,
#dlg_black_footer,
#dlg_black_sub_footer {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

#jsWindowAreaAlert,
.jsWindow {
    position: fixed;
    border: 2px solid #00aeef;
    top: 200px;
    max-width: 680px;
    width: calc(100% - 20px);
    /*100%;*/
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: calc(100vh/10);
}


/*************************
*        Buttons         *
**************************/


/*General button*/

#dlg_blue_body .jsWindow [type=button],
#dlg_blue_body .jsWindow button {
    font-family: "Open Sans Bold";
    font-size: 14px;
    border: 2px solid #00aeef;
    line-height: 40px;
    min-width: 90px;
    cursor: pointer;
    border-radius: 2px;
    float: right;
    margin: 10px 10px 0px 10px;
    padding: 0px 5px;
    color: #00aeef;
    background-color: #FFF;
}

#dlg_blue_body .btnWrapper {
    font-family: "Open Sans Bold";
    font-size: 14px;
    border: 2px solid #00aeef;
    line-height: 40px;
    min-width: 90px;
    cursor: pointer;
    border-radius: 2px;
    float: right;
    margin: 10px 0px 0px 10px;
    padding: 0px;
    color: #00aeef;
    background-color: #FFF;
}

#dlg_blue_body .btnWrapper .btn01 {
    border: 0px;
    margin: 0px 5px;
}

#dlg_blue_body>button+button {
    margin-left: 10px;
}

#dlg_blue_body .btn01 {
    border: 0px solid #00aeef;
    background-color: transparent;
    color: unset;
}

#dlg_blue_body .jsWindow [type=button]:hover,
#dlg_blue_body .jsWindow button:hover,
#dlg_blue_body .btnWrapper:hover,
.btn01:hover {
    background-color: #00aeef;
    color: #FFF;
}

#dlg_blue_body table.centrat {
    float: right;
}

#dlg_blue_body .pContentTextBold {
    text-align: left;
    font-weight: unset;
    font-family: "Open Sans Bold";
    font-size: 14px;
}

#dlg_blue_body .divJSDialogContent form {
    font-size: 14px;
}

#dlg_blue_body .divJSDialogContent form [type=submit],
#dlg_blue_body .divJSDialogContent form button,
#jsWindowAlert #dlg_blue_body .divJSDialogContent #buttonOk {
    font-family: "Open Sans Bold";
    font-size: 14px;
    border: 2px solid #00aeef;
    line-height: 40px;
    min-width: 90px;
    cursor: pointer;
    border-radius: 2px;
    float: right;
    margin: 10px 0px 0px 10px;
    padding: 0px;
    color: #00aeef;
    background-color: #FFF;
}

#dlg_blue_body .divJSDialogContent form [type=submit]:hover,
#dlg_blue_body .divJSDialogContent form button:hover {
    color: #FFF;
    background-color: #00aeef;
}

#dlg_blue_body .divJSDialogContent form table.centrat {
    width: 90%;
    margin: 0px 20px;
}

#dlg_blue_body #divJSDialogContent form table td textarea.mceEditor,
#dlg_blue_body #divJSDialogContent form table td input.espaiat {
    width: 85%;
    margin-left: 10px;
}

#jsWindowAlert #dlg_blue_body .divJSDialogContent #buttonOk {
    float: unset;
    margin: 0px;
}

#dlg_blue_body .divJSDialogContent form .mce-tinymce button {
    font-family: inherit;
    font-size: inherit;
    border: inherit;
    line-height: inherit;
    min-width: inherit;
    cursor: pointer;
    border-radius: inherit;
    float: inherit;
    margin: inherit;
    padding: 4px 10px;
    color: inherit;
    background-color: inherit;
}


/* bootstrap */


/*
.modal-open {
    overflow: hidden;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -25%);
    transform: translate(0, -25%);
}

@media screen and (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}

.modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (0.5rem * 2));
}

.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - (0.5rem * 2));
    content: "";
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.modal-footer> :not(:first-child) {
    margin-left: .25rem;
}

.modal-footer> :not(:last-child) {
    margin-right: .25rem;
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
    .modal-dialog-centered {
        min-height: calc(100% - (1.75rem * 2));
    }
    .modal-dialog-centered::before {
        height: calc(100vh - (1.75rem * 2));
    }
    .modal-sm {
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 800px;
    }
}*/