/**

Mini Profile Template

https://templatemo.com/tm-530-mini-profile


Color Codes
------------
brown: #986665;
green: #98cb00;
orange: #cc6733;
blue: #3398cc;
dark-gray: #676767;
light-gray: #999999;
text-gray: #6b6b6b;

*/

html {
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #6b6b6b;
    overflow-x: hidden;
}

a,
button {
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

.container-fluid {
    max-width: 1200px;
    position: relative;
}

.tm-bg-black-transparent {
    background-color: rgba(0, 0, 0, 0.5);
}

.tm-bg-white-transparent {
    background-color: rgba(255, 255, 255, 0.8);
}

.tm-bg-green {
    background-color: #98cb00;
}

.tm-bg-orange {
    background-color: #cc6733;
}

.tm-bg-blue {
    background-color: #3398cc;
}

.tm-bg-dark-gray {
    background-color: #676767;
}

/*
  Welcome section
*/
#tmWelcome {
    position: relative;
    display: flex;
    align-items: center;
}

.ty-pos {
    position: relative;
}

.header {
    height: 80px;
    width: 100%;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 140px;
}

.phones {
    width: 20%;
    display: flex;
    align-items: center;
}

.about-us {
    height: 24px;
    width: 100%;
}

.phone-number {
    font-size: 1.4rem;
    margin: 0;
}

.calc {
    display: flex;
    justify-content: center;
    align-items: center;
}

.span-text {
    font-weight: 200;
}

.call-us {
    background-color: transparent;
    color: #98cb00;
    position: relative;
    &:hover,
    &:focus,
    &:active {
        cursor: pointer;
        color: #98cb00;
        &:after {
            width: 100%;
        }
    }

    &:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        height: 3px;
        background-color: #98cb00;
        width: 0;
        transition: width 1s;
    }
}

.write-us {
    background-color: transparent;
    color: #98cb00;
    position: relative;
    &:hover,
    &:focus,
    &:active {
        cursor: pointer;
        color: #98cb00;
        &:after {
            width: 100%;
        }
    }

    &:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        height: 3px;
        background-color: #98cb00;
        width: 0;
        transition: width 1s;
    }
}

.button-calc {
    background-color: transparent;
    color: whitesmoke;
    position: relative;
    &:hover,
    &:focus,
    &:active {
        cursor: pointer;
        color: whitesmoke;
        &:after {
            width: 100%;
        }
    }

    &:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        height: 3px;
        background-color: whitesmoke;
        width: 0;
        transition: width 1s;
    }

    /* padding: 0 40px; */
    /* animation: my_border 4s linear infinite; */
}

.contact-ph {
    width: 100%;
    transition: 0.6s ease-in-out;
    border: 0px solid whitesmoke;
}

.contact-ph:hover {
    border: 8px solid whitesmoke;
    transform: scale(2);
}

.contact-text {
    margin-top: 24px;
    text-align: center;
}

.all-links {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.links-style {
    width: 50px;
    height: 50px;
}

.footer-w {
    width: 100%;
    padding: 16px 140px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
}

.footer-flex {
    width: 20%;
    display: flex;
    justify-content: space-between;
}

.tm-brand-container-outer {
    margin-top: -400px;
}

.tm-brand-container-inner {
    max-width: 600px;
    width: 100%;
}

.tm-brand-container-inner-sec {
    max-width: 300px;
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tm-brand-container {
    padding: 50px 70px;
}

.tm-brand-name {
    font-size: 3rem;
}

.tm-brand-description {
    font-size: 1.4rem;
}

.parallax-window {
    min-height: 1100px;
    background: transparent;
}

#tmContact {
    min-height: 1197px;
}

.tm-welcome-container {
    min-height: 400px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: stretch;
}

.tm-welcome-title {
    margin-bottom: 16px;
}

.tm-welcome-left {
    padding-right: 30px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.tm-welcome-left-col {
    display: flex;
    align-items: center;
}

.tm-welcome-right {
    color: white;
    background-color: transparent;
    width: 100%;
    padding: 50px 0;
}

.tm-welcome-right-image {
    width: 100%;
}

.tm-welcome-icon {
    margin-bottom: 50px;
    display: block;
    text-align: center;
}

/*
  Portfolio section
*/

#tmPortfolio {
    padding-top: 80px;
}

.tm-portfolio-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
}

.tm-portfolio-name {
    width: 330px;
    height: 220px;
    font-size: 2rem;
    padding: 70px 70px;
    display: flex;
    align-items: center;
    text-align: center;
}

.tm-portfolio-description {
    width: calc(100% - 330px);
    padding: 20px 45px;
}

.tm-portfolio-description h3 {
    margin-bottom: 20px;
}

.tm-text-green {
    color: #98cb00;
}

