/* global */
@font-face {
    font-family: OpenSans;
    src: url(../fonts/OpenSans-Regular.ttf);
}
@font-face {
    font-family: OpenSansSemiBold;
    src: url(../fonts/OpenSans-Semibold.ttf);
}
@font-face {
    font-family: OpenSansBold;
    src: url(../fonts/OpenSans-Bold.ttf);
}
body {
    font-family: 'OpenSans';
}
a {
    text-decoration: none;
    color: #222;
}
a:hover {
    color: #e10613;
}
.button {
    background-color: #fff;
    padding: 10px 30px;
    color: #e10613;
    font-family: 'OpenSansBold';
    font-size: 18px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .2);
    border-radius: 30px;
    text-decoration: none;
    transition: .3s;
}
.button:hover {
    background-color: #e10613;
    color: #fff;
}
.section-title {
    text-align: center;
    font-family: 'OpenSansBold';
    font-size: 30px;
    margin-bottom: 50px;
}
.gray {
    background-color: #f5f6f8;
}
.white {
    background-color: #fff;
}
.header-small {
    height: 400px;
}
.py-100 {
    padding: 100px 0 !important;
}
.pb-100 {
    padding-bottom: 100px !important;
}
.pt-100 {
    padding-top: 100px !important;
}
.pe-100 {
    padding-right: 100px !important;
}

/* header */
.top-menu {
    background-color: #000;
    text-align: right;
    padding-bottom: 3px;
}
.top-menu a {
    color: #bbb;
    font-size: 13px;
    margin: 0 15px;
}
.logo {
    top: -27px;
    position: absolute;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .3);
    transition: .5s;
}
.logo img {
    width: 170px;
    transition: .3s;
}
.logo.small {
    top: 0;
    padding: 10px 20px;
}
.logo.small img {
    width: 110px;
}
.navbar ul a.small {
    padding: 10px 0;
}
.navbar {
    background-color: #f5f6f8;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, .2);
    padding: 0;
}
.navbar ul a {
    font-family: 'OpenSansSemiBold';
    color: #222;
    border-bottom: 2px solid #f5f6f8;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: 20px;
    transition: .3s;
}
.navbar ul a:hover {
    color: #222;
    border-bottom: 2px solid #e10613;
}
.nav-link.active {    
    border-bottom: 2px solid #e10613;
}
.header-content {
    background: url('../images/Tsys_Header_Modern-Engineering-Solutions.jpg') center top;
    height: 768px;
}
.header-title {
    font-family: 'OpenSansBold';
    font-size: 45px;
    line-height: 55px;
    margin-top: 250px;
    margin-bottom: 50px;
}

/* solutions */
.solutions {
    padding: 120px 0 100px;
    text-align: center;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border-top: 3px solid #e10613;
    border-left: 3px solid #e10613;
    margin-right: -15px;
}
.solution-item {
    display: block;
    padding: 40px 20px;
}
.solution-item:hover {
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .3);
    border-radius: 10px;
}
.solution-title {
    font-family: 'OpenSansBold';
    font-size: 18px;
    margin-top: 20px;
    min-height: 80px;
}

/* projects */
.parabola {
    height: 75px;
    background-color: #f5f6f8;
    border-radius: 100% 100% 0 0;
}
.parabola-white {
    margin-top: 50px;
    height: 75px;
    background-color: #fff;
    border-radius: 100% 100% 0 0;
}
.projects {
    padding-top: 50px;
}
.project {
    position: relative;
    border-radius: 10px;
    height: 370px;
    overflow: hidden;
    margin-bottom: 30px;
}
.project img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    transition: .3s;
}
.project-text {
    bottom: -55px;
    position: absolute;
    padding: 0 0 25px 20px;
    display: block;
    width: 100%;
    color: #fff;
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.6));
    transition: .3s;
}
.project:hover > img {
    transform: scale(1.1);
}
.project:hover > .project-text {
    bottom: 0px;
}
.project-title {
    font-size: 24px;
    font-family: 'OpenSansBold';
}
.project-subtitle {
    font-size: 16px;
    color: #ddd;
    margin-bottom: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding-right: 10px;
}
.read-more {
    color: #fff;
}
.read-more span {
    color: #e10613;
}
.project-bottom-text {
    font-family: 'OpenSansBold';
    font-size: 34px;
}
.project-bottom-text span {
    color: #e10613;
}

