body{ font-family: 'PT Sans', sans-serif; background:#fff; margin:0px; *{ box-sizing: border-box; } header{ div.header-wrap{ width:100%; background:#fff; padding:10px 0px; div.header-mid{ display:flex; flex-direction: row; } a.logo{ float:left; display:block; height:40px; img{ max-width:100%; max-height: 100%; object-fit: contain; } } a.button.post-review{ margin: 4px 10px; color: #333; } div.mid-wrap{ width:100%; flex:1; height:40px; } div.dropdown-geo{ display: flex; flex-direction: row; align-items: center; label{ font-size: 14px; padding-right: 5px; color: gray; cursor:text; } select{ border: 0px; font-size: 14px; } } } div.nav-wrap{ width:100%; background: linear-gradient(135deg,#4854a2,#772088); } } div.header-mid{ margin:0px auto; max-width:960px; div[class^="menu"]{ display: flex; width: 100%; ul{ list-style: none; padding:0px; margin:0px; li{ float:left; a{ color:#fff; text-decoration: none; padding: 14px 20px; font-size:15px; display:block; } &:hover{ background-color:#46357b; } } } } } div.item-list{ width:100%; display:grid; grid-template-columns: 1fr; &>*{ margin-bottom:15px; border-bottom:1px solid #f1f1f1; &:last-child{ margin-bottom:0px; } div.photo{ float:left; width:110px; height:110px; display:flex; align-content: center; justify-content: center; align-items: center; overflow:hidden; img{ max-width:100%; object-fit: contain; } span.preview-empty{ cursor:default; border-radius: 100%; display: flex; justify-content: center; align-items: center; width: 80px; height: 80px; background-color: #CE93D8; color: #4A148C; text-align: center; font-size: 18px; font-weight: 600; } } div.last-comment{ font-size: 12px; margin: 10px 0px 0px; background-color: #eeeeee; box-sizing: border-box; padding: 5px; min-width: 100%; border-radius: 4px; } div.info{ padding-left:10px; width:~"calc(100% - 110px)"; display:flex; flex-direction: row; div.description{ width: 100%; font-size: 14px; padding: 10px 0px 0px; color: #171717; } div.column{ //float:left; width:100%; } div.row{ width:100%; &.r{ display:flex; flex-direction: row; align-items: center; margin:10px 0px 0px 0px; } } span.reviews-count{ color: gray; margin-left: 5px; font-size: 14px; display:block; width:100%; a{ font-size:14px; } } a.title{ text-decoration: none; color: #4A148C; font-size: 20px; font-weight: bold; } } } &.comments-list{ &>*{ div.info{ span.reviews-count{ margin-left:0px; } } } } } div.section{ &.block-title{ font-size: 22px; margin: 20px 0px; } } div.company{ display:flex; flex-direction: row; padding: 40px 0px 0px 0px; div.main{ display:flex; flex-direction: row; padding-right:30px; flex:1; div.photo{ float:left; width:110px; height:110px; display:flex; align-content: center; justify-content: center; align-items: center; overflow:hidden; img{ max-width:100%; object-fit: contain; } span.preview-empty{ cursor:default; border-radius: 100%; display: flex; justify-content: center; align-items: center; width: 80px; height: 80px; background-color: #CE93D8; color: #4A148C; text-align: center; font-size: 18px; font-weight: 600; } } div.info{ padding-left:10px; width:~"calc(100% - 110px)"; display:flex; flex-direction: row; div.column{ float:left; } label.primary{ color: gray; cursor:text; font-size:12px; } h1{ margin: 0px; font-weight: normal; font-size: 28px; } div.row{ width:100%; &.r{ display:flex; flex-direction: row; align-items: center; margin:10px 0px 0px 0px; } } span.reviews-count{ color: gray; margin-left: 5px; font-size: 14px; display:block; width:100%; a{ font-size:14px; } } a.title{ text-decoration: none; color: #4A148C; font-size: 20px; font-weight: bold; } } } div.primary{ border-left:1px solid #ddd; width:240px; display:flex; flex-direction: column; align-items: center; justify-content: center; } } span.rate{ padding-bottom: 10px; color: #cecece; font-size: 14px; span.current{ color:#4A148C; font-size:30px; padding-right: 5px; } span.max{ padding-left: 5px; color:#020202; font-size:21px; } } #reviews{ padding:30px 0px 20px 0px; div.title{ font-size: 22px; margin-bottom: 20px; } span.note{ display:flex; align-items: center; justify-content: center; padding:30px; flex-direction: column; .button{ margin-top:10px; } } } form.post-review{ background-color: #ecf7ff; padding: 30px; div.container{ display:block; margin-bottom: 10px; label{ cursor:text; font-size:14px; display:block; margin-bottom:5px; } textarea,input[type="text"]{ width:100%; resize:vertical; border:1px solid #ddd; padding:10px; border-radius: 4px; } textarea{ min-height: 80px; } &.checkbox{ input[type="checkbox"]{ float:left; } } div.input-files{ div.node-file{ width:50px; height:50px; margin:5px; background-size: cover; input{ display:none; } } } a.button{ float:left; input{display:none;} } &.end{ border-bottom: 1px solid #bed7ea; display: inline-block; flex-direction: column; padding-bottom: 15px; margin-bottom: 35px; width: 100%; } } &:not(.active){ display:none; } } div.rating{ display:flex; flex-direction: row; font-size: 13px; i{ margin:0px 2px; color: #E0E0E0; &.active{ color:#FFC107; } } &.active{ i{ cursor:pointer; &:nth-child(1):hover{ color:#FFC107; } &:nth-child(2):hover{ color:#FFC107; } &:nth-child(3):hover{ color:#FFC107; } &:nth-child(4):hover{ color:#FFC107; } &:nth-child(5):hover{ color:#FFC107; } } } &.summary-1{ i:nth-child(1){ color:#FFC107; } } &.summary-2{ i:nth-child(1),i:nth-child(2){ color:#FFC107; } } &.summary-3{ i:nth-child(1),i:nth-child(2),i:nth-child(3){ color:#FFC107; } } &.summary-4{ i:nth-child(1),i:nth-child(2),i:nth-child(3),i:nth-child(4){ color:#FFC107; } } &.summary-5{ i:nth-child(1),i:nth-child(2),i:nth-child(3),i:nth-child(4),i:nth-child(5){ color:#FFC107; } } } div.success-message{ background-color: #e7ffca; padding: 15px; font-size: 14px; margin: 15px 0px; border-radius: 5px; } div.comments-tree{ width:100%; margin-top: 30px; .comment-item{ width:100%; display: inline-block; margin-bottom: 15px; &:last-child{ margin-bottom: 0px; } div.comment-avatar{ width:60px; height:60px; float:left; padding:8px; div.inside{ background-color: #f1f1f1; width:100%; height:100%; } } div.comment-data{ width:~"calc(100% - 60px)"; padding-left:10px; float:left; padding-top: 8px; div.comment-row{ width:100%; span.author{ font-size: 16px; font-weight: 600; padding-right:10px; } span.date{ color:#787b81; font-size:12px; } &.row-rate{ font-size:14px; } } div.comment{ width:100%; padding-top:5px; div.section-o{ width:100%; margin-bottom: 5px; div.comment-section-title{ float:left; width: 120px; font-size: 14px; font-weight: bold; } div.comment-section-content{ margin-left:120px; font-size:15px; } } div.childrens{ padding-top:10px; } div.attachments{ width:100%; padding-top:10px; div.attachment-node{ width:50px; height:50px; margin:10px; overflow: hidden; display: flex; align-items: center; justify-content: center; float: left; img{ width: auto; object-fit: cover; max-width: 100%; } } } } } } } div.wrapper{ &.mid-content{ display:flex; flex-direction: row; main{ flex:1; width:100%; padding-right:30px; } aside{ width:320px; border-left:1px solid #ddd; padding-left:30px; } } div.text{ font-size:14px; margin:20px 0px 10px 0px; color:gray; } } div.s-list{ display:grid; grid-template-columns: 1fr; grid-gap:10px; &>*{ text-decoration: none; border-bottom:1px solid #dedede; span.title{ display:block; width:100%; margin-bottom:5px; } div.row{ width:100%; margin-bottom:10px; font-size:14px; color:gray; span.note{ padding-right:10px; b{ font-weight: 400; color:#333; padding-left:3px; } } } a{ text-decoration: none; } } } div.videos-layout{ display:grid; grid-template-columns: repeat(3,1fr); grid-gap:30px; margin:30px 0px 15px 0px; iframe{ } } div.firms-layout{ margin: 15px 0px 30px 0px; display: inline-block; width: 100%; div.list{ display:grid; grid-template-columns: repeat(3,1fr); grid-gap:15px; margin-top:15px; &>*{ margin-bottom:10px; box-sizing: border-box; padding:0px; display: block; float: left; width: 100%; a{ text-decoration: none; } span{ display:block; width:100%; &.addr{ margin-bottom:5px; color:#4A148C; } &.subway{ font-size:12px; } } } } } footer{ width:100%; div.inside{ padding: 10px 0px 0px 0px; border-top: 1px solid #ddd; height: 50px; line-height: 30px; font-size:14px; color:gray; } } div.posts-layout{ display:grid; grid-template-columns: repeat(3,1fr); grid-gap:30px; &>*{ background-color:#fff; padding:15px; div.item-preview{ width:100%; overflow:hidden; height:200px; img{ max-width: 100%; object-fit: cover; } margin-bottom:15px; } div.item-info{ a{ text-decoration: none; } span.title{ color: #333; font-size: 18px; font-weight: 500; margin: 5px 0px 10px; display: block; width: 100%; } div.description{ font-size:14px; color:#787b81; } } } } form.search{ box-sizing: border-box; padding:15px; margin: 30px 0px 15px 0px; background-color: #dcd1e9; border-radius: 10px; display:flex; flex-direction: row; div.firm-row{ float:left; display:flex; flex-direction: row; align-items: center; flex: 1; label{ margin-right:10px; color:#000; font-size:14px; } } input[type='submit']{ float:left; .button(); } } } .button{ cursor: pointer; text-decoration: none; background: #FFC107; padding: 7px 10px; font-size: 15px; border-radius: 4px; border:0px; color:#000; } @media(max-width:1200px){ body{ div.header-mid{ width: 100%; padding: 0px 15px; } div.wrapper{ &.mid-content{ flex-direction: column; main{ padding:0px; } aside{ border-width: 0px; padding:0px; width:100%; padding-top: 40px; } } } div.company{ flex-direction: column; div.main{ padding:0px; flex-direction: column; justify-content: center; align-items: center; div.info{ width:100%; padding:0px; } } div.primary{ padding:0px; border-width: 0px; width:100%; } } div.posts-layout{ grid-template-columns: 1fr; } } } .subway{ display: flex; flex-direction: row; align-items: center; text-decoration: none; fill: #fff; float: left; flex: 0; width: auto !important; padding: 3px 6px; border-radius: 4px; color: #fff; &.style-blue{ background-color:#0058a4 } &.style-lightblue{ background-color:#039ee0; } &.style-midblue{ background-color:#019ee0; } &.style-marine{ background-color:#5bbebb; } &.style-purple{ background-color:#9a34b3; } &.style-orange{ background-color:#ff8a32; } &.style-red{ background-color:#f82325; } &.style-pink{ background-color:#ffa8af; } &.style-brown{ background-color:#745c2f; } &.style-gray{ background-color:#acadaf; } &.style-yellow{ background-color:#ffd803; } &.style-green{ background-color:#029a55; } &.style-lime{ background-color:#b1d332; } svg{ margin-right: 5px; height:10px; } } .map-container{ width:100%; margin:20px 0px 10px 0px; display:flex; flex-direction:row; div.addr_info{ float:left; width:300px; max-width:300px; div.row{ margin-bottom:5px; color: gray; font-size: 14px; display: block; width: 100%; span{ text-decoration: none; color: #4A148C; font-weight: bold; } } padding-right:30px; } div#map_container{ position: relative; width: 100%; min-height: 300px; box-sizing: border-box; } }