﻿* {
    box-sizing: border-box;
}


/* #region Width */

.w-10 {
    width: 10%;
}

.w-30 {
    width: 30%;
}

.w-33 {
    width: 33%;
}

.w-34 {
    width: 34%;
}

.w-70 {
    width: 70%;
}

.w-90 {
    width: 90%;
}

/* #endregion */


/* #region Height */

.h-5 {
    height:5em;
}

.h-8 {
    height: 8em;
}

/* #endregion */


/* #region Padding */

.padr-2 {
    padding-right: 2%;
}

.padr-3 {
    padding-right: 3%;
}

.padt-2 {
    padding-top: 2%;
}

.padt-3 {
    padding-top: 3%;
}

.padb-1 {
    padding-bottom: 1%;
}

/* #endregion */


/* #region Margin */

.mr-5 {
    margin-right: 5%;
}

.ml-5 {
    margin-left: 5%;
}
/* #endregion */


/* #region Float */

.float-right {
    float: right;
}

.float-left {
    float: left;
}

/* #endregion */


/* #region Text-align */

.text-center{
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* #endregion */


/* #region Elements-align */

.vertical-middle {
    vertical-align: middle;
}

.content-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

/* #endregion */


/* #region Display */

.display-flex {
    display: flex;
}

.display-none {
    display: none;
}

/* #endregion */


/* #region Tables */

.layout-fixed {
    table-layout: fixed;
}

.border-separate {
    border-collapse: separate;
}

/* #endregion */


/* #region Container and Body */
body {
    font-size: 65%;
    font-family: Arial, Helvetica, sans-serif !important;
}

.container 
{
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.body-content {
    padding-left: 5% !important;
    padding-right: 5% !important;
}

.mainContent {
    padding-bottom: 3% !important;
    padding-top: 3% !important;
    background-color: #ffffff !important;
}

/* #endregion */


/* #region Labels */

label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2em;
    font-weight: bold;
    color: black;
    margin-bottom: 0px !important;
}

.lblTitle {
    color: #06a6c1;
    font-size: 2.4em;
}

.lblTitleResult {
    color: #06a6c1;
    font-size: 2em;
}

.labelHelp {
    font-size: 1.6em;
    font-weight: normal;
}

.labelHelpTitle {
    font-size: 1.6em;
    font-weight: bold;
}

/* #endregion */


/* #region Tabs */

.nav-tabs {
    display: flex !important;
    flex-direction: row !important;
}

    .nav-tabs > li > button {
        color: #38a79d !important;
        background-color: #e6f6f9 !important;
        border-radius: 10px 10px 0px 0px;
        width: 9em;
        text-align: center;
        font-family: Arial, Helvetica, sans-serif !important;
        font-weight: bold!important;
        font-size: 2em !important;
        margin-right: 0.5em !important;
        border: none;
        outline: none;
    }

    .nav-tabs .nav-link.active {
        background-color: #06a6c1 !important;
        color: white !important;
        border-radius: 10px 10px 0px 0px;
    }

/* #endregion */


/* #region Inputs */

.form-control {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 1.6em;
    color: black;
    border: 1px solid #dadada !important;
    border-radius: 10px !important;
    height: 40px !important;
}

.select2-container .select2-selection--single {
    height: 38px !important;
    font-size: 16px !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 10px !important;
    border: 1px solid #dadada !important;
}

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 35px !important;
        width: 30px !important;
    }

.select2-container {
    font-size: 16px !important;
}

.select2 {
    width: 100% !important;
    max-width: inherit !important;
}

.inputNumber{
    width: 7em;
}

.inputSelectClass {
    width: 12em;
}

.divTwoElements {
    display: flex;
    align-items: center;
}

/* #endregion */


/* #region Line */

.tblBorder {
    border-bottom: solid 1px gray;
}

.tblBorderLight {
    border-bottom: 1px solid lightgray;
}

hr {
    max-width: 100%;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
    border-top: none;
}

/* #endregion */


/* #region Buttons */

.buttonSmall 
{
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    background-color: transparent;
    background-size: contain;
}

.buttonTooltip {
    width: 3em;
    height: 2.5em;
    background-image: url('../Content/Images/TooltipIcon.png');
    padding-left: 4em;
}

.btnDelete {
    width: 3em;
    height: 3em;
    background-image: url('../Content/Images/Delete.png');
}

.buttonDestination 
{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    border-radius: 10px !important;
    border: none;
    width: 100%;
    height: 7em;
    color: #38a79d;
    background-color: #e6f6f9;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.buttonAddDestination {
    background-image: url('../Content/Images/AddDestination.png');
}

.buttonRemoveDestination {
    background-image: url('../Content/Images/DeleteAll.png');
}

.buttonSubmit {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: white;
    background-repeat: no-repeat;
    background-position: right;
    border-radius: 10px !important;
    border: none;
}

.buttonCalculate {
    background-color: #06a6c1 !important;
    font-size: 2.6em;
    width: 100%;
    height: 2.7em;
}

