/* ===== Start Desktops and laptops
--------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 992px) and (max-width: 1200px) {
	.echipa-page-list > li,
	.media-page-list > li {
	    width: calc(25% - 15px);
	    margin-right: 20px;
	}

	.echipa-page-list > li:nth-child(5n),
	.media-page-list > li:nth-child(5n) {
	    margin-right: 20px;
	}

	.echipa-page-list > li:nth-child(4n),
	.media-page-list > li:nth-child(4n) {
	    margin-right: 0px;
	}
}

@media only screen and (min-width: 0px) and (max-width: 991px) {
	.header-top {
		display: none;
		padding: 0px;
	}

	.header-logo {
		position: absolute;
		top: 0;
		left: 5px;
		width: 60px;
	}

	.mobile-menu {
		display: block;
		margin-top: 20px;
	}

	.desktop-menu {
		display: none;
	}

	.menu-toggle {
	    display: block;
	}

	.header-bottom .container, .header-top .container {
		padding-left: 75px;
	}

	.next-header {
        flex-wrap: wrap;
        width: 140px;
	}

	.next-header-text {
        width: 100%;
        margin-right: 0;
        border-right: 0;
        font-size: 12px;
        line-height: 14px;
        margin-bottom: 5px;
	}

	.next-header-logos img {
		height: 30px;
	}

	.navbar {
	    position: fixed;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	    background: #fff;
	    overflow: auto;
	    z-index: 99992;
	    background: rgba(0, 0, 0, .15);
	}

	.navbar .navbar-outer {
	    position: fixed;
	    width: 300px;
	    top: 0;
	    right: 0;
	    height: 100%;
	    background: #fff;
	    z-index: 2;
	    -webkit-transform: translateX(100%);
	    transform: translateX(100%);
	    overflow: auto;
	    -webkit-box-sizing: border-box;
	    box-sizing: border-box;
	    -webkit-transition: all .4s ease-in-out;
	    transition: all .4s ease-in-out;
	}

	.opened .navbar-outer {
		-webkit-transform: translateX(0%);
	    transform: translateX(0%);
	}

	.close-canvas-menu {
		display: block;
		position: absolute;
		right: 0;
		top: 0;
		width: 40px;
		height: 40px;
		background: url('../img/bgi/close-blue.svg') no-repeat center center;
	}

	.main-menu li {
		float: none;
		margin-right: 0px;
	}

	.main-menu li a {
		padding: 10px 0px;
		border-bottom: 1px solid #f0f0f0;
	}

	.main-menu li:first-child a {
		border-top: 1px solid #f0f0f0;
	}

	.navbar-outer {
		padding: 50px 20px 50px;
	}

	.navbar-outer .white-btn {
		background: #0072a0;
		color: #fff;
	}

	.footer-container {
	    position: relative;
	    display: flex;
	    justify-content: center;
	    flex-wrap: wrap;
	}

	.copyright-container {
		position: relative;
		left: 0;
		top: 0;
	    -webkit-transform: translate(0%, 0%);
    	transform: translate(0%, 0%);
    	order: 3;
    	width: 100%;
	}

	.liga-logo,
	.frf-logo {
		margin: 0px 20px;
	}

	.wrapper {
		padding-bottom: 160px;
	}

	.blog-post {
	    width: 100%;
	    margin-right: 0px;
	}
}


@media only screen and (min-width: 768px) and (max-width: 991px){
	.echipa-page-list > li,
	.media-page-list > li {
	    width: calc((100% / 3) - (40px / 3));
	    margin-right: 20px;
	}

	.echipa-page-list > li:nth-child(5n),
	.media-page-list > li:nth-child(5n) {
	    margin-right: 20px;
	}

	.echipa-page-list > li:nth-child(3n),
	.media-page-list > li:nth-child(3n) {
	    margin-right: 0px;
	}

	.page-template-page-sponzori .echipe-list li {
		padding: 0px 10px;
		width: 25%;
	}

	.echipe-list li {
		width: 50%;
	}
}

@media only screen and (min-width: 0px) and (max-width: 767px) {
	.home-title {
		font-size: 30px;
		line-height: 32px;
	}

	.home-next-section {
		padding: 20px 0px;
	}

	.home-next-content {
		padding: 20px;
		flex-wrap: wrap;
	}

	.home-next-date {
		font-size: 24px;
		line-height: 32px;
	    margin: 10px 0px;
	}

	.match-info {
		order: 1;
		margin-bottom: 20px;
	}

	.next-team1 {
		order: 2;
	}

	.next-team2 {
		order: 3;
	}

	.next-team {
		width: 50%;
	}

	.wrapper {
		padding-bottom: 0px;
	}

	footer {
		position: relative;
	}

	.liga-logo, .frf-logo {
        margin: 0px 20px 30px;
    }

    .echipa-page-list > li,
    .media-page-list > li {
	    width: calc(50% - 5px);
	    margin-right: 10px;
	}

	.echipa-page-list > li:nth-child(5n),
	.media-page-list > li:nth-child(5n) {
	    margin-right: 10px;
	}

	.echipa-page-list > li:nth-child(2n),
	.media-page-list > li:nth-child(2n) {
	    margin-right: 0px;
	}

	.player-popup-inner figure {
	    width: 100%;
	}

	.player-popup-inner figure img {
		display: block;
		width: 160px;
		margin: 20px auto;
	}

	.player-popup-inner .player-info {
		width: 100%;
		text-align: center;
	}

	.player-popup-content {
		max-width: 90%;
	}

	.blog-aside {
		width: 100%;
		margin-right: 0;
		margin-bottom: 30px;
	}

	.blog-content {
		width: 100%;
	}

	.default-text h1 {
		font-size: 28px;
    	line-height: 32px;
	}

	.default-text h2 {
	    font-size: 20px;
	    line-height: 24px;
	}

	.media-single {
		margin-bottom: 50px;
	}

	.gallery-grid,
	.gallery-sizer {
		width: 100%;
	}

	.page-template-page-sponzori .echipe-list li {
		padding: 0px 10px;
		width: 50%;
	}

	.echipe-list li {
	    width: 50%;
	    padding: 0px 5px;
	}

	.echipe-list li img {
	    height: auto;
	}
}