/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

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

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

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

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

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

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

textarea {
    resize: vertical;
}

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


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
    background: #fff000;
    color: #000;
}
* {
    font-family: "LatoWeb";
}
h1 {
    display: none;
}
h2 {
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    font-family: "LatoWeb";
    position: relative;
    height: 47px;
    width: 140px;
    margin: auto;
    background: #000;
    padding-top: 10px;
    top: -1px;
    margin-bottom: 40px;
}
h2:before{
    position: absolute;
    content: '';
    left: -19px;
    top: 0;
    border-style: solid;
    border-color: #000 transparent;
    border-width: 47px 0 0 20px;
}
h2:after{
    position: absolute;
    content: '';
    left: 140px;
    top: 0;
    border-style: solid;
    border-color: #000 transparent;
    border-width: 47px 20px 0 0;
}
h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    margin-bottom: 20px;
}
p {
    margin-bottom: 0;
}
#main {
    max-width: 1020px;
    margin: auto;
    background: #fff000;
}
[class^="flaticon-"]:before {
    margin-left: 0 !important;
}
#home header {
    height: 100px;
    position: fixed;
    top: 0;
    background: #fff000;
    z-index: 10;
    width: 100%;
    max-width: 1020px;
    border-bottom: 2px solid #000;
}
#home .logo {
    position: absolute;
    left: 45px;
    top: 10px;
    width: 75px;
    float: left;
}
#home nav {
    padding-top: 35px;
    text-align: center;
}
#home nav ul {
    margin: 0;
}
#home nav ul li {
    display: inline;
    list-style: none;
    padding: 5px;
}
#home nav ul li a {
    color: #000000;
    font-size: 12px;
    padding: 43px 15px 15px 15px;
}
#home nav ul li a.active {
    background: #000000;
    color: #ffffff;
    border-radius: 0 0 10px 10px;
}
#home .tel {
    position: absolute;
    right: 35px;
    top: 10px;
}
#home .tel span:nth-child(2) {
    font-size: 25px;
    font-weight: 700;
    vertical-align: 10px;
    padding-left: 5px;
}
#home .tel .flaticon-circle:before {
    font-size: 48px;
}
#home #staxi {
    background: transparent url("../img/staxi_main.jpg") no-repeat scroll center top;
    padding-bottom: 30px;
    margin-top: 100px;
}
#staxi .logo {
    display: none;
}
#home #staxi #staxi-text {
    font-size: 72px;
    color: #ffffff;
    text-align: center;
    padding-top: 105px;
}
#home #staxi #staxi-text p {
    line-height: 72px;
}
#home #staxi #staxi-text p:nth-child(1),
#home #staxi #staxi-text p:nth-child(3){
    font-weight: 700;
}
#home #staxi #staxi-text p:nth-child(2){
    color: #fff000;
}
#home #staxi #staxi-price {
    max-width: 660px;
    min-height: 96px;
    margin: auto;
    margin-top: 65px;
    background: #000000;
    padding-top: 8px;
    border-radius: 0 0 10px 10px;
}
#home #staxi #staxi-price .columns {
    text-align: center;
}
#home #staxi #staxi-price .columns p {
    color: #fff000;
    font-size: 14px;
    margin-bottom: 6px;
}
#home #staxi #staxi-price .columns div {
    width: 93px;
    border-radius: 10px;
    background: #fff000;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: auto;
    padding: 3px 5px;
}
#home #staxi #staxi-call {
    max-width: 489px;
    min-height: 109px;
    margin: auto;
    padding-top: 10px;
    font-size: 40px;
    padding-left: 10px;
}
#home #staxi #staxi-call div:nth-child(1) {
    float: left;
}
#home #staxi #staxi-call .flaticon-circle:before {
    font-size: 85px;
}
#home #staxi #staxi-call div:nth-child(2) {
    text-align: center;
    font-weight: 700;
    padding-top: 13px;
}
#home #staxi #staxi-call div:nth-child(2) p {
    line-height: 50px;
}
#home #staxi #staxi-call div:nth-child(2) p:nth-child(2) {
    font-size: 55px;
}

#services,
#price-list,
#galery {
    border-top: 3px solid #000000;
    text-align: center;
    padding-bottom: 50px;
}
#services .row {
    margin-top: 25px;
}
#services .columns {
    padding: 0;
}
#services .columns:nth-child(2) {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}
#services .columns div {
    padding: 0 20px;
    min-height: 200px;
    font-size: 14px;
}
#services .icon:before {
    margin-left: 0;
    font-size: 55px;
}
#services .empty {
    height: 80px;
    min-height: 0 !important;
}

#price-list .row:first-of-type {
    padding-bottom: 40px;
}
#price-list .columns {
    padding: 0 30px ;
}
#price-list .columns div:nth-child(1) {
    background: #000;
    color: #ffffff;
    height: 62px;
    font-size: 18px;
    font-family: LatoWebLight;
    line-height: 60px;
}
#price-list .columns div:nth-child(2) {
    border: 1px solid #000;
    padding: 7px 0;
    font-size: 22px;
    font-weight: 700;
}
#price-list #rent {
    max-width: 500px;
    margin: auto;
}
#price-list #rent .flaticon-front-car {
    float: left;
}
#price-list #rent .flaticon-front-car:before {
    font-size: 75px;
}
#price-list #rent div:nth-child(2) {
    font-size: 28px;
    font-weight: 700;
    padding-top: 35px;
}

