html, body{
    height: 100%;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    font-family: Optima,'Open Sans',sans-serif;
    overflow-x: hidden;
}
body{
    position: relative;
}
#product-logo {
    width: 80px;
    position: absolute;
    z-index: 3;
        left: 0;
        top: 0;
}
.content.decker-nav.border-bottom.top-layer{
    position: fixed;
}
.article-title{
    margin: 4px;
    line-height: 1.3;
    font-size: 17px !important;
    font-weight: bold;
}
.title{
    font-size: 18px;
    margin-bottom:  -0.5px;
    line-height: 1.2em;
}
.article-date {
    left: 18px;
    margin: 0 auto;
    text-align: center;
    bottom: 9px;
    font-size: 10px;
    padding-top: 4px;
    color: #9a9a9a;
}
.article-text{
    padding: 0px;
    border: 1px solid gainsboro;
    border-top: none;
    overflow: hidden;
    overflow: -webkit-paged-y;
    padding-top: 10px;
    height: 100%;
    display: grid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}
.article-summary{
    padding: 0 20px;
}
.section-title{
    width: 100%;
    padding: 10px 20px;
    border-top: 1px solid gainsboro;
}
body h1 {
    margin-bottom: 0px;
    font-size: 1em;
    margin-top: 20px;
    font-weight: normal;
    margin-right: 12px;
}
body p {
    font-size: inherit;
    margin: inherit;
}
body h2 {
    font-size: inherit;
}
h2{
    margin-bottom: 8px;
    font-size: 1.1em;
    margin-top: 20px;
}
p{
    font-size: 13px;
    margin-top: 4px;
}
section#foot-section {
    z-index: 2;
    bottom: 0;
}
.footer-wrapper {
    max-width: 1500px !important;
}
div#footer-id {
    background-color: #343434;
}
/* .active {
    color: #183972 !important;
    border-bottom: 3px solid #183972;
} */
#blog-container{
    height: 100%;
    padding: 0px;
    background-color: white;
    min-height: 460px;
    margin-bottom: 1em;
}
#blog-nav{
    position: fixed;
    float: right;
    background-color: #F7F7F7;
    z-index: 6;
    right: 0;
    width: 275px;
    top: 138px;
    height:100%;
    margin-top:-63px;
    overflow: scroll;
}
div#subscribe-container{
    margin-bottom: 50px;
}
ul ul li{
    text-align: left;
    padding: 0;
    margin: 0.8em 1.5em;
    margin-right: 0px;
    font-size: 0.9em;
}
div#footer-id {
    margin-right: 275px;
}

#filter-container{
    padding-bottom: 30px;
    text-align: center;
    padding-top: 5px;
}
li#filter-btn{
    border:none !important;
    padding-bottom: 0 !important;
}
button.accordion {
        background-color: #f7f7f7;
        color: #444;
        display: flex;
        cursor: pointer;
        justify-content: space-between;
        padding: 9px 18px;
        align-items: center;
        width: 100%;
        border: 1px solid gainsboro;
        text-align: left;
        border-top: none;
        border-bottom: none;
        outline: none;
        font-size: 15px;
        transition: 0.4s;
        position: relative;
}
button.accordion.active, button.accordion:hover {
    background-color: #f1f1f1;
}
button.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    margin-left: 5px;
    top: 50%;
    right: 18px;
}
button.accordion.active:after {
    content: "\2212";
}
div.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
#sciam-logo{
    width: 150px;
}
.select2-container {
    width: 100%;
}
.divider {
    width: 100%;
    background-color: #f7f7f7;
    height: 15px;
    margin-bottom: 40px;
}
.select2-container .select2-choice {
    height: 26px;
    background-image: none;
    border-radius: 0;
}
#result-message{
    width: 100%;
    font-size: 19px;
    min-height: 540px;
}
#blog-article-container{
    margin: 82px 275px 0 0;
    position: relative;
    padding: 0 8%;
    background-color: white;
    height:100%;
    overflow: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.article-author{
    border-bottom: 1px solid #eaeaea;
    margin: 0 20px;
    padding-bottom: 3px;
}
#blog-header {
    margin: 20px auto;
    size: 1.8em;
    width: 100%;
    border-bottom: 3px double rgba(0, 0, 0, 0.05);
}
#blog-header h3 {
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin: .25em .75em .75em;
}
.blog-nav-item{
    padding: 0px 40px;
    color: #3c3c3c;
    text-align: left;
    border-top: 1px solid #e6e6e6;
}
.blog-nav-item h4{
    margin: 0;
    font-style: normal;
    font-weight: bold;
    font-family: inherit;
    font-size: initial;}
