/* ------------------------------- */
/* SPONSORSHIPS PAGE */
/* ------------------------------- */
.strong {
    font-weight: bold;
}
.intro-sponsorships {
    max-height: 498px; 
}
.intro-sponsorships .intro-container {
    max-height: 498px;
    height: 498px;
    padding-bottom: 0;
    background: url(../../img/icard_mobile/sponsorship/sponsorship-main-banner.jpg) no-repeat center center;
    background-size: cover;
}
.intro-sponsorships h1 {
    font-size: 69px;
    margin-bottom: 0;
}
.sponsorships-page .subtitle {
    font-size: 22px;
    margin-top: 2rem;
    margin-bottom: 3rem;
    font-weight: 200;
}

.sponsorships-page .img-holder-div img {
    width:100%;
    margin-bottom: 20px;
}
.sponsorships-page .date-p {
    font-size: 15px;
}

.link-blue {
    color: #078ed2;
    font-size: 16px;
    font-weight: bold;
}
.sponsorships-page .visit-page-link .ico-font {
    color: #078ed2;
    font-size: 12px;
    margin-left: 10px;
}
.sponsorships-page .visit-page-link:hover .ico-font {
    color: #20c19f;
}
.sponsorships-page .column-holder .link-blue {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 30px;
}
.sponsorships-page .column-holder p .link-blue {
    margin: 0;
}
.sponsorships-page .column-holder {
    height: 100%;
    min-height: 808px;
    display: flex;
    align-items: center;
}
.sponsorships-page .column-holder p {
    margin: 20px 0 0;
}
.sponsorships-page .column-holder p.date-p {
    margin-top: 20px;
}
.sponsorships-page .column-holder h3 {
    font-size: 38px;
    margin-bottom: 0;
}
.sponsorships-page .column-holder-options {
    margin-top: 50px;
}
.sponsorships-page .main-sponsorship-block {
    box-shadow: 0px 0px 20px 3px #cccccc;
}

.sponsorships-page .events-block h4 {
    font-size: 30px;
    margin-top: 1.9rem;
}
.sponsorships-page .event-box p {
    font-size: 16px;
}
.sponsorships-page .events-block .row {
    margin-bottom: 65px;
}

.sponsorship-hidden {
    display: none;
}
.sponsorships-page .view-gallery-link {
    display: block;
    position: relative;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;

}
.sponsorships-page .view-gallery-link:before {
    position: absolute;
    content:"";
    top:0;
    left:0;
    width:100%;
    height:100%;
    opacity:0;
    background-color: #3f3c3c;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.sponsorships-page .view-gallery-link:hover:before {
    opacity:0.5;
    -webkit-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
}
.sponsorships-page .view-gallery-link .ico-font {
    color: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    font-size: 57px;
    opacity: 0;
    -webkit-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
}
.sponsorships-page .view-gallery-link:hover .ico-font {
    opacity: .8;
    -webkit-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
}
.sponsorships-page .view-gallery-link img {
    width:100%;
}
.sponsorships-page .grid-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 40px;
    justify-items: stretch;
    margin-bottom: 80px;
}

/* GALLERY PAGE */
.gallery-section p {
    font-size: 16px;
    margin-bottom: 30px;
    text-align: center;
}
.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* auto auto auto; */

    grid-column-gap: 10px;
    grid-row-gap: 10px;
    justify-items: stretch;
    margin-top: 50px;
}
/* *gallery modal */
.modal-gallery {
    margin-top: 80px;
}

.modal-gallery .modal-content {
    border: none;
    background-color: transparent;

    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: transparent;
    background-clip: padding-box;
    /* border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem; */
    outline: 0;
    box-shadow: none;
    border:none;
}
.modal-body {
    position: relative;
    padding: 5px;
    flex: 1 1 auto;
}

.modal-gallery button.close {
    color: #fff;
    opacity: 1;
    position: absolute;
    top: -45px;
    right: 0;

    padding: 7px 14px;
    border-radius: 51px;
    background-color: #333;
}

