@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Nunito:wght@400;600&display=swap');

/* main */
body {
    font-family: 'Nunito', sans-serif;
    min-width: 350px;
}

h1, h2, h3, h4, 
.h1, .h2, .h3, .h4, 
.form-check, .font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

h5, .h5 {
    font-family: 'Nunito', sans-serif;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1620px;
    }   
}   

.cursor-pointer {
    cursor: pointer;
}

/* colors */
.text-primary {
    color: #F13E9B !important;
}

.bg-dark {
    background: #131313 !important;
}

.bg-dark-subtle {
    background-color: #1D1D1D !important;
}

.bg-dark .text-secondary {
    color: #bfbfbf !important;
}

.card {
    border-color: #666666 !important;
}

.card-header {
    background-color: #515151;
    color: #fff !important;
}

.btn-primary {
    background-color: #DE127B;
    border-color: #DE127B;
}
.btn-primary:hover {
    background-color: #f12a90;
    border-color: #f12a90;
}

.btn-outline-primary {
    color: #DE127B;
    border-color: #DE127B;
}
.btn-outline-primary:hover {
    color: #FFF;
    background-color: #DE127B;
    border-color: #DE127B;
}

body.site .btn-outline-primary {
    color: #FFF;
    border-color: #DE127B;
}
body.site .btn-outline-primary:hover {
    color: #FFF;
}

body.site .form-control,
body.site .form-control:focus {
    background-color: #FFF;
    color:#131313;
}
.form-check-input:checked {
    background-color: #DE127B;
    border-color: #DE127B;    
}

.text-shadow-dark {
    text-shadow: 0px 0px 16px rgba(0, 0, 0, 0.5);   
}

/* header */
.navbar .nav-link {
    display: inline-block;
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    position: relative;
}
.navbar .nav-link:hover:not(.dropdown-toggle)::after,
.navbar .nav-link.dropdown-toggle:hover:not(.nav-dropdown)::after,
.navbar .nav-link.active:not(.dropdown-toggle)::after,
.navbar .nav-link.dropdown-toggle.active::after {
    content: '';
    display: block;
    position: absolute;
    border-top: 1px solid #DE127C;
    left: 6px;
    right: 6px;
}
.navbar .nav-link.dropdown-toggle:hover::after,
.navbar .nav-link.dropdown-toggle.active::after {
    left: 0px;
    right: 2px;
}
.navbar .nav-link, .navbar .nav-link:hover {
    color: #FFF;
}
.navbar-toggler, .navbar-toggler:focus {
    border: none;
    box-shadow: none;
    color: #FFF;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");    
}
.navbar .dropdown-toggle::after {
    display: none;
}
@media (max-width: 450px) {
    .navbar .nav-item.mx-2 {
        margin-right: 0 !important;
        margin-left: 0 !important; 
    }
    .navbar .navbar-toggler {
        padding-right: 0 !important;
        padding-left: 0 !important; 
    }
    .navbar a.btn-primary {
        padding-top: .25rem !important;
        padding-bottom: .25rem !important;
        padding-right: .5rem !important;
        padding-left: .5rem !important;   
    }
}

@media (max-width: 400px) {
    .navbar-brand img {
        max-width: 175px;
    }
}

/* search */
.search-form {
    width: 350px;
    right: 30px;
    top: -7px;   
}

@media (max-width: 435px) {
    .search-form {
        width: 290px;
    }
}
@media (max-width: 380px) {
    .search-form {
        width: 260px;
    }
}
body.site .search-form .form-control {
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.8);
}
body.site .search-form .form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgba(255, 255, 255, 0.4);
    opacity: 1; /* Firefox */
}

body.site .search-form .form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: rgba(255, 255, 255, 0.4);
}

body.site .search-form .form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: rgba(255, 255, 255, 0.4);
}
.search-form #button-search {
    border-left: none;
    border-top-right-radius: .375rem;
    border-bottom-right-radius: .375rem;
    border-color: rgba(255, 255, 255, 0.8);
    color: #FFF;
}

.search-icon,
.search-icon:hover {
    color: #ffffff;
}

.search-form #button-search:hover,
.search-form #button-search:focus {
    color: #f12a90;   
}

.search-icon:hover::after,
.search-icon:focus::after {
    content: '';
    display: block;
    position: absolute;
    border-top: 1px solid #DE127C;
    width: 90%;
    left: 10%;
}

/* dropdown */
.dropdown-menu-dark {
    background: #131313 !important;
}
.dropdown-menu-dark .dropdown-divider {
    border-color: rgba(255,255,255,0.6);    
}

/* footer */
footer h5,
footer .h5 {
    position: relative;
    color: #FFF;
}
@media (min-width: 992px) {
    footer h5:after,
    footer .h5:after{
        content: '';
        display: block;
        position: absolute;
        bottom: -4px;
        width: 35px;
        left: -1px;
        border-top: 1px solid #DE127C;
    }
}

footer a {
    text-decoration: none;
}
footer a:hover, .bd-footer a:focus {
    text-decoration: underline;
}

footer .accordion, 
footer .accordion-button,
footer .accordion-button:not(.collapsed),
footer .accordion-item {
    color: #FFF;
    background: #131313;
}
footer .accordion-button:focus {
    border: none;
    box-shadow: none;
}
footer .accordion-button {
    padding-left: 0px;
    padding-right: 0px;
}
footer .accordion-flush .accordion-item:last-child {
    border-bottom: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
}
footer .accordion-item ul {
    margin-left: 2rem !important;    
}
footer .accordion-button.collapsed::after {
    content: "\2b";
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
    text-align: center;
}
footer .accordion-button:not(.collapsed) {
    box-shadow: none;
}
footer .accordion-button:not(.collapsed)::after {
    content: "\f00d";
    background: none;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transform: none;
    text-align: center;
}
footer .border-top {
    border-top: 1px solid #FFF;
}
footer .top-arrow {
    width: 50px; 
    height: 50px;
    cursor:pointer;
    background: #DE127C !important;
}
footer .top-arrow .fa-arrow-up::before {
    margin-top: auto;
    margin-bottom: auto;
}

