@media only screen and (max-width: 1641px) {
    .foo-cont {
        justify-content: center;
    }
    .col {
        margin: 10px 10px 10px 10px;
        padding: 0;
        font-size: 1em;
        width: 330px;
        }
}


@media only screen and (max-width : 1441px) {
    .container {
        max-width: 70%;
    }
	.phone {
		width: 100%;
	}
	.phone ul {
		font-size: 1.2em;
		font-weight: 400;
		min-height: 2.5em;
	}
    .foo-cont {
        display: flex;
        flex-direction: row;
        width: 80%
    }
    .col {
        max-width: 350px;
        width: 30%;
    }
}


@media only screen and (max-width : 1201px) {
    .container {
        max-width: 80%;
    }
    .col {
        margin: 10px 10px 10px 10px;
        padding: 0;
        font-size: 1em;
    }
    .foo-cont {
        width: 90%
    }
}

@media only screen and (max-width : 1025px) {
    .container {
        max-width: 90%;
    }
}

@media only screen and (max-width : 993px) {
	.phone ul {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
		font-weight: 400;
		min-height: 2.4em;
	}
	.img-logo {
		display: flex;
		max-width: 90%;
		max-height: 90%;
		margin: 0 auto;
	}
	.text {
		display: flex;
		padding-left: 2em;
		line-height: 1.3;
		font-size: 1em;
	}
    .menu a {
        font-size: 1.2em;
        padding-left: 1.5em;
    }
    
    .box-img .content h2,
	.box-img .content p {
		text-align: center;
		font-weight: 400;
		font-size: 16px;
	}
    .form {
        flex: 1 0 20em;
    }
}

@media only screen and (max-width : 801px) {
    .text {
        display:  none;
    }
	.logo ul {
		display: flex;
		justify-content: center;
		align-content: center;
	}
	.img-logo {
		height: 80%;
		width: 80%;
	}
	.phone ul {
		padding-top: 10px;
        justify-content: center;
        align-content: space-between;
	}
    .header phone li:nth-child(3){
        padding: 0;
    }
    .str_wrap {
        display: none;
    }
    .box-str img {
		width: 150px;
		height: auto;
	}

    #next, #prev {
        display: none;
    }
    
    .foo-cont {
        flex-flow: column wrap;
        align-content: center;
        align-items: center;
        justify-content: space-between;
    }
    .col {
        text-align: center;
        margin: 10px 10px 10px 10px;
        padding-bottom: 15px;
        border-bottom: 1px solid #133B4B;
        font-size: 1em;
        width: 70%;
    }
    .bottom {
        width: 70%;
    }
}

/* -- News Block --*/
@media (min-width: 600px){
    .card{
    flex-direction: row;
    }

    .profile-main{
        text-align: left;
        margin-left: 2em;
    }
    
    .profile-name::after{
        margin-left: 0;
    }
}
/*-- end news block --*/

@media only screen and (max-width : 481px) {
    .text {
        display:  none;
    }
    .header ul {
        padding: 0;
        margin: 0;
    }
    .header phone li:nth-child(1){
        padding-right: 0;
    }
    .header phone li:nth-child(2){
        padding-left: 20px;
        padding-right: 0;
    }
    .header phone li:nth-child(3){
        padding-right: 20px;
    }
    .phone-icon
    .fa-map-marker-alt,
    .fa-phone-alt,
    .fa-mobile-alt {
        display: none;
    }
    .phone ul {
        font-size: 1.1em;
        line-height: 1.2em;
        padding-top: 10px;
    }
    .adress {
        display: none;
    }
    .str_wrap {
        display: none;
    }
    #slider {
        display: none;
    }
    .info {
        max-width: 95%;
    
    }
}

@media only screen and (max-width : 376px) {
    .header li:nth-child(1){
        padding-right: 0;
    }
    .header li:nth-child(3){
        padding-right: 0;
        padding-left: 10px;
    }
    .box-img .content h2,
    .box-img .content p {
        font-size: .8rem;
    }
	.logo ul {
		display: flex;
		justify-content: center;
		align-content: center;
	}
	.img-logo {
		height: 70%;
		width: 70%;
	}
	.phone ul {
		display: flex;
		justify-content: center;
		align-content: center;
        padding: 10px 0 0 0;
	}
    .phone {
        padding: 0;
    }
    .col {
        font-size: .9em;
        margin: 0;
        padding-top: 20px;
        width: 90%;
    }
    
    .bottom {
        width: 90%;
    }
    
}




/* -- Menu -- */
@media only screen and (max-width : 1221px) {
	.menu a {
		font-size: 1.1em;
		font-weight: 400;
	}
	.sub-menu a {
		margin-left: 35px;
		display:block;
		padding-left: 18px;
		padding-top: 8px;
		padding-bottom: 8px;
		width: 22rem;
		font-size: 1.1em;
	}
}

@media only screen and (max-width : 1021px) {
	.menu a {
		font-size: 1em;
		font-weight: 400;
		margin-right: 40px;
		padding: 0 5px;
	}
	.sub-menu a {
		margin-left: 35px;
		display:block;
		padding-left: 18px;
		padding-top: 8px;
		padding-bottom: 8px;
		width: 22rem;
		font-size: 1em;
	}
}


@media only screen and (max-width : 1020px) {
	.menu{
		display: flex;
		justify-content: center;
		position: relative;
		z-index: 999;
	}
	.menu a {
        font-size: 1em;
		font-weight: 400;
	}
}

@media screen and (max-width: 931px) {
    .show-menu-btn, .hide-menu-btn {
        display: block;
    }
    .menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: fixed;
        width: 100%;
        height: 100vh;
        background: white;
        right: -150%;
        top:0;
        text-align: center;
        line-height: normal;
        transition: 0.7s;
        z-index: 999;
        margin: 0 auto;
    }
    .menu li a {
        padding: 40px 0;
	}
    .menu a {
        display: block;
        margin: 0 auto;
        font-size: 1.3em;
        font-weight: 400;
    }
    .hide-menu-btn {
        position: absolute;
        top: 40px;
        right: 40px;
    }
    #chk:checked ~ .menu {
        right: 0;
  } 
}