/* work with as */
.work {
    padding: 50px 0;
    color: #4a4a49;
    font-size: 18px;
}
.work ul,
.solar ul {
    list-style: none;
}
.work ul li,
.solar ul li {
    margin-bottom: 10px;
}
.work ul li::before,
.solar ul li::before {
    content: "\2022";
    color: #e10613;
    font-weight: bold;
    font-size: 20px;
    display: inline-block; 
    width: 12px;
}
.work-img {
    position: relative;
    width: 100%;
    height: 410px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .3);
}
.work-img img {
    width: 100%;
    height: 410px;
    object-fit: cover;
    transition: .3s;
}
.work-img img:hover {
    transform: scale(1.1);
}
.certificates {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: -50px;
}
.certificates img {
    -webkit-filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, .3));
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, .3));
}

/* footer */
footer {
    font-size: 18px;
}
.footer-hr {
    width: 50%;
    margin: 50px auto;
    border: 2px solid #ebebeb;
}
.footer-title {
    font-family: 'OpenSansBold';
    margin: 50px 0 30px;
}
footer p,
.view-more {
    color: #636362;
}
.view-more span {
    color: #e10613;
}
.email-holder {
    position: relative;
}
.email-subscribe {
    width: 100%;
    padding: 0 0 5px 35px;
    border: 1px solid #b9b9b9;
    border-radius: 5px;
}
.email-subscribe:focus {
    border: 1px solid #e10613;
    outline: 0px;
}
.email-holder img {
    position: absolute;
    top: 9px;
    left: 10px;
}
.button-subscribe {
    display: inline-block;
    background-color: #999999;
    padding: 10px 30px;
    margin-top: 30px;
    color: #fff;
    font-size: 18px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .2);
    border-radius: 30px;
    text-decoration: none;
    transition: .3s;
}
.button-subscribe:hover {
    background-color: #e10613;
    color: #fff;
}
.copyright {
    margin-top: 80px;
    border-top: 1px solid #b9b9b9;
    padding: 15px 0 20px;
}
.copyright a {
    margin-left: 20px;
}



/* --- About Us --- */
.header-small.aboutus {
    background: url('../images/Tsys_Header_About-Us.jpg') center top;
}
.header-small-title.aboutus {
    font-family: 'OpenSansBold';
    color: #fff;
    font-size: 46px;
    text-align: center;
    padding-top: 165px;
}
.mission {
    padding-top: 80px;
}



/* --- Projects --- */
.header-small.projectsp {
    background: url('../images/projects/Tsys_Header_Projects-Page.jpg') center top;
    text-align: center;
}
.header-small-title.projectsp {
    font-family: 'OpenSansBold';
    font-size: 46px;
    padding-top: 130px;
    margin-bottom: 50px;
}
.project-item {
    padding: 80px 0 120px;
}
.project-item.gray {
    padding: 45px 0 0;
}
.item-main {
    font-family: 'OpenSansBold';
}
.project-item-container {
    position: relative;
    padding: 50px 0 50px 50px;
    border-radius: 10px;
}
.project-item-container.left {
    padding: 50px 0;
}
.project-item-img {
    width: 80%;
    margin: -100px auto 0;
    border-radius: 10px;
    overflow: hidden;
}
.project-item-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: .3s;
}
.project-item-img:hover > img {
    transform: scale(1.1);
}
.project-item-img-info {
    position: relative;
    padding: 15px 20px;
    color: #fff;
    background-color: #d71f25;
    border-radius: 10px;
    width: 70%;
    margin: -50px auto 0;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .2);
}
.project-item-img-info p {
    margin: 0;
}
.info-main {
    font-family: 'OpenSansSemiBold';
}
.info-second {
    color: #ccc;
}
.project-item-img-info .col-6:first-child {
    border-right: 1px solid #fff;
}
.project-gallery-img {
    height: 240px;
    overflow: hidden;
    border-radius: 10px;
}
.project-gallery-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    cursor: pointer;
    transition: .3s;
}
.project-gallery-img:hover > img {
    transform: scale(1.1);
}
.redline {
    padding: 70px 50px 90px;
    background-color: #d71f25;
    margin-bottom: 40px;
}

