/*
Theme Name: SomnoMed 2021
Theme URI: https://somnomed.com
Description: SomnoMed Theme
Requires at least: 5.4
Tested up to: 5.4
Requires PHP: 7.3
Author: G Squared
Author URI: https://www.gsquared.com.au
Version: 1.1
Text Domain: somnomed
*/

/* Investor pricing */
.investor_pricing {
	display: flex;
	justify-content: space-between;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 7px 5px #0000001A;
    border-radius: 31px;
    opacity: 1;
    padding: 30px 50px;
    gap: 30px;
}


.investor_pricing .seperator {
	border: 1px solid #AFAFAF;
}

.investor_pricing h4, .investor_pricing h3, .investor_pricing h2,
.investor_pricing span {
	color: #3C3C3C !important;
}

.investor_pricing .price-details-wrapper {
    display: flex;
    gap: 5px;
    width: 65%;
    justify-content: space-between;
}

.investor_pricing .pricing-title {
	display: flex;
    width: auto;
	gap: 40px;
	
	.sub-text {
		font-size: 12px;
	}
	
	.label {
		font-size: 25px;
	}
	
	.price {
		font-size: 55px;
	}
}

.investor_pricing .pricing-title .sub-text.percentage.positive {
	color: #00C02F !important;
}
.investor_pricing .pricing-title .sub-text.percentage.negative {
	color: #FF0049 !important;
}

.investor_pricing .pricing-details .label {
	font-size: 18px;
}

.investor_pricing .pricing-details .price {
	font-size: 40px;
}

.investor_pricing .price-section {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
}

.investor_pricing .price-section h3 {
    margin-bottom: 0;
}

.investor_pricing .pricing-details {
	align-items: center;
}

.pricing-details {
	border-left: 1px #AFAFAF;
}

/* ASX Announcement*/
.asx-buttons-wrapper {
	background: #FFFFFF 0% 0% no-repeat padding-box;
	border-radius: 45px;
	opacity: 1;
	padding: 30px;
	display: flex;
	justify-content: space-between;
	gap: 25px;
	margin-bottom: 80px;
}

.asx-buttons-wrapper .asx-buttons.active {
	border: 2px solid #80C8DD;
}

.asx-buttons-wrapper .asx-buttons.active h4 {
	color: #80C8DD !important;
}

.asx-buttons-wrapper .asx-buttons {
	border: 1px solid #3C3C3C;
	border-radius: 20px;
	opacity: 1;
	width: 100%;
	padding: 20px 0;
	text-align: center;
}

.asx-buttons-wrapper .asx-buttons h4 {
	font-size: 20px;
	color: #3C3C3C;
}

.asx-wrapper .year-wrapper {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 30px;
	padding-left: 30px;
	gap: 25px;
	
	.year a {
		font-size: 18px;
	}
	.year.active a{
		color: #80C8DD !important;
	}

    .year.active {
        border-bottom: 1px solid #80C8DD;
    }
}

.asx-wrapper .content-wrapper .content-div {
    display: none;
}

.asx-wrapper .content-wrapper .content-div.active {
    display: block;
}

.asx-wrapper .year-content-wrapper .year-content:not(.no-year){
    display: none;
}

.asx-wrapper .year-content-wrapper .year-content.active {
    display: block;
}

.asx-wrapper .year-content-wrapper .year-content .elementor-accordion-item {
	border: none;
	margin-bottom: 20px;
	.elementor-tab-title {
		background: #FFFFFF 0% 0% no-repeat padding-box;
		border-radius: 40px;
		opacity: 1;
	}
	
	.elementor-tab-content {
		border: none;
	}
	
	.elementor-tab-title.elementor-active .elementor-accordion-title {
		color: #80C8DD !important;
	}
}

.year-wrapper .year.all-link {
    margin-left: auto;
    border: 1px solid #AFAFAF;
    border-radius: 23px;
    opacity: 1;
    padding: 3px 40px;

    &.active {
        border: 1px solid #80C8DD;

    }

}