#galery .bx-wrapper {
    padding: 0 50px;
    max-width: 100% !important;

}
#galery .bx-wrapper .bx-viewport {
    left: -10px;
    background: none;
    border: none;
    box-shadow: none;
}
#galery .bx-wrapper .bx-prev {
    width: 45px;
    height: 48px;
    background: url("../js/bxslider/images/prev.png") no-repeat 10px 0;
}
#galery .bx-wrapper .bx-next {
    width: 45px;
    height: 48px;
    background: url("../js/bxslider/images/next.png") no-repeat 20px 0;
}
.bx-wrapper .bx-controls-direction a {
    z-index: 9;
}

#contact {
    min-height: 400px;
    background: #000;
    color: #fff;
}
#contact .row {
    margin: 0;
    max-width: 100%;
}
#contact .columns {
    padding: 0;
}
#contact .icon {
    color: #fff000;
    float: left;
    height: 105px;
    line-height: 105px;
    padding-right: 40px;
}
#contact .icon:before {
    font-size: 51px;
}
#contact .row .row .columns {
    margin-top: 65px;
}
#contact p {
    font-size: 16px;
}
#contact p:first-of-type {
    font-size: 24px;
}
#contact .tel {
    padding-top: 33px;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1024px) {
    #home nav ul li {
        padding: 0;
    }
    #home .tel {
        top: 20px;
    }
    #home .tel span:nth-child(2) {
        font-size: 20px;
        vertical-align: 7px;
    }
    #home .tel .flaticon-circle:before {
        font-size: 35px;
    }

    #price-list .columns {
        padding: 0 10px;
    }

    #contact .row .row .columns {
        margin: 15px 0;
    }
}
@media only screen and (max-width: 980px) {
    #services .columns div {
        min-height: 235px;
    }
}
@media only screen and (max-width: 770px) {
    #home .logo {
        left: 10px;
    }
    #home .tel {
        right: 10px;
    }
    #home nav ul li a {
        padding: 43px 10px 10px 10px;;
    }
}
@media only screen and (max-width: 821px) and (min-width: 639px) {
    #price-list .columns .f {
        line-height: 30px !important;
    }
}
@media only screen and (max-width: 639px) {
    #services .columns:nth-child(2) {
        border: none;
    }
    #services .columns div {
        min-height: 0;
        padding-bottom: 10px;
    }
    #price-list .columns:not(.l) {
        padding: 0 10px 40px 10px;
    }
    #price-list .row {
        padding-bottom: 0 !important;
    }
}
@media only screen and (max-width: 680px) {
    #home .tel {
        display: none;
    }
    #home nav ul li a {
        padding: 43px 10px 10px 10px;;
    }
}
@media only screen and (max-width: 540px) {
    #price-list #rent div:nth-child(1) {
        height: 100px;
    }
    #price-list #rent .flaticon-front-car {
        float: none;
        padding-right: 0;
    }
    #price-list #rent div:nth-child(2) {
        padding-top: 0;
        line-height: 30px;
    }

    #contact .columns {
        float: none;
        width: 100%;
    }
}
@media only screen and (max-width: 480px) {
    #home header .logo {
        display: none;
    }
    #staxi .logo {
        display: inherit;
        background: #fff000;
        left: 0;
        top: 100px;
        padding: 10px;
        border-radius: 0 0 10px 0;
    }
    #home #staxi #staxi-call {
        font-size: 30px;
    }
    #home #staxi #staxi-call div:nth-child(2) p:nth-child(2) {
        font-size: 35px;
    }
}
@media only screen and (max-width: 445px) {
    #home nav ul li {
        padding: 0;
    }
}
@media only screen and (max-width: 435px) {
    #price-list .columns {
        float: none;
        width: 100%;
        margin: auto;
        padding-bottom: 20px !important;
    }
    #price-list .columns:nth-child(3) {
        padding-bottom: 20px !important;
    }
}
@media only screen and (max-width: 435px) {
    #home nav ul li {
        padding: 0;
    }
}
@media only screen and (max-width: 350px) {
    #home nav ul li a {
        padding: 7px;
        text-align: center;
    }
    #home #staxi #staxi-text {
        font-size: 35px;
    }
    #home #staxi #staxi-text p {
        line-height: 35px;
    }
    #home #staxi #staxi-price {
        padding-bottom: 15px;
    }
    #home #staxi #staxi-price .columns {
        float: none;
        width: 100%;
        padding-top: 5px;
    }
    #home #staxi #staxi-call div:nth-child(1) {
        float: none;
        text-align: center;
    }
    #home #staxi #staxi-call div:nth-child(2) {
        padding-top: 0;
    }
    #home #staxi #staxi-call div:nth-child(2) p {
        line-height: 35px;
    }
}
@media only screen and (max-width: 310px) {
    #contact .icon {
        padding-right: 10px;
    }
}
@media only screen and (max-width: 300px) {
    #home .tel {
        display: none;
    }
}
@media only screen and (max-width: 270px) {
    #contact .icon {
        float: none;
        padding: 0;
        line-height: 50px;
    }
    #contact .tel {
        padding-top: 0;
    }
    #contact .icon:before {
        margin: 0;
    }
    #contact .columns {
        text-align: center;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

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

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

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

    img {
        max-width: 100% !important;
    }

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

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