@font-face {
    font-family: 'museo_sans500';
    src: url('fonts/MuseoSans_500-webfont.eot');
    src: url('fonts/MuseoSans_500-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/MuseoSans_500-webfont.woff') format('woff'),
         url('fonts/MuseoSans_500-webfont.ttf') format('truetype'),
         url('fonts/MuseoSans_500-webfont.svg#museo_sans500') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Preloader */
#preloader {
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#fff; /* change if the mask should have another color then white */
    z-index:99; /* makes sure it stays on top */
}

#status {
    width:200px;
    height:200px;
    position:absolute;
    left:50%; /* centers the loading animation horizontally one the screen */
    top:50%; /* centers the loading animation vertically one the screen */
    background-image:url(../img/ML-loader.gif); /* path to your loading animation */
    background-repeat:no-repeat;
    background-position:center;
    margin:-100px 0 0 -100px; /* is width and height divided by two */
}

.portfolio-modal {
   position: fixed!important;  /* <---------- */
   top: 0!important;
   left: 0!important;
   width: 100%!important;
   height: 100%!important;

}

.tab-content > .active {
    overflow: hidden;
}

body {
    overflow-x: hidden;
}

p {
    font-size: 1em;
    line-height: 1.65em;
    color: #555;
}


#strapline > h2 {
    margin-top: 1em;
    font-weight: 900;
    letter-spacing: -.02em;
    background: #ccc;
    width: 73%;
    margin: 1em auto .2em auto;
    font-size: 4em;
}

#strapline > strong {
    background: #fff;
    margin: auto;
    padding: 6px;
    display: block;
    font-size: 140%;
    width: 30%;
}

h3.main-subtitle {
border-top: 1px solid #ccc;
width: 95%;
display: block;
padding-top: 11px;
float: left;
}

.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right:30px;
    display:none;
    z-index: 3;
    opacity: .9;
}

/*load the heavy images into the page on load*/
div#preload { display: none; }



.grid_halves {
        width: 50%;
        margin: 0;
        float: left;
    }

small {display: block;}

.grid_thirds {
        width: 33%;
        margin: 0;
        float: left;
    }
.grid_quarters {
        display: inline-block;
        padding: 0;
        margin: 0;
        float: left;
        width: 24%;
    }
.grid_three_quarters  {
    width: 70%;
    margin: 0;
    float: left;
}

.modal-body {
    padding: 0;
    padding-top: 2em;}

.form-control {
    color: #454545;
}

/*sticky sidebar*/
.rightSidebar {
 
        float: right;
        padding:0;
        position: relative;
      }


span.read-more,
span.read-less {
    border-radius:3px;
    display: block;
    width: 7em;
    border: 1px solid #ccc;
    padding: 3px;
    margin: 1em 0;
}

p.small {
    font-size: 16px;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
    color: #888;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'museo_sans500', sans-serif;
    text-transform: uppercase;
}
.navbar-default .navbar-nav {font-size: 1.2em;text-transform: uppercase;}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    background: none;
    color: #454545;
    padding-bottom: 0.2em;
}

.navbar-brand {float: none;}
.navbar-brand strong { display: block; float: left; padding-top: 15px;}
.navbar-brand p {margin-left: 72px;padding: 0;margin-top: -23px;display: block;font-size: .55em;
}
.navbar {
opacity: .9;
background: #36C3F1;
/*box-shadow: 1px 1px 1px 2px #000;*/
}
.navbar-header {height: 60px;}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus,
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
    color: #454545;
}

.navbar-brand img.metalogo {
    padding-right: .3em;
    max-width: 100%!important;
    width: 75px;
    float: left;
}

/*Section backgrounds*/
#welcome {
    background: url(../img/harlequin-bg1.jpg) no-repeat;
    height: 1110px;
}
/*hide tabs*/
.tabs-hidden {
    display: none;
}
.modal-content {
    background: #45C4ED;
}
.modal-content.grey{
}
.modal-content.purple{
    background: #490144;
}
.modal-content.canon-red {
    background:#D40809;
}
.modal-content.edu-grey {
   background: #B9AEB2;
}
h3.steps-in-journey  {
color:#777;
}
.green-tick {color: green; padding-right:.5em;}

hr.star-light,
hr.star-primary {
    margin: 4px auto 7px;
    padding: 0;
    border: 0;
    text-align: center;
    max-width: 250px;
}
.modal-paragraph {
    margin-top: 7.68em;
    padding-left: 0;
}

.modal-showcase-images {
    display: block;
    margin: 15px 0;
    padding-top: 1em;
    width: 95%;
}
ul.special-tablinks {list-style-type: none; padding-left: 0;}
ul.special-tablinks li:before {
font-family: fontAwesome;
content: "\f03e";
color: #888;
padding-right: 1em;
}
.btn-default {
    background: #222;
}
.row {margin-bottom: 1em;}

/*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: #45C4ED;
}

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

.btn-success {
    background-color: #36C3F1;
}

.btn-success:hover, 
.btn-success:focus, 
.btn-success:active, 
.btn-success.active, 
.open .dropdown-toggle.btn-success {
    background-color: #454545;
}

hr.star-primary:after {
    color: #36C3F1;
    background-color: #fff;
}

.img-centered {
    margin: 0 auto;
}

header {
    text-align: center;
    color: #fff;
    background: #ccc;
}

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

header img, .profile > img {
    display: block;
    margin: 0 auto 20px;
}

header .intro-text .name {
    display: block;   
    font-family: 'museo_sans500', sans-serif; /*text-transform: uppercase;*/
    font-size: 2em;
    font-weight: 700;
}

