:root {
  --color-green: #0CCDAD;
  --color-red: #F52D6B;
  --color-blue: #7297F8;
  --color-pink: #FF6587;
  --color-yellow: #FFC374;
  --color-cyan: #16EBD5;
}

.content-padding {
  padding-right: var(--bs-gutter-x, .75rem);
  padding-left: var(--bs-gutter-x, .75rem);
}

.card-link {
  text-align: center;
  line-height: 14px;
  cursor: pointer;
}
.card-link .card-body {
  min-height: 135px;
}
.card-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card-link .icon {
  padding: 1rem 0;
  border-radius: 100%;
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}
.card-link .icon-green {
  background-color: var(--color-green);
}
.card-link .icon-red {
  background-color: var(--color-red);
}
.card-link .icon-blue {
  background-color: var(--color-blue);
}
.card-link .icon-pink {
  background-color: var(--color-pink);
}
.card-link .icon-yellow {
  background-color: var(--color-yellow);
}
.card-link .icon-cyan {
  background-color: var(--color-cyan);
}
.card-link .icon img {
  height: 30px;
}
.card-link .text {
  font-size: 12px;
}

.breadcrumb {
  background: var(--color-blue);
  padding: 15px;
  color: white;
}

textarea.form-control {
  min-height: calc(1.5em + 0.75rem + 100px);
}

.modal-bg-primary {
  background: #eef0f8;
}

.modal .card-link .icon {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

.btn-reset-filter {
  position: absolute;
  right: 40px;
  top: 20px;
  text-decoration: none;
  font-size: 12px;
}

.btn-primary:disabled,
.btn-primary.disabled {
  background-color: #a9c1fd;
  border-color: #a9c1fd;
}

.news-card > img {
    width: 100%;
    height: 30vh;
    object-fit: cover;
}

.news-card > .share-button {
    position: absolute;
    right: 20px;
    top: 20px;
    padding: 20px;
    font-size: 16px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 50%;
    background: #65E4FE;
    color: #FFF;
    z-index: 2;
    border: none;
}

.other-news-card {
    background-color: transparent;
}

.other-news-card .card-body {
    padding: .5rem 0;
}

.other-news-card img {
    height: 30vh;
    border-radius: calc(.5rem - 1px);
    object-fit: cover;
}

.news-img {
    border-radius: 20px;
    margin-bottom: 30px;
}

.overlay {
    display: none;
    opacity: 0;
    background: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    transition: opacity .3s;
}

.overlay.show {
    display: block;
    opacity: 1;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    background: rgb(255, 254, 254);
    padding: 15px;
    width: 80%;
    border-radius: 15px;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0px 10px 15px rgba(0,0,0,0.1);
    transform: translate(-50%, -50%) scale(1.2);
    transition: top 0s 0.2s ease-in-out,
                opacity 0.2s 0s ease-in-out,
                transform 0.2s 0s ease-in-out;
    z-index: 11;
}

.popup.show {
    opacity: 1;
    pointer-events: auto;
    transform:translate(-50%, -50%) scale(1);
    transition: top 0s 0s ease-in-out,
                opacity 0.2s 0s ease-in-out,
                transform 0.2s 0s ease-in-out;

}

.popup header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid #ebedf9;
}
.popup header span {
    font-size: 21px;
    font-weight: 600;
}
.popup header .close, .icons a {
    display: flex;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}
.popup header .close {
    color: #878787;
    font-size: 17px;
    background: #f3f3f3;
    height: 33px;
    width: 33px;
    cursor: pointer;
}
.popup header .close:hover {
    background: #ebedf9;
}
.popup .share-content {
    margin: 20px 0;
}

.share-content {
    margin: 30px 0 20px 0;
}
.share-content .icons {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 15px 0 20px 0;
    padding: 0;
}
.share-content p {
    font-size: 16px;
}
.share-content .icons a {
    height: 50px;
    width: 50px;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid transparent;
}
.share-content .icons a i {
    transition: transform 0.3s ease-in-out;
}
.share-content .icons a {
    background-color: #FFF;
}
.share-content .icons a:nth-child(1) {
    color: #28D146;
    border-color: #5FFC7B;
}
.share-content .icons a:nth-child(1):hover {
    background: #5FFC7B;
}
.share-content .icons a:nth-child(2) {
    color: #1877F2;
    border-color: #b7d4fb;
}
.share-content .icons a:nth-child(2):hover {
    background: #1877F2;
}
.share-content .icons a:nth-child(3) {
    color: #46C1F6;
    border-color: #b6e7fc;
}
.share-content .icons a:nth-child(3):hover {
    background: #46C1F6;
}
.share-content .icons a:hover {
    color: #fff;
    border-color: transparent;
}
.share-content .icons a:hover i {
    transform: scale(1.2);
}

.advantages-img-wrapper {
    margin-left: 30px;
}

.advantages-text {
    font-size: 16px;
    text-align: start;
}

.socmed {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 15px 0 20px 0;
    padding: 0;
}

.socmed p {
    font-size: 16px;
}
.socmed a {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}
.socmed a i {
    transition: transform 0.3s ease-in-out;
}
.socmed a:nth-child(1) {
    color: #C13584;
    background-color: #FFF;
}
.socmed a:nth-child(1):hover {
    background: #C13584;
}
.socmed a:nth-child(2) {
    color: #1877F2;
    background-color: #FFF;
}
.socmed a:nth-child(2):hover {
    background: #1877F2;
}
.socmed a:nth-child(3) {
    color: #46C1F6;
    background-color: #FFF;
}
.socmed a:nth-child(3):hover {
    background: #46C1F6;
}
.socmed a:hover {
    color: #fff;
    border-color: transparent;
}
.socmed a:hover i {
    transform: scale(1.2);
}

.form-floating {
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.form-control.has-error {
    border: 1px solid red !important;
}

.form-floating.checkbox .form-control {
    padding: 1rem 0.75rem;
}

button.carousel-control-prev,
button.carousel-control-next {
    display: none;
}

.carousel-indicators {
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .btn-slider {
        position: absolute;
        right: 7vh;
        bottom: 3vh;
        font-size: 10px !important;
        padding: 0.3rem 0.4rem !important;
        line-height: 7px !important;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .btn-slider {
        position: absolute;
        right: 7vh;
        bottom: 4vh;
        font-size: 14px !important;
        padding: 0.6rem 0.7rem !important;
        line-height: 10px !important;
    }
}
