html, body {
    height: 100%;
    background-color: whitesmoke !important;
    width: auto !important;
    overflow-x: hidden !important
}

.tab-description {
    text-align: center;
    font-weight: normal;
}



/* side nav styling start */
div.sidenav {
    height: 100%;
}
/* side nav styling end */
/* top image start  */
@media only screen and (max-width : 320px) {
    img.header-img {
        width: 320px;
        height: auto;
    }
}
/* top image end  */

img#doveicon {
    width: 80px;
    overflow: hidden;
}

/* ----------- table styling ---------------- */
.card .card-content {
    /* padding: 15px 15px 10px 15px; */
    padding: 20px;
}

.card {
    border: none;
    background-color: #5E92B6;
    border-radius: 13px;
    margin-top: 10px;
    min-height: 100%;
    height: 600px;
}


    .card .card-title,
    .card .stats,
    .card .category,
    .card .description,
    .card .social-line,
    .card .actions,
    .card .card-content,
    .card .card-footer,
    .card small,
    .card a {
        position: relative;
        padding: 10px;
        padding-top: 0px;
    }


table.aircraftlisttable {
    border-collapse: separate;
    border-spacing: 0 0.5em;
    width: 100%;
    border: 0px;
    border-color: transparent;
}

    table.aircraftlisttable tbody tr {
        font-size: 1.2em;
        background-color: white;
        padding: 20px;
    }

    table.aircraftlisttable tr td {
        padding: 10px 0px !important;
        background-color: white;
        text-align: center !important;
        font-size: 15px;
        text-decoration: none !important;
    }


    table.aircraftlisttable tbody, td, tfoot, th, thead, tr {
        border-color: transparent;
        border-style: solid;
        border-width: 0;
    }

    table.aircraftlisttable tr td:first-of-type {
        border-top-left-radius: 25px;
        border-bottom-left-radius: 25px;
        text-align: left;
        background-color: #1E6CA1;
        padding-left: 30px;
        padding-right: 30px;
        width: 5px;
        color: white;
    }

    table.aircraftlisttable tr td:last-of-type {
        border-top-right-radius: 25px;
        border-bottom-right-radius: 25px;
    }

    table.aircraftlisttable th {
        text-align: center;
        color: white;
    }

label {
    font-size: 16px;
}

.dovenumber {
    text-align: center;
}


/* -----------table styling end------------------ */


/* -----------datatables styling start------------------ */

.dataTables_paginate > a:hover {
    color: darkblue !important;
}

.paginate_button:hover {
    color: darkblue !important;
}

/* -----------datatables styling end------------------ */

/* -----------Backend button styling start------------------ */


.btn-primary {
    background-color: #1E6CA1 !important;
}




/* -----------Backend button styling start------------------ */


/* table media queries start */
/* if the browser window is at least 800px-s wide: */
/* @media screen and (min-width:320px) {
    table {
        width: 20%;
        font-size: 50%;
    }
} */
@media only screen and (min-width: 320px) and (max-width: 768px) {
    img #dovedisplay {
        width: 40%;
    }
}

@media only screen and (max-width: 768px) {
    img#dovedisplay {
        width: 30%;
    }
}



@media screen and (max-width: 320px) {
    table.aircraftlisttable {
        font-size: 80%;
    }
}
/* table media queries end  */
/* --------------side nav start -------------------------------------  */


.sidenav {
    border: none;
    background-color: #5E92B6;
    height: 100%;
    padding: 20px;
    text-align: center;
    padding: 10px 0px;
}

ul {
    padding: 0px;
}

    ul li {
        margin: 0px 0px;
        margin: 0px 0px;
        /* text-decoration: none !important; */
        list-style-type: none;
        text-align: center;
    }

.wrapper .sidenav ul li {
    padding: 15px;
    border-bottom: 10px solid rgba(0, 0, 0, 0);
    border-top: 10px solid rgba(225, 225, 225, 0);
}

.wrapper .sidenav ul li {
    color: white;
    display: block;
    font-size: 20px;
    font-weight: 500;
}

li a {
    display: inline-block;
    padding: 15px;
    color: white;
    text-decoration: none;
    margin: 0px;
}

