html,
body {
    background: #a5cdef;
    height: 100%;
    font-family: 'Gotham';
}


/*fonts & typography settings*/

@font-face {
    font-family: 'Gotham Bold';
    src: url('../fonts/Gotham Bold.eot');
    src: url('../fonts/Gotham Bold-1.eot') format('embedded-opentype'), url('../fonts/Gotham Bold.woff2') format('woff2'), url('../fonts/Gotham Bold.woff') format('woff'), url('../fonts/Gotham Bold.svg') format('svg');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Book.eot');
    src: url('../fonts/Gotham-Book-1.eot') format('embedded-opentype'), url('../fonts/Gotham-Book.woff2') format('woff2'), url('../fonts/Gotham-Book.woff') format('woff'), url('../fonts/Gotham-Book.svg') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-00FE;
}

h1,
h2,
h3,
h4,
h6,
th,
.bold,
b,
strong {
    font-family: 'Gotham Bold';
}

h6 {
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: .025em;
}


/*colors*/

.green {
    color: #00a784
}

.dark-green {
    color: #007d63
}

.light-grey {
    color: #999999
}

.mid-grey {
    color: #737373
}

.dark-grey {
    color: #333
}


/*map*/

@media (min-width:800px) {
    .app-wrapper {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        position: relative;
    }
    .app-wrapper:before {
        background: rgb(0, 0, 0);
        background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
        display: block;
        content: '';
        width: 100vw;
        height: 50%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 999;
    }
    .app-wrapper:after {
        display: block!important;
        content: '';
        width: 100vw;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 999;
        background: linear-gradient(-90deg, rgba(0, 0, 0, .025) 1px, transparent 1px), linear-gradient(rgba(0, 0, 0, .025) 1px, transparent 1px), linear-gradient(-90deg, rgba(0, 0, 0, .04) 1px, transparent 1px), linear-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px), linear-gradient(transparent 3px, #f2f2f200 3px, #f2f2f200 78px, transparent 78px), linear-gradient(-90deg, #aaaaaa00, transparent 1px), linear-gradient(-90deg, transparent 3px, #f2f2f200 3px, #f2f2f200 78px, transparent 78px), linear-gradient(#aaaaaa00, transparent 1px), #f2f2f200;
        background-size: 4px 4px, 4px 4px, 80px 80px, 80px 80px, 80px 80px, 80px 80px, 80px 80px, 80px 80px;
    }
}

.map,
.map-markers {
    width: 100vw;
    padding: 0;
    max-width: 100vw;
    overflow: hidden;
}

.marker-point {
    cursor: pointer;
    transition: all ease-in-out .15s;
}

.marker-point .label path,
.marker-point .icon path {
    fill: #e5e500
}

.marker-point:hover .label path,
.marker-point:hover .icon path {
    fill: #fff
}

.marker-point:hover {
    transform: translateY(-1px)!important
}

.marker-point polygon {
    transition: all ease-in-out .15s;
    fill: rgba(0, 0, 0, 0.25);
}

.marker-point:hover polygon {
    fill: rgba(0, 0, 0, 0.95)
}

#map_base path {
    fill: url(#Gradient1);
}

.stop1 {
    stop-color: rgba(0, 0, 0);
}

.stop2 {
    stop-color: #007d63;
}

.map {
    position: relative;
    z-index: 3;
}

.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1040;
}

.sea {
    width: 50vw;
    padding: 0;
    max-width: 50vw;
    overflow: hidden;
    position: absolute;
    z-index: 2;
    bottom: -10px;
    right: 0
}

.fondeo {
    width: 100vw;
    padding: 0;
    max-width: 100vw;
    overflow: hidden;
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0
}

.st0 {
    fill: #FF3333;
}

.st1 {
    fill: #F0EBD0;
}

.vessel-animate {
    width: 10vw;
    padding: 0;
    max-width: 10vw;
    position: absolute;
    z-index: 2;
    animation-name: v1;
    animation-duration: 20s;
    animation-play-state: running;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
}


/* The animation code */

@keyframes v1 {
    0% {
        bottom: -10px;
        right: 0;
        transform: rotate(1deg)
    }
    100% {
        bottom: 100px;
        right: 50px;
        transform: rotate(5deg)
    }
}

.svg-cursor {
    cursor: pointer
}


/*modal*/