form{
    font-weight: 600;
    font-size: 16px;
}
input{
    border:1px solid #7d7d7d;
    width: 100%;
    height:25px;
    margin-top: 3px;
}
.blog-tabs{
    width: 50%;
    height:30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.blog-item{
    width: 100%;
    margin-bottom: 30px;
    border-top:1px solid #DADADA;
    background-color: white;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 70px;
}
.filter {
    display: inline-block;
    min-width: 110px;
    margin: 15px 5px;
    padding: 10px 15px 12px;
    font: 700 12px/1 'Open Sans', sans-serif;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 -1px 0 1px rgba(0, 0, 0, 0.07), inset 0 -10px 20px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 -1px 0 1px rgba(0, 0, 0, 0.07), inset 0 -10px 20px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 -1px 0 1px rgba(0, 0, 0, 0.07), inset 0 -10px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.filter.sec {
    color: #777;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    background: #fff;
}

.filter.sec:hover {
    background: #f5f5f5;
}
.article{
    flex: 1;
    flex-basis: 200px;
    min-width: 100px;
    border: solid #e4e4e4 2px;
    margin: 0 10px;
}
.article-container {
    text-align: center;
    flex-basis: 35%;
    min-width: 100px;
    margin: 20px;
    padding: 0;
}

.article-container img {
    width: 100%;
    top: 0px;
    left: 0px;
    position: absolute !important;
    padding: 0px;
}
#blog-item-content{
    height: 100%;
    margin-left: 65px;
    text-align: center;
}
#blog-item-img img{
    width: 100%;
    background: red;
}
#blog-item-img{
    float: left;
    background: blue;
    overflow: hidden;
    width: 50%;
    margin: 20px;
}
.blog-text{
    text-align: left;
}
.blog-date{
    color: #656565;
    align-self: flex-end;
    font-size: 12px;
}
.disabled * {
    pointer-events: none;
}
.disabled {
    cursor: not-allowed;
    opacity: 0.3;
}
img.product-img{
    width: 100px;
    align-self: flex-end;
}
#mobile-blog-nav{
    z-index: 20;
    position: fixed;
    right: 10px;
    bottom: 8px;
}
#mobile-btn img{
    width: 25px;
}
img.feedback{
    display: none;
}
#mobile-btn{
    padding: 9px;
    border-radius: 30px;
    background-color: #2e69d8;
}
i.glyphicon.glyphicon-th{
    top: 1px;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
}
#blog-pagination{
    margin-bottom: 30px;
    margin-right: 275px;
}
.btn-circle.btn-lg {
    width: 60px;
    height: 60px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1;
    border-radius: 50px;
    -webkit-box-shadow: -1px 6px 36px -10px rgba(99,99,99,1);
    -moz-box-shadow: -1px 6px 36px -10px rgba(99,99,99,1);
    box-shadow: -1px 6px 36px -10px rgba(99,99,99,1);
}
.hide-filter{
    display: block;
}
.togglable {
    font-size: 0;
    height: 0;
    width: 0;
    transition: all 0.5s; /*speed of animation*/
    transform-origin:center center;
    text-align:center;
    margin:0 auto;
}
.active-filter{
    display: block !important;
    -webkit-box-shadow: -1px 3px 82px -24px rgba(122,122,122,1);
    -moz-box-shadow: -1px 3px 82px -24px rgba(122,122,122,1);
    box-shadow: -1px 3px 82px -24px rgba(122,122,122,1);
    top: 46px;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}
