.ctmg-container {
display: block;
position: relative;
width: 100%;
float: left;
margin: 50px auto 100px;
padding: 0;
}
.ctmg-wrapper {
display: block;
position: relative;
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 0 15px;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
h1.ctmg-entry-title {
padding: 0 0 25px 0;
margin-bottom: 25px;
}
.ctmg-cases {
background: #f6f9fd;
display: block;
position: relative;
border: 1px solid #34302D;
height: auto;
}
.ctmg-gallery-list {
display: block;
position: relative;
}
.ctmg-gallery-list h3 {
background-color: rgb(57 144 172 / 52%);
color: #fff;
position: absolute;
top: -5px;
left: 0;
width: 100%;
padding: 10px 0;
z-index: 1;
}
.ctmg-gallery-list li {
list-style: none;
float: left;
width: 23%;
margin: 0 1% 15px;
text-align: center;
position: relative;
}
.ctmg-gallery-list select {
height: 40px;
width: 90%;
z-index: 1;
border: 0;
background: #fff;
position: absolute;
left: 5%;
bottom: 10px;
border: 1px solid #aaa;
}
.ctmg-case {
float: left;
padding: 10px;
position: relative;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
width: 50%;
height: auto;
overflow: hidden;
}
.ctmg-cases-list {
overflow: hidden;
}
.ctmg-cases-list hr {
clear: left;
margin: 25px 0;
}
.case-view {
height: 90%;
position: relative;
overflow: hidden;
display: block;
}
.ctmg-case-info {
margin-top: 10px;
}
.ctmg-case-procedure {
margin: 5px 0;
font-size: 18px;
}
.ctmg-case-number {
text-align: left;
}
.ctmg-case-number a:hover {
text-decoration: underline;
}
.ctmg-case-number {
clear: left;
}
.ctmg-case img {
float: left;
width: 49%;
height: auto;
} .ctmg-paginate {
margin: 0 auto 10px auto;
display: block;
position: relative;
text-align: center;
width: 100%;
overflow: hidden;
}
.ctmg-paginate  a[rel="prev"] {
float: left !important;
}
.ctmg-paginate  a[rel="next"] {
float: right;
}
.ctmg-paginate a,
.ctmg-prev,
.ctmg-next {
font-size: 18px;
color: #34302D;
padding-left: 10px;
}
.ctmg-paginate a:hover {
text-decoration: underline;
}
.ctmg-case-profile,
.ctmg-procedure-details,
.ctmg-case-view {
background: #fafafa;
display: block;
position: relative;
border: 1px solid #34302D;
height: auto;
width: 100%;
float: left;
margin: 10px 0 30px 0;
}
.ctmg-case-view {
}
.ctmg-case-patient,
.ctmg-case-details,
.ctmg-case-practitioner,
.ctmg-procedure-details,
.ctmg-case-view {
padding: 30px;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.ctmg-case-profile h3,
.ctmg-procedure-details h3,
.ctmg-case-view h3 {
font-size: 24px;
color: #34302D;
margin: 0;
}
.ctmg-case-view h3 {
margin-bottom: 20px;
}
.ctmg-case-patient,
.ctmg-case-details {
display: block;
position: relative;
border-right: 1px solid #34302D;
height: 325px;
width: 27.0%;
float: left;
}
.ctmg-procedure-details p {
margin-top: 15px;
}
.ctmg-case-practitioner {
display: block;
position: relative;
height: auto;
width: 45.5%;
float: left;
border-right: none !important;
}
.ctmg-case-practitioner img {
float: right;
}
.ctmg-case-view img {
width: 100%;
height: auto;
}
.ctmg-before,
.ctmg-after {
background: #34302D;
float: left;
display: block;
width: 48.65%;
height: 100%;
}
.ctmg-before {
margin-right: 2.55%;
}
.ctmg-before a img,
.ctmg-after a img {
opacity: 1
}
.ctmg-before a:hover img,
.ctmg-after a:hover img {
opacity: 0.8;
}
.ctmg-before h4,
.ctmg-after h4 {
color: #fff;
margin: 10px 0;
text-align: center;
line-height: 1em;
text-transform: uppercase;
font-size: 24px
}
@media (max-width: 767px) {
.ctmg-case {
width: 100%;
}
.ctmg-gallery-list li {
float: none;
width: 100%;
margin-left: 0;
margin-right: 0;
}
}