/* * Author: Wisely Themes * Author URI: http://themeforest.net/user/wiselythemes * Theme Name: Mochito * Theme URI: http://themeforest.net/user/wiselythemes * Version: 1.0 */ /* Table of Content ================================================== #Variables #Mixins #Typography #General #Header #Navigation #Portfolio #Services #About #Contacts #Footer #Media Queries */ /* Variables ================================================== */ @color: #222222; @pattern: url(../img/patterns/pattern9_black.png); /* Mixins ================================================== */ .border-radius(@radius) { -webkit-border-radius: @radius; -moz-border-radius: @radius; border-radius: @radius; } .box-shadow(...){ -webkit-box-shadow: @arguments; -moz-box-shadow: @arguments; box-shadow: @arguments; } /* A helper mixin for applying high-resolution background images (http://www.retinajs.com) */ .at2x(@path, @w: auto, @h: auto) { background-image: url(@path); @at2x_path: ~`"@{path}".split('.').slice(0, "@{path}".split('.').length - 1).join(".") + "@2x" + "." + "@{path}".split('.')["@{path}".split('.').length - 1]`; @media all and (-webkit-min-device-pixel-ratio : 1.5) { background-image: url(@at2x_path); background-size: @w @h; } } /* #Typography ================================================== */ a:focus{ outline:none; } h1, h2, h3, h4, h5, h6 { font-family:'Lato', sans-serif; text-transform:uppercase; margin:0; font-weight: 400; line-height:40px; text-rendering: optimizelegibility; } h1{ font-size:16pt; color:#999999; } h2{ font-size:14pt; line-height:18pt; } h3{ font-size:12pt; line-height:18pt; color:@color; } h4{ font-size:18pt; color:@color; } h5{ font-family:'Lato', sans-serif; font-size:10pt; line-height:20px; } /* #General ================================================== */ html { overflow: auto; } body { padding: 0; color: #999999; font-family:'Lato', sans-serif; overflow: hidden; line-height: 20px; -webkit-backface-visibility: hidden; } img { height: auto; max-width: 100%; } ::selection { background: @color; color:#fff; } ::-moz-selection { background: @color; color:#fff; } input, button, select, textarea { font-family:'Lato', sans-serif; } button{ font-family:'Lato', sans-serif; } section{ position:relative; padding:40px 0; background-color:#EEEEEE; } input, textarea, .uneditable-input { width: 100%; } select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input { display: inline-block; height: 40px; padding: 4px 2%; line-height: 40px; color: #fff; margin-bottom: 10px; vertical-align: middle; .border-radius(4px); } textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input { background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(0, 0, 0, 0.2); -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; -moz-transition: border linear 0.2s, box-shadow linear 0.2s; -o-transition: border linear 0.2s, box-shadow linear 0.2s; transition: border linear 0.2s, box-shadow linear 0.2s; .box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.075)); } textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus { border-color: rgba(255, 255, 255, 0.8); outline: 0; outline: thin dotted \9; /* IE6-9 */ .box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.075)); .box-shadow(0 0 8px rgba(255, 255, 255, 0.4)); } textarea{ height:72px; resize:vertical; } .invalid { border-color: #E9322D !important; .box-shadow('0 0 6px #F8B9B7 !important'); } #wrap { position: relative; margin-top: 350px; width: 100%; z-index: 10; } .center{ float:none; text-align:center; margin:0 auto; } .section-title{ float:none; text-align:center; margin:0 auto 15px; padding-bottom:10px; border-bottom:1px solid #CCCCCC; } .section-desc{ margin-bottom:40px; } .btn { font-family:'Lato', sans-serif; text-transform:uppercase; font-weight: 400; padding: 6px 16px; font-size:14pt; color: #5b5b5b; text-shadow: none; background-color: transparent; *background-color: transparent; background-image: none; border: 3px solid #CCCCCC; filter: none; filter: none; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; .border-radius(4px); .box-shadow(none); } .btn:hover, .btn:focus, .btn:active, .btn.active { color: @color; border-color: @color; background-color:transparent; } .btn:active, .btn.active { background-color: transparent \9; } .btn:hover, .btn:focus { -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; } .btn:focus { outline: none; outline-offset: 0px; } .btn.active, .btn:active { background-image: none; outline: 0; -webkit-transition: none; -moz-transition: none; -o-transition: none; transition: none; } .btn.disabled, .btn.disabled, .btn[disabled] { background-color: transparent; border: 3px solid #E8E8E8; color: #5b5b5b; opacity: 0.45; filter: alpha(opacity=45); } .btn-large { padding: 16px 23px; font-size: 14pt; border-width: 1px; .border-radius(0px); } .btn-large [class^="icon-"], .btn-large [class*=" icon-"] { margin-right:8px; } .btn-small { padding:2px 6px; font-size: 12pt; border-width:1px; .border-radius(0px); } .btn-small [class^="icon-"], .btn-small [class*=" icon-"] { margin-top: 0; } .btn.full-color{ color:#fff; background-color:@color; } .btn.full-color:hover{ color:@color; background-color:transparent; } .btn.btn-icon{ padding: 10px 23px; } .btn.white{ color:@color; border-color:#E2E2E2; background-color:#fff; } .btn.white:hover{ border-color:#fff; background-color:@color; color: #fff; } .btn.white:hover.disabled{ color:@color; border-color:#E2E2E2; background-color:#fff; } .btn.white2{ border-color:#fff; color: #fff; background-color:transparent; font-weight:700; } .btn.white2:hover{ color:@color; border-color:@color; } .btn.white2:hover.disabled{ color:@color; border-color:@color; background-color:transparent; } .btn-danger, .btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] { color:#fff !important; background-color: #da4f49 !important; *background-color: #da4f49; border-color: #bd362f !important; } .btn-success, .btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] { color:#fff !important; background-color: #5bb75b !important; *background-color: #51a351; border-color: #51a351 !important; } .parallax{ width:100%; height:210px; background-repeat:no-repeat; background-position:50% 0; background-color:transparent; margin-bottom:40px; } /* #Header ================================================== */ #header{ background-image: url(../img/bg_header2023.png); background-repeat:no-repeat; background-position:top center; background-color:none; color: white; height: 700px; padding: 0; position:fixed; left:0; top:0; width:100%; z-index:1; display: table; text-align:center; } #logo{ display:inline-block; padding-top: 5%; padding-bottom: 5%; max-width:100%; } #tagline { text-transform:uppercase; margin-top: 20px; } /* #Navigation ================================================== */ .nav-section{ padding:0; height:76px; } .nav-section:before { content:""; position:absolute; top:-144px; left:0; width:100%; height:144px; background-repeat: repeat-x; background-position: center center; } .nav-section .nav-button { position:absolute; top:10px; left:10%; opacity:0; filter:alpha(opacity=0); } .nav-section .nav-button img{ height:56px; } #nav { position: relative; padding:24px 0; margin:0; width:auto; text-align:center; } #nav ul { margin:0 auto; padding:0; list-style: none; display:block; } #nav ul > li { display: inline-block; margin:0 3px; } #nav ul > li > a{ display:block; text-transform:uppercase; padding:3px 12px; color:#999999; font-family:'Lato', sans-serif; font-weight: 400; font-size:12pt; -webkit-transition:all .3s; -moz-transition:all .3s; -o-transition:all .3s; transition:all .3s; .border-radius(0px); } #nav ul > li > a:hover, #nav ul > li > a:focus, #nav ul > li > a.active { text-decoration: none; background-color: transparent; color:@color; } #nav ul > li > a.icon:hover, #nav ul > li > a.icon:focus { background:none; } #mobile-nav{ display:none; background-color: #eeeeee; border: 1px solid @color; width: 220px; height:30px; color: @color; } .stuck{ position:fixed; top:0; left:0; z-index:1000; width:100%; .box-shadow(0 0 10px #bfbfbf); background-color: #EEEEEE; } .stuck #mobile-nav{ float:right; margin-right:10%; } /* #Portfolio ================================================== */ #portfolio-grid { margin:0 0 50px 0; } #filters { list-style-type: none; text-align: center; margin: 0 auto 10px; padding:0; } #filters li { display:inline-block; padding: 1px 8px; cursor: pointer; margin: 0 4px 10px; border:1px solid #B5B7B6; text-transform:uppercase; font-family:'Lato', sans-serif; font-size: 12pt; -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -o-transition: all 0.15s ease-out; transition: all 0.15s ease-out; .border-radius(3px); } #filters li:hover, #filters li.active { border-color: @color; color: @color; } #folio-items { list-style-type: none; position: relative; /** Needed to ensure items are laid out relative to this container **/ margin: 0; } #folio-items li { display: none; /** Hide items initially to avoid a flicker effect **/ width: 400px; position: relative; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; -webkit-transform: scale(0); -moz-transform: scale(0); -o-transform: scale(0); transform: scale(0); -webkit-backface-visibility: hidden; } #folio-items li.inactive { visibility: hidden !important; opacity: 0 !important; -webkit-transform: scale(0) !important; -moz-transform: scale(0) !important; -o-transform: scale(0) !important; transform: scale(0) !important; } #folio-items li.fixed-folio-item { visibility: visible !important; opacity: 1 !important; -webkit-transform: scale(1) !important; -moz-transform: scale(1) !important; -o-transform: scale(1) !important; transform: scale(1) !important; } #folio-items li img { display: block; width:100%; } #folio-items li > div { position:absolute; top:0; left:0; background-color:fadeout(@color, 25%); width:100%; height:100%; visibility:hidden; opacity:0; filter:alpha(opacity=0); -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; transition: all 0.3s ease-out; } #folio-items li:hover > div{ visibility:visible; opacity:1; filter:alpha(opacity=100); } #folio-items li > div .tags{ // display:block; display: none; width:90%; margin:15px 5%; padding:7px 3%; border-top: 1px solid #bababa; border-bottom: 1px solid #bababa; color:#cccccc; } #folio-items li > div .tags a{ color:#cccccc; } #folio-items li > div .tags a:hover{ color:#fff; } #folio-items li > div .info{ display:block; position:absolute; bottom:10%; left:0; } #folio-items li > div h2, #folio-items li > div h5 { width:90%; margin:0 5%; color:#fff; } .btn-folio{ margin-left:5%; margin-top:25px; color:#fff; border-color:#fff; .border-radius(3px); } .btn-folio:hover{ border-color:#fff; background-color:#eeeeee; color: @color; } #folio-items li.disable{ display:none !important; } .project-page { width: 100%; min-height: 100%; position: fixed; top: 0; left: 105%; overflow: hidden; z-index: 1001; background-color:#000000; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); -webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-transition: left .5s ease; -moz-transition: left .5s ease; transition: left .5s ease; .box-shadow(10px 10px 10px 10px #000); } .project-page > button{ float:right; margin:0 12px 20px 0; } .project-header{ position:relative; min-height:220px; overflow:hidden; padding-bottom:10px; background-repeat:no-repeat; background-position:top center; background-color:none; } .project-header > img{ display:none; min-height:220px; position:absolute; top:0; left:0; max-width:none; z-index:0; } .project-header:after{ content:""; width:100%; height:144px; position:absolute; bottom:0; left:0; background-repeat:repeat-x; background-position:top center; } .project-header button{ position:absolute; top:12px; right:12px; z-index:2; } .project-header .container{ position:relative; z-index:1; } .project-desc{ background-color: none; margin-top:100px; width: 100%; } .project-desc img{ margin:18px 0; display:none; } .project-desc p{ font-size: 16px; padding:0px 0; color:#EEEEEE; } .project-desc a{ color:#FFFFFF; } .project-overview h3{ color:#EEEEEE; margin-top:40px; margin-bottom:20px; } .project-overview img{ margin-bottom:70px; } .moveFromRight { left:0; } /* #Services ================================================== */ #services-img{ display: none; .at2x('http://placehold.it/1920x1440'); } #services-container{ display: block; width:100%; min-height:70px; background-repeat:no-repeat; background-position: center 35px; } .services-item{ display:inline-block; padding: 2%; text-align:center; margin-bottom:40px; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; } .services-item.col-sm-4 { width: 29.3%; } .services-item.col-sm-3 { width: 21%; } .services-item:hover{ background-color:rgba(220, 220, 220, 0.5); } .services-item i { display: inline-block; font-size:24pt; cursor: default; margin-bottom:14px; width: 90px; height: 90px; line-height:90px; position: relative; z-index: 1; color: #fff; background-color:@color; overflow: hidden; -webkit-transition: background 0.3s, color 0.3s, box-shadow 0.3s; -moz-transition: background 0.3s, color 0.3s, box-shadow 0.3s; -o-transition: background 0.3s, color 0.3s, box-shadow 0.3s; transition: background 0.3s, color 0.3s, box-shadow 0.3s; .border-radius(50%); .box-shadow(0 0 0 4px fadeout(@color, 70%)); } .services-item i:before { speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; display: block; -webkit-font-smoothing: antialiased; } .services-item i:after { display: none; } .no-touch .services-item:hover i { background: rgba(255,255,255,1); color: @color; .box-shadow(0 0 0 8px fadeout(@color, 20%)); } .no-touch .services-item:hover i:before { -webkit-animation: toTopFromBottom 0.3s forwards; -moz-animation: toTopFromBottom 0.3s forwards; -o-animation: toTopFromBottom 0.3s forwards; animation: toTopFromBottom 0.3s forwards; } @-webkit-keyframes toTopFromBottom { 49% { -webkit-transform: translateY(-100%); } 50% { opacity: 0; -webkit-transform: translateY(100%); } 51% { opacity: 1; } } @-moz-keyframes toTopFromBottom { 49% { -moz-transform: translateY(-100%); } 50% { opacity: 0; -moz-transform: translateY(100%); } 51% { opacity: 1; } } @-o-keyframes toTopFromBottom { 49% { -o-transform: translateY(-100%); } 50% { opacity: 0; -o-transform: translateY(100%); } 51% { opacity: 1; } } @keyframes toTopFromBottom { 49% { transform: translateY(-100%); } 50% { opacity: 0; transform: translateY(100%); } 51% { opacity: 1; } } .services-item h3{ width:90%; margin:0 auto 20px; } .services-item h3 span{ color:#999999; font-size:20pt; } /* #About ================================================== */ #about-img{ display: none; .at2x('http://placehold.it/1920x1440'); } .team-member{ float:left; display:inline-block; width:46%; margin:0 2% 40px; z-index:11; } .team-member-img{ position:relative; margin-bottom:40px; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; } .team-member-img h2{ background-color:@color; color:#fff; height:60px; width:100%; padding:10px; text-indent:0; line-height:20px; position:absolute; z-index:1; bottom:-4px; left:0; z-index:1; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; .box-shadow(inset 0 3px 3px rgba(0, 0, 0, 0.2)); } .team-member-img:hover{ margin-bottom:94px; } .team-member-img:hover h2{ bottom:-60px; } .team-member-img h2 span{ font-size:10pt; position:relative; line-height: 20px; top:0px; } .team-member-img img{ width:100%; position:relative; z-index:2; } #skills h4{ display:inline-block; margin-bottom:14px; width:96%; margin-left:2%; } .progress { position:relative; width: 96%; height: 35px; border: 1px solid #CCCCCC; margin:0 0 6px 2%; background-color: transparent; background-image: none; .border-radius(4px); filter: none; .box-shadow(none); } .progress .bar { height: 100%; color: #FFFFFF; text-align: right; line-height: 35px; width: 0; background-color: #999999; float: none; font-size: inherit; text-shadow: none; background-image: none; filter: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-transition: none; -moz-transition: none; -o-transition: none; transition: none; .box-shadow(none); } .progress span{ position:absolute; display:block; top:7px; left:5px; color:#EEEEEE; } #skills i{ display:block; color:#CCCCCC; font-size:60pt; width:100%; text-align:center; margin:40px 0 10px; } /* #Contacts ================================================== */ #contacts{ background-image:@pattern; background-repeat:repeat; background-position:top center; background-color:@color; color:#eeeeee; padding:60px 0 0; } #contacts:before{ content:""; width:100%; height:138px; position:absolute; top:0; left:0; } #contacts h1{ color:#fff; } #form-opt { list-style-type: none; text-align: center; margin: 0 auto 10px; padding:0; } #form-opt li{ display:inline-block; padding: 1px 8px; cursor: pointer; margin: 0 4px 10px; border:1px solid #b7b7b7; text-transform:uppercase; font-family:'Lato', sans-serif; font-size: 12pt; .border-radius(3px); -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -o-transition: all 0.15s ease-out; transition: all 0.15s ease-out; } #form-opt li:hover, #form-opt li.active { border-color: #fff; color: #fff; } #contacts .btn{ margin-top:15px; } #form-contact{ width:100%; padding:0 2%; margin-bottom:20px; } #form-contact .input-hide{ height:0px; display:block; visibility:hidden; } .contacts-info { margin:20px 0; text-align:center; } .contacts-info a{ color:#eeeeee; } .contacts-info i{ margin-right:10px; color:@color; background-color:#fff; width:22px; height:22px; display:inline-block; padding-top:3px; text-align:center !important; .border-radius(50%); } #map_canvas{ width:100%; height:400px; } .map-address{ color:#cccccc; } /* #Footer ================================================== */ #footer{ position:relative; color:#fff; background-color:@color; text-transform:uppercase; text-align:center; padding:25px 0; font-family:'Lato', sans-serif; font-size:10pt; z-index:10; } #sn-icons a{ display: none !important; display:inline-block; margin:15px 8px 0 0; font-size:22pt; color:#fff; overflow:hidden; width:25px; height:30px; } #sn-icons a:hover{ text-decoration:none; } #sn-icons a i{ position:relative; top:0; opacity:0.6; filter: alpha(opacity=60); -webkit-transition: all 300ms cubic-bezier(0.230, 1.000, 0.320, 1.000); -moz-transition: all 300ms cubic-bezier(0.230, 1.000, 0.320, 1.000); -ms-transition: all 300ms cubic-bezier(0.230, 1.000, 0.320, 1.000); -o-transition: all 300ms cubic-bezier(0.230, 1.000, 0.320, 1.000); transition: all 300ms cubic-bezier(0.230, 1.000, 0.320, 1.000); } #sn-icons a:hover i{ top: -30px; } #sn-icons a i.grey{ opacity:1; filter: alpha(opacity=100); } /* #Media Queries ================================================== */ @media (min-width: 768px) and (max-width: 979px) { } @media (max-width: 767px) { #nav ul{ display:none; } #mobile-nav{ display:inline-block; } .section-title, .section-desc{ width:96%; } .project-overview{ padding:0 10px; } .contacts-info { text-align:left; padding-left:20px; } } @media (max-width: 979px) { .services-item, .services-item.col-sm-4, .services-item.col-sm-3 { padding: 2%; width: 45%; } .team-member h2{ height:76px; line-height:32pt; padding-top:5px; } .team-member h2 span{ display:block; width:100%; } .team-member-img:hover{ margin-bottom:148px; } .team-member-img:hover h2{ bottom:-81px; } } @media (max-width: 480px) { #wrap { margin-top: 240px; } #mobile-nav{ width:auto; } .services-item, .services-item.col-sm-4, .services-item.col-sm-3{ padding: 2%; width: 96%; } .team-member{ width:96%; } } /*ul#folio-items { background: green !important; max-width: 50% !important; }*/