/*++++++++++ SEARCH ++++++++++*/

.ui-autocomplete { max-height: 200px; overflow-y: scroll; overflow-x: hidden;}


/*++++++++++ base.html ++++++++++*/

html, body {
    height: 100vh;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    /*margin-bottom: 50px;*/
    font-family: 'Open Sans', sans-serif;
    color: rgb(110,110,110);
}

html, body, .timeline-tab-main-container{
    /*background-color: rgb(248,248,248);*/
    background-color: white;
}

h1, h2, .city-code{
    color: rgb(110,110,110);
}

.navbar-brand{
    color: white !important;
    font-family: 'Playfair Display', serif;
    font-size: 28px !important;
    padding: 0 !important;
    padding-top: 5px !important;
    /*border: 1px solid pink;*/
    height: inherit;
    letter-spacing: 2px;
}


.warning{
    position: relative;
    font-size: 12px;
    vertical-align: middle;
    margin: 0 auto;
    border: solid 1px red;
    border-radius: 3px;
    background-color: rgb(255, 255, 255);
    width: 100%;
    color: red;
    padding: 0 10px;
    /*display: none;*/
}

.error-page{
    text-align: center;
}

.error-page h1{
    font-family: 'Open Sans', sans-serif;
    font-size: 40px;

}

/*p{
    font-family: 'Cormorant Garamond', cursive;
}*/

.unselectable {
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    /*
     Introduced in IE 10.
     See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/
    */
    -ms-user-select: none;
    -o-user-select: none;
}

.no-visibility{
    visibility: hidden;
}
.no-display{
    display: none !important;
}

.icons img{
    width: 60px;
    height: 60px
}

/*++++++++++ NAVBAR ++++++++++*/

/*Make navebar thinner*/
.navbar-nav > li > a {
    padding-top:5px;
    padding-bottom:5px;
}
.navbar {
    /*font-size: 12px;*/
    padding-top: 4px;
    min-height:40px;
    /*background-color: #3CAD58;*/
    /*background-color: #B4E7CE;*/
    background-color: #0C4B33;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    font-size: 18px;
    color: white;
}

/*++++++++++++++++++ RESULTS +++++++++++++++++++++++ */

/* ****************** TABLE Structure ****************** */

.form-main-container,
/*.timeline-tab-main-container,*/
.results-tab-main-container,
.powered-by{
    position: relative;
    width: 90%;
    padding: 0;
}

.results-tab-main-container{
    margin: 0 50px;
    /*padding: 0;*/
}

.timeline-tab-main-container{
    position: relative;
    width: 100%;
    z-index: 100;
    display: inline-block;
}

.results-tab-main-container{
    z-index: 100;
    /*border: solid 1px red;*/
}

.results-tab-row{
    position: relative;
    top: 0;
    width: 100%;
    height: 120px;
    z-index: 4;
    border: solid 1px rgb(200,200,200);
    border-radius: 2px;
    background-color: white;
}

.results-tab-row:hover{
    /*background-color: rgb(250,250,250);*/
    border: solid 1px rgb(100,100,100);
    box-shadow: 1px 1px 5px #888888;
    z-index: 5;
}
/*.results-tab-row:nth-child(even){
    background-color: #F7FCF9;
}*/

.results-tab-background-container{
    position: relative;
    top: 0;
    height: inherit;
    background-color: transparent;
}

/*.results-tab-time-separators-container,
.results-tab-diagrams-container,
.results-tab-totals-bckg-container{
    border-bottom: solid 1px grey;
}*/

.results-tab-time-separators-container{
    position: relative;
    background-color: transparent;
    height: inherit;
}

.results-tab-time-separators{
    position: absolute;
    width: 10%;
    border-right: solid 1px rgb(238,238,238);
    height: 98%;
    /*height: -moz-calc(100% - 1px);
    height: -webkit-calc(100% - 1px);
    height: calc(100% - 1px);*/
}

.results-tab-content-container{
    position: absolute;
    width: 100%;
    top: 10px;
    z-index: 3;
}

.results-tab-diagrams-container, .results-tab-totals-bckg-container{
    position: relative;
    height: inherit;
    z-index: 1;
}

/*.form-line-container,*/
.timeline-container,
.results-tab-city-container,
.results-tab-times-container, /* to be deleted */
.results-tab-carriers-container,
.results-tab-buttons-container,
.results-tab-img-container,
.results-tab-diagram-container,
.results-tab-diagrams-container,
.results-tab-time-separators-container{
    position: absolute;
    float:left;
    width: 87%;
    /*border: 1px solid yellow;*/
}

.timeline-container{
    position: relative;
    height: 70px;
    z-index: 90;
}