a {
    margin: 0px;
}

    a:hover {
        color: white;
    }

.active a {
    background: #1E6CA1 !important;
    text-decoration: none !important;
    width: 100%;
}


/* ------------------ side nav end -----------------------------------  */





/* ---------- MODAL STYLING START -----------  */

.modal-header {
    background-color: #5E92B6;
    border-radius: 20px 20px 0px 0px;
    padding: 10px 15px;
    color: white;
    padding: 10px 15px
}

.close {
    background-color: transparent;
    font-size: xx-large;
}

.modal-desc {
    text-align: center;
}

.form-label {
    color: #646464;
    font-weight: 600;
}

.justify-content-center {
    margin-top: 25px;
}

select.statusselect {
    width: 220px;
    height: 37px;
    border-color: lightgrey;
}

.modal-body {
    overflow: hidden;
}

.onboardAdd {
    border-radius: 20px;
    font-size: revert;
    margin: 50px;
}

.modal-footer {
    border: none;
    display: block;
}

.resetbtn,
.closebtn {
    background-color: transparent;
}

.savebtn {
    float: right;
    border-radius: 20px;
    cursor: pointer;
    background: #1E6CA1;
    color: white;
    /* font-size: unset; */
    padding: 2px 30px;
}




/* --------- COMMENT BOX STYLING start--------  */

textarea {
    margin-top: 10px;
    width: 100%;
    height: 100px;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    /* background: none repeat scroll 0 0 rgba(0, 0, 0, 0.07); */
    border-color: -moz-use-text-color #FFFFFF #FFFFFF -moz-use-text-color;
    border-image: none;
    border-style: none solid solid none;
    border-width: medium 1px 1px medium;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
    color: #555555;
    /* font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; */
    font-size: 1em;
    line-height: 1.4em;
    padding: 5px 8px;
    /* transition: background-color 0.2s ease 0s; */
}


/* textarea:focus {
    background: none repeat scroll 0 0 #FFFFFF;
    outline-width: 0;
} */

.commentbox {
    margin-top: 25px;
    padding: 15px;
}





/* --------- COMMENT BOX STYLING end--------  */



/* ------------- MODAL STYLING END -------------  */


/* --- add/view button ---- */
button {
    color: inherit;
    border: none;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.addaircraft,
.viewaircraft,
.addCompany {
    border-radius: 20px;
    cursor: pointer;
    background: #1E6CA1;
    color: white;
    font-weight: bold;
    font-size: large;
}

.mobile-add-button {
    float: right;
}

.viewaircraft {
    font-weight: 500;
    font-size: 15px;
    padding: 3px 15px;
}

/* ----- view styling start --------  */
.backbtn, input[type="submit"], input[type="reset"] {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    font-size: 20px !important;
}

#dovecount, #tailnum, #sponsor {
    color: white;
}

.viewdisplay {
    padding: 20px;
    min-height: auto !important;
    height: auto !important;
}

#tailnum {
    font-size: 150px;
    display: inline-block;
}

#dovedisplay {
    width: 350px;
    height: auto;
    float: right;
}

.aircraftinfo {
    border-radius: 25px;
}

.editbtn {
    margin: 20px;
    width: 100px;
    padding: 5px;
    border-radius: 25px;
    color: white;
    background-color: #1E6CA1;
}

.aircraftbtn, .pcbtn {
    margin: 5px;
    width: 40%;
    padding: 10px;
    border-radius: 25px;
    color: white;
    background-color: #1E6CA1;
}




/* View Table*/
.viewtable tbody,
.viewtable tr,
.viewtable td {
    display: block;
}

/*.viewtable td, .viewtable thead {
    padding-bottom: 50px;
}*/

.viewtable thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

.viewtable td {
    position: relative;
    padding-left: 30%;
    padding-bottom: 5%;
    border: none;
}

    .viewtable td:before {
        content: attr(data-title);
        position: absolute;
        left: 6px;
        font-weight: bold;
        color: white;
        text-decoration: underline;
    }

@media only screen and (max-width:417px) {
    .viewtable td {
        position: relative;
        padding-left: 50%;
        padding-bottom: 5%;
        border: none;
    }
}





