/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 10 Dec 2025, 14:28:35
    Author     : neil
*/

.boatList ul, .boat-right ul {
    list-style-type: none;
    padding:0;
    margin:0;
}

.boatActions {
    background: #003C71;
    color: #fff;
    padding:10px;
    margin-bottom:10px;
    position:relative;
}

.boatActions::before {
    content: '';
    position: absolute;
    top: -10px; /* Adjust based on triangle size */
    left: 5%;
    transform: translateX(-5%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #003C71;
    width: 0;
    height: 0;
}

.boatActions i, .boat-right i {
    padding-right:4px;

}
.boatActions a, .boat-right a {
    padding-right:20px;

}

.boatActions a {
    color: #fff;
    white-space: nowrap;
}

.boatActions a:hover {
    color: #ccc;
}

.boat, .boat-right {
    padding:10px;
    border:1px solid #ccc;
}

.boat-right {
    margin-top: 42px;
    background-image: url("/wp-content/themes/MyIRCRORCRatingV01/img/rorc-background-icon.jpg");
    background-repeat: no-repeat;
    background-position: right center;
}

.boat-right a {
    text-transform: uppercase;
    text-decoration:none;
    line-height: 2em;
    font-size:20px;
    font-weight:bold;
}

.certificates-table {
    display:none;
    padding-top:10px;
    color:#003C71;
}

.certificates-table a{
    color:#003C71;
}

/*styles for the modal and spinner*/

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display:none;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

span.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

span.close:hover, span.close:focus {
    color: red;
}

/* Spinner styles */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#loading-icon {
    text-align: center;
    margin-top: 20px;
}