/* Medium Devices, Desktops */

@media only screen and (max-width : 1360px) {
	#certificate-hand {
		top: -120px;
		right: -100px;
		transform: rotate(22deg);
	}

	#certificate-logo {
		top: 60px;
		right: 280px;
	}
}

@media only screen and (max-width : 1150px) {
	#certificate-hand {
		top: -70px;
		right: -130px;
		transform: rotate(40deg);
		width: 350px;
		height: 276px;
	}

	#certificate-logo {
		top: 60px;
		right: 140px;
	}
}

@media only screen and (max-width : 1150px) {
	.main-programm__item {
		width: 320px;
	}
}

@media only screen and (max-width : 1025px) {

/*--HEADER--*/
	.hdr {
		border:0;
		padding:0;
	}
	.hdr-logo {
		display: none;
	}
	.hdr-main {
		display: none;
		padding:0;
	}	
	.hdr-inner {
		padding: 0;
	}
    .hdr-frame {
		margin-left: 0;
    } 

	.b-main {
		margin: 0;
	}
	.b-main-inner {
		margin: 0;
	}	
	.b-page-menu  {
		padding-top: 0;
	}

    .navbar {
		background: #fff;
		overflow: hidden;
        padding-top: 7px!important;
		padding-bottom: 6px!important;
		margin-bottom: 20px;

    }    
	.account-item  {
		display: inline-block;
		vertical-align: top;
	}	
	.account-phone {
		margin-left: 25px;
	}
	.account-item.logo {
		margin-top: 3px;
	}
	
	.account-nav  {
		float: right;
		margin-left: 25px;
		margin-top: 10px;
		width: 24px;
	}

	
/*--MENU CUSTOM--*/	
	.mainmenu {
		display: none;
	}
	.hdr-mainmenu{
		display: block;
	}	
	.hdr-submenu .menu-link	{
		display: block;
	}
	.hdr-submenu .menu-dropdown,.hdr-mainmenu .menu-dropdown {
		position: relative;
		display: none;
		padding: 0;		
	}		
	
/*--FOOTER--*/	
	.ftr {
		position: relative;
		height: auto;
	}
	.header-top__contacts-wrapper {
		display: none;
	}
	.header-top {
		display: none;
	}
	.slides__text-block {
		max-width: 558px;
		position: absolute;
		z-index: 900;
		color: #fff;
		left: 30px;
		right: 30px;
		top: 25px;
	}
	.slides__text-block p {
		font-size: 12px;
		line-height: 15px;
	}
	.slides__text-block h3 {
		font-size: 18px;
		line-height: 20px;
	}
	.slidesjs-pagination li a {
		width: 12px;
	}
	#slides {
		height: auto;
	}
	.slidesjs-pagination {
		bottom: 10px;
		left: 30px;
		padding: 0;
		width: 44%;
		overflow: hidden;
	}
	a.slidesjs-next.slidesjs-navigation.single {
		right: 30px;
	}
	a.slidesjs-next.slidesjs-navigation.single {
		bottom: 5px;
	}
	.advantages-icons__title {
		font-size: 12px;
		line-height: 16px;
	}
	.advantages-icons__item {
		width: 190px;
		margin-bottom: 25px;
	}
	img.advantages-icons__icon {
		width: 40px;
	}
	.advantages-icons {
		justify-content: center;
	}
	ul.slidesjs-pagination {
		display: none;
	}
	.border-wrapper {
		border: none;
		padding: 0;
		width: 100%;
		height: auto;
		padding-top: 305px;
	}
	.manager-block {
		padding: 0;
		background: none;
	}
	.manager-wrapper {
		margin: 0;
		height: auto;
		background-position: center 0;
	}
	footer.footer {
		padding: 0 10px;
	}
	ul.footer-menu {
		flex-direction: column;
		align-items: center;
	}
	.footer-layer1 {
		padding: 30px 0;
	}
	.footer-layer3 {
		justify-content: center;
	}
	.footer__social {
		width: 100%;
		margin-bottom: 13px;
		justify-content: center;
	}
	.footer-phone {
		width: 100%;
		margin-bottom: 13px;
		justify-content: center;
		text-align: center;
	}
	ul.footer-menu {
		margin-bottom: 20px;
	}
	.border-wrapper h2 {
		text-align: center;
	}
	.border-wrapper span {
		text-align: center;
	}
	.before-menu {
		display: none;
	}
	.kurs-filtr ul li {
		width: 100%;
	}
	.form-block__left {
		display: none;
	}
	.form-block__right {
		width: 100%;
	}
}

