/*!
 * Start Bootstrap - Stylish Portfolio (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.fiery-post figcaption {
    font-size: 0.9em;
    font-style: italic;
    padding-top: 0.3em;
    text-align: center;
}

.fiery-post h2 {
    margin-top: 2em;
}

.fiery-post p {
    margin-top: 1em;
}

.text-vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.text-vertical-center h1 {
    margin: 0;
    padding: 0;
    font-size: 2.7em;
    font-weight: 550;
    color: #bdc3c7;
    font-style: italic;
}

/* Custom Button Styles */

.btn-dark {
    border-radius: 0;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
}

.btn-light {
    border-radius: 0;
    color: #333;
    background-color: rgb(255, 255, 255);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    color: #333;
    background-color: rgba(255, 255, 255, 0.8);
}

/* Custom Horizontal Rule */

hr.small {
    max-width: 100px;
}

/* Side Menu */

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    right: 0;
    width: 250px;
    height: 100%;
    transform: translateX(250px);
    overflow-y: auto;
    background: #222;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav>.sidebar-brand {
    height: 55px;
    font-size: 18px;
    line-height: 55px;
}

.sidebar-nav>.sidebar-brand a {
    color: #999;
}

.sidebar-nav>.sidebar-brand a:hover {
    color: #fff;
    background: none;
}

#menu-toggle {
    z-index: 11;
    position: fixed;
    top: 0;
    right: 0;
}

#sidebar-wrapper.active {
    right: 250px;
    width: 250px;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.toggle {
    margin: 5px 5px 0 0;
}

