/*
 Theme Name: 	Anotte WP Child
 Theme URI: 	http://demo.cocobasic.com/anotte-wp/
 Description: 	Anotte WP Child Theme
 Author: 		CocoBasic
 Author URI:  	http://www.cocobasic.com 
 Tags: grid-layout, four-columns, custom-colors, featured-images, threaded-comments, translation-ready, theme-options
 Template:		anotte-wp
 Text Domain: 	anotte-wp-child
*/

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

.big-text {
    font-family: inherit;
    font-weight: 500;
    font-size: 30px;
    line-height: 1;
    margin-bottom: inherit;
}

.home .header-logo img{
	display: none !important;
}


/*swiper-slide:nth-child(2)*/
.horizontal-slider .swiper-wrapper .swiper-slide .carousel-item-info a{
    opacity: 0.9 !important;
}

.horizontal-slider .swiper-wrapper .swiper-slide .carousel-item-image .carousel-item-info, 
.horizontal-slider .swiper-wrapper .swiper-slide .carousel-item-image  a.img-thumb:after, 
.horizontal-slider .swiper-wrapper .swiper-slide .carousel-item-image  .carousel-item-image-shadow:after {
    opacity: 1 !important;
    transform: translateY(0px) !important;
    visibility: visible !important;
}


.home .site-content.has-horizontal-slider {
    background: #152a4e;
}

.home .horizontal-slider .carousel-item-text .carousel-content, .home h1, .home h2, .home h3, .home h4, .home h5, .home h6 {
    color: white;
}

.home .horizontal-slider .swiper-slide .post-num {
    color: white;
}

.home .horizontal-slider .post-num .total-num:before {
    background-color: white;
}


.sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active, .menu-text {
    color: #152a4e;
}

.open #toggle, .done #toggle {
    background-color: #152a4e;
}

.site-wrapper .sm-clean > li > a:after{
	display: none !important;
}

a.button {
    color: #fff !important;
    background-color: #ca2026;
    padding: 8px 11px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 4px;
}

.fa-chevron-left:before {
    content: "\f054" !important;
}

.fa-chevron-right:before {
    content: "\f053" !important;
}

.carousel-item-info h2 a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 1;
}

.horizontal-slider .carousel-cat-links ul li a {
    font-size: 11px;
}

.single-portfolio h1.entry-title.big-text {
    display: none;
}

.sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active {
    font-size: 36px;
    text-transform: uppercase;
    font-weight: 300;
}

.sm-clean .sub-menu li a, .sm-clean .children li a {
    line-height: 1.2;
}

.sm-clean .sub-menu li a, .sm-clean .children li a {
    color: #4d4d4d !important;
    text-transform: capitalize;
    font-size: 16px;
}

.sm-clean .sub-menu {
    padding-left: 30px;
}

.horizontal-slider .carousel-cat-links .portfolio-category{
	pointer-events: none;
	touch-action: none;
}

/* Horizontal Scroll Function */
.horizontal-scroll-hint {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 10;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 14px;
    border: 0;
    border-radius: 30px;

    background: #ca2026;
    color: #fff;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    cursor: pointer;
    overflow: hidden;

    transition: opacity .4s ease, transform .4s ease;
}

.scroll-hint-text,
.scroll-hint-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.scroll-hint-arrow {
    width: 24px;
    font-size: 23px;
    font-weight: 900;
    margin: -3px 0 0 0;
    animation: horizontalHint 1.2s ease-in-out infinite;
}

@keyframes horizontalHint {
    0%, 100% {
        transform: translateX(-2px);
    }

    50% {
        transform: translateX(3px);
    }
}

.horizontal-scroll-hint:hover {
    transform: translateY(-50%) scale(1.05);
}

.horizontal-scroll-hint.is-hidden {
    opacity: 0;
    transform: translateY(-50%) translateX(10px);
    pointer-events: none;
}

/* RIGHT SIDE OF FULL SCREEN MENU */
.menu-right-text {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: #f7f7f7;
}


/* SCROLLABLE COMPANIES AREA */
.menu-companies {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;

    padding: 50px 55px;

    box-sizing: border-box;

    scrollbar-width: thin;
    scrollbar-color: #ca2026 transparent;
}


