/* General styles */

:root {
    /* --red-1: #e11b22; */
    --red-dark: var(--red);
    --red: #e11b22;
}

body {
    font-size: 15px;
    line-height: 24px;
    font-family: 'PFD';
    color: #484848;
}

/* h1, h3, h4, h5, h6 { */

h1 {
    font-weight: bold;
    line-height: 1.6;
    text-transform: uppercase;
    color: #484848;
    font-family: 'PFD';
}

h1 {
    font-size: 70px;
    margin: 0;
    line-height: 72px;
}

h2 {
    font-size: 30px;
    margin: 0 0 20px;
}

h3 {
    font-size: 2.5em;
    /* text-decoration: underline; */
    /* font-weight: bold; */
    margin: 0 0 10px;
}


img {
    width: 100%;
}

.a a,
button {
    outline: 0 !important;
}

a:hover,
a:focus {
    text-decoration: none
}

/* All Transition */

.list-inline.info a,
.list-inline.social_icon a,
nav.navbar.bootsnav ul.nav>li>a,
.attr-nav>ul>li>a,
.btn.know_btn,
#filters>button,
.portfolio_hover_area,
.portfolio_hover_area .fa,
.testimonial_content,
.testimonial_content p:first-child::before,
#contact_form .form-control,
#contact_form .btn.submit_btn,
footer a,
.footer_social_icon .fa,
.post .date,
#scrollUp {
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
}

/* Header */

/*Preloader css*/

#loading {
    background-color: #fff;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1;
    margin-top: 0px;
    top: 0px;
    z-index: 1000;
}

#loading-center {
    width: 100%;
    height: 100%;
    position: relative;
}

#loading-center-absolute {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 50px;
    width: 150px;
    margin-top: -25px;
    margin-left: -75px;
}

.object {
    width: 8px;
    height: 50px;
    margin-right: 5px;
    background-color: var(--red);
    -webkit-animation: animate 1s infinite;
    animation: animate 1s infinite;
    float: left;
}

.object:last-child {
    margin-right: 0px;
}

.object:nth-child(10) {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
}

.object:nth-child(9) {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.object:nth-child(8) {
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

.object:nth-child(7) {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.object:nth-child(6) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.object:nth-child(5) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.object:nth-child(4) {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.object:nth-child(3) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.object:nth-child(2) {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

@-webkit-keyframes animate {
    50% {
        -ms-transform: translateX(-25px) scaleY(0.5);
        -webkit-transform: translateX(-25px) scaleY(0.5);
        transform: translateX(-25px) scaleY(0.5);
    }
}

@keyframes animate {
    50% {
        -ms-transform: translateX(-25px) scaleY(0.5);
        -webkit-transform: translateX(-25px) scaleY(0.5);
        transform: translateX(-25px) scaleY(0.5);
    }
}

/*End off Preloader*/

/* Top Nav */

.top_nav {
    background: #ffcb0f none repeat scroll 0 0;
    overflow: hidden;
    padding: 10px 0;
}

.list-inline.info {
    float: left;
    margin: 0;
}

.list-inline.info>li {
    padding: 0 20px 0 0;
}

.list-inline.info a,
.list-inline.social_icon a {
    color: #222;
}

.list-inline.info a:hover,
.list-inline.social_icon a:hover {
    color: #555;
}

.list-inline.info a .fa,
.list-inline.social_icon a .fa {
    font-size: 20px;
    vertical-align: text-top;
}

.list-inline.social_icon {
    float: right;
    margin: 0;
}

.btn.know_btn {
    margin: 20px 0;
    background: var(--red) none repeat scroll 0 0;
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: 0.1s ease;
}

/* About */

.about_content {
    margin-right: 25px;
}

.about_content>h2 {
    font-size: 40px;
    margin: 45px 0 15px;
    color: #332d2d;
}

.about_content>h3 {
    font-size: 30px;
    margin: 2px 0 30px;
    text-transform: inherit;
}

.about_content>p {
    font-size: 20px;
    margin-bottom: 18px;
    /*text-align: justify;*/
}

.about_content .btn.know_btn {
    margin: 18px 0 60px;
}

/* .about_bg {
    background: url(../images/about_bg.png)no-repeat right;
} */

/*Head Title*/

.head_title p {
    line-height: 2.3rem;
}

/* Why us */

#why_us {
    background: #f2f7fa none repeat scroll 0 0;
    padding-bottom: 50px;
    line-height: 18px;
}

#why_us h2 {
    color: var(--red);
    margin: 70px 0 20px;
}

.why_us_item {
    padding-top: 55px;
}

.why_us_item h4 {
    color: var(--red);
}

#why_us .fa {
    border-radius: 100%;
    /* box-shadow: 0 0 0 10px var(--red), 0 0 0 15px maroon; */
    box-shadow: 0 0 0 10px var(--red), 0 0 0 12px slategrey;
    padding: 38px;
    font-size: 45px;
}

.why_us_item>h4 {
    font-size: 15px;
    margin: 60px 0 20px;
}

/* Services */

#services h2 {
    color: var(--red);
    margin: 10px 0 30px;
    text-align: center;
}

.service_item>h3 {
    margin: 25px 0 15px;
}

.service_item .btn.know_btn {
    margin: 20px 0 100px;
}

/* Contact form */

#contact_form {
    background: var(--red) none repeat scroll 0 0;
    padding: 27px 0 32px;
}