.btn:focus {
    outline: none;
}
.btn:hover { outline: 0 !important }
#mobile-blog-nav{
    display: none;
}
button.btn.dropdown-toggle{
    display: flex;
    text-align: center;
    justify-content: space-between;
    width: 100%;
    background: none;
}
button.btn.dropdown-toggle:active{
    box-shadow: inset 0 0 1px 1px rgb(143, 176, 204);
}
#name-input{
    margin-bottom: 10px
}
#chevron-icon:hover{
    color: #268ae5 !important;
    cursor: pointer;
}
.dropdown{
    padding: 20px 15px;
}
ul.dropdown-menu {
    width: 100%;
    border-radius: 1px;
}
.dropdown-menu>li>a{
    padding:0;
}
.dropdown-menu>li{
    text-align: left !important;
    padding: 0;
}
div#product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    flex-shrink: initial;
    background-color: white;
    padding: 0 25px;
}
::-webkit-scrollbar {
    width: 0px;
    background: transparent; /* make scrollbar transparent */
}
button.btn.btn-info.btn-lg {
    width: 100%;
    margin-top: 40px;
    border-radius: 0;
    padding: 7px;
    background-color: white;
    font-size: 15px;
    border: none;
    background-color: #5886ea;
}
button.btn.btn-info.btn-lg:hover {
    background-color: #5378c7;
}
.btn-default {
    padding: 3px 25px;
    font-size: 13px;
}
.modal-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: bold;
    font-style: normal;
}
#subscribe-button{
    border: none;
    width: 100%;
    height: 30px;
    color: white;
    font-weight: 100;
    font-size: 16px;
    background-color: #7d7d7d;
    border-radius: 1px;
    margin-top: 10px;
}
#subscribe-button:hover{
    background-color: #888888;
}
input#search-input {
    font-size: 17px;
    background: none;
    position: relative;
    border: none;
    box-shadow: none;
    text-decoration: none;
    padding: 0;
    padding-top: 3px;
    padding-left: 27px;
    margin-top: 8px;
}
input#search-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #959595;
}
input#search-input::-moz-placeholder { /* Firefox 19+ */
    color: #959595;
}
input#search-input:-ms-input-placeholder { /* IE 10+ */
    color: #959595;
}
input#search-input:-moz-placeholder { /* Firefox 18- */
    color: #959595;
}
#archive-list li {
    display: flex;
    list-style: none;
    font-size: 15px;
    color: #4e4b4b;
    cursor: pointer;
    justify-content: flex-start;
    line-height: 1.1 !important;
    align-items: center;
    padding: 5px 7px;
    margin: 0;
    border: 1px solid #D1D1D1;
    border-top: none;
}
#archive-list li:first-child{
    border-top: 1px solid #D1D1D1;
}
#archive-list li:hover{
    background-color:#e8e8e8;
}
#reset-btn{
    width: 100%;
    text-align: right;
    font-size: 13px;
    color: #007fe4;
}
span#chevron-icon{
    font-size: 15px;
    color: #5e4b4b;
}
.btn-logo{
    width: 26px;
    margin-right: 8px;
}
.blog-nav-item h3 {
    text-align: center;
    font-size: 17px;
    color: #0067cd;
    line-height: 1.2
}
#archive-list{
    text-align: left;
    font-size: 15px;
    margin-top: 3px;
    margin-bottom: 7px;
}
#newsletter-title{
    text-align: left;
    font-size: 17px;
    padding-bottom: 5px;
    margin-bottom: 10px;
    color: black !important;
    padding-top: 10px;
}
input{
    background: none;
}
small {
    font-size: 11px;
    font-weight: 100;
    color: #959595;
}
body, input[type=text], input[type=email], textarea {
    color: #000;
    border-color: #b1b1b1;
    box-shadow: none;
}
.blog-logo{
    width: 175px;
    margin-bottom: -37px;
    background: white;
    padding: 17px;
}
.align-content {
    width: 100%;
}
.sidebar_logo {
    display: none;
    width: 120px;
    z-index: 1;
}
#sidebar-logo-container{
    height: 70px;
    border:none;
    text-align: center;
}
#search-container{
    text-align: left;
    padding-bottom: 0;
    border:none;
}
#input-img{
    position: relative;
    bottom: 26px;
    left: -10px;
    opacity: 0.45;
    width: 38px;
}
input:focus{
    outline: none;
}
button:focus{
    outline: none;
}
.pagination-container{
    flex: 0 0 100%;
}
.pagination>li {
    margin: 0;
    padding: 0;
}
.article-img{
    text-align: left;
    width: 100%;overflow: hidden;
    height: 230px;

    border: 1px solid gainsboro;
    position: relative;
    border-top-left-radius: 18px;
    text-align: center;
}
.article-img img {
    width: 100%;
}
.header-container{
    width: 100%;
}
.product-button {
    padding: 0 16px;
    font-family: "Open Sans";
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}
.product-button {
    border: 1px solid #ccc;
    border-radius: 3px;
    display: inline-block;
    min-width: 30px;
    height: 32px;
    line-height: 32px;
    background: #fff;
    background: -moz-linear-gradient(top,#fff 0,#e9eae9 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#fff),color-stop(100%,#e9eae9));
    background: -webkit-linear-gradient(top,#fff 0,#e9eae9 100%);
    background: -o-linear-gradient(top,#fff 0,#e9eae9 100%);
    background: -ms-linear-gradient(top,#fff 0,#e9eae9 100%);
    background: linear-gradient(to bottom,#fff 0,#e9eae9 100%);
    outline: none;
}
#column-container {
    width: 100%;
}

.masonry { 
    column-count: 2;
    column-gap: 1em;
    width: 100%;
    padding: 10px 3em;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

.item { 
    background-color: white;
    margin: 0 0 1em;
    width: 100%;
    display: inline-block;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    vertical-align: top !important;
    position: relative;
}



@media (max-width: 1200px){

    #blog-article-container{
        padding: 0 1%;
    }
    .article-container {
        text-align: center;
        flex-basis: 45%;
    }

}

@media (min-width: 768px){
    .modal-dialog {
        width: 700px;
        margin: 30px auto;
    }
}
@media screen and (max-width: 950px) {
    .article-container {
        text-align: center;
        flex-basis: 56%;
        min-width: 100px;
        margin: 10px 8px;
        min-height: 300px;
        padding: 0;
    }
}
@media screen and (max-width: 770px) {
#blog-container {
    padding: 0;
    margin-bottom: 0;
}
#blog-article-container {
     margin-right: 0px;
     padding: 0px;
}

.article{
    width: 90%;
    margin-bottom: 15px;
}
.blog-item{
    padding-top: 40px;
    flex-direction: column;
}
.sidebar_logo {
    right: 0;
    left: 0;
    margin: 0 auto;
}
.hide-filter{
display: none;
}
#mobile-blog-nav{
display: block;
}
#blog-nav {
    position: fixed;
    background-color: #F7F7F7;
    z-index: 3;
    right: 0;
    width: 50%;
    top: 107px;
    height: 100%;
    overflow: scroll;

}
section#foot-section {
    z-index: 2;
    bottom: 0px;
}
.content-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.blog-text {
    float: right;
    width: 60%;
    text-align: center;
}  
    #blog-article-container {
        padding: 0 3%;
    }
    .cols {
        column-count: 1 !important;
    }
}

