/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* Newsticker custom styling START 
-------------------------------------*/
.mtphr-dnt-tick-container {
    padding: 15px;
}

.news-ticker-custom {
    background: #ff9f1b;
}

.news-ticker-custom a {
    color: #ffffff !important;
}

/*  Newsticker custom styling END
-------------------------------------*/

/* route planner styling START
-------------------------------------*/

/*-- travel mode styling --*/

.travelMode {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.travelModeOption {
	cursor: pointer;
    background-color: #FFFFFF;
    margin: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.travelModeOption.active {
    background-color: #FF9E1B;
}

.travelModeOption.active .tmo__svg-graphic svg {
    fill: #ffffff;
}

.travelModeOption.active .tmo__name {
    color: #ffffff;
}

.tmo__svg-graphic {
    display: flex;
    align-items: flex-end;
    justify-content: center;

}

.tmo__svg-graphic svg {
    fill: #326295;
}

.tmo__name {
    color: #878787;
    text-transform: uppercase;
}


/* mobile
-------------------------------------*/

@media (min-width: 320px) {

    /*-- travel mode styling --*/

    /* option */
    .travelMode {
        padding: 0 15px;
    }

    .travelModeOption {
        min-width: 50%;
        min-height: 120px;
    }

    /* travel mode icon wrapper */
    .tmo__svg-graphic {
        height: 40px;
        margin-bottom: 10px;
    }

    /* travel mode icon size */
    .tmo__svg-graphic svg {
        height: 30px;
    }


    /* uniq height for car icon */
    .driving .tmo__svg-graphic svg {
        height: 20px;
    }

    /* travel mode name */
    .tmo__name {
        font-size: 14px;
    }

    /*-- route planer --*/
    .routePlanner {
        display: flex;
        flex-direction: column;
        margin-top: 30px;
    }

    .rp__option {
        margin-bottom: 30px;
    }

    .rp__headline {
        font-size: 14px;
        margin-bottom: 10px;
        display: block;
    }

}


/* tablet
-------------------------------------*/

@media (min-width: 678px) {

    /*-- travel mode styling --*/

    .travelMode {
        padding: 0;
    }

    /* option */
    .travelModeOption {
        min-width: 250px;
        min-height: 150px;
    }

    /* travel mode icon wrapper */
    .tmo__svg-graphic {
        height: 50px;
        margin-bottom: 15px;
    }

    /* travel mode icon size */
    .tmo__svg-graphic svg {
        height: 40px;
    }

    /* uniq height for car icon */
    .driving .tmo__svg-graphic svg {
        height: 30px;
    }

    /* travel mode name */
    .tmo__name {
        font-size: 16px;
    }

    /*-- route planer --*/
    .routePlanner {
        display: grid;
        grid-template-columns: calc(33.3333% - 20px) calc(33.3333% - 20px) calc(33.3333% - 20px);
        column-gap: 30px;
        padding: 0;
        padding-top: 34px;
        margin-top: 60px;
    }

     .rp__option {
        margin-bottom: 0;
    }
    
    .rp__headline {
        font-size: 14px;
        text-transform: uppercase;
        position: absolute;
        left: 0;
        top: calc(-24px - 10px);
    }
    
}

/*-- option is acitve --*/



.rp__option {
    text-align: left;
    position: relative;
}



.rp__option input,
.rp__option select {
    width: 100%;
    padding: 20px;
    margin-top: 0;
    background: #ffffff;
    border: 1px solid #DBDBDB;
    color: #326295;
}

#rp__submit {
    margin-top: 0;
    background-color: #326295;
    border: none;
    padding: 20px;
}


/* route planner styling END*/