.tm-text-orange {
    color: #cc6733;
}

.tm-text-blue {
    color: #3398cc;
}

.tm-text-dark-gray {
    color: #676767;
}

.tm-title-small {
    font-size: 1.3rem;
}

p {
    line-height: 1.8;
}

/*
  Contact section
*/

#tmContact {
    padding-top: 95px;
}

.tm-contact-item {
    width: 33.3334%;
    max-width: 345px;
    height: auto;
    min-height: 420px;
    margin-right: 35px;
    background-color: white;
    padding: 34px 24px 44px;
}

.tm-contact-item:last-child {
    margin-right: 0;
}

.tm-contact-items-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 130px;
}

.tm-contact-item-icon {
    margin-bottom: 45px;
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#tmContactForm {
    width: 100%;
    max-width: 680px;
    padding: 45px 45px 30px;
    margin-bottom: 95px;
}

.form-group {
    max-width: 355px;
}

.form-control {
    background: transparent;
    border-color: #999999;
    padding: 15px 10px;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.tm-btn-submit {
    background-color: #999999;
    padding: 12px 30px;
    font-size: 1.2rem;
}

.tm-btn-submit:focus,
.tm-btn-submit:hover {
    background-color: #676767;
}

.tm-copyright-text {
    margin-bottom: 30px;
}

.tm-link {
    color: #676767;
}

.links-call {
    font-size: 2rem;
    color: whitesmoke;
}

.rass {
    color: #676767;
    border: 2px solid #676767;
    padding: 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.8);
}

.rass:hover {
    color: #222222;
}

.rs-button {
    margin-top: 16px;
}

.for-mobile-box {
    display: none;
}

/* @keyframes my_border {
    0% {
        clip-path: inset(10% 2% 4% 2%);
    }
    25% {
        clip-path: inset(6% 7% 6% 7%);
    }
    50% {
        clip-path: inset(4% 4% 2% 10%);
    }
    75% {
        clip-path: inset(3% 2% 4% 2%);
    }
    100% {
        clip-path: inset(10% 2% 4% 2%);
    }
} */

.ty-page {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    background-image: url("/img/5b.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
}

.ty-box {
    border-radius: 4px;
    width: 50vw;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
    background-color: rgba(0, 0, 0, 0.5);
}

.ty-main-text {
    color: whitesmoke;
    font-size: 3rem;
    text-align: center;
}

.ty-text {
    color: whitesmoke;
    font-size: 2rem;
    text-align: center;
}

.a-text {
    border: 1px solid whitesmoke;
    padding: 4px 16px;
    border-radius: 4px;
}

.a-text:hover {
    color: whitesmoke;
}

.for-mob {
    display: none;
}

.car-box {
    margin-bottom: 130px;
    padding: 16px 0;
    background-color: white;
}

.our-works {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 8px;
}

.text-works {
    font-size: 16px;
    text-align: center;
    padding: 0 16px;
}

.works-ref {
    color: whitesmoke;
    font-size: 20px;
    transition: 0.6s ease-in;
}

.works-ref:hover {
    background-color: transparent;
    color: whitesmoke;
    position: relative;
    &:hover,
    &:focus,
    &:active {
        cursor: pointer;
        color: whitesmoke;
        &:after {
            width: 100%;
        }
    }

    &:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        height: 3px;
        background-color: whitesmoke;
        width: 0;
        transition: width 1s;
    }
}

.last-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.car-img {
    width: 100%;
    opacity: 0.9;
}

.carousel {
    min-width: 900px;
    max-width: 1236px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 48px;
    padding-right: 48px;
    position: relative;
}

.activator {
    display: none;
}

.controls {
    display: none;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    right: 16px;
    left: 16px;
    bottom: 0;
}

.controls:first-of-type {
    justify-content: flex-end;
}

.controls:last-of-type {
    justify-content: flex-start;
}

.control {
    cursor: pointer;
    background-color: #3d414a;
    color: #fff;
    border-radius: 100%;
    box-shadow: 0 2px 10px 0 rgb(33 34 36 / 30%);
    font-size: 40px;
    height: 48px;
    justify-content: center;
    transition: 0.3s all;
    width: 48px;
    z-index: 1;
    text-align: center;
    line-height: 40px;
}

.control:hover {
    transform: scale(1.05);
}

.activator:nth-of-type(1):checked ~ .controls:nth-of-type(1) {
    display: flex;
}

.activator:nth-of-type(1):checked ~ .screen .track {
    transform: translateX(0%);
}

.activator:nth-of-type(2):checked ~ .controls:nth-of-type(2) {
    display: flex;
}

.activator:nth-of-type(2):checked ~ .screen .track {
    transform: translateX(-100%);
}