@media only screen and (max-width : 1010px) {
	#certificate-logo {
		display: none;
	}

	.course-date {
		width: 350px;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.manager-wrapper {
		padding-left: 20px;
		padding-right: 20px;
	}
	.advantages-icons__item {
		width: 50%;
	}
	.b-main-inner {
		margin: 0;
	}
	.address-text {
		font-size: 16px;
	}
	.address-block-left, .address-block-right {
		margin-left: 0;
		margin-right: 0;
		padding: 20px;
		height: auto;
	}
	.address-block-wrapper1 {
		margin-bottom: 10px;
	}
	.address-block-left, .address-block-right {
		width: 100%;
	}
	.slides__text-block h3 {
		font-size: 14px;
		line-height: 15px;
	}
	.slides__text-block p {
		font-size: 10px;
		line-height: 11px;
	}
	.b-offcanvas.is--active {
		display: block !important;
	}

	.navigation {
		border:0;
	}
	.contact-panel {
		position: static;
		display: block;
		height: auto;
		padding: 10px;
	}
	.pages-count {
		display: none;
	}
	.pages,.pages-count {
		font-size: 1.2em;
	}	

	.pages li {
		margin-right: 12px;
	}	
	.card {
		margin-bottom: 16px;
	}
	
/*--COURSES--*/		

	.course-items-top
	.news-item {
		border-bottom: 1px solid #dadada;
		padding-bottom: 15px;
		margin-bottom: 15px;
	}
	.course-items-top
	.news-item:last-child {
		margin-bottom: 0;
		border: 0;
		padding-bottom: 15px;
	}
	
	.course-sidebar {
		text-align: left;
		float: none;
		width: auto;
		margin-top: 20px;
	}
	.course-content {
		float: none;
		width: auto;	
	}
	.course-sidebar .sqs-block {
		padding: 0;
	}
	
	.b-contact {
		width: auto;
		position: static;
		top:0;
		padding-top: 1px;
	}
}

@media only screen and (max-width : 700px) {
	.certificate-block-label {
		flex-direction: column;
	}

	.buy-certificate {
		flex-direction: column;
	}

	.certificate-block {
		height: 300px;
	}

	.certificate-block input[type="text"] {
		padding: 0;
	}

	#certificate-hand {
		top: -30px;
	}
}

@media only screen and (max-width : 665px) {
	.course-date {
		top: -85px;
	}

	.course-programm {
		margin: 100px 110px 50px 0;
	}
}

@media only screen and (max-width : 600px) {
	.teacher-block {
		justify-content: center;
		flex-wrap: wrap;
	}
}

@media only screen and (max-width : 505px) {
	.dates-block {
		padding: 0 35px 0 10px;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {	
	.teacher-block > h2, course-learn h2, course-programm h2 {
		font-size: 30px;
	}
	.hdr__logo img {
		margin-left:-60px;
	}
	.hdr__logo {
		width: 95px;
		margin-left: -47px;
	}	
	
	
/*--COURSES--*/	
.course-items.list__item, 
.news-main .list__item  {
		margin-bottom: 0px;
	}	

	
	.news-items  .news-item {
		min-height: auto;
	}	
	.item-award {
		margin-bottom: 25px;
	}
	.prices {
		margin-bottom: 35px;
	}
	
	
	.page-title h1:after {
		margin: 8px auto;
	}
    h1,.h1,.page-title h1 {
        font-size: 24px;  
    }
    h2,.h2 {
        font-size: 20px;  
    } 	
	.h3, h3 {
		font-size: 16px;
	}

	.c-btn__back {
		width: 100%;
	}	
	.master-item .item-image  {
		float: none;
		margin-bottom: 15px;
	}
	.master-item .item-info {
		margin-left: 0;
	}

	.gallery-image  {
		width: 50%;
	}

	.course-learn {
		padding: 0 0 0 20px;
	}

	.course-teacher {
		padding: 0 0 0 20px;
	}

	.course-programm {
		padding: 25px 0 25px 0;
	}

	.form-block__right {
		height: 500px;
	}

	.course-banner h2 {
		padding: 150px 0 150px 50px;
	}

	.teacher-item > img {
		margin: 0;
	}

	#certificate-hand {
		right: -160px;
	}
}

@media only screen and (max-width : 425px) {
	.course-date {
		width: 380px;
	}

	.dates-block {
		padding: 0 75px 0 10px;
	}
}

@media only screen and (max-width : 420px) {
	#certificate-hand {
		display: none;
	}
}

@media only screen and (max-width : 385px) {
	.course-date > p {
		justify-content: flex-start;
		padding: 15px 0 0 65px;
	}

	.dates-block {
		padding: 0 105px 0 15px;
	}
}