@font-face {
    font-family: 'RobotoRegular';
    src: url("../../fonts/Roboto-Regular.ttf");
}

@font-face {
    font-family: 'RobotoBold';
    src: url("../../fonts/Roboto-Bold.ttf");
}

body {
    font-size: 14px;
}


/** NAVIGATION **/
.main-header {
    background-color: #fff;
    padding: 20px 0;
    border-top: 4px solid #3F92D6;
}

.main-nav {
    background-color: #32363E;
    padding: 20px 0;

}

.main-nav .fa {
    font-size: 30px;
    color: #fff;
}

.main-nav .btn {
    margin: 0 5px;
}



/** LAYOUT **/
.page-header {
    margin-top: 20px;
    margin-bottom: 0;
    border-bottom: 0;
}

.page-header h1 {
    margin: 0;
    padding-bottom: 0;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 130%;
    line-height: 1.1;
    color: #003665;
}

.ui-plain .main-container {
    border: none;
}

.ui-plain .container {
    margin-left: 0;
    margin-right: 0;
}

.container {
    padding: 0;
}

.row {
    margin: 0;
}

/** Tables **/
.table > tbody > tr > th {
    font-size: 110%;
    width: 90%;
}

.table > tbody > tr > td {
    padding: 10px 20px;
}

.table-print {
    width: 90%;
    margin: 0 auto;
}

.table-print .txtarea {
    display: block;
    padding-left: 20px;
    font-style: italic;
}

.table-print div.printlabel {
    text-align: center;
    font-size: 80%;
    border-top: 1px dotted #222;
    font-style: italic;
}

.main-container {
    border: solid #E3EAF3;
    border-width: 0 1px;
    border-radius: 6px;
    background-color: #fff;
    margin-bottom: 10px;
    padding: 0;
    box-shadow: 0 0 11px #888;
}

.file {
    margin: 2px 0;
    padding: 1px;
    border: 1px solid #7E7E7E;
}

.file .has-error {
    color: #a94442;
}

.file .fa-times {
    color: #a94442;
    float: right;
}

.upload-button,
.fileinput-button {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.upload-button input,
.fileinput-button input {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
}

/* Form
-------------------------------------------------- */
.form-control {
    border-radius: 0;
    border-color: #ccc;
}
.select2-container--default {
    width: 100% !important;
}
.select2-container--default .select2-selection--single {
    border-radius: 0;
    border: 1px solid #ccc;
}
.has-error .select2-container--default .select2-selection--single {
    border-color: #a94442;
}
.entity[data-type="person"] .person {display: block;}
.entity[data-type="person"] .company {display: none;}
.entity[data-type="company"] .person {display: none;}
.entity[data-type="company"] .company {display: block;}
.entity .citizenship-group.ntype-1{display: none;}
.address .city-select {display: none;}
.address .city-name {display: block;}
.address.bg .city-select {display: block;}
.address.bg .city-name {display: none;}
.required {font-size: 140%; color: #ff3333;}

/** FORM SPECIFIC STYLES **/
#application-form .page-header {
    text-align: center;
    color: #444;
}

#application-form .panel {
    margin-bottom: 0;
}

#application-form #declarations {
    word-wrap: break-word;
}

#application-form #captcha-img {
    margin-top: 20px;
    margin-bottom: 5px;
    border: 1px solid #b3b3b3;
}

#application-form #captcha {
    margin: 0 0 10px 0;
    height: 30px;
    line-height: 30px;
    min-height: 30px;
    border: 1px solid #ccc;
    background: none;
    width: 135px;
    padding: 0 5px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -khtml-border-radius: 0;
}

#application-form .has-error #captcha {
    margin-top: 20px;
    margin-bottom: 5px;
    border: 1px solid #a94442;
}

/* Misc
-------------------------------------------------- */

.header-print {padding-top: 10px;}

@media print {
    .table-bordered th {border: 1px solid #000 !important;}
    .table-bordered td {border: 1px solid #000 !important;}
    body {border-top: none;}
    .table-print {
        font-size: 90%;
    }
    .table-print {
        width: 100%;
    }
    .header-print, .logo {
        display: block;
    }
    .main-header {display: none;}
    .main-nav {display: none;}
    .page-header {display: none;}
    .main-footer {display: none;}
}

/* Self inspections
-------------------------------------------------- */
#self-inspection .images-container {
    margin: 20px 0;
}

#self-inspection > * {
    box-sizing: border-box;
}

#self-inspection .fileinput-button {
    width: 100%;
    height: 50px;
    text-align: center;
}

#self-inspection .fileinput-button input {
    width: 100%;
    height: 50px;
}

#self-inspection > .inspection-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1em;
}

#self-inspection .type-container {
    width: 100%;
    margin: 0 0 1em 0;
}

