.ctmg-container {
position: relative;
margin-top: 200px;
}
@media only screen and (max-width : 767px) {
.ctmg-container {
margin-top: 50px;
}
}
.ctmg-wrapper {
position: relative;
z-index: 1;
}
h1.ctmg-entry-title {
border-bottom: 4px solid #34302D;
padding: 0 0 25px 0;
margin-bottom: 25px;
}
h1.ctmg-entry-title a {
display: inline-block;
}
.ctmg-gallery,
.ctmg-cases {
background: #f6f9fd;
display: block;
position: relative;
border: 1px solid #34302D;
height: auto;
}
.ctmg-gallery {
}
.ctmg-gallery h2,
.ctmg-cases h2.ctmg-gallery-total {
font-family: inherit !important;
background: #34302D;
color: #fff;
font-size: 20px;
font-family: inherit;
padding: 10px 0;
margin: 0;
text-align: center;
text-transform: normal;
}
.ctmg-gallery-list {
display: block;
position: relative;
}
.ctmg-gallery-list li {
list-style: none;
padding: 10px 0;
border-bottom: 1px solid #34302D;
}
.ctmg-gallery-list li:last-child  {
border: none;
}
.ctmg-gallery-list li > a:before {
content:'\0025B8 ';
font-size: 24px;
color: #34302D;
padding-right: 10px;
padding-left: 10px;
}
.ctmg-gallery-list li.arrow-down > a:before{
content:'\0025BE' !important;
font-size: 24px;
color: #34302D;
}
.ctmg-gallery-list li li a:before {
content:'\0025B8 ';
font-size: 18px;
color: #34302D;
padding-right: 10px;
}
.ctmg-gallery-list li a {
color: #34302D;
text-decoration: none;
font-size: 20px;
}
.ctmg-gallery-list li a:hover {
text-decoration: none;
color: #767676;
}
.ctmg-gallery-list li li a {
color: #34302D;
text-decoration: none;
font-size: 18px;
}
.ctmg-sub-menu li {
padding-left: 30px;
}
.ctmg-cases {
}
.ctmg-result-container {
position: relative;
display: block;
}
.ctmg-cases > .container {
padding-top: 0 !important;
}
.ctmg-result {
background: #eee;
}
.ctmg-gallery-total a,
.ctmg-result a {
color: #333;
}
.ctmg-gallery-total a:hover,
.ctmg-result a:hover {
color: #333;
}
.ctmg-procedure-result,
.ctmg-contact {
margin: 1em;
}
.ctmg-procedure-result {
}
.ctmg-procedure-result:before {
content:'\0025BE ';
font-size: 24px;
color: #253c87;
padding-right: 10px;
}
.ctmg-contact {
text-align: center;
}
.ctmg-case {
padding-top: 1rem;
padding-bottom: 1rem;
position: relative;
border-bottom: 1px solid #34302D;
height: auto;
overflow: hidden;
}
.ctmg-cases-list {
position: relative;
}
.ctmg-cases 
.case-view {
display: block;
position: relative;
overflow: hidden;
}
.ctmg-case-info {
height: 100%;
display: block;
position: relative;
}
.ctmg-case-procedure,
.ctmg-case-number {
margin: 5px 0;
font-size: 18px;
}
.ctmg-case-procedure a {
font-size: 18px;
}
.ctmg-case-number {
clear: left;
}
a.ctmg-view-button {
background: #34302D;
border: 1px solid #34302D;
text-transform: uppercase;
color: #fff;
padding: 5px 20px;
position: relative;
bottom: 0;
display: block;
text-decoration: none;
text-align: center;
}
.ctmg-view-button:hover {
background: #fff;
color: #34302D;
border: 1px solid #34302D;
}
.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-case-profile,
.ctmg-procedure-details,
.ctmg-case-view {
background: #fafafa;
position: relative;
border: 1px solid #34302D;
height: auto;
margin: 10px 0 30px 0;
padding: 1rem;
}
.ctmg-case-view {
}
.ctmg-case-patient,
.ctmg-case-details,
.ctmg-case-practitioner,
.ctmg-procedure-details {
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;
}
.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: 1rem 0;
text-align: center;
line-height: 1em;
text-transform: uppercase;
font-size: 24px
}