* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


body {
    margin: 110px 0 0 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    color: #262C36;
    background: #fff;
}



body.is-index-page {
    background: #fafafa;
}

input:focus, 
textarea:focus, 
button:focus 
{
    outline: none;
}

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


h1,
.h1 {
    padding: 0;
    margin: 0 0 40px 0;
    font-size: 44px;
    line-height: 1.2;
    font-weight: 700;
    position: relative;
    color: #262C36;
    text-align:center;
}

.page-header h1 {
    font-weight: 800;
    margin: 0 0 15px 0;
    /* text-transform: uppercase; */
}

h2,
.h2{
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    color: #262C36;
}



h3,
.h3{
    padding: 0;
    margin: 0 0 15px 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #262C36;
}


a {
    color: #F44E3F;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.wrapper {
    width:100%;
    max-width: 1100px;
    margin: 0px auto;
    padding: 0 10px 0 10px;
}

.wrapper-header {
    width:100%;
    max-width: 1100px;
    margin: 0px auto;
    padding: 0 0 0 0;
    position: relative;
}

/*----HEADER-----*/

.header-container {
    display: inline-block;
    float: left;
    width:100%;
    position: relative;
    top:0;
    z-index:100;
    position: fixed;
}

.header {
    display: inline-block;
    float: left;
    width:100%;
    height:60px;
    padding: 0;
    background: #F44E3F;
    
    top: 0;
    min-height: 2em;
    z-index: 100;
   
}

.header__slogan {
    float: left;
    width: 100%;
    display: inline-block;
    text-align: center;
    /* background: #f8f8f8; */
    font-size: 16px;
    font-weight: 600;
    padding: 20px 0 0 0;
    /* color: #262C36; */
    color: #B7C7CE;
    /* border-bottom: 1px solid #f2f2f2; */
}

.header__lcol {
    display: inline-block;
    width: 100px;
    float: left;
}

.header__ccol {
    display: inline-block;
    width: calc(100% - 200px);
    float: left;
    text-align: center;
    color: #fff;
    padding: 20px 0 0 0;
}

.header__rcol
{
    display: inline-block;
    width: 100px;
    float: left;
}

.header__rcol {
    text-align: right;
}

.header-logo {
    display: inline-block;
    margin: 10px 0 0 10px;
}

.header-logo__ico {
    width:80px;
    height: 40px;
    fill:#fff;
    /* background:url('../images/logo2.svg'); */
}

.btn-sidebar {
    display: none;
    width: 60px; height: 60px;
    text-align: center;
    cursor: pointer;
}

.btn-sidebar:after {
    content: '';
    display: inline-block;
    width: 24px; height: 24px;
    margin: 20px 0 0 0;
    background: url("../images/i-sidebar.png") no-repeat 0 -24px;
}

.btn-sidebar.is-open {
    background-position: 0 0;
}

.btn-sidebar.is-open:after {
    background: url("../images/i-sidebar.png") no-repeat -24px -24px;
}

.header__search-btn {
    display: inline-block;
    width: 60px;
    height: 60px;
    padding: 20px;
    cursor: pointer;
    float: right;
}

.icon-search{
    width: 22px;
    height: 22px;
    fill: #fff;
}

.icon-close{
    width: 24px;
    height: 24px;
    fill: #fff;
}

.header__search-btn:hover,
.header__search-btn.is-open {
    background: rgb(231, 65, 50);
}



/* .header__search-btn:hover .icon-search{
    fill: #F44E3F;
} */

/*-----NAV MAIN-----*/
.header-nav-row {
    display: inline-block;
    width: 100%;
    /* border-bottom: 1px solid #bbb; */
    text-align: center;
    background: #fff;
    -webkit-box-shadow: 0px 1px 4px 0px rgba(50, 50, 50, 0.2);
    -moz-box-shadow: 0px 1px 4px 0px rgba(50, 50, 50, 0.2);
    box-shadow: 0px 1px 4px 0px rgba(50, 50, 50, 0.2);
}
.nav-main-cnt {
    display:inline-block;
    text-align:left;
    margin-top:0;
    padding: 0 0 0 0;
}


.nav-main,
.nav-main ul {
    padding:0;
    margin:0;
    list-style:none;
}

.nav-main > li{
    float:left;
    padding:0 0;
    position: relative;
}

.nav-main > li > .nav-main__item{
    color: #262C36;
    display: inline-block;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    padding:7px 20px 5px 0;
    
}


.nav-main > li:hover > a.nav-main__item{
    color: rgb(231, 65, 50);

}
/*---END NAV MAIN------*/

.content {
    display: inline-block;
    width: 100%;
    padding: 0 0;
}

.content_silver {
    background: #f7f7f7;
    padding: 40px 0;
}

/*----POSTS-----*/
.post-list {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
}

