/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 26/jun/2017, 19:03:47
    Author     : Milu
*/

body {
    font-family: "SourceSansPro";
    padding-top: constant(safe-area-inset-top); /* iOS 11.0 */
    padding-top: env(safe-area-inset-top); /* iOS 11.2 */
}

/*SourceSansPro FONT*/
@font-face {
    font-family: "SourceSansPro";
    src: url(fonts/SourceSansPro-ExtraLight.otf) format("opentype");
    font-weight: 200;
}
@font-face {
    font-family: "SourceSansPro";
    src: url(fonts/SourceSansPro-ExtraLightIt.otf) format("opentype");
    font-style: italic;
    font-weight: 200;
}
@font-face {
    font-family: "SourceSansPro";
    src: url(fonts/SourceSansPro-Light.otf) format("opentype");
    font-weight: 300;
}
@font-face {
    font-family: "SourceSansPro";
    src: url(fonts/SourceSansPro-LightIt.otf) format("opentype");
    font-style: italic;
    font-weight: 300;
}
@font-face {
    font-family: "SourceSansPro";
    src: url(fonts/SourceSansPro-Regular.otf) format("opentype");
    font-weight: 400;
}
@font-face {
    font-family: "SourceSansPro";
    src: url(fonts/SourceSansPro-It.otf) format("opentype");
    font-style: italic;
    font-weight: 400;
}
@font-face {
    font-family: "SourceSansPro";
    src: url(fonts/SourceSansPro-Semibold.otf) format("opentype");
    font-weight: 600;
}
@font-face {
    font-family: "SourceSansPro";
    src: url(fonts/SourceSansPro-SemiboldIt.otf) format("opentype");
    font-style: italic;
    font-weight: 600;
}
@font-face {
    font-family: "SourceSansPro";
    src: url(fonts/SourceSansPro-Bold.otf) format("opentype");
    font-weight: 700;
}
@font-face {
    font-family: "SourceSansPro";
    src: url(fonts/SourceSansPro-BoldIt.otf) format("opentype");
    font-style: italic;
    font-weight: 700;
}
@font-face {
    font-family: "SourceSansPro";
    src: url(fonts/SourceSansPro-Black.otf) format("opentype");
    font-weight: 900;
}
@font-face {
    font-family: "SourceSansPro";
    src: url(fonts/SourceSansPro-BlackIt.otf) format("opentype");
    font-style: italic;
    font-weight: 900;
}
a {
    text-decoration: none;
}
.site_container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}


.tub_text {
    font-size:12px;
    color: #333;
}
.tub_subtitle {
    font-size:14px;
    color: #333;
}
.tub_title {
    font-size:16px;
    color: #333;
}
.tub_bigtitle {
    font-size:18px;
    color: #333;
}
.tub_text_blue {
    color: #007dba;
}
.tub_text_white {
    color: #fff;
}
.tub_text_gray {
    color: #999;
}
.tub_text_uppercase {
    text-transform: uppercase;
}
.tub_text_bold {
    font-weight: 600;
}





/*
.slideout-menu {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        z-index: 0;
        width: 256px;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        display: none;
      }

      .slideout-panel {
        position: relative;
        z-index: 1;
        will-change: transform;
      }

      .slideout-open,
      .slideout-open body,
      .slideout-open .slideout-panel {
        overflow: hidden;
      }

      .slideout-open .slideout-menu {
        display: block;
      }*/

.sidemenu_header_background {
    width: 100%;
    height: 170px;
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
}
.sidemenu_header_overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 125, 186, 0.74);
}
.sidemenu_header_logo {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}
md-content.sidemenu_content {
    height: calc(100vh - 220px);
}
md-content.sidemenu_content > div {
    padding: 0 6px;
}
md-content.sidemenu_content > div > p {
    color: #007dba;
}
md-content.sidemenu_content > div > div {
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0 6px;
}
.language_buttons_container {
    line-height: 50px;
    background: #fff;
}
.language_button_title {
    color: #007dba;
    text-transform: uppercase;
    margin: 0 12px;
}
.language_button {
    color: #007dba;
    padding: 0 6px;
    margin: 0 6px;
}
.language_button.langselected {
    font-weight: 700;
}





.sidemenu_open_hint {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    width: 24px;
    height: 24px;
    z-index: 100;
    background: transparent;
    border: transparent;
}
.sidemenu_open_hint .arrow1 {
    position: absolute;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    animation: arrow1 1.5s infinite;
}
.sidemenu_open_hint .arrow2 {
    position: absolute;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    animation: arrow2 1.5s infinite;
}
@keyframes arrow1 {
    0% {opacity:1}
    50% {opacity: 0.75}
    100% {opacity: 1}
}
@keyframes arrow2 {
    0% {left:0; opacity:1}
    100% {left:24px; opacity: 0}
}












