body, header, section {
    position: relative
}
.header_overlay, .loader {
    height: 100%;
    top: 0;
    width: 100%;
    left: 0
}
.person, .s_descr_wrap, .top_mnu ul, .top_wrapper h1, .top_wrapper p, section h2, section h3 {
    text-align: center
}
.main_footer .social_wrap, .toggle_mnu {
    float: right
}
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}
body {
    font-family: Raleway, sans-serif;
    font-weight: 400;
    font-size: 14px;
    min-width: 320px;
    line-height: 1.6;
    -webkit-font-smoothing: antialised;
    overflow-x: hidden;
    margin: 0;
    padding: 0
}
body input:focus:required:invalid, body textarea:focus:required:invalid {
    color: red
}
body input:required:valid, body textarea:required:valid {
    color: green
}
a {
    text-decoration: none
}
.hidden {
    display: none
}
.header_overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, .4);
    z-index: 10
}
.main_head {
    min-height: 620px;
    padding: 20px 50px
}
.loader {
    background: #fff;
    bottom: 0;
    position: fixed;
    right: 0;
    z-index: 9999;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center
}
.loader .loader_inner {
    background-image: url(../img/preloader.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: #fff;
    height: 400px;
    width: 400px
}
.toggle_mnu, svg {
    width: 60px;
    height: 60px
}
.menu_container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between
}
svg {
    z-index: 100;
    position: relative
}
.toggle_mnu {
    z-index: 102;
    border: none;
    right: 20px;
    top: 20px;
    position: fixed
}
.sandwich {
    width: 34px;
    height: 34px;
    position: absolute;
    top: 5px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto
}
.sw-bottom, .sw-footer, .sw-topper {
    position: relative;
    width: 34px;
    height: 3px;
    background: #fff;
    display: block
}
.sw-topper {
    top: 0;
    border: none;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: top .2s, -webkit-transform .5s;
    transition: top .2s, -webkit-transform .5s;
    transition: transform .5s, top .2s;
    transition: transform .5s, top .2s, -webkit-transform .5s;
    -webkit-transition-delay: .2s, 0s;
    transition-delay: .2s, 0s
}
.sw-bottom {
    top: 8.49px;
    border: none;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: top .2s, -webkit-transform .5s;
    transition: top .2s, -webkit-transform .5s;
    transition: transform .5s, top .2s;
    transition: transform .5s, top .2s, -webkit-transform .5s
}
.sw-footer {
    top: 16.5px;
    border: none;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: all .5s;
    transition: all .5s;
    -webkit-transition-delay: .1s;
    transition-delay: .1s
}
.top_mnu, .top_wrapper {
    width: 100%;
    height: 100%
}
.sandwich.active {
    top: 12px
}
.sandwich.active .sw-topper {
    top: 8px;
    -webkit-transform: rotate(140deg);
    -ms-transform: rotate(140deg);
    transform: rotate(140deg)
}
.sandwich.active .sw-bottom {
    top: 5px;
    -webkit-transform: rotate(-140deg);
    -ms-transform: rotate(-140deg);
    transform: rotate(-140deg)
}
.sandwich.active .sw-footer {
    opacity: 0;
    top: 0;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg)
}
.top_mnu {
    position: fixed;
    background-color: rgba(0, 0, 0, .85);
    z-index: 101;
    right: 0;
    top: 0;
    display: none
}
.top_mnu li, .top_mnu ul {
    list-style-type: none;
    padding: 0;
    margin: 0
}
.top_mnu ul {
    margin-top: 180px
}
.top_mnu ul li:nth-child(1) a {
    -webkit-animation-delay: .1s;
    animation-delay: .1s
}
.top_mnu ul li:nth-child(2) a {
    -webkit-animation-delay: .4s;
    animation-delay: .4s
}
.top_mnu ul li:nth-child(3) a {
    -webkit-animation-delay: .7s;
    animation-delay: .7s
}
.top_mnu ul li:nth-child(4) a {
    -webkit-animation-delay: 1s;
    animation-delay: 1s
}
.top_mnu ul a {
    color: #fff;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
    display: block;
    padding: 20px 0;
    text-transform: uppercase
}
.main_footer .footer_container, .top_wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox
}
.top_mnu ul a:active, .top_mnu ul a:focus, .top_mnu ul a:hover {
    outline: 0
}
.top_wrapper {
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100
}
.s_descr, .top_wrapper h1 {
    display: inline-block;
    text-transform: uppercase
}
.top_wrapper h1 {
    padding: 10px 35px;
    color: #fff;
    border: 5px solid #fff;
    font-weight: 700;
    font-size: 2.8em;
    margin-left: 20px;
    margin-right: 20px;
    -webkit-animation-delay: 1s;
    animation-delay: 1s
}
.top_wrapper p {
    margin: 0;
    text-transform: uppercase;
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s
}
.h_opacity {
    opacity: .5;
    -webkit-transition: all .25s ease-in;
    transition: all .25s ease-in
}
section {
    padding: 70px 50px 90px
}
section h2 {
    font-size: 24px;
    text-transform: uppercase;
    margin: 0 0 15px
}
section h3 {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 12px;
    margin-top: 0;
    margin-bottom: 35px
}
section .personal_header {
    font-size: 13px;
    text-align: center;
    margin-bottom: 30px;
    color: #555
}
.s_descr {
    font-size: 12px;
    position: relative;
    margin-bottom: 130px
}
.s_descr:after {
    content: "";
    width: 150px;
    height: 1px;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    top: 60px
}
.main_footer {
    padding: 50px;
    font-size: 13px;
    font-weight: 300;
    line-height: 0
}
.main_footer .footer_container {
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap
}
.main_footer .social_wrap ul {
    margin: 0
}
.s_about p {
    margin-bottom: 25px
}
.s_about li, .s_about ul {
    margin: 0;
    padding: 0;
    list-style-type: none
}
.s_about li {
    margin-bottom: 10px
}
.resume_icon, .resume_item {
    margin-bottom: 35px
}
.s_about .social_wrap {
    margin-top: 25px
}
.about_container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}
.about_container .about_contacts, .about_container .about_info, .about_container .about_photo {
    -webkit-flex-basis: 30%;
    -ms-flex-preferred-size: 30%;
    flex-basis: 30%
}
.about_container .about_photo {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2
}
.about_container .about_info {
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1
}
.about_container .about_contacts {
    -webkit-box-ordinal-group: 4;
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3
}
.social_wrap li {
    display: inline-block;
    font-size: 20px;
    padding: 0 5px
}
.person img {
    max-width: 220px;
    display: inline-block;
    -webkit-border-radius: 50%;
    border-radius: 50%
}
.resume_container, .s_portfolio ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -webkit-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal
}
.s_resume h3 {
    margin-top: 30px;
    font-weight: 600
}
.resume_container {
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around
}
.resume_container .resume_left {
    text-align: right;
    -webkit-flex-basis: 50%;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    padding: 0 20px;
    border-right: 1px solid #d2d2d2
}
.resume_container .resume_left h3 {
    text-align: right
}
.resume_container .resume_right {
    text-align: left;
    -webkit-flex-basis: 50%;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    padding: 0 20px
}
.resume_container .resume_right h3 {
    text-align: left;
    font-weight: 600
}
.resume_icon {
    font-size: 40px
}
.resume_item .resume_year {
    display: inline-block;
    margin-bottom: 20px;
    padding: 0 10px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    font-weight: 600;
    font-style: italic
}
.resume_item .resume_description {
    font-style: italic
}
.resume_item .resume_description strong {
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    margin: 0 5px
}
.resume_item p {
    margin-top: 10px
}
.resume_item:last-child, .resume_item:last-child p {
    margin-bottom: 0
}
.s_portfolio li, .s_portfolio ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center
}
.s_portfolio li {
    display: inline-block;
    margin: 0 10px;
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
    line-height: 2
}
.s_portfolio ul {
    margin-bottom: 50px;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}
