/* Emilian Hossu || emil.hoss@gmail.com */
html {
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #333333;
    height: 100%;
    background-color: #f8f8f8;
}

header {
    background-color: #ffffff;
    color: #ea5833;
    min-height: 160px;
    width: 100%;
    -webkit-box-shadow: 0px 10px 14px -7px rgba(179, 177, 179, 1);
    -moz-box-shadow: 0px 10px 14px -7px rgba(179, 177, 179, 1);
    box-shadow: 0px 10px 14px -7px rgba(179, 177, 179, 1);
    border-bottom: 1px solid rgb(212, 212, 212);
    position: relative;
    z-index: 50;
}

/*Logo -------------------------------------------------------------- */
/* ------------------------------------------------------------------ */

.site-title {
    margin: 15px 0px 0px 0px;
    line-height: 0.8;
}

.site-title a {
    font-size: 24px;
    color: #481824;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.site-title a:hover,
.site-title a:focus {
    text-decoration: none;
    color: #df2b54;
}

.site-branding img {
    max-width: 228px;
}

.above-content {
    margin: 10px 0px 20px 0px;
    background: #fcfcfc;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
}

.middle-content {
    margin-top: 30px;
    /* height: calc(100% - 390px); */
}


footer {
    background-color: #ea5833;
    color: #ffffff;
    min-height: 85px;
    margin-top: 50px;
}

footer .nav {
    margin: 1rem 0rem;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

footer .nav .nav-link {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0px 1.2rem;
}

footer .nav .nav-link:hover {
    text-decoration: underline;
}

footer .nav .nav-item {
    border-right: 1px solid #ffffff;
}

footer .nav .nav-item:last-child {
    border-right: none;
}
.butonGuides {
    background-color: #ffe7c5;
    border: 0;
    border-radius: 0;
    color: #666666;
    font-size: 0.8rem;
    font-weight: 500;
    height: 30px;
    line-height: 30px;
    min-width: 120px;
    outline: 0;
    padding: 0 15px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    transition: all .3s ease;
    max-width: 120px;
    display: inline-block;
}
.butonGuides:hover {
    text-decoration: none;
    background-color: rgba(234, 88, 51, 0.5);
    /* color: #666666; */
}
.buton {
    background-color: #ffe7c5;  
    border: 0;
    border-radius: 0;
    color: #666666;
    font-size: 18px;
    font-weight: 500;
    height: 44px;
    line-height: 44px;
    min-width: 180px;
    outline: 0;
    padding: 0 15px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    transition: all .3s ease;
    max-width: 250px;
    display: block;
}

.buton::after {
    border-bottom: 22px solid transparent;
    border-left: 16px solid #ffe7c5;
    border-top: 22px solid transparent;
    content: "";
    height: 0;
    left: 100%;
    position: absolute;
    top: 0;
    transition: all .3s ease;
    width: 0;
}

.buton:hover::after {
    border-left-color: rgba(234, 88, 51, 0.5);
}

.buton:hover {
    background-color: rgba(234, 88, 51, 0.5);
    color: #666666;
    text-decoration: none;
}

/* Domain languages ------------------------------ */
.domain-languages {
    margin: 15px 50px 0px 0px;
    float: right;
}

.domain-languages a {
    float: left;
    padding: 5px 10px 5px 15px;
}

/*Page content ------------------------------------------------------------------ */
.content {
    float: left;
    width: 100%;
    word-wrap: break-word;
}

/* Gallery styles -------------------------------*/
.galleries {
    float: left;
    width: 100%;
    margin: 5px 0px 35px 0px;
}

.gallery-title {
    font-size: 18px;
    padding: 0px 10px;
}

.gallery-pictures .thumbnail {
    margin: 10px;
    float: left;
    width: 260px;
}

.shadowClass {
    -webkit-box-shadow: 10px 10px 14px -7px rgba(212, 212, 212, 1);
    -moz-box-shadow: 10px 10px 14px -7px rgba(212, 212, 212, 1);
    box-shadow: 10px 10px 14px -7px rgba(212, 212, 212, 1);
    border: 1px solid rgb(212, 212, 212);
    padding: 25px;
}

.borderClass {
    border: 1px solid rgb(212, 212, 212);
}

/* Article page ------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
.article_item {
    background-color: #ffffff;
    /*margin: 0px 0px 40px 0px;*/
    display: block;
    -webkit-box-shadow: 10px 10px 14px -7px rgba(212, 212, 212, 1);
    -moz-box-shadow: 10px 10px 14px -7px rgba(212, 212, 212, 1);
    box-shadow: 10px 10px 14px -7px rgba(212, 212, 212, 1);
    border: 1px solid rgb(212, 212, 212);
}

.article_item-title {
    font-size: 2rem;
    color: #ea5833;
    margin-bottom: 1rem;
}

.article_item-date {
    color: #bbb;
    margin: 5px 0px 10px 3px;
    display: block;
}

.article_item-content {
    display: block;
    width: 100%;
    text-align: justify;
}

.article_item-featuredImage {
    display: inherit;
    margin: 5px auto;
    max-width: 100%;
}

.article_item-galleries,
.article_gallery-list,
.article_gallery-slider {
    display: block;
    width: 100%;
}

.article_gallery-title {
    color: #BBBBBB;
}

.article_gallery-list-picture {
    display: inline-block;
    margin-right: 10px;
}

.article_gallery-list-picture a {
    display: inline-block;
    -moz-box-shadow: 0 0 5px #ccc;
    -webkit-box-shadow: 0 0 5px #ccc;
    box-shadow: 0 0 5px #ccc;
    border-radius: 7px;
    border: 1px solid #bbb;
}

.article_gallery-list-picture img {
    max-width: 145px;
    border-radius: 5px;
}

.article_gallery-slider {
    text-align: center;
}

.article_gallery-slider .bx-wrapper {
    display: inline-block;
}

@media only screen and (min-width:768px) {
    .article_item-featuredImage {
        float: right;
        margin: 0px 0px 10px 20px;
    }
}

/*Category and Articles style ----------------------------------------------------- */
/* -------------------------------------------------------------------------------- */
.category_title {
    font-size: 2.2rem;
    color: #333;
    margin-top: 0.5rem;
}
.category_item {
    margin: 25px 0px 40px 0px;
    display: block;
    box-sizing: border-box;
    padding: 0px 5px;
}

.category_item-featuredImage {
    max-width: 100%;
    height: auto;
}

.category_item-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    margin: 20px 0px 10px 0px;
    font-family: 'Oswald', sans-serif;
    color: #ea5833;
}

