/**
    Computer & Domotica
    2018 Copyright

    Color scheme:
    Red: #c23616;

 */

/**     COLORS      **/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');

.red-vl {
    background-color: #c23616;
}
.red-vl-text {
    color: #c23616 !important;
}

/**     END COLORS      **/

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    font-family: 'Open Sans', sans-serif;
}

main {
    flex: 1 0 auto;
}

a {
color: #c23616;
}
a:not(.btn):hover {
color: #962a11;
}

h1 {
    font-size: 2.8rem;
}
h2 {
    font-size: 2.5rem;
}
h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.9rem;
}
h5 {
    font-size: 1.6rem;
}
h6 {
    font-size: 1.3rem;
}


/**     UTILITY     **/

.no-margin {
    margin: 0 !important;
}
.no-margin-bot {
    margin-bottom: 0 !important;
}
.no-margin-top {
    margin-top: 0 !important;
}

.text-uppercase {
    text-transform: uppercase;
}

.medium-text {
    font-weight: 600;
}

.bold-text {
    font-weight: bold;
}

.pointer {
    cursor: pointer;
}

.btn-full-width {
    width: 100%;
}

.double-line-divider {
    position: relative;
    margin-top: 10px;
    margin-bottom: 20px;
}
.double-line-divider:before {
    content: '';
    display: block;
    margin: auto;
    left: 50%;
    height: 1px;
    width: 100px;
    background-color: #c23616;
    margin-bottom: 6px;
}
.double-line-divider:after {
    content: '';
    display: block;
    margin: auto;
    left: 50%;
    height: 1px;
    width: 50px;
    background-color: #c23616;
}

.bordered-right {
    padding-right: 30px !important;
    border-right: 1px solid rgba(194, 54, 22, 0.25);
}

.btn-round {
    border-radius: 50px;
}

.btn-bordered {
    border: 2px solid;
    font-weight: 600;
}
.btn-bordered:hover {
    background-color: #fff;
    color: #333;
}
.btn-bordered.red-vl {
    border-color: #c23616;
    color: #fff;
}

.btn.red-vl:hover, .btn.red-vl:focus {
    background-color: #962a11;
}

.inline-links li {
    display: inline;
    padding-right: 10px;
}

.inline-links li:last-child {
    padding-right: 0;
}

.inline-links li a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: #555555;
}
.inline-links li a:hover, .inline-links li a:focus {
    color: #c23616;
}

.inline-links.social-icons li a {
    font-size: large;
}

a.btn i {
    line-height: 36px;
    height: 36px;
}

.card-panel.less-padding {
    padding: 12px;
}

.overlay-bg {
    background-color: rgba(0,0,0,0.3);
}

/**     END UTILITY     **/

/**     INPUT STYLE     **/
.dropdown-content li>a, .dropdown-content li>span {
    color: #c23616;
}

textarea.materialize-textarea:not(.browser-default):focus:not([readonly]) {
    border-bottom: 1px solid #c23616;
    -webkit-box-shadow: 0 1px 0 0 #c23616;
    box-shadow: 0 1px 0 0 #c23616;
}
textarea.materialize-textarea:not(.browser-default):focus:not([readonly])+label {
    color: #c23616;
}

input[type]:not(.browser-default):focus:not([readonly]) {
    border-bottom: 1px solid #c23616;
    -webkit-box-shadow: 0 1px 0 0 #c23616;
    box-shadow: 0 1px 0 0 #c23616;
}
input[type]:not(.browser-default):focus:not([readonly])+label {
    color: #c23616;
}

.select-wrapper input.select-dropdown:focus {
    border-bottom: 1px solid #c23616;

}

[type="checkbox"].filled-in:checked+span:not(.lever):after {
    border: 2px solid #c23616;
    background-color: #c23616;
}

/**     NAVBAR      **/
nav.white ul a, nav.white .brand-logo {
    color: #222;
}
nav.white {
    height: 85px;
    line-height: 85px;
}

nav.white ul a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
}
nav.white ul a:hover {
    background-color: transparent;
    color: #c23616;
}

