/* Hi, there!
   The only reason the css is not minified is to be readable for you.
   Thank you for your interest and happy reading.
*/
*
{
    margin: 0;
    padding: 0;
    outline: none;
    font-family: monospace;
}
section,
footer
{
    clear: both;
}
footer {
	margin-top: 100px;
    text-align: right;
}

.col
{
    margin: 0 auto;
    max-width: 920px;
    width: 85%;
}

.selected
{
    border: 1px solid red;
    background: red;
}

span
{
    white-space: nowrap;
}

.tac {
	text-align: center;
}

a:focus {
    outline: 0;
}

img {
    max-width: 100%;
}

.row {
    display: flex;
}

.col-sm,
.col-lg {
    box-sizing: border-box;
}
.col-sm { padding: 0 15px 0 25px;  width: 20%; }
.col-sm img { margin-bottom: 20px; }
.col-lg { padding: 0 0 0 15px; width: 80%; }

/*
** Animations
*/
.animate.ng-enter,
.animate.ng-leave
{
    -webkit-transition: .5s linear all;
            transition: .5s linear all;
}

.animate.ng-enter,
.animate.ng-leave.ng-leave-active
{
    opacity: 0;
}
.animate.ng-leave,
.animate.ng-enter.ng-enter-active
{
    opacity: 1;
}


/*
** Header
*/
#header
{
    display: block;
    overflow: hidden;
    margin-bottom: 30px;
    height: 280px;
    text-align: center;
}
#header__profile
{
    display: block;
}
#header__profile__pic
{
    width: 200px;
    border-radius: 50%;
}
#header__twitter
{
    display: block;
    font-size: 20px;
}

/*
** Ribbon
*/
#ribbon
{
    position: fixed;
    top: 20px;
    right: -40px;
    z-index: 100;
    padding: 5px 60px;
    background-color: red;
    box-shadow: 0 2px 3px #000;
    color: #fff;
    text-shadow: 0 1px 0 #000;
    -webkit-transform: rotate(45deg) ;
       -moz-transform: rotate(45deg) ;
        -ms-transform: rotate(45deg) ;
         -o-transform: rotate(45deg) ;
            transform: rotate(45deg) ;
}

#ribbon:before,
#ribbon:after
{
    position: absolute;
    left: -50%;
    display: block;
    width: 200%;
    border-top: 1px dashed grey;
    content: '';
}

/*
** Top navigation
*/
#topnav
{
    margin-bottom: 50px;
}
#topnav a
{
    padding: 0 15px 50px;
}

/*
** Skills List
*/
#skillsHeader
{
    padding-top: 30px;
    text-align: center;
}
.skills__search__input {
    display: inline;
    width: 100px;
    border: 0;
    text-align: center;
}
#skills__search--name
{
    /*width: 100%;*/
    /*margin-bottom: 15px;*/
    /*text-align: center;*/
    /*font-size: 15px;*/
}
#skills__search__clear
{
    display: inline-block;
    margin-bottom: 25px;
    padding: 0;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background-color: lightgrey;
    color: #fff;
    text-align: center;
    font-size: 20px;
    line-height: 20px;

    -webkit-appearance: none;
}
#skills__search__clear:hover
{
    color: #000;
}
#skills__search:focus
{
    outline: none;
}
.skillsList__title
{
    margin: 60px 0 20px;
    text-align: center;
}
.skillsList
{
    /*overflow: hidden;*/
    list-style: none;
    text-align: center;
}
.skillsList li
{
    position: relative;
    /*float: left;*/
    display: inline-block;
    /*line-height: 200px;*/
    margin-bottom: 20px;
    width: 20%;
    /*max-width: 250px;*/
    /*height: 20vw;*/
    /*max-height: 250px;*/
    text-align: center;
}
.skillsList li:hover
{
    margin-bottom: -20px;
}
.skillsList li:hover strong
{
    display: inline-block;
}

.skillsList li:hover strong:before
{
    position: absolute;
    top: -10px;
    left: 50%;
    display: block;
    margin-left: -5px;
    border: 5px solid rgba(0,0,0,.5);
    border-color: transparent transparent rgba(0,0,0,.5) transparent;
    content: '';
}
.skillsList strong
{
    position: relative;
    display: none;
    margin: 6px 0 0 0;
    padding: 0 20px;
    min-width: 50px;
    height: 20px;
    border-radius: 10px;
    background-color: rgba(0,0,0,.5);
    color: #fff;
    text-shadow: 0 1px 1px #000;
    line-height: 20px;
}
.skillsList img
{
    display: block;
    margin: 0 auto;
    max-width: 80%;
    max-height: 80%;
}

