﻿#modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/*не пашет, ставлю динамически через jquery*/

#modal-content tbody img:active {
    transform: scale(.3);
    transition: .3s;
}

#modal-content tbody img:hover {
    transform: translateX(10em) scale(3.2);
}

#modal-content tbody img {
    max-width: 100px;
    transition: 1s;
    max-height: 222px;
}

#modal-content {
    width: 100% !important;
}

#modal-content tbody td:nth-child(1) {
    width: 111px;
    text-align: center;
}

#modal-content tbody td:nth-child(3) {
    width: 66px;
    text-align: center;
}

tr.error_msg-row {
    /*!! ERROR alert ROW !!  */
    width: 100vh !important;
    text-align: center;
    display: flex;
    margin-bottom: 20px;
}

.btn-green {
    background-color: #4CAF50;
    transition: .3s;
    width: 100px;
    padding: 5px;
    font-size: 15px;
    text-align: center;
    height: 20px;
    vertical-align: text-bottom;
    cursor: pointer;
}

.btn-green:hover {
    transform: scale(1.1);
}

.btn-green:active {
    transition: .3s;
    transform: scale(.9);
}

.filename {
    width: 300px;
    display: block;
    word-break: break-word;
}

.delete-all--button {
    width: 67px;
}

a.delete {
    background-color: #f44336;
    border: none;
    color: white;
    padding: 1px 18px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    cursor: pointer;
}

a.delete:active,
.delete-btn__wrapper {
    text-align: center;
    transition: 1s;
}

a.delete:hover,
.delete-btn__wrapper:hover {
    color: yellow;
    transform: scale(1.0);
}

a.delete:active,
.delete-btn__wrapper:active {
    transition: 3s;
    transform: scale(.8);
    color: green;
}

a.deleteUploadRow {
    font-size: 1.5em;
    text-decoration: none;
}

.pdf-icon {
    /*background-image: url(data:image/svg+xml,%3C%3Fxml version='1.0' encoding='iso-8859-1'%3F%3E%3C!-…E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3C/svg%3E%0A);*/
    width: 109px;
    height: 75px;
    display: block;
    background-repeat: no-repeat;
    cursor: not-allowed;
    pointer-events: none;
    /*БЛОЧИМ ВСЕ СОБЫТИЯ НАД ИКОНКОЙ*/
}

div#delete-all--button {
    min-width: 67px;
}


/*  REFRESH BTN */

.btn-refresh {
    display: inline-block;
    padding: 10px 18px;
    font-size: 17px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 15px;
    box-shadow: 0 9px #999;
}

.btn-refresh:hover {
    background-color: #3e8e41
}

.btn-refresh:active {
    background-color: #3e8e41;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.expired td[data-tooltip]:before {
    left: 145px !important;
}

tr td em {
    background: #002bff;
    border-radius: 20px;
    border: 1px solid #999;
    text-align: center;
    color: #FFF;
    font: normal bold 10px Arial;
    padding: 0 4px;
}

tr[inspected="done"] {
	border-color: red;
	border-style: solid;
	border-width: 2px;
}

.expired {
    background-color: #c04859
}

.popup {
    display: none;
    cursor: pointer;
    padding: .8em;
    border: 1px solid #006798;
    background-color: lightyellow;
    border-radius: 7px;
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /* Для Firefox */
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /* Для Safari и Chrome */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

* {
    font-family: Segoe UI, Tahoma, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #006798;
    padding: 0;
    margin: 0;
}

a {
    font-family: Segoe UI, Tahoma, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: white;
    padding: 0;
    margin: 0;
}

h1 {
    text-align: center;
    clear: both;
}

#page {
    padding: .8em;
    border: 1px solid #006798;
    background-color: lightyellow;
    border-radius: 7px;
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /* Для Firefox */
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /* Для Safari и Chrome */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#warp {
    padding: 20px;
    min-width: 1024px;
    /*  margin: 20px 10%;
  min-width: 200mm;
  top: 10px;
  left: 50%;
  margin-left: -512px;
  position: absolute;
  width: 1024px;*/
    /*border: 1px solid black;*/
}

