@import url("modal.css");


@font-face {
	font-family: "IranYekan";
	src: url("../fonts/IRANYekanWeb.ttf") format("truetype");
}

@font-face {
	font-family: "ravi";
	src: url("../fonts/Ravi.woff") format("woff");
}

@font-face {
	font-family: "ravi-persian_digits";
	src: url("../fonts/Ravi-persian_digits.woff") format("woff");
}

@font-face {
    font-family: "dimafred";
    src: url("../fonts/DimaFred.ttf") format("truetype");
}

img {
    width: 100%;
}

li {
    list-style: none;
    cursor: pointer;
}

/* */

body {
    height: 100vh;
    background: linear-gradient(125deg, rgb(24, 25, 44) 40%, rgb(24, 37, 30) );
    font: 14px/32px "ravi-persian_digits";
}

.app-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 170px;
}

.app-header img {
    position: absolute;
    box-shadow: inset 0 -20px 15px rgb(24, 25, 44);
}

.app-header #background {
    opacity: 0.8;
}

.app-header #brand {
    width: 60%;
    text-align: center;
    color: white;
    font-family: dimafred;
    font-size: 40px;
    filter: drop-shadow(-4px 4px 2px #1a5562);
    z-index: 1;
}

.app-header h2 {
    width: 50%;
    text-align: center;
    font-size: 14px;
    font-weight: normal;
    color: #fff;
    filter: drop-shadow(-4px 4px 2px #ef5e06);
    z-index: 1;
}

nav {
    position: fixed;
    top: 20px;
}

.menu.icon-container {
    width: 30px;
    cursor: pointer;
}

.row {
   padding-top: 10px; 
}

.feild-container {
    background-image: linear-gradient(145deg, rgba(236, 236, 236, 0.5) 40%, rgba(147, 148, 147, 0.5) );
    width: 100%;
    border-radius: 15px;
    padding: 0 10px;
    overflow: hidden;
}

.input-box input {
    background: transparent;
    width: 100%;
    color: #fff;
	line-height: 34px;
    text-align: center;
    font-family: "ravi-persian_digits";
	border: none;
    outline: none;
}

.input-box .station-input {
    font-family: "IranYekan";
    font-size: 22px;
}

.replace {
    position: absolute;
    width: 42px;
    left: 167px;
    top: 195px;
    filter: invert(65%) sepia(30%) saturate(9999%) hue-rotate(360deg);
    transform: rotate(90deg);
    cursor: pointer;
    z-index: 2;
}

.feild-container .icon-container {
    display: inline-block;
    width: 24px;
    opacity: 0.5;
}

label {
    margin-bottom: 0;
}

.feild-container .lable {
    color: #ff8400;
    font-family: "IranYekan";
    margin-right: 5px;
}

input[type=checkbox] {
    display: none;
}

#filter-section-border-top {
    margin: 22px 0 14px;
}

#filter-title {
    position: absolute;
    background-image: linear-gradient(170deg, rgb(250, 140, 0) 50%, rgb(224, 73, 0) );
    color: #ededed;
    line-height: 26px;
    margin-top: 10px;
    padding: 0 10px;
    border-radius: 10px;
}

#filter-description {
    position: absolute;
    background-image: linear-gradient(170deg, rgb(0, 133, 250) 50%, rgb(0, 88, 224) );
    color: #ededed;
    line-height: 26px;
    margin-top: 10px;
    margin-right: 70px;
    padding: 0 10px;
    border-radius: 10px;
    cursor: pointer;
    animation: flasher 0.7s cubic-bezier(.45,.05,.55,.95) infinite alternate;
}

@keyframes flasher {
  0% {
    filter: brightness(100%);
  }
  100% {
    filter: brightness(50%);
  }
}

#passeger-count {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 30px;
}

#date #date-box, #passeger-count #passeger-count-box {
    float: left;
}

#passeger-count #passeger-count-box input {
    width: 40px;
}

.counter-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #fa8c00;
    color: white;
    border-radius: 50%;
    font-size: 28px;
    line-height: 30px;
    cursor: pointer;
}

.counter-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

#wagon-type #wagon-type-box, #coupe-capacity #coupe-capacity-box {
    display: inline-block;
    text-align: center;
    padding: 5px 10px;
}

#time-period #time-period-box div,
#wagon-type #wagon-type-box div,
#coupe-capacity #coupe-capacity-box div {
    display: inline-block;
    border: 1px solid #a3a3a3;
    border-radius: 5px;
    margin-left: 10px;
    padding: 0 7px;
    color: #f5e7cf;
}

#time-period #time-period-box {
    height: 45px;
    white-space: nowrap;
    overflow: scroll;
}

.bottom {
    text-align: center;
    padding-bottom: 10px;
}

button#find {
    width: 100%;
    height: 55px;
    background-image: linear-gradient(170deg, rgb(250, 140, 0) 50%, rgb(224, 73, 0) );
    color: #fff;
    border: none;
    border-radius: 15px;
}