/*!
Theme Name: Janna Portfolio
Theme URI: http://underscores.me/
Author: Anton Fedorov
Author URI: http://heavenweb.ru
Description: Site for Janna Portfolio site
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: potf
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

potf is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

*{
    margin: 0;
    padding: 0;
    list-style: none;
}
a{
	text-decoration: none;
}
@font-face {
    font-family: 'stem-web';
    src: url('fonts/Stem-Medium.woff2') format('woff2'),
         url('fonts/Stem-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'stem-light';
    src: url('fonts/Stem-Light.woff2') format('woff2'),
         url('fonts/Stem-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'stem-light', sans-serif;
    font-size: 18px;
    line-height: 30px;

}
.bg-header{
    background: url(img/hdr-bg.png) #fafafa left top repeat-x;
    padding-top: 30px;
    padding-bottom: 120px;
    position: relative;
}
.bg-header:after{
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -50px;
    width: 100px;
    height: 2px;
    background: #8ca4b9;
    z-index: 2;
    content: "";
}
@media (min-width:1200px){
    .container{
        max-width: 1200px;
    }
}
.limg{
    float: right;
    margin-right: 50px;
}
.transform{
    font-size: 16px;
    line-height: 1;
    color: #000;
    letter-spacing: 0.2em;
    font-family: 'stem-web', sans-serif;
    transform: rotate(90deg);
    transform-origin: left top 0;
    display: inline-block;
    padding-left: 20px;
    margin-left: 20px;
}
.h {
    display: block;
    white-space: nowrap;
    margin-top: 150px;
    margin-left: -40px;
    font-size: 36px;
    letter-spacing: 0.05em;
    font-weight: normal;
    background-color: #ffffff;
    color: #497597;
    text-transform: uppercase;
    padding: 30px 40px;
}
.text {
    padding-top: 30px;
    line-height: 36px;
    color: #535a5f;
    padding-bottom: 90px;
}
.text strong {
    font-family: 'stem-web', sans-serif;
    color: #497597;
    font-weight: 400;
    border-bottom: 2px solid #497597;
}
.ickon{
    text-transform: uppercase;
    color: #b4c3d0;
    padding-bottom: 50px;
}
.ickon span{
    width: 130px;
    font-size: 18px;
    vertical-align: middle;
    color: #b4c3d0;
    font-family: 'stem-web', sans-serif;
    letter-spacing: 0.1em;
    display: inline-block;
}
.ickon a{
    vertical-align: middle;
    height: 24px;
    transition:all 0.2s linear 0s;
    width: 24px;
    display: inline-flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    padding:0 20px;
    opacity: 0.7;
}
.ickon a:hover{
    opacity: 1;
}


.works {
    padding: 100px 0 100px;
    text-align: center;
    color: #8ca4b9;
    text-transform: uppercase;
    font-size: 36px;
    font-family: 'stem-light', sans-serif;
    letter-spacing: 0.1em;
}
@media (min-width:1400px){
    .works_wrap{
        max-width: 1400px;
    }
}


.works_wrap .col-12{
    padding-bottom: 100px;
}
h2{
    text-align: center;
    text-transform: uppercase;
    color: #8ca4b9;
    font-weight: normal;
    font-family: 'stem-light', sans-serif;
    padding-bottom: 50px;
    font-size: 24px;
    letter-spacing: 0.1em;
}
img {
    padding-top: 0;
    padding-right: 10px;
}
.crug{
    transition:all 0.2s linear 0s;
    display: block;
    width: 175px;
    height: 50px;
    line-height: 46px;
    letter-spacing: 0.1em;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    margin: 50px auto 0;
    border-radius: 60px;
    border: 2px solid #8ca4b9;
    color: #8ca4b9;
    font-family: 'stem-web', sans-serif;
}
.crug:hover{
    color:#fff;
    background: #8ca4b9;
}
.item{
    margin-left: 20px;
    margin-right: 20px;
    transition:all 0.2s linear 0s;
    color: #435361;
    display: block;
    font-size: 18px;
    line-height: 30px;
    font-family: 'stem-light', sans-serif;
    margin-bottom: 10px;
    padding: 10px 10px 10px 50px;
    border-radius: 10px;
    background: url(img/external-link-alt-solid.png) 15px 16px no-repeat;
}
.item-file{
    background: url(img/paperclip-solid.png) 15px 13px no-repeat;
}
.item:hover{
    background-color: #fafafa;
    color: #000000;
}






.foo {
    height: 100px;
    background-color: #7f93a4;
    padding-top: 20px;
}
.foo__l{
    width: 275px;
    float: left;
}
.foo__ttl{
    display: block;
    background: #fff;
    color: #497597;
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 0.1em;
    line-height: 42px;
}
.foo__sub{
    text-align: center;
    font-size: 14px;
    padding-top: 10px;
    line-height: 1;
    color: #fff;
    letter-spacing: 0.1em;
}
.foo__r{
    float: right;
    padding-top: 25px;
}
.foo__r a{
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}
.foo__r a img{
}




@media screen and (max-width: 1200px) {
.bg-header{
    padding-bottom: 30px;
}
.limg{
    float: none;
    margin-right: 0;
    margin: 0 auto;
    display: block;
    max-width: 100%;
}
.transform{
    transform: none;
    display: block;
    padding: 40px 0 20px;
    text-align: center;
}
.h{
    display: block;
    margin-top: 0;
    margin-left: 0;
    text-align: center;
    white-space: normal;
    font-size: 28px;
    line-height: 1.6;
    padding: 10px 20px;
    height: auto;
}
.works{
    padding: 80px 0 60px;
}
.works_wrap .col-12{
    padding-bottom: 80px;
}
.text {
    padding-bottom: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
}
.text span {
    font-family: 'stem-web', sans-serif;
    color: #497597;
    border-bottom: 2px solid #497597;
}
.ickon{
    text-transform: uppercase;
    color: #b4c3d0;
    padding-bottom: 50px;
    width: 300px;
    margin: 0 auto;
}
.ickon span{
    width: 100px;
    font-size: 14px;
}
.item{
    margin-left: 0;
    margin-right: 0;
}
.foo {
    height: auto;
}
.foo__l{
    width: 275px;
    float: none;
    margin: 0 auto;
    padding-bottom: 20px;
}
.foo__r{
    float: none;
    text-align: center;
    padding-bottom: 25px;
}
/* media */
}








.archive_wrap{
    margin-top: 50px;
    margin-bottom: 50px;
    min-height: 90vh;
}
.page-header{
    padding-left: 20px;
    padding-bottom: 40px;
    font-size: 30px;
}
.tofront{
    font-size: 12px;
    color:#aaa;
    display: block;
    margin-bottom: 15px;
}