#contact_form h2 {
    /* font-size: 5em; */
    margin: 20px 0 0;
    color: #ededee;
}

#contact_form .second_heading {
    font-size: 50px;
    margin: 8px 0;
}

/* #contact_form form.form-inline {
   
} */

#contact_form .form-inline .form-control {
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    height: 45px;
    margin: 8px;
    padding: 10px 20px;
    box-shadow: none;
}

#contact_form .form-inline textarea.form-control {
    width: 100vw;
    height: 200px;
    resize: none;
}

#contact_form .form-control:focus {
    border: 2px solid #ffcb0f;
    box-shadow: 0px 0px 5px 1px #ffcb0f;
}

#contact_form .btn.submit_btn {
    background: #73757e none repeat scroll 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    height: 45px;
    width: 120px;
    border-radius: 10px;
    margin: 6px 0;
}

.form-control::-moz-placeholder {
    color: #adadad;
}

.form-control:-ms-input-placeholder {
    color: #adadad;
}

.form-control::-webkit-input-placeholder {
    color: #adadad;
}

#contact_form .btn.submit_btn:hover {
    background: #555 none repeat scroll 0 0;
}

/* Footer */

footer {
    background: url('../images/footer-background.jpg')no-repeat;
    background-size: cover;
    position: relative;
    /* padding-top: 45px; */
}

footer::before {
    /* background: rgba(255, 255, 255, 0.33) none repeat scroll 0 0; */
    content: "";
    height: 45px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

footer::after {
    background: rgba(34, 37, 51, 0.9) none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.footer_top,
.footer_bottom {
    position: relative;
    z-index: 1;
    color: #fff;
}

.footer_item {
    margin-top: 75px;
}

.footer_item>h4 {
    color: #fff;
    font-size: 25px;
    margin-bottom: 34px;
    text-transform: inherit;
}

.footer_item .list-unstyled>li a {
    color: #fff;
}

/* Footer About */

.footer_item .logo {
    margin-bottom: 15px;
    width: 200px;
}

.list-inline.footer_social_icon {
    margin: 32px 0 0;
}

.footer_social_icon .fa {
    background: var(--red) none repeat scroll 0 0;
    border-radius: 100%;
    color: rgb(255, 255, 255);
    font-size: 20px;
    height: 45px;
    padding: 12px;
    text-align: center;
    width: 45px;
}

.footer_item .footer_social_icon .fa:hover,
.footer_item .footer_social_icon .fa:focus {
    background: white none repeat scroll 0 0;
    color: black;
}

/* Footer Explore */

.footer_menu .fa {
    font-size: 10px;
    margin-right: 18px;
}

.list-unstyled.footer_menu>li {
    padding: 4px 0;
}

/* Footer Post */

.list-unstyled.post,
.list-unstyled.footer_contact {
    margin-top: -14px;
}

.post .date {
    border: 2px solid #fff;
    border-radius: 100%;
    display: block;
    float: left;
    font-size: 20px;
    height: 50px;
    line-height: 12px;
    margin-right: 15px;
    padding: 10px;
    text-align: center;
    width: 50px;
}

.footer_item li a:hover .date,
.footer_item li a:focus .date {
    border: 2px solid #aaa;
}

.footer_item li a:hover,
.footer_item li a:focus {
    color: #aaa;
}

.post .date small {
    font-size: 12px;
}

.list-unstyled.post>li,
.list-unstyled.footer_contact>li {
    padding: 14px 0;
    overflow: hidden;
}

/* Footer Contact */

.footer_contact .fa {
    margin-right: 25px;
    text-align: center;
    width: 15px;
    float: left;
    font-size: 18px;
}

.list-unstyled.footer_contact p {
    overflow: hidden;
}

.footer_bottom {
    background: #1a1c27 none repeat scroll 0 0;
    padding: 28px 0 18px;
    margin-top: 55px;
}

.footer_bottom a {
    color: #ffcb0f;
}

.footer_bottom a:hover,
.footer_bottom a:focus {
    color: #d7a300;
}

/* ScrollUP */

#scrollUp {
    background: url(../images/top.png)no-repeat scroll 0 0;
    bottom: 20px;
    color: #000;
    height: 40px;
    right: 20px;
    width: 40px;
    opacity: 0.7;
}

#scrollUp:hover {
    background: url(../images/top.png)no-repeat scroll 0 -40px;
}

