body,
html {
    font-family: 'Open Sans', sans-serif;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    color: #777;
    background-color: #FFFFFF;
}

h1 strong {
    font-weight: 900;
}

h2 {
    line-height: 20px;
    margin: 0;
}

h3 {
    font-size: 18px;
    font-weight: 500;
    color: #444;
    text-transform: capitalize;
}

h4 {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
    color: #444;
}

h5 {
    text-transform: uppercase;
    font-weight: 700;
    line-height: 20px;
}

p {
    color: #555;
    font-size: 16px;
}

a {
    color: #ed1c23;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #f38181;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

.img-centered {
    margin: 0 auto;
}


/* Navigation */

#menu {
    padding: 20px;
    transition: all 0.8s;
}

#menu.navbar-default {
    background-color: rgba(248, 248, 248, 0);
    border-color: rgba(231, 231, 231, 0);
}

#menu.navbar-default .navbar-nav>li>a {
    color: #ed1c23;
    font-size: 25px;
    font-weight: 400;
    text-transform: capitalize;
    padding: 10px 24px;
}

#menu.navbar-default .navbar-nav>li>a:hover {
    color: #000;
}

nav .active {
    color: #000 !important;
}

.on {
    background-color: #fff !important;
    padding: 0 20px !important;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #fff !important;
    background-color: transparent;
}

.navbar-toggle {
    border-radius: 0;
    margin: 23px 10px;
    background: #ed1c23;
    border-radius: 5px;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #ed1c23;
    border-color: #ed1c23;
}

.navbar-default .navbar-toggle:hover>.icon-bar {
    background-color: #FFF;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}


/* Home Style */

header {
    background: url(../img/header-bg.jpg) no-repeat bottom center;
    background-size: cover;
    color: #cfcfcf;
    position: relative;
    height: 100%;
}

header p {
    color: #ffffff;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.intro-text {
    position: relative;
    padding-top: 300px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 220px;
}

.intro-text H1 {
    font-size: 70px;
    text-transform: uppercase;
    color: #FFFFFF;
    font-weight: 500;
}

.intro-text .brand {
    font-weight: 700;
}

.btn-default {
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
    margin: 0 8px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active {
    background-color: rgba(245, 152, 152, 0.8);
    border: 2px solid rgba(245, 152, 152, 0.2);
    color: #fff;
}


/* About Section */

#about {
    padding: 210px 15px 70px;
}

#about p.para {
    font-size: 24px;
    line-height: 40px;
}

#about p,
#about ul li {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 20px;
    list-style: disc;
}

#about ul {
    margin: 20px;
    padding: 0;
}

#about img {
    width: 100%;
}


/* Team Section */

.team {
    text-align: center;
}

.team img {
    display: inline-block !important;
}

.section-title.center {
    padding: 30px 0;
}

.section-title h2,
.section-title.center h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #444;
    text-transform: uppercase;
}

.section-title hr {
    height: 3px;
    width: 60px;
    background: #ed1c23;
    position: relative;
    border: 0;
    margin-top: 40px;
    margin-bottom: 40px;
}


/* Services Section */

#services {
    padding: 210px 0 0;
}

.pb100 {
    padding-bottom: 100px;
}

.mb25 {
    margin-bottom: 25px;
}

h3 {
    font-size: 24px;
    line-height: 35px;
}

.color-red {
    color: #ed1c23 !important;
}

h3 small {
    font-size: 40px;
    display: block;
    text-transform: capitalize;
}

.bg-gray {
    background-color: #f7f7f7!important;
}

.pb100 {
    padding-bottom: 100px;
}

.pt100 {
    padding-top: 100px;
}


/* Gallery Section 
==============================*/

#works-section {
    padding: 210px 0 0 0;
    min-height: 900px;
}

.categories {
    padding-bottom: 30px;
    text-align: center;
}

ul.cat li {
    display: inline-block;
}

ol.type li {
    display: inline-block;
    margin-left: 20px;
}

ol.type li a {
    padding: 4px 8px;
    text-transform: uppercase;
    font-size: 16px;
}

ol.type li a.active {
    color: #ffffff;
    background: #ed1c23;
}

ol.type li a:hover {
    color: #ffffff;
    background: #ed1c23;
}

.isotope-item {
    z-index: 2
}

.isotope-hidden.isotope-item {
    z-index: 1
}