#portfolio_grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center
}
.portfolio_item {
    padding: 0;
    display: none;
    position: relative;
    -webkit-flex-basis: 26%;
    -ms-flex-preferred-size: 26%;
    flex-basis: 26%
}
.portfolio_item img {
    width: 100%;
    vertical-align: middle;
    height: 250px
}
.portfolio_item .portfolio_item_content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    text-align: center;
    padding-top: 15%;
    opacity: 0;
    -webkit-transition: all .4s ease-in;
    transition: all .4s ease-in
}
.portfolio_item .portfolio_item_content h3 {
    color: #fff;
    margin-bottom: 0
}
.portfolio_item .portfolio_item_content a {
    background-color: transparent;
    border: 1px solid #fff;
    padding: 5px 10px;
    text-transform: uppercase;
    display: inline-block
}
.portfolio_item:hover .portfolio_item_content {
    opacity: 1;
    padding-top: 20%
}
.portfolio_item_description {
    background-color: #fff;
    max-width: 500px;
    margin: auto;
    position: relative
}
.portfolio_item_description h3, .portfolio_item_description p {
    padding: 20px 20px 0
}
.portfolio_item_description h3 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 25px
}
.portfolio_item_description p {
    margin-top: 0;
    text-align: center
}
.portfolio_item_description img {
    width: 100%;
    margin-top: 10px
}
.portfolio_item_description a {
    margin-left:25%;
    text-align: center;
}
.portfolio_item_description ul{
    list-style-type: none;
    text-align: left;
}
.contacts_container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}
.contacts_container .contacts_form, .contacts_container .contacts_info {
    -webkit-flex-basis: 50%;
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    padding: 0 10px
}
.contact_box {
    margin-bottom: 30px
}
.contact_box h3 {
    text-align: left;
    color: #000;
    margin-bottom: 0;
    font-size: 14px
}
.contact_box .contacts_icon {
    font-size: 30px
}
.contact_box p {
    margin-top: 5px
}
.contacts_form button {
    border: none;
    color: #fff;
    line-height: 40px;
    padding: 0 25px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 10px;
    float: right
}
.contacts_form .form-group {
    display: block;
    margin-bottom: 20px
}
.contacts_form .form-group input, .contacts_form .form-group textarea {
    width: 100%;
    border: 1px solid #ccc;
    margin-top: 5px;
    line-height: 40px;
    text-indent: 15px;
    font-size: 12px;
    background-color: transparent
}
@media only screen and (max-width:992px) {
    .portfolio_item {
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%
    }
}
@media only screen and (max-width:768px) {
    .animated {
        -webkit-transition-property: none!important;
        transition-property: none!important;
        -ms-transform: none!important;
        -webkit-transform: none!important;
        transform: none!important;
        -webkit-animation: none!important;
        animation: none!important
    }
    .s_about ul {
        text-align: center
    }
    .about_container .about_contacts, .about_container .about_info, .about_container .about_photo {
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        margin-bottom: 35px
    }
    .about_container .about_photo {
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1
    }
    .about_container .about_info {
        -webkit-box-ordinal-group: 4;
        -webkit-order: 3;
        -ms-flex-order: 3;
        order: 3
    }
    .about_container .about_contacts {
        -webkit-box-ordinal-group: 3;
        -webkit-order: 2;
        -ms-flex-order: 2;
        order: 2
    }
}
@media only screen and (max-width:480px) {
    .top_text h1 {
        font-size: 2em;
        padding-right: 10px;
        padding-left: 10px
    }
    .resume_container .resume_left {
        text-align: left;
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        border-right: none
    }
    .resume_container .resume_left h3 {
        text-align: left
    }
    .resume_container .resume_right {
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%
    }
    .resume_icon, .s_portfolio ul li {
        margin-bottom: 10px
    }
    .portfolio_item {
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%
    }
    .contacts_container .contacts_form, .contacts_container .contacts_info {
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        padding: 0
    }
    .main_footer .social_wrap {
        float: left;
        margin-top: 20px;
        width: 100%
    }
    .main_footer .social_wrap ul {
        padding-left: 0
    }
}
