/*!
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */
 

/* General Styles */

body {
    overflow-x: hidden;
    color: #5a64a8;
    letter-spacing: 0.08em;
    font-size: 16px;
}

.caps {
	text-transform: uppercase;
	}
p {
    font-size: 1.2em;
}

p.small {
    font-size: 1em;
    line-height: 1.8em;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
    color: #bd9219;
    color: #ff0056;
    color: #5a64a8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    font-family: lato,Helvetica,Arial,sans-serif;
    font-weight: bold;
    letter-spacing: 0.08em;
}

h2 { font-size: 2.2em;}


hr.star-light,
hr.star-primary {
    margin: 25px auto 30px;
    padding: 0;
    max-width: 250px;
    border: 0;
    border-top: solid 5px;
    text-align: center;
}

hr.star-light:after,
hr.star-primary:after {
    content: "\f005";
    display: inline-block;
    position: relative;
    top: -.8em;
    padding: 0 .25em;
    font-family: FontAwesome;
    font-size: 2em;
}

hr.star-light {
    border-color: #fff;
}

hr.star-light:after {
    color: #fff;
    background-color: #18bc9c;
}

hr.star-primary {
    border-color: #2c3e50;
}

hr.star-primary:after {
    color: #2c3e50;
    background-color: #fff;
}

.img-centered {
    margin: 0 auto;
}

header {
    text-align: center;
    color: #fff;
    background: #18bc9c;
    background: #ff1d25;
    background: #ff1d25;
}



header .container {
    padding-top: 100px;
    padding-bottom: 50px; 
}


.navbar-default .navbar-header a.navbar-brand {
    font-family: 'lato','Helvetica Neue',Arial,sans-serif;
    letter-spacing: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.08em;
    font-size: 1.3em;

}

a.navbar-brand:hover,
a.navbar-brand:focus {
	color:#ff1d25 !important;

}

.container li.page-scroll a {
	color: black;
	color: #5a64a8;
	/*font-weight: normal;*/
	width: auto;
	padding: 20px 0px 2px 0;
	margin-right: 60px;
}

.container li.page-scroll.active a {
		color: #8394ff;
        background: none;  
}

.navbar-nav.navbar-right:last-child {
    margin-right: -60px;
}

#bs-example-navbar-collapse-1 ul.nav.navbar-nav.navbar-right li.page-scroll.active a, 
#bs-example-navbar-collapse-1 ul.nav.navbar-nav.navbar-right li.page-scroll a:hover {
		color: #A9ACD9;
		color:#ff1d25;
        background: none;
        /*border-bottom: 2px solid #ff1d25;*/
}

header img {
    display: block;
    margin: 0 auto 20px;
    width: 30%;
}

@media(max-width:768px) {
	
	header img {
    display: block;
    margin: 0 auto 20px;
    width: 50%;
}
}

header .intro-text .name {
    display: block;
    text-transform: uppercase;
    font-family: lato,Helvetica,Arial,sans-serif;
    font-size: 2em;
    font-weight: 700;
}

header .intro-text .skills {
    font-size: 1.25em;
    font-weight: 300;
}

.navbar-default {
	background: #FFF;
	color: #000;
	color: #5a64a8;
}

div.navbar-header a.navbar-brand {
	color: #000;
	color: #5a64a8;
	font-family: lato,Helvetica,Arial,sans-serif;
}

div.navbar-button {
	border: none;
	color: #5a64a8;
	background: : #5a64a8;
}

.navbar-default .navbar-toggle {
	border: 1px solid rgba(0, 0, 0, 0) !important;
    border-color: none;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
    border:  1px solid rgba(0, 0, 0, 0) !important;
    background-color: rgba(0, 0, 0, 0) !important;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #5a64a8;
}

.navbar-default .navbar-toggle .icon-bar:hover,
.navbar-default .navbar-toggle .icon-bar:focus {
    background-color: #ff1d25 !important;
}
.navbar-toggle .icon-bar {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 1px;
}  

/* hamburger menu stretch media query for mobile */

@media(max-width:648px) {
	
    #bs-example-navbar-collapse-1.navbar-collapse { 
		padding: 60px 0 150px 30px;
		overflow: hidden;
	}
}

.navbar-shrink .container,
.navbar-fixed-top .container 
   	{   
	    padding-top: 0; 
	    padding-bottom: 0;
	}
	
@media(min-width:768px) {
   header .container {
        padding-top: 130px;
        padding-bottom: 30px;
    }
    .navbar-shrink .container,
    .navbar-fixed-top .container 
    { 
	    padding-top: 0; 
	    padding-bottom: 0;
	}
    
    header .intro-text .name {
        font-size: 4.75em;
    }

    header .intro-text .skills {
        font-size: 1.75em;
    }
    
}