/*
** Next holiday
*/
.holiday__table
{
    text-align: right;
}
.day-holiday
{
    background: lightgreen;
}
.day-saturday
{
    background: lightgrey;
    opacity: .5;
}
.day-sunday
{
    background: grey;
    opacity: .5;
}
.day-bankholiday
{
    background: pink;
}
.cal
{
    float: left;
    clear: left;
    overflow: hidden;
    margin-bottom: 100px;
    /*width: 50%;*/
    margin-bottom: 40px;
}
.cal h1
{
    margin-bottom: 0;
}
.cal > div
{
    float: left;
    width: 100%;
}
.cal > div > div
{
    float: left;
    overflow: hidden;
    width: 6vw;
    height: 6vw;
    border-radius: 50%;
    text-align: center;
    text-overflow: ellipsis;
    /*font-size: 2vw;*/
    line-height: 6vw;
}


/*
** Time to next contract
*/
@font-face
{
    font-weight: normal;
    font-style: normal;
    font-family: 'DIGITALDREAMFATSKEWNARROW';
    src: url('http://localhost:3003/assets/fonts/DIGITALDREAMFATSKEWNARROW.eot');
    src: local('☺'),
    url('../fonts/DIGITALDREAMFATSKEWNARROW.woff') format('woff'),
    url('../fonts/DIGITALDREAMFATSKEWNARROW.ttf') format('truetype'),
    url('../fonts/DIGITALDREAMFATSKEWNARROW.svg') format('svg');
}
#ttnc
{
    text-align: center;
}
.ttnc__tile
{
    display: inline-block;
    padding: 10px;
    text-align: right;
    font-family: 'DIGITALDREAMFATSKEWNARROW';
}
.ttnc__label
{
    display: block;
}


/*
** CV
*/
/* #current { */
    /* display: none; */
/* } */


/*
** Portfolio
*/
#portfolio section {
    overflow: hidden;
    margin-bottom: 100px;
    background-position: right 25px;
    background-size: 50% auto;
    background-repeat: no-repeat;
}
    #portfolio h2 em {
        font-size: 18px;
    }
    #portfolio h3 {
        text-transform: uppercase;
        font-style: italic;
        font-size: 16px;
    }
    #portfolio a:hover {
        text-decoration: none;
    }

.shots--list {
    list-style-type: none;
}
    .shots--list li {
        position: relative;
        float: left;
        overflow: hidden;
        box-sizing: border-box;
        padding: 0 5px 20px 0;
        max-height: 200px;
        width: 20%;
        height: 30vh;
    }
    .shots--list li:after {
        position: absolute;
        bottom: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 50px;
        background: red;
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
        background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1)));
        background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
        background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
        background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
        background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
        content: '';
    }

    .shots--mazda li {
        max-height: none;
        height: auto;
    }
    .shots--mazda li:after {
        display: none;
    }
#fjord {
    background-image: url('../img/projects/fjord/fjord.jpg');

}
#importio {
    background-image: url('../img/projects/importio/import.io.png');
}
#mymazda {
    background-image: url('../img/projects/burrows/mymazda/_logo-mzl.qjognscn.175x175-75.jpg');
}
#burrows {
    /*background-image: url('../img/projects/burrows/_logo.png');*/
    background-image: url('../img/projects/burrows/burrows_wall.jpg');
    /*, url('../img/projects/burrows/_log_wpp.jpg');*/
    /*, right 80px;*/
}
#tmdr {
    background-image: url('../img/projects/tmdr/_logo_tmdr.png');
}
#telerik {
    background-image: url('../img/projects/telerik/_logo.png');
}
    #telerik em img {
        position: relative;
        top: -2px;
    }

#cv {
    margin-left: -20px
}

#cv p {
    margin: 20px 15px 10px;
}


/* Global Resets
html
{
    margin: 0 ;
    min-width: 980px;
    background: transparent url("img/bg.jpg") fixed;
    font: 16px/normal Segoe UI, Optima, Candara, Calibri, Arial, sans-serif;
}
a
{
    text-decoration: none;
    color: #3D4A8B;
    outline: 0;
}
a:hover
{
    text-shadow: 0 1px 0 Black;
}
p
{
    margin: 0 20px 20px 20px;
}
::selection
{
    background: #99ddff;
}*/
#section-wrapper .m0
{
    margin: 0;
}
#section-wrapper .oh
{
    overflow: hidden;
}
#section-wrapper .fl
{
    float: left;
}
.entt
{
    font-size: 25px;
    line-height: 19px;
}
/* Layout */
body
{
    /*width: 980px;*/
    /*margin: 0 auto;     */
}
#cv section
{
    padding-bottom: 40px;
}
#cv section h2
{
    float: right;
    margin: 0 0 20px 0;
    padding: 5px 10px 5px 10px;
    width: 100%;
    height: 23px;
    /*border-top-left-radius: 10px;
    border-top-right-radius: 10px;*/
    height: 33px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 1px 0 #a2a2a2;
    font-size: 20px;
    line-height: 20px;
}
#cv section h2:before
{
    float: left;
    margin: 28px 0 0 -10px;
    border: 5px solid Black;
    border-color: Black Black transparent transparent;
    content: "";
}
/*#cv section h2:after
{
    content: "";
    float: right;
    border: 5px solid Black;
    border-color: Black transparent transparent Black;
    margin: 28px -10px 0 0;
}*/
#cv section h3
{
    margin: 0;
    font-size: 16px;
}