.activator:nth-of-type(3):checked ~ .controls:nth-of-type(3) {
    display: flex;
}

.activator:nth-of-type(3):checked ~ .screen .track {
    transform: translateX(-200%);
}

.activator:nth-of-type(4):checked ~ .controls:nth-of-type(4) {
    display: flex;
}

.activator:nth-of-type(4):checked ~ .screen .track {
    transform: translateX(-300%);
}

.activator:nth-of-type(5):checked ~ .controls:nth-of-type(5) {
    display: flex;
}

.activator:nth-of-type(5):checked ~ .screen .track {
    transform: translateX(-400%);
}

.activator:nth-of-type(6):checked ~ .controls:nth-of-type(6) {
    display: flex;
}

.activator:nth-of-type(6):checked ~ .screen .track {
    transform: translateX(-500%);
}

.activator:nth-of-type(7):checked ~ .controls:nth-of-type(7) {
    display: flex;
}

.activator:nth-of-type(7):checked ~ .screen .track {
    transform: translateX(-600%);
}

.activator:nth-of-type(8):checked ~ .controls:nth-of-type(8) {
    display: flex;
}

.activator:nth-of-type(8):checked ~ .screen .track {
    transform: translateX(-700%);
}

.activator:nth-of-type(9):checked ~ .controls:nth-of-type(9) {
    display: flex;
}

.activator:nth-of-type(9):checked ~ .screen .track {
    transform: translateX(-800%);
}

.activator:nth-of-type(10):checked ~ .controls:nth-of-type(10) {
    display: flex;
}

.activator:nth-of-type(10):checked ~ .screen .track {
    transform: translateX(-900%);
}

.screen {
    overflow: hidden;
    margin-left: -16px;
    margin-right: -16px;
}

.track {
    font-size: 0;
    transition: all 0.3s ease 0s;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.item {
    display: inline-flex;
    padding-left: 16px;
    padding-right: 16px;
    vertical-align: top;
    white-space: normal;
}

.item--desktop-in-1 {
    width: 100%;
}

.item--desktop-in-2 {
    width: 50%;
}

.item--desktop-in-3 {
    width: 33.3333333333%;
}

.item--desktop-in-4 {
    width: 25%;
}

.item--desktop-in-5 {
    width: 20%;
}

.demo-container {
    display: flex;
    position: absolute;
    top: 0;
    align-items: center;
    bottom: 0;
    left: 0;
    right: 0;
}

.demo-content {
    color: #fff;
    display: flex;
    font-family: Helvetica;
    font-weight: 100;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border-radius: 3px;
    font-size: 56px;
    height: 250px;
    width: 100%;
}

.item:nth-child(1) .demo-content {
    background-color: #216485;
}

.item:nth-child(2) .demo-content {
    background-color: #3692b6;
}

.item:nth-child(3) .demo-content {
    background-color: #6fccc9;
}

.item:nth-child(4) .demo-content {
    background-color: #a6e3cf;
}

.item:nth-child(5) .demo-content {
    background-color: #aff0be;
}

.item:nth-child(6) .demo-content {
    background-color: #527059;
}

.item:nth-child(7) .demo-content {
    background-color: #676767;
}

@media screen and (max-width: 1023px) {
    .carousel {
        padding-left: 0;
        padding-right: 0;
    }

    .activator:nth-of-type(n):checked ~ .controls:nth-of-type(n) {
        display: none;
    }

    .activator:nth-of-type(n):checked ~ .screen .track {
        transform: none;
    }

    .screen {
        margin-left: 0;
        margin-right: 0;
    }

    .track {
        overflow-x: auto;
        width: auto;
        padding-left: 48px;
        padding-right: 48px;
    }

    .item--tablet-in-1 {
        width: 90%;
    }

    .item--tablet-in-2 {
        width: 45%;
    }

    .item--tablet-in-3 {
        width: 30%;
    }
}

@media screen and (max-width: 650px) {
    .track {
        padding-left: 0;
        padding-right: 0;
    }

    .item--mobile-in-1 {
        width: 90%;
    }

    .item--mobile-in-2 {
        width: 45%;
    }

    .item--mobile-in-3 {
        width: 30%;
    }
}

@media (max-width: 1054px) {
    .tm-contact-item-icon {
        margin-bottom: 15px;
    }
}

@media (max-width: 991px) {
    .tm-contact-items-container {
        flex-direction: column;
    }

    .tm-contact-item {
        width: auto;
        max-width: 680px;
        min-height: 0;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
    }

    .tm-contact-item:last-child {
        margin-right: auto;
        margin-bottom: 0;
    }

    #tmContactForm {
        margin-left: auto;
        margin-right: auto;
    }

    .phone-number {
        font-size: 16px;
    }
    .links-style {
        width: 35px;
        height: 35px;
    }
    .header {
        padding: 16px 70px;
    }
    .footer-w {
        padding: 16px 32px;
    }
    .cont-none {
        display: none;
    }
}

