/*==========main slider==========*/

.main-slider {
    position: relative;
    width: 100%;
    height: 200px;
    padding-top: 60px;
    box-sizing: border-box;
    text-align: center;
    background-image: url(../images/pages/img_slider07.jpg);
    background-attachment: fixed;
    -webkit-background-size: cover;
    background-size: cover;
}
.main-slider .overlay {
	background: rgba(0,0,0,0.4);
}
.main-slider .text-scroll {
    overflow: hidden;
    height: 120px;
    vertical-align: baseline;
}
.main-slider .text-content {
	position: relative;
	z-index: 999;
	color: #fff;
}
.main-slider .text-content .text-scroll h1 {
	font-size: 28px;
	height: 120px;
	margin: 0;
	line-height: 50px;
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
	-webkit-transition: margin-top 0.5s ease-in-out;
    -moz-transition: margin-top 0.5s ease-in-out;
    -ms-transition: margin-top 0.5s ease-in-out;
    -o-transition: margin-top 0.5s ease-in-out;
    transition: margin-top 0.5s ease-in-out;
}
.main-slider .text-content h2 {
	margin-bottom: 20px; 
	font-size: 22px;
	color: #fff;
}
.main-slider .text-content p.intro {
	font-size: 18px;
	text-transform: uppercase;
}

.get-appointment a {
	line-height:50px;
}

.is-sticky .get-appointment a {
    line-height: 32px;
}

.get-appointment {	
display:none;
}

.right2 {	
display:inline-block;
float:right; 
padding:0  30px; 
line-height:200%;
font-size:14px;
margin-top:0;
}

.brcmb {
margin:0 10px;	
}	

.h10 {
	height:10px;
}

.h15 {
	height:15px;
}

.h20 {
	height:20px;
}

table {
border-collapse:collapse;	
}


td {
	border:#cccccc 1px solid;
	padding:5px 10px;
}	

.success_msg {
	background-color:#f0ffed; 
	font-weight:500; 
	padding: 15px; 
	width:100%; 
	height:auto; 
	color:green; 
	border-radius:3px;	
}

.news_rss {
	background-position: -2px 65px; 
	font-weight:400; 
	font-size:14px;
}

.justifyleft {
	text-align:left;
	}

.justifyright {
	text-align:right;
}

.justifycenter {
	text-align:center;
}

.justifyjustify {
	text-align:justify;
}

img.justifyleft,  img.preview.justifyleft{
	float:left;
	margin:0 20px 10px 0;
}

img.justifyright, img.preview.justifyright {
	float:right;
	margin:0 20px 10px 0;

}

img.preview.justifyleft, img.preview.justifyleft, img.preview {
	-webkit-filter: brightness(100%);
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;
}

img.preview.justifyleft:hover, img.preview.justifyleft:hover, img.preview:hover  {
-webkit-filter: brightness(65%);

}

.entry-post a:hover {
    color: #6f99d9;
    -webkit-transition: all 0.3s ease;
     -moz-transition: all 0.3s ease;
       -o-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
	  transition: all 0.3s ease;
}

 .widget ul li a:hover {
    color: #2E5797;
    -webkit-transition: all 0.3s ease;
     -moz-transition: all 0.3s ease;
       -o-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
	  transition: all 0.3s ease;
}

 .widget ul li.active {
border-bottom: #c1c1c1 1px dashed;
 }

 .widget ul li.active a {
color: #8e96a3;	 
 }

.errors {
border:red 1px solid;
color:red;
padding:15px;	
border-radius:5px;
}



/* Smaller than standard 992 */
@media only screen and (max-width: 1999px) {
.main-slider {   
    height: 180px;
    padding-top: 30px;
}
.main-slider .text-scroll {  
    height: 200px;
}
.main-slider .text-content .text-scroll h1 {
	font-size: 22px;
	height:200px;
	margin: 0;
	line-height: 28px;	
}
.main-slider .text-content h2 {
	margin-bottom: 16px; 
	font-size: 18px;	
}

.right2 {	
font-size:13px;
margin-top:0; 
line-height:200%;

}
	
}	


/* Tablet Portrait Size */
@media only screen and (min-width: 992px) and (max-width: 1199px) {

.right2 {	
font-size:12px;
margin-top:-4px; 
line-height:200%;
}


}


/* Tablet Portrait Size */
@media only screen and (min-width: 768px) and (max-width: 991px) {

.main-slider {   
    height: 200px;
    padding-top: 30px;
}
.main-slider .text-scroll {  
    height: 200px;
}
.main-slider .text-content .text-scroll h1 {
	font-size: 22px;
	height:200px;
	margin: 0;
	line-height: 28px;	
}
.main-slider .text-content h2 {
	margin-bottom: 16px; 
	font-size: 18px;	
}

.right2 {	
font-size:12px;
margin-top:-13px; 
line-height:180%;
}
}	
	
	/* All Mobile Sizes */
@media only screen and (max-width: 767px) {
	
.get-appointment {	
display:block;
}

.get-appointment a {
	line-height:25px;	
}
	
.right2 {	
display:none;
}

}

/* Mobile Landscape Size */
@media only screen and (min-width: 480px) and (max-width: 767px) {
.main-slider {   
    height: 180px;
    padding-top: 30px;
}
.main-slider .text-scroll {  
    height: 200px;
}
.main-slider .text-content .text-scroll h1 {
	font-size: 22px;
	height:200px;
	margin: 0;
	line-height: 28px;	
}
.main-slider .text-content h2 {
	margin-bottom: 16px; 
	font-size: 18px;	
}



}

/* Mobile Portrait Size */
@media only screen and (max-width: 479px) {

.main-slider {   
    height: 150px;
    padding-top: 30px;
	
}
.main-slider .text-scroll {  
    height: 200px;
}
.main-slider .text-content .text-scroll h1 {
	font-size: 22px;
	height:200px;
	margin: 0;
	line-height: 28px;	
	text-align:center;
}
.main-slider .text-content h2 {
	margin-bottom: 16px; 
	font-size: 15px;	
}

img.justifyleft,  img.preview.justifyleft, img.justifyright,  img.preview.justifyright {
	width:100%;  
}

}