.isotope,
.isotope .isotope-item {
    /* change duration value to whatever you like */
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

.isotope-item {
    margin-right: -1px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    padding: 0 10px;
    margin-top: 5px;
}

.isotope {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    transition-property: height, width;
}

.isotope .isotope-item {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    transition-property: transform, opacity;
}

.portfolio-item {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.08);
    padding: 7px;
    box-shadow: 0 1px 18px 0px #ccc;
}

.portfolio-item .hover-bg {
    max-height: auto;
    overflow: hidden;
    position: relative;
}

.hover-bg .hover-text {
    position: absolute;
    text-align: center;
    margin: 0 auto;
    color: #ffffff;
    background: rgba(237, 28, 35, 0.7);
    padding: 25% 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: all 0.5s;
}

.hover-bg .hover-text p {
    color: #fff;
    font-size: 16px;
    font-weight: 300;
}

.hover-bg .hover-text>h4 {
    opacity: 0;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    transition: all 0.3s;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
}

.hover-bg:hover .hover-text>h4 {
    opacity: 1;
    backface-visibility: hidden;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.hover-bg:hover .hover-text {
    opacity: 1;
}

#works-section i.fa {
    height: 30px;
    width: 30px;
    border: 1px solid rgba(25, 181, 254, 0.3);
    font-size: 20px;
    padding: 5px;
    border-radius: 50%;
    color: #19B5FE;
}

.testGeneratorTxt .portfolio-item {
    background: transparent;
    text-align: center;
}

.testGeneratorTxt .portfolio-item ul li {
    display: inline-block;
    color: #fff;
    padding: 0 25px;
    font-size: 17px;
    font-weight: 500;
}

.portfolio-modal .modal-content {
    padding: 30px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    font-size: 15px;
    font-weight: 300;
    text-align: center;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+50,f6f6f6+100 */
    background: #ffffff;
    /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 50%, #f6f6f6 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 50%, #f6f6f6 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 50%, #f6f6f6 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6', GradientType=0);
    /* IE6-9 */
}

.portfolio-modal .modal-content h2 {
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 600;
}

.portfolio-modal .modal-content p {
    margin-bottom: 30px;
    font-size: 18px;
}

.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 30px;
    font-style: italic;
    font-size: 16px;
}

.portfolio-modal .modal-content ul.list-inline {
    margin-top: 0;
    margin-bottom: 30px;
}

.portfolio-modal .modal-content ul.list-inline span {
    font-weight: 600;
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
    z-index: 1;
}

.portfolio-modal .close-modal:hover {
    opacity: .3;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #222;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    background-color: #222;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.portfolio-modal .btn-primary {
    color: #777;
    background-color: transparent;
    border: 2px solid #ddd;
    border-radius: 0;
}

.portfolio-modal .btn-primary:hover,
.portfolio-modal .btn-primary:focus,
.portfolio-modal .btn-primary.focus,
.portfolio-modal .btn-primary:active,
.portfolio-modal .btn-primary.active {
    color: #fff;
    background-color: #ed1c23;
    border: 2px solid #ed1c23;
}


/* Achivements Section */

#achievements {
    padding: 0 0 50px 0;
    background: #CCCCCC;
}

.achievement-box i.fa {
    font-size: 54px;
    font-weight: 400;
    color: #19B5FE;
    margin-bottom: 20px;
}

.achievement-box h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.achievement-box span.count {
    font-size: 52px;
    font-weight: 600;
    display: block;
    color: #fff;
}

.owl-theme .owl-controls {
    margin-top: 10px;
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0;
}

#sliderHome img {
    width: 100%;
}

.carousel-caption h1 {
    font-size: 60px;
    line-height: 70px;
    font-weight: 800 !important;
}

.carousel-caption p {
    font-size: 20px;
    color: #000 !important;
}

.carousel-caption {
    top: 10%;
    text-align: left;
    left: 30px;
    color: #000;
    text-shadow: none;
}

.carousel-caption p a {
    color: #ed1c23 !important;
    font-weight: 700;
    text-decoration: underline;
}

.owl-theme .owl-controls .owl-page span {
    display: block;
    width: 14px;
    height: 14px;
    margin: 5px 7px;
    filter: Alpha(Opacity=1);
    opacity: 1;
    border-radius: 0;
    background: #fff;
    transition: all 0.5s;
    border: 1px solid #bfc3c6;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
    filter: Alpha(Opacity=100);
    opacity: 1;
    background: #ed1c23;
    border: 1px solid #ed1c23;
}