#self-inspection .type-container h1 {
    margin-bottom: 1em;
}
#self-inspection .type-container h2 {
    font-size: 2rem;
    margin: 1em 0 0.5em 0;
}
#self-inspection .type-container .type-description {
    color: #999;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.5rem;
    margin: .25em 0;
    max-height: 3rem;
    text-overflow: ellipsis;
}
#self-inspection .images-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
    min-height: 150px;
    margin: 0;
    background-color: #f1f1f1;
}
#self-inspection .upload-single .file {
    flex-grow: 1;
}
#self-inspection .dropzone {
    position: relative;
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 1.2rem;
    padding: 0.5em;
    border: 2px dashed #3F92D6;
    height: 150px;
}
#self-inspection .message {
    text-wrap: normal;
}
#self-inspection .fileupload {
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    margin: 0;
    padding: 0;
    cursor: pointer;
    font-size: 20px;
    filter: alpha(opacity=0);
    opacity: 0;
}
#self-inspection .file {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    float: left;
    overflow: hidden;
    text-align: center;
    border: none;
    background-color: #b8cee0;
    width: 200px;
    height: 150px;
    margin: 1px;
}

#self-inspection .file .remove-file {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    background-color: #e4ebf8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 0 10px;

}

#self-inspection .file .remove-file:focus {
    outline-width: 1px;
    padding: 10px;
}

#self-inspection .file .remove-file:hover {
    background-color: #d1e1ff;
}

@media (min-width: 500px) {
    #self-inspection .upload-single {
        width: 46%;
    }
}

@media (min-width: 768px) {
    #self-inspection .upload-single {
        width: 30%;
    }
}

/* Images uploader
-------------------------------------------------- */
#images-uploader .uploaded {
    margin: 20px 0;
}

#images-uploader > * {
    box-sizing: border-box;
}

#images-uploader .fileinput-button {
    width: 100%;
    height: 50px;
    text-align: center;
}

#images-uploader > .images {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1em;
}

#images-uploader .required-file {
    width: 100%;
    margin: 0 0 1em 0;
}

#images-uploader .required-file h1 {
    margin-bottom: 1em;
}
#images-uploader .required-file h2 {
    font-size: 2rem;
    margin: 1em 0 0.5em 0;
}
#images-uploader .required-file .type-name {
    display: flex;
    align-items: flex-end;
    line-height: 1.5rem;
    height: 2.5rem;
    margin: .25em 0;
    max-height: 3rem;
    text-overflow: ellipsis;
}
#images-uploader .required-file .type-description {
    color: #999;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.5rem;
    margin: .25em 0;
    max-height: 3rem;
    text-overflow: ellipsis;
}
#images-uploader .uploaded {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
    min-height: 150px;
    margin: 0;
    background-color: #f1f1f1;
}
#images-uploader .upload-single .file,
#images-uploader .upload-single .file-wrappper{
    flex-grow: 1;
}

#images-uploader .dropzone {
    position: relative;
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 1.2rem;
    padding: 0.5em;
    border: 2px dashed #3F92D6;
    height: 150px;
}
#images-uploader .message {
    text-wrap: normal;
}
#images-uploader .fileupload {
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    margin: 0;
    padding: 0;
    cursor: pointer;
    font-size: 20px;
    filter: alpha(opacity=0);
    opacity: 0;
}
#images-uploader .file,
#images-uploader .file-wrapper {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    float: left;
    overflow: hidden;
    text-align: center;
    border: none;
    background-color: #b8cee0;
    width: 200px;
    height: 150px;
    margin: 1px;
}
#images-uploader .upload-single .file.error{
    flex-direction: row;
}

#images-uploader .file-wrapper {
    width: 100%;
}

#images-uploader .file-wrapper .fa-spinner {
    display: block;
}

#images-uploader .file .remove-file {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    background-color: #e4ebf8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 0 10px;
}

#images-uploader .file .remove-file:focus {
    outline-width: 1px;
    padding: 10px;
}

#images-uploader .file .remove-file:active {
    outline-width: 1px;
}

#images-uploader .file .remove-file:hover {
    background-color: #d1e1ff;
}

@media (min-width: 500px) {
    #images-uploader .upload-single {
        width: 46%;
    }
}

@media (min-width: 768px) {
    #images-uploader .upload-single {
        width: 30%;
    }
}

/* DataRequests
-------------------------------------------------- */
#data-request {
    overflow-x: auto;
}

#data-request h4 {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #023769;
}

#data-request.mobile {
    padding-bottom: 20px;
}

#data-request.mobile p {
    margin: 30px 20px;
}

#data-request a:hover {
    text-decoration: none;
    opacity: .75;
}

#data-request .required-file {
    padding-bottom: 5px;
}

