@import url(bootstrap.min.css);
@import url(fonts.css);

* {
    box-sizing: border-box;
}

html, body {
    height: 100%; 
    padding: 0; 
    margin: 0;
    font-family: 'Open Sans';
    color: white;
}
table {
    width: 100%; 
    height: 100%; 
    text-align: center;
}

h1 {
    text-shadow: 1px 2px 1px black;
}

h1 small {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #8aa2ae;
    text-shadow: 0px 1px 0px black
}

h4 {
    color: #8aa2ae;

}

h2 {
    color: #373B43;
    position: relative;
    padding-top: 10px;
    text-transform: uppercase;
    font-family: 'Ubuntu Condensed';
    font-size: 26px;
    font-weight: 400;
}

h2:before {
    content: '';
    background: #c0392b;
    height: 2px;
    width: 40px;
    display: block;
    position: absolute;
    top: 0;
}

.main {
    width: 100%;
    height: 100%;
    display: table;
    text-align: center;
    /*background: #3D4851 url(img/bg.gif);*/
    background: #363f48 url(img/bodyicons.png) fixed no-repeat center;
    position: relative;
    overflow: hidden;
}

.main .content {
    display: table-cell;
    vertical-align: middle;
    position: relative;
    z-index: 1;
}

.main canvas {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 0;
}

.main .wrapper {
    margin: 20px;
    display: inline-block;
}

.grumpy {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%; 
    background: url(img/grumpy-art.png) no-repeat;
    box-shadow: inset 1px 0px 4px 2px black;
    background-size: cover;
}

.block {
    background-color: #303840;
    border-radius: 4px 4px 4px 4px;
}

.stamp {
    box-shadow: inset 0px 2px 3px 0 rgba(0, 0, 0, 0.5), 0 1px 0px rgba(255, 255, 255, 0.08);
}

a {
    color: #c0392b; 
    text-decoration: none; 
    transition: color .2s;
}
a:hover, a:focus {
    color: #BB6210;
    text-decoration: none;
}

.main a {
    color: #fff;
}

.btn {
    border-radius: 3px;
    display: inline-block;
    font-size: 16px;
    height: 48px;
    line-height: 46px;
    margin: 10px;
    text-align: center;
    transition: all .5s;
    min-width: 180px;
    background-color: transparent;
    border: 0; 
    outline: none;
    -webkit-appearance: none;
}

.btn-red {
    background-color: #c0392b; 
    color: #fff;
}
.btn-red:hover, .btn-red:focus {
    background-color: #c85858;
    color: #fff;
}

.btn-white {
    background-color: #f7f7f7; 
    color: #42474c;
}
.btn-transparent {
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
}
.btn-transparent:hover, .btn-transparent:focus {
    background-color: #fff;
    color: #555;
}

.projects {
    padding: 40px 20px;
    display: none;
}

footer {
    background: #f5f5f5;
    color: #808080;
    font-size: 14px;
    height: 50px;
    line-height: 50px;
    display: none;
}
body.opened footer {
    display: block;
}
footer .container {
    height: 100%;
}

.item-list {
    padding: 0;
    list-style: none;
}

.item-list li {
    margin-bottom: 30px;
}

.item-list a {
    display: block;
    position: relative;
    color: #fff;
    overflow: hidden;
    border: 1px solid #f3f3f3;
}

.item-list .cover {
    width: 100%;
    max-height: 100%;
    max-width: 100%;
    transition: all 0.3s ease-out;
}

.item-list .description {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 25px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

.item-list .description > div {
    position: relative;
    top: 50%;
    width: 100%;
    margin-top: -85px;
}

.item-list a:hover .cover {
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2); 
    transform: scale(1.2);
    /*-webkit-filter: blur(4px);*/
}

.item-list a:hover .description {
    visibility: visible;
    opacity: 1;
}

h4 {  
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 200;
}

.form-control {
    display: block;
    width: 100%;
    color: #555;
    height: 34px;
    padding: 6px 12px;
    background-color: #fff;
    background-image: none;
    border: 1px solid #e4e4e4;
    font-weight: 400;
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-transition: border 300ms linear;
    -moz-transition: border 300ms linear;
    -o-transition: border 300ms linear;
    transition: border 300ms linear;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
input.form-control, 
textarea.form-control {
    -webkit-appearance: none;
    height: auto;
}
textarea.form-control {
    resize: vertical;
}

.input-lg {
    height: 46px;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.3333333;
}

.btn-success {
    color: #fff;
    background-color: #2ecc71;
    border-color: #2ecc71;
}

.btn-success.active, .btn-success.focus, .btn-success:active, .btn-success:focus, .btn-success:hover, .open>.dropdown-toggle.btn-success {
    color: #fff;
    background-color: #25a25a;
    border-color: #25a25a;
}

input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

.feedback_form {
    position: absolute;
    z-index: 1;
    padding: 10px 20px;
    color: #fff;
    right: 0;
    bottom: 0;
}
.feedback_form:hover, .feedback_form:focus {
    color: #BB6210;
    text-decoration: none;
}

.feedback {
    transition: all .3s;
    position: absolute;
    background: #fff;
    z-index: 1;
    padding: 20px;
    width: 100%;
    max-width: 320px;
    right: 0;
    bottom: -380px;
    border-radius: 2px 0 0 0;
}

.feedback .title {
    font-size: 20px;
    color: #44444A;
    margin-bottom: 15px;
    position: relative;
    text-transform: uppercase;
}

.feedback .title .close {
    font-style: normal;
    font-size: 14px;
    position: absolute;
    left: 0;
    top: -4px;
    cursor: pointer;
}

.feedback .title .close:hover {
    color: #c0392b;
}

.feedback.opened {
    bottom: 0;
}

.feedback .policy {
    font-size: 8px;
    height: 10px;
    margin-top: -10px;
    text-align: left;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}
.alert-danger {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}
.social-icons {
    text-align: right;
}

.social-icons .ico {
    width: 32px;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
    background-size: 100%;
    background-position: center;
}

.social-icons .ico.ico-vk {
    background-image: url('/resource/img/vk_1279056.svg');
}

.social-icons .ico.ico-github {
    background-image: url('/resource/img/github_rounded_394187.svg');
    background-size: 36px;
    background-position: -2px -3px;
}

.social-icons .ico + .ico {
    margin-left: 5px;
}

.grecaptcha-badge {
    visibility: hidden;
}
