@import '../app.scss'; // Fonts @import '../fonts/awesome/awesome-font.css'; @import '../fonts/iransans/iransans-font.css'; body { font-family: iransans; } h1 { font-size: 1.5rem; } h2 { font-size: 1.4rem; } h3 { font-size: 1.3rem; } h4 { font-size: 1.2rem; } h5 { font-size: 1.1rem; } h6 { font-size: 1rem; } .fs-8 { font-size: 0.8rem; } a { transition: all 0.3s ease-in-out; text-decoration: none; &:hover { text-decoration: none; } } // ------------------------------------ // navbar // ------------------------------------ .navbar { min-height: 80px; .nav-link { transition: all 0.3s ease-in-out; font-weight: 600; padding: 0 0.875rem; @media screen and (max-width: 991px){ padding: 0.375rem 0; font-weight: 500; border-top: 1px dashed #eee; } } .navbar-toggler{ height: 64px; border: none; padding: 0; outline: none; &:focus{ box-shadow: none; } .hamburger-toggle{ position: relative; display: inline-block; width: 50px; height: 50px; z-index: 11; float: right; .hamburger { position: absolute; transform: translate(-50%, -50%) rotate(0deg); //left: 50%; left: 25px; top: 50%; width: 50%; height: 50%; pointer-events: none; span { width: 100%; height: 4px; position: absolute; background: $secondary; border-radius: 2px; z-index: 1; transition: transform 0.2s cubic-bezier(0.77,0.2,0.05,1.0), background 0.2s cubic-bezier(0.77,0.2,0.05,1.0), all 0.2s ease-in-out; left: 0px; &:first-child{ top: 10%; transform-origin: 50% 50%; transform: translate(0% -50%) !important; } &:nth-child(2){ top: 50%; transform: translate(0,-50%); } &:last-child{ left: 0px; top: auto; bottom: 10%; transform-origin: 50% 50%; } } &.active{ span { position: absolute; margin: 0; &:first-child{ top: 45%; transform: rotate(45deg); } &:nth-child(2){ left: 50%; width: 0px; } &:last-child{ top: 45%; transform: rotate(-45deg); } } } } } } .navbar-nav { padding: 0 1rem; } } .navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus { color: $secondary; } // ------------------------------------ // footer // ------------------------------------ footer { line-height: 2; text-align: justify; background-color: #212529; color: $white; padding: 2rem 0; .about { text-align: justify; line-height: 2; } hr { background-color: $white; opacity: 1; } .menu-footer_menu { list-style: none; line-height: 2; padding-right: 0; padding-left: 0; display: flex; flex-wrap: wrap; @media screen and (max-width: 991px) { justify-content: center; } .menu-item { margin-left: 1.25rem; @media screen and (max-width: 991px) { margin: 0 0.75rem; } a { color: $white; } } } .social { a { color: $white; } } .newsletter-subscription { .input-group { max-width: 300px; @media screen and (max-width: 320px) { max-width: 100%; } } .input-subscription { text-align: right; } } } // ------------------------------------ // content single article page // ------------------------------------ .container-article-width { @media screen and (min-width: 1400px){ max-width: 1200px; } @media screen and (min-width: 1200px) and (max-width: 1399px){ max-width: 750px; } @media screen and (min-width: 992px) and (max-width: 1199px){ max-width: 800px; } .article-content-holder { margin: 3rem 0; .title { text-align: right; margin-bottom: 1.5rem; line-height: 2; color: $primary; } .author-published-holder { display: flex; align-items: center; margin-bottom: 1.5rem; .author-avatar { width: 3rem; height: 3rem; border-radius: 50%; } .author-published-text { margin-right: 0.75rem; .author-name { margin-bottom: 0.625rem; } .published-at { color: lighten($gray, 20); font-size: 80%; } } } .content-text { h1, h2, h3, h4,h5, h6 { margin-top: 2em; margin-bottom: 1em; &:first-child { margin-top: 0; } } div { text-align: justify; line-height: 2; margin-bottom: 0.75rem; } ul { list-style-type: none; padding-right: 1.2rem; padding-left: 1.2rem; li { line-height: 2; &:before { content: '✓'; color: $primary; padding: 2px 0 2px 2px; font-weight: 600; } } } ol { counter-reset: item; padding-right: 1.2rem; padding-left: 1.2rem; li { display: block; line-height: 2; &:before { content: counter(item) ". "; counter-increment: item; color: $primary; font-weight: 600; } } } div { img { margin: 1rem 0; @media screen and (max-width: 992px){ max-width: 100%; } } } video { margin: 1rem 0; width: 100%; } table { margin: 1rem 0; thead { background-color: $primary; color: $white; } } blockquote{ background: #f9f9f9; border-right: 0.625rem solid lighten($secondary, 11); margin: 0.5rem 1.2rem; padding: 10px 20px; &:before { content: '\201D'; line-height: 0; right: -11px; position: relative; top: 30px; color: lighten($secondary, 11); font-size: 3em; } } } } .article-button { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; } } // comments .comment-customers { .parent-reply-body { .reply-post { border-left: 1px solid; color: lighten($gray, 20); height: 22px; padding-left: 0.625rem; .reply-post-icon { transition: all 0.5s ease; color: lighten($secondary, 10); &:hover { cursor: pointer; } } } .reply-post-like-button { padding-right: 0.625rem; font-size: 15px; display: inline-block; color: #afb6bc; .fa { color: lighten($secondary, 10); } } .user-description { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; @media screen and (max-width: 576px){ align-items: baseline; } .user-description-holder { display: flex; align-items: flex-end; @media screen and (max-width: 576px){ align-items: flex-start; flex-direction: column; } } .user-name { color: $primary; font-weight: 600; padding-left: 0.625rem; @media screen and (max-width: 576px){ margin-bottom: 0.5rem; } } .item-details { display: flex; align-items: baseline; color: lighten($gray, 20); font-size: 80%; .item-details-clock { color: lighten($secondary, 10); } .item-details-calendar { margin-left: 0.25rem; color: lighten($secondary, 10); } .item-details-time { border-right: 1px solid; padding-right: 0.25rem; } .item-details-date { padding-left: 0.25rem; } } } .user-comment-text { margin: 1rem 0; text-align: justify; } } .form-reply-opinion { margin: 0.5rem 0 1.5rem; } } // latest article in single bolg page .latest-article { .card { background: transparent; border: none } .card-title { line-height: 2; text-align: justify; color: $primary; } .card-text { text-align: justify; } .author-published-holder { display: flex; align-items: center; margin-bottom: 1.5rem; margin-top: 1rem } .author-avatar { width: 3rem; height: 3rem; border-radius: 50%; } .author-published-text { margin-right: 0.75rem; } .author-name { margin-bottom: 0.625rem; } .published-at { color: lighten($gray, 20); font-size: 80%; } } // ------------------------------------ // pagination // ------------------------------------ .pagination-holder { margin-top: 2rem; .pagination { padding-right: 0; } .page-item:first-child .page-link { border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: 0.25rem; border-bottom-right-radius: 0.25rem; } .page-item:last-child .page-link { border-top-right-radius: 0; border-bottom-right-radius: 0; border-top-left-radius: 0.25rem; border-bottom-left-radius: 0.25rem; } } // ------------------------------------ // category blog page // ------------------------------------ .article-category-title-holder { color: $primary; line-height: 2; } .article-category-content-holder { .article-content { position: relative; padding: 32px 32px; transition: all 0.3s ease-in-out; border-bottom: 1px solid #e8eaf1; &:hover { background-color: #e8eaf1; border-bottom: 1px solid #e8eaf1; border-radius: 0.25rem; } .sub-title { color: lighten($gray, 20); font-size: 80%; display: flex; justify-content: space-between; margin-bottom: 0.25rem; @media screen and (max-width: 576px) { flex-direction: column; } .fa { color: lighten($secondary, 10); } .published-at { margin-left: 0.625rem; } } .title { font-size: 1.1rem; font-weight: 500; line-height: 2; text-align: right; } .lead-text { margin-top: 0.625rem; color: $gray; line-height: 2; text-align: justify; } .category { margin-top: 0.75rem; } .article-footer { margin-top: 1.2rem; display: flex; align-items: center; justify-content: space-between; .author-published-holder { display: flex; align-items: center; .author-avatar { width: 3rem; height: 3rem; border-radius: 50%; } .author-name { margin-right: 0.75rem; } } /*.duration-of-study { color: lighten($gray, 20); font-size: 80%; @media screen and (max-width: 576px) { margin-top: 0.75rem; } }*/ } } } // ------------------------------------ // home page // ------------------------------------ //banner home page .banner-holder { .banner-item { min-height: 545px; position: relative; background-size: cover !important; background-position: center center !important; display: flex; align-items: center; justify-content: center; @media screen and (max-width: 991px){ display: none; } .content-holder { width: 50%; text-align: center; .content-title { font-size: 1.8rem; font-weight: 700; line-height: 3; color: $primary; } .content-sub-title { line-height: 2; color: $primary; font-weight: 500; font-size: 1.1rem; } } } .banner-item-md { @media screen and (min-width: 992px){ display: none; } .img-holder { position: relative; .overlay-img { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: linear-gradient(rgba(245, 245, 245, 0.7), rgba(226, 226, 226, 0.5)); } .content { position: absolute; top: 50%; left: 50%;; transform: translate(-50%,-50%); width: 95%; text-align: center; .content-title { color: $primary; font-weight: 600; font-size: 1.1rem; line-height: 2; @media screen and (max-width: 425px) { font-size: 0.9rem; font-weight: 500; } } .content-sub-title { color: $primary; font-weight: 500; line-height: 2; @media screen and (max-width: 425px) { font-size: 0.7rem; font-weight: 400; } } } } } } // services home page .services-holder { text-align: center; padding: 2.5rem 0 ; .feature-box-holder { background-color: $white; border-radius: 0.93rem; padding: 1.5rem 1.8rem; position: relative; filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.099)); border-bottom-width: 4px; border-bottom-style: solid; border-bottom-color: $secondary; transition: all .4s ease; border-top-width: 4px; border-top-style: solid; border-top-color: transparent; box-sizing: border-box; @media screen and (max-width: 991px){ margin-bottom: 3rem; } &:hover { border-top-width: 4px; border-top-style: solid; border-top-color: $secondary; } .featured-icon-holder { position: absolute; top: -38px; right: 25px; .featured-icon { height: 63px; width: 63px; line-height: 63px; background-color: $secondary; border-radius: 50%; display: flex; align-items: center; justify-content: center; i { color: $white; font-size: 1.2rem; } } } .feature-content { .feature-title { text-align: justify; font-size: 1.04rem; line-height: 2; font-weight: 500; margin: 0.5rem 0 0.35rem 0; } .sub-title { text-align: justify; line-height: 2; color: lighten($gray , 10); } .link-holder { font-size: 85%; text-align: justify; font-weight: 500; margin-top: 0.625rem; a { &:hover { color: $secondary; } } } } } .end-button { display: inline-block; width: 100%; position: relative; margin-top: 2.75rem; @media screen and (max-width: 991px){ margin-top: 0; } &:before, &:after { position: absolute; content: ""; right: auto; left: 50%; top: 20px; height: 1px; width: 30%; margin: 0 40px; background-color: lighten($gray, 40); transition: all .4s; } &:before { right: auto; left: 50%; } &:after { right: 50%; left: 0; } span { display: flex; align-items: center; justify-content: center; position: relative; height: 40px; width: 40px; line-height: 37px; font-size: 1.25rem; font-weight: 400; border-radius: 50%; border: 1px solid; margin: 0 auto; transition: all .4s; } } .end-button-text { margin-top: 0.6rem; } } // title section for home page .title { font-weight: 600; font-size: 1.5rem; line-height: 2; margin-bottom: 0.5rem; text-align: center; color: $primary; } .title-desc { width: 70%; margin: 0 auto 72px; font-size: 0.875rem; line-height: 2; color: lighten($gray , 10); @media screen and (max-width: 768px) { width: 95%; } } // customer home page .customer-holder { background-color: $white; text-align: center; padding: 2.5rem 0; .title-desc { margin-bottom: 2.5rem; } .owl-carousel { .item { img { display: block; width: 100%; opacity: 0.2; transition: ease opacity 500ms; &:hover { opacity: 1; } } } } } // contact-us home page .contact-us-holder { text-align: center; padding: 2.5rem 0; .submit-holder { text-align: right; } .contact-info-holder { .contact-info { display: flex; margin-bottom: 1rem; .fa { color: $secondary; } } .contact-info-content { text-align: right; margin-right: 0.75rem; .contact-title { color: $secondary; } } } } // ------------------------------------ // Our team page // ------------------------------------ .our-team-holder { padding: 2.5rem 0; .title, .title-desc { text-align: justify; } .title-desc { width: 100%; } .our-team-item { display: flex; align-items: center; margin-bottom: 72px; } .title-desc , .our-team-item { @media screen and (max-width: 576px) { margin-bottom: 2.52rem; } } .avatar-holder { img { width: 7rem; height: 7rem; border-radius: 50%; } } .teammate-name { line-height: 2; margin-bottom: 0.5rem; @media screen and (max-width: 576px) { margin-bottom: 0.25rem; font-size: 0.8rem; } } .teammate-job { color: $primary; font-weight: 500; margin-bottom: 0.5rem; } .teammate-contact { a { margin-left: 0.4rem; } .fa { color: lighten($secondary, 10); } } .teammate-description-holder { margin-right: 0.75rem; } .our-team-padding { padding: 0 20px; } } // ------------------------------------ // employment page // ------------------------------------ .employment-list-holder { padding: 2.5rem 0; .title-desc { margin-bottom: 45px; } .accordion-item { margin-bottom: 0.75rem; // border-bottom: 4px solid $secondary; // border-top: 1px solid $secondary; // border-left: 1px solid $secondary; // border-right: 1px solid $secondary; border-radius: 0.93rem; &:not(:first-of-type) { border: 1px solid rgba(0, 0, 0, 0.125); } &:last-child { margin-bottom: 0; } } .accordion-button { border-radius: 0.93rem; background: white; color: $primary; font-size: 1.2rem; font-weight: 600; &:focus { box-shadow: none; } &:after { margin-right: auto; margin-left: 0; } } .accordion-item:last-of-type .accordion-button.collapsed, .accordion-item:first-of-type .accordion-button { border-radius: 0.93rem; } .accordion-body { .title { font-size: 1.1rem; text-align: right; font-weight: 500; } ul { list-style-type: none; padding-right: 1.2rem; padding-left: 1.2rem; li { line-height: 2; &:before { content: '✓'; color: $primary; padding: 2px 0 2px 2px; font-weight: 600; } } } } } .employment-steps-holder { .mb-feature { @media screen and (min-width: 992px){ margin-bottom: 3rem; } } .feature-content { min-height: 75px; display: flex; align-items: center; justify-content: center; } .step-item { color: $primary; font-weight: 600; font-size: 1rem; } } //.accordion-button.collapsed::after, .accordion-button:not(.collapsed)::after { // background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='red'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); //}