/*
Theme Name: wimef
Template: dt-the7
Theme URI: http://the7.io/
Author: Ohiowebtech
Author URI: http://ohiowebtech.com/
Description: The7 child theme for wimef website.
Version: 1.0.0
License URI: License.txt
*/


.wimef_link span:hover {
	color: #262e34;
    text-decoration-line: underline;
}

.wimef_wrap {
    word-wrap: break-word;
}

.active-item span.right.next-level-button {
    transform: rotate(90deg);
}

span.right.next-level-button {
    transform: rotate(90deg);
}

.wim_ribbon {
	font-size: 20px;
  	font-weight: bold;
  	color: #fff;
}

.wim_ribbon {
  	--f: .6em; /* control the folded part*/
  	--r: .9em; /* control the ribbon shape */
  
  	position: absolute;
  	top: 0px;
  	left: calc(-1*var(--f));
  	padding-inline: 2em;
  	line-height: 5em;
  	background: #987F69;
  	border-bottom: var(--f) solid #0005;
  	border-right: var(--r) solid #0000;
  	clip-path: polygon(0 0,0 calc(100% - var(--f)),var(--f) 100%, var(--f) calc(100% - var(--f)),500% calc(100% - var(--f)), calc(100% - var(--r)) calc(0% - var(--f)/1));
}

.wim_ribbon-head {
  	font-size: 20px;
  	font-weight: bold;
  	color: #fff;
}

.wim_ribbon-head {
  	--f: .6em; /* control the folded part*/
  	--r: .9em; /* control the ribbon shape */
  
  	position: absolute;
  	top: 0px;
  	top: calc(18*var(--f));
  	left: calc(-2*var(--f));
  	padding-inline: 2em;
  	line-height: 5em;
  	background: #465660   ;
  	border-bottom: var(--f) solid #0005;
  	border-right: var(--r) solid #0000;
  	clip-path: 
    	polygon(0 0,0 calc(100% - var(--f)),var(--f) 100%,
      	var(--f) calc(100% - var(--f)),500% calc(100% - var(--f)),
      	calc(100% - var(--r)) calc(0% - var(--f)/1));
}

/* footer */
.wim_footer-td .menu-text {
    position: relative;
    display: inline-block;
}

.wim_footer-td .menu-text::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #fff;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.wim_footer-td .menu-text:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


@media (max-width: 1024px) and (min-width: 767px) {
/*	.wim_leader-ribbon.e-flex.e-con.e-child {
    	width: 112%;
    	margin-left: 5px;
    	margin-top: -10px;
	} */
	.wim_leader-ribbon.e-flex.e-con.e-child {
        width: 118% !important;
        margin-left: -3px !important;
        margin-top: -10px !important;
    }
	
	.wim_member {
    	min-height: 350px !important;
	}
}

@media (max-width: 767px) {
	.elementor-26 .elementor-element.elementor-element-7c6ed81 {
        --width: 100%;
        top: 250px;
    }
}

@media (max-width: 1180px) and (min-width: 820px){
    .wim_leader-ribbon.e-flex.e-con.e-child {
        width: 116% !important;
        margin-left: -3px !important;
        margin-top: -14px !important;
    }
}

@media (max-width: 1366px) and (min-width: 1024px){
	.wim_member {
    	height: 410px;
	}
	.wim_leader-ribbon.e-flex.e-con.e-child {
        width: 113% !important;
        margin-left: -3px !important;
        margin-top: -8px !important;
    }
}

@media (max-width: 720px) and (min-width: 540px){
	.elementor-3720 .elementor-element.elementor-element-95b9c36 {
        --width: 60% !important;
    }
	.wim_member {
    	height: 445px;
	}
	.wim_leader-ribbon.e-flex.e-con.e-child {
        width: 112% !important;
        margin-left: -3px !important;
        margin-top: -8px !important;
    }
}

@media (max-width: 430px) {
	.wim_member {
		min-height: 450px !important;
	}
	
    .wim_leader-ribbon.e-flex.e-con.e-child {
		width: 110.5% !important;
        margin-left: -2px !important;
        margin-top: -5px !important;
    }
}

@media (max-width: 414px) {
	.wim_member {
		min-height: 435px !important;
	}
	
	.wim_leader-ribbon.e-flex.e-con.e-child {
        width: 112% !important;
        margin-left: -3px !important;
        margin-top: -16px !important;
    }
}


@media (max-width: 390px) {
	.wim_member {
    	min-height: 408px !important;
	}
	
	.wim_leader-ribbon.e-flex.e-con.e-child {
        width: 114% !important;
        margin-left: 3px !important;
        margin-top: -6px !important;
    }
}

@media (max-width: 375px) {
    .wim_leader-ribbon.e-flex.e-con.e-child {
        width: 112% !important;
        margin-left: -1px !important;
        margin-top: -4px !important;
    }
}

@media (max-width: 344px) {
	.wim_member {
    	min-height: 400px !important;
	}
	
    .wim_leader-ribbon.e-flex.e-con.e-child {
        width: 115% !important;
        margin-left: -3px !important;
        margin-top: -4px !important;
    }
}
