
.cases-container {
	padding-bottom: 40px;
}

.cases-container h1 {
	text-align: center;
    margin-bottom: 60px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

	.case-item {
		padding: 25px;
		border-radius: 10px;
		border: 1px solid #BBC9EF;
		display: flex;
		background-color: #fff;
		margin-bottom: 40px;
	}

	.visual-part {
		flex: 0 0 200px;
		margin-right: 30px;
	}

	.visual-part .img-holder {
		height: 225px;
		overflow: hidden;
		border-radius: 10px;
		margin-bottom: 5px;
	}

	.visual-part .img-holder img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.visual-part .teacher-name {
		font-size: 18px;
		font-weight: 600;
		color: #A72223;
		margin: 0 0 5px;
	}

	.visual-part .teacher-address {
		font-size: 14px;
		color: #686666;
	}

	.case-item .text-part {
		flex-grow: 1;
	}

	.case-item .text-part > .h3 {
		color: #00248B;
		font-weight: 700;
		font-size: 24px;
		line-height: 1.5;
		margin: 0 0 20px;
	}

	.case-item .text-part > p {
		font-size: 18px;
		margin: 0 0 10px;
	}

	.case-item .work-card {
		background: rgba(253, 201, 201, 0.2);
		padding: 20px;
		border-radius: 10px;
	}

	.case-item .work-card .h3 {
		font-size: 20px;
		margin: 0 0 15px;
		font-weight: 600;
		line-height: 1.5;
	}

	.case-item .work-card a {
		text-decoration: none;
		border-bottom: 2px dashed #A72223;
		font-size: 18px;
		margin-right: 15px;
		font-weight: 500;
		color: #A72223;
		transition: 0.25s;
	}

	.case-item .work-card a:hover {
		border-color: transparent;
	}

	.case-item.item-right .visual-part {
		order: 2;
		margin-right: 0;
		margin-left: 30px;
	}

	.case-item.item-right .text-part {
		order: 1;
	}

	.cases-head {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 40px;
	}

	.cases-head .default-select {
		width: 300px;
	}

	.cases-search {
	  position: relative;
	  width: 420px;
	  padding-right: 76px; 
	}

	.cases-search .form-control {
	    display: block;
	    width: 100%;
	    height: 42px;
	    font-size: 14px;
	    padding: 10px;
	    box-shadow: none;
	    border-radius: 4px 0 0 4px;
	    border: 1px solid #BBC9EF;
	    border-right: 0; 
	}

	.cases-search .form-control:focus {
		border-color: #A72024;
	}

	.cases-search .search-toggle {
	    position: absolute;
	    right: 0;
	    top: 0;
	    background: #A72024 url(../images/white-search.svg) no-repeat center;
	    border: 0;
	    height: 42px;
	    width: 76px; 
	    transition: 0.25s;
	    border-radius: 0 4px 4px 0;
	}

	.cases-search .search-toggle:hover {
		background-color: #cc0c12;
	}

	.default-select {
	    position: relative; 
  	}

  	.default-select .default-select-button {
    	background-color: #fff;
    	width: 100%;
    	border: 0;
    	height: 42px;
    	border-radius: 5px;
	    border: 1px solid #BBC9EF;
	    text-align: left;
	    padding-left: 10px;
	    padding-right: 30px; 
  	}

  	.default-select .default-select-button:after {
  		content: '';
		    width: 0;
		    height: 0;
		    position: absolute;
		    top: calc(50% - 3px);
		    right: 9px;
		    border-top: 6px solid #333;
		    border-left: 5px solid transparent;
		    border-right: 5px solid transparent;
		    transform-origin: center;
		    transition: 0.3s;
  	}

  	.default-select .default-select-button.is-active:after {
  		transform: rotate(180deg);
  	}

  	.default-select .default-select-button span {
  		display: block;
  		max-width: 100%;
  		text-overflow: ellipsis;
  		white-space: nowrap;
  		overflow: hidden;
  	}

	.default-select .default-dropdown {
        list-style: none;
        width: 100%;
        display: none;
        position: absolute;
        top: calc(100% + 5px);
        right: 0;
        padding: 0;
        margin: 0;
        border-radius: 4px;
        z-index: 8;
        max-height: 400px;
        overflow: auto;
        z-index: 100;
        background-color: #fff;
        border: 1px solid #BBC9EF;
	}

    .default-select .default-dropdown li {
      	list-style-type: none;
      	font-size: 13px;
      	cursor: pointer;
      	position: relative;
      	z-index: 15;
      	padding: 0 !important;
      	margin: 0 !important;
      	text-align: left; 
  	}

    .default-select .default-dropdown li:first-child {
        border-radius: 4px 4px 0 0; 
    }

    .default-select .default-dropdown li a {
        color: #111;
        display: block;
        padding: 5px 12px;
        border: 0;
        font-size: 14px; 
    }

    .default-select .default-dropdown li a:hover {
        text-decoration: none;
        background-color: #A72024;
        color: #fff; 
    }


	@media(max-width: 1536px) {
		.cases-container h1 {
			font-size: 28px;
		}

		.case-item {
			margin-bottom: 30px;
		}
	}

	@media(max-width: 1199px) {
		.cases-container h1 {
			font-size: 24px;
		}

		.case-item .text-part > .h3 {
			font-size: 20px;
		}

		.case-item .text-part > p {
			font-size: 16px;
		}

		.case-item .work-card .h3 {
			font-size: 17px;
		}

		.case-item .work-card a {
			font-size: 16px;
			border-width: 1px;
		}

		.visual-part .img-holder {
			height: 180px;
		}

		.visual-part  {
			flex: 0 0 160px;
		}

		.visual-part .teacher-name {
			font-size: 16px;
		}

		.visual-part .teacher-address {
			font-size: 13px;
		}
	}

	@media(max-width: 991px) {
		.cases-container h1 {
			font-size: 22px;
		}

		.case-item {
			margin-bottom: 20px;
		}

		.case-item .text-part > .h3 {
			font-size: 18px;
		}

		.case-item .text-part > p {
			font-size: 14px;
		}

		.case-item .work-card .h3 {
			font-size: 15px;
		}

		.case-item .work-card a {
			font-size: 14px;
		}

		.visual-part .img-holder {
			height: 160px;
		}

		.visual-part  {
			flex: 0 0 120px;
		}

		.visual-part .teacher-name {
			font-size: 14px;
		}

		.visual-part .teacher-address {
			font-size: 12px;
		}

		.case-item {
			padding: 15px;
		}

		.cases-search {
			width: 320px;
		}
	}

	@media(max-width: 767px) {
		.cases-container h1 {
			font-size: 18px;
		}

		.case-item .text-part > .h3 {
			margin-bottom: 10px;
			font-size: 15px;
		}

		.cases-head {
			flex-wrap: wrap;
		}

		.cases-head .default-select {
			width: 100%;
			margin-bottom: 20px;
		}

		.cases-search {
			width: 100%;
		}
	}

	@media(max-width: 575px) {
		.cases-container h1 {
			margin-bottom: 25px;
		}

		.cases-container {
			margin-left: -5px;
			margin-right: -5px;
		}

		.cases-container h1 {
			font-weight: 600;
		}

		.cases-container h1 br {
			display: none;
		}

		.case-item {
			padding: 8px;
			border-radius: 5px;
		}

		.visual-part {
			flex: 0 0 90px;
			margin-right: 15px;
		}

		.visual-part .img-holder {
			height: 100px;
			border-radius: 5px;
		}

		.case-item .text-part > .h3 {
			font-size: 14px;
			line-height: 1.4;
		}

		.case-item .text-part > p {
			font-size: 13px;
		}

		.case-item .work-card .h3{
			font-size: 13px;
			margin-bottom: 5px;
		}

		.case-item .work-card a {
			font-size: 13px;
		}

		.case-item .work-card {
			font-size: 13px;
			padding: 10px;
		}

		.visual-part .teacher-name {
			font-size: 13px;
		}

		.visual-part .teacher-address {
			font-size: 11px;
		}
	}
