@font-face {
    font-family: "Inter";
    src: url('../fonts/Intert.ttf') format("truetype");
}

header {
    position: sticky;
    position: -webkit-sticky;
    top:0;
    z-index: 1;
    height: 80px;
}

#ws_state {
    color: gray;
    position: absolute;
    right: 5px;
    font-size: 160%;
}

.bubble.itinerary_bubble {
    justify-content: left;
}

#faq_button {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.itinerary_bubble .bubble_text {
    display: flex;
}

#context_panel span {
    font-size: 30px;
    position: relative;
    top: 4px;
}

#context_panel h1 {
    display: inline;
    font-size: 24px;
    font-weight: 400;
    line-height: 29px;
    letter-spacing: 0em;
    text-align: center;
    color: #222222;
    margin: 0;
    padding: 0;

}

#context_panel p {
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: 0em;
    text-align: center;
    color: #A8AAAB;
    margin: 0;
    padding: 0 0 10px;
}

body {
    background-color: #D7E0E1;
    padding: 0;
    margin: 0;
    font-family: 'Inter';
}



.bubble {
    display: flex;
    justify-content: center;
    align-content: center;
    margin: 18px 14px;

}

#spinner {

    width: 14px;
    height: 14px;
    border: 6px #5199ff double;
    border-left-style: solid;
    border-radius: 50%;
    animation: spinner-aib1d7 0.75s infinite linear;
}

@keyframes spinner-aib1d7 {
    to {
        transform: rotate(360deg);
    }
}

#spinner_container {
    position: absolute;
    max-width: 440px;
    display: flex;
    justify-content: left;
    top: 14px;
    pointer-events: none;
    transition-duration: 0.3s;
    width: 90%;
}

#spinner_copy {
    padding-left: 8px;
    line-height: 2;
    color: #9b9b9b;
    font-size: 80%;
}

.bubble_text.assistant {
    background-color: #E5F6FF;
}

.bubble_text {
    box-shadow: 0 4px 16px 0 #00000014;
    background-color: #FAFAFA;
    border-radius: 20px;
    padding: 8px 16px;
    border: none;
    transition-duration: 0.1s;
    font-size: 14px;
    text-align: left;
}

.bubble_time {
    font-size: 10px;
    color: #A8AAAB;
    align-self: center;
    padding-left: 10px;
}

.pill {
    background: #FAFAFA;
    box-shadow: 0 4px 16px 0 #00000014;
    border-radius: 20px;
    padding: 2px 10px 2px 12px;
    border: none;
    cursor: pointer;
    margin: 8px 6px;
    transition-duration: 0.1s;
}

.pill:hover, .pill.pressed {
    box-shadow: 0 0 0 4px silver;
}

#send_button_image {

}

#send_button:hover #send_button_image {
    padding-left: 6px;
}

.pill .label {
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    padding: 6px 6px 4px;
    display: inline-block;
    position: relative;
    bottom: 2px;
}


#country_pills_container .pill .icon {
    font-size: 20px;
    display: inline-block;
    position: static;
}

.pill .icon {
    font-size: 14px;
    display: inline-block;
    position: relative;
    bottom: 2px;
}

main {
    background: url('../images/map.png') 0 50% no-repeat;
    background-attachment: fixed;
    background-size: contain;
    min-height: 100vh;
    /*position: absolute;*/
    /*left: 0;*/
    /*right: 0;*/
    /*top: 0;*/
    /*bottom: 0;*/
}

.city_duration {
    font-size: 12px;
    font-weight: 400;
    text-align: right;
    color: #A8AAAB;
}



#cities_container {
    padding: 0 24px;
}

.city_images {
    display: flex;
}

.city_images img {
    width: 200px;
    /*padding: 12px;*/
}

.city_description {
    text-align: left;
    font-size: 18px;
    font-weight: 400;
    padding: 24px;
    color: #222222;
    line-height: 1.6;
    margin: 0;
}

.city_images_container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 24px 0;

}

button.city_collapse {
    width: 24px;
    height: 24px;
    margin: auto 8px auto 0;
    border: none;
    background:none;

}

.city_duration {
    margin: auto;
}

#main_background {

}

.itinerary #main_panel {
    max-width: 930px;
}

/*.itinerary #context_panel {*/
/*    display: none;*/
/*}*/

/*.itinerary #top_menu {*/
/*    border: none;*/
/*    background: none;*/
/*    box-shadow: none;*/
/*}*/

.itinerary #top_menu {
    max-width: 930px;
}

#itn_country_image {
    width: 100%;
    height: 640px;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*background-image: url("../images/country.jpg");*/
}

#itin_hero_country h1 {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.6);
    margin: 0;
    padding: 26px 30px 18px;
    color: white;
    border-radius: 10px 10px 0 0;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
}

#itin_hero_country_flag {
    font-size: 86px;
    text-shadow: 0 22px 30px #00000078;
    margin-top: -80px;
}