#cv #highlights > ul {
    margin: 20px 0;
    padding: 0;
    list-style-type: none;
}

#cv #work > ul {
    margin: 20px 0;
    padding: 0;
    list-style-type: none;
}
#cv #work > ul > li {
    margin-bottom: 40px;
}

#cv .list
{
    clear: both;
    margin: 20px;
    padding: 0;
    list-style-type: none;
}

#cv .list li
{
    margin-bottom: 10px;
    padding-left: 10px;
    background: url("data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAEAQMAAACTPww9AAAABlBMVEU6bIwAAAD7yw7LAAAACXZwQWcAAAAEAAAABADqLzobAAAAC0lEQVQI12NggAAAAAgAAS8g3TEAAAAASUVORK5CYII=") no-repeat 0 9px;
}

#cv .list li li
{
    background-image: url("data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAEAQMAAACTPww9AAAABlBMVEU6bIz////7dSjZAAAACXZwQWcAAAAEAAAABADqLzobAAAADklEQVQI12NgYEgAQgYAAwgAwSZfD1sAAAAASUVORK5CYII=");
}
#cv .list li ul
{
    margin-top: 5px;
}
#cv .ext-links a
{
    padding-right: 13px;
    background: transparent url("data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKAQMAAAC3/F3+AAAABlBMVEU9Sov///81Jvp8AAAAAnRSTlP/AOW3MEoAAAAJdnBBZwAAAAoAAAAKAE6mduUAAAAmSURBVAjXYzjAwPC8geFzAwN7A0NeA0MMA0MmA0NpA0PtAQbGAwCK6QjIbauu7QAAAABJRU5ErkJggg==") no-repeat  right 1px;
}

/* Colorings */
#cv #highlights h2 { background-color: #ff0; color: #000;}
#cv #highlights h2:before { border-color: #c8c800 #c8c800 transparent transparent;}
#cv #highlights h2:after  { border-color: #c8c800 transparent transparent #c8c800;}

#edu h2 { background-color: #619cc2;}
#cv #edu h2:before { border-color: #3a6c8c #3a6c8c transparent transparent;}
#cv #edu h2:after  { border-color: #3a6c8c transparent transparent #3a6c8c;}

#cv #work h2 { background-color: #e34dd0;}
#cv #work h2:before { border-color: #97318a #97318a transparent transparent;}
#cv #work h2:after  { border-color: #97318a transparent transparent #97318a;}

#skills h2 { background-color: YellowGreen;}
#cv #skills h2:before { border-color: #7aa227 #7aa227 transparent transparent;}
#cv #skills h2:after  { border-color: #7aa227 transparent transparent #7aa227;}

#current h2 { background-color: #f4d853;}
#cv #current h2:before { border-color: #ab9633 #ab9633 transparent transparent;}
#cv #current h2:after  { border-color: #ab9633 transparent transparent #ab9633;}

#tech h2 { background-color: #7e8ede;}
#cv #tech h2:before { border-color: #5261ab #5261ab transparent transparent;}
#cv #tech h2:after  { border-color: #5261ab transparent transparent #5261ab;}

#person h2 { background-color: #ec7878;}
#cv #person h2:before { border-color: #a84646 #a84646 transparent transparent;}
#cv #person h2:after  { border-color: #a84646 transparent transparent #a84646;}

#contacts h2 { background-color: #74e2e1;}
#cv #contacts h2:before { border-color: #43b0af #43b0af transparent transparent;}
#cv #contacts h2:after  { border-color: #43b0af transparent transparent #43b0af;}


#edu-curric
{
    margin-bottom: 40px;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
}


#skills .three-col
{
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
}
#cv mark
{
    float: left;
    margin: 0 5px 1px -10px;
    padding: 0 5px;
    min-width: 70px;
    border-radius: 3px;
    background-color: Grey;
    text-align: center;
    text-transform: uppercase;
    text-shadow:  0 0 0 White;
    font: 700 10px/19px Arial;
}
#cv .pro { background-color: #E34DD0;}
#cv .exp { background-color: #EC7878;}
#cv .ex  { background-color: #F4D853;}
#cv .adv { background-color: #7E8EDE;}
#cv .gd  { background-color: #9ACD32;}



/*Other technologies*/
#tech li
{
    float: left;
    margin: 0 20px 0 0;
    background: none;
}
.icon
{
    display: block;
    float: left;
    overflow: hidden;
    background: transparent url("../img/sprite.png") no-repeat;
    text-indent: -6666px;
}
#contacts .fIcon
{
    width: 33px;
    height: 32px;
    background-position: 0 0;
}
#contacts .inIcon
{
    margin-right: 10px;
    width: 33px;
    height: 32px;
    background-position: -35px 0;
}


@media handheld, screen and (max-width: 420px)
{
    #cv section h2
    {
        font-size: 17px;
    }
    #cv #skills .three-col
    {
        column-count: 1;
        column-gap: 0;
    }
}
