/*
Theme Name: Institute of Mathematical Statistics
Theme URI: http://www.sunraycomputer.com/
Description: Custom Theme for Institute of Mathematical Statistics
Author: Matthew Kressel
Author URI: http://www.sunraycomputer.com/
Version: 1.0
*/

html, body {
    margin: 0;
    padding: 0;
    background: #5b5b5b;
    width: 100%;
    height: 100%;
    color: #333333;
    font-size: 14px;
    font-family: Verdana, Helvetica, Arial, sans-serif;

}

a, a:visited, a:focus {
    color: #1a78a8;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.5s ease;
}

a:hover {
    color: #000000;
    text-decoration: underline;
}

/* external links */
.external-link {
    font-size: 80%;
    padding: 0 0 0.1em 0.3em;
    position: relative;
    bottom: 1px;
}

#ims-header-bg {
    background-color: #006da5;
    color: #ffffff;
    font-family: 'Lato', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.ims-logo {
    background: url('images/ims-logo-color.png') no-repeat;
    width: 120px;
    height: 99px;
    margin: 2em auto;
    background-size: 100% 100%;
}

.ims-blog-name {
    color: #ffffff;
    font-size: 250%;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0.7em 0 0 0;
    text-shadow: -2px 2px 5px #00284a;
}

.ims-blog-name a,
.ims-header-content a:hover,
.ims-blog-name a:active,
.ims-blog-name a:hover {
    text-decoration: none;
}

.ims-blog-subtitle {
    color: #ffffff;
    font-size: 110%;
    letter-spacing: 1px;
    max-width: 500px;
    margin: 0.5em auto 1.5em auto;
    text-shadow: -2px 2px 5px #00284a;
    font-style: italic;
}

.call-out-container {
    text-align: center;

}

.call-out-container a {
    color: #ffffff;
    display: inline-block;
    margin: 5px 0 0 0;
    font-style: italic;
    font-size: 90%;
    letter-spacing: 0px;

}

.call-out-container .call-out {
    text-align: center;
    position: relative;
    margin: 4em 0 0 0;
}

.call-out-container .call-out a {
    border: none;
    border-radius: 3px;
    color: #ffffff;
    background: #ffffff;
    padding: 0.5em 0.8em;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 1rem;
    color: #005a84;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.call-out-container .call-out a:hover {
    background: #005a84;
    color: #ffffff;
}

.g-recaptcha {
    margin: 1rem 0;
}

.gform_wrapper.gf_browser_chrome ul.gform_fields li.gfield input[type=radio] {
    width: auto !important;
}

.outer-body-container {
    background: #ffffff;
    min-height: 400px;
}

.body-container {
    margin: 50px auto;
}

.section-title,
.widget-title {
    width: 100%;
    background: #005a84;
    font-size: 110%;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 0px;
    padding: 4px 15px;
}

.search-input {
    position: relative;
    border: 1px solid #eeeeee;
    margin: 1em 0;
    border-radius: 3px;
}

.search-input #s {
    margin: 0;
    width: 85%;
    border: 0;
    padding: 5px;

}

.search-input .fa-search {
    /*position: absolute;
    top: calc(50% - 0.5em);
    right: 1em;*/
    margin: 0 0 0 1em;
    display: inline-block;
    cursor: pointer;
}

.ims-sub-footer {
    background: #e3e3e3;
    padding: 3em 0;
}

.ims-sub-footer .widget {
    padding: 0 15px;
    font-size: 90%;
}

.ims-sub-footer .widget-title {
    background: #5b5b5b;
    font-size: 110%;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 0px;
    padding: 4px 15px;
    margin: 0 -15px 15px -15px;
}

.ims-sub-footer .widget .read-more-button {
    position: inherit;

}

.ims-footer .social-icons a {
    font-size: 200%;
    display: inline-block;
    margin-right: 1em;
}

.ims-footer {
    background: #5b5b5b;
    color: #ffffff;
    padding: 3em 0;
    font-size: 90%;
}

.ims-footer a {
    color: #ffffff;
    text-decoration: underline;
}

.ims-footer a.contact {
    font-size: 200%;
}

.grecaptcha-badge {
    display: none;
}


