.ctpt_order_panel {

}

.ctpt_order_panel p {
    margin: 0;
}
.ctpt_order_panel p b {
    font-size: 14px;
}

.ctpt_order_panel h4 {
    margin-top: 0;
    font-size: 16px;
    margin-bottom: 8px;
}

.ctpt_order_panel input[type=text] {
    width: 98%;
    margin-bottom: 8px;
}

.ctpt_order_panel textarea {
    width: 100%;
    resize: vertical;
}

.ctpt_cse_warn.hide {
    display: none !important;
}

.ctpt_buttons {
    width: 100%;
    display: flex;
    gap: 15px;
}

.ctpt_datablock {
    width: 100%;
    overflow: hidden;
}

#ctpt_reselect {
    margin-top:10px;
}

.ctpt_warnempty {
    margin-top: 10px !important;
    display: none;
}

/* Cargoes */

.ctpt_cargowin_close {
    position: absolute;
    right: 8px;
    top: 55px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.ctpt_cargowin_close:before,
.ctpt_cargowin_close:after {
    display: block;
    content: '';
    position: absolute;
    left:50%;
    top: 50%;
    transform:translate(-50%,-50%) rotate(-45deg);
    width: 33px;
    height: 2px;
    background:#000;
    margin-left: -1px;
    transition: 0.5s;
}
.ctpt_cargowin_close:after {
    transform:translate(-50%,-50%) rotate(45deg);
}
.ctpt_cargowin_close:hover:before,
.ctpt_cargowin_close:hover:after {
    background-color: #0d6efd;
}

.rate_update_errors,
.rate_update_success {
    display: none;
    margin-top: 20px;
}
body {
    max-height: 100%;
}

.body {
    min-height: 100vh;
    height: auto !important;
    padding-bottom: 50px;
}
.ctpt_cargo_table {
    width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    position: relative;

    -webkit-box-shadow: 4px 4px 50px 0px rgba(34, 60, 80, 0.25);
    -moz-box-shadow: 4px 4px 50px 0px rgba(34, 60, 80, 0.25);
    box-shadow: 4px 4px 50px 0px rgba(34, 60, 80, 0.25);

}

.cargoes {
    width: 100%;
}
.cargo {
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    position: relative;
}
.cargo .close {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.cargo .close:before,
.cargo .close:after {
    display: block;
    content: '';
    position: absolute;
    left:50%;
    top: 50%;
    transform:translate(-50%,-50%) rotate(-45deg);
    width: 22px;
    height: 1px;
    background:#000;
    margin-left: -1px;
    transition: 0.5s;
}
.cargo .close:after {
    transform:translate(-50%,-50%) rotate(45deg);
}
.cargo .close:hover:before,
.cargo .close:hover:after {
    background-color: #0d6efd;
}

.ctpt_cargo_table table {
    width: 100%;
}

.ctpt_cargo_table h1 {
    margin-bottom: 30px;
    text-align:center;
}

.ctpt_cargo_table .hdr {
    width: 100%;
    display: table;
    margin-bottom: 20px;
}
.ctpt_cargo_table .crg_name {
    text-align: center;
    width: 100%;
    font-weight: 700;
}

.ctpt_cargo_table .left {
    float: left;
    width: 50%;
}

.ctpt_cargo_table input[type=text] {
    height: 26px;
}

.ctpt_cargo_table .cargo_l,
.ctpt_cargo_table .cargo_w,
.ctpt_cargo_table .cargo_h,
.ctpt_cargo_table .gds_l,
.ctpt_cargo_table .gds_w,
.ctpt_cargo_table .gds_h {
    float: left;
    width: 65px;
}

.ctpt_cargo_table .cargo_wei {
    width: 149px;
}

.ctpt_cargo_table .gds_wei {
    width: 80px;
    margin: 0 auto;
    display: block;
}

.ctpt_cargo_table .gds_art {
    width: 140px;
    margin: 0 auto;
    display: block;
}

.ctpt_cargo_table .gabs_wr {
    display: table;
    margin: 0 auto;
}
.ctpt_cargo_table .gabs_wr span {
    display: inline-block;
    float: left;
    line-height: 26px;
    padding: 0 5px;
    font-weight: 500;
}

.ctpt_cargo_table .cargo_gabs,
.ctpt_cargo_table .cargo_wei {
    display: table;
    width: 100%;
    margin-bottom: 15px;
}
.ctpt_cargo_table .cargo_gabs p,
.ctpt_cargo_table .cargo_wei p {
    margin: 0;
    line-height: 26px;
    display: block;
    width: 130px;
    float: left;
}

.ctpt_cargo_table .cargo_gabs .gabs_wr,
.ctpt_cargo_table .cargo_wei .field_wr {
    float: left;
}

.ctpt_cargo_table .hdr button {
    display: block;
    margin-bottom: 10px;
}

.ctpt_cargo_table .gds_name {
    text-align: center;
    padding-bottom: 5px;
}

.ctpt_cargo_table th {
    text-align: center;
    padding: 0 5px;
}
.ctpt_cargo_table td {
    padding: 0 5px;
}

.ctpt_cargo_table .line {
    height: 11px;
    position: relative;
}
.ctpt_cargo_table .line:before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
    background: #000;
}

.ctpt_cargo_table .gds_cnt {
    display: flex;
    padding: 0 10px;
    justify-content: center;
}
.ctpt_cargo_table .gds_cnt p {
    margin-bottom: 0;
    margin-top: 0;
    float: left;
    margin-right: 10px;
    line-height: 26px;
}

.ctpt_cargo_table .move_ico {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    float: left;
    position: relative;
    cursor: pointer;
}
.ctpt_cargo_table .move_ico:before,
.ctpt_cargo_table .move_ico:after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../images/move.svg) no-repeat;
    background-size: contain;
    transition: 0.5s;
}
.ctpt_cargo_table .move_ico:after {
    opacity: 0;
    background-image: url(../images/move_blue.svg);
}
.ctpt_cargo_table .move_ico:hover:before {
    opacity: 0;
}
.ctpt_cargo_table .move_ico:hover:after {
    opacity: 1;
}

