/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.main-banner{
    position: relative;
    min-height: 300px;
    margin-top: -16px;
}

a.banner{
    position: absolute;
    width: 100%;
    height: auto;
    min-height: 300px;
    background: url(../img/banner.jpg) no-repeat;
    background-size: cover;
}

.header--link{
    text-decoration:none;
    color:#dd1f26 !important;
}

.navbar-default{
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    height: 161px !important;
}

.inner_div img{
    max-width: 100%;
}

.margin--top-65{
    margin-top:65px;
}

.form-control {
    height: 37px !important;
    border: 2px solid #164792 !important;
    border-radius: 12px !important;
}

.nav-dot{
    margin-top: 50px;
    font-size: 17px;
    color: #000 !important;
    font-weight: bold;
}

.buttons{
    margin-bottom: 40px;
    margin-left: -12px;
}

.carousel-inner img{
    width:100%;
    max-height:134px !important;
}

.buttons a{
    cursor: pointer;
    color: #b7b7b7;
    margin-right: 20px;
}

.buttons a.global.current{
    color: #000000;
}

.buttons a.global:hover{
    text-decoration: none;
    color: #000000;
}

.buss-header{
    text-align: center;
    margin: 0;
    margin-bottom: 15px;
    margin-top: -10px;
    font-weight: bold;
}

.swap-button{
    cursor: pointer;
}

.swap-button img{
    margin-top: -18px;
}

.navbar-nav {
    width: 100%;
    text-align: center;
> li {
    float: none;
    display: inline-block;
}
}

.navbar-nav>li>a {
    padding-top: 0px !important;
}

#pull-right{
    float: right !important;
}

.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: #dd1f26 !important;
    background-color: transparent;
}


.logo{
    width: 50%;
}

.navbar-brand{
    padding: 0 !important;
}

.navbar{
    margin-bottom: 0px !important;
}

.navbar-nav{
    float: none !important;
    text-align: center;
}

.navbar-nav > li{
    float: none !important;
    display: inline-block !important;
}

.navbar-inverse{
    background-color: #ffffff !important;
    border: none !important;
    min-height: 100px !important;
}

.main-header{
    background: url("../img/main-bg.jpg") no-repeat;
    background-size: cover;
    min-height: 440px;
    background-position: center center;
    padding-top: 75px;
}

.news-list{
    float: right;
}

.container-fluid{
    padding-top: 25px;
}

.form-horizontal{
    width: 290px;
    margin: 0px auto;
}

.cntr{
    text-align: center;
}

.cntr-2{
    text-align: center;
    float: none !important;
}

.main-routes h2{
    text-align: left;
}

h2{
    font-size: 36px;
    color: #dd1f26 !important;
    margin-bottom: 40px !important;
    text-align: center;
}

.main-routes ul{
    padding-left: 0;
    max-width: 495px;
}


.main-routes ul li{
    list-style-type: none;
    border-top: 2px solid #b7b7b7;
    border-radius: 1px;
    padding: 14px;
}

.main-routes ul.popular-links li{
    border: none;
    float: left;
    cursor: pointer;
}

.main-carousel{
    margin-bottom: 40px;
}

.carousel {
    margin-bottom: 0;
    padding: 0 40px 30px 40px;
}

.carousel-control.right{
    background: url("../img/arrow-left.png") no-repeat !important;
    margin-right: -15px;
}

.carousel-control.left{
    background: url("../img/arrow-right.png") no-repeat !important;
}

.carousel-control{
    opacity: 1 !important;
    border: none !important;
    width: 40px !important;
    height: 70px !important;
    font-size: 0 !important;
    top: -20px !important;
}

.carousel-control {
    left: -12px;
    height: 40px;
    width: 40px;
    background: none repeat scroll 0 0 #222222;
    border: 4px solid #FFFFFF;
    border-radius: 23px 23px 23px 23px;
    margin-top: 90px;
}
.carousel-control.right {
    right: -12px;
}

.carousel-indicators {
    right: 50%;
    top: auto;
    bottom: -10px;
    margin-right: -19px;
}

.carousel-indicators li {
    background: #cecece;
}
.carousel-indicators .active {
    background: #428bca;
}