.footer-logo {
    background: url('images/ims-logo-white.png') no-repeat;
    width: 100px;
    height: 150px;
    margin: 0 15px 0 0;
    background-size: contain;
    background-position: top center;
    float: left;
}

.footer-name {
    font-size: 1rem;
    font-weight: 600;
}

.footer-contact {
    font-size: 0.65rem;
    font-weight: 600;
}

.footer-contact a {
    text-decoration: none;
}

/* search box */

.front-page-search {
    padding: 1em 2em;
    box-sizing: border-box;
    text-align: center;
    background: #e3e3e3;
    margin: 0;
}

.front-page-search .search-box-container {
    padding: 0;
}

.front-page-search .search-box-container .row {
    padding: 0.5em 0;
}

.front-page-search hr {
    color: #cccccc;
    border-top: 1px solid #cccccc;
    width: 90%;
    margin: 1em auto;
}

.widget .ims-search {
    padding: 1em;
    box-sizing: border-box;
    text-align: center;
    background: #e3e3e3;
    margin: 0;
}

.widget .ims-search .search-box-container {
    padding: 0;
}

.widget .ims-search .search-box-container .row {
    padding: 0.5em 0;
}

.widget .ims-search hr {
    color: #cccccc;
    border-top: 1px solid #cccccc;
    width: 90%;
    margin: 1em auto;
}

.hide_cart_widget_if_empty {
    display: none;
}

.widget_shopping_cart_content {
    padding: 1rem 0.5rem;
}

.woocommerce div.product p.price {
    display: none;
}

.woocommerce-cart-form__cart-item td.product-thumbnail {
    max-width: 100px;
}

.woocommerce-product-gallery {
    display: none;
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    float: left !important;
    width: 100% !important;
}

.woocommerce-mini-cart__buttons a {
    border: 0.5px solid #333;
    border-radius: 3px;
    color: #333;
    background: #ffffff;
    padding: 0.5em 0.8em;
    letter-spacing: 1px;
    font-weight: 400;
    text-align: center;
    font-size: 80%;
    margin: 1rem 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: block;
}

.woocommerce-mini-cart__buttons a:hover {
    background: #005a84;
    border-color: #005a84;
    color: #ffffff;
}

.wc_payment_method input,
.wc_payment_method label {
    width: inherit;
    display: inline-block;
}

body.single-product section.related {
    display: none;
}

.widget_shopping_cart_content .remove_from_cart_button {
    font-weight: 700;
    font-size: 1rem;
}

.widget_shopping_cart_content ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.widget_shopping_cart_content ul li {
    border-bottom: 0.5px #bababa;
}

.widget_shopping_cart_content .woocommerce-mini-cart-item {
    font-size: 0.8rem;
}

.widget_shopping_cart_content .woocommerce-mini-cart-item img {
    width: 100%;
    height: auto;
    display: none;
}

.read-more-button {
    display: inline-block;
    z-index: 99;
    position: absolute;
    right: 25px;
    bottom: 20px;
}

.front-page-search .header-label {
    font-weight: 700;
    color: #333;
    text-align: right;
}

.front-page-search input[type="submit"],
.widget .ims-search input[type="submit"],
.comment-form input[type="submit"],
.search-form input[type="submit"],
.read-more-button,
.post-arrows a,
.news-slide .slide-read-more a,
.ims-archive-body p.keep-reading a,
#ims-filter-meetings .btn,
#ims-meeting-search-button .btn {
    border: 1.5px solid #005a84;
    border-radius: 3px;
    color: #ffffff;
    background: #005a84;
    padding: 0.5em 0.8em;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 80%;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.ims-sub-footer .read-more-button {
    color: #333333;
    background: #ffffff;
    border: 1.5px solid #333;

}

.front-page-search input[type="submit"]:hover,
.widget .ims-search input[type="submit"]:hover,
.comment-form input[type="submit"]:hover,
.search-form input[type="submit"]:hover,
.read-more-button:hover,
.post-arrows a:hover,
.news-slide .slide-read-more a:hover,
.ims-archive-body p.keep-reading a:hover,
#ims-filter-meetings .btn:hover {
    cursor: pointer;
    background: #0d7db6;
    color: #ffffff;
    text-decoration: none;
    border: 1.5px solid #0d7db6;
}

