body{font-family: Roboto, sans-serif;}
a:hover{text-decoration:none;}



.about_cbs{border: 2px solid #0e3d65; margin: 40px 0px 40px 0px;background: url(../cbs-images/gh.jpg);}
.about_desc{border: 2px solid #0e3d65;padding: 5px 15px 10px 15px; margin: 40px 0px 40px 0px;}
.gall{  background: url(../cbs-images/gallery.jpg);background-attachment: fixed; padding: 0px 0px 21px 0px;border-bottom: 4px solid #6b6b6b;border-top: 4px solid #6b6b6b;}
.gall:before {position:absolute; content: ''; background-color:rgba(255, 255, 255, 0.7); min-width: 100%; height:20%;}
.distance{height:200px}	
.gallery{margin: 0px 0px 60px 75px;}
.gallery img{margin: 0 auto;}
.message {background:url('../cbs-images/message.html');padding: 20px 0px 20px 0px;}
.news{padding: 25px 0px 25px 0px;background:url('../cbs-images/news-events.jpg');margin-bottom: 70px;}
.cbs_hd{text-align:center;}
.cbs_p{margin-bottom:73px;margin-right: 36px; margin-left:0px;}
.cbs_pul{color: #bf4943;    margin: -58px 35px 0px 0px;}
.header_main, .summer-camp {position: absolute;}
 #cbs-carousel .item{overflow: hidden; border:1px solid red;width:190px; height:190px; margin:44px; color: #FFF; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; text-align: center; -webkit-animation:rescale 2s infinite; animation: rescale 2s infinite; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg);}
.owl-carousel .owl-wrapper-outer { overflow: hidden; position: relative; width: 100%; }

/*text slider*/
.ticker-container {border-top:1px solid red;overflow: hidden; margin:0px auto;}
.ticker-text {height:auto; color: black;white-space:nowrap;display:inline-block; text-transform: uppercase;}
.item-image-fix { width: 100%; height: 100%; text-align: center; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -o-transform: rotate(-45deg); -ms-transform: rotate(-45deg); transform: rotate(-45deg);}
.customNavigation{ text-align: center;}
.customNavigation a{ -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);}
 /*Director message box*/
 .box { border: 2px solid white; text-align: center;padding: 22px 10px; border-radius: 4px;  background:white; }
 .box img{float:left;}
.box h4 span { background-color: #ff9c00; padding: 8px 20px; display: inline-block;  border-radius: 4px;  color: #333; font-size: 18px;}
.box p { text-align: justify;  width: 280px;  max-width: 100%;  margin: auto; font-size: 13px;color:#313030}
.shadow1{
    box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.1) inset;
}
.shadow1:before, .shadow1:after{
  position:absolute;
  content:"";
  bottom:12px;left:15px;top:80%;
  width:45%;
  background:#9B7468;
  z-index:-1;
  -webkit-box-shadow: 0 20px 15px #9B7468;
  -moz-box-shadow: 0 20px 15px #9B7468;
  box-shadow: 0 20px 15px #9B7468;
  -webkit-transform: rotate(-6deg);
  -moz-transform: rotate(-6deg);
  transform: rotate(-6deg);
}
.shadow1:after{
  -webkit-transform: rotate(6deg);
  -moz-transform: rotate(6deg);
  transform: rotate(6deg);
  right: 15px;left: auto;
}


.line {
  position: relative;
  margin-bottom: 2rem;
  margin-top: 1rem;
}
.line:before {
    display: block;
    content: '';
    width: 12px;
    height: 12px;
    background-color: #101010;
    position: relative;
    transform: rotate(45deg) translateX(-50%);
    left: 50%;
    top: 10px;
  }
  
  .line:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 780px;
    height: 3px;
    background:linear-gradient(to right, #ffffff 0%,  #101010 45%, rgba(0,0,0,0) 45%,rgba(0,0,0,0) 55%, #101010 55%,#ffffff 100%)
  }
 
 .img-gal
 {
 	height: 165px;
    width: 95%;
    border: 8px solid #ff0000;
    padding: 2px;}
 
 
 
 /**/
#multilines{border: 10px solid #7d0123;background: white;} 

#multilines ul.newsticker {
	display: block;
	margin: 0;
	padding: 0;
}

#multilines ul.newsticker > li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	background-color: #e0f0ff;
	height: 46px;
	padding: 16px 12px;
	border-bottom: 1px dotted #888;
	-o-transition: background-color .2s;
    -moz-transition: background-color .2s;
    -webkit-transition: background-color .2s;
    -ms-transition: background-color .2s;
    transition: background-color .2s;

}

#multilines ul.newsticker > li:hover {
	background-color: #e0f0ff;
}


/*
	ONELINER
*/

#oneliner {
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
	position: relative;
	margin: 80px auto 40px auto;
	width: 900px;
	height: 44px;
    background-color: #fff;
    border-radius: 2px;
}