/* ------- view styling end -----------  */
/*--------Admin page styling start ---------- */
div#CompaniesDiv {
    background-color: white !important;
    padding-inline: 4px;
    height: 100% !important;
}

.sidenavAdmin {
    border: none;
    background-color: white;
    height: 100%;
    padding: 15px;
    text-align: center;
    padding: 10px 0px;
}

.sidenavAdminWrapper {
    padding-inline: 4px;
}

#CompanyTable_filter > label > input[type=search] {
    border-radius: 10px
}

    #CompanyTable_filter > label > input[type=search]:focus-visible {
        outline: none;
    }

li.activeAdmin a {
    background: #0078c8 !important;
    text-decoration: none !important;
    width: 100%;
}

.notactive:hover {
    border-radius: 15px;
    background-color: lightslategray;
    color: black
}

.notactive a {
    color: black
}
/*--------Admin page styling end ---------- */

/*------Mobile view Responsive table start ---------*/
@media only screen and (max-width:425px) {
    #mobileview tbody,
    #mobileview tr,
    #mobileview td {
        display: block
    }

    #mobileview thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #mobileview td {
        position: relative;
        padding-left: 50% !important;
        border: none;
    }

        #mobileview td:before {
            content: attr(data-title);
            position: absolute;
            left: 6px;
            font-weight: bold;
        }

    #mobileview tr {
        border-bottom: 1px solid #ccc;
    }

    #mobileview .table {
        border-top: none !important;
    }

        #mobileview .table > :not(:first-child) {
            border-top: none;
        }

    .mobile-add-button {
        display: block !important;
    }
}
/*------Mobile view Responsive table end ---------*/

@media only screen and (max-width: 600px) {
    .aircraftbtn, .pcbtn {
        margin: 5px;
        width: 200px;
        padding: 10px;
        border-radius: 25px;
        color: white;
        background-color: #1E6CA1;
    }

    #view-table-resp td:before {
        content: attr(data-title);
        position: absolute;
        left: -60px;
    }
}

.aircraftInfoModal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.sticky-first {
    background: #5E92B6 !important;
    position: sticky !important;
    top: 0;
    margin: 5px;
}

.sticky {
    background: #5E92B6 !important;
    position: sticky !important;
    top: 0;
    margin: 5px;
    z-index: 1055;
}


/*----------------Pagination styling start------------------*/
a.paginate_button {
    cursor: pointer;
    border: 1px solid #dee2e6;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: black;
    background-color: #fff;
    border-radius: 25px;
}

.paginate_button.current {
    background-color: #1E6CA1;
    color: white;
}

.dataTables_paginate {
    float: right;
}

@media only screen and (max-width: 543px) {
    .dataTables_paginate {
        margin: 10px;
        font-size: small;
        float: inherit;
    }

    a.paginate_button {
        padding: 0.5rem 0.5rem;
    }
}
/*----------------Pagination styling end------------------*/


/*iphone 8 media query*/
@media only screen and (max-width: 375px) {
    #mobileview tbody,
    #mobileview tr,
    #mobileview td {
        display: block !important;
    }

    #mobileview thead tr {
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
    }

    #mobileview td {
        position: relative !important;
        padding-left: 50% !important;
        border: none !important;
    }

        #mobileview td:before {
            content: attr(data-title) !important;
            position: absolute !important;
            left: 6px !important;
            font-weight: bold !important;
        }

    #mobileview tr {
        border-bottom: 1px solid #ccc !important;
    }

    #mobileview .table {
        border-top: none !important;
    }

        #mobileview .table > :not(:first-child) {
            border-top: none !important;
        }

    .mobile-add-button {
        display: block !important;
    }

    table.aircraftlisttable tr td {
        font-size: 12px;
    }

    table.aircraftlisttable th {
        text-align: center;
        color: white;
        font-size: 76%;
    }

    table.aircraftlisttable tbody, td, tfoot, th, thead, tr {
        border-color: transparent;
        border-style: solid;
        border-width: 0;
        font-size: 90%;
    }

    img#doveicon {
        width: 55px;
        overflow: hidden;
    }

    .status-row {
        display: flex;
    }
}

.table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
    font-size: 12px;
}

