/*--BrainMedia Custom style--*/

.home .content {

	width: auto;
}

.slide-data {

	
	padding-left: 90px;
	padding-right: 0;

}



#activity-category {

	width: 320px;
	vertical-align: middle;
	font-size: 166%;
	line-height: 125%;
	text-align: center;
	height: 100px;

	margin:	20px;

	background: #e9bd38; /* Old browsers */
	background: -moz-linear-gradient(top, #e9bd38 0%, #dcda30 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e9bd38), color-stop(100%,#dcda30)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #e9bd38 0%,#dcda30 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #e9bd38 0%,#dcda30 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #e9bd38 0%,#dcda30 100%); /* IE10+ */
	background: linear-gradient(to bottom, #e9bd38 0%,#dcda30 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9bd38', endColorstr='#dcda30',GradientType=0 ); /* IE6-9 */
	border: solid 1px #dcda30;
	
}

.sht {
	width: 60px;
	height: 60px;
	background-image: url("../images/kids/parslegs01.png");
	background-position: 0 center;
	background-repeat: no-repeat;
	display: block;
	padding: 70px 0 20px 0;



}

#activity-category a {

	text-decoration: none;
	color:#000;
	display: block;
	width: 230px;
	position: absolute;
	top: 25%;
	left: 18%;
	padding-left: 25px;
}

#activity-category a:hover {

	text-decoration: underline;

}

#upcoming-activities {

	height: auto;
	margin-top: 30px;
	

	background: #e9bd38; /* Old browsers */
	background: -moz-linear-gradient(top, #e9bd38 0%, #dcda30 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e9bd38), color-stop(100%,#dcda30)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #e9bd38 0%,#dcda30 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #e9bd38 0%,#dcda30 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #e9bd38 0%,#dcda30 100%); /* IE10+ */
	background: linear-gradient(to bottom, #e9bd38 0%,#dcda30 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9bd38', endColorstr='#dcda30',GradientType=0 ); /* IE6-9 */
	border: solid 1px #dcda30;	
}

.up td {

		
		background:#5d4e37;
		border: none;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		background-image: url("../images/kids/parslegs01.png");
		background-position: 0 center;
		background-repeat: no-repeat;
		position: relative;
		height: 20%;
	}

.up td p {

		padding-left: 60px;
		padding-top: 8px;
		color: #f3eb30;
		font-size: 18px;
		font-weight: bold;
		text-shadow: 2px 2px #000; 

		margin-top: 8px;
  		margin-bottom: 5px;
}

.up ul {
    margin-right: 11px;       
 
}

#youtube {

	margin: 0 auto;
  	width: 880px;
  	height:100%;
}

#youtube p, ol, .gap {

	margin-top: 75px;
	margin-left: 10px;
} 

#youtube li {

	margin-bottom: 20px;
}

#youtube ul li {

	margin-bottom: 10px;
}

.footer-wrapper {
        top: 150px;
}

/*MEDIA*/

/*BOXES START*/