/* modal iframe */
.modal {
    background: rgba(0,0,0,0.75);
}
.modal-content, .modal-content-bg {
    background-color: #1D1D1D !important;
}

.modal iframe.register {
    min-height: 500px;
}
@media (min-width: 576px) {
    .modal-md {
      --bs-modal-width: 400px;
    }
}

/* site updates */
.site-link {
    top: 1px;
    left: 1px;
    background-color: #cc0000;
    color: #fff;
}

/* site-lists */
.sites-striped .col-striped:nth-child(2n) {
  background-color: rgba(0,0,0,.05);
}

/* content list */
a.title-link:after {
    content: '';
    display: block;
    position: absolute;
    width: 35px;
    border-top: 1px solid #DE127C;
}

a.title-link:hover:after {
    border-color: #FFFFFF;
}


.content-item [class*="favorite-"] {
    position: absolute;
    right: 2px;
    top: 5px;
    padding: 1px 6px 0px 6px;
    background: rgba(0,0,0, 0.4);
    width: unset;
    height: unset;
    left: unset;
    border-radius: 2px;
}

.content-item [class*="favorite-"]:hover {
    background: rgba(0,0,0, 0.8);
}

a.webp-preview .webp {
    display:none;
}
a.webp-preview:hover .webp {
    display:block;
}
a.webp-preview:hover .thumb {
    display:none;
}
a.webp-preview .webp-progress {
    position: absolute;
    left: 0px;
    width: 0px;
    top: 0px;
    
    height: 3px;
    background-color: #bb2d3b;     
}
a.webp-preview:hover .webp-progress {
    animation: progressAnimation 1s;
    animation-iteration-count: 1;
}

@keyframes progressAnimation {
  0%   { width: 0%; }
  100% { width: 100%; }
}

.duration {
    position: absolute;
    right: 2px;
    bottom: 5px;
    padding: 0px 6px;
    background: rgba(0,0,0, 0.4);
    width: unset;
    height: unset;
    left: unset;
    top: unset;
    border-radius: 2px;
    color: #EFEFEF;
}
.ratio-7x10 {
  --bs-aspect-ratio: 142.7%;
}

/** label for form **/
.floating-label {
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    pointer-events: none;
    left: 25px;
    top: 11px;
    transition: 0.2s ease all;
    color:#9B9B9B;
    font-size: 1rem;
    font-weight: 400;
}

.floating-label.text-danger {
    font-size: 0.8rem;
}

input:focus ~ .floating-label,
input:not(:placeholder-shown) ~ .floating-label{
    top: 5px;
    left: 25px;
    font-size: 11px;
    opacity: 1;
    color:#9B9B9B;
}
input:not(:placeholder-shown):invalid ~ .floating-label{
    color: #FF0000;
}
.form-floating > label {
    color: #9B9B9B;    
}

/*** site ***/
body.site {
    color: rgba(255, 255, 255, 0.87);
    --bs-body-color: rgba(255, 255, 255, 0.87);
    --bs-body-bg: #131313;
    background: #131313;
}

body.site a:not(.btn, .navbar-dark *, footer *) {
    color: #FFF;
    text-decoration: none;
}

body.site a:not(.btn, nav *, footer *, .title-link):hover {
    text-decoration: underline;
}


/* pagination */
.pagination .page-link {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    border: 3px solid #3a3a3a;
    background: #3a3a3a;
    font-weight: bold;
    color: #FFF;
    border-radius: 0.25rem !important;
}

.pagination .page-item.prev-next .page-link {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    background-color: #DE127B;
    border: 3px solid #DE127B;
}

.pagination .page-item:not(.active) .page-link:hover,
.pagination .page-item:not(.active) .page-link:focus {
    border-color: #5b5b5b;
    background: #5b5b5b;
    text-decoration: none;
    box-shadow: none;
}

.pagination .page-item.prev-next .page-link:hover,
.pagination .page-item.prev-next .page-link:focus {
    background-color: #131313;
    border-color: #e6368b;
    color: #E461A5;
}

.pagination .page-item {
    margin-right: .25rem !important;
    margin-left: .25rem !important;    
}
.pagination .active > .page-link, 
.pagination .page-link.active {
    background-color: #131313;
    border-color: #e6368b;
    color: #E461A5;
}
  
@media (max-width: 576px) {
    .pagination .page-item {
        margin-right: 0.15rem !important;
        margin-left: 0.15rem !important;
    }
    .pagination .page-link {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
        padding-top: 0.1rem;
        padding-bottom: 0.1rem;
        min-width: 40px;
        text-align: center;
    }
    
}

/*** breadcrumbs ***/
.crumbs i {
    font-size: 0.5rem;
}
.crumbs .crumbs-last {
    color: rgba(255, 255, 255, 0.6);
}

/** admin footer **/
.admin-footer a {
    color: #FFFFFF;
    text-decoration: none !important;
}
.admin-footer a:hover{
    color: #cfcece;
}
.admin-footer #client-logo{
    max-width: 150px;;
}

/*** tooltip ***/
.tooltip-inner {
    --bs-tooltip-color:#FFF;
    --bs-tooltip-bg: #343a40;
}