#itin_hero_country p {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.6);
    margin: 0;
    max-width: 60%;
    padding: 16px 28px;
    color: white;
    border-radius: 10px;
    line-height: 1.5;
}
#itin_hero_country {

}


.city_info {
    display: flex;
}
.city_image img {
    width: 100%;
    /*height: 320px;*/
    border-radius: 8px;
}

.city_image {

}


.city_header {
    display: flex;
    height: 112px;
}

.city_name {
    flex-grow: 1;
    text-align: left;
    font-size: 26px;
    font-weight: 400;
    color: #222222;
    margin: auto;

}

.itn_city {
    display: flex;
    flex-direction: column;
}

.city_section_title {
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    text-align: left;
    padding: 36px 0 24px;
    margin: 0;
}

.city_subsection {
    display: flex;
    padding: 24px 0;
}

.city_subsection.Activities img {
    margin-top: -10px;
    opacity: 0.5;
}

.city_subsection.Restaurants img {
    margin-top: -10px;

}

.city_subsection .subsection_item_address:hover {
    text-decoration: silver underline;
}

.city_subsection .subsection_item_address {
    display: inline-block;
    color: #000000c2;
    font-size: 12px;
    text-decoration: none;
}

.city_subsection .subsection_item_address:before {
    content: '⚲';
    font-size: 18px;
    padding-right: 4px;
    text-decoration: none;
}

.city_subsection .subsection_item_link {
    display: inline-block;
}

.city_subsection_image {
    padding-right: 24px;
}

.city_subsection_image img {
    width: 100px;
}

.city_subsection {
    font-size: 16px;
    font-weight: 500;
    text-align: left;
}

.subsection_description {
    font-size: 14px;
    font-weight: 400;
    color: #6C6C6C;
    text-align: left;
    padding: 8px 0;
}
#left_panel {
    padding-left: 20px;
    padding-right: 44px;
    display: flex;
}

.itin_bubble_image img {
    border-radius: 10px;
    margin: 10px 4px;
}
.itin_bubble_right_block {
    padding-left: 12px;
}

.itinerary_bubble h3 {
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    letter-spacing: 0em;
    text-align: left;
}

.itinerary_bubble p {
    font-size: 14px;
    font-weight: 500;
    line-height: 15px;
    text-align: left;
    color: #A8AAAB;
    padding-left: 2px;
}

.itinerary_bubble a {
    display: inline-block;
    background-color: #5199FF;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    text-align: left;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
}

#main_panel {
    background: linear-gradient(180deg, rgba(250,250,250,1) 90%, rgba(255,255,255,1) 100%);
    min-height: 100vh;
    max-width: 570px;
    margin: -80px auto 0;
    box-shadow: 0 0 32px 0 #0000000F;
    text-align: center;
    overflow:auto;
}

#top_menu {
    display: flex;
    margin: auto;
    max-width: 570px;
    z-index: 100;
    position: sticky;
    justify-content: space-between;
    background: white;
    border-bottom: 1px solid #DCDEDF;
    box-shadow: 0 0 24px 0 #0000000F;
    height: 80px;
}

#menu_logo {
    padding: 8px;
}

#close_menu {
    background: none;
    border: none;
    padding: 17px 6px 14px 20px;
    cursor: pointer;
}

#open_menu {
    background: none;
    border: none;
    cursor: pointer;
}

#menu_header_section {
    display: flex;
    background-color: white;
    width: 400px;
    border-bottom: 1px solid #DCDEDF;
    transition-duration: 0.3s;
}

#menu_main_section {
    flex-grow: 1;
    width: 400px;
    background-color: white;
    border-bottom: 1px solid #DCDEDF;
    transition-duration: 0.3s;
    overflow: scroll;
}

#menu_footer_section {
    width: 400px;
    background-color: white;
    transition-duration: 0.3s;
}

#sign-in-menu, #logout-menu {
    background-color: white;
    color: #5199FF;
}

#sign-up-menu {
    background-color: #5199FF;
    color: white;
}
.menu_bottom_button {
    border: 2px solid #5199FF;
    padding: 8px 16px;
    border-radius: 12px;
    display: block;
    width: 90%;
    margin: 15px auto;
    cursor: pointer;
}

#menu_main_section .menu_item {
    display: flex;
    justify-content: space-between;
    height: 54px;
    border-bottom: 1px solid #DCDEDF;
    text-decoration: none;
}

#menu_main_section .menu_item:hover {
    background-color: #0000000f;
}

#menu_main_section .menu_item_title {
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    letter-spacing: 0em;
    text-align: left;
    padding: 0;
    margin: 10px 0 0 25px;
    color: #212121;
}

#menu_main_section .menu_itin_dates {
    font-family: Inter;
    font-size: 12px;
    font-weight: 500;
    line-height: 15px;
    letter-spacing: 0em;
    text-align: left;
    color: #A8AAAB;
    padding: 20px;
}

