123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662 |
- * {
- box-sizing: border-box;
- }
- body {
- margin: 0;
- background-color: #f4f4f4;
- font-family: 'Roboto', sans-serif;
- }
- img {
- display: block;
- }
- .container {
- max-width: 1200px;
- margin: 0 auto;
- padding: 60px 15px;
- }
- @media (max-width: 1200px) {
- .container {
- max-width: 830px;
- }
- }
- @media (max-width: 829px) {
- .container {
- max-width: 600px;
- }
- }
- .row {
- display: flex;
- justify-content: space-between;
- }
- .main {
- width: 870px;
- }
- .sidebar {
- min-width: 200px;
- width: 270px;
- }
- @media (max-width: 829px) {
- .sidebar {
- /* display: none; */
- margin-left: 0 !important;
- position: fixed;
- top: 0;
- bottom: 0;
- left: 0;
- background-color: white;
- padding: 15px;
- box-shadow: 0px 0px 20px 4px rgb(0 0 0 / 37%);
- overflow-y: scroll;
- transform: translateX(-150%);
- transition: transform 0.3s ease-in;
- }
- .sidebar--mobile-active {
- transform: translateX(-0%);
- }
- }
- .main + .sidebar {
- margin-left: 30px;
- }
- .cards-holder {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- }
- @media (max-width: 599px) {
- .cards-holder {
- flex-direction: column;
- align-items: center;
- }
- }
- .cards-holder > .card-link {
- margin-bottom: 30px;
- }
- .card-link--hidden {
- display: none !important;
- }
- /* Card */
- a.card-link {
- display: inline-block;
- text-decoration: none;
- transition: all 0.2s ease-in;
- }
- a.card-link:hover {
- opacity: 0.9;
- transform: translateY(-5px);
- }
- .card {
- position: relative;
- width: 270px;
- background-color: #fff;
- }
- .card__badges {
- position: absolute;
- top: 10px;
- left: 15px;
- right: 15px;
- display: flex;
- }
- .card__badges > * + * {
- margin-left: 10px;
- }
- .card__badge {
- display: inline-block;
- height: 22px;
- padding: 0 10px;
- background: #a3a3a3;
- border-radius: 4px;
- font-size: 14px;
- line-height: 23px;
- color: #000000;
- }
- .card__badge--class {
- background: #ffcf26;
- }
- .card__badge--credit {
- background: #11be75;
- color: #fff;
- }
- .card__content {
- padding: 16px 15px 20px;
- }
- .card__title {
- margin: 0;
- margin-bottom: 11px;
- font-weight: bold;
- font-size: 18px;
- line-height: 1.16;
- color: #000000;
- }
- .card__term {
- margin-bottom: 11px;
- font-size: 14px;
- line-height: 1.14;
- color: #000000;
- }
- .card__metro {
- margin-bottom: 11px;
- font-size: 14px;
- line-height: 1.14;
- color: #000000;
- }
- .card__metro::before {
- content: '';
- margin-right: 10px;
- display: inline-block;
- vertical-align: baseline;
- width: 16px;
- height: 11px;
- background-image: url('./../img/icons/metro.svg');
- background-repeat: no-repeat;
- background-size: initial;
- }
- .card__address {
- font-size: 14px;
- line-height: 1.14;
- color: #777777;
- }
- /* Button more */
- .btn-more {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100%;
- height: 80px;
- background-color: #e5e5e5;
- border-radius: 4px;
- border: none;
- text-align: center;
- font-size: 18px;
- line-height: 21px;
- color: #4290c9;
- cursor: pointer;
- transition: background-color 0.2s ease-in;
- }
- .btn-more:hover {
- background-color: #d8d8d8;
- }
- .btn-more img {
- /* display: inline-block; */
- margin-right: 10px;
- /* vertical-align: bottom; */
- }
- /* Sidebar */
- .widget + .widget {
- margin-top: 33px;
- }
- .widget--top-30 {
- margin-top: 30px !important;
- }
- .widget__title {
- position: relative;
- margin-bottom: 21px;
- font-weight: bold;
- font-size: 18px;
- line-height: 1.16;
- color: #000000;
- cursor: pointer;
- }
- .widget__title::after {
- content: '';
- width: 20px;
- height: 20px;
- position: absolute;
- right: 1px;
- top: -1px;
- background-image: url('./../img/icons/chevron-up.svg');
- background-repeat: no-repeat;
- background-size: initial;
- background-position: center;
- }
- .widget__title--active::after {
- transform: rotate(180deg);
- }
- .widget__body {
- }
- .widget__body--hidden {
- display: none;
- }
- /* Location buttons group */
- .location {
- }
- .location__row {
- display: flex;
- }
- .location__row:first-child {
- overflow: hidden;
- border-radius: 4px 4px 0 0;
- border: 1px solid #d6d6d6;
- }
- .location__row:last-child {
- overflow: hidden;
- border-radius: 0px 0px 4px 4px;
- border: 1px solid #d6d6d6;
- border-top: none;
- }
- .location__btn {
- flex-grow: 1;
- font-family: inherit;
- height: 48px;
- padding: 0 15px;
- background-color: transparent;
- border: none;
- text-align: center;
- font-style: normal;
- font-weight: 500;
- font-size: 14px;
- line-height: 50px;
- color: #3c3c3c;
- cursor: pointer;
- transition: background-color 0.2s ease-in;
- }
- .location__btn:hover {
- background-color: #fff0bb;
- }
- .location__checkbox {
- width: 1px;
- height: 1px;
- position: absolute;
- opacity: 0;
- appearance: none;
- }
- .location__checkbox:checked + .location__btn {
- background-color: #ffcf26;
- }
- .location__checkbox:checked + .location__btn:hover {
- background-color: #e0b000;
- }
- /* Radio */
- .radio {
- display: block;
- cursor: pointer;
- }
- .radio + .radio {
- margin-top: 15px;
- }
- .radio__real {
- width: 1px;
- height: 1px;
- position: absolute;
- opacity: 0;
- appearance: none;
- }
- .radio__fake {
- position: relative;
- display: inline-block;
- margin-right: 7px;
- width: 20px;
- height: 20px;
- background-color: #fff;
- border: 1px solid #777777;
- border-radius: 50%;
- vertical-align: bottom;
- }
- .radio__real:checked + .radio__fake {
- background-color: #ffe074;
- }
- .radio__real:checked + .radio__fake::before {
- position: absolute;
- top: 50%;
- left: 50%;
- content: '';
- border-radius: 50%;
- width: 6px;
- height: 6px;
- background: #3c3c3c;
- transform: translate(-50%, -50%);
- }
- .radio__real:checked ~ .radio__title {
- font-weight: 500;
- }
- .radio__title {
- font-weight: 400;
- font-size: 16px;
- line-height: 1.18;
- color: #000000;
- }
- /* Checkbox */
- .checkbox {
- display: block;
- cursor: pointer;
- }
- .checkbox--hidden {
- display: none;
- }
- .checkbox + .checkbox {
- margin-top: 15px;
- }
- .checkbox__real {
- width: 1px;
- height: 1px;
- position: absolute;
- opacity: 0;
- appearance: none;
- }
- .checkbox__fake {
- position: relative;
- display: inline-block;
- margin-right: 7px;
- width: 20px;
- height: 20px;
- background-color: transparent;
- border: 1px solid #777777;
- border-radius: 2px;
- vertical-align: bottom;
- }
- .checkbox__real:checked + .checkbox__fake {
- background-color: #ffe074;
- }
- .checkbox__real:checked + .checkbox__fake::before {
- position: absolute;
- top: 50%;
- left: 50%;
- content: '';
- width: 18px;
- height: 18px;
- background-image: url('./../img/icons/check.svg');
- background-size: initial;
- background-position: center;
- transform: translate(-50%, -50%);
- }
- .checkbox__title {
- font-weight: 400;
- font-size: 16px;
- line-height: 1.18;
- color: #000000;
- }
- .checkbox__real:checked ~ .checkbox__title {
- font-weight: 500;
- }
- /* Hidden elements widget */
- .widget__hidden {
- display: none;
- }
- .widget__btn-show-hidden {
- display: inline-block;
- margin-top: 15px;
- padding: 0;
- background: transparent;
- border: none;
- font-family: inherit;
- font-style: normal;
- font-weight: normal;
- font-size: 16px;
- line-height: 1.19;
- color: #4290c9;
- cursor: pointer;
- transition: color 0.2s ease-in;
- }
- .widget__btn-show-hidden:active, .widget__btn-show-hidden:focus {
- outline: none;
- }
- .widget__btn-show-hidden:hover {
- color: #007fda;
- text-decoration: underline;
- }
- /* Toggle */
- .toggle {
- cursor: pointer;
- }
- .toggle__real {
- width: 1px;
- height: 1px;
- position: absolute;
- opacity: 0;
- appearance: none;
- }
- .toggle__fake {
- position: relative;
- display: inline-block;
- margin-right: 7px;
- width: 37px;
- height: 20px;
- background: #c4c4c4;
- border-radius: 10px;
- vertical-align: bottom;
- }
- .toggle__fake::before {
- position: absolute;
- top: 2px;
- left: 2px;
- content: '';
- width: 16px;
- height: 16px;
- background: #3c3c3c;
- border-radius: 50%;
- transition: all 0.2s ease-in;
- }
- .toggle__real:checked + .toggle__fake {
- background: #ffe074;
- }
- .toggle__real:checked + .toggle__fake::before {
- left: 19px;
- /* right: 2px; */
- }
- .toggle__title {
- font-weight: 400;
- font-size: 16px;
- line-height: 1.18;
- color: #000000;
- }
- .toggle__real:checked ~ .toggle__title {
- font-weight: 500;
- }
- /* Form buttons */
- .form-btn {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100%;
- height: 50px;
- border: 1px solid #d6d6d6;
- border-radius: 4px;
- background-color: transparent;
- font-family: inherit;
- text-align: center;
- font-style: normal;
- font-weight: normal;
- font-size: 16px;
- line-height: 1;
- color: #3c3c3c;
- cursor: pointer;
- transition: background-color 0.2s ease-in;
- }
- .form-btn img {
- /* display: inline-block; */
- margin-right: 6px;
- /* vertical-align: middle; */
- /* margin-top: -2px; */
- }
- .form-btn:hover {
- background-color: #e7e7e7;
- }
- .form-btn + .form-btn {
- margin-top: 10px;
- }
- .form-btn--submit {
- background: #ffcf26;
- border: none;
- color: #000;
- }
- .form-btn--submit:hover {
- background: #ffe173;
- }
- /* Button Toggle Sidebar */
- .toggle-sidebar {
- display: none;
- position: fixed;
- z-index: 9;
- right: 15px;
- top: 8px;
- width: 45px;
- height: 45px;
- background-color: rgb(71, 71, 71);
- justify-content: center;
- align-items: center;
- }
- @media (max-width: 829px) {
- .toggle-sidebar {
- display: flex;
- }
- }
- .menu-icon-wrapper {
- width: 30px;
- height: 30px;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 0;
- border: none;
- background-color: transparent;
- }
- .menu-icon {
- position: relative;
- width: 30px;
- height: 5px;
- background-color: #fff;
- }
- .menu-icon::before {
- position: absolute;
- left: 0;
- top: -10px;
- content: '';
- width: 30px;
- height: 5px;
- background-color: #fff;
- transition: transform 0.2s ease-in, top 0.2s linear 0.2s;
- }
- .menu-icon::after {
- position: absolute;
- left: 0;
- top: 10px;
- content: '';
- width: 30px;
- height: 5px;
- background-color: #fff;
- transition: transform 0.2s ease-in, top 0.2s linear 0.2s;
- }
- .menu-icon.menu-icon-active {
- background-color: transparent;
- }
- .menu-icon.menu-icon-active::before {
- transform: rotate(45deg);
- top: 0;
- transition: top 0.2s linear, transform 0.2s ease-in 0.2s;
- }
- .menu-icon.menu-icon-active::after {
- transform: rotate(-45deg);
- top: 0;
- transition: top 0.2s linear, transform 0.2s ease-in 0.2s;
- }
|