/* Responsive Styles for various devices */

@media (min-width: 1600px) {
    .container {
        width: 1200px;
    }
}

@media (max-width: 1199px) {
    h1 {
        font-size: 50px;
        line-height: 55px;
    }
    h2 {
        font-size: 25px;
    }
    .about_banner>img {
        width: 334px;
        display: block;
        margin: 0 auto;
    }
    #contact_form .second_heading {
        font-size: 30px;
    }
    #contact_form .form-inline .form-control {
        width: 202px;
    }
    #contact_form .form-inline textarea.form-control {
        width: 317px;
    }
    #contact_form .btn.submit_btn {
        width: 95px;
    }
}

@media (max-width: 991px) {
    .list-inline.info>li {
        padding: 0 12px 0 0;
    }
    .list-inline.social_icon>li {
        padding: 0 2px;
    }
    .container.about_bg {
        background-position: bottom 100px center;
    }
    #contact_form {
        text-align: center;
    }
    #contact_form form.form-inline {
        margin: 0 -8px;
        padding-right: 15px;
    }
    #contact_form .form-inline .form-control {
        width: 349px;
    }
    #contact_form .form-inline textarea.form-control {
        width: 538px;
    }
    #contact_form .btn.submit_btn {
        width: 168px;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 32px;
        line-height: 35px;
    }
    .list-inline.info {
        width: 60%;
    }
    .list-inline.social_icon {
        width: 40%;
        text-align: right;
    }
    .about_content>h2 {
        font-size: 26px;
        margin-top: 70px;
    }
    .about_content>h3 {
        font-size: 26px;
    }
    .service_item .btn.know_btn {
        margin-bottom: 80px;
    }
    #contact_form h2 {
        margin-top: 10px;
    }
    #contact_form .second_heading {
        margin: 8px 0 20px;
    }
    #contact_form form.form-inline {
        margin: 0;
    }
    #contact_form .form-inline .form-control,
    #contact_form .form-inline textarea.form-control {
        margin: 0;
        width: 100%;
    }
    #contact_form .btn.submit_btn {
        float: left;
        margin: 0;
        width: 145px;
    }
    .form-item {
        margin: 15px 0;
    }
}

@media (max-width: 479px) {
    h1 {
        font-size: 30px;
        line-height: 32px;
    }
    h3 {
        font-size: 17px;
    }
    .list-inline.info {
        margin-bottom: 10px;
        text-align: center;
        width: 100%;
    }
    .list-inline.info>li {
        padding: 0 8px;
    }
    .list-inline.social_icon {
        text-align: center;
        width: 100%;
        padding: 0 8px;
    }
    .btn.know_btn {
        font-size: 14px;
        font-weight: bolder;
        padding: 8px 14px;
    }
    .about_content>h3 {
        font-size: 24px;
    }
    .about_banner>img {
        width: 100%;
    }
    .list-inline.footer_social_icon>li {
        padding: 8px 3px;
    }
    .form-item {
        margin: 15px 0;
    }
    .footer_bottom p {
        margin: 0 10px;
    }
}