@media (max-width: 1024px) and (min-width: 200px) {

	.top-menu, .bird, .sidemenu-wrapper {
        visibility: hidden;
    }

	.content-wrapper {

		margin-top: 0;
	}

	.rat {

		background-image: url('../images/kids/Cesu_Berni_logo.png');
		background-repeat: no-repeat;
		background-position: center center;
		height: 349px;
		margin: 0 auto;
		top: 92px;
		position: relative;
		z-index: 900;
	}

        .rat a {
          
                position: relative;
                display: block;
                width: 300px;
                height: 290px;
                /*color: #2D0EFF;
                border: 1px solid;*/
                left: 34%;
        }

	.footer-wrapper {

		/*top: 60px;*/
	}

	.footer-grass {

		width: auto;
		left: 0;

	}

	#tMenu, #rMenu { width: 300px; }

	#rMenu {

		margin-top: 28px;
	}

	#rMenu li {

		height: 70px;
	}

	#rMenu a span {

		padding-left: 8px;
		color: #f3eb30;
	}

	.sMenu {

		list-style: none;
	}

	.mMenu {

		margin-top: 30px;
		margin-left: 20px;
		list-style: none;
	}

	.mMenu li a {

		display: block !important;
	    height: 50px;
	    padding: 0 !important;
	    width: 100%;
	}

	ul li.mainmenu-item-1 a {
		background-image: url("../images/kids/menu01.png");
		background-repeat: no-repeat;
		background-size: 35px 35px;
	}

	ul li.mainmenu-item-2 a {
		background-image: url("../images/kids/menu02.png");
		background-repeat: no-repeat;
		background-size: 35px 35px;
	}

	ul li.mainmenu-item-3 a {
		background-image: url("../images/kids/menu03.png");
		background-repeat: no-repeat;
		background-size: 35px 35px;
	}

	ul li.mainmenu-item-4 a {
		background-image: url("../images/kids/menu04.png");
		background-repeat: no-repeat;
		background-size: 35px 35px;
	}

	ul.mMenu li p {

		padding-top: 7px;
		padding-left: 50px;
		color: #f3eb30;
	}


/*BOXES*/

	

	#activity-category {

		background:#5d4e37;
		border: none;

	}

	#activity-category a {

		color: #f3eb30;
		text-shadow: 2px 2px #000;
		 
	}

	#activity-category a:hover {

		text-shadow: 2px 0 #000;
	}

	#upcoming-activities {

		width:	745px;
		margin-left: 10%;
		padding-right: 0;
		padding-left: 0;
		

	}

	#upcoming-activities a {

		padding-left: 19px;
	}

	pre {

		
		background:#5d4e37;
		border: none;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		background-image: url("../images/kids/parslegs01.png");
		background-position: 0 center;
		background-repeat: no-repeat;
		position: relative;
		height: 20%;
	}

	pre p {

		padding-left: 60px;
		padding-top: 8px;
		color: #f3eb30;
		font-size: 21px;
		font-weight: bold;
		text-shadow: 2px 2px #000; 
		

	}

	#f_row {

		width: 340px;
	}

	.menuCircle {

		width: 60px;
	    height: 60px;
	    background: #5d4e37; 
	    -moz-border-radius: 30px; 
	    -webkit-border-radius: 30px; 
	    border-radius: 30px;
	    margin-top:23px;
		margin-left:87px;
		position: absolute;
		z-index: 1001;
	
	}
	
	.menuBox {

		position: absolute;
    	        top: 50px;
    	        left: 100px;
    	        z-index:1002;
	}

	.menuButton {

		position: absolute;
                top: 40px;
                left: 100px;
                z-index: 1003;
	}
	
	.menuBox {

		width:600px;
		height:400px;
		background-color:#5d4e37;
		z-index: 1000;
		top: 45px;
		left: 110px;


	}

	#nav-toggle { 

		position: absolute; 
		cursor: pointer;

		padding: 10px 35px 16px 0;

	}

	#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
		cursor: pointer;
		border-radius: 1px;
		height: 5px;
		width: 35px;
		background: #f3eb30;
		position: absolute;
		display: block;
		content: '';
	}

	#nav-toggle span:before {
		top: -10px; 
	}
	#nav-toggle span:after {
		bottom: -10px;
	}

	#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
		transition: all 500ms ease-in-out;
	}
	
	#nav-toggle.active span {
		background-color: transparent;
	}
	
	#nav-toggle.active span:before, #nav-toggle.active span:after {
		top: 0;
	}

	#nav-toggle.active span:before {
		transform: rotate(45deg);
	}
	#nav-toggle.active span:after {
		transform: rotate(-45deg);
	}

}

@media (max-width: 1699px) and (min-width: 1139px) {
 
    
	#one, #upcoming-activities {

		margin-left: 170px;

	}

}

@media (max-width: 1138px) and (min-width: 1099px) {
 
    
	#upcoming-activities {

		margin-left: 130px;

	}
}

