.row-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.row-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.large-header-slogan {
    display: inline-block;
    margin-left: 80px;
    font-size: 32px;
    color: #333;
    font-style: italic;
}

.vid169 {
    position: relative;
    padding-top: 56.25%;
}

.vid169 iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
}

.header-contact {
    margin: 30px 0 0;
}

.header-contact i {
    margin-right: 5px;
    margin-top: 2px;
}

.pt80 {
    padding-top: 80px;
}

.input-style-1 {
    background-color: #D14751;
    color: #FFFFFF;
    border: 1px solid #D14751;
    padding: 6px 100px;
    font-size: 26px;
    width: 50%;
    height: 82px;
}

.input-style-1:hover {
    background-color: #15B1E4;
    border: 1px solid #15B1E4;
    cursor: pointer;
}

.input-style-2 {
    background-color: #D14751;
    color: #FFFFFF;
    border: 1px solid #D14751;
    font-size: 26px !important;
}

.serach-service-input {
    padding: 40px 12px;
    font-size: 26px;
}

.pb130 {
    padding-bottom: 130px;
}

.pt130 {
    padding-top: 130px;
}

.footer-social a {
    font-size: 14px;
}

.latest-h-chars {
    width: 100%;
    height: 25px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.latest-p-chars {
    max-width: 100%;
    max-height: 120px;
    overflow: hidden;
    white-space: inherit;
    text-overflow: ellipsis;
}

.event-list-box .event-title {
    width: 80%;
}

.event-list-box .edate {
    padding: 0;
    font-size: 31px;
    margin-right: 20px;
}

a.join-now {
    margin: 0;
    margin-top: 8px;
}

.ph-2 {
    padding-left: 20px;
    padding-right: 20px;
}

.ph-3 {
    padding-left: 30px;
    padding-right: 30px;
}

.large-header-slogan {
    display: inline-block;
    margin-left: 80px;
    font-size: 32px;
    color: #333;
    font-style: italic;
}

.department-box h6 {
    margin: 0;
}

.department-box {
    background: #e5e5e5;
}

.department-box ul li a, .department-box ul li a i {
    color: #333 !important;
}

.department-box .see-more {
    background: #333;
}

.department-box.c1 h6 {
    background: #009688;
}

.department-box.c2 h6 {
    background: #2196f3;
}

.department-box.c3 h6 {
    background: #4caf50;
}

.department-box.c4 h6 {
    background: #d32f2f;
}

.department-box.c5 h6 {
    background: #795548;
}

.department-box.c6 h6 {
    background: #546e7a;
}

.input-group-addon {
    padding: 0;
    margin: 0;
    border: none;
    background: inherit;
}

.input-group {
    width: 100%;
}

.search-spn {
    background: #DC4049;
    font-size: 28px;
    color: #ffffff;
}

.search-span-btn {
    width: 10% !important;
}

.search-input {
    width: 100% !important;
    padding: 33px 30px;
    font-size: 20px;
}

.search-btn {
    padding: 12px 60px !important;
    font-size: 28px !important;
    background: #DF3F4A;
    border: 1px solid #DF3F4A;
    border-radius: 0px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.form-control:focus {
    border-color: #66afe9 !important;
    outline: 0 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6) !important;
    border: none !important;
}

.form-control {
    border: none !important;
}

.btn-info.focus, .btn-info:focus {
    color: #fff;
    background-color: #31b0d5;
    border-color: #31b0d5;
}

.Mayor-video-msg .city-tour {
    margin-top: 0;
}

.fullwidthbanner-container {
    overflow: hidden !important;
}

.event-post-content {
    position: relative;
}

.event-post-loc {
    /*position: absolute;*/
    bottom: 0;
    left: 0;
    width: 100%;
}

.event-post-full {
    display: flex;
}

.row-flex .news-post {
    height: 100%;
}

.event-post-full.large-image {
    width: 100%;
}

.event-post-full.large-image .thumb {
    width: 100%;
}

.event-post-full.large-image .event-post-content {
    width: 100%;
}

.event-post-full.large-image .event-post-loc {
    text-align: right;
}

.event-post-full.large-image .event-post-loc a {
    margin-left: 25px;
}

.recent-events .event-list:hover:after {
    height: 100% !important;
    top: 0;
}

.recent-events .event-list, .recent-events .event-list:last-child {
    margin: 8px 0;
    padding: 8px 0;
}

.row-flex .news-box {
    height: 100%;
    position: relative;
    padding-bottom: 51px;
}

.row-flex .news-box .news-box-f {
    position: absolute;
    width: 100%;
    bottom: 0;
}

.announcements {
    height: 329.58px !important;
    overflow-y: auto;
}

@media (min-width: 992px) {
    .depart-info.absolute-pictograms {
        background: none !important;
        position: absolute;
        bottom: -30px;
    }

    .rev-slider {
        position: relative;
    }
}

@media (min-width: 320px) and (max-width: 992px) {
    .h3-navbar ul.navbar-right li.donate-btn {
        display: none !important;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    .event-list-box .event-title {
        width: 100%;
    }

    .event-gallery, .event-list-box {
        margin-bottom: 20px;
        padding: 30px;
    }

    .download-btn-li {
        margin-bottom: 10px !important;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    .search-btn {
        padding: 12px 15px !important;
        font-size: 17px !important;
    }

    .search-input {
        width: 100% !important;
        padding: 25px 15px !important;
        font-size: 17px !important;
    }

    .search-span-btn {
        padding: 0 !important;
    }

    .input-group-addon {
        font-size: 16px !important;
    }
}

@media (min-width: 1200px) and (max-width: 2560px) {
    .xl-center {
        margin-left: 27px;
    }
}

.depart-info {
    padding-bottom: 75px;
}

.footer-social a:hover {
    color: #12498a;
}

.font-bigger a {
    font-size: 50px;
}

.logos-style {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.logos-style a > img {
    height: 80px;
}

.header-icons {
    display: flex;
    align-items: baseline;
    position: absolute;
    left: 50%;
    z-index: 40;
    transform: translate(-50%, -50%);
}

.header-main-div-1 {
    margin-left: 20px;
}

.header-main-div-3 {
    margin-right: 20px;
}

.logos-style .deprt-icon-box {
    padding: 0 15px;
}

/*.header-icons .deprt-icon-box:not(:last-child) {*/
/*margin-right: 50px;*/
/*}*/

.header-icons .deprt-icon-box img {
    height: auto;
}

@media (max-width: 1387px) {
    .logos-style {
        justify-content: center;
    }

    .header-main-div-1 {
        padding: 20px;
    }

    .header-icons {
        order: 2;
    }

    .header-main-div-3 {
        padding: 20px;
        margin-bottom: 20px;
    }
}

.overlay-desc {
    background: rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.overlay-desc h1 {
    color: white;
    text-align: center;
    font-weight: bold;
}

.deprt-icon-box {
    position: relative;
    padding-bottom: 10px;
}

@media (max-width: 600px) {
    .header-icons .deprt-icon-box {
        width: 60px;
    }
}

.header-icons-hover-1 h6 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: .5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header-icons-hover-1:hover h6 {
    opacity: 1;
}

.header-icons-hover-1:hover img {
    opacity: 0;
}

.header-icons-hover-2 h6 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: .5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header-icons-hover-2:hover h6 {
    opacity: 1;
}

.header-icons-hover-2:hover img {
    opacity: 0;
}

.header-icons-hover-3 h6 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: .5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header-icons-hover-3:hover h6 {
    opacity: 1;
}

.header-icons-hover-3:hover img {
    opacity: 0;
}

.header-icons-hover-4 h6 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: .5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header-icons-hover-4:hover h6 {
    opacity: 1;
}

.header-icons-hover-4:hover img {
    opacity: 0;
}

.icons-block-main-div {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.icons-block-main-div h6 {
    font-weight: bold;
    font-size: 22px;
}

.icons-block .icons-block-main-div img {
    margin-bottom: 0;
}

.icons-block .deprt-icon-box {
    height: auto;
    margin: 10px;
}

.icons-block .deprt-icon-box:hover {
    padding: 40px;
}

.header-icons .deprt-icon-box h6 {
    margin-bottom: 0;
}

.header-icons .deprt-icon-box h6 a {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background: white;
    vertical-align: center;
    display: flex;
    align-items: center;
}

@media (max-width: 739px) {
    .icons-block-main-div {
        justify-content: center;
    }
}

.grid {
    padding: 75px 0;
}

.grid h2, .videos h2 {
    text-align: center;
    padding-bottom: 10px;
    color: #00005C;
    font-weight: 600;
}

.grid-block {
    display: flex;
    flex-wrap: wrap;
}

.grid-block > div {
    flex: 0 0 25%;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.grid-block-secondary-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.grid-block img {
    filter: brightness(75%);
    min-height: 209px;
    transform-origin: 50% 65%;
    transition: transform 1s, filter .5s ease-in-out;
}

.grid-block > div:hover img {
    filter: brightness(100%);
    transform: scale(1.3);
}

.grid-block-secondary-div i {
    font-size: 40px;
    color: #fff;
}

.grid-block-secondary-div h6 {
    font-size: 20px;
    padding-top: 10px;
    color: #fff;
}

@media (max-width: 991px) {
    .grid-block > div {
        flex: 0 0 50%;
    }
}

@media (max-width: 767px) {
    .grid-block > div {
        flex: 0 0 100%;
    }
}

.SarajevoText {
    padding-top: 50px;
    /*padding-bottom: 70px;*/
}

.SarajevoText .SarajevoText_wrapper {
    position: relative;
}

.SarajevoText h2, .SarajevoText span, .SarajevoText p {
    text-align: center;
    padding-bottom: 40px;
    color: black !important;
    font-weight: bold;
}

.SarajevoText p {
    color: #fff;
    line-height: 24px;
    font-size: 16px;
    font-weight: 600;
}

.main-content {
    margin-bottom: 75px;
}

@media (max-width: 767px) {
    .register-title-wrapper {
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    .register-wrapper {
        margin-top: 50px;
    }
}

.social-icon {
    width: 50px;
    text-align: center;
    background-color: #fff;
    border-radius: 50%;
    padding: 10px;
    font-size: 30px;
}

.header-two {
    position: static;
}

.header-large {
    width: 100%;
    /*position: absolute;*/
    background: transparent;
    z-index: 99;
    border-top: 10px solid #000066;
}

.flex-container-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
}

@media (max-width: 1284px) {
    .flex-container-header {
        justify-content: center;
    }
}

.home-newsletter {
    padding: 40px 0 60px 0;
    background: #F7F7F7;
}

.home-newsletter .single {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.home-newsletter .single h2 {
    font-size: 22px;
    color: white;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.home-newsletter .single .form-control {
    height: 50px;
    background: rgba(255, 255, 255, 0.6);
    border-color: transparent;
    border-radius: 20px 0 0 20px;
}

.home-newsletter .single .form-control:focus {
    box-shadow: none;
    border-color: #243c4f;
}

.home-newsletter .single .btn {
    min-height: 50px;
    border-radius: 0 20px 20px 0;
    background: #d94148;
    color: #fff;
}

.trans-text h1 {
    font-size: 42px;
}

.trans-text p {
    font-size: 22px;
}

.trans-text {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50px;
}

.header-large li {
    margin-left: 6px;
}

.icons-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icons-wrapper p {
    text-align: center;
}

.icons-wrapper:not(:last-child) {
    margin-right: 8px;
}

@media (min-width: 461px) {
    .icons-wrapper:not(:last-child) {
        margin-right: 50px;
    }
}

.button-info {
    padding: 25px;
    margin-bottom: 40px;
    background-color: rgba(59, 59, 121, 1);
    border: none;
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-transition: color 1000ms;
    transition: color 1000ms;
}

.button-info::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 153, 0, .5);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition: 300ms ease-out;
    transition: 300ms ease-out;
}

.button-info-1:hover::before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.button-info-2:hover::before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.button-info-3:hover::before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.p80 figcaption {
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .top-bar-icons {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .header-main-div-3 {
        margin-bottom: auto;
        margin-right: auto;
    }

    .header-main-div-3 img {
        height: auto !important;
        width: 100px;
    }

    .header-large h3 {
        font-size: 15px;
    }

    .font-bigger a {
        font-size: 25px;
    }

    .font-bigger i:not(:last-of-type) {
        font-size: 25px;
    }
}

.trans-text h1 {
    font-size: 27px !important;
}

.partners-flex img {
    width: 50px;
}

@media (min-width: 768px) {
    header .navbar-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
}

.news-details .news-box .new-thumb {
    text-align: center;
}

.news-details .news-box .new-thumb img {
    width: auto;
}

.news-details .news-box .new-thumb h2 {
    font-size: 24px;
}