.modal--port.modal.show .modal-dialog {
    transform: none!important;
}

.ports-zoom a {
    display: block;
    background-color: red;
}

.port-info .modal {
    background: rgba(51, 51, 51, .95);
}

.port-info .modal-dialog {
    margin: auto;
    top: 5%;
    margin: auto!important;
    width: 90vw!important;
}

.port-info .modal-body {
    border: 0;
    border-radius: 0;
    padding: 0!important;
}

.port-info .modal-content {
    background-color: #ffffff00;
    border: none;
    border-radius: 0;
    box-shadow: none!important;
}

.port-info .modal-header,
.port-info .modal-footer {
    border: none;
    border-radius: 0;
}

.port-info .modal-header {
    align-items: flex-end;
    padding: 0;
}

.port-info .close {
    float: right;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: #fff!important;
    text-shadow: none!important;
    opacity: .5;
    background: transparent!important;
    padding: .25em 0!important;
    margin: 0;
}

.modal-header h1 {
    font-size: 2.75rem;
}

.modal-body {
    padding: 0;
    background: white;
    border-radius: 1px;
    border-bottom: #00a784 4px solid
}

.modal-title {
    color: white
}

.port-info .modal-footer {
    justify-content: space-between;
    border: none;
    padding: 1em 0!important;
}

.port-info .modal-footer button {
    background-color: black;
    color: white;
    text-transform: uppercase;
    border-radius: 0;
    font-size: 0.6875rem;
    letter-spacing: .025em;
    font-family: 'Gotham Bold';
    display: flex;
    padding: 0;
    height: 25px;
    line-height: 25px;
    padding: 0;
    justify-content: space-between;
    border: 0;
    margin: 0;
}

.modal-footer button:hover,
.modal-footer button:focus {
    text-decoration: none !important;
}

.modal-footer button:first-child {
    padding-right: 10px
}

.modal-footer button:first-child span {
    margin-right: 10px
}

.modal-footer button:last-child {
    padding-left: 10px
}

.modal-footer button:last-child span {
    margin-left: 10px
}

.modal-footer button span {
    height: 25px;
    display: block;
    font-size: 18px;
    padding: 0 15px;
    line-height: 23px;
}

.modal-footer button:hover {
    color: #fff
}

.modal-footer button:hover span {
    background-color: #00a784;
    color: #333
}

.modal-body .col-3 {
    background: #e7e7e7
}

.modal-dialog {
    max-width: 90vw
}

@media (min-width:1400px) {
    .modal-dialog {
        max-width: 70vw
    }
}


/*terminal information*/

.terminal-information .terminal-header {
    border-bottom: 4px solid #007d63;
    height: 70px;
    margin-bottom: 1em;
    padding: 0 2em
}

.terminal-information header h2 {
    color: #00a784;
    margin: 0;
    font-size: 1.75rem
}

.terminal-information section {
    margin-bottom: 1em;
    padding: 0 2em
}

.terminal-information h4 {
    color: #333333;
    font-size: 1.125rem
}

a:focus {
    border-radius: 0!important;
    border: 0!important;
    outline: none!important;
}


/*tabs navigation*/

.nav-pills {
    border-top-left-radius: 1px;
    overflow: hidden;
    display: flex;
    height: initial;
    min-height: 70px;
    flex-wrap: nowrap!important;
}

.nav-pills a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    border-radius: 0!important;
    color: #737373!important;
    background-color: #c7c7c7!important;
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: .025em;
    font-family: 'Gotham Bold';
    cursor: pointer;
    transition: all .25s ease-in-out;
    min-height: 70px;
}

.nav-pills a:nth-child(odd) {
    background-color: #efefef!important;
    color: #333
}

.nav-pills a:hover {
    background-color: #f5f5f5!important;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff!important;
    background-color: #00a784!important;
    border-bottom: 4px solid #007d63;
}


/*tables*/

.terminal__data-table {
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: .025em;
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #e2e2e2;
    border-left: 1px solid #e2e2e2;
}

.terminal__data-table+.terminal__data-table {
    margin-top: 20px;
}

.terminal__table-block {
    flex-basis: 25%;
    display: flex;
    flex-direction: column;
}

.daily-draft-waiting-time .terminal__table-block {
    flex-basis: 20%;
}