.owl-theme .owl-controls .owl-page.active span {
    background: #ed1c23;
    border: 1px solid #ed1c23;
}


/* Contact Section */

#contact-section {
    padding: 210px 0 80px 0;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+50,f6f6f6+100 */
    background: #ffffff;
    /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 50%, #f6f6f6 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 50%, #f6f6f6 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 50%, #f6f6f6 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6', GradientType=0);
    /* IE6-9 */
}

#contact-section h3 {
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 30px;
}

#contact-section form {
    padding: 0 0 30px 0;
}

#contact-section i.fa {
    color: #ccc;
    margin-right: 20px;
}

label {
    font-size: 12px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    float: left;
}

input {
    height: 50px !important;
}

#contact-section .form-control {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 2px solid #ddd;
    border-radius: 5px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

#contact-section .form-control:focus {
    border-color: inherit;
    outline: 0;
    -webkit-box-shadow: transparent;
    box-shadow: transparent;
}

.btn {
    background: #fbfbfb;
    border: 2px solid #ccc;
    padding: 13px 30px;
    margin-top: 20px;
    margin-left: 0;
    color: #aaa;
    font-size: 15px;
    border-radius: 5px;
}

.btn:hover,
.btn:focus {
    background: #ed1c23;
    border: 2px solid #ed1c23;
    color: #fff;
}

.text-danger {
    color: #cc3300;
    text-align: left;
}

.btn:active,
.btn.active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: none;
    outline-offset: none;
}


/* Social Section */

#social-section {
    padding: 35px 0 25px 0;
    background-color: #e6e6e6;
    text-align: center;
}

#social-section .social ul li {
    display: inline-block;
    margin: 0 30px;
}

#social-section .social i.fa {
    color: #ed1c23;
    font-size: 26px;
    padding: 8px 0;
    width: 40px;
    height: 40px;
    transition: all 0.5s;
}

#social-section .social i.fa:hover {
    color: #fff;
    background: #ed1c23;
}

.sending-message {
    background: #34495e;
}

.statusMessage {
    opacity: 1;
    text-align: center;
    display: none;
    margin: auto;
    float: left;
    width: 400px;
    height: 80px;
    padding: 10px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px
}

.statusMessage p {
    color: #fff!important
}

.sending-message {
    background: #34495e
}

.success-message {
    background: #2ecc71
}

.failure-message {
    background: #e74c3c
}


/* Footer */

#footer {
    background: #f6f6f6;
    padding: 15px 0 10px 0;
}

#footer p {
    font-size: 13px;
    margin-top: 10px;
    color: #888;
}

.sub-menu-parent {
    position: relative;
}

.sub-menu {
    background: #ed1c23;
    visibility: hidden;
    /* hides sub-menu */
    opacity: 0;
    position: absolute;
    top: 90%;
    left: 0px;
    width: 145px;
    text-align: center;
    transform: translateY(-2em);
    z-index: -1;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.sub-menu a {
    color: #fff;
    width: 100%;
    display: block;
    padding: 18px;
    font-size: 24px;
}

.sub-menu-parent:focus .sub-menu,
.sub-menu-parent:focus-within .sub-menu,
.sub-menu-parent:hover .sub-menu {
    visibility: visible;
    /* shows sub-menu */
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
    /* this removes the transition delay so the menu will be visible while the other styles transition */
}

@media (max-width: 768px) {
    .content {
        padding: 40% 0 0;
    }
    #menu.navbar-default,
    .on {
        background-color: #f0f0f0 !important;
        padding: 0 !important;
    }
    #about,
    #services,
    #contact-section,
    #works-section {
        padding: 130px 0 0;
    }
    .pt100 {
        padding: 0 0 100px;
    }
    .sub-menu {
        visibility: visible !important;
        position: relative !important;
        color: #ed1c23 !important;
        opacity: 100 !important;
        left: 20px !important;
        width: 89% !important;
        text-align: left !important;
        margin: 1% 0 !important;
        transform: inherit !important;
    }
	.mobileBg{display:block !important;}
	.desktopBg{display:none !important;}
	.carousel-caption h1 {
    font-size: 38px !important;
    line-height: normal !important;
}
}
.mobileBg{display:none;}
@media (max-width: 603px) {
    label {
        float: none !important
    }
    .hover-bg .hover-text {
        padding: 12% 0;
    }
}

@media (max-width: 360px) {
    .hover-bg .hover-text {
        padding: 22% 10%;
    }
}