.ctmg-container {
display: block;
position: relative;
z-index:99;
}
.ctmg-wrapper {
display: block;
position: relative;
width: 100%;
min-width: 1024px;
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 {
border-bottom: 2px solid #333;
padding: 0 0 25px 0;
margin:0 0 25px 0;
}
.ctmg-gallery,
.ctmg-cases {
background: #f6f9fd;
display: block;
position: relative;
border: 1px solid #333;
height: auto;
width: 100%;
float: left;
}
.ctmg-gallery { }
.ctmg-gallery h2,
.ctmg-cases h2.ctmg-gallery-total {
font-family: inherit !important;
background: #333;
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;
float: left;
width: 100%;
}
.ctmg-gallery-list li {
list-style: none;
padding: 10px 0;
border-bottom: 1px solid #333;
}
.ctmg-gallery-list li:last-child  {
border: none;
}
.ctmg-gallery-list li > a:before {
content:'\0025B8 ';
font-size: 24px;
color: #333;
padding-right: 10px;
padding-left: 10px;
}
.ctmg-gallery-list li.arrow-down > a:before{
content:'\0025BE' !important;
font-size: 24px;
color: #333;
}
.ctmg-gallery-list li li a:before {
content:'\0025B8 ';
font-size: 18px;
color: #333;
padding-right: 10px;
}
.ctmg-gallery-list li a {
color: #333;
text-decoration: none;
font-size: 20px;
}
.ctmg-gallery-list li a:hover {
text-decoration: none;
color: #767676;
}
.ctmg-gallery-list li li a {
color: #333;
text-decoration: none;
font-size: 18px;
}
.ctmg-sub-menu li {
padding-left: 30px;
}
.ctmg-cases { }
.ctmg-result-container {
float: left;
position: relative;
display: block;
width: 100%;
}
.ctmg-result {
float: left;
width: 100%;
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 {
float: left;
}
.ctmg-procedure-result:before {
content:'\0025BE ';
font-size: 24px;
color: #253c87;
padding-right: 10px;
}
.ctmg-contact {
text-align: center;
}
.ctmg-case {
float: left;
padding: 30px;
position: relative;
border-bottom: 1px solid #333;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
width: 100%;
height: auto;
overflow: hidden;
}
.ctmg-cases-list {
width: 100%;
position: relative;
float: left;
display: block;
}
.case-view {
display: block;
height: 90%;
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: 16px;
}
.ctmg-case-number {
clear: left;
}
a.ctmg-view-button {
background: #333;
border: 1px solid #333;
text-transform: uppercase;
color: #fff;
padding: 5px 20px;
position: relative;
bottom: 0;
display: block;
float: left;
clear: left;
text-decoration: none;
text-align: center;
}
.ctmg-view-button:hover {
background: #fff;
color: #333;
border: 1px solid #333;
}
.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: #333;
padding-left: 10px;
}
.ctmg-case-profile,
.ctmg-procedure-details,
.ctmg-case-view {
background: #fafafa;
display: block;
position: relative;
border: 1px solid #333;
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: #333;
margin: 0;
}
.ctmg-case-view h3 {
margin-bottom: 20px;
}
.ctmg-case-patient,
.ctmg-case-details {
display: block;
position: relative;
border-right: 1px solid #333;
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: #333;
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 only screen and (max-width : 1024px) {
h1.ctmg-entry-title {
font-size: 32px;
}
.ctmg-before h4, .ctmg-after h4 {
font-size: 16px;
}
}