@media(min-width:768px) {
	
    .navbar-fixed-top {
        padding: 10px 0;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
    }

    .navbar-fixed-top .navbar-brand {
        font-size: 1.5em;
        font-weight: 400;
        font-family: lato,Helvetica,Arial,sans-serif;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }

    .navbar-fixed-top.navbar-shrink {
        padding: 10px 0;
    }

    .navbar-fixed-top.navbar-shrink .navbar-brand {
        font-size: 1.5em;
        font-weight: 400;
        font-family: lato,Helvetica,Arial,sans-serif;
    }
}

.navbar {
    text-transform: uppercase;
    font-family: lato,Helvetica,Arial,sans-serif;
    font-weight: 700;
    color: #5a64a8;
}


.navbar a:focus {
    outline: 0;
}

.navbar .navbar-nav {
etter-spacing: 0.05em;
}
/* nav focus colour */
.navbar .navbar-nav li a:focus {
    outline: 0;
    color:#5a64a8;
}

.navbar-default,
.navbar-inverse {
    border: 0;
}

section {
    padding: 100px 0;
}

section h2 {
    margin: 0;
    font-size: 1.6em;
}

section.success {
    color: #fff;
    background: #18bc9c;
    background: #ff1d25;
}
section.success p {
    line-height: 1.8em;
    font-weight: normal;
}

@media(max-width:767px) {
    section {
        padding: 75px 0;
    }

    section.first {
        padding-top: 75px;
    }
}

#portfolio .portfolio-item {
    right: 0;
    margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
    /* max-width: 400px; */
}

#portfolio .portfolio-item .portfolio-link .caption {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(24,188,156,.9);
    background: rgba(244,83,111,.9);
    background: rgba(255,29,37,.9);
    background: rgba(90, 100, 168, 0.9);
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

#portfolio .portfolio-item .portfolio-link .caption:hover {
    opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    font-size: 20px;
    color: #fff;
}


#portfolio .portfolio-item .portfolio-link .caption .caption-content i {
    margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content h3,
#portfolio .portfolio-item .portfolio-link .caption .caption-content h4 {
    margin: 0;
}

#portfolio * {
    z-index: 2;
}

#portfolioModal1 div.modal-backdrop.fade.in {
	background: transparent;
}

.modal-body {
    z-index: 1100;
}

@media(min-width:767px) {
	
    #portfolio .portfolio-item {
        margin: 0 0 30px;
    }
}

.btn-outline {
    margin-top: 15px;
    border: solid 2px #fff;
    font-size: 20px;
    color: #fff;
    background: 0 0;
    transition: all .3s ease-in-out;
}

#clients .portfolio-item {
    right: 0;
    margin: 0 0 15px;
}

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



.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
    border: solid 2px #fff;
    border: none;
    color: #18bc9c;
    color: #ff1d25;
    background: #fff;
    background: #5a64a8;
}

/* FOOTER */

footer {
    color: #fff;
}

footer h3 {
    margin-bottom: 30px;
}

footer .footer-above {
    padding-top: 50px;
    background-color: #2c3e50;
    
}

footer .footer-col {
    margin-bottom: 50px;
}

footer .footer-below {
    padding: 25px 0;
    background-color: transparent;
    color: #5a64a8;
}




.fa.fa-3x {
	font-size: 2em; 
	color:#ff1d25;
	}

.btn-social {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 2px solid #5a64a8;
    border-radius: 100%;
    text-align: center;
    font-size: 20px;
    line-height: 45px;
    color: #5a64a8;
    }

.btn:focus,
.btn:active,
.btn.active {
    outline: 0;
}

.btn-social:hover {
	color: #fff;
}

.scroll-top {
    z-index: 1049;
    position: fixed;
    right: 2%;
    bottom: 2%;
    width: 50px;
    height: 50px;
}

.scroll-top .btn {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 28px;
}

.scroll-top .btn:focus {
    outline: 0;
}

/* Portfolio modal */
.modal { 
	overflow: scroll;
}

.modal-backdrop {
    position: absolute;
    background: #fff;
    background-color: #fff;
}

.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    text-align: center;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.portfolio-modal .modal-content h2 {
    margin: 0;
    font-size: 2.2em;
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.portfolio-modal .modal-content .item-details {
    margin: 30px 0;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
}

.portfolio-modal .close-modal:hover {
    opacity: .3;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #2c3e50;
    -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: #2c3e50;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

p.modal-title {
	text-transform: uppercase;
	font-weight: bold;
}


.btn-primary {
    background-color: transparent;
    border: 2px solid #5a64a8;
    color: #5a64a8;
}
.btn-primary:hover {
    background-color: #5a64a8;
    border: 2px solid #5a64a8;
    color: #ffffff;
}

/* responsive video */
.embed-container { 
	 position: relative; 
	 padding-bottom: 56.25%; 
	 height: 0; 
	 overflow: hidden; 
	 max-width: 100%; 
	 height: auto; 
} 

.embed-container iframe, 
 	.embed-container object, 
 	.embed-container embed { 
	 	position: absolute; 
	 	top: 0; 
	 	left: 0; 
	 	width: 100%; 
	 	height: 100%; 
}