.buttonTrip {
    color: #38a79d !important;
    background-color: #e6f6f9 !important;
    border-radius: 10px 10px 10px 10px !important;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: bold !important;
    font-size: 2em !important;
    margin-right: 0.5em;
    width: 7em;
    border: 1px solid transparent;
    padding: 6px 12px;
}

    .buttonTrip.active {
        background-color: #06a6c1 !important;
        color: white !important;
    }

.buttonBack {
    background-image: url('../Content/Images/Back.png');
    background-repeat: no-repeat;
    border: none;
    background-color: transparent;
    width: 15em;
    height: 4em;
    background-size: contain;
}

.buttonMap {
    color: #38a79d !important;
    background-color: white;
    border: 2px solid #38a79d;
    border-radius: 10px 10px 10px 10px !important;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: bold !important;
    font-size: 2em !important;
    width: 11em;
    height: 2.5em;
}
/* #endregion */


/* #region Map */

.tdMap {
    text-align: right;
}

.map {
    max-width: 100vw;
    height: 100vh;
    margin-left: 5%;
    margin-right: 5%;
}

/* #endregion */


/* #region Result */

.nav-tabs_result {
    border-bottom: none !important;
    margin: auto !important
}

    .nav-tabs_result > li > button {
        width: 11em;
        margin-right: 0.5em;
        border-radius: 10px 10px 10px 10px !important;
        font-weight: bold !important;
        font-size: 2em !important;
        text-align: center;
        font-family: Arial, Helvetica, sans-serif !important;
    }

.tblResult tr {
    height: 6em;
}

.tblResult td {
    padding-right: 2em;
}

.lblResult {
    font-weight: bold;
    font-size: 1.6em;
    float: left;
}

.lblResultDetail {
    font-weight: normal;
    font-size: 1.6em;
    float: right;
    text-align: right;
}

.tdCenterColorResult {
    background-color: #e6f6f9;
}

.tdLastColorResult {
    background-color: #CDF2F2;
}

.lblAirportResult {
    vertical-align: middle;
    margin-left: 1em;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
    min-width: 2.1em;
    width: 2.5em;
}

.imgFlag {
    width: 7em;
    height: 5em;
    max-width: 7em;
    max-height: 5em;
    min-width: 7em;
    min-height: 5em;
    float: left;
}

.imgArrow {
    margin-left: 2em;
    margin-right: 2em;
    width: 60%;
    height: 60%
}

/* #endregion */


/* #region Loader */