.category_item-title a,
.article_item-title a {
    color: #ea5833;
    font-family: 'Oswald', sans-serif;
}

.category_item-title a:hover,
.category_item-title a:focus {
    text-decoration: none;
}

.category_item-date {
    color: #bbb;
    margin: 5px 0px 10px 3px;
    display: block;
}

.category_item-excerpt,
.article_item-content {
    color: #333333;
    text-align: justify;
}

.category_item-readMore {
    color: #417F1A;
    text-decoration: none;
}



/*.category-featured-image, .item-featured-image{
    max-width: 100%;
    max-height: 215px;
    max-width: 100%;
    margin: 15px;
}

.item-list {
    float: left;
    width: 100%;
    margin: 15px 0px;
    border-bottom: 1px dotted #eee;
    padding-bottom: 5px;
}
.item-title{
    font-size: 23px;
    float:left;
    width: 100%;
    margin: 2px 0px 5px 0px;
}
.item-title a:hover, .item-title a:focus{
    text-decoration: none;
}
.item-date {
    float: left;
    margin: 5px 0px;
    width: 100%;
    color: #bbb;
}
.cat_article_excerpt{
    float: left;
    width: 100%;
    overflow: hidden;
}

.read-more {
    float: right;
}
.read-more a{
    padding: 5px 10px;
    border-radius: 4px;
}
.read-more a:hover{
    text-decoration: none;
}

.article-title {
    float: left;
    width: 100%;
}
article {
    font-size: 16px;
    width: 100%;
    margin: 25px 0px;
    box-sizing: border-box;
    padding: 0px 15px;
}
article h1 {
    margin: 10px 0px 25px 0px;
}
.article-category-data {
    float: left;
    width: 100%;
    margin: 0px 0px 10px 0px;
    color: #aaa;
}
.article-category-data a{
    color:#aaa;
}
.article-featured-image{
    float: right;
    max-width: 200px;
    padding: 0px 0px 25px 25px;
}*/

/*Widgets and style =============================*/
/*.widget{*/
/*display: block;*/
/*box-sizing: border-box;*/
/*width: 100%;*/
/*padding: 10px;*/
/*background-color: #FFF;*/
/*border: 1px solid #ededed;*/
/*}*/
/*.image-shadow, .image-shadow-b{
    margin: 20px 23px;
    border: 1px solid #eee;
    transition: all 0.2s ease-in-out 0s;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    -ms-transition: all 0.2s ease-in-out 0s;
    box-shadow: 0 1px 2px rgba(43, 59, 93, 0.29);
}
.image-shadow-b{
    margin: 30px 17px;
}*/

/*old facebook button*/
/*.facebook_btn{
    background: url(/themes/cnasr-template/widgets/custom-code/bg_facebook.png) no-repeat top left;
    width: 195px;
    height: 45px;
}
.facebook_btn div{
    padding-top: 12px;
    color: #ffffff;
    text-align: left;
    margin-left: 11px;
    font-weight: bold;
    font-size: 12px;
}*/

.image-shadow:hover,
.image-shadow-b:hover {
    box-shadow: 0 1px 2px rgba(43, 59, 93, 0.29), 0 0 13px rgba(43, 59, 93, 0.29);
}

