body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
}

.container iframe {
	max-width: 100% !important;

}

a {
    color: var(--primary);
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

a:hover {
    color: var(--primary);
}

.btn {
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    text-transform: uppercase;
    border-radius: 0;
}

.btn-common {
    background: #3d566e;
    color: #fff;
}

.btn-common:hover {
    background: #e74c3c;
    color: #fff;
}

.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;
}


.title {
    text-align: center;
    font-size: 50px;
}

.subtitle {
    text-align: center;
    font-weight: 100;
    padding-bottom: 30px;
    position: relative;
    color: #bdc3c7;
}

.navbar {
    margin-bottom: 0;
}

.navbar li {
    color: #d1d1d1;
}

.navbar-default {
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.9);
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background: none;
    color: #fff;
}

.navbar-default .navbar-nav li a,
.navbar-default .navbar-nav li a:hover {
    color: #fff;
}

.navbar-default .navbar-nav > .active,
.navbar-default .navbar-nav li:hover {
    background: #e74c3c;
    padding-bottom: 5px;
    color: #fff;
}

.navbar-default .navbar-brand {
    /*font-size: 25px;*/
    color: #fff;
    font-weight: 100;
}

.navbar-default .navbar-brand:hover {
    color: #eee;
}

.navbar-default .navbar-toggle .icon-bar {
    background: #fff;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background: var(--secondary);
}

.affix.navbar-default {
    background: rgba(0, 0, 0, 0.8);
}

#hero-area {
    background: #34495e;
    color: #fff;
}

#hero-area .btn {
    margin-right: 20px;
}

#hero-area img {
    max-width: 100%;
}

#hero-area p {
    padding: 50px 0;
}

#services h3 {
    margin-top: 0;
    font-size: 28px;
    color: #e74c3c;
}

/*Portfolio*/
#portfolio {
    background: #f1f1f1;
}

/*Portfolio Overlay */
.portfolio-item {
    position: relative;
    margin-bottom: 15px;
}

.portfolio-item img {
    width: 100%;
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
}

.portfolio-item:hover .overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8);
    display: block;
}

.portfolio-item .icons .preview {
    position: absolute;
    left: 40%;
    top: 40%;
    color: #fff;
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.portfolio-item .icons .preview i {
    color: #e74c3c;
}

#clients {
    background: #fff;
}

#about {
    background: #34495e;
    color: #fff;
}

#about p {
    line-height: 30px;
    font-size: 17px;
}

#contact {
    background: var(--secondary);
    color: #fff;
}

#contact ::-webkit-input-placeholder {
    color: #b2b2b2;
}

#contact :-moz-placeholder {
    color: #b2b2b2;
}

#contact ::-moz-placeholder {
    color: #b2b2b2;
}

#contact :-ms-input-placeholder {
    color: #b2b2b2;
}

#contact .social i {
    color: #fff;
    padding: 10px;
    margin-right: 5px;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    background: #34495e;
}

#contact .social .social-links a:hover {
    color: #fff;
}

#contact .social .fa-facebook:hover {
    background: #3b5998;
    color: #fff;
}

#contact .social .fa-twitter:hover {
    background: #00CAFB;
    color: #fff;
}

#contact .social .fa-google-plus:hover {
    background: #D23A1D;
    color: #fff;
}

#contact .social .fa-linkedin:hover {
    background: #007bb6;
    color: #fff;
}

#contact .social .fa-dribbble:hover {
    background: #ea4c89;
    color: #fff;
}

#contact .social .fa-github:hover {
    background: #171515;
    color: #fff;
}

#contact .contact-info {
    margin: 40px 0;
}

#contact .contact-info p {
    font-size: 20px;
}

#contact .contact-form .form-control {
    box-shadow: none;
    font-size: 17px;
    margin-bottom: 20px;
    border-radius: 0;
    border: none;
}