.ctpt_cargo_table .gds_price p {
    line-height: 26px;
    text-align: center;
    margin: 0;
}

.ctpt_cargo_table .btm_buttons {
    display: table;
    width: 100%;
    padding-top: 30px;
}
.ctpt_cargo_table .btm_buttons .btn {
    float: left;
    margin-right: 10px;
}
.ctpt_cargo_table .btm_buttons .btn-primary {
    float: right;
}

/* Popup window */
.ctpt_move_win {
    border: 1px solid #999;
    position: absolute;
    left: -100000px;
    top:0;
    opacity: 0;
    transition: left 0s linear 0.5s, top 0s linear 0.5s, opacity 0.5s linear 0s;
    z-index: 50;
    width: 150px;
    background: #fff;
    border-radius: 4px;
    -webkit-box-shadow: 10px 10px 19px 0px rgba(34, 60, 80, 0.4);
    -moz-box-shadow: 10px 10px 19px 0px rgba(34, 60, 80, 0.4);
    box-shadow: 10px 10px 19px 0px rgba(34, 60, 80, 0.4);
    padding: 20px 5px 5px 5px;
}
.ctpt_move_win.sh {
    opacity: 1;
    transition: left 0s linear 0s, top 0s linear 0s, opacity 0.5s linear 0s;
}

.ctpt_move_win .close {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.ctpt_move_win .close:before,
.ctpt_move_win .close:after {
    display: block;
    content: '';
    position: absolute;
    left:50%;
    top: 50%;
    transform:translate(-50%,-50%) rotate(-45deg);
    width: 22px;
    height: 1px;
    background:#000;
    margin-left: -1px;
    transition: 0.5s;
}
.ctpt_move_win .close:after {
    transform:translate(-50%,-50%) rotate(45deg);
}
.ctpt_move_win .close:hover:before,
.ctpt_move_win .close:hover:after {
    background-color: #0d6efd;
}

.ctpt_move_win > p {
    text-align: center;
    padding-right: 10px;
}
.ctpt_move_win p {
    font-size: 12px;
    margin-bottom: 15px;
}
.ctpt_move_win select {
    width: 100%;
    margin-bottom: 15px;
}
.ctpt_move_win .place {
    width: 100%;
    display: flex;
    margin-bottom: 15px;
    justify-content: center;
}
.ctpt_move_win .place p {
    padding-right: 5px;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 26px;
}
.ctpt_move_win input {
    width: 50px;
    height: 26px;
}
.ctpt_move_win input.err {
    background-color: #ffb3b3;
}
.ctpt_move_win .btn {
    width: 100%;
}

.ctpt_crg_itm_warn p {
    text-align: center;
    width: 100%;
    color: #f00;
    margin: 0;
    font-size:12px;
    padding-top: 5px;
}

#ctpt_cargoes {
    margin-bottom: 15px;
}

.cargo_gabs_block {
    cursor: pointer;
    color: #2271b1;
    position:relative;
    display: inline-block;
}
.cargo_gabs_block:before,
.cargo_gabs_block:after {
    display: block;
    font-family: dashicons;
    font-feature-settings: normal;
    content: "\f343";
    width: 20px;
    height: 20px;
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.5s;
}
.cargo_gabs_block:after {
    content: "\f347";
    opacity: 0;
}
.cargo_gabs_block.sh:before {
    opacity: 0;
}
.cargo_gabs_block.sh:after {
    opacity: 1;
}

.cargo_gabs_block_content .cnm {
    padding-top: 5px;
    font-family: bold;
    font-size: 16px;
}

.cargo_gabs_block_content {
    display: none;
}

.ctpt_hidden {
    display: none !important;
}

.ctpt_hint_block {
    display: inline-block;
    width:100%;
    position:relative;
}
.ctpt_hint_block p {
    float:left;
}

.ctpt_hintlbl {
    margin: 0 5px 0 0;
    color: #666;
    display: inline-block;
    font-style: normal;
    height: 16px;
    line-height: 16px;
    position: relative;
    vertical-align: middle;
    width: 16px;
    font-size: 1.2em;
    cursor: help;
    float: left;
    position: relative;
    top: 4px;
}
.ctpt_hintlbl:before {
    font-family: Dashicons;
    speak: never;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    text-indent: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    content: "\f223";
    cursor: help;
}

.ctpt_hint_content {
    width: 100%;
    z-index: 8675309;
    position: absolute;
    top: 12px;
    pointer-events: none;
    left: -10000px;
    padding-top: 5px;
    opacity: 0;
    transition: left 0s linear 0.3s, opacity 0.3s linear 0s;
}
.ctpt_hint_content.sh {
    opacity:1;
    left: 0;
    transition: left 0s linear 0s, opacity 0.3s linear 0s;
}
.ctpt_hint_content p {
    display: block;
    width: 100%;
    box-sizing: border-box;
    color: #fff;
    font-size: .8em;
    background: #333;
    text-align: center;
    border-radius: 3px;
    padding: .618em 1em;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