.loader {
    border: 16px solid #f3f3f3; 
    border-top: 16px solid #06a6c1;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

/* #endregion */


/* #region Methodology */

.divMethodology a {
    color: #05c3c3 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

/* #endregion */


/* #region API INFO */
.divApiInfo {
    word-wrap: break-word;
}

    .divApiInfo p {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4em;
        margin: 0;
    }

    .divApiInfo TABLE {
        border-collapse: collapse;
    }

    .divApiInfo h2 {
        font: normal "dinCondensed","oswald",Helvetica,Arial,sans-serif;
        font-size: 23px;
        line-height: normal;
        text-shadow: none;
        margin: 0;
        padding: 5px 0;
        line-height: 1.4;
        color: #3a62a1;
    }


.tableApiInfo {
    color: #39474e;
    font-size: 100%;
    outline: 1px solid transparent;
    border-width: 0px;
    border-style: none;
    border-collapse: collapse;
}

    .tableApiInfo p {
        line-height: 1.4em;
    }


    .tableApiInfo tr.tableApiInfoEvenRow {
        background-color: #FFF;
    }

        .tableApiInfo tr.tableApiInfoEvenRow td {
            border: 1px solid #c5ccd0;
            border-top-width: 1px;
            border-right-width: 1px;
            border-bottom-width: 1px;
            border-left-width: 1px;
            border-width: 0;
            color: #39474e;
            vertical-align: top;
            border-collapse: collapse;
            width: 50%;
        }

.tableApiInfoEvenCol {
    width: 50%;
}

    .tableApiInfoEvenCol-blockquote {
        margin: 0px 0px 0px 0px;
        padding: 0px;
        border: currentcolor;
    }

    .tableApiInfoEvenCol span {
        color: #05c3c3;
    }


    .tableApiInfoEvenCol-1 {
        width: 45%!important;
        background-color: #e3f2f3;
    }

    .tableApiInfoEvenCol-1 p {
        text-align: center;
    }

    .tableApiInfoEvenCol-1 div {
        text-align: center;
    }

    .tableApiInfoEvenCol-1-blockquote {
        margin: 10px;
        padding: 0px;
        border: currentcolor;
    }


.tableApiInfoOddCol p {
    text-align: center;
    margin: 10px;
}

.tableApiInfoOddCol-1 {
    width: 3% !important;
}

.col-center {
    text-align: center;
}

.col-span {
    font-size: 15px;
}

.col-p {
    text-align: center;
    margin: 10px;
}

.img_api {
    margin: 5px;
}

.btn_api {
    padding: 15px 98px;
    border-radius: 24px;
    width: 120px;
    height: 45px;
    color: white;
    text-decoration: none;
    background-color: #05c3c3;
}

/* #endregion */


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*ipad*/
@media all and (max-width:1024px) {

    /* #region Tabs */

    .nav {
        flex-wrap: unset!important;
    }

    .nav-tabs_result > li > button {
        width: 100%;
    }

    .nav-item {
        margin-right: 0;
        padding-right: 0.5em;
        padding-left: 0.5em;
    }

    /* #endregion */


    /* #region Inputs */

    .select2-container {
        font-size: 12px !important;
    }

        .select2-container .select2-selection--single {
            font-size: 12px !important;
        }

    .inputNumber {
        width: 100%;
    }

    .inputSelectClass {
        width: 100%;
    }

    .divTwoElements {
        display: flex;
        align-items: center;
        justify-content: left !important;
        flex-wrap: nowrap;
        width: 100%;
        padding-top: 2%;
        padding-bottom: 2%;
    }

        .divTwoElements label {
            white-space: nowrap;
        }


    /* #endregion */


    /* #region Tables */

    .tblInput tr {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .tblInput td {
        width: 100% !important;
        display: flex;
    }

    .tblButtons tr {
        display: table;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 10px;
    }

    .tblButtons td {
        display: block;
        width: 100% !important;
        text-align: center;
        padding-bottom: 2%;
        padding-right: 0% !important;
        padding-top: 2%;
    }

    .tblButtonsResult tr {
        display: flex;
        flex-direction: column;
        align-items:unset;
        width: 100%;
    }

    .tblButtonsResult td {
        width: 100% !important;
        display: flex;
    }

    .tdMap {
        text-align: left !important;
    }

    .tblResult tr {
        display: table;
        width: 100%;
    }

    .tblResult td {
        display: table-row;
    }

    /* #endregion */


    /* #region Map */

    .map {
        height: 50vh;
    }

    /* #endregion */


    /* #region Result */

    .tdBorder {
        border-bottom: solid 1px lightgray;
    }

    .tblBorder {
        border-bottom: none;
    }

    .lblResult {
        font-size: 1.6em;
    }

    .lblResultDetail {
        font-size: 1.6em;
    }

    .lblNotes {
        font-size: 1.6em;
    }

    .tblResultColor td:nth-child(odd) {
        background-color: #e6f6f9;
    }

    .tblResultColor td:nth-child(even) {
        background-color: #ffffff;
    }

    .tblResultColorMobile td:nth-child(odd) {
        background-color: #ffffff;
    }

    .tblResultColorMobile td:nth-child(even) {
        background-color: #e6f6f9;
    }

    .tdCenterColorResult {
        background-color: unset;
    }

    .tdLastColorResult {
        background-color: unset;
    }

    .tdMobile {
        display: none !important;
    }

    /* #endregion */


    /* #region API INFO */

    .img_api {
        width: 80%;
    }

    .btn_api {
        padding: 15px 30px;
        border-radius: 24px;
        width: 120px;
        height: 45px;
        color: white;
        text-decoration: none;
        background-color: #05c3c3;
    }

    .divApiInfo h2 {
        font: normal "dinCondensed","oswald",Helvetica,Arial,sans-serif;
        font-size: 14px;
        line-height: 20px;
        text-shadow: none;
        margin: 0;
        padding: 5px 0;
        line-height: 1.4;
        color: #3a62a1;
    }

    .divApiInfo p {
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
    }

    .tableApiInfo p {
        line-height: 20px;
    }

    .divApiInfo p {
        line-height: 20px;
    }

    .divApiInfo {
        word-wrap: break-word;
    }

        .divApiInfo TABLE {
            border-collapse: collapse;
        }

    .tableApiInfo {
        color: #39474e;
        font-size: 100%;
        outline: 1px solid transparent;
        border-width: 0px;
        border-style: none;
        border-collapse: collapse;
    }

        .tableApiInfo tr.tableApiInfoEvenRow {
            background-color: #FFF;
        }

            .tableApiInfo tr.tableApiInfoEvenRow td {
                border: 1px solid #c5ccd0;
                border-top-width: 1px;
                border-right-width: 1px;
                border-bottom-width: 1px;
                border-left-width: 1px;
                border-width: 0;
                color: #39474e;
                vertical-align: top;
                border-collapse: collapse;
                display: inline-table;
                width: 100%;
                table-layout: fixed;
            }

    .tableApiInfoEvenCol {
        width: 100%;
    }

    /* #endregion */

}

/*mobile*/
@media all and (max-width:768px) {

    body {
        font-size: 50%;
    }

}

@media all and (max-width:500px) 
{
    /* #region Buttons */

    .buttonDestination {
        height: 6em;
    }

    /* #endregion */
}