@media (max-width: 730px) {
    .tm-portfolio-item {
        flex-direction: column;
    }
    .for-mob {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-color: transparent;
        position: absolute;
        top: 80px;
        margin-top: 16px;
    }
    .parallax-window {
        min-height: 720px;
    }

    .tm-welcome-container {
        display: none;
    }

    .tm-portfolio-name {
        justify-content: center;
    }

    .tm-portfolio-name,
    .tm-portfolio-description {
        width: 100%;
    }

    .tm-portfolio-description {
        padding: 20px 30px;
    }
    .links-style {
        width: 25px;
        height: 25px;
    }
    .button-calc {
        font-size: 20px;
        text-align: center;
    }
    .footer-w {
        padding: 16px 32px;
    }
    .footer-flex {
        width: 40%;
    }
    .all-links {
        width: 40%;
    }
    .li-style {
        color: #000000;
        text-shadow: 1px 1px 2px rgb(255, 255, 255);
    }
    .tm-welcome-left {
        margin: 0 auto;
        padding-right: 0;
        padding-bottom: 0;
        padding-top: 0;
    }
    .tm-brand-container-inner {
        margin-top: 80px;
    }
    .calc {
        display: none;
    }
    .phones {
        width: 50%;
    }
    .tm-welcome-title {
        text-align: center;
        color: #222222;
    }
    p {
        text-align: center;
    }
    h3 {
        text-align: center;
    }
    .for-med {
        position: relative;
    }
    .pos-obsh {
        margin-top: -720px;
        background-color: transparent;

        height: 600px;
    }
    .call-us-sec {
        font-size: 24px;
    }
    .tm-welcome-right-image {
        border: 4px solid whitesmoke;
    }
    #tmPortfolio {
        padding-top: 16px;
    }
    .tm-portfolio-item {
        margin-bottom: 16px;
    }
    .tm-welcome-title {
        margin-bottom: 16px;
    }
    .tm-welcome-container {
        min-height: 240px;
    }
    #tmContactForm {
        margin-bottom: 16px;
    }
    .tm-contact-items-container {
        margin-bottom: 16px;
    }
    .tm-contact-item {
        margin-bottom: 16px;
    }
    #tmContact {
        padding-top: 16px;
    }
    .ul-style {
        color: #222222;
    }
    .tm-welcome-title {
        font-size: 1.8rem;
    }
    .col-mb {
        color: #222222;
    }
    .rs-button {
        display: flex;
        justify-content: center;
    }

    .rass {
        border: 1px solid whitesmoke;
        display: flex;
        justify-content: center;
    }

    .none-vis-in-mob {
        display: none;
    }

    .mob-text-works {
        color: whitesmoke;
    }

    .for-mobile-box {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 16px 0;
        border: 1px solid whitesmoke;
        margin-bottom: 16px;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .mob-in {
        border: 1px solid whitesmoke;
        padding: 8px;
        color: whitesmoke;
    }

    .mob-in:hover {
        color: #676767;
    }
}

@media (max-width: 572px) {
    .tm-brand-container {
        padding: 45px;
    }
    .links-style {
        width: 25px;
        height: 25px;
    }
    .header {
        padding: 16px 32px;
    }
    .button-calc {
        font-size: 16px;
    }
    .footer-w {
        padding: 16px 32px;
    }
    .calc {
        display: none;
    }
    .footer-flex {
        width: 40%;
    }
    .all-links {
        width: 40%;
    }
    .tm-brand-container-inner {
        margin-top: 80px;
    }
    .phones {
        width: 50%;
    }
    .tm-welcome-title {
        text-align: center;
    }
    p {
        text-align: center;
    }
    h3 {
        text-align: center;
    }
    .ty-main-text {
        font-size: 1.5rem;
    }
    .ty-text {
        font-size: 1rem;
    }
    .ty-box {
        width: 100vw;
        height: 100vh;
        padding: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        justify-content: space-evenly;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 443px) {
    .tm-brand-name {
        font-size: 3rem;
    }

    .tm-brand-container {
        padding: 25px;
    }
    .links-style {
        width: 25px;
        height: 25px;
    }
    .header {
        padding: 16px 16px;
    }
    .button-calc {
        font-size: 16px;
    }
    .footer-w {
        padding: 16px 16px;
    }
    .footer-flex {
        width: 40%;
    }
    .all-links {
        width: 40%;
    }
    .phones {
        width: 50%;
    }
    p {
        text-align: center;
    }
    h3 {
        text-align: center;
    }
}