.table-block__header {
    background-color: #efefef;
    color: #737373;
    padding: 5px;
    font-weight: 700;
    vertical-align: bottom;
    border-bottom: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
    height: 50px;
    flex-wrap: nowrap;
    flex: 0;
    display: flex;
    justify-content: flex-start;
}

.table-block__content {
    color: #999999;
    border-bottom: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
    height: 100%;
    padding: 5px;
    height: auto;
    flex: 1;
}


/*truck status*/

.truck-status ul {
    width: 40px;
    height: 40px;
    margin: 0;
    position: relative;
}

.truck-status ul li {
    text-indent: -9999px;
    height: 40px;
    width: 40px;
    display: none;
    position: absolute;
    right: 0;
    bottom: 0
}

.truck-status ul li.active {
    display: block
}

.truck-status ul li.red {
    background: url(../img/red-truck.svg) no-repeat center / contain
}

.truck-status ul li.yellow {
    background: url(../img/yellow-truck.svg) no-repeat center / contain
}

.truck-status ul li.green {
    background: url(../img/green-truck.svg) no-repeat center / contain
}


/*line -up*/

.line-up h5 {
    font-size: 16px!important
}

.line-up h5,
.line-up h6 {
    position: relative;
    margin: 0 0 5px 0!important;
}

.line-up h5:after {
    content: '';
    display: inline-block;
    width: 70px;
    height: 20px;
    background: url(../img/vessel-icon.svg) no-repeat center / contain;
    margin-left: 10px
}

.line-up table {
    margin-bottom: 1em
}

.line-up .table th {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #737373;
    background-color: #efefef;
    padding: 5px;
    text-transform: uppercase;
}

.line-up .table td {
    font-size: 0.6875rem;
    color: #999999;
    padding: 5px;
}