.read-more-button a {
    color: #333;
}

.read-more-button:hover a {
    color: #ffffff;
    text-decoration: none;
}

.front-page-search input[type="text"],
.front-page-search select {
    width: 100%;
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #777;
}

.slick-arrow {
    display: none !important;
}

.news-slide .slide-image-container,
.news-slide .slide-content {
    width: 50%;
    display: inline-block;
    padding: 1.5em 0.7em;
    float: left;
    box-sizing: border-box;
}

.news-slide .slide-image {
    width: 100%;
    height: auto;
}

.news-slide .slide-post-title a {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    font-size: 120%;
    line-height: 1.2;
    color: #333;
}

.news-slide .slide-post-title .slide-date {
    font-family: Verdana, Arial, sans-serif;
    display: block;
    font-size: 90%;
    color: #333;
    font-weight: 400;
}

.news-slide .slide-post-content {
    font-family: Verdana, Arial, sans-serif;
    font-size: 90%;
    line-height: 1.4;
    margin: 0.8em 0;

    /* word-wrap: break-word;
     word-break: break-all;
     hyphens: auto;*/
}

.news-slide .slide-post-content a {
    white-space: pre;
    word-break: break-all;
}

.news-slide .slide-read-more {
    font-size: 100%;
}

.news-slide .slide-read-more a {

    margin: 1em 0 0 0;
    float: right;
}

.news-slide .slide-post-title a {
    color: #333333;
}

.news-slider {
    margin-bottom: 3em;
}

.covid-notice {
    font-family: 'Crimson Text', serif;
    font-weight: bold;
    padding: 1em;
    background: #eeeeee;
    border: 1px solid #333;
    color: #000;
    margin: 0 0 1rem 0;
    border-radius: 5px;
    font-size: 110%;
}

.front-page-top .widget {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-weight: normal;
    padding: 1em;
    background: #eeeeee;
    border: 1px solid #333;
    color: #000;
    margin: 0 0 1rem 0;
    border-radius: 5px;
    font-size: 110%;

}

.front-page-top .widget-title {
    background: none;
    color: #000;
    font-weight: bold;
    margin: 0 0 1em 0;
    font-family: 'Crimson Text', serif;
    padding: 0;
}

.news-slider .recent-post-slider .slick-dots li button {
    width: 10px !important;
    height: 10px !important;
    background: #ddd !important;
    border: 1px solid #ddd !important;
}

.news-slider .recent-post-slider .slick-dots li {
    margin: 10px !important;
}

.news-slider .recent-post-slider .slick-dots li.slick-active button {
    background: #074865 !important;
}

.ims-archive-content {
    margin: 0 0 2em 0;
}

.ims-archive-body {
    margin-top: 1.2em;
}

.ims-archive-title {
    font-weight: 600;
    font-size: 180%;
    font-family: 'Crimson Text', serif;
    line-height: 1.0;
}