#oneliner:before, #oneliner:after {
	border-radius: 100px 100px 100px 100px / 10px 10px 10px 10px;
	bottom: 0;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
	content: "";
	left: 10px;
	position: absolute;
	right: 10px;
	top: 50%;
	z-index: -1;
}

#oneliner .header {
	background-color: #ff2e2e;
	display: inline-block;
	width: 180px;
	height: 44px;
	text-transform: uppercase;
	font-weight: 500;
	line-height: 44px;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-align: center;
	border-radius: 2px 0 0 2px;
	cursor: pointer;
	-webkit-transition: all .2s ease-in-out;
	   -moz-transition: all .2s ease-in-out;
	    -ms-transition: all .2s ease-in-out;
	     -o-transition: all .2s ease-in-out;
            transition: all .2s ease-in-out;
	-webkit-animation: redPulse 4s infinite;
	   -moz-animation: redPulse 4s infinite;
	        animation: redPulse 4s infinite;
}

#oneliner:hover .header {
	-webkit-animation: redPulse 1s infinite;
	   -moz-animation: redPulse 1s infinite;
	        animation: redPulse 1s infinite;
}

#oneliner .header:active {
	background-color: #000;
	margin-left: -12px;
	color: #aaa;
}

#oneliner ul.newsticker {
	display: inline-block;
	height: 44px;
	width: 710px;
	overflow: hidden;
	margin: 0 0 0 -3px;
	padding: 0 0 0 6px;
	line-height: 44px;
	font-weight: 500;
	background-color: #fafafa;
}

#oneliner ul.newsticker > li{
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	border-bottom: 1px dotted #888;
}




@-webkit-keyframes redPulse {
  from { background-color: #ff2e2e; -webkit-box-shadow: 0 0 9px #555; }
  50% { background-color: #bd0000; -webkit-box-shadow: 0 0 14px #ff2e2e; }
  to { background-color: #ff2e2e; -webkit-box-shadow: 0 0 9px #555; }
}

@-moz-keyframes redPulse {
  from { background-color: #ff2e2e; -moz-box-shadow: 0 0 9px #555; }
  50% { background-color: #bd0000; -moz-box-shadow: 0 0 14px #ff2e2e; }
  to { background-color: #ff2e2e; -moz-box-shadow: 0 0 9px #555; }
}

@keyframes redPulse {
  from { background-color: #ff2e2e; box-shadow: 0 0 9px #555; }
  50% { background-color: #bd0000; box-shadow: 0 0 14px #ff2e2e; }
  to { background-color: #ff2e2e; box-shadow: 0 0 9px #555; }
}
 
 /*slideshow*/
 

#carousel {
position: relative;
width:100%;
margin:0 auto;
}

#slides {
overflow: hidden;
position: relative;
width: 100%;
height: 250px;
}

#slides ul {
list-style: none;
width:100%;
 
margin: 0;
padding: 0;
position: relative;
}

 #slides li {
width:100%;
 
float:left;
position: relative;
}
 
.btn-bar{
    max-width: 346px;
    margin: 0 auto;
    display: block;
    position: relative;
    top: 40px;
    width: 100%;
}

 #buttons {
padding:0 0 5px 0;
float:right;
}

#buttons a {
text-align:center;
display:block;
float:left;
outline:0;
margin:0 60px;
color:#333333;
text-decoration:none;
display:block;
padding:9px;
width:35px;
}

a#prev:hover, a#next:hover {
color:#FFF;
text-shadow:.5px 0px #b14943;  
}

.quote-phrase, .quote-author {
font-weight:300;
display: table-cell;
vertical-align: middle;
padding: 5px 20px;
}

.quote-phrase {
height: 200px;
color:#333333;
text-shadow:.5px 0px #b14943;  
}

.quote-marks {
padding:0 3px 3px;
position:inherit;
}

.quote-author {
color:#b14943;
font-weight:400;
}

.quoteContainer, .authorContainer {
display: table;
width: 100%;
padding:0px;
}
 
 
 /*scroller bottom to top*/
  #top{
    position: fixed;
    bottom:20%;
    right: 20px;
   /*  background: rgb(0, 0, 0); */
    background: rgb(14, 61, 101);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#top i{
    color: #fff;
    margin: 0;
    position: relative;
    left: 18px;
    top: 15px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#top:hover{
    background: rgba(0, 0, 0, 0.9);
}
#top:hover i{
    color: #fff;
    top: 5px;
}

 
 

 /*footer*/ 
 .main-footer{    margin: 40px 0px 0px 0px;}
 .top_header { padding: 4px 0 4px; }
 .top_header ul { padding-left: 0px;}