/* Chrome / Safari scrollbar */
.menu-companies::-webkit-scrollbar {
    width: 4px;
}

.menu-companies::-webkit-scrollbar-track {
    background: transparent;
}

.menu-companies::-webkit-scrollbar-thumb {
    background: #ca2026;
    border-radius: 20px;
}


/* INTRO */
.menu-companies-intro {
    margin-bottom: 45px;
}

.menu-companies-intro span {
    display: block;

    margin-bottom: 8px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: #777;
}

.menu-companies-intro h3 {
    margin: 0;

    font-size: clamp(28px, 3vw, 48px);
    line-height: 1;
    font-weight: 500;

    color: #111;
}


/* TWO-COLUMN DIRECTORY */
.menu-company-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 40px;
}


/* INDIVIDUAL COMPANY */
.menu-company {
    position: relative;

    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 18px;

    min-height: 115px;

    padding: 25px 0;

    border-top: 1px solid #d5d5d5;

    color: #111;
    text-decoration: none;

    transition:
        opacity 0.25s ease,
        padding-left 0.25s ease;
}


/* PLACEHOLDER LOGO */
.company-logo-placeholder {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #bdbdbd;
    border-radius: 50%;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;

    color: #333;

    flex-shrink: 0;
}


/* TEXT */
.company-info {
    min-width: 0;
}

.company-info h4 {
    margin: 0 0 6px;
	padding: 0;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;

    color: #111;
}

.company-info span {
    display: block;

    font-size: 12px;
    line-height: 1.4;

    color: #777;
}


/* ARROW */
.company-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    line-height: 1;

    color: #ca2026;

    transition: transform 0.25s ease;
}


/* HOVER */
.menu-company:hover {
    padding-left: 7px;
}

.menu-company:hover .company-arrow {
    transform: translate(3px, -3px);
}

.menu-company:hover .company-logo-placeholder {
    border-color: #ca2026;
}


/* LAST ROW BORDER */
.menu-company:nth-last-child(-n + 2) {
    border-bottom: 1px solid #d5d5d5;
}


/* TABLET / NARROW MENU */
@media (max-width: 1100px) {

    .menu-companies {
        padding: 50px 30px 70px;
    }

    .menu-company-grid {
        grid-template-columns: 1fr;
    }

    .menu-company:nth-last-child(2) {
        border-bottom: 0;
    }

}


/* MOBILE */
@media screen and (max-width: 1020px) {
    .horizontal-scroll-hint{
		display: none !important;
	}

	.header-logo {
        top: 30px;
    }

	.menu-companies {
	    height: calc(90vh - 200px);
	}

	.home .horizontal-slider .carousel-item-text h5 {
   		text-align: center;
    	display: flex;
    	align-items: center;
    	flex-direction: column;
	}

	horizontal-slider .no-horizontal-slider .swiper-slide {
        margin-bottom: 90px;
    }

	.horizontal-slider .no-horizontal-slider .carousel-item-info {
        margin-top: 30px;
	}

	.horizontal-slider .no-horizontal-slider .carousel-item-info h2 a {
        color: white;
    }


	.single-portfolio .horizontal-slider .carousel-item-text .carousel-content {
  		display: flex;
    	flex-flow: column;
    	column-wrap: nowrap;
    	align-items: center;
	}

    .single .nav-links {
        display: flex;
        justify-content: center;
        flex-flow: row-reverse;
    }

	.menu-right-text {
    	margin: 30px 0 0 0;
    	width: 85%;
	}
}


@media (max-width: 767px) {

    .menu-right-text {
        height: 50vh;
    }

    .menu-companies {
        padding: 35px 22px 60px;
    }

    .menu-companies-intro {
        margin-bottom: 25px;
    }

    .menu-company {
        grid-template-columns: 48px minmax(0, 1fr) 18px;
        gap: 14px;

        min-height: 90px;
        padding: 18px 0;
    }

    .company-logo-placeholder {
        width: 44px;
        height: 44px;

        font-size: 12px;
    }

    .company-info h4 {
        font-size: 12px;
    }

}