/* --- Contact Us --- */
.contactus {
    background: url('../images/Tsys_Header_Contact-Us.jpg') center top;
    height: 700px;
}
.contacts-section {
    padding-bottom: 80px;
}
.contacts-holder {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    margin-top: -300px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .2);
    padding: 50px;
}
.form-title {
    font-size: 34px;
    font-family: 'OpenSansSemiBold';
}
.form-input {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid black;
    padding: 5px 0;
}
.form-input:focus {
    outline: 0px;
}
.border-green {
    border-color: #25b865;
}
.border-red {
    border-color: #e10613;
}
label {
    font-size: 12px;
    color: #777;
    margin-top: 20px;
}
.send-holder {
    margin-top: 80px;
    border-top: 1px solid black;
    padding-top: 30px;
}
.button-red {
    background-color: #e10613;
    padding: 10px 50px;
    color: #fff;
    font-family: 'OpenSansBold';
    font-size: 18px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .2);
    border-radius: 30px;
    border: none;
    text-decoration: none;
    transition: .3s;
}
.button-red:hover {
    background-color: #fff;
    color: #e10613;
}
textarea {
    resize: none;
}

/* --- Why work with us --- */
.header-small.workp {
    background: url('../images/Tsys_Header_Why-Work-With-Us.jpg') center top;
    text-align: center;
}
.header-small-title.workp {
    font-family: 'OpenSansBold';
    color: #fff;
    font-size: 46px;
    line-height: 56px;
    padding-top: 120px;
    margin-bottom: 50px;
}
.work-steps {
    width: 100%;
    text-align: center;
}
.step-title {
    margin-top: 20px;
    font-family: 'OpenSansBold';
    max-width: 150px;
}
.work-icon {
    margin: 0 10px;
    padding-top: 60px;
}
.quote {
    margin: 100px auto -220px;
    width: 700px;
    position: relative;
    background-color: #fff;
    padding: 100px;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .2);
}
.qright {
    position: absolute;
    top: 20px;
    right: 40px;
}
.qleft {
    position: absolute;
    bottom: 20px;
    left: 40px;
}
.certificates-container {
    margin: 280px 0 100px;
}
.certificates-container .certificates {
    margin-top: 50px;
}
.cert {
    padding: 0 100px
}

/* --- Solutions --- */
.header-content.solutionsp {
    background: url('../images/Tsys_Header_Solution.jpg') center top;
}
.solutionsp .header-title {
    color: #fff;
}
.our-solution {
    padding: 100px 0;
}
.solutionp-item {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    margin-bottom: 10px;
    height: 70px;
    padding: 10px 15px 10px 25px;
    border-bottom: 2px solid #fff;
    box-sizing: border-box;
    transition: .3s;
}
.solutionp-item:hover {
    border-color: #e10613;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .2);
}
.solutionp-title {
    width: 75%;
    align-self: center;
    font-family: 'OpenSansBold';
}
.solutionp-item img {
    height: 50px;
}
.work-datas {
    padding: 0 100px;
    text-align: center;
}
.work-data {
    display: inline-block;
    margin-bottom: 50px;
}
.work-data-5 {
    display: inline-block;
    vertical-align: top;
    margin: 0 40px 50px;
}
.sm-quote {
    margin: 100px auto -180px;
    width: 700px;
    position: relative;
    background-color: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .3);
}
.redline-work {
    padding: 200px 50px 90px;
    background-color: #d71f25;
    margin-bottom: 40px;
}
.telecoms-data {
    padding: 0 150px;
    text-align: center;
}
.telecom-data {
    display: inline-block;
    margin-bottom: 50px;
}
.solar-title {
    font-size: 34px;
    font-family: 'OpenSansBold';
    margin: 50px 0 20px;
}