.top_header ul { padding: 0px;list-style-type: none; display: initial;}
.top_header ul li {
    margin-right: 44px;
}

.top_header ul li {
    color:#020202;
    position: relative;
    float: left;
    /* margin-right: 25px; */
}
.top_header ul li a:first-child {
    margin-left: 2px;
}

.top_header ul li a {
    font-size: 13px;
}
.top_header ul li a {
    text-transform: capitalize;
    display: inline-block;
    font-size: 15px;
    color:#383535;
    font-weight: normal;
    margin-left: 5px;
}
 .top_header ul li:after {
    position: absolute;
    content: "";
    right: -24px;
    top: 1px;
    width: 1px;
    height: 19px;
    border:1px dashed #ff1212;
}
.top_header ul li:after {
    position: absolute;
    content: "";
    right: -15px;
    top: 0px;
    width: 1px;
    height: 19px;
    border:1px dashed #ff1212;
}
 /*footer*/ 
 
 
 @media only screen
and (min-width : 768px)
and (max-width :990px)
{ 
	#cbs-carousel .item{width: 150px; height: 150px;  margin: 72px 74px 72px 50px;}	 
	.about_cbs { background:none;}
	#slides { height: 415px;}
}
@media (min-width:768px)
        {
        	.header_main{top: 10px;right: 45px; }
        
        }

@media (max-width: 320px){}
@media (min-width:1024px){}
@media (max-width:767px)
{

 .header_main { top: 0;right: 0%; width: 150px;}
 .header_main img {width: 100%;}
 .quote-phrase, .quote-author {padding:0px;}
.quoteContainer, .authorContainer {padding:14px;}
.about_cbs { margin: 40px 0px 40px 0px;background:none;}
#slides { height:270px;}
.cbs_p {margin-right: 15px; margin-left: 15px;}
.gall:before { height: 15%;}
}

@media (max-width:440px)
{
.distance{height:100px}	
/*ABOUTUS*/	
.main_box {padding-top: 0px;}
.about_cbs { margin: 40px 0px 40px 0px;background:none;}
.cbs_p {margin-right: 15px; margin-left: 15px;}
.header_main { top: 205px;}
#slides { height: 400px;}
.quote-phrase, .quote-author {padding:0px;}
.quoteContainer, .authorContainer {padding:14px;}
.owl-carousel .owl-wrapper-outer {height: 170px;}
#cbs-carousel .item{width: 105px;height: 105px; margin: 34px;} 
.news { margin-bottom: 0px;}
 .img-gal {width: 100%;padding: 2px;height:170px;}
 .top_header ul li { margin-right: 23px;}
 .gall:before { height: 18%;}
}


.abt_title{
	background-color: #711722;
    padding: 10px;
    color: white;
}


.acv-img{
	border: 5px solid #80808061;
    margin: 20px 0px 20px 0;
    box-shadow: 1px 2px 10px 2px;
}


.tab-hed{
	    /* background: #0e3d65; */
		 background-image: linear-gradient(#711722, #0e3d65);
    color: white;
    font-size: 16px;
}

.hed{
	    border-bottom: 1px solid;
    padding: 0px 0px 4px 0;
}