/* ROUTE REAL TIME POPUP */
.real_time_container {
    background: #007db7;
    margin: 6px;
    padding: 6px;
}
.realtime_text {
    color: #fff;
    font-size: 12px;
}
.realtime_title {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    padding: 6px 0 0;
}
.real_time_bus_top_wrapper {
    position: relative;
}
.real_time_bus_top_text {
    position: absolute;
    bottom: 6px;
    font-size: 20px;
    line-height: 40px;
    width: calc(100% - 127px);
    left: 50%;
    transform: translate(-50%,0);
    text-align: center;
    text-transform: uppercase;
    color: #ff6a00;
    white-space: nowrap;
    overflow: auto;
}
.realtime_bus_toggler {
    margin: 6px 0 0;
    box-shadow: 0px 1px 1px 0px #333;
}
.realtime_bus_toggler button.md-button {
    margin: 0;
    width: 100%;
    border-top: 1px solid rgba(51, 51, 51, 0.4);
}
.real_time_bus_container {
    margin: 12px;
    overflow: hidden;
    transition: .2s all linear;
    z-index: 100;
}
.realtime_bus_big_container.real_time_bus_container_showing {
    /*margin: 12px;*/
    max-height: 100%;
}
.real_time_bus_middle_wrapper {
    position: relative;
    margin: -1px 0;
}
.real_time_bus_bottom_wrapper {
    position: relative;
}
.real_time_bus_bottom_text {
    position: absolute;
    top: 0;
    font-size: 14px;
    line-height: 12px;
    width: 60px;
    left: 50%;
    transform: translate(-50%,0);
    text-align: center;
    text-transform: uppercase;
    color: #000000;
    margin: 0px 0;
    border: 1px solid #898989;
    border-right: 8px solid #fbb500;
    border-left: 8px solid #007db7;
}
.real_time_bus_middle_text {
    position: absolute;
    top: 6px;
    right: 25%;
    font-size: 14px;
    font-weight: 700;
}
.realtime_bus_big_container {
    position: relative;
    margin: 6px 0 0;
    max-height: 0%;
    overflow: hidden;
    transition: .2s all linear;
    z-index: 100;
    border-radius: 3px;
    box-shadow: 0px 1px 3px 0px #333;
}
.real_time_bus_sky {
    position: absolute;
    width: 100%;
    height: 65%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    top: 0;
    z-index: 0;
    overflow: hidden;
}
.real_time_bus_road {
    position: absolute;
    width: 100%;
    height: 36%;
    background: rgb(117, 117, 117);
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}
.real_time_bus_road:before {
    content: "";
    position: absolute;
    left: -45%;
    top: 0;
    width: 100%;
    height: 6px;
    background: #fff;
    transform: rotate(-80deg);
}
.real_time_bus_road:after {
    content: "";
    position: absolute;
    right: -38%;
    top: 0;
    width: 100%;
    height: 6px;
    background-image: url(../templates/tub/img/road_lines.png);
    background-repeat-x: repeat;
    background-repeat-y: no-repeat;
    background-size: 40% 100%;
    transform: rotate(80deg);
    background-position: 0px 0px;
    animation: bus_travelling 40s infinite linear;
}
@keyframes bus_travelling {
    0% {background-position: 0px 0px;}
    100% {background-position: -5000px 0px;}
}
.realtime_bus_toggler md-icon.material-icons {
    transform: rotate(0deg);
    transition: .15s all linear;
    color: #fff;
}
.realtime_bus_toggler.real_time_bus_container_opened md-icon.material-icons {
    transform: rotate(180deg);
}







.dialog_content_container_title {
    color: #007db7;
    font-size: 14px;
    margin: 6px 6px 0;
    text-transform: uppercase;
}
.stop_lines_schedule_hours button.md-button {
    min-width: 24px;
    width: 30px;
    min-height: 24px;
    line-height: 28px;
    height: 30px;
    margin: 6px;
    padding: 0;
    color: #007db7;
    background: rgba(0, 125, 183, 0.1);
    border-radius: 6px;
}
.stop_lines_schedule_container {
    margin: 0 0 6px;
}
.stop_lines_schedule_second_container {
    color: #333;
    font-size: 14px;
    line-height: 22px;
}
.stop_lines_schedule_second_container > div:nth-child(odd) {
    background: rgba(0, 125, 183, 0.15);
}
.stop_lines_schedule_second_wrapper {
    padding: 0 6px;
}
.real_time_no_bus_container {
    width: calc(100% - 12px);
    margin: 0 auto;
    background: #007db7;
    line-height: 18px;
    padding: 8px;
    text-align: center;
    color: #fff;
    position: relative;
    min-height: 80px;
}
md-icon.real_time_no_bus_icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color: rgba(0, 0, 0, 0.15);
    font-size: 40px;
    height: 40px;
    width: 40px;
}
.real_time_no_bus_text {
    z-index: 100;
}
.dialog_content_container_smalltitle {
    width: calc(100% - 12px);
    margin: 0 auto;
    font-size: 13px;
    color: rgba(51, 51, 51, 0.8);
    line-height: 14px;
}