/*  Theme HTML Template */

@media only screen and (max-width: 5000px){
	.welcome-section img {
	    height: 544px;
	}
}
@media only screen and (max-width: 1600px){

}

@media only screen and (max-width: 1400px){	

}

@media only screen and (max-width: 1300px){

}

@media only screen and (max-width: 1140px){

}
@media only screen and (max-width: 1200px){
	.main-header .main-header-info{
		margin-left: -180px;
	}
	.main-header .header-top .header-info{
		margin-right: 40px;
	}
	.testimonial-section .icon-quort:after{
		display: none;
	}
	.main-footer .widgets-section .links-widget{
		margin: 0px;
	}
	.main-footer .widgets-section .contact-links{
		margin: 0px;
	}
	.couses-section .right-side{
		margin-left: 0px;
	}
}

@media only screen and (min-width: 768px){
	.main-menu .navigation > li > ul,
	.main-menu .navigation > li > ul > li > ul{
		display:block !important;
		visibility:hidden;
		opacity:0;
	}
}

@media only screen and (max-width: 1023px){
	.about-section .image-box img{
		margin-left: 0px;
		width: 100%;
	}
}

@media only screen and (max-width: 991px){
	.main-header .header-top .main-logo{
		text-align: center;
	}
	.main-header .main-header-info{
		margin-left: 0px;
		margin-bottom: 40px;
	}
	.main-menu .navigation > li > a{
		margin-right: 35px;
	}
	.sticky-header .logo{
		float: none;
		text-align: center;
		display: block;
	}
	.sticky-header .right-col{
		float: none;
		display: block;
		text-align: center;
	}
	.welcome-section .image-content .item{
		margin-bottom: 30px;
	}
	.volunteers-section .image-holder{
		margin-bottom: 135px;
	}
	.volunteers-section{
		padding-bottom: 0px;
	}
	.bx-wrapper{
		padding-bottom: 40px;
	}
	.sponsors-subscribe .right-side{
		margin-bottom: 40px;
		text-align: center;
	}
	.sponsors-subscribe .icon-links:after{
		border-right: none;
	}
	.couses-section .left-side{
		margin-bottom: 40px;
	}
	.events-section.style-two .events-right{
		margin-left: 0px;
	}
	.couses-section.style-four .left-side .image-box img{
		width: 100%;
		margin-bottom: 20px;
	}
}
@media only screen and (max-width: 767px){
	
	.main-header .header-top .main-logo{
		margin: 0px;
	}
	.sticky-header .logo{
		float: right;
	}
	.main-header .header-top .header-info{
		margin-bottom: 20px;
	}
	.main-header .main-header-info{
		margin-left: 0px;
	}
	.header-lower .header-area{
		position: relative;
		margin-bottom: 20px;
	}
	.main-header .main-menu{
		padding-top:0px;
		width:100%;
		margin:0px;
		right: 10px;
		left: 0px;
	}
	.gallery-section .filters li,
	.gallery-section .filters li:hover,
	.gallery-section .filters li.active{
		margin-bottom: 20px;
	}
	.main-menu .navbar-collapse {
		position: fixed;
		top: 60px;
		right: -300px;
		width: 300px;
		height: 80vh;
		background: #fff;
		z-index: 9999;
		transition: all 0.4s ease;
		overflow-x: hidden;
	}
	
	.main-menu .navbar-collapse.in {
		right: 0;
	}
	
	.main-menu .navigation {
		position: relative;
		width: 100%;
		height: 100%;
		padding: 0;
		margin: 0;
		list-style: none;
	}
	
	.main-menu .navigation > li {
		position: relative;
		border-bottom: 1px solid rgba(0,0,0,0.1);
	}
	
	.main-menu .navigation > li > a {
		display: block;
		padding: 15px 20px;
		color: #333;
		font-size: 14px;
	}
	
	.main-menu .navigation > li > ul {
		position: fixed !important;
		top: 0 !important;
		left: -300px !important;
		right: auto !important;
		width: 300px !important;
		height: 100vh !important;
		background: #fff;
		padding: 0;
		margin: 0;
		transition: all 0.3s ease;
		z-index: 1001;
		display: block !important;
		visibility: visible;
		opacity: 1;
		transform: none !important;
	}
	
	.main-menu .navigation > li > ul.active {
		left: 0 !important;
		right: auto !important;
	}
	
	.main-menu .navigation > li > ul > li {
		border-bottom: 1px solid rgba(0,0,0,0.1);
	}
	
	.main-menu .navigation > li > ul > li > a {
		display: block;
		padding: 15px 20px;
		color: #333;
		font-size: 14px;
	}
	
	.back-btn {
		display: flex;
		align-items: center;
		padding: 15px 20px;
		background: #f5f5f5;
		border-bottom: 1px solid rgba(0,0,0,0.1);
		cursor: pointer;
	}
	
	.back-btn i {
		margin-right: 10px;
	}
	
	.about-section .image-box img {
	    position: relative;
	    width: 100%;
	    margin-left: 0px;
	    margin-top: 40px;
	}
	.gellary-fullwidth .inner-box .img_holder img{
		margin-bottom: 20px;
	}

    /* Ana Menü Container */
    .nav-outer {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        transition: all 0.3s ease;
    }

    .nav-outer.open {
        right: 0;
    }

    /* Menü Toggle Butonu */
    .navbar-toggle {
        display: block !important;
        position: fixed;
        right: 15px;
        top: 15px;
        z-index: 10000;
        padding: 10px;
        background: #2c469d;
        border-radius: 4px;
    }

    .navbar-toggle .icon-bar {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        margin: 4px 0;
    }

    /* Ana Menü ve Alt Menü Ortak Container */
    .menu-container {
        position: relative;
        height: 100%;
        overflow: hidden;
    }

    /* Ana Menü */
    .main-menu .navigation {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        margin: 0;
        padding: 0;
        transition: transform 0.3s ease;
    }

    /* Alt Menü */
    .main-menu .navigation > li > ul {
        position: absolute !important;
        top: 0 !important;
        left: 100% !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0;
        padding: 0;
        background: #fff;
        transition: transform 0.3s ease;
    }

    /* Alt Menü Aktif Durumu */
    .main-menu .navigation > li > ul.active {
        transform: translateX(-100%);
    }

    /* Menü Maddeleri */
    .main-menu .navigation > li,
    .main-menu .navigation > li > ul > li {
        display: block;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .main-menu .navigation > li > a,
    .main-menu .navigation > li > ul > li > a {
        padding: 12px 20px;
        display: block;
        color: #222;
    }

    /* Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
        display: none;
    }

    .menu-overlay.active {
        display: block;
    }

    /* Hover efektini kaldır */
    .main-menu .navigation > li:hover > ul,
    .main-menu .navigation > li > ul > li:hover > ul {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Sadece active class'ı ile göster */
    .main-menu .navigation > li > ul.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        left: 0 !important;
    }
}

@media only screen and (max-width: 625px){
	.main-header .header-top .header-info{
		margin-right: 10px;
	}
}
@media only screen and (max-width: 599px){
	.main-header .header-top .header-info{
		margin-right: 30px;
	}
	.header-lower .header-area{
		padding: 0px 20px;
	}
	.main-header .header-top .main-logo{
		float: left;
	}
	.search-button{
	    position: absolute;
		display: inline-block;
		top: -100px;
		right: 0px;
	}
	.testimonial-section{
		padding: 50px 0px 80px;
	}
}

@media only screen and (max-width: 499px) {
	.tp-caption.tp-resizeme{
		padding-left: 40px;
		padding-right: 40px;
	}
}