/*MOBILE DEVICES*/
@media (max-width: 346px) {

	.slideshow-overlay, .slide-image, .jshowoff-slidelinks {

		visibility: hidden;
	}

	.slide-data {

		left: 0;
		width: auto;
		font-size: 12px;
	}

	.menuButton {

		top:17px;
		left:13px;	
		width: 	
	}

	.menuCircle {

		margin-top: 0;
		margin-left: 0;
	}

	.menuBox {

		top:20px;
		left: 20px;
		width: 100%;
		height: 600px;
	}

	.mMenu {

		margin-left: 0px;
	}

	#tMenu, #rMenu {

		margin-left: auto;
		margin-right: auto;
		width: 70%;
	}

	#tMenu, #rMenu {

		margin-left: auto;
		margin-right: auto;
	}

	.mMenu, .sMenu {
		padding-left: 0;
	}

	.rat a {

              left: 8%;
        }

        #pre p {

		padding-top: 18px;
		font-size: 21px;
		
	}

	#upcoming-activities {

		margin-left: 0;
	}

	#youtube {

    	width: auto;
    	margin:	0 auto;
    }
}



@media (max-width: 767px) and (min-width: 347px) {

	
	.slideshow-overlay, .slide-image, .jshowoff-slidelinks {

		visibility: hidden;
	}

	.slide-data {

		left: 0;
		width: auto;
		font-size: 12px;
	}

	#pre p {

		padding-top: 18px;
		font-size: 21px;
		
	}

	#activity-category, #activity-category a{

		width: auto;
	}

	#f_row {

		width: 100%;
	}

	#upcoming-activities {

		margin-left: 0;
		width: 100%;
	}

	.menuButton {

		top:17px;
		left:13px;	
		width: 	
	}

	.menuCircle {

		margin-top: 0;
		margin-left: 0;
	}

	.menuBox {

		top:20px;
		left: 20px;
		width: 100%;
		height: 600px;
	}

	.mMenu {

		margin-left: 0;
	}

	#tMenu, #rMenu {

		margin-left: auto;
		margin-right: auto;
		width: 70%;
	}

        .rat a {

              left: 25%;
        }

	#youtube {

    	width: auto;
    	margin:	0 auto;
    }
}

@media (max-width: 510px) and (min-width: 447px) {

	#pre p, #activity-category  {

		font-size: 18px;
	}

}

	@media (max-width: 446px)  {

	#pre p {

		font-size: 13px;
	}

	#activity-category {

		font-size: 16px;
	}

	#youtube {

    	width: auto;
    	margin:	0 auto;
    }

}


@media (max-width: 824px) and (min-width: 768px)  {



/*BOXES*/

	.slide-data {

		left: 400px;
		font-size: 11px;
		width: 45%

	}

	#big {

		padding-left: 5%;
	}

	.down {

    	margin-left: 0;
    }

    #upcoming-activities {

		width:	690px;
		margin-left: 1%;
		
		

	}

	.col-md-offset-1 {
		margin-left: 0;	
	}

	#youtube {

    	width: auto;
    	margin:	0 auto;
    }

}

@media (max-width: 991px) and (min-width: 825px) {

/*BOXES*/

	#big {

		padding-left: 2%;
	}

	#boxes {

		left: 0;
		padding-left: 6px;
	}

	.down {

    	margin-left: 9%;
    }

    #upcoming-activities {

    	width: 680px;
    }

    #youtube {

    	width: auto;
    	margin:	0 auto;
    }

}

@media (max-width: 1024px) and (min-width: 992px) {

	#big {

		padding-left: 9%;
	}

	.down {

		padding-left: 6%;
		width: 800px;
	}
	
	.col-md-offset-1 {

    	margin-left: 5%;
    }
	

}

@media (max-width: 1900px) and (min-width: 582px) {

	.footer-wrapper {

		height: 350px;
	}
}

@media (max-width: 581px) {

	.footer-wrapper {

		height: 450px;
	}

	.footer-boxes span, .footer-content a {

		margin:0;
	}
}

/*BOXES END*/

/*Brain Media Custom End*/