.main-info{
    margin-bottom: 150px;
}

.border-block{
    min-height: 560px;
    border: 2px solid #2ba6cb;
    border-radius: 20px;
    position: relative;
}

.content-block{
    text-align: center;
    position: absolute;
    background-color: #ebebeb;
    color: #000000;
    border-radius: 20px;
    height: 100%;
    width: 100%;
    left: -50px;
    bottom: -50px;
    background-image: url("../img/little.png");
    background-repeat: no-repeat;
    background-position: 100% 100%;
    padding-top: 10px;
}

.content-block ul{
    margin-top: 40px;
    padding: 0;
}

.content-block ul li{
    list-style-type: none;
    text-align: left    ;
}

.bottom-slide p{
    background-color: #ebebeb;
    padding-top:10px;
    padding-bottom: 10px;
    text-align: center;
    border-radius: 5px;
    color: #000;
    font-weight: bold;
    height: 60px;
}

#my-btn{
    background-color: #2ba6cb;
    color: #ffffff;
    cursor: pointer;
    width: 145px;
    height: 40px;
    margin-left: -20px;
    border-radius: 20px;
    margin-top: 30px;
    border: none;
}

.btn-bot{
    bottom: 60px;
    position: absolute;
    left: 50%;
    margin-left: -70px !important;
}

footer{
    background-color: #2ba6cb;
    min-height: 260px   ;
}

ul.footer-links li{
    display: inline-block;
    list-style-type: none;
    margin-right: 20px;
}

ul.footer-links li a{
    cursor: pointer;
    color: #ffffff;
    font-size: 20px;
}

ul.social li{
    display: inline-block;
    list-style-type: none;
    margin-right: 15px;
    cursor: pointer;
}

ul.social,
ul.footer-links{
    text-align: center;
    margin-top: 50px;
}

.main-info h2{
    margin-left: -70px;
}

input#date {
    background-image: url("../img/calendar.png");
    background-repeat: no-repeat;
    text-indent: 20px;
    background-position: 3% 30%;
}

@media only screen and (max-width: 1200px) {

    .content-block {
        left: 0;
        bottom: 0;
    }

    .content-block ul {
        margin: 30px auto;
        width: 300px;
    }

    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        border-color: transparent !important;
    }

        #pull-right{
        display: none !important;
    }

    .bottom-slide p {
        height: 70px;
    }


}

@media only screen and (max-width: 991px) {

    #Menu1 .bottom-slide p,
    #Menu2 .bottom-slide p,
    #Menu3 .bottom-slide p,
    #Menu4 .bottom-slide p,
    #Menu5 .bottom-slide p,
    #Menu6 .bottom-slide p,
    #Menu7 .bottom-slide p{
        width: 212px !important;
    }


    .bottom-slide p {
        width: 64%;
        margin: 0px auto;
        margin-bottom: 20px;
    }

    .bottom-slide{
        text-align: center;
    }

    .news-list{
        float: none;
        text-align: center;
    }

    .main-routes ul{
        margin: 0px auto;
    }

    .main-routes h2{
        text-align: center;
        margin-top: 40px;
    }

    .carousel-inner img{
        width: 408px;
    }

    .content-block {
        background-image: none;
    }

    .content-block ul {
        margin: unset;
        width: 300px;
        margin-top: 40px;
    }

    #pull-right{
        display: none !important;
    }

}

@media only screen and (max-width: 768px) {

    .main-routes,
    .main-carousel,
    .main-info,
    .main-banner,
    footer{
        display: none !important;
    }

    .navbar-default .navbar-toggle {
        display: none;
    }

    .main-header{
        background: none !important;
        padding-top: 20px;
    }

    .navbar-brand{
        float: none !important;
    }

    .navbar-brand>img {
        display: block;
        width: 200px;
        margin: 0px auto;
    }

    .buttons {
        text-align: center;
    }

    .bottom-slide p {
        width: 212px;
    }

    .inner_div img{
        max-width: 223px;
    }

    .carousel-inner img{
        width: 211px;
    }

    .main-info h2{
        margin-left: 0px;
    }

    .content-block ul {
        margin: 20px auto;
        width: 300px;
    }

    .border-block{
        min-height: 700px;
    }
}







/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