.ims-is-annual {
    font-weight: 400;
    font-size: 140%;
    font-family: 'Crimson Text', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.ims-archive-title a {
    color: #000;
}

.ims-archive-date {
    font-size: 100%;
    font-family: 'Lato', Arial, sans-serif;
    color: #000;
    margin: 0;
}

.ims-archive-body p.keep-reading {
    margin: 1.5em 0 1em 0;
}

/*
.ims-archive-body p.keep-reading a {
    font-weight: 600;
}*/

.post-category {
    font-size: 150%;
    font-family: 'Crimson Text', serif;
    margin: 0 0 1em 0;
    font-weight: 700;
}

.widget ul.menu-widget > li > a:first-child {
    font-size: 110%;
    font-family: 'Crimson Text', serif;
    line-height: 2.0;
    font-weight: 600;
    color: #000
}

.widget ul.menu-widget {
    list-style: none;
    margin: 1em 0;
    padding: 0 15px;
}

.widget ul.menu-widget li ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul.menu-widget li,
.widget ul.menu-widget ul li {
    font-weight: 600;
    padding-left: 0em;
    text-indent: 0em;
}

/*.category-pages-widget {
    padding: 1em;
}

.category-pages-widget .page-category {
    font-size: 110%;
    font-family: 'Crimson Text', serif;
    font-weight: 600;
}

.category-pages-widget ul.page-category-list {
    list-style: none;
    margin: 0.5em 0;
    padding: 0;
}

.category-pages-widget ul.page-category-list li {
    font-weight: 600;
    padding-left: 1em;
    text-indent: -1em;
}*/

.widget {
    margin: 0 0 1em 0;
}

.widget ul.menu {
    list-style: none;
    font-size: 100%;
    margin: 0 0 1em 0;
    padding: 0;
}

.widget ul.menu li {
    padding-left: 1em;
    text-indent: -1em;
}

.widget ul.menu li a {
    font-weight: 400;
}

.widget ul.menu li a:hover {

}

.widget ul.menu > li {
    display: none;
}

.widget ul.menu ul.sub-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul.menu li.current-menu-ancestor > ul.sub-menu,
.widget ul.menu li.current-menu-ancestor {
    display: block;
}

.widget ul.menu ul.sub-menu li {

}

.widget ul.menu li.current-menu-item::before {
    /*content: "\00BB\00a0";
    color: #333;*/
}

.widget ul.menu li.current-menu-item > a {
    /*color: #333;*/
    font-weight: 700;
}

.widget ul.menu li.current-menu-item.menu-item-has-children > ul.sub-menu {
    display: block;
}

a.post-edit-link {
    font-size: 80%;
    font-family: 'Lato', Arial, sans-serif;
}

.post-container .ims-meeting-year {
    font-size: 130%;
}

.post-container .ims-meeting-date,
.post-container .ims-meeting-location {
    font-weight: 700;
}

.post-container .ims-meeting-month-links {
    font-size: 100%;
}

.post-container .ims-meeting-month {
    font-size: 200%;
    font-family: 'Crimson Text', serif;
    margin: 0 0 1em 0;
    border-bottom: 0.8px solid #eeeeee;
}

.post-container .ims-meeting-month a {
    color: #333;
}

.post-container .ims-meeting-date-select,
.post-container .ims-meeting-search {
    padding: 10px;
    border-radius: 3px;
    background: #e3e3e3;
}

.post-container .ims-meeting-date-select label,
.post-container .ims-meeting-search label {
    font-weight: 600;
    color: #333;
    padding: 0 1em 0 0;
    display: inline;
}

.post-container .ims-meeting-date-select select,
.post-container #ims-meeting-search-query {
    margin: 0 1em 0 0;
}

.post-container #ims-meeting-search-query {
    width: 10em;
}

.ims-meeting-filters {
    display: none;
}

.ims-meeting-filters:first-of-type {
    display: block;
}

.page-title {
    font-family: 'Crimson Text', serif;
    font-size: 180%;
    font-weight: 600;
    margin: 0 0 0.5em 0;
    padding: 0 15px;
}

.page-title .search-count {
    font-size: 70%;
}

.post-body .post-title {
    font-family: 'Crimson Text', serif;
    font-size: 180%;
    font-weight: 600;
}

.post-body .post-title a {
    color: #333;
    font-weight: 600;
}

.post-body .post-byline,
.ims-archive-content .ims-archive-date,
.slide-content .slide-date,
.comment-date a {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 75% !important;
    color: #787878 !important;
}

.post-body .alignleft {
    float: left;
    margin: 0 15px 10px 0;
}

.post-body .alignright {
    float: right;
    margin: 0 0px 10px 15px;
}

.post-body .aligncenter {
    float: none;
    margin: 0 auto;
    text-align: center;
}

.wp-caption-text {
    font-family: Verdana, Arial, sans-serif;
    font-size: 90%;
    padding: 1em;
    font-style: italic;
    text-align: center;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Crimson Text', serif;
    /* font-weight: 600;*/
    line-height: 1.6;
    margin: 1em 0 15px 0;
}

h1 {
    font-size: 200%;
}

h2 {
    font-size: 180%;
}

h3 {
    font-size: 160%;
}

h4 {
    font-size: 140%;
}

h5 {
    font-size: 100%;
}

.post-body table {
    margin: 1.5em 0;

}

.post-content > :first-child {
    margin-top: 0 !important;
    margin-left: 0 !important;
}

.post-content > :last-child {
    margin-top: 0 !important;
    margin-left: 0 !important;
}