.post {
    
    width: 30%;
    float: left;
    background: #fff;
    border-radius: 4px;
    margin-bottom:  40px;
    position: relative;
    padding-bottom: 40px;

    -webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.1);
    box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.1);
}

.post__img {
    display: inline-block;
    width: 100%;
    height: 180px;
    overflow: hidden;
    /* position: relative; */
    border-radius: 4px 4px 0 0;
    
}

.post:nth-of-type(5n+4),
.post:nth-of-type(5n+5)
{
   width:47%;
}

.post:nth-of-type(5n+4) .post__img,
.post:nth-of-type(5n+5) .post__img
{
    height: 250px;
}

.post:nth-of-type(5n+4) {
    margin-right: 6%;
}

.post:nth-of-type(5n+2) {
    margin: 0 5% 40px 5%;
}

.post__img img{
    /* max-width: 100%; */
    min-width: 100%;
    min-height: 100%;
    
    /* position: absolute;
    position: absolute;
top: -9999px;
bottom: -9999px;
left: -9999px;
right: -9999px;
margin: auto; */

    /* -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -webkit-transition: all 300ms ease-out; */
}

/* .post:hover .post__img img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
} */

.post__title {
    color: #262C36;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

.post__title:hover {
    color: #ed5e42;
    text-decoration: none;
}

.post__info {
    padding: 20px;
}

.post_date {
    padding: 0 20px 20px 20px;
    color:#B7C7CE;
    font-size: 13px;
    position: absolute;
    bottom: 0;
}



.post-page-date {
    text-align: center;
    font-weight: 600;
    color: #B7C7CE;
    font-size:16px;
    margin: 30px 0 15px 0;
}

.post-page-body {
    display: inline-block;
    width: 100%;
    min-height: 300px;
    font-size: 20px;
    line-height: 1.6;
    font-family: 'Georgia';
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    padding: 20px 60px 40px 60px;
    background: #fff;
    position: relative;
   
    box-shadow: 0 -15px 15px -20px rgba(0, 0, 0, .2);
}

.post-page-body:before {
    content: "";
    position: absolute;
    top: 0px;
    left: -5px;
    z-index: -1;
    display: block;
    width: 20px;
    height: 200px;
    background: rgba(39,44,49,0.15);
    filter: blur(5px);
    transform: rotate(-5deg);
}

.post-page-body:after {
    content: "";
    position: absolute;
    top: 0px;
    right: -5px;
    z-index: -1;
    display: block;
    width: 20px;
    height: 200px;
    background: rgba(39,44,49,0.15);
    filter: blur(5px);
    transform: rotate(5deg);
}

.post-page-like {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.post-page-img{
    display: inline-block;
    width:100%;
    text-align:center;
    
    line-height: 0;
    font-size: 0;
    
}

.post-page-img-cnt{
    /* background: #F7F7F7;  */
    width: 100%;
}



.post-page-img img{
    max-width: 100%;
    /* float: left; */
    
}
/*----------adaptive----------*/

/*---THE MODAL---*/
.themodal-lock{
    overflow:hidden;
}

/*.themodal-scroll {*/
/*overflow:auto;*/
/*}*/

.themodal-overlay{
    position:fixed;
    bottom:0;
    left:0;
    top:0;
    right:0;
    z-index:1000;
    display:inline-block;
    text-align:center;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
}

.themodal-overlay:after {
    content:'';
    display:inline-block;
    height:100%;
    vertical-align:middle;
}

.themodal-overlay > *{
    -webkit-transform:translateZ(0px);
}

.themodal-overlay{
    background:rgba(0, 0, 0, 0.5);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = #7F000000, endColorstr = #7F000000);
    zoom:1;
}
/*---END THE MODAL---*/


/*----SEARCG FORM-----*/
.search-form-container {
    display: inline-block;
    width:100%;
    margin-top: 10%;
}

.search-form {
    display: inline-block;
    width:100%;
    position: relative;

}

.search-form__string {
    display: inline-block;
    width:100%;
    height: 50px;
    background: #f0f0f0;
    padding: 0;
    border: none;
    border-radius: 4px;
    font-size:20px;
    font-family: 'Open Sans', sans-serif;
    padding: 0 20px;

    -webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
}

.search-form__btn {
    display: inline-block;
    float: left;
    width:120px;
    height: 50px;
    background: #F44E3F;
    font-family: 'Open Sans', sans-serif;
    font-size:20px;
    border: none;
    border-radius: 0 4px 4px 0;
    color:#fff;
    padding: 0 15px;
    position: absolute;
    right: 0;
    top: 0;
}

.search-form__btn:active {
    background: rgb(231, 65, 50);
}

.search-autocompleet {
    display: none;
    position: absolute;
    
    left: 0;
    top: 100%;
    background: #fff;
    width: 100%;
    color: #333;
    min-width: 330px;
    
    padding: 20px;
    z-index: 1000;
    border: 1px solid #ebebeb;
    font-size: 13px;
    
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
}

.sa-container {
    display: inline-block;
    width: 100%;
}

/*----END SEARCG FORM-----*/

/*---TAG----*/
.taglist {
    display: inline-block;
    width: 100%;
    margin: 20px 0 20px 0;
}

.tag {
    display: inline-block;
    background: rgb(234, 241, 245);
    font-size: 16px;
    height: 30px;
    line-height: 30px;
    padding: 0 15px;
    border-radius: 15px;
    white-space: nowrap;
    color: #444;
    margin-right: 10px;
}

.tag:hover {
    background: #F44E3F;
    color: #fff;
    text-decoration: none;
}
/*---END TAG----*/

.load-btn-row {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.load-btn {
    display: inline-block;
    background: #F44E3F;
    font-size: 16px;
    height: 50px;
    line-height: 50px;
    padding: 0 25px;
    border-radius: 25px;
    white-space: nowrap;
    color: #fff;
    cursor: pointer;
}

.load-btn:hover {
    background: rgb(231, 65, 50);
}

.header-glob-modal {
    left: 0;
    right: 0;
    bottom: 0;
    /* padding-top:60px; */
    
    background-color:rgba(255, 255, 255, 0.95);
    position: fixed;
    -webkit-overflow-scrolling:touch;
    overflow:auto;
}


.is-hide {
    display: none;
}

.mob-is-show {
    display: none;
}


@media (max-width: 900px) {
  
    .post {    
        width: 47%;
        margin-right:3%;

    }
    .post__img {
        height: 180px;
    }

    .post:nth-of-type(5n+4),
    .post:nth-of-type(5n+5)
    {
        width: 47%;
    }
    
    
    .post:nth-of-type(5n+4) .post__img,
    .post:nth-of-type(5n+5) .post__img
    {
        
        height: 180px;
    }
    
    .post:nth-of-type(5n+4) {
        margin-right: 3%;
    }
    
    .post:nth-of-type(5n+2) {
        margin: 0 3% 20px 0;
    }

    .wrapper-header {
        display: table;
        width: 100%;
    }

    .header__lcol,
    .header__rcol {
        display: table-cell;
        float: none;
        width: auto;
        vertical-align: top;
    }

    .header__ccol {
        font-size: 13px;
        padding: 0;
        display: table-cell;
        vertical-align: middle;
        padding: auto;
        float: none;
        width: 100%;
        
    }

    .btn-sidebar,
    .header-logo 
    {
        float: left;
    }
}



@media (max-width: 768px) {

    .header-nav-row {
        background: none;
        box-shadow: none;
    }

    body {
        margin: 50px 0 0
    }

    body.is-index-page {
        margin: 70px 0 0
    }

    h1,
    .h1
    {
        margin: 0 0 20px 0;
        font-size: 24px;
    }

    h2,
    .h2{
        font-size: 20px;
        margin: 0 0 15px 0;
    }

    h3,
    .h3{
        font-size: 18px;
        margin: 0 0 10px 0;
    }

    .mob-is-hide {
        display: none;
    }

    .mob-is-show {
        display: inline-block;
    }

    .sidebar {
        display: none;
    }

    .btn-sidebar {
        display: inline-block;
    }

 

    .nav-main > li {
        width:100%;
        

    }
    .nav-main > li > .nav-main__item {
        width:100%;
        padding: 15px 10px;
        color: #000;
        text-align: center;
        font-size: 24px;
    }

    .nav-main > li:hover > a.nav-main__item,
    .nav-main > li > .nav-main__item.is-active {
        background: none;
        color: #F44E3F;
    }

    .search-form-container {
        margin-top: 20px;
    }

    .post__info {
        padding: 10px 20px;
    }
    .post__title {
        font-size: 16px;
    }

    .post-page-body {
       
        font-size: 17px;
        line-height: 1.6;
        padding: 10px;
       
        box-shadow: none;
    }
    
    .post-page-body:before {
        display: none;
    }
    
    .post-page-body:after {
        display: none;
    }

    .content_silver {
        padding: 20px 0;
    }
    
    
   
}


@media (max-width: 600px) {

    body {
        margin: 50px 0 0
    }
    
    .post {    
        width: 100%;
        margin-right:0;

    }
    .post__img {
        height: 200px;
    }
    
    .post:nth-of-type(5n+4),
    .post:nth-of-type(5n+5)
    {
        width: 100%;
    }

    .post:nth-of-type(5n+4) .post__img,
    .post:nth-of-type(5n+5) .post__img
    {
       
        height: 200px;
    }
    
    .post:nth-of-type(5n+4) {
        margin-right: 0;
    }
    
    .post:nth-of-type(5n+2) {
        margin: 0 0 20px 0;
    }
}

@media (max-width: 400px) {
    .post-page-body {
       
        font-size: 16px;
    
    }
}