.year-content .report {
    display: flex;
    padding: 15px 0;
    justify-content: space-between;
    align-items: center;

    &:not(:last-child) {
        border-bottom: 1px solid #AFAFAF;
    }
	
    .details {
        display: flex;
        gap: 10px;
    }

	.details span {
		font-size: 14px;
	}

	.elementor-icon i {
		font-size: 25px;
		color: #AFAFAF;
	}

	.title.file {
		font-weight: 600;
	}
}

.year-content .elementor-tab-title {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
}

.asx-wrapper h4, 
.asx-wrapper h3, 
.asx-wrapper h2,
.asx-wrapper span,
.asx-wrapper a {
	color: #3C3C3C !important;
}

.asx-wrapper .annual-reports {
	background: #FFFFFF 0% 0% no-repeat padding-box;
    border-radius: 40px;
    opacity: 1;
    width: 100%;    
	margin: 0;
    padding: 15px 20px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    outline: none;
	margin-bottom: 10px;

	.elementor-icon {
		width: 1.5em;
		font-size: inherit !important;
	}
}

.asx-wrapper .annual-reports.calendar small {
	color: #3C3C3C;
    font-size: 14px;
}

.asx-wrapper .annual-reports.calendar .elementor-icon {
	display: flex;
	align-items: center;
    padding: 15px 30px;

	> a{
		display: flex;
		align-items: center;
		gap: 10px;
	}
}

.asx-buttons-wrapper .asx-buttons {
	cursor: pointer;
}

.investor_pricing .price-section .price > span {
	font-size: 40px;
}

.investor_pricing .price-section.pricing-details .price > span {
	font-size: 35px;
}

/** MOBILE VIEW **/
@media (max-width: 1023px) {

    .investor_pricing {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .investor_pricing .price-details-wrapper {
        width: 100%;
    }
}

/** MOBILE VIEW **/
@media (max-width: 656px) {

    .investor_pricing .price-details-wrapper {
        flex-direction: column;
        .seperator {
            margin-bottom: 10px;
        }
    }

    .asx-buttons-wrapper {
        flex-direction: column;

        .asx-buttons {
            padding: 10px 0;
        }

        .asx-buttons h4 {
            font-size: 15px;
            margin-bottom: 0;
        }
    }

    .year-wrapper .year.all-link {
        padding: 3px 20px;
    }
}

/** MOBILE VIEW **/
@media (max-width: 390px) {

    .investor_pricing .pricing-title {
        flex-direction: column;
        align-items: center;
    }
    .investor_pricing .price-section {
        align-items: center;
    }
}

@media (max-width: 1199px) {
	.about-image-wrapper.elementor-section .elementor-container {
		flex-wrap: nowrap !important;
	}
}

@media (max-width: 748px) {
	.about-image-wrapper.elementor-section .elementor-container {
		display: flex;
		flex-direction: column;
	}
}


@media (min-width: 656px) {
	.reports-tab.title {
		font-size: 20px;
		font-weight: 600;
	}

	.year-content .report {
		.title {
			font-size: 20px;
			font-weight: 600;
		}
	}
}

/**
* Global Exec page CSS
*/

.global-exec-flipbox .elementor-flip-box__front {
	.elementor-flip-box__layer__overlay {
		height: 100%;
		padding: 0px;
		width: 100%;

		.elementor-flip-box__layer__inner {
			height: 100%;
			width: 100%;
			
			.elementor-flip-box__layer__title, .elementor-flip-box__layer__description {
				position: absolute;
				top: 50%;
				padding-left: 35px
			}
			
			.elementor-flip-box__layer__description {
				margin-top: 25px;
			}
		}    

		.elementor-flip-box__image {
			height: 100%;
			
			> img {
				height: 100%;
				width: 100%;
				object-fit: cover;
			}
		}	
	}
}