﻿html,body {
    width: 100%;
    height: 100%;
}

@import url(https://fonts.googleapis.com/css?family=PT+Sans+Narrow);

body {
    font-family: Open Sans, "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #666;
    position: relative;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td {
    margin: 0;
    padding: 0;
    font-size: 13px;
    direction: ltr;
}

.sectionClass {
    padding: 20px 0 50px 0;
    position: relative;
    display: block;
}

.fullWidth {
    width: 100% !important;
    display: table;
    float: none;
    padding: 0;
    min-height: 1px;
    height: 100%;
    position: relative;
}


.sectiontitle {
    background-position: center;
    margin: 30px 0 0;
    text-align: center;
    min-height: 20px;
}

    .sectiontitle h2 {
        font-size: 30px;
        color: #222;
        margin-bottom: 0;
        padding-right: 10px;
        padding-left: 10px;
    }


.headerLine {
    width: 160px;
    height: 2px;
    display: inline-block;
    background: #101F2E;
}


.projectFactsWrap {
    display: flex;
    margin-top: 30px;
    flex-direction: row;
    flex-wrap: wrap;
}


#projectFacts .fullWidth {
    padding: 0;
}

.projectFactsWrap .item {
    width: 25%;
    height: 100%;
    padding: 50px 0;
    text-align: center;
}

    .projectFactsWrap .item:nth-child(1) {
        background: #1a2226;
    }

    .projectFactsWrap .item:nth-child(2) {
        background: #1a2226;
    }

    .projectFactsWrap .item:nth-child(3) {
        background: #1a2226;
    }

    .projectFactsWrap .item:nth-child(4) {
        background: #1a2226;
    }

    .projectFactsWrap .item p.number {
        font-size: 40px;
        padding: 0;
        font-weight: bold;
    }

    .projectFactsWrap .item p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 18px;
        margin: 0;
        padding: 10px;
        font-family: 'Open Sans';
    }


    .projectFactsWrap .item span {
        width: 60px;
        background: rgba(255, 255, 255, 0.8);
        height: 2px;
        display: block;
        margin: 0 auto;
    }


    .projectFactsWrap .item i {
        vertical-align: middle;
        font-size: 50px;
        color: rgba(255, 255, 255, 0.8);
    }


    .projectFactsWrap .item:hover i, .projectFactsWrap .item:hover p {
        color: white;
    }

    .projectFactsWrap .item:hover span {
        background: white;
    }

@media (max-width: 786px) {
    .projectFactsWrap .item {
        flex: 0 0 50%;
    }
}

/* AUTHOR LINK */


footer {
    z-index: 100;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    bottom: 0;
    left: 0;
}

    footer p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 16px;
        opacity: 0;
        font-family: 'Open Sans';
        width: 100%;
        word-wrap: break-word;
        line-height: 25px;
        -webkit-transform: translateX(-200px);
        transform: translateX(-200px);
        margin: 0;
        -webkit-transition: all 250ms ease;
        -moz-transition: all 250ms ease;
        transition: all 250ms ease;
    }

    footer .authorWindow a {
        color: white;
        text-decoration: none;
    }

    footer p strong {
        color: rgba(255, 255, 255, 0.9);
    }

.about-me-img {
    width: 120px;
    height: 120px;
    left: 10px;
    /* bottom: 30px; */
    position: relative;
    border-radius: 100px;
}


.trans {
    opacity: 1;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    transition: all 500ms ease;
}

@media screen and (max-width: 768px) {
    .authorWindow {
        width: 210px;
    }

    .authorWindowWrapper {
        bottom: -170px;
        margin-bottom: 20px;
    }

    footer p {
        font-size: 14px;
    }
}

