/*******************************************************
 *
 * Blog
 *
 *******************************************************/
#inner-page-wrapper {
     margin-bottom: 0;
     overflow: hidden;
 }


 body.page-template-cyds-blog #inner-page-wrapper > .container {
     width: 100%;
     padding: 0 15px;
     max-width: 1170px;
 }


  body.page-template-cyds-blog .ip-banner canvas{
     background-image: url(../../images/blog/blog-banner.jpg)!important;
     background-position: bottom center;
 }


 #content-sidebar, #content-full {
    margin-top: 0;
}

.ip-banner h1 {
    font-size: 45px;
    letter-spacing: 4.5px;
}


.ip-banner:before {
   background: rgba(0,0,0,.30);
}


#ip-blog {
    font-size: 0;
    letter-spacing: normal;
    line-height: 1;
}

.ip-blog-container {
    display: block;
    position: relative;
    padding: 110px 0 43px;
}

.ip-blog-wrapper {
    display: block;
    position: relative;
}

.ip-blog-main {
    display: block;
    position: relative;
}

.ip-blog-item {
    display: block;
    position: relative;
    margin-bottom: 90px;
    border-bottom: 1px solid #bbbbbb;
    padding-bottom: 90px;
}

.ip-blog-row {
    position: relative;
    margin: 0 -15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.ip-blog-col {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    position: relative;
    padding: 0 15px;
}

.ip-blog-img {
    display: block;
    position: relative;
    background-color: #212227;
}

.ip-blog-content {
    display: block;
    position: relative;
}

.ip-blog-content-wrap {
    display: block;
    position: relative;
    padding-left: 30px;
}

.ip-blog-content-wrap > div {
    display: block;
    position: relative;
}

#content .ip-blog-title h2 {
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    color: #212227;
    font-family: var(--title-font);
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 6.4px;
}

.ip-blog-cat-date span {
    display: inline-block;
    vertical-align: middle;
    padding: 0 13px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 3.2px;
    color: #94745a;
    text-transform: uppercase;
    border-right: 2px solid #94745a;
}

#content .ip-blog-content p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #000;
    margin: 0;
}

.ip-blog-btn a {
    max-width: 170px;
    height: 36px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 2.4px;
    color: #95755b;
}

.ip-blog-img img {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
    display: block;
    z-index: 2;
}

.ip-blog-img canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.ip-blog-content {
    margin-bottom: 30px;
}

.ip-blog-cat-date {
    margin-bottom: 22px;
}

.ip-blog-cat-date span:first-child {
    padding-left: 0;
}


.ip-blog-cat-date span:last-child {
    padding-right: 0;
    border: none;
}

.ip-blog-title {
    margin-bottom: 30px;
}

.ip-blog-item:last-child {
    margin-bottom: 74px;
}

.ip-blog-item:nth-child(even) .ip-blog-row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
}

.ip-blog-item:nth-child(even) .ip-blog-content-wrap {
    padding-left: 0;
    padding-right: 30px;
}

.ip-blog-item:last-child .ip-blog-cat-date span:first-child, 
.ip-blog-item:nth-child(4) .ip-blog-cat-date span:first-child {
    border: none;
    padding-bottom: 2px;
}

.ip-blog-item:last-child .ip-blog-cat-date span:last-child, 
.ip-blog-item:nth-child(4) .ip-blog-cat-date span:last-child {
    padding-left: 13px;
    border-left: 2px solid #94745a;
}





#content .ip-global-pagination {
    text-align: center;
}

#content .ip-global-pagination ul > li {
    width: 53px;
    height: 53px;
}

#content .ip-global-pagination ul > li a {
    font-size: 20px;
    letter-spacing: 4px;
    font-family: var(--body-font);
}
#content .ip-global-pagination ul > li a.next,
#content .ip-global-pagination ul > li a.prev{
    border: none;
}
#content .ip-global-pagination ul > li {
    width: 53px !important;
}
#content .ip-global-pagination ul > li span.current{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 1px solid #95755b;
    color: #95755b;
    font-size: 17px;
    line-height: 1;
    background: transparent;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    font-weight: 500;
}
#content .ip-global-pagination ul > li span.current{
    background: #95755b;
    color: #fff;
}
/*.ip-global-pagination .page-numbers {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-right: 15px;
    font-size: 15px;
    font-family: var(--body-font);
    border: 1px solid #95755b;
    color: #95755b;
    line-height: 1;
    background: transparent;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
    font-weight: 500;
    letter-spacing: 4px;
    padding: 15px 17px;
}

.ip-global-pagination .page-numbers.current,
.ip-global-pagination .page-numbers:hover {
    background: #95755b;
    color: #fff;
    cursor: pointer;
}

.ip-global-pagination .page-numbers.current,
.ip-global-pagination .page-numbers.dots {
    pointer-events: none;
}*/

.ip-global-pagination a.prev.page-numbers,
.ip-global-pagination a.prev.page-numbers:hover,
.ip-global-pagination a.next.page-numbers,
.ip-global-pagination a.next.page-numbers:hover {
    border: none;
    background: #fff;
    color: #95755b;
}



/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
    #content .ip-blog-title h2 br {
        display: none;
    }

    #content .ip-blog-title h2 {
        font-size: 24px;
    }

    .ip-blog-title {
        margin-bottom: 25px;
    }

    .ip-blog-cat-date {
        margin-bottom: 20px;
    }

    .ip-blog-content {
        margin-bottom: 20px;
    }

    .ip-blog-item {
        margin-bottom: 50px;
        padding-bottom: 50px;
    }
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
    .ip-blog-col {
        display: block;
        width: 100%!important;
        padding: 0;
    }

    .ip-blog-row {
        display: block;
        margin: 0;
    }

    .ip-blog-content-wrap {
        padding: 0!important;
        text-align: center;
    }

    .ip-blog-img {
        margin-bottom: 30px;
    }

    body.page-template-cyds-blog #inner-page-wrapper > .container {
        padding: 0 15px;
        max-width: 768px;
    }

    .ip-blog-btn a {
        margin: 0 auto;
    }


    .ip-blog-item .ip-blog-cat-date span:first-child {
        border: none!important;
    }


    .ip-blog-item .ip-blog-cat-date span:last-child {
        padding-left: 13px!important;
        border-left: 2px solid #94745a!important;
    }

    .ip-blog-container {
        padding: 50px 0 43px;
    }

    #content .ip-blog-title h2 {
        letter-spacing: 3px;
    }
    
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {

}
 