.times-container{
    position: absolute;
    width: 100%;
    bottom: 0;
    display: inline-block;
    /*border: solid 1px brown;*/
    font-size: 0;
    z-index: 90;
}

.results-container{
    position: relative;
    z-index: 20;
}

.timebar-container{
    position: absolute;
    display: inline-block;
    z-index: 90;
    top: -3px;
    width: auto;
    left: -12px;
    right: -12px;
    font-size: 0;
}

.time-timeline{
    position: relative;
    display: inline-block;
    bottom: 0;
    width: 10%;
    left: -15px;
    font-size: 11px;
    color: rgb(180,180,180);
    margin: 0;
    padding: 0;
    font-style: italic;
    text-align: left;
    z-index: 90;
}

.results-tab-diagrams-container{
    background-color: white;
}

.results-tab-totals-container,
.results-tab-totals-bckg-container{
    float: right;
    width: 13%;
}
.results-tab-totals-bckg-container{
    background-color: transparent;
    /*background-color: #0C4B33;*/
    /*background-color: #44B78B;*/
    /*border-left: dotted 1px grey;*/
    /*border-right: solid 1px grey;*/
}

/*to be deleted?*/
.results-tab-times-container{
    top: 39px;
    height: 35px;
    /*border: solid 1px brown;*/
}

.next-day{
    font-size: 10px;
    width: 50px;
    height: auto;
    text-align: center;
}

/*.results-tab-carrier, .results-tab-button{*/
.results-tab-carrier{
    float: left;
    text-align: center;
    font-size: 9px;
    color: rgb(180,180,180);
    /*font-style: italic;*/
}

.results-tab-carrier{
    white-space: nowrap;
}

.results-tab-carriers-container{
    top: 72px;
}

.results-tab-carrier img, .info-img{
    height: 10px;
    opacity: 0.25;
    cursor: pointer;
}

.transfer-warning{
    height: 12px;
    opacity: 0.4;
    padding-left: 3px;
    padding-bottom: 2px;
}

.results-tab-buttons-container{
    top: 93px;
}


.results-tab-diagram-container{
    position: absolute;
    top: 35px;
    /*background: gold;*/
    /*width: 50%;*/
}

.results-tab-totals-container{
    position: relative;
    top: -10px;
}


/*++++++++++ TIMEBAR ++++++++++*/
.timebar {
    position: absolute;
    width: 100%;
    height: 7px;
    /*border: 1px solid #59C56A;*/
    border: 1px solid #44b78b;
    border-radius: 7px;
    /*background-color: #B4E7CE;*/
    background-color: #C9F0DD;
    z-index: 11;
}

.city-circle{
    position: absolute;
    width: 28px;
    height: 28px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: rgb(200,200,200);
    /*background-color: #3CAD58;*/
    background-color: #0C4B33;
    display: inline-block;
    /*font-size: 0;*/
    top: -12px;
    text-align: center;
    /*border: 1px solid rgb(100,100,100);*/
    z-index: 12;
    cursor: pointer;
}
.city-circle::after {
    content:"\25bc";
    display: block;
    color: rgb(200,200,200);
    /*color: #3CAD58;*/
    color: #0C4B33;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    margin-top: -3px;
}

.dep-circle{
    left: -10px;
}

.arr-circle{
    float: right;
    right: -10px;
}

.city-code{
    position: relative;
    width: inherit;
    top: 7px;
    font-family: monospace;
    font-size: 11px;
    color: white;
    text-align: center;
    cursor: inherit;
}

/*++++++++++ IMAGES ++++++++++*/
.results-tab-img-container{
    top: 3px;
    height: 40px;
}

.bckg-img-container{
    align-content: center;
    width: 100%;
    height: inherit;
}

.bckg-img{
    align-content: center;
    background-color: white;
    height: inherit;
    width: 40px;
    margin: 0 auto;
}

.img-format{
    /* opacity: 0.15; */
    height: inherit;
}

/*.rotate-plane{
    transform: rotate(45deg);
}*/

/*++++++++++ DIAGRAM TEXT ++++++++++*/

.dep_dt, .arr_dt{
   font-size: 12px;
   color: grey;
   margin: 0 auto !important;
   padding: 0 !important;
   font-weight: bold;
   font-style: italic;
}

.dep_city, .arr_dt{
   text-align:left;
}

.arr_city, .dep_dt{
   text-align:right;
}


.trip-times{
    position: relative;
    display: inline-block;
    width: 100%;
    height: inherit;
    font-size: 14px;
    color: rgb(120,120,120);
    font-weight: normal;
    font-style: normal;
}