.custom-alert-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    z-index: 99999;
}
.custom-alert {
    position: absolute;
    left: 50%;
    top: 40%;
    padding: 25px;
    transform: translate(-50%, -50%);
    background-color: #222d32;
    border: 1px solid #fff;
    border-radius: 3px;
    color: #fff;
    max-width: 300px;
}
.custom-alert__button {
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    padding: 10px 40px;
    background-color: #3c8dbc;
    border: 1px solid #367fa9;
    outline: 0;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.custom-alert__button:hover {
    background-color: #367fa9;
}
.custom-alert__text {
    margin: 0;
    font-size: 14px;
    line-height: 160%;
}

input[type=checkbox].switch + label {
    width: 34px;
    height: 14px;
    background: lightgray;
    display: inline-block;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    margin: 10px;
}
input[type=checkbox].switch + label:before, input[type=checkbox].switch + label:after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: 0;
    transition: all .2s;
}
input[type=checkbox].switch + label:after {
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
}
input[type=checkbox].switch + label:before {
    background: lightgray;
    transform: scale3d(0, 0, 1);
}
input[type=checkbox].switch + label:active:before {
    transform: scale3d(3, 3, 1);
    opacity: 0;
}

input[type=checkbox].switch {
    display: none;
}
input[type=checkbox].switch:checked + label {
    background: rgba(3, 155, 229, 0.5);
}
input[type=checkbox].switch:checked + label:before, input[type=checkbox].switch:checked + label:after {
    left: 14px;
    background: #039be5;
}
input[type=checkbox].switch:disabled + label {
    opacity: 0.4;
    cursor: not-allowed;
}

input[type=checkbox].switch.green {
    display: none;
}
input[type=checkbox].switch.green:checked + label {
    background: rgba(4, 196, 52, 0.5);
}
input[type=checkbox].switch.green:checked + label:before, input[type=checkbox].switch.green:checked + label:after {
    background: #04c434;
}

input[type=checkbox].switch.red {
    display: none;
}
input[type=checkbox].switch.red:checked + label {
    background: rgba(244, 67, 54, 0.5);
}
input[type=checkbox].switch.red:checked + label:before, input[type=checkbox].switch.red:checked + label:after {
    background: #f44336;
}

.spinnerWrapper {
    background: rgba(0,0,0,0.5);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99999;
    display: none;
}
.spinner {
    width: 70px;
    height: 70px;
    background: #eee;
    border-radius: 50%;
    position: fixed;
    top: 40%;
    left: 50%;
    margin: 40px;
    display: inline-block;
}
.spinner:after, .spinner:before {
    content: "";
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
}
.spinner__3 {
    background:#fff;
}
    .spinner__3:after {
        width: 50px;
        height: 50px;
        background: #273E89;
        position: absolute;
        top: 10px;
        left: 10px;
        animation: move-left 2s ease infinite;
    }
    .spinner__3:before {
        width: 50px;
        height: 50px;
        background: #D0242F;
        position: absolute;
        top: 10px;
        left: 10px;
        animation: move-right 2s ease infinite;
    }

@keyframes move-left {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(20px) scale(1.2);
    }
    50% {
        transform: translateX(-20px);
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes move-right {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-20px) scale(1.2);
        background: #D0242F;
    }
    50% {
        transform: translateX(20px);
    }
    100% {
        transform: translateX(0);
    }
}

.imageQuestionRow {
    display: none;
}

tr:hover {
    background: rgba(0,100,255,0.1) !important;
}

.clear {
    clear: both;
}

.closetag:hover {
    cursor: pointer;
}

#forTestee {
    display: none;
}