@media (max-width:800px) {
    .d-xs-none {
        display: none
    }
    .map,
    .map-markers {
        width: 135vw;
        padding: 0;
        max-width: 135vw;
        overflow: hidden;
        left: -25vw!important;
    }
    .modal-dialog {
        max-height: 75vh
    }
    .terminal-information .terminal-header {
        height: initial;
        padding: 2em;
    }
    .app-wrapper:before {
        display: none
    }
    .mobile-port-nav-container {
        display: flex!important;
    }
    .modal-header h1 {
        font-size: 1.75rem;
    }
    .fusion-page-title-bar .fusion-page-title-row h1 {
        margin-top: 0!important;
    }
    .container-fluid {
        margin: 0!important;
        padding: 0!important;
    }
    .port-info .modal-dialog {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width:600px) {
    .app-wrapper:after {
        display: none
    }
    main,
    .container-fluid,
    .app-wrapper,
    .app-wrapper>div,
    nav.mobile-port-nav,
    nav.mobile-port-nav ul {
        height: 100%;
        width: 100%;
        margin: 0 auto!important;
        padding: 0;
    }
    nav.mobile-port-nav,
    nav.mobile-port-nav ul {
        height: 100%;
        width: 100%
    }
    nav.mobile-port-nav ul {
        display: flex;
        flex-direction: column
    }
    nav.mobile-port-nav ul li {
        height: calc(100% / 18);
        min-height: 50px;
        border-bottom: #737373;
        background: linear-gradient(45deg, rgba(0, 167, 132, 1) 0%, rgba(0, 125, 99, 1) 100%);
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    nav.mobile-port-nav ul li a {
        display: block;
        color: white;
        text-transform: uppercase;
        font-size: 1rem;
        letter-spacing: .025em;
        font-family: 'Gotham Bold';
        cursor: pointer;
        transition: all .25s ease-in-out;
        padding: 0 20px
    }
    .vessel header {
        flex-direction: column;
        justify-content: flex-start!important;
        text-align: left;
        align-items: flex-start!important;
    }
    .vessel header h5:after {
        position: absolute;
    }
}


/*zoom classes*/

.ports-zoom .modal {
    width: 100vw;
    height: auto;
    border: none;
}

.ports-zoom .modal-header {
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    padding: 0;
    border: none!important;
    min-height: initial!important;
    position: absolute;
}

.ports-zoom .modal-header h1 {
    color: #333333;
    background: white;
    padding: 10px 20px;
}


/* .ports-zoom .modal-body:after {

    box-shadow: inset 0 0 100px 100px rgb(0 0 0 / 90%);

    content: '';

    width: 100vw;

    height: 100vh;

    display: block;

    position: fixed;

    left: 0;

    top: 0;

} */

.ports-zoom .modal-header h1 {
    font-size: 1.75rem;
}

.ports-zoom .modal-header .close {
    top: 0;
    right: 0;
    margin: 0;
    position: absolute;
    background: rgba(0, 0, 0, 1)!important;
    color: white;
    opacity: 1;
}

.ports-zoom .modal-dialog {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    max-width: 100vw;
    transform: none!important;
    margin: 0!important;
}

.ports-zoom .modal-body {
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

.ports-zoom .modal-content,
.ports-zoom .modal-body .row,
.ports-zoom .modal-body .row svg {
    width: 100%;
    /* height: 100%; */
    position: relative;
    z-index: 9999999999999999999999999999999999999999999;
}

.santa-fe_zoom .modal-body {
    background: url("../img/zoom/santa-fe.jpg") no-repeat center / cover;
}

.san-lorenzo_zoom .modal-body {
    background: url("../img/zoom/san-lorenzo.png") no-repeat center / cover;
}

.rosario_zoom .modal-body {
    background: url("../img/zoom/rosario.png") no-repeat center / cover;
}

.villa-constitucion_zoom .modal-body {
    background: url("../img/zoom/villa-constitucion.png") no-repeat center / cover;
}

.san-nicolas_zoom .modal-body {
    background: url("../img/zoom/san-nicolas.png") no-repeat center / cover;
}

.ramallo_zoom .modal-body {
    background: url("../img/zoom/ramallo.png") no-repeat center / cover;
}

.san-pedro_zoom .modal-body {
    background: url("../img/zoom/san-pedro.png") no-repeat center / cover;
}

.lima_zoom .modal-body {
    background: url("../img/zoom/lima.png") no-repeat center / cover;
}

.campana_zoom .modal-body {
    background: url("../img/zoom/campana.png") no-repeat center / cover;
}

.zarate_zoom .modal-body {
    background: url("../img/zoom/zarate.png") no-repeat center / cover;
}

.dock-sud_zoom .modal-body {
    background: url("../img/zoom/dock-sud.png") no-repeat center / cover;
}

.ibicuy_zoom .modal-body {
    background: url("../img/zoom/Ibicuy.png") no-repeat center / cover;
}

.concepcion-del-uruguay_zoom .modal-body {
    background: url("../img/zoom/concepcion-del-uruguay.png") no-repeat center / cover;
}

.guazu_zoom .modal-body {
    background: url("../img/zoom/guazu.png") no-repeat center / cover;
}

.nueva-palmira_zoom .modal-body {
    background: url("../img/zoom/nueva-palmira.png") no-repeat center / cover;
}

.montevideo_zoom .modal-body {
    background: url("../img/zoom/montevideo.png") no-repeat center / cover;
}

.necochea_zoom .modal-body {
    background: url("../img/zoom/necochea.png") no-repeat center / cover;
}

.bahia-blanca_zoom .modal-body {
    background: url("../img/zoom/bahia-blanca.png") no-repeat center / cover;
}

.la-plata_zoom .modal-body {
    background: url("../img/zoom/la-plata.png") no-repeat center / cover;
}


/*zoom transition*/

.fade.show {
    opacity: 1;
}

@media (min-width:800px) {
    .fade {
        transition: all .15s linear!important;
        opacity: 0;
    }
    .fade.zoom {
        transform: scale(0);
    }
    .fade.zoom.show {
        opacity: 1;
        transform: scale(1);
    }
}


/*notepad*/

.notepad {
    width: 1200px;
    height: auto;
    min-height: 70vh;
    background: url(../img/notepad.png) no-repeat left top / 30%;
    padding: 0;
    position: absolute;
    top: 40px;
    left: 0;
    z-index: 999;
    right: 0;
    margin: auto;
}

.notepad article {
    max-width: 30%;
    padding: 40px;
}

.notepad h4,
.notepad p {
    font-family: monospace;
    color: black
}

.notepad p {
    line-height: 1.1;
}

.notepad h4 {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: .5em
}

.notepad .green {
    background: #00a784;
    color: white;
    padding: 0 10px;
}

.notepad .red {
    background: #ff3333;
    color: white;
    padding: 0 10px;
}

.notepad .yellow {
    background: #e5e500;
    color: white;
    padding: 0 10px;
}