span.name {
    font-family: 'museo_sans500', sans-serif;
    }

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

@media(min-width:768px) {
    header .container {
        padding: 200px 0 100px;
    }

    header .intro-text .name {
        color: #454545;
        font-size: 2em;
    }

    header .intro-text .skills {
        font-size: 1.45em;
        color: #454545;
    }
}

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

    .navbar-fixed-top .navbar-brand {
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
        font-size: 2.6em;
    }

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

    .navbar-fixed-top.navbar-shrink .navbar-brand {
        font-size: 2em;
    }
}

.navbar {
    font-family: 'museo_sans500', sans-serif;
}
.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    font-weight: bolder;
}

.navbar a:focus {
    outline: 0;
}

.navbar .navbar-nav {
    letter-spacing: 1px;
}

.navbar .navbar-nav li a:focus {
    outline: 0;
}

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

section {
    padding: 120px 0;
}

section h2 {
    margin: 0;
    color: #454545;
}

section.success {
    color: #fff;
    background: #ccc;
}

@media(max-width:767px) {

    section {
    padding: 75px 0;
    }
    section.first {
        padding-top: 75px;
    }
    .navbar-brand img.metalogo {
    margin-top: 0.7em;
    max-width: 50% !important;
    padding-right: 0.3em;
    width: 7%; 
    margin-left: 10px;
    min-width: 44px;
    }
    .navbar-brand p {
     display: none;
    }
    .navbar-brand strong {
    padding-top: 23px;
}

    #strapline {padding:0;}

    #strapline > h2 {
    margin-top: .3em;
    font-weight: 900;
    letter-spacing: -.02em;
    background: #ccc;
    width:50%;
    /*margin: 1em auto .2em auto;*/
    font-size: 2em;
}
}

#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: #fff;
    -webkit-transition: all ease .3s;
    -moz-transition: all ease .3s;
    transition: all ease .3s;
}

#portfolio .portfolio-item .portfolio-link .caption:hover {
    /*box-shadow: 2px 2px 6px inset #000;*/
    opacity: 0.18;
}

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

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

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

    #strapline{
        display: block;
        margin: 0;
        padding: .5em;
}

    #strapline > h2{
       /*font-size: 254%;*/
       padding: .5em;
       display: block;
       width: 80%;
       text-align: center;
}
#strapline > strong {
    width: auto;
}

.grid_halves, 
.grid_thirds, 
.grid_quarters,
.grid_three_quarters  {
    width: auto;
}

/*    .portfolio-modal .close-modal .lr .rl {
    background-color: #FFFFFF;
    height: 45px;
    transform: rotate(90deg);
    width: 3px;
    z-index: 1052;
}
.portfolio-modal .close-modal .lr {
    background-color: #FFFFFF;
    height: 45px;
    margin-left: 35px;
    transform: rotate(45deg);
    width: 3px;
    z-index: 1051;
}
.portfolio-modal .close-modal {
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    height: 29px;
    position: absolute;
    right: 0;
    top: 0;
    width: 63px;
    z-index: 2;
}*/
}

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

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
    border: solid 2px #555;
    color: #fff;
    background: #555;
}

.floating-label-form-group {
    position: relative;
    margin-bottom: 0;
    padding-bottom: .5em;
    border-bottom: 1px solid #eee;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
    z-index: 1;
    position: relative;
    padding-right: 0;
    padding-left: 0;
    border: 0;
    border-radius: 0;
    font-size: 1.5em;
    background: 0 0;
    box-shadow: none!important;
    resize: none;
}

.floating-label-form-group label {
    display: block;
    z-index: 0;
    position: relative;
    top: 2em;
    margin: 0;
    font-size: .85em;
    line-height: 1.764705882em;
    vertical-align: middle;
    vertical-align: baseline;
    opacity: 0;
    -webkit-transition: top .3s ease,opacity .3s ease;
    -moz-transition: top .3s ease,opacity .3s ease;
    -ms-transition: top .3s ease,opacity .3s ease;
    transition: top .3s ease,opacity .3s ease;
}

.floating-label-form-group::not(:first-child) {
    padding-left: 14px;
    border-left: 1px solid #eee;
}

.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
}

.floating-label-form-group-with-focus label {
    color: #18bc9c;
}

form .row:first-child .floating-label-form-group {
    border-top: 1px solid #eee;
}

footer {
    color: #fff;
}

footer h3 {
    margin-bottom: 30px;
}

footer .footer-above {
    padding-top: 50px;
    background-color: #36C3F1;
}

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

footer .footer-below {
    padding: 25px 0;
    background-color: #36C3F1;
}

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

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

.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-content {
    border: 0;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 0;
    min-height: 100%;
    border-radius: 0;
    background: #fff;
    text-align: left;
    margin-top: 80px;
}

.portfolio-modal .modal-content h2 {
    margin: 0;
    color: #000;
    font-size: 3.4em;
    letter-spacing: -.06em;
    text-transform: none;
    text-align: left;
    padding-bottom: .5em;
}

.portfolio-modal .modal-content img {
    padding: 15px;
    display: block;
    border: 1px solid #ccc;
}


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

.portfolio-modal .close-modal {
    top: 0px;
    right: 0px;
    width: 63px;
    height: 63px;
    cursor: pointer;
    background-color: transparent;
    position: absolute;
    z-index: 2;
}

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

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 3px;
    height: 45px;
    margin-left: 35px;
    background-color: red;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 3px;
    height: 45px;
    background-color: #4AC9F2;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

hr.star-primary.modal {
    border-color: #454545;
    border-top:2px solid #454545;
    display:none;
}