/* 
    Coding by alienshooter
    https://alienshootah.github.io/
*/

/* Main slyles */
.container-fluid, .row {
    padding: 0;
    margin: 0;
}
.content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}
.hidden {
    visibility: hidden;
    margin: 0;
    padding: 0;
    width: 0;
    height: 0;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
a {
    transition: all 0.5s;
}

/* Decoration */
.decor1 {
    z-index: -100;
    position: absolute;
    right: 0;
    width: 35%;
    height: 670px;
    background-color: #d2e3e3;
}

/* Header */
header .content {
    position: relative;
}
.header-social {
    position: absolute;
    top: 200px;
    left: 25px;
    z-index: 1000;
}
.social-item {
    margin: 10px 0;
    text-align: center;
}
.social-item a {
    color: #1a1a1d;
}
.social-item a:hover,
.social-item a:focus {
    color: #bad6d6;
}
.header-up {
    padding: 20px 0;
}
.header-up .col-4 {
    padding: 0;
}
.header-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    align-items: center;
}
.header-item {margin-right: 40px;}
.header-item a {
    color: #1a1a1d;
}
.header-ham {
    border: 0;
    background-image: 0;
    background: none;
    cursor: pointer;
    font-size: 24px;
}
.search-field {
    border: 0;
    padding: 5px 10px;
    background-color: transparent;
}
.search-btn {
    border: 0;
    background-image: 0;
    background: none;
    cursor: pointer;
    font-size: 18px;
}

/* Menu */
.fa-bars {
    font-size: 28px;
    margin-left: 10px;
}
/* The sidebar menu */
.sidebar {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
}

/* The sidebar links */
.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidebar a:hover {
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.openbtn:hover {
    background-color: #444;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s; /* If you want a transition effect */
    padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidebar {padding-top: 15px;}
    .sidebar a {font-size: 18px;}
}

/* Slider */
.header-slider {
    margin-top: 60px;
}
.slider-item {
    position: relative;
    margin-left: 200px;
    outline: none;
}
.slider-img {
    width: 100%;
    max-width: 700px;
    
}
.slider-title {
    position: absolute;
    top: 35%;
    left: -55px;
    font-size: 80px;
    color: #1a1a1d;
    line-height: 1;
    background-image: url(../img/slider-title-dec.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}
.slider-desc {
    position: absolute;
    top: 70%;
    left: -55px;
    font-size: 17px;
    text-transform: uppercase;
}
.slider-more {
    position: absolute;
    bottom: 18px;
    left: -125px;
}
.slider-link {
    background-color: #b4d3d3;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 0;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    border: 1px solid #b4d3d3;
}
.slider-link:hover,
.slider-link:focus {
    text-decoration: none;
    color: #b4d3d3;
    background-color: transparent;
}
.trigonal {
    background-color: #ffffff;
    padding: 22px 30px;
    margin-left: 20px;
    color: #b4d3d3;
}
.slider-link:hover .trigonal,
.slider-link:focus .trigonal {
    color: #ffffff;
    background-color: #b4d3d3;
}
/* categories */
.categories {
    margin-top: 80px;
}
.categories-nav {
    display: flex;
    justify-content: center;
}
.categories-items {
    margin: 10px 20px;
}
.categories-link {
    text-transform: uppercase;
    font-size: 12px;
    color: #696970;
    font-weight: bold;
    letter-spacing: 3px;
    padding: 10px 20px;
}
.categories-link:hover,
.categories-link:focus,
.categories-link.active {
    text-decoration: none;
    color: #000000;
    border-bottom: 2px solid #000000;
}
.categories-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 40px 0;
    text-align: center;
}
.categories-item {
    width: 24%;
    margin: 5px;
    background-color: #d3dcdc;
    padding: 0;
    position: relative;
}
.categories-share {
    visibility: hidden;
    background-color: #b4d3d3;
    width: 50px;
    height: 50px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 100%;
    position: absolute;
    right: 10px;
    top: 10px;
    color:#ffffff;
    font-size: 20px;
    padding-top: 10px;
    transform: rotate(-45deg);
}
.categories-text {
    visibility: hidden;
    color: #ffffff;
    text-transform: uppercase;
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    bottom: 20px;
    left: 20%;
    right: 20%;
}
.categories-image {
    width: 100%;
    height: 350px;
}
.categories-item.active,
.categories-item:hover,
.categories-item:focus {
    background-color: #2d2f33;
}
.categories-item.active .categories-share,
.categories-item:hover .categories-share,
.categories-item:focus .categories-share {
    visibility: visible;
}
.categories-item.active .categories-text,
.categories-item:hover .categories-text,
.categories-item:focus .categories-text {
    visibility: visible;
}
.categories-item.active .categories-image,
.categories-item:hover .categories-image,
.categories-item:focus .categories-image {
    opacity: 0.2;
}


.more {
    text-align: center;
    margin: 10px 0;
}
.more-link {
    background-color: #b4d3d3;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 30px;
    padding: 10px 30px;
    border: 2px solid #b4d3d3;
}
.more-link:hover,
.more-link:focus {
    color: #b4d3d3;
    background-color: transparent;
    text-decoration: none;
}

.news {
    margin: 40px 0;
}
.news-title {
    font-size: 40px;
    background-image: url(../img/news-title-dec.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    padding-bottom: 20px;
}
.news-list {
    display: flex;
    margin: 40px 0;
}
.news-item {
    width: 32%;
    display: flex;
    margin: 10px;
}
.news-text {
    font-size: 16px;
    color: #77777e;
    position: relative;
}
.news-img {
    width: 200px;
    height: 140px;
    margin-right: 20px;
}
.news-text a {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
}
.news-text a:hover,
.news-text a:focus,
.news-text a.active {
    color: #87bbbc;
    text-decoration: none;
}
.news-last {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.news-last_item {
    margin: 7px;
    padding: 0;
    color: #000000;
    width: 32%;
    position: relative;
}

.last_item-full {
    color: #ffffff;
    display: flex;
    background-image: linear-gradient(-120deg, #d8e6e6, #80b7b7);
    align-items: center;
}
.last_item-full .last-image {
    width: 60%;
}
.last_item-full .last-text {
    width: 40%;
    order: -1;
    margin: 50px;
    font-size: 20px;
}
.last-date {font-size: 14px;}
.last_item-full .last-date {
    color: #ffffff;
}
.last-date {
    color: #333333;
}
.last_item-full .fa-caret-right {
    font-size: 64px;
}
.last-img {
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
}
.last_item-full .last-img {
    height: 100%;
    margin-bottom: 0;
}
.last_item-full .last-text {
   
    padding: 10px;
    bottom: 50%;
}
.last_item-full .last-text a {color: #ffffff;}
.last-text a {
    color: #000000;
}
.news-last h3 {
    font-size: 20px;
}
.last_item-full {
    width: 100%;
}
.last_item-full h3 {
    font-size: 24px;
}
.last-tranding {
    text-transform: uppercase;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    color: #000000;
    padding: 10px;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Footer 
.footer-up {
    border-bottom: 1px solid #cccccc;
    padding: 10px 0;
}*/
footer {
    padding-bottom: 20px;
}
footer a {
    color: #000000;
    text-transform: uppercase;
    font-size: 16px;
}
.footer-up, .footer-down {
    padding: 10px 0;
}
.footer-mail {
    margin-left: 5px;
    margin-top: -3px;
}
.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}
.footer-item {
    margin-left: 15px;
}