.accordion {
    width: 100%;
    margin: 20px auto;
    text-align: center;
}

    .accordion h1, h2 {
        cursor: pointer;
        text-transform: uppercase;
    }

    .accordion h1 {
        padding: 15px 20px;
        background-image: -webkit-linear-gradient(top, #fff, #ededed);
        font-weight: normal;
        color: #000;
    }

        .accordion h1:hover {
            color: #273E89;
        }

        .accordion h1:first-child {
            border-radius: 10px 10px 0 0;
        }

        .accordion h1:last-of-type {
            border-radius: 0 0 10px 10px;
        }

        .accordion h1:not(:last-of-type) {
            border-bottom: 1px dotted #1abc9c;
        }

    .accordion .accordionDiv, .accordion p {
        display: none;
        text-align: center;
        background: #fff;
    }

    .accordion h2 {
        padding: 15px 20px;
        margin: 0;
        background-color: #222d32;
        border-radius: 5px;
        color: #b8c7ce;
    }

    .accordion h2, .accordion h3, .accordion h4, .accordion h5 {
        color: #000;
        padding: 10px;
    }

        .accordion h2:hover {
            color: #fff;
        }

    .accordion p {
        padding: 15px 35px;
        border-radius: 5px;
        color: #000;
        line-height: 1.3rem;
        text-align: center;
    }

    .accordion .opened-for-codepen {
        display: block;
    }

    .accordion hr {
        border-bottom: 3px solid #ecf0f5;
        margin: 0;
    }

.textOptionLabels {
    padding: 10px;
    width: 15%;
    border-radius: 4px;
    background: rgb(39, 62, 137);
    border: 1px solid rgb(0, 0, 0);
    color: #fff;
    margin-left: 10px;
    cursor: pointer;
    font-weight: normal;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -o-user-select: none;
}

    .textOptionLabels:hover {
        background: #367fa9;
    }

.optionRadioButtons {
    display: none;
}

.dialog-ovelay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
}

    .dialog-ovelay .dialog {
        width: 400px;
        margin: 100px auto 0;
        background-color: #fff;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        border-radius: 3px;
        overflow: hidden;
    }

        .dialog-ovelay .dialog header {
            padding: 10px 8px;
            background-color: #f6f7f9;
            border-bottom: 1px solid #e5e5e5;
        }

            .dialog-ovelay .dialog header h3 {
                /*font-size: 14px;
    margin: 0;
    color: #555;*/
                padding: 10px;
                display: inline-block;
            }

            .dialog-ovelay .dialog header .fa-close {
                float: right;
                color: #c4c5c7;
                cursor: pointer;
                transition: all 0.5s ease;
                padding: 0 2px;
                border-radius: 1px;
            }

                .dialog-ovelay .dialog header .fa-close:hover {
                    color: #b9b9b9;
                }

                .dialog-ovelay .dialog header .fa-close:active {
                    box-shadow: 0 0 5px #673ab7;
                    color: #a2a2a2;
                }

        .dialog-ovelay .dialog .dialog-msg {
            padding: 12px 10px;
        }

            .dialog-ovelay .dialog .dialog-msg p {
                margin: 0;
                font-size: 15px;
                color: #333;
            }

        .dialog-ovelay .dialog footer {
            border-top: 1px solid #e5e5e5;
            padding: 8px 10px;
        }

            .dialog-ovelay .dialog footer .controls {
                direction: rtl;
            }

                .dialog-ovelay .dialog footer .controls .button {
                    padding: 5px 15px;
                    border-radius: 3px;
                }

.button {
    cursor: pointer;
}

.button-default {
    background-color: #273E89;
    border: 1px solid rgba(204, 204, 204, 0.5);
    color: #f5f5f5;
}

.button-danger {
    background-color: #D0242F;
    border: 1px solid #d32f2f;
    color: #f5f5f5;
}

.questionImage {
    display: block !important;
    text-align: center;
}

    .questionImage img {
        border: 3px solid white;
        box-shadow: 0px 0px 8px rgba(0,0,0,.3);
        background: #fff;
        height: 150px;
        width: auto;
    }

        .questionImage img:hover {
            cursor: pointer;
        }


.active.questionImage {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
}

    .active.questionImage img {
        margin: auto;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 300px !important;
        border: 3px solid white;
        box-shadow: 0 0 8px rgba(0,0,0,.3);
        box-sizing: border-box;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        background: #fff;
    }

.questionImage .closeBtn {
    display: none;
}

    .questionImage .closeBtn:hover {
        cursor: pointer;
    }

.active.questionImage .closeBtn {
    display: block !important;
    width: 60px;
    height: 60px;
    color: #fff;
    text-decoration: none;
    position: absolute;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    font-size: 50px;
    right: 50px;
    top: 50px;
}