.post-header {
    display: table;
    position: relative;
    vertical-align: middle;
    height: 20%;
    width: 20%;
    background: url(../img/bg.svg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    margin-left: auto;
    margin-right: auto;
}

/* Header */

.header {
    display: table;
    position: relative;
    vertical-align: middle;
    height: 75%;
    width: 100%;
    background: url(../img/bg.svg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    margin-left: auto;
    margin-right: auto;
}

/* About */

.about {
    padding: 0 0;
    height: 25%;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.description {
    /*max-width:500px;*/
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

/* Services */

.services {
    padding: 50px 0;
}

.service-item {
    margin-bottom: 30px;
}

/* Callout */

.callout {
    display: table;
    width: 100%;
    height: 400px;
    color: #fff;
    background: url(../img/callout.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.img-logo {
    margin: 0 auto;
}

/* Portfolio */

.portfolio {
    padding: 0px 0;
}

.portfolio-item {
    margin-bottom: 70px;
    position: relative;
}

.img-portfolio {
    margin: 0 auto;
}

.overlay {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 0 auto;
    position: absolute;
    border: 0;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: block;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    line-height: 20px;
    height: 40%;
}

.overlay-released {
    width: 100%;
}

.overlay-development {
    width: 100%;
}

.flexFont {
    height: 0em;
}

.flexFontBig {
    height: 0em;
}

.flexFontSmall {
    height: 0em;
}

.overlay p {
    line-height: 1.1em;
    text-align: justify;
    padding-top: 1em;
    height: 5em;
}

.overlay h5 a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.overlay h5 a:hover {
    color: #e75244;
    text-decoration: none;
    font-weight: bold;
}

.overlay h5 {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2em;
    height: 12px;
    text-align: left;
}

.call-to-action {
    float: right;
    color: #fff;
    display: block;
    text-decoration: none;
    font-weight: 500;
    vertical-align: middle;
    text-transform: lowercase;
    background-color: #e75244;
    text-align: center;
    width: 80px;
    font-size: 16px;
    padding-top: 10em;
}

.call-to-action:hover {
    text-decoration: none;
    font-weight: bold;
    color: #e75244;
    background-color: #fff;
}

/* Map */

.map {
    height: 500px;
}

@media(max-width:768px) {
    .map {
        height: 75%;
    }

    .call-to-action {
        float: right;
        color: #fff;
        display: block;
        text-decoration: none;
        font-weight: 500;
        vertical-align: middle;
        text-transform: lowercase;
        background-color: #e75244;
        text-align: center;
        width: 60px;
        font-size: 12px;
        margin: 0;
        padding-top: 0;
    }

    .overlay h5 {
        padding-top: 0;
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 15px;
        height: 10px;
        text-align: left;
    }

    .overlay {
        right: 0;
        left: 0;
        bottom: 0;
        width: 500px;
        margin: 0 auto;
        position: absolute;
        border: 0;
        z-index: 10;
        background-color: rgba(0, 0, 0, 0.4);
        color: #fff;
        display: block;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
    }

    .overlay-released {
        width: 100%;
    }

    .overlay-development {
        width: 100%;
    }


    .overlay p {
        text-align: justify;
        padding-top: 5px;
    }
}

.map iframe {
    pointer-events: none;
}

/* Footer */

footer {
    padding: 10px 0;
}

#to-top {
    display: none;
    position: fixed;
    bottom: 5px;
    right: 5px;
}

.fa-twitter {
    color: #e75244;
}

.fa-twitter:hover {
    color: rgba(231, 82, 68, 0.7);
}

.fa-instagram {
    color: #e75244;
}

.fa-instagram:hover {
    color: rgba(231, 82, 68, 0.7);
}

.fa-facebook {
    color: #e75244;
}

.fa-facebook:hover {
    color: rgba(231, 82, 68, 0.7);
}

.fa-github {
    color: #e75244;
}

.fa-github:hover {
    color: rgba(231, 82, 68, 0.7);
}

.dropdown-menu {
    background-color: #ffffff;
    color: #666666;
}

.dropdown-item:hover {
    background: rgba(124, 212, 255, 0.2);
    color: #666666;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown>.dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

/* Comments code */

.be-comment-block {
    margin-bottom: 50px !important;
    border: 1px solid #edeff2;
    border-radius: 2px;
    padding: 50px 70px;
    border: 1px solid #ffffff;
}

.comments-title {
    font-size: 16px;
    color: #262626;
    margin-bottom: 15px;
    font-family: 'Conv_helveticaneuecyr-bold';
}

.be-img-comment {
    width: 60px;
    height: 60px;
    float: left;
    margin-bottom: 15px;
}

.be-ava-comment {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.be-comment-content {
    margin-left: 80px;
}

.be-comment-content span {
    display: inline-block;
    width: 49%;
    margin-bottom: 15px;
}

.be-comment-name {
    font-size: 13px;
    font-family: 'Conv_helveticaneuecyr-bold';
}

.be-comment-content a {
    color: #383b43;
}

.be-comment-content span {
    display: inline-block;
    width: 49%;
    margin-bottom: 15px;
}

.be-comment-time {
    text-align: right;
}

.be-comment-time {
    font-size: 11px;
    color: #b4b7c1;
}

.be-comment-text {
    font-size: 13px;
    line-height: 18px;
    color: #7a8192;
    display: block;
    background: #f6f6f7;
    border: 1px solid #edeff2;
    padding: 15px 20px 20px 20px;
}

.form-group.fl_icon .icon {
    position: absolute;
    top: 1px;
    left: 16px;
    width: 48px;
    height: 48px;
    background: #f6f6f7;
    color: #b5b8c2;
    text-align: center;
    line-height: 50px;
    -webkit-border-top-left-radius: 2px;
    -webkit-border-bottom-left-radius: 2px;
    -moz-border-radius-topleft: 2px;
    -moz-border-radius-bottomleft: 2px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.form-group .form-input {
    font-size: 13px;
    line-height: 50px;
    font-weight: 400;
    color: #b4b7c1;
    width: 100%;
    height: 50px;
    padding-left: 20px;
    padding-right: 20px;
    border: 1px solid #edeff2;
    border-radius: 3px;
}

.form-group.fl_icon .form-input {
    padding-left: 70px;
}

.form-group textarea.form-input {
    height: 150px;
}

/* End of Comments code */