#data-request .uploaded .file-wrapper,
#data-request .uploaded .file {
    margin: 2px 0;
    padding: 1px 1px 1px 10px;
    border: none;
    background-color: #f6f7f9;
}

#data-request .uploaded .file-wrapper.error {
    color: #a94442;
}

#data-request .uploaded .fa-spinner {
    display: inline-block;
    margin-left: 5px;
}

#data-request .file .remove-file:hover .fa {
    color: red;
    transition: color, .5s;
}

#data-request .file .remove-file.loading {
    outline: none;
}

#data-request .data-section {
    margin-bottom: 15px;
}
#data-request .data-section .data-row {
    display: flex;
    margin-bottom: 5px;
}
#data-request .data-section span.data-label {
    background-color: #fff;
}
#data-request .data-section span.data-value {
    margin-left: 10px;
    flex-grow: 1;
    border-bottom: 1px dotted #999;
}
#data-request table > tbody > tr > td {
    padding: 3px;
}
#data-request ol,
#data-request ul {
    padding-left: 0;
}
#data-request ol li,
#data-request ul li {
    padding-left: 0;
    list-style-position: inside;
}
#data-request ul {
    list-style-type: none;
}
#data-request .stressed {
    font-weight: bold;
    text-decoration: underline;
}
#data-request .allcaps {
    text-transform: uppercase;
}
#data-request .request-sections li{
    margin-top: 20px;
}
#data-request .request-sections li .row > div {
    margin-top: 10px;
    padding-left: 0;
    padding-right: 0;
}
#data-request .bank-account-form .row > div {
    padding-left: 5px;
    padding-right: 5px;
}

#data-request .indicator {
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    margin: 2px;
    border-radius: 50%;
    background-color: #c52b2b;
}

#data-request .upload-button {
    padding: 5px 12px;
}

#chat {

}

#chat .messages {
    margin-bottom: 1em;
}

#chat .messages .message {
    width: 40%;
    padding: 5px;
    background-color: #f7fafc;
    border: 1px solid #c9d4e0;
}

#chat .messages .message.pull-right {
    text-align: right;
}

#chat .messages .message .message-date {
    color: #444;
    font-style: italic;
    font-size: 0.8em;
}

#chat .form textarea {
    margin-bottom: .5em;
}

#data-request-info table {
    margin: 0 auto;
}

#repair-letter > table {
    margin: 0 auto;
    font-size: 12px;
}

#repair-letter table.zakltable {
    border: 1px solid black;
}

#repair-letter table.zakltable th,
#repair-letter table.zakltable td {
    border: 1px solid black;
}

#repair-letter table.zakltable th {
    text-align: center;
}


#location-status {
    display: inline-block;
    margin-left: 10px;
    padding: 5px;
    text-decoration: none;
    font-size: 12px;
}
.dont-break-out a {

  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;

}

.input-message {
    margin: 0 20px 20px 20px;
    font-style: italic;
    font-size: 1.2rem;
}

.info-message {
    margin: 20px;
    color: rgb(0, 54, 100);
    background-color: #fff;
    border-color: rgb(0, 54, 100);
    font-size: 90%;
}

.info-message .fa {
    float: left;
    margin: 10px 10px 10px 0;
    width: 40px;
    height: 40px;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
    border: 1px solid rgb(0, 54, 100);
    border-radius: 50%;
}

.info-message-view {
    width: 90%;
    margin: 0 auto;
    border-color: #333;
    color: #333;
}

.info-message-view .fa {
    border-color: #333;
}

.info-message .panel .panel-heading {
    background-color: transparent;
}

/* logos */
.main-header .logos {
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.main-header .logos .logo {
    height: 70px;
}

#confirm-dialog ul li {
    padding: 5px;
}

#confirm-dialog ul li.success .fa {
    color: #81d581;
}

#confirm-dialog ul li.warning .fa {
    color: #e5d63b;
}

#confirm-dialog ul li.error .fa {
    color: #ce5252;
}

@media screen and (max-width: 767px) {
    .main-header .logos .logo {
        height: 35px;
        margin: 5px;
    }
}

@media screen and (max-width: 767px) {
    #data-request-info table {
        width: 100%;
    }
}

/* media queries */
@media (min-width: 860px) {
    .container {
        width: 860px;
    }
}

@media (min-width: 992px) {
    .container-large .container {
        width: 970px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 12px;
    }

    #application-form .row > .col-md-9 {
        padding: 0 0 0 10px;
    }

    #application-form .row > .col-md-9 .form-control {
        padding-left: 0;
    }

    input[type='text'],textarea {
        font-size: 1em;
    }

}

@media (max-width: 550px) {
    #application-form .row > .col-md-3 {
        width: 40%;
        padding: 2%;
        min-width: 115px;
    }
}