input[type=checkbox].switch + label {
    width: 34px;
    height: 14px;
    background: lightgray;
    display: inline-block;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    margin: 0 10px 0 10px;
}

    input[type=checkbox].switch + label:before, input[type=checkbox].switch + label:after {
        content: "";
        display: inline-block;
        width: 20px;
        height: 20px;
        background: white;
        border-radius: 50%;
        position: absolute;
        top: -3px;
        left: 0;
        transition: all .2s;
    }

    input[type=checkbox].switch + label:after {
        box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.12);
    }

    input[type=checkbox].switch + label:before {
        background: lightgray;
        transform: scale3d(0, 0, 1);
    }

    input[type=checkbox].switch + label:active:before {
        transform: scale3d(3, 3, 1);
        opacity: 0;
    }

input[type=checkbox].switch {
    display: none;
}

    input[type=checkbox].switch:checked + label {
        background: rgba(3, 155, 229, 0.5);
    }

        input[type=checkbox].switch:checked + label:before, input[type=checkbox].switch:checked + label:after {
            left: 14px;
            background: #039be5;
        }

    input[type=checkbox].switch:disabled + label {
        opacity: 0.4;
        cursor: not-allowed;
    }

    input[type=checkbox].switch.green {
        display: none;
    }

        input[type=checkbox].switch.green:checked + label {
            background: rgba(4, 196, 52, 0.5);
        }

            input[type=checkbox].switch.green:checked + label:before, input[type=checkbox].switch.green:checked + label:after {
                background: #04c434;
            }

    input[type=checkbox].switch.red {
        display: none;
    }

        input[type=checkbox].switch.red:checked + label {
            background: rgba(244, 67, 54, 0.5);
        }

            input[type=checkbox].switch.red:checked + label:before, input[type=checkbox].switch.red:checked + label:after {
                background: #f44336;
            }

.spinnerWrapper {
    background: rgba(0,0,0,0.5);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 99999;
    display: none;
}

.spinner {
    width: 70px;
    height: 70px;
    background: #eee;
    border-radius: 50%;
    position: fixed;
    top: 40%;
    left: 50%;
    margin: 40px;
    display: inline-block;
}

    .spinner:after, .spinner:before {
        content: "";
        display: block;
        width: 70px;
        height: 70px;
        border-radius: 50%;
    }

.spinner__3 {
    background: #fff;
}

    .spinner__3:after {
        width: 50px;
        height: 50px;
        background: #273E89;
        position: absolute;
        top: 10px;
        left: 10px;
        animation: move-left 2s ease infinite;
    }

    .spinner__3:before {
        width: 50px;
        height: 50px;
        background: #D0242F;
        position: absolute;
        top: 10px;
        left: 10px;
        animation: move-right 2s ease infinite;
    }

@keyframes move-left {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(20px) scale(1.2);
    }

    50% {
        transform: translateX(-20px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes move-right {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-20px) scale(1.2);
        background: #D0242F;
    }

    50% {
        transform: translateX(20px);
    }

    100% {
        transform: translateX(0);
    }
}


.imageOption {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #000;
    background: #fff;
}

    .imageOption img {
        width: 100px;
    }

tr:hover {
    background: rgba(0,100,255,0.1) !important;
}

.feed {
    padding-top: 20px;
    margin-left: 85px;
}

.feed-item {
    display: block;
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
    background: white;
    padding-left: -100px;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.2);
    transition: 0.7s;
}

    .feed-item .icon-holder {
        width: 55px;
        float: left;
        margin: 21px 20px 0 25px;
    }

        .feed-item .icon-holder .icon {
            width: 55px;
            height: 55px;
            color: #D0242F;
            font-size: 55px;
            font-weight: 900;
            border-radius: 100%;
            float: left;
        }

    .feed-item .text-holder {
        margin-top: 22px;
        width: 75%;
        float: left;
    }

    .feed-item .spacer {
        width: 10%;
        float: left;
    }

.feed-description {
    font-size: .9em;
    font-weight: 300;
    color: #888;
    height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-options-holder {
    float: right;
    height: 100%;
    width: 30px;
    background: #EEE;
    padding: 12px;
    transition: background 0.2s;
}

    .post-options-holder:hover {
        background: #DDD;
    }

.feed-title {
    font-size: .9em;
    font-weight: 500;
}

.blog {
    overflow: hidden;
}

.portfolio {
    overflow: hidden;
}

