html,
body {
    height: 100%;
}

html {
    font-size: 14px;
}

body {
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    background-image: url("../img/top-gradient-bg.png");
    background-repeat: repeat-x;
    padding-top: 30px;
    font-weight: 400;
}

/* Global */

.d-none {
    display: none !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

a {
    color: #f37004;
}
a,
a:hover,
a:focus {
    text-decoration: none;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.clearfix::after,
.clearfix::before {
    display: block;
    clear: both;
    content: "";
}

.img-responsive,
.img-fluid {
    display: block;
    max-width: 100%;
    height: auto;
}

p:last-child {
    margin-bottom: 0;
}

h3 {
    color: #0099ff;
    font-weight: 600;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.btn--read-more {
    display: block;
    text-align: center;
    border: 1px solid #fff;
    padding: 5px;
    width: 105px;
    margin: 0 auto;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
    margin-left: 0;
    margin-bottom: 10px;
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
}

.bullet-list li::before {
    position: absolute;
    content: "";
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #f37004;
    left: 2px;
    top: 5px;
}

.bullet-list--white li::before {
    border-left: 7px solid #fff;
}

.bullet-list li + li {
    margin-top: 10px;
}

.arrow-bullet li {
    position: relative;
    padding-left: 20px;
}

.arrow-bullet li::before {
    position: ab
}

.list-inline--align-middle {
    vertical-align: middle;
}

.page-title,
.entry-title {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#edf8ff+0,7db9e8+100,2989d8+100,7db9e8+100 */
    background: #edf8ff; /* Old browsers */ /* FF3.6-15 */
    background: linear-gradient(to bottom, #edf8ff 0%,#7db9e8 100%,#2989d8 100%,#7db9e8 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    font-size: 1.6rem;
    color: #002e76;
    border: 1px solid #8e9ec1;
    border-radius: 5px;
    display: block;
    background-repeat: repeat-x;
    padding: 5px 12px;
    margin-bottom: 20px;
    font-weight: 600;
    margin-top: 0;
}

/* Header */
.site-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    margin-bottom: 15px;
}

.site-branding__left {
    margin-right: 15px;
}

.site-branding__left a {
    display: block;
}

.site-branding__right .wp-block-image {
    margin-bottom: 0;
}

.site-branding .widget {
    margin-bottom: 0;
}

/* Menu */
.main-navigation {
    background: #DBDBDB;
    background: linear-gradient(to bottom, #EDEDED 0%, #CFCFCF 100%);
    margin-bottom: 10px;
}

.main-navigation .menu > li > a {
    padding: 8px 12px;
    color: #777;
    transition: all 1.5s ease 0s;
}

.main-navigation .menu > li.current-menu-item > a, 
.main-navigation .menu > li.current-menu-item > a:hover,
.main-navigation .menu > li.current-menu-item > a:focus, 
.main-navigation .menu > li > a:hover,
.main-navigation .menu > li > a:focus { 
    box-shadow: 0 100px 0 0 #f37004 inset;
    color: #fff;
}

.menu-toggle-wrapper {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
}

.menu-toggle {
    line-height: 1;
    background-color: transparent;
    border: none;
    border-radius: 0;
    position: relative;
    width: 20px;
    height: 14px;
    padding: 5px;
    display: block;
}

.menu-toggle__top, 
.menu-toggle__middle, 
.menu-toggle__bottom {
    overflow: hidden;
    text-indent: -99999px;
    height: 2px;
    width: 100%;
    background-color: #000;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.menu-toggle__top {
    top: 0;
}

.menu-toggle__middle {
    top: 6px;
}

.menu-toggle__bottom {
    top: 12px;
}

.menu-toggle[aria-expanded=true] .menu-toggle__top, 
.menu-toggle[aria-expanded=true] .menu-toggle__bottom {
    top: 6px;
}

.menu-toggle[aria-expanded=true] .menu-toggle__top {
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded=true] .menu-toggle__middle {
    opacity: 0;
}

.menu-toggle[aria-expanded=true] .menu-toggle__bottom {
    transform: rotate(-45deg);
}

.main-navigation ul {
    display: none;
}

/* Header Static Info */

.header-static-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.header-static-info__about-dmai,
.header-static-info__news {
    padding: 10px 10px 30px 10px;
    width: 30%;
    position: relative;
}

.header-static-info__img {
    width: 40%;
    line-height: 1;
    display: flex;
    align-items: center;
}

.header-static-info,
.header-static-info a {
    color: #fff;
    font-size: 0.95rem;
}

.header-static-info__about-dmai {
    background-color: #f37004;
}

.header-static-info__news {
    background-color: #46A65C;
}

.header-static-info__news ul li a:hover,
.header-static-info__news ul li a:focus {
    text-decoration: underline;
}

.header-static-info .widget-title {
    margin-top: 0;
    margin-bottom: 15px;
    position: relative;
    color: #fff;
}

.header-static-info .widget-title::after {
    position: absolute;
    content: "";
    left: 0;
    height: 1px;
    width: 50px;
    background-color: #fff;
    margin: auto;
    bottom: -6px;
}

.header-static-info__img img {
    width: 100%;
}

.header-static-info__img .widget_text {
    width: 100%;
}

.header-static-info .btn--read-more {
    position: absolute;
    right: 10px;
    bottom: 10px;
    transition: all 0.5s;
}

.header-static-info .btn--read-more:hover,
.header-static-info .btn--read-more:focus {
    background-color: #fff;
}

.header-static-info__about-dmai .btn--read-more:hover,
.header-static-info__about-dmai .btn--read-more:focus {
    color: #f37004;
}

.header-static-info__news .btn--read-more:hover,
.header-static-info__news .btn--read-more:focus {
    color: #46A65C;
}

.site-main .page {
    box-shadow: 0 0 16px 0 rgba(0,0,0,.18);
    border: none;
    margin-bottom: 20px;
    padding: 10px;
}

.home-page-four-column {
    display: flex;
    flex-wrap: wrap;
    margin: 25px 0;
    justify-content: space-between;
}

.home-page-four-column .widget_block,
.home-page-four-column .widget_text,
.site-main__right .widget_block {
    background-color: #D4EEFF;
    padding: 35px 15px 50px 15px;
    position: relative;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.home-page-four-column .widget_text,
.home-page-four-column .widget_block {
    width: 24%;
}

.site-main__right .widget_block {
    width: 100%;
    overflow: inherit;
    margin-top: 10px;
}

.home-page-four-column .widget-title,
.site-main__right .widget-title {
    position: absolute;
    top: -14px;
    background-color: #f1f1f1;
    text-align: center;
    color: #ec7200;
    width: 90%;
    left: 0;
    right: 0;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.2rem;
    text-transform: capitalize;
    padding: 5px 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
}

.home-page-four-column .btn--read-more,
.site-main__right .btn--read-more {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    background-color: #f37004;
    color: #fff;
}

.footer-logo-img {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.footer-logo-img li + li {
    margin-left: 10px;
}

.our-team-img {
    border: 2px solid #ccc;
}

.news-list li {
    word-break: break-all;
}

.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
}

.site-footer__right {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
}

.footer-social {
	display: flex;
    margin-bottom: 0;
}

.footer-social li:not(:last-child) {
    margin-right: 5px;
}

.footer-social li a {
	display: block;
}

.footer-social li a img {
	width: 32px;
}

.gallery-layout-list {
    display: flex;
    flex-direction: column;
}

.gallery-layout-list > li {
    box-shadow: 0 0 16px 0 rgba(0,0,0,.18);
    margin-bottom: 10px;
}

.gallery-layout-list > li img {
    width: 100%;
    display: block;
}

@media only screen and (min-width: 576px) {
    .site-branding {
        flex-direction: row;
        justify-content: space-between;
    }
    .site-footer {
        flex-direction: row;
        justify-content: space-between;
    }
    .site-footer__right {
        text-align: right;
    }
}

@media only screen and (min-width: 768px) {
    .header-static-info {
        flex-direction: row;
    }
    .site-main {
        display: flex;
    }
    .site-main__left {
        flex: 1 1 0;
    }
    .site-main__left + .site-main__right {
        margin-left: 15px;
    }
    .site-main__right {
        width: 30%;
    }
}

@media only screen and (min-width: 992px) {
    .menu-toggle-wrapper {
        display: none;
    }
    .main-navigation ul {
        display: flex;
    }
    .header-static-info__img .widget_block {
        width: 100%;
    }
    .header-static-info__img .widget_block,
    .header-static-info__img .wp-block-image,
    .header-static-info__img img {
        height: 100%;
    }
    .site-main__right {
        width: 25%;
    }
    .gallery-layout-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .gallery-layout-list > li {
        width: calc((100% - 10px) / 2);
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
    .navbar-nav > li > a {
      padding-left: 8px;
      padding-right: 8px;
    }
}
  
/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
    .header-static-info__about-dmai,
    .header-static-info__box,
    .header-static-info__news {
        width: 100%;
        display: block;
    }
    .header-static-info__img img {
        height: auto;
    }
    .home-page-four-column .widget_text,
    .home-page-four-column .widget_block {
        width: 49%;
        margin-bottom: 40px;
    }
    .footer-logo-img {
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-logo-img li + li {
        margin-left: 0;
        margin-top: 10px;
    }
    .footer-logo-img li:last-child {
        margin-bottom: 10px;
    }
}
  
/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 567px) {
    .site-title a,
    .site-title a img {
        display: block;
    }
    .site-title a img {
        margin: 0 auto;
    }
    .home-page-four-column .widget_block {
        width: 100%;
    }
}