#no_conversations {
    font-family: Inter;
    font-size: 12px;
    font-weight: 500;
    line-height: 15px;
    letter-spacing: 0em;
    text-align: left;
    color: #A8AAAB;
    padding: 20px;
}

.animating {
    transition-duration: 1s;
}

#menu_main_section .menu_itin_subtitle {
    font-family: Inter;
    font-size: 10px;
    font-weight: 500;
    line-height: 12px;
    letter-spacing: 0em;
    text-align: left;
    color: #A8AAAB;
    margin: 4px 0 0 25px;

}

#menu .menu_item_right_section {
    display: flex;
}

#menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: auto;
    max-width: 570px;
    height: 100vh;
    z-index: 100;
    position: absolute;
    background-color: #00000099;
    box-shadow: 0 0 24px 0 #0000000F;
    top: 0;
    left: 0;
    right: 0;
    transition-duration: 0.3s;

}

#right_panel {
    padding-right: 20px;
    display: flex;
}

#right_panel a {
    margin: auto;
}

#center_panel {
    font-size: 24px;
    margin: auto;
    text-align: center;
}

.top_button {
    padding: 0 4px;
}

#burger_menu {
    padding: 18px 6px;
}

#back_button {
    padding: 18px 8px;
    cursor: pointer;
    background: none;
    border: none;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: #00000099;

    z-index: 2;
    display: flex;
}

.locked {
    max-height: 100vh;
}

#overlay form {
    width: 336px;
    margin: auto;
    background-color: white;
    border-radius: 24px;
    padding: 32px 32px 0;
}

form h1 {
    text-align: center;
}

form p {
    color: #A8AAAB;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    padding: 16px 0 8px;
}

form label {
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: left;
    color: #222222;

}
form input.sign-up-input {
    height: 48px;
    border: none;
    font-size: 14px;
    line-height: 16px;
    background-color: transparent;
    outline: none;
    border-bottom: solid 1px #5199FF;
    width: 336px;
    margin-bottom: 10px;
}

form a {
    color: #5199FF;
}

form input[type=checkbox] {

}
.hidden {
    display: none !important;
}

form input.submit:hover {
    background: #0168ff;
}

form input.submit {
    background: #5199FF;
    padding: 12px 16px 12px 16px;
    border-radius: 12px;
    border: none;
    color: white;
    width: 100%;
    font-size: 14px;
    line-height: 16px;
    cursor: pointer;
}

form input.cancel:hover {
    border: solid 1px white;
}

form input.cancel {
    background: white;
    padding: 12px 16px 12px 16px;
    border-radius: 12px;
    border: solid 1px #5199FF;
    color: #5199FF;
    width: 100%;
    font-size: 14px;
    line-height: 16px;
    cursor: pointer;
}

h1 {
    font-family: Inter;
    font-size: 24px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0;
}

h2 {

}

#index_ensemble {
    padding-top: 140px;
}

.faq_list {
    text-align: left;
    list-style: none;
}

.faq_list a {
    color: #5199FF;
}

#faq_ensemble {
    padding-top: 80px;
}

#index_input {
    width: 400px;
    height: 48px;
    border: none;
    font-size: 14px;
    line-height: 16px;
    background-color: transparent;
    outline: none;
    border-bottom: solid 1px #5199FF;
    transition-duration: 0.3s;

}

#index_input::placeholder {
    letter-spacing: 0;
    text-align: left;
    color: #A8AAAB;
    font-weight: 500;
}

#send_button {
    border: 0;
    background-color: transparent;
    margin: auto 0;
    height: 36px;
    width: 40px;
    cursor: pointer;
    transition-duration: 0.3s;

}

#bubbles {
    margin: 0 30px;
}

#send_button_image {
    transition-duration: 0.1s;
}

#send_button:hover #send_button_image {
    padding-left: 6px;
}


#input_container {
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 10px 20px 50px 30px;
    position: relative;
}

#country_pills_container {
    padding: 20px 8px;
}

.pills_container button:nth-child(1) .icon {
    color: #5199FF;
}

.pills_container button:nth-child(2) .icon {
    color: #57ff51;
}

.pills_container button:nth-child(3) .icon {
    color: #ff5151;
}

.pills_container button:nth-child(4) .icon {
    color: #ff8851;
}

.pills_container button:nth-child(5) .icon {
    color: #9951ff;
}

.pills_container button:nth-child(6) .icon {
    color: #0057f8;
}

/*.pills_container .icon {*/
/*    color: darkred;*/
/*}*/

@media (max-width:480px)  {
    #left_panel {
        padding-right: 0px;
        padding-left: 12px;
    }
    #context_panel {
        text-align: left;
    }
    .city_info {
        flex-direction: column;
    }

    #overlay {
        background-color: white;
    }
    #overlay form {
        padding: 0;
    }

    #itin_hero_country p {
        display: none;
    }

    #itin_hero_country h1 {
        border-radius: 8px;
        padding: 16px 30px 18px;
    }

    #bubbles {
        margin: 0 10px;
    }
}