#header {}

#logo {
    float: left;
}

#logo h1 {
    font-style: italic;
    font-size: 1.2em;
    text-align: left;
    margin-bottom: .7em;
}

#header input {
    border: 1px solid black;
}

#tabs .tab {
    display: none;
}

#tabs div.tab:first-child {
    display: inherit;
}

#tabs {
    position: relative;
}

#tabs .tab {
    /*position: absolute;
  top: 0;*/
}

#message_error,
#message_warning,
#message_inform {
    display: none;
}

table.panel {
    background-color: #004673;
}

#menu {
    margin: .8em 0;
    background: url('../img/menu_bg.png') 50% 50% repeat-x;
    /*height: 3.1em;*/
    overflow: hidden;
    border: 1px solid #004673;
    clear: both;
}

#menu ul {
    list-style: none;
}

#menu li {
    float: left;
    border-right: 1px solid white;
    padding: .5em .8em;
    font-size: 1.1em;
    color: white;
    cursor: pointer;
}

#menu li.active {
    font-weight: bold;
}

#tabs {
    clear: both;
    border: 0;
    /*border-bottom: 1px dotted #004673;*/
    overflow: hidden;
    padding-bottom: 2.5em;
    min-height: 700px;
}

.tab h2 {
    text-align: center;
    font-size: 1.2em;
    font-weight: normal;
    margin: .4em 0 .2em 0;
    clear: both;
}

.tab table,
#comp-list {
    width: 100%;
    clear: both;
    border-collapse: collapse;
    margin-bottom: 1.0em;
    clear: both;
}

.tab th,
.tab td,
#comp-list th,
#comp-list td {
    padding: .2em .3em;
    font-weight: normal;
    overflow: hidden;
    text-align: center;
}

.tab td b {
    color: white;
}

ul.buttons li {
    float: left;
    margin-right: .3em;
}

ul.bottom {
    position: absolute;
    clear: both;
    left: 0;
    bottom: .3em;
}


/*
button {
  background: url('../img/menu_bg.png') 50% 50% repeat-x;
  padding: .1em .5em .2em .5em;
  color: white;
  border: 1px solid #004673;
  cursor: pointer;
}*/

.tab th,
#comp-list th {
    font-size: .8em;
    color: white;
    background-color: #004673;
}

.tab td,
.tab tr.even span,
.tab tr.odd span,
.tab tr.evenzz span,
#comp-list th {
    color: whitesmoke;
    /*white-space: nowrap;*/
    overflow: hidden;
}

.panel td {
    padding: .8em 0 .8em .8em;
    text-align: left;
}

tr.even,
tr.odd,
tr.evenzz {
    cursor: pointer;
}

tr.even,
tr.odd {
    cursor: pointer;
}

tr.evenzz {
    background-color: #00A8FF;
}

tr.even {
    background-color: #4d7b9c;
}

tr.odd {
    background-color: #24638a;
}

tr.active {
    background-color: #9fcdf1;
}

.tab input,
.form input {
    border: 0;
    padding: 0;
    margin: 0;
}

.navigate {
    list-style: none;
    line-height: .8em;
}

.navigate li {
    float: right;
    padding: 0 .2em;
    border-right: 1px dotted #6ea6d1;
}

.navigate li:first-child {
    float: left;
    border: 0;
    font-size: .9em;
}

.navigate li a {
    /*font-size: .8em;
  text-decoration: none;
  color: #88b6d9;*/
    width: 12px;
    height: 14px;
    display: block;
}

.navigate li a.active {
    font-weight: bold;
    color: #004673;
}

.tab select {
    border: 0;
}

.select {
    float: left;
    height: 1.2em;
    background-color: white;
    position: relative;
}

.select span {
    clear: both;
}