.post-body table td {
    padding: 3px;
    vertical-align: top;
}

.post-content blockquote {
    margin: 1em 0;
    font-size: 120%;
}

.post-body table h1,
.post-body table h2,
.post-body table h3,
.post-body table h4,
.post-body table h5 {
    margin: 0 0 1em 0;
    line-height: 1.6;
}

a.post-edit-link {
    display: inline-block;
    margin: 0 0 0 0.5em;
    font-size: 40%;
}

.post-content {
    padding: 1em 0;
    line-height: 1.625;
}

.post-content .fa-print {
    display: block;
    font-size: 300%;
    margin: 0;
    padding: 0.5em 0 0 0;
    color: #08415c;
}

.post-content .fa-print:hover {
    cursor: pointer;
}

.comment-left,
.comment-right,
.comment-row,
.comment-respond-body {
    padding-left: 0;
    padding-right: 0;
}

.comment-row {
    padding: 1.5em 0;
    border-bottom: 0.2px solid #e8e8e8;
}

.comment-author {
    font-family: 'Crimson Text', serif;
    font-size: 100%;
}

.comment-avatar {
    margin-top: 0.5em;
}

.comment-form label {
    color: #787878 !important;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
}

textarea, input {
    width: 100%;
    border: 1px solid #a7a7a7;
    padding: 5px;
    font-weight: 400;
    border-radius: 5px;
    /*box-shadow: 3px 3px 5px #e2e2e2;*/
}

label {
    display: block;
}

.ims-meeting-date-select label {
    display: inline;
}

.comment-body {
    padding: 0.5em 0;
}

ul.journals-and-publications {
    list-style: none;
    margin: 0 0 1em 0;
    padding: 0;
}

ul.journals-and-publications li {
    font-weight: 600;
    padding-left: 1.5em;
    text-indent: -1em;
}

.journals-and-publications-title {
    font-family: 'Crimson Text', serif;
    font-size: 120%;
    font-weight: 600;
    color: #333;
}

.ims-journals-list ul.sub-menu {
    display: none;

}

/*.ims-journals-list ul.sub-menu > li {
    display: block;
    text-indent: 0;
    margin: 0;
    padding: 0;
}

.ims-journals-list ul {
    text-indent: 0;
    margin: 0 0 1em 0;
    padding: 0;
}

.ims-journals-list ul li ul {
    padding: 0 0 0 1em;
}

.ims-journals-list ul > li.current-menu-item {
    display: block;
    border: 1px solid red;
}

.ims-journals-list ul > li.current-menu-item ul.sub-menu > li a {
    font-family: 'Crimson Text', serif;
    font-size: 120%;
    font-weight: 600;
    color: #333;
}

.ims-journals-list ul > li.current-menu-item ul.sub-menu > li ul.sub-menu > li a  {
    font-family: Verdana, Arial, sans-serif;
    font-weight: 400;
    font-size: 100%;
    color: #1a78a8;
}*/

/*.post-content input {
    width: 100%;
    padding: 3px;
    border-radius: 2px;
    border: 1px solid #d3d3d3;
}*/

.caret {
    display: none;
}

#menu-main-menu {
    margin: 0;
}

.dos-navbar-container .hide-from-top-menu {
    display: none;
}

.header-navbar {
    background: #005a84;
}

.navbar-default {
    background: none !important;
}

.navbar-default .navbar-toggle {
    border-color: #000000;
    margin: 7px 0 !important;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #000000;
}

.navbar-toggle {

    background-color: #000000;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    float: right;

    padding: 9px 10px;
    position: absolute;
    top: 0;
    right: -20px;
}

.navbar {
    background: none !important;
    border: none !important;
    margin: 0px;
    min-height: 0px;

}

.navbar .navbar-collapse {

    padding-left: 0px;
}

.nav > li {
    padding: 0px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #ffffff;
}