/* --- gallery --- */
.main-gallery {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    z-index: 1050;
    justify-content: center;
    align-items: center;
}
.main-gallery-image-container {
    position: relative;
    text-align: center;
    color: #fff;
}
.main-gallery-image-container > img {
    max-width: 100%;
    max-height: 90vh;
}
.main-gallery-close {
    position: absolute;
    top: 2px;
    right: 2px;
    line-height: 30px;
    background-color: rgba(0, 0, 0, .6);
    cursor: pointer;
}
.main-gallery-prev {
    position: absolute;
    left: 0;
    top: calc(50% - 45px);
    padding: 40px 10px;
    background-color: rgba(0, 0, 0, .6);
    cursor: pointer;
}
.main-gallery-next {
    position: absolute;
    right: 0;
    top: calc(50% - 45px);
    padding: 40px 10px;
    background-color: rgba(0, 0, 0, .6);
    cursor: pointer;
}



/* >>> Responsive <<< */
@media screen and (max-width: 992px) {
    .logo {
        top: 0;
        padding: 10px 20px;
    }
    .logo img {
        width: 130px;
    }
    .logo.small img {
        width: 90px;
    }
    .navbar-toggler {
        margin: 10px 0;
    }
    .navbar-nav {
        padding: 50px 0 20px;
    }
    .navbar ul a {
        padding: 10px 0;
    }
    .navbar ul a:hover,
    .navbar ul a.active {
        color: #e10613 !important;
        border-bottom: 2px solid #f5f6f8;
    }
    .header-content {
        height: 500px;
        text-align: center;
    }
    .header-title {
        font-size: 36px;
        line-height: 44px;
        margin-top: 100px;
    }
    .header-small-title.workp {
        font-size: 36px;
        line-height: 46px;
        padding-top: 80px;
    }
    .section-title {
        padding-bottom: 20px;
    }
    .solutions {
        padding: 50px 0;
    }
    .projects {
        padding-top: 0;
    }
    .project,
    .project img {
        height: 300px;
    }
    .project-bottom-text {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .work {
        padding: 20px 0;
    }
    .work-img {
        margin-top: 30px;
    }
    .certificates {
        margin-top: -40px;
    }
    .certificates img {
        width: 80px;
    }
    .project-item-container {
        padding: 50px 0;
    }
    .project-item-img img {
        height: 350px;
    }
    .project-gallery-img {
        margin-bottom: 15px;
    }
    .form-title {
        font-size: 26px;
        margin: 50px 0 15px;
    }
    .telecoms-data {
        padding: 0;
    }
    .quote {
        width: 95%;
        padding: 60px 30px;
        margin-top: 70px;
    }
    .sm-quote {
        width: 100%;
        margin-top: 50px;
        padding: 30px;
    }
    .cert {
        padding: 0 20px;
    }
}



@media screen and (max-width: 540px) {
    .pe-100 {
        padding-right: 40px !important;
    }
    .py-100 {
        padding: 40px 0 !important;
    }
    .pb-100 {
        padding-bottom: 40px !important;
    }
    .mb-70 {
        margin-bottom: 70px !important;
    }
    .pt-100 {
        padding-top: 40px !important;
    }

    .top-menu .col {
        display: flex;
        justify-content: space-between;
        padding-top: 3px;
    }
    .top-menu .col a {
        margin: 0;
    }
    .section-title {
        margin-bottom: 0px;
    }
    .project,
    .project img {
        height: 250px;
    }
    .project-item-container,
    .project-item-container.left {
        padding-bottom: 0;
    }
    .project-item {
        padding: 40px 0 50px;
    }
    .project-item-img {
        width: 90%;
    }
    .project-item-img img {
        height: 250px;
    }
    .project-item-img-info {
        width: 80%;
    }
    .project-text {
        bottom: 0;
    }
    .project-bottom-text {
        text-align: center;
    }
    .contactus {
        height: 500px;
    }
    .contacts-holder img {
        width: 150px;
    }
    .work-steps {
        overflow-x: scroll;
    }
    .work-icon {
        margin: 0 25px;
    }
    .work-datas {
        padding: 0;
    }
    .work-data,
    .work-data-5 {
        margin: 0 20px 30px;
    }
    .mission {
        padding-top: 0;
    }
    .solar-title {
        text-align: center;
    }
    footer {
        text-align: center;
    }
}