.select ul {
    list-style: none;
    position: absolute;
    background-color: white;
    /*  top: 0;*/
    left: 0;
    border: 1px solid #004673;
}

.select li {
    padding: .2em .5em;
    white-space: nowrap;
    cursor: pointer;
}

.input {
    border: 1px solid #004673;
    padding: .2em .5em;
    background-color: white;
}

#tab-ships .select li {
    width: 55px;
}

.search {
    border: 1px solid #004673;
    margin-bottom: .8em;
    float: left;
    width: 100%;
    padding: .2em 0 .9em 2.0em;
    background-color: #004673;
}

.search ul {
    list-style: none;
}

.search li {
    float: left;
    padding-right: 2.0em;
}

.search label {
    color: white;
}

.search button {
    border: 1px solid white;
}

ul.edit-panel {
    clear: both;
    list-style: none;
}

ul.edit-panel li {
    float: right;
}

ul.edit-panel img {
    vertical-align: middle;
}

img {
    vertical-align: middle;
    float: left;
    margin: -.2em .1em -.2em 0;
}

td img {
    float: none;
}

.form {
    margin-top: 5px;
}


/*
.user {
  margin-right: 10px;
  border: 1px solid #c5dbec;
  padding: .4em .5em;
}
*/

.form dt {
    clear: both;
    float: left;
    margin-right: 5px;
    position: relative;
    text-align: right;
    top: .2em;
    vertical-align: top;
    width: 120px;
}

.form dd {
    margin-bottom: 10px;
}

.form dd input {
    border: 1px solid #004673;
    padding: .2em .5em;
}

.form dd select {
    border: 1px solid #004673;
    padding-left: .5em;
}

.checkbox {
    padding: .2em 0;
}

.checkbox img {
    margin: 0;
    float: none;
    cursor: pointer;
}

.checklist img {
    margin: 0;
    float: none;
    cursor: pointer;
}

.left {
    text-align: left !important;
}

.form sup {
    color: red;
    font-size: 100%;
}

.form .require {
    color: red;
    text-align: right;
}

#header form {
    float: right;
    margin-bottom: .5em;
}

#header .name {
    margin-right: .8em;
}

#comp-list td,
#comp-list th {
    font-size: .8em;
    color: whitesmoke;
}

#comp-list {
    margin: 0;
}

#news .item,#newstop .item ,#messages .item {
    clear: both;
    padding: .2em .5em;
    margin-bottom: .3em;
    border: 1px solid #004673;
    background-color: whitesmoke;
}

#news .subject,#newstop .subject, #messages .subject {
    clear: both;
    color: #004673;
    font-weight: bold;
    border-bottom: 1px solid #004673;
}

#news .content,#newstop .content, #messages .content {
    clear: both;
    color: #004673;
}

#news .date,
#news .from,
#newstop .date,
#newstop .from,
#messages .date,
#messages .from
 {
    font-size: .9em;
    font-style: italic;
    color: #004673;
}

textarea {
    border: 1px solid #004673;
    padding: .2em .5em;
    background-color: white;
}

.ui-datepicker-trigger {
    float: none;
}

#edit_ship_data,
#edit_cert_data,
#edit_certif_data,
#edit_def_data,
#edit_out_data,
#edit_comp_data,
#cic_add_for_ship_dialog,
#cic_data {
    display: none;
}

label {
    color: whitesmoke;
    display: block;
    text-align: left;
}

label.error {
    color: red;
}

.moulogo {
    /*  margin: 20px 10%;
  min-width: 200mm;*/
  /*top: 110px;*/
  left: 50%;
  margin-left: -206px;
  position: absolute;
  width: 412px;
  /*border: 1px solid black;*/
}

.moulogo h1 {
    font-size: 18px;
    padding: 1.2em 0;
}

.alert {
    padding: .3em 0;
    color: red;
}

.conventions {
    width: 410px;
    float: right;
    margin-bottom: 10px;
}

.conventions select {
    margin-bottom: 5px;
}

.noclick {
    cursor: default;
}

