/* Reset and base styles */ * { padding: 0px; margin: 0px; border: none; } @font-face { font-family: Inter; src: /*url("/static/fonts/inter/Inter-Black.ttf"),*/ /*url("/static/fonts/inter/Inter-Bold.ttf"),*/ /*url("/static/fonts/inter/Inter-ExtraBold.ttf"),*/ /*url("/static/fonts/inter/Inter-ExtraLight.ttf"),*/ /*url("/static/fonts/inter/Inter-Light.ttf"),*/ url("/static/fonts/inter/Inter-Medium.ttf"), url("/static/fonts/inter/Inter-Regular.ttf"), url("/static/fonts/inter/Inter-SemiBold.ttf"), url("/static/fonts/inter/Inter-Thin.ttf"); } /* Links */ a, a:link, a:visited { text-decoration: none; } a:hover { text-decoration: none; } /* Common */ aside, nav, footer, header, section, main { display: block; } h1, h2, h3, h4, h5, h6, p { font-size: inherit; font-weight: inherit; } ul, ul li { list-style: none; } img { vertical-align: top; } img, svg { max-width: 100%; height: auto; } address { font-style: normal; } /* Form */ input, textarea, button, select { font-family: inherit; font-size: inherit; color: inherit; } input::-ms-clear { display: none; } button, input[type="submit"] { display: inline-block; box-shadow: none; background-color: transparent; background: none; cursor: pointer; } input:focus, input:active, button:focus, button:active { outline: none; } button::-moz-focus-inner { padding: 0; border: 0; } label { cursor: pointer; margin-bottom: 7px; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 500; line-height: 22px; } legend { display: block; } html, body{ height: 100%; } /*uni-classes (boris)*/ .text-align-center{ text-align: center; } /*uno classes end (boris)*/ /*Стилизация radio button */ .form_radio_btn { width: 375px; border-radius: 14px; background: #FFF; display: flex; height: 70px; align-items: center; margin-bottom: 40px; } .form_radio_btn input[type=radio] { display: none; } .form_radio_btn label { text-decoration: none; color: black; /* Body text 1 */ font-family: Inter; font-size: 16px; font-style: normal; font-weight: 500; line-height: 22px; border-radius: 10px; display: flex; width: 169px; height: 44px; padding: 8px 16px; justify-content: center; align-items: center; gap: 8px; flex-shrink: 0; margin: 0px 3px; } /* Checked */ .form_radio_btn input[type=radio]:checked + label { background: #FF613A; color: white; } /* Hover */ .form_radio_btn label:hover { color: #666; } /* Disabled */ .form_radio_btn input[type=radio]:disabled + label { background: #efefef; color: #666; } /*_________________________________________________________*/ body { margin: 0; padding: 0; background: #F8F8F8; } header { max-width: 1400px; margin: auto; margin-top: 40px; margin-bottom: 60px; padding: 0px 40px; display: flex; justify-content: space-between; } footer { height: 318px; background: #272424; margin-top: 50px; } section.register>h1 { color: #272424; text-align: center; font-family: Inter; font-size: 44px; font-style: normal; font-weight: 700; line-height: 52px; padding-bottom: 35px; } .first-column>div:nth-child(2)>div:last-child>input { width: 276px; padding: 19px 0 19px 10px; border-radius: 10px; border: 1px solid black; } .first-column>div:nth-child(2)>div:last-child { display: flex; } .first-column>div:nth-child(2)>div:last-child>input::placeholder { color: rgba(39, 36, 36, 0.60); font-family: Inter; font-size: 16px; font-style: normal; font-weight: 500; line-height: 22px; } @font-face { font-family: "mr_NorwesterG"; src: url("/static/fonts/mr_NorwesterG.ttf"); } .first-column>div:nth-child(2)>div:first-child { color: #FFF; /* Body text 3 */ font-family: Inter; font-size: 14px; font-style: normal; font-weight: 400; line-height: 20px; margin-bottom: 10px; } footer>div { max-width: 1400px; margin: auto; padding: 40px; display: flex; justify-content: space-between; } .first-column>div:nth-child(1) { margin-bottom: 40px; } .first-column>div:nth-child(2) { margin-bottom: 19px; } .first-column>div:nth-child(3)>img { margin-right: 10px; } .first-column { max-width: 358px; } .second-footer>div { display: flex; max-width: 1400px; margin: auto; height: 60px; align-items: center; justify-content: space-between; width: 100%; } .second-footer>div>div:last-child { display: flex; width: clamp(400px, 55%, 60%); justify-content: space-between; } .second-footer { padding: 0; height: 60px; max-width: unset; background: white; margin-top: -15px; } .second-column>div:first-child { margin-bottom: 45px; color: #FFF; /* Heading 4 */ font-family: Inter; font-size: 20px; font-style: normal; font-weight: 500; line-height: 28px; } .third-column>div:first-child { margin-bottom: 45px; color: #FFF; /* Heading 4 */ font-family: Inter; font-size: 20px; font-style: normal; font-weight: 500; line-height: 28px; } .third-column>div:last-child>div { color: #FFF; /* Body text 2 */ font-family: Inter; font-size: 16px; font-style: normal; font-weight: 400; line-height: 22px; margin-bottom: 8px; } .second-column>div:last-child { display: flex; min-width: 400px; } .second-column>div:last-child>div { flex-basis: 50%; } .second-column>div:last-child>div>div { margin-bottom: 8px; } .second-column>div:last-child>div>div>a { color: #FFF; /* Body text 2 */ font-family: Inter; font-size: 16px; font-style: normal; font-weight: 400; line-height: 22px; text-decoration: none; } .four-column>a { display: block; border-radius: 10px; background: #FF613A; padding: 10px 20px; color: #FFF; /* Body text 1 */ font-family: Inter; font-size: 16px; font-style: normal; font-weight: 500; line-height: 22px; text-decoration: none; text-align: center; } .four-column>a:first-child { margin-bottom: 10px; } .first-column>div:nth-child(2)>div:last-child>div { display: flex; width: 60px; height: 60px; justify-content: center; align-items: center; gap: 4px; flex-shrink: 0; border-radius: 10px; background: #FF613A; margin-left: -30px; } header>div:first-child { display: flex; align-items: center; justify-content: space-between; width: clamp(400px, 50%, 500px); } header>div>a { color: #F8F8F8; /* Body text 1 */ font-family: Inter; font-size: 16px; font-style: normal; font-weight: 500; line-height: 22px; display: flex; width: 152px; height: 44px; justify-content: center; align-items: center; gap: 8px; flex-shrink: 0; border-radius: 10px; background: #FF613A; text-decoration: none; } header>div>div>a { text-decoration: none; color: #272424; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 500; line-height: 22px; } header>div:last-child { display: flex; align-items: center; justify-content: space-between; width: clamp(400px, 50%, 600px); } header>div:last-child>div:nth-child(2) { display: flex; align-items: center; } header>div:last-child>div:nth-child(2)>.svg { margin-right: 5px; } .second-footer>div>div:last-child>div>a { color: #272424; /* Body text 2 */ font-family: Inter; font-size: 16px; font-style: normal; font-weight: 400; line-height: 22px; text-decoration: none; } .second-footer>div>div:first-child { color: #272424; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 400; line-height: 22px; } .first-column>div:nth-child(2)>div:last-child>input:focus-visible { outline: unset; } section.register { max-width: 1400px; margin: auto; } section.register>form { display: flex; flex-direction: column; align-items: center; margin: auto; width: clamp(400px, 50%, 600px); margin-bottom: 120px; } .inputs { display: flex; justify-content: space-between; width: 100%; margin-bottom: 20px; } .inputs>div>input { border-radius: 10px; border: 1px solid #FF613A; width: 100%; height: 60px; padding-left: 10px; } .inputs>div { flex-basis: 50%; } .inputs>div:first-child { margin-right: 30px; width: clamp(300px, 300px, 90%); } .inputs>div>input::placeholder { color: rgba(39, 36, 36, 0.60); /* Body text 1 */ font-family: Inter; font-size: 16px; font-style: normal; font-weight: 500; line-height: 22px; } .agree { display: flex; margin-bottom: 40px; align-items: end; } .agree>div:first-child { width: 50px; } .agree>div:last-child { color: rgba(39, 36, 36, 0.60); /* Body text 3 */ font-family: Inter; font-size: 14px; font-style: normal; font-weight: 400; line-height: 20px; } .button_register>button { display: block; /* Body text 3 */ height: 60px; width: 100%; background: #FF613A; color: #FFF; /* Heading 5 */ font-family: Inter; font-size: 18px; font-style: normal; font-weight: 600; text-decoration: none; line-height: 26px; border-radius: 10px; text-align: center; box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12); } .button_register { width: 100%; } .switch { width: 375px; border-radius: 14px; background: #FFF; display: flex; height: 70px; margin-bottom: 40px; } input.active { text-decoration: none; color: #FFF; /* Body text 1 */ font-family: Inter; font-size: 16px; font-style: normal; font-weight: 500; line-height: 22px; border-radius: 10px; background: #FF613A; display: flex; width: 169px; height: 44px; padding: 8px 16px; justify-content: center; align-items: center; gap: 8px; flex-shrink: 0; margin: 0px 3px; } input.deactive { text-decoration: none; display: flex; width: 100%; height: 44px; padding: 8px 16px; justify-content: center; align-items: center; gap: 8px; flex-shrink: 0; color: rgba(39, 36, 36, 0.60); /* Body text 1 */ font-family: Inter; font-size: 16px; font-style: normal; font-weight: 500; line-height: 22px; } .custom-checkbox { position: absolute; z-index: -1; opacity: 0; } .custom-checkbox+label { display: inline-flex; align-items: center; user-select: none; } .custom-checkbox+label::before { content: ''; display: inline-block; width: 2em; height: 2em; flex-shrink: 0; flex-grow: 0; border: 1px solid #FF613A; border-radius: 0.25em; margin-right: 0.5em; background-repeat: no-repeat; background-position: center center; background-size: 50% 50%; } .custom-checkbox:not(:disabled):not(:checked)+label:hover::before { border-color: #FF613A; } .custom-checkbox:not(:disabled):active+label::before { background-color: #FF613A; border-color: #b3d7ff; } .custom-checkbox:focus+label::before { box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); } .custom-checkbox:focus:not(:checked)+label::before { border-color: #80bdff; } .custom-checkbox:checked+label::before { border-color: #0b76ef; background-color: #0b76ef; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e"); } .custom-checkbox:disabled+label::before { background-color: #e9ecef; } section.login { max-width: 1400px; margin: auto; margin-bottom: 120px; } section.login>h1 { color: #272424; text-align: center; /* Heading 1 */ font-family: Inter; font-size: 44px; font-style: normal; font-weight: 700; line-height: 52px; margin-bottom: 40px; } section.login>form { width: 420px; margin: auto; text-align: center; } .inputs_l { width: clamp(300px, 400px, 400px); height: 60px; margin-bottom: 20px; } .inputs_l>input { border-radius: 10px; border: 1px solid #FF613A; width: 100%; height: 60px; padding-left: 10px; } section.login>form>div>div:nth-child(4) { color: rgba(39, 36, 36, 0.60); text-align: center; /* Body text 3 */ font-family: Inter; font-size: 14px; font-style: normal; font-weight: 400; line-height: 20px; margin-top: 20px; } section.login>form>div>div:nth-child(5) { color: #272424; text-align: center; /* Heading 5 */ font-family: Inter; font-size: 18px; font-style: normal; font-weight: 600; line-height: 26px; margin: 20px 0px; } .google { display: flex; height: 44px; padding: 8px 16px; justify-content: center; align-items: center; gap: 8px; flex-shrink: 0; border-radius: 10px; background: #FFF; box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12); margin-bottom: 20px; } section.login>form>div>div:nth-child(7) { color: rgba(39, 36, 36, 0.60); /* Body text 1 */ font-family: Inter; font-size: 16px; font-style: normal; font-weight: 500; line-height: 22px; } section.login>form>div>div:nth-child(7)>a { text-decoration: none; color: rgba(39, 36, 36, 0.60); } section.profile { max-width: 1400px; margin: auto; padding: 0px 40px; margin-bottom: 120px; } section.profile { display: flex; } .menu_profile { width: clamp(200px, 400px, 400px); margin-right: 40px; } .menu_profile>div { border-radius: 10px; background:#FFF; /* Shadow 1 */ box-shadow: -1px 4px 10px 0px rgba(198, 199, 203, 0.20), 0px -1px 10px 0px rgba(198, 199, 203, 0.20); margin-bottom: 10px; padding: 10px; display: flex; } .menu_profile>div>a { color: rgba(39, 36, 36, 0.60); /* Body text 1 */ font-family: Inter; font-size: 16px; font-style: normal; font-weight: 500; line-height: 22px; text-decoration: none; text-decoration: none; display: block; width: 100%; text-align: center; } .menu_profile>div>img.svg { flex-basis: 35px; } .info_profile{ width: clamp(400px, 827px, 900px) } .info_profile>h1 { color: #272424; font-family: Inter; font-size: 24px; font-style: normal; font-weight: 700; line-height: 36px; } .info_profile>h1>span:first-child { color: #FF613A; text-decoration: underline; } .info_profile>h1>span:last-child { color: #27242499; font-size: 20px; } .profile_prof { display: flex; width: 300px; } .info_profile>div:nth-child(3) { color: rgba(39, 36, 36, 0.60); /* Body text 3 */ font-family: Inter; font-size: 14px; font-style: normal; font-weight: 400; line-height: 20px; width: 350px; margin-top: 10px; margin-bottom: 40px; } .info_profile>div:nth-child(4) { color: #272424; font-family: Inter; font-size: 16px; font-style: normal; margin-bottom: 40px; font-weight: 400; line-height: 22px; } .info_profile>div:nth-child(5) { color: #272424; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 400; line-height: 22px; margin-bottom: 40px; } .info_profile>div:nth-child(6) { color: #272424; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 400; line-height: 22px; } .info_profile>div:nth-child(4)>a { color: #FF613A; } .info_profile>div:nth-child(5)>a { color: #FF613A; } .info_profile>div:nth-child(6)>a { color: #FF613A; } .profile_prof>img { margin-right: 20px; } .profile_prof>div>div:first-child { color: #272424; /* Heading 5 */ font-family: Inter; font-size: 18px; font-style: normal; font-weight: 600; line-height: 26px; } select { display: block; height: 60px; width: 200px; border-radius: 15px; border: 1px solid #E6E6E6; padding: 10px; color: #272424; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 400; line-height: 22px; appearance: none; background: white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center; } .errorlist>li{ color:red; } /*create new route*/ select#id_type_transport{ display: block; height: 60px; width: 394px; border-radius: 15px; border: 2px solid #E6E6E6; padding: 10px; color: #272424; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 400; line-height: 22px; appearance: none; } hr { border: none; /* Убираем границу */ background-color: #E6E6E6; /* Цвет линии */ color: #E6E6E6; /* Цвет линии для IE6-7 */ height: 2px; /* Толщина линии */ } form.new_route>div{ margin-bottom: 30px; margin-top: 30px; /*display: block ruby;*/ } form.new_route>div.range-slider{ margin-bottom: 30px; margin-top: 30px; display: block; } form.new_route{ width:100%; } .departure_arrival>div:first-child, .from_to_place>div:first-child, .from_to_country>div:first-child, .phone>div:first-child { width: 50%; float: left; margin-bottom: 20px; } .departure_arrival>div:last-child, .from_to_place>div:last-child, .from_to_country>div:last-child, .phone>div:last-child { width: 50%; float: right; margin-bottom: 20px; } div.from_to_country>div>input:nth-child(3){ display: block; border-radius: 15px; border: 1px solid #E6E6E6; color: #272424; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 400; line-height: 22px; appearance: none; background: white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center; width: 392px; height: 60px; } div.departure_arrival>div>input{ display: block; border-radius: 15px; border: 1px solid #E6E6E6; color: #272424; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 400; line-height: 22px; appearance: none; width: 392px; height: 60px; padding-left: 2px; /*background: white url("/static/img/svg/Calendar.svg") no-repeat calc(100% - 3px) center;*/ } /*end create new route*/ /*Range slider*/ /*Range slider end*/ /*autocomplete-wrapper START*/ .form-group { margin-bottom: 20px; } .control-label { display: block; } .autocomplete-wrapper { position: relative; } .autocomplete-results { position: absolute; background: white; z-index: 1; top: 100%; left: 0; font-size: 13px; border: solid 1px #ddd; border-top-width: 0; border-bottom-color: #ccc; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); } .autocomplete-result { padding: 12px 15px; border-bottom: solid 1px #eee; cursor: pointer; } .autocomplete-result:last-child { border-bottom-width: 0; } .autocomplete-location { opacity: .8; font-size: smaller; } .autocomplete-results[data-highlight='#{$i}'] > :nth-child(#{$iPlus}) { color: white; background: #26C9FF; border-bottom-color: #26C9FF; outline: solid 1px #26C9FF; } /*autocomplete-wrapper END*/ .input_list{ display: none; width: 24%; height: 200px; position: absolute; padding-top: 20px; background-color: #F8F8F8; min-height: 200px; overflow: scroll; overflow-x:hidden; } .input_list.show{ display:block; } .input_list .hide{ display: none; } select#id_cargo_type{ height: 120px; background: none; overflow: auto; width: 193px; } div.from_to_place>div>select{ width: 392px; } input#id_phone, input#id_extra_phone { display: block; height: 60px; width: 394px; border-radius: 15px; border: 2px solid #E6E6E6; color: #272424; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 400; line-height: 22px; appearance: none; } /*.info_profile>label{*/ /* font-family: Inter;*/ /* font-size: 16px;*/ /* font-style: normal;*/ /* font-weight: 500;*/ /* line-height: 22px;*/ /*}*/ .checkbox_cargo_type{ display: flex; flex-wrap: wrap; } input#id_cargo_type{ width: 50%; } .errorlist.hide { display: none; } /*my routes*/ .my_route{ width: 100%; height: 296px; background-color: White; border-radius: 10px; margin: 2% 0 0 0; box-shadow: 0px -1px 10px 0px #C6C7CB33; } .route_info{ vertical-align: top; border-style: inset; border-width: 1px; border-color: transparent #F8F8F8 transparent transparent; width: 59%; height: 280px; display: inline-block; } .route_info_point { width: 96%; height: 60px; border-radius: 10px; background: #F8F8F8; margin: 10px; } .route_info_point > div > span{ float: right; font-family: Inter, serif; font-size: 16px; font-style: normal; font-weight: 500; line-height: 22px; width: 50%; text-align: left; } .route_info_point > div > div{ float: left; width: 50%; text-align: right; font-family: Inter, serif; font-size: 16px; font-style: normal; font-weight: 500; line-height: 22px; } .route_info_point > div{ width: 100%; height: 20px; top: 30%; position: relative; padding-left: 17px; } .route_info_point > div > div > div{ border: 1px solid #FF613A; width: 20px; display: inline-block; margin-right: 5px; margin-bottom: 4px; } .route_info_about>span:first-child{ background: url("/static/img/png/Tag.png") left center no-repeat; margin: 0 20px 0 20px; padding-left: 15px; } .route_info_about>span:nth-child(2){ background: url("/static/img/png/Scales.png") left center no-repeat; padding-left: 20px; } .route_info_about>span:last-child{ background: url("/static/img/png/Airplane.png") left center no-repeat; float: right; margin-right: 20px; padding-left: 15px; } .route_contact{ width: 40%; display: inline-block; } button#edit_route { display: block; height: 44px; width: 86%; background: #FF613A; color: #FFF; font-family: Inter; font-size: 16px; font-style: normal; font-weight: 500; text-decoration: none; line-height: 26px; border-radius: 10px; text-align: center; margin-bottom: 5px; } .button_remove_route { display: inline-block; } button#remove_route { height: 44px; width: 285px; } button.confirm_remove{ width: 46% !important; background: #ff0000a8; border-radius: 10px; color: white; font-style: normal; font-weight: 600; margin-right: 3px; } button.cancel_remove{ width: 46%; background: #808080cc; border-radius: 10px; color: white; font-style: normal; font-weight: 600; } /*my routes END*/