.navbar-nav > li > a {
    color: #ffffff !important;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 100%;
    /*letter-spacing: 1px;*/
    text-transform: uppercase;
    transition: all 0.2s ease;
    background: none;
    padding: 10px;
    font-weight: 400;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > .open > a:hover {
    background-color: #0d7db6 !important;
    color: #ffffff !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-nav a:hover {
    color: #ffffff !important;
    background: none;

}

.navbar .navbar-nav {
    display: inline-block;
    float: none;
    vertical-align: top;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus {
    background-color: #0d7db6 !important;
    color: #ffffff;
    font-family: 'Lato', Arial, sans-serif;
    letter-spacing: 0px;
}

.navbar-nav > li > .dropdown-menu {
    background-color: #005a84 !important;
    color: #ffffff;
    font-family: 'Lato', Arial, sans-serif;
    letter-spacing: 0px;
    border-radius: 0;
    padding: 0;
}

.dropdown-menu {
    border: none;
}

.dropdown-menu > .active > a,
.dropdown-menu > li > a {
    color: #ffffff;
    background-color: #005a84 !important;
    transition: background-color 0.5s ease;
    padding: 10px 10px;
    text-transform: none;
    letter-spacing: 0px;
    font-size: 100%;
}

.dropdown-menu > li > a:hover {
    background-color: #0d7db6 !important;
    color: #ffffff !important;
}

.open > .dropdown-menu {
    animation-name: slidenavAnimation;
    animation-duration: .2s;
    animation-iteration-count: 1;
    animation-timing-function: ease;
    animation-fill-mode: forwards;

    -webkit-animation-name: slidenavAnimation;
    -webkit-animation-duration: .2s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease;
    -webkit-animation-fill-mode: forwards;

    -moz-animation-name: slidenavAnimation;
    -moz-animation-duration: .2s;
    -moz-animation-iteration-count: 1;
    -moz-animation-timing-function: ease;
    -moz-animation-fill-mode: forwards;
}

@keyframes slidenavAnimation {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-webkit-keyframes slidenavAnimation {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (min-width: 979px) {
    ul.nav li.dropdown:hover > ul.dropdown-menu {
        display: block;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .ims-blog-name {
        font-size: 150%;
        margin: 1em 0 0 0;
    }

    .call-out-container .call-out {

        margin: 2em 0 0 0;
    }

    .call-out-container .call-out a {
        font-size: 0.7rem;
    }

    .ims-blog-subtitle {
        font-size: 90%;
    }

    .ims-logo {
        background: url(images/ims-logo-color.png) no-repeat;
        width: calc(120px * .8);
        height: calc(99px * .8);
        margin: 1em auto;
        background-size: 100% 100%;
    }
}

/* less than 768px */
@media (max-width: 767px) {

    body {
        font-size: 16px;
    }

    .front-page-search {
        margin-bottom: 2em;
    }

    .ims-logo {
        width: 45px;
        height: 45px;
        position: absolute;
        left: 0px;
        background-size: 100% 100%;
        margin: 0;
        background-image: url('images/icons/favicon-96x96.png');
        display: inline-block !important;
    }

    .body-container {
        margin: 1.5em 0;
    }

    .navbar-toggle {
        right: 0px;
        top: 0px;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #fff;
        text-align: center;
    }

    .ims-menu-container {
        min-height: 50px;
    }

    .ims-blog-name {

        font-size: 60%;
        line-height: 50px;
        letter-spacing: 0px;
        margin: 0;
        /*display: inline-block;*/
        display: none;
        /* position: absolute;
         left: 0px;
         top: 20px;*/

    }

    .ims-blog-name a {
        color: #ffffff;
        text-shadow: none;
    }

    .news-slide .slide-image-container,
    .news-slide .slide-content {
        width: 100%;
        display: block;
        float: none;
        word-wrap: break-word;
        padding: 1em 0;
    }

    .news-slide .slide-read-more a {
        margin: 2em 0;
    }

    .front-page-search .header-label {
        text-align: center;
    }

    .ims-sub-footer .widget {
        padding: 1em 15px;
    }

    .ims-archive-body {
        word-wrap: break-word;
    }

    .left-sidebar {
        padding: 2em 15px;
    }

    .ims-mobile-column,
    .ims-navbar-container,
    .outer-body-container,
    .ims-archive-content,
    .page-title {
        padding-left: 0px;
        padding-right: 0px;
    }

    .footer-section .address-block {
        padding: 1em 15px;
    }

    .post-content img {
        max-width: 100%;
        height: auto;
    }

    #print-page {
        display: none;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #ffffff;
    }

}