.modal-gallery img {
    bottom: 0;
    margin: auto;
}

.modal .modal-dialog.modal-gallery img {
    position: relative;
    max-width: 1170px;
    max-height: 680px;
    right: 0;

}

.modal-gallery .carousel-inner {
    text-align: center;
}

.modal-gallery .carousel-control {
    position: absolute;
    top: 50%;
    bottom: auto;
    background-image:none;
    width:auto;
    z-index: 2;
    text-align: center;

    padding: 7px 20px 7px 20px;
    border-radius: 51px;
    background-color: #333;
    opacity: 1;

    -webkit-transition: background-color .3s;
    -o-transition: background-color .3s;
    transition: background-color .3s;
}

.modal-gallery .carousel-control.left {
    left: 0;
    padding: 7px 20px 7px 20px;
}

.modal-gallery .carousel-control.right {
    right: 0;
}

.modal-gallery .carousel-control i.ico-font {
    color: #fff;
    font-size: 25px;
    /* background-color: #000; 
    opacity: 1;
    padding: 5px;*/
}

.modal-gallery .carousel-control:hover {
    background-color: #514f4f;
    -webkit-transition: background-color .3s;
    -o-transition: background-color .3s;
    transition: background-color .3s;
}

/* */
.truncate-string {
    /* non webkits: limit the height to two lines and hide the overlowing content (without ellipsis) */
    max-height: 55px; /* 2 lines * 20px line-height = 40px */
    overflow: hidden;

    /* webkits: use -webkit-line-clamp (with ellipsis) */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp:2;
}





/* ----------------------------- */
/* MEDIA QUERYES */
/* ----------------------------- */
/*@media (max-width: 1620px) {
    .sponsorships-page .img-holder-div img {
        width:100%;
    }

}*/
@media (max-width: 1430px) {
    /*   .sponsorships-page .img-holder-div img {
           position: relative;
           right: 10%;
       } 
    */
    .sponsorships-page .img-holder-div {
        min-height: 808px;
        overflow: hidden;
        text-align: center;
    }
}
@media (max-width: 1199px) {

    .intro-sponsorships h1 {
        font-size: 38px;
    }
    .btn-ghost.btn-medium {
        min-width: 250px;
        height: 60px;
        font-size: 20px;
        line-height: 60px;
    }
    .modal .modal-dialog.modal-gallery img {
        max-width: 800px;
    }


}
@media (max-width: 991px) {
    .sponsorships-page .subtitle {
        font-size: 18px;
        margin-bottom: 3rem;
    }
    .mobile-br br {
        content:' ';
    }
    .mobile-br br:after  {
        content:' ';
    }
    .sponsorships-page .column-holder h3 {
        font-size: 24px;
    }
    .sponsorships-page .img-holder-div {
        width:100%;
        height:auto;
        min-height:100px;
        margin-top: 30px;
        margin-bottom: 60px;
    }
    .sponsorships-page .img-holder-div img {
        right: auto;
    }
    .sponsorships-page .event-box {
        margin-bottom: 5rem;
    }
    .sponsorships-page .events-block h4 {
        font-size: 24px;
    }
    .sponsorships-page .events-block .row {
        margin-bottom: 0;
    }
    .modal .modal-dialog.modal-gallery img {
        max-width: 100%;
    }
    .sponsorships-page .grid-row {
        grid-template-columns: repeat(1, 1fr);
    }
}




@media (max-width: 600px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr); /* auto auto auto; */
    }
    .modal-gallery .carousel-control {
        bottom: -65px;
        top: auto;
    }


}
@media (max-width: 445px) {
    .btn-ghost.btn-medium {
        min-width: 200px;
    }
    .grid-wrapper {
        grid-template-columns: repeat(1, 1fr); /* auto auto auto; */
    }
}


@media (min-width: 992px) {
    .modal-gallery-xl {
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
    .modal-gallery-xl {
        max-width: 1350px;
    }
}

@media (min-width: 768px) {
    .modal-gallery-xl {
        width: auto;
    }
}