/*Scroll Top*/
.to-top i {
    padding: 10px 15px;
    margin: 10px;
    background: transparent;
    color: #34495e;
    border: 2px solid #34495e;
}

.to-top i:hover {
    background: #34495e;
    color: #fff;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}


#copyright {
    background: var(--secondary);
    color: #fff;
}

#copyright a {
    color: #fff;
    font-weight: bold
}

#product-row{
    padding: 0px 0px !important;
}


.breadcrumb {
    background-color: #fff;
}


.no-bottom-padding {
    padding-bottom: 0;
}


.no-top-padding {
    padding-top: 0;
}


.section-bottom-padding {
    padding-bottom: 25px;
}


.logo-menu a.navbar-brand {
    font-size: 1.5em;
}


.clear-both {
    clear: both;
}


@media only screen and (max-width: 490px) {

    .padding-top-60-xs {
        padding-top: 60px !important;
    }
    

}


@media only screen and (max-width: 420px) {

    .logo-menu a.navbar-brand {
        font-size: 1.2em;
    }
    

}


@media only screen and (max-width: 366px) {

    .logo-menu a.navbar-brand {
        font-size: 1em;
    }
    

}


/********************************************************
Intro Container
********************************************************/
.overlay .container{
    word-wrap: break-word !important;
}


#hero-area{
    background-size: 100% 100% !important;
}


/*---------------------------------------------------
Media Queries
---------------------------------------------------*/
/* Smartphones (portrait and landscape) */

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 1.3rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 1.3rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.3rem !important;
    }
    
}


/* Smartphones (landscape) */

@media only screen and (min-width : 321px) {
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 4rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 2rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.3rem !important;
    }
    
}


/* Smartphones (portrait) */

@media only screen and (max-width : 320px) {
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 4rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 1.7rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.4rem !important;
    }
    
}


/* iPads (portrait and landscape) */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 3.5rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 3.5rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 3.5rem !important;
    }
    
}


/* iPads (landscape) */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 5rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 2rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.3rem !important;
    }
    
}


/* iPads (portrait) */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 3.5rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 3.5rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 3.5rem !important;
    }
    
}


/* iPad 3 */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 3.5rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 3.5rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 3.5rem !important;
    }
    
}


@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 3.5rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 3.5rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 3.5rem !important;
    }
    
}


/* Desktops and laptops */

@media only screen  and (min-width : 1224px) {
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 5rem !important;
    }
    
}


/* Large screens ----------- */
@media only screen  and (min-width : 1824px) {
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 5rem !important;
    }
    
}


/* iPhone 4 */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 1.3rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 1.3rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.3rem !important;
    }
    
}


@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 1.3rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 1.3rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.3rem !important;
    }
    
}


/* iPhone 5 */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 2rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 2rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 2rem !important;
    }
    
}


@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 2rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 2rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 2rem !important;
    }
    
}


/* iPhone 6 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 2rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 2rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 2rem !important;
    }
    
}


@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 1.5rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 1.5rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.5rem !important;
    }
    
}


/* iPhone 6+ */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 1.8rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 1.8rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.8rem !important;
    }
    
}


@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 1.8rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 1.8rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.8rem !important;
    }
    
}


/* Samsung Galaxy S3 */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 1.3rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 1.3rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.3rem !important;
    }
    
}


@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 1.3rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 1.3rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.3rem !important;
    }
    
}


/* Samsung Galaxy S4 */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 1.3rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 1.3rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.3rem !important;
    }
    
}


@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 1.3rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 1.3rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.3rem !important;
    }
    
}


/* Samsung Galaxy S5 */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 1.5rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 1.5rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.5rem !important;
    }
    
}


@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
    .overlay .container{
        word-wrap: break-word !important;
    }
    
    .box-holder .title{
        font-size: 1.5rem !important;
    }
    
    .box-holder .subtitle{
        font-size: 1.5rem !important;
    }
    
    .box-holder .btn-lg{
        font-size: 1.5rem !important;
    }
    
}