nav.white .brand-logo img {
    height: 85px;
    padding: 5px 0 0;
}
nav.white ul li.active {
    background-color: transparent;
}

nav.white ul li.active > a {
    color: #c23616;
    border-bottom: 2px solid #c23616;
    height: 85px;
}

nav.upper-nav {
    height: 40px;
    line-height: 40px;
}
nav.upper-nav i {
    height: 40px;
    line-height: 40px;
}

nav.upper-nav a:hover, nav.upper-nav a:focus {
    color: #c23616;
}

nav.upper-nav p.right i {
    padding-left: 7px;
}

.sidenav brand-img a:hover{
    background-color: transparent;
}
.sidenav .brand-img a{
    height: 70px;
    line-height: 70px;
}
.sidenav .brand-img img{
    padding-top: 10px;
}
/**     END NAVBAR  **/

/**     DATE and TIME PICKER    **/
.datepicker-date-display, .timepicker-digital-display {
    background-color: #c23616;
}
.datepicker-cancel, .datepicker-clear, .datepicker-today, .datepicker-done, .datepicker-table td.is-today, .timepicker-close {
    color: #c23616;
}
.datepicker-table td.is-selected{
    background-color: #c23616;
}

.timepicker-tick.active, .timepicker-tick:hover {
    background-color: rgba(194,54,22,0.25);
}

.timepicker-canvas-bg, .timepicker-canvas-bearing {
    fill: #c23616;
}
.timepicker-canvas line{
    stroke: #c23616;
}

button:focus {
    background-color: #c23616;
}

/**     RENT FORM       **/
.rent-form {
    position: relative;
    margin-top: -90px;
}

/**     END RENT FORM   **/

/**     TABS USER ACCOUNT   **/
.tabs .tab a:hover, .tabs .tab a.active {
    color: #c23616;
}
.tabs .indicator {
    background-color: #c23616;
}

.tabs {
    margin-bottom: 15px;
}
/**     END TABS        **/

.card-panel {
    border-radius: 7px;
}

.footer-nav-links {
    padding-top: 10px;
}
.vehicle-card {
    border-radius: 7px;
}
.vehicle-card .card-title {
    width: 100%;
    color: #c23616 !important;
    font-weight: 600;
    padding: 20px 24px 12px !important;
    font-size: 1.1rem;
    line-height: 1.1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.35), rgba(0,0,0,0));
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

.parallax-title-servizi {
    font-size: 4rem;
    font-weight: 600;
    margin-top: 21.5%;
    margin-bottom: 3.5rem;
}
.parallax-servizi {
    height: calc(100vh - 125px);
}

.bg-airport {
    background-image: url("/img/ncc_aeroporto_milano_home-min.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.bg-taxi-milano {
    background-image: url("/img/ncc_milano_taxi_privato-min.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.navbar-fixed.bottom {
    position: fixed;
    bottom: 0;
    height: 85px;
}
.navbar-fixed.bottom nav {
    height: 85px;
}
.navbar-fixed.bottom ul>li {
    font-weight: 600;
}
.navbar-fixed.bottom ul>li  i{
    height: auto;
    display: block;
    padding-top: 15px;
}
.navbar-fixed.bottom a:not(.btn):hover {
    color: #fff;
}

@media all and (max-width: 992px){

    nav.white {
        height: 60px;
        line-height: 60px;
    }

    nav.white .brand-logo img {
        height: 60px;
    }

    nav.white a.sidenav-trigger {
        margin-left: 5px;
    }

    nav.white i.fas {
        height: 60px;
        line-height: 60px;
    }

    .bordered-right {
        padding-right: .75rem !important;
        border-right: none;
        border-bottom: 1px solid rgba(194, 54, 22, 0.25);
        margin-bottom: 18px;
    }
}

@media all and (max-width: 600px) {
    .parallax-servizi {
        height: calc(100vh - 60px);
    }
    .parallax-title-servizi {
        margin-top: 5%;
    }

    nav .brand-logo {
        font-size: 1.9rem;
        font-weight: 600;
        left: auto;
        transform: none;
        -webkit-transform: none;
    }
}
