
html,
body {
    height: 100%;
    font-family: "Lato", sans-serif;
    -webkit-font-smoothing: antialiased;
    /* color: #333; */
    /* font-size: 14px; */
}

.cover {
    height: auto;
    background-image: url(../img/main_image.jpg);
    background-size: cover;
    margin-top: 60px;
    padding: 100px 0;
}

.box {
    width: 100%;
    height: auto;
    font-family: 'Rubik', 'DroidKufiRegular', sans-serif;
    color: #5f6773;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.42857143;
}

.main_result {
    padding: 10px 10px 0;
    margin: 0;
    float: left;
    width: 100%;
}

.flight_footer {
    border-top: 1px solid #d5d5d5;
    padding: 20px;
    float: left;
    text-transform: uppercase;
    /* margin-top: 10px; */
    /* width: 100%; */
}

.left {
    padding-left: 0;
}

.flight_name {
    float: left;
    width: 20%;
}

.flight_name figure {
    text-align: center;
    margin: 0 auto;
    padding-right: 0;
}

.flight_name figcaption {
    margin-top: 2px;
}

.flight_location {
    float: left;
    width: 62%;
    text-align: center;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.flight_from {
    float: left;
    width: 25%;
    text-align: right;
}

.flight_location h4 {
    font-size: 18px;
    color: #10507e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 3px;
}


.flight_location h3 {
    font-size: 13px;
    color: #5f6773;
    font-family: "Rubik";
    font-weight: 400;
    margin: 0;
    letter-spacing: 0;
}

.flight_from span,
.flight_to span {
    color: #323f51;
    font-size: 13px;
    line-height: 13px;
}

.flight_location p,
.flight_to p {
    font-size: 13px;
    margin: 0;
    line-height: 13px;
}

.onwardIcon {
    float: left;
    line-height: 25px;
    padding: 10px 17px;
    text-align: center;
    width: 48%;
    display: flex;
    align-items: center;
}

.onwardIcon .border {
    width: 100%;
    position: relative;
    color: #5f6773;
    font-size: 13px;
    border: none !important
}

.onwardIcon .border span.connections {
    font-size: 12px;
}

.onwardIcon .border span {
    display: block;
    line-height: 24px;
}

.onwardIcon .border:before {
    border-bottom: 1px dashed #c8cacd;
    width: 88%;
    content: "";
    height: 1px;
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
}

.onwardIcon .border:after {
    width: 21px;
    height: 17px;
    content: "";
    display: block;
    position: absolute;
    right: 0;
    background: url(../img/plane-solid.svg) no-repeat;
    top: 50%;
    margin-top: -8.5px;
    /* content: "\f072"; */
    /* font-family: FontAwesome */
}

.flight_to {
    float: left;
    width: 25%;
    text-align: left;
}

.flight_duration {
    /* width: 15%; */
    float: left;
    text-align: left;
    padding: 5px 0;
    display: flex;
    align-items: center;
    padding-top: 25px;
}

.flight_duration p {
    margin-bottom: 1px;
    font-size: 13px;
    color: #323f51;
}

.flight_duration p span {
    color: #848992;
    display: block;
}


.flight_footer ul li {
    color: #636363;
    display: inline-table;
    font-size: 14px;
    padding: 4px 18px;
}

.flight_footer ul li a {
    color: #636363;
    cursor: pointer;
    font-size: 14px;
}

.flight_details_icon {
    width: 20px;
    height: 20px;
    padding-left: 20px;
    display: block;
    float: left;
}

.flight_footer ul li a:hover {
    color: #323f51;
    cursor: pointer;
    text-decoration: none;
}

.flight_name figcaption p {
    font-size: 12px;
    text-align: center;
    margin: 0;
}

.ticketPrice {
    padding: 10px;
    margin-top: 0;
    height: 100%;
    float: left;
    width: 100%;
    text-align: center;
    border-left: 1px solid #d5d5d5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flightSelectBtn {
    color: #fff;
    background: #10507e;
    font-size: 16px;
    padding: 10px;
    border: none;
    width: 100%;
    float: left;
    text-align: center;
    text-transform: uppercase;
    margin-top: 4px;
    text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    /* color: #111111; */
    font-weight: 400;
    font-family: "Lato", sans-serif;
}

h1 {
    font-size: 70px;
}

h2 {
    /* font-size: 36px; */
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    font-size: 15px;
    font-family: "Lato", sans-serif;
    /* color: #727171; */
    font-weight: 400;
    line-height: 25px;
    margin: 0 0 15px 0;
}



.tabset > input[type="radio"] {
    position: absolute;
    left: -200vw;
}

.tabset .tab-panel {
    display: none;
}

.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
    display: block;
}

.tabset > label {
    position: relative;
    display: inline-block;
    padding: 15px 15px 25px;
    border: 1px solid transparent;
    border-bottom: 0;
    cursor: pointer;
    font-weight: 600;
}

.tabset > label::after {
    content: "";
    position: absolute;
    left: 15px;
    bottom: 10px;
    width: 22px;
    height: 4px;
    background: #8d8d8d;
}

input:focus-visible + label {
    outline: 2px solid rgba(0,102,204,1);
    border-radius: 3px;
}

.tabset > label:hover,
.tabset > input:focus + label,
.tabset > input:checked + label {
    color: #06c;
}

.tabset > label:hover::after,
.tabset > input:focus + label::after,
.tabset > input:checked + label::after {
    background: #06c;
}

.tabset > input:checked + label {
    border-color: #ccc;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
}

.tab-panel {
    padding: 30px 0;
    border-top: 1px solid #ccc;
}
*,
*:before,
*:after {
    box-sizing: border-box;
}
.tabset {
    max-width: 65em;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

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