.under-performed {
    color: white;
    background-color: red;
    padding: .5em;
    text-align: center;
}

div.panel {
    background-color: #004673;
    overflow: hidden;
}

div.panel div {
    text-align: right;
    vertical-align: bottom;
}

div.panel select {
    margin: .8em;
    padding: 0;
    border: 1px solid white;
}

div.panel input {
    margin: .8em;
    margin-right: 0;
    padding: 0;
    border: 2px solid white;
}

div.panel div.text {
    color: whitesmoke;
    padding: .8em;
    padding-right: 0;
}

div.panel button {
    margin: .7em;
}

#common {
    width: auto;
}

#common td {
    white-space: nowrap;
    text-align: center;
    padding: .2em .5em;
    border: 0;
    font-weight: bold;
    color: #2e6e9e;
}

#body {
    width: auto;
}

#body td {
    white-space: nowrap;
    text-align: left;
    padding: .2em .5em;
    border: 0;
    font-weight: bold;
    color: #2e6e9e;
}

#questions th {
    font-weight: bold;
    padding: .5em;
    background-color: transparent;
    color: #2e6e9e;
    border: 0;
}

#questions tr {
    /*height: 3.0em;*/
}

#questions td {
    /*padding: .2em .5em;
    height: 3.5em;*/
    border: 0;
    border-bottom: 1px solid #c6f0ff;
    text-align: left;
    color: #2e6e9e;
    font-size: .9em;
}

div#buttons {
    white-space: nowrap;
    padding: 0 1.0em;
    text-align: center;
}

.ex th {
    background-color: #0047ab;
}

.ex tr.even {
    background-color: #0095b6;
}

.ex tr.odd {
    background-color: #3a75c4;
}

.ex tr.active {
    background-color: #ccccff;
}


/*DEREGISTED*/

#news .file a, #messages .file a {
    clear: both;
    color: #004673;
}



#add_deregistration_for_ship_dialog>dt,
#add_deregistration_for_ship_dialog>div>dt
{
  text-align: left;

}

/*#add_deregistration_for_ship_dialog dt:nth-of-type(-n+2)
{
  text-align: right;
}
*/


/*DEREGISTED*/

ul.ups {
    margin: 15px 0;
}

ul.ups::after,
#news_add_for_ship_dialog [name="ship_imo"]::after,
#news_add_for_ship_dialog [name="ship_name"]::after {
    content: '';
    clear: both;
    display: block;
}




#edit_insp_data {
   /* overflow: hidden !important;*/
}

/*DEREGISTED*/

#news_add_for_ship_dialog [name="ship_imo"],
#news_add_for_ship_dialog [name="ship_name"]
{
    float:right;
}


#ShowTop {
    cursor: pointer;
}

#newstop .item{
    border: 5px solid #4CAF50;
}

#BW_items td,
#BW_items th,
#LSA_items td,
#LSA_items th,
#ES_items td,
#ES_items th,
#FFE_items td,
#FFE_items th,
#AD_items td,
#AD_items th,
#ER_items td,
#ER_items th,
#SO_items td,
#SO_items th,
#OT_items td,
#OT_items th   {
    text-align: left;
}


.insp__action__codes__block span {
    float: left;
}

.insp__action__codes__block div {
    display: flex;
}
  .cic__header {
    display: flex;
    gap: 2px;
    margin-left: 30px;
  }

  .cic__header .header__item {
    padding: 10px;
    background: #4197d5;
    opacity: 0.6;
    transition: padding .3s;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
  }

  .cic__header .header__item p {
    color: #FFFFFF;
  }

  .cic__header .header__item.active {
    background: #067bce;
  }

  .cic__header .header__item:hover {
    padding: 10px 12px;
    background: #60b2ed;
  }

  .cic__content {
    border: 2px solid #006798;
    border-radius: 8px;
    overflow: hidden;
    min-height: 30vh;
  }

  .cic__item {
    padding: 6px 10px;
  }
