/* === This is the beginning of preview.css === */

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

.clr {
    clear: both;
}


/* Main Area === */

.email_preview_name {
    width: 80%;
    max-width: 1000px;
    margin: 70px auto;
    text-align: center;
}

.modal-content *,
 :after,
 :before {
    box-sizing: border-box
}

.modal-full-screen .modal-content {
    min-height: 100%;
    border-radius: 0;
    border: 0;
}

.esdev-image-view {
    height: 110px;
    width: 110px;
    margin-right: 5px;
    margin-bottom: 0;
    overflow: hidden
}

.esdev-desktop-device {
    background: #040b10;
    border: 5px solid #040b10;
    font-size: 0;
    position: relative;
    border-radius: 10px 10px 3px 3px;
}

.col-sm-8 {
    float: left;
    width: 70%;
    margin-right: 10px;
}

.esdev-desktop-device:before {
    content: "•••";
    display: block;
    background: #040b10;
    position: absolute;
    margin-top: 20px;
    border-radius: 10px;
    margin-left: 47px;
    font-size: 60px;
    color: #fff;
    line-height: 0;
    font-family: sans-serif
}

.esdev-email-user-avatar {
    float: left;
    color: #040b10;
    text-shadow: none;
    font-size: 16px
}

.esdev-email-window-panel {
    padding: 15px 15px 12px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 14px
}

.esdev-mobile-view {
    border-left: 1px solid #ddd;
    overflow: hidden
}

.esdev-mobile-device {
    top: 50%;
    position: relative;
    height: 698px;
    width: 344px;
    border-radius: 40px;
    padding: 50px 10px 60px;
    background: #040b10;
    border: 2px solid #e8e8e8;
}

.col-sm-4 {
    float: right;
}

.esdev-mobile-device-screen {
    box-shadow: 0 0 0 1px #b9b9b9;
    border-radius: 2px;
    overflow: hidden;
    height: 560px
}

.esdev-mobile-device-screen .esdev-mail-bottom-bar {
    margin-top: -5px
}

.esdev-mobile-device-screen .esdev-mail-top-bar {
    margin-bottom: -3px
}

.esdev-mobile-device:after {
    position: absolute;
    bottom: 13px;
    left: 50%;
    margin-left: -24px;
    width: 50px;
    height: 50px;
    border-radius: 30px;
    border: 2px solid #f6f6f6;
    content: " ";
    display: block
}

.esdev-mobile-device:before {
    position: absolute;
    top: 22px;
    left: 50%;
    margin-left: -30px;
    width: 60px;
    background: #f6f6f6;
    height: 8px;
    border-radius: 20px;
    content: " ";
    display: block
}

.disclamer {
    margin: auto;
    margin-top: 3em;
    width: 100%;
    max-width: 700px;
}

.disclamer .container {
    text-align: center;
    border: 2px solid #040b10;
    border-radius: 5px;
    padding: 6px 10px;
}

.disclamer .note {
    color: #fff;
    background: #040b10;
}


/* === MYSKILLS === */

.portfolio {
    margin-top: 0;
}

.portfolio h3 {
    text-align: center;
}

.project {
    display: block;
    /* Hide columns by default */
}

.template__content a {
    font-size: 18px;
}


/* === HIREME === */

#hireMe {
    margin-top: 5em;
    text-align: center;
    background: #040b10;
    padding: 40px 0 70px 0;
    color: #fff;
}

#hireMe h2,
#hireMe p {
    color: #fff;
}

#hireMe h2 {
    font-weight: 550;
}

#hireMe a {
    background: #fff;
    color: #040b10;
    font-weight: bold;
}

@media only screen and (max-width: 1326px) {
    .col-sm-8 {
        width: 65%;
    }
}

@media only screen and (max-width: 1150px) {
    .col-sm-8 {
        width: 62%;
    }
}

@media only screen and (max-width: 1060px) {
    .col-sm-8 {
        width: 100%;
        float: none;
        clear: both;
        margin-right: 0px;
    }
    .col-sm-4 {
        float: none;
        margin-top: 2em;
        clear: both;
    }
}

@media only screen and (max-width: 500px) {
    .email_preview_name {
        width: 100%;
        margin: 70px auto;
        text-align: center;
    }
    .col-sm-8 {
        display: none;
    }
    .col-sm-4 {
        margin: auto 0 !important;
    }
    .esdev-mobile-device {
        margin: auto;
    }
    .esdev-mobile-device {
        width: 334px;
    }
}

@media only screen and (max-width: 400px) {
    .container {
        width: 95%;
    }
}