.trip-times-dep, .trip-times-arr{
    position: absolute;
    display: inline-block;
    width: 100%;
    top: 10px;
    padding: 0 5px;
}

.trip-times-dep{
    /*top: 0;*/
    text-align:right;
}

.trip-times-arr{
    /*bottom: 0;*/
    text-align:left;
}

.trip-stop-times{
    position: absolute;
    width: 100%;
    top: 4px;
    font-size: 8px;
    /*border: solid 1px pink;*/
}

.trip-stop-times-prestop{
    text-align: right;
    top: 23px;
}
.trip-stop-times-poststop{
    text-align: left;
}

.white-bckg{
    /*width: 100%;*/
    /*background-color: white;*/
    background: rgb(255, 255, 255); /* Fall-back for browsers that don't support rgba */
    background: rgba(255, 255, 255, .8); /* Opacity, if supported */
    /*border: solid 1px black;*/
    /*opacity: 0.5;*/
    -moz-border-radius: 3px;
    border-radius: 3px; /* standards-compliant: (IE) */
}

.result-price-container, .loading, .result-price, .duration, .results-co2, .results-tab-button{
    position: absolute;
    padding: 10px;
    padding-top: 5px;
    width: 100%;
    text-align: right;
    font-family: "Frankf Ruhl Libre", sans-serif;
    color: rgb(100,100,100);
    /*color: #0C4B33;*/
    /*color: white;*/
    /*border: 1px solid pink;*/
}




.result-price {
    top: 0;
    font-size: 30px;
    /*display: none;*/
}

.symbol{
    font-size: 15px;
}

.duration, .results-co2 {
    top: 40px;
    font-size: 15px;
}

.results-tab-button{
    font-size: 14px;
    top: 70px;
}


.book-btn{
    padding: 4px 6px;
    /*position: absolute;*/
    /*padding: 10;*/
    /*width: auto;*/
    /*height: 20px;*/

    background-color: rgb(245, 245, 245);
    border: 1px solid rgb(245, 245, 245);
    box-shadow: 1px 1px 3px #888888;
    color: rgb(140, 140, 140);

    /*opacity: 0.1;*/
    /*visibility: hidden;*/
}

.book-btn:hover{
    /*background-color: #44B78B;*/
    background-color: #0C4B33;
    color:white;
    box-shadow: 2px 2px 6px #888888 !important;
    /*font-weight: bold;*/
}

.results-tab-row:hover .book-btn{
    /*opacity: 1;*/

    /*visibility: visible;*/
    color: white;
    background-color: #44B78B;
    border: 1px solid #44B78B;
    /*background-color: #0C4B33;*/
    /*border: 1px solid #0C4B33;*/
}

.booked-btn,
.booked-btn:focus,
.book-btn:focus{
    color: white;
    background-color: #44B78B;
    border: 1px solid #44B78B;
}

.btn-disabled{
    cursor: not-allowed;
    pointer-events: none;

    /*Button disabled - CSS color class*/
    /*color: #c0c0c0;
    background-color: #ffffff;*/
}

/*++++++++++ FIX DIAGRAMS ++++++++++*/

.tm-fix-field{
    width: 80px;
    text-align: center;
    display: inline-block;
    margin-left: 20px;
}

.fix-diagram{
    position: relative;
    height: 10px;
    top: -15px;
}

/*++++++++++ DIAGRAMS ++++++++++*/

.bus_leg, .train_leg, .flight_leg, .carsharing_leg, .owncar_leg{
    height: 6px;
    border-radius: 3px;
    /*text-align: center;*/
}

.bus_leg{
   /*background-color: red;*/
   /*background-color: #A62000;*/
   background-color: #00B74A;
}

.train_leg{
   /*background-color: green;*/
   background-color: #8A0072;
   opacity: 0.7;
   /*background-color: #f01414;*/
}

.flight_leg{
   /*background-color: blue;*/
   background-color: #3BA3D0;
}

.carsharing_leg{
   background-color: #FA6600;
}

.owncar_leg{
   background-color: rgb(150, 150, 150);
}


.stopover{
   text-align: center;
   border-top: 6px dotted rgb(200,200,200);
   margin-top: 21px;
}

/*with rectangle*/
/*.stopover{
   text-align: center;
   height: 6px;
   border-radius: 3px;
   background: linear-gradient(rgb(200,200,200), white);
}*/

/*with stripped rectangle*/
/*.stopover{
   text-align: center;
   height: 6px;
   border-radius: 3px;
   background: repeating-linear-gradient(90deg, transparent, rgb(200,200,200) 10px, white 10px);
}*/