#select-product-modal {
    width: 700px;
    height: 700px;
    position: fixed;
    margin: auto;
}
h4.modal-title {
    text-align: center;
    font-family: sans-serif;
    font-size: 18px;
}
.modal-header p {
        text-align: center;
    font-size: 13px;
}
.modal-body li {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: end;
    padding: 6px;
    margin: 0;
}
.modal-body span{
    margin: 0 !important;
}
.modal-body li:hover{
    background-color: #eee;
}
button#subscribe-button-2{
    padding: 4px 41px;
    font-size: 13px;
    border-radius: 3px;
}
.modal-footer{
    text-align: center;
}

@media screen and (max-width: 500px) {
    
    #blog-nav {
        position: fixed;
        background-color: #F7F7F7;
        z-index: 3;
        right: 0;
        width: 100%;
    }
    .article-container {
        width: 100%;
        flex: 0 0 80%;
        float: none;
        margin: 10px 0px;
    }
    section#foot-section {
        z-index: 2;
        bottom: 0;
        margin-top: 30px;
    }
    li.contact-number {
        text-align: center;
    }
    #result-message{
        min-height: 329px;
    }
    .masonry {
        column-count: 1;
        column-gap: 1em;
        padding: 10px 0em;
    }
    #product-logo {
        z-index: 2;
        left: 0;
        top: 0;
    }
    #filter-container {
        padding-top: 33px;
    }
}

@media all and (device-width: 1024px) and (device-height: 1366px) and (orientation:portrait) {
  section#foot-section {
      z-index: 2;
      bottom: 0;
  }
}