/*Bootstrap overrides*/
/*.form-control:focus {
    border-color: rgba(217, 22, 66, 0.4);
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(217, 22, 66, 0.2);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(217, 22, 66, 0.2);
}    */

.copyright {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    margin-top: 10px;
    text-align: center;
    margin-bottom: 5px;
}

.unslider-wrap li {
    list-style-type: none;
}

.pagination>li>a,
.pagination>li>span {
    color: #FFD35E;
}
.page-item.active .page-link, .page-link:hover{
    color: #ffffff !important;
    background-color: #ea5833 !important;
}
.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    background-color: #ea5833 !important;
    border-color: #ea5833 !important;
}


/* Widgets ============================= */
/* category style */
/*.category_widget-title a{*/
/*    color: #5b5b5b;*/
/*    -moz-transition:color .2s ease-out;*/
/*    -o-transition:color .2s ease-out;*/
/*    -webkit-transition:color .2s ease-out;*/
/*}*/
/*.category_widget-title a:hover{*/
/*    text-decoration: none;*/
/*    color: #80c036;*/
/*    -moz-transition:color .2s ease-in;*/
/*    -o-transition:color .2s ease-in;*/
/*    -webkit-transition:color .2s ease-in;*/
/*}*/
/*.category_widget-excerpt{}*/
/*.category_widget-excerpt p{ margin-bottom: 0.5rem; }*/
/*.category_widget-featuredImage{*/
/*    float: left;*/
/*    margin: 5px 10px 5px 0px;*/
/*}*/

/*.category_widget-data{*/
/*    color: #bbb;*/
/*    display: block;*/
/*    font-size: 12px;*/
/*    margin: 0px 0px 10px 2px;*/
/*    clear: both;*/
/*}*/
/*.category_widget-date:after{*/
/*    content: '/';*/
/*    margin: 0px 10px;*/
/*}*/
/*.category_widget-category{ color:#BBBBBB; }*/

/*.category_widget-tags{ display: inline-block; }*/
/*.category_widget-tags:before{*/
/*    content: '/';*/
/*    margin: 0px 10px;*/
/*}*/
/*.category_widget-tag{*/
/*    padding: 0px 10px;*/
/*    color: #80c036;*/
/*}*/





@media (min-width: 992px) and (max-width: 1199px) {
    .primary-menu-style li a {
        padding: 10px 6px;
        font-size: 13px;
    }

    .navbar-collapse {
        padding-left: 10px;
        padding-right: 0px;
    }

    .image-shadow {
        margin: 10px 4px;
    }

    .image-shadow-b {
        margin: 20px 25px;
        max-width: 210px;
        height: auto;
    }

    .nopadding {
        padding-left: 0px;
        padding-right: 0px;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    .image-shadow {
        margin: 20px 45px;
        height: auto;
    }

    .image-shadow-b {
        max-width: 150px;
        margin: 30px 14px;
        height: auto;
    }

    .primary-menu {
        margin: 0px;
    }

    .primary-menu-style li a {
        padding: 10px 16px;
    }
}

/* Max 767px breaking point ----------------------------------------- */
/* ------------------------------------------------------------------ */
@media (max-width: 767px) {
    .primary-menu .navbar-header {
        float: right;
        width: 100%;
    }

    .primary-menu {
        margin: 0px;
    }

    .navbar-brand {
        display: block;
        color: #fff;
        font-weight: bold;
    }

    .site-branding {
        text-align: left;
    }

    .dropdown .dropdown-menu a {
        color: #FFFFFF;
    }

    .footer-menu .navbar-header {
        float: right;
        margin-top: -36px;
    }

    .copyright {
        padding-left: 15px;
        text-align: left;
    }

    #content .row>div {
        float: left;
        width: 100%;
    }

    .image-shadow {
        margin: 20px;
        max-width: 140px;
        float: left;
        height: auto;
    }

    .image-shadow-b {
        margin: 10px 22px;
        height: auto;
    }

    .article-title {
        font-size: 27px;
    }

    .slide-buttons {
        max-width: 100%;
        overflow-x: scroll;
    }

    .container-buttons {
        float: left;
        min-width: 1085px;
        width: 100%;
    }
}

@media (min-width: 337px) and (max-width: 406px) {
    .image-shadow {
        margin: 15px 10px 15px 5px;
        max-width: 130px;
        float: left;
        height: auto;
    }

    .image-shadow-b {
        margin: 10px 9px;
        max-width: 125px;
        height: auto;
    }

    .container-buttons {
        min-width: 730px;
    }
}

@media (max-width: 320px) {
    .image-shadow {
        margin: 5px;
        max-width: 118px;
    }

    .image-shadow-b {
        margin: 10px 5px;
        max-width: 115px;
        height: auto;
    }
}