.empty{
   /*background-color: grey; height: 1px; border: 0;*/
   text-align: center;
   border-top: 1px white;
   border-bottom: 1px white;
}

.results-tab-city-container{
    top: 30px;
    /*border: solid 3px black;*/
}

.stop-city{
   font-size: 10px;
   color: grey;
   font-style: italic;
}

.cancel{
    position: absolute;
    right: 0;
    width: 20px;
    z-index: 999;
    /*display: none;*/
}

.cancel-icon{
    position: relative;
    float: right;
    height: 20px;
    top: -20px;
}

.cancel-icon:hover{
    cursor: pointer;
}

/*+++++++++++++++ Tooltip +++++++++++++*/
.tooltip-container, .tooltip-container-stopover {
    position:relative;
    z-index: 100;
    cursor: pointer;
}


.tooltip-stopover, .tooltip-text{
    background-color:white;
    color:black;
    border-radius:2px;
    border: solid 1px grey;
    display: none;
    position: relative;
    width: 250px;
    left: 50%;
    margin: -20px 0 0 -125px;
    font-size: 11px;
    font-style: normal;
    font-family: sans-serif;
    padding: 2px;
    text-align: center;
}
.tooltip-stopover{
    top: -3px;
}

.tooltip-text{
    font-size: 12px;
    width: 400px;
    margin: -20px 0 0 -200px;
    bottom: 20px;
}

.tooltip-container:hover .tooltip-text{ /* display tooltip on hover */
    background-color: white;
    opacity: 1;
    display: block;
    position: absolute;
    z-index: 101;
}


.tooltip-container:hover .tooltip-stopover,
.tooltip-container-stopover:hover .tooltip-stopover { /* display tooltip on hover */
    opacity:0.85;
    display: block;
    padding: 2px;
    text-align: center;
    z-index: 101;
    font-size: 11px;
    font-style: normal;
    font: sans-serif;
}

.tooltip-rnf{
    background-color: white;
    color: black;
    border-radius: 2px;
    border: solid 1px grey;
    display: none;
    position: absolute;
    width: 250px;
    right: -5%;
    padding: 2px;
    text-align: center;
    z-index: 101;
    bottom: 10px;
    font-size: 11px;
    font-style: normal;
    font-family: sans-serif;
}

.tooltip-container:hover .tooltip-rnf{
    opacity: 1;
    display: block;
}

.city-circle:hover{
    /*background-color: white;*/
    font-weight: bolder;
}


.stick {
    position: fixed;
    top: 20px;
    /*width: 100%;*/
    /*z-index: 99;*/
}

.ui-autocomplete{
    position: relative;
    z-index: 9999 !important;
    /*width: 100px;*/
}



/*+++++++++++++++ FEEDBACK FORM +++++++++++++*/
.feedback-form{
    max-width: 80%;
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.feedback-form textarea{
    width: 50%;
    height: 65px;
    border: solid 1px rgb(200,200,200);
    border-radius: 5px;
    padding: 5px;
}

.feedback-form textarea:focus{
    outline: none;
    border-color: #0C4B33;
    box-shadow: 0 0 4px #0C4B33;
}

.feedback-button{
    /*height: 120px;
    display: inline;*/
}

@media screen and (max-width: 600px) {
    .no-mobile{
        visibility: hidden;
    }
}

/*+++++++++++++++ FOOTER +++++++++++++*/
.page-wrapper {
    position:relative;
    display: block;
    min-height:100vh;
}

footer{
    position: relative;
    width: 100%;
    bottom: 0px;
}

.footer-bar{
    position: relative;
    padding-top: 10px;
    background-color: #44B78B;
    width: 100%;
    color: white;
}

.footer-title{
    font-size: 16px;
    font-weight: bold;
}
.footer-categories{
    margin-left: 10px;
    text-decoration: none;
    color: white;
}

.footer-categories{
    margin-left: 10px;
    color: white;
    font-size: 14px;
}

.footer-categories a{
    margin-left: 10px;
    text-decoration: none;
    color: white;
}

.footer-icon{
    height: 40px;
    -webkit-filter: invert(100%);
    filter: invert(100%);
}

.footer-icon:hover, .footer-categories a:hover{
    color: black;
    -webkit-filter: invert(85%);
    filter: invert(85%);
    text-decoration: none;
}

/*TERMS of USE*/
.terms-container{
    background-color: white;
    border: 1px solid white;
    border-radius: 4px;
    padding: 20px;
}

.terms-container hr{
    padding: 0;
    margin: 0;
    margin-top: -5px;
    margin-bottom: 10px;
}

.not-clickable, .not-active {
   pointer-events: none;
   cursor: default;
}
