/* *********************************************** HP PAGE ************************* */



.home .site-inner {
  padding-top: 0px;
  padding-bottom: 0px;
}
.home .entry {
    margin-bottom: 0px;
    padding: 0px 0px 0px 0px;
}
.home h2.entry-title {
	display:none;
}

.home .entry-content {
    padding: 0px 0% 0px 0%;
}

.vc_row {
    margin-left: 0px;
    margin-right: 0px;
}

.home.full-width-content .site-inner {
  background-image:none;
}

/* *********************************************** ROW 1 ************************* */

.hp-row-1 {
	background:#D2EA60;
}

.hp-row-1 .wpb_content_element {
	margin-bottom: 0px !important;
}

.hp-row-1 .vc_column-inner {
	padding-left: 0px;
    padding-right: 0px;
}





/* ------------------------------------------------------ ROW 2 --------------------------- */



.hp-row-2 {
	background:#DEF1F8 url(images/bg-hp-row-2.png) bottom center no-repeat;
	/*background:#DEF1F8 url('http://217.199.187.199/derwent.derby.sch.uk/wp-content/uploads/2017/07/206-Derwent.jpg') bottom center no-repeat;*/

}



.hp-row-2 .hp-row-2-col .vc_column-inner {
    padding-top: 0px;


}


.hp-row-2-welcome {
	padding:40px 2% 70px 2%;
	text-align: center;
	background: ;
	margin-bottom:0px;
}


.hp-row-2-welcome h1 {
	position: relative;
	color:#0F4E95;
	display: block;
	text-align:  ;
	font-weight:400;
	text-decoration:;
	font-size: 1.8em;
	padding:0px 0px 10px 0px;
	border-bottom: 0px solid #BAC99F;
	margin-bottom:16px;
	line-height: 1.2em;
	letter-spacing:2px;
}

.hp-row-2-welcome h2 {

}

.hp-row-2-welcome p {
	color:#626262;
	font-size: 1.1em;
	line-height:1.5em;
	text-align:center ;
	margin-bottom:0px;
}
.hp-row-2-col2 {
	position:relative;
}

.hp-row-2-link {
	padding:0px 0px 0px 0px;
	text-align: center;
	height:100%;

}

.hp-row-2-link p {
	text-align: center;
}

.hp-row-2-link p a {
	position:absolute;
	bottom:60px;
	left:50%;
	width:220px;
	margin-left:-60px;
	color:#FFFFFF;
	font-size: .8em;
	line-height:24px;
	text-align: center;
	text-transform:;
	padding:12px 0px 12px 0px;
	border-radius:6px;
	border:3px solid #99C621;
	
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}


.hp-row-2-link p a:hover {
	color:#FFFFFF;
	background: #99C621;

}


/* ------------------------------------------------------ ROW 3 --------------------------- */
.hp-row-3 {
	background:url(images/bg-hp-row-3-left.png), url(images/bg-hp-row-3-right.png), url(images/bg-sidebar.jpg) ;
	background-repeat: no-repeat,no-repeat,repeat;
	background-position: left, right;

	padding:40px 0px 50px 0px;
}

.hp-row-3 .wpb_content_element {
	margin-bottom: 0px !important;
}


.hp-row-3 .event-row {
	padding:0px 100px 20px 100px;
}


/* -- Event Left -- */



.hp-row-3 .eventsblock-left {
	float:left;
	width:30%;
}

.hp-row-3 .first-event {
	background: url(images/bg-hp-row-3-next-event.png) top center no-repeat;
	display:table-cell;
	position:relative;
	width:240px;
	height:244px;
	vertical-align:middle;
	padding: 50px 30px 30px 30px;
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}

.hp-row-3 .first-event h4 {
	line-height:1.4em;
	font-size:1.2em;
	font-weight:bold;
	text-transform:uppercase;
	text-align:center;
	margin-bottom:0px;
	padding: 0px;
}

.hp-row-3 .first-event h4 a {
	color:#FFFFFF;	
}

.hp-row-3 .first-event h4 a:hover {
	color:#9CDAF9;	
}

.hp-row-3 .first-event p {
	color:#9CDAF9;
	font-size:.9em;
	text-align:center;
}

.hp-row-3 .first-event .event-calendar {
	position:absolute;

	left:10px;
	bottom:-10px;
	text-align:center;
}


.hp-row-3 .first-event .event-calendar a{
	background:#7D9F20;
	text-align:center;
	
	padding:18px 30px 18px 30px;
	margin:0px auto;
	font-size:.9em;
	line-height:1.2em;
	color:#F0F6F9;
	border-radius:6px;
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}


.hp-row-3 .first-event .event-calendar a:hover{
	background:#FBCD01;
	color:#0F4E96;
}

.hp-row-3 .first-event span.evdate1 {
	opacity:1;
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}

.hp-row-3 .first-event:hover span.evdate1 {
	opacity:0;
	display:none;
}

.hp-row-3 .first-event span.evdate2 {
	opacity:0;
	display:none;
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}
.hp-row-3 .first-event:hover span.evdate2 {
	opacity:1;
	display:block;
}
.hp-row-3 .first-event span.evdate2 a:hover{
	color:#9CDAF9;
}




/* -- Event Right -- */




.hp-row-3 .eventsblock-right {
	float:right;
	width:60%;
}

.hp-row-3 .restof-events {
	display:block;
	border-bottom:2px solid #9CDAF9;
	padding:16px 20px 16px 20px;
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}


.hp-row-3 .restof-events .eventstext {
	float:left;
	width:80%;
}

.hp-row-3 .restof-events .eventstext h4 {
	line-height:1.4em;
	font-size:1.2em;
	font-weight:bold;
	text-transform:uppercase;
	text-align:left;
	margin-bottom:0px;
	padding: 0px;
}

.hp-row-3 .restof-events .eventstext h4 a {
	color:#FFFFFF;
}

.hp-row-3 .restof-events .eventstext h4 a:hover {
	color:#9CDAF9;	
}

.hp-row-3 .restof-events .eventstext p {
	color:#9CDAF9;
	font-size:.9em;
	text-align:left;
}



.hp-row-3 .restof-events .eventsdate {
	float:right;
	margin-left:10px;
	height:60px;
	width:60px;
	border-radius:50%;
	background:none;
	border:2px solid #99C621;
	color:#9CDAF9;
	padding-top:10px;
	line-height:1.2em;
	font-size:.9em;
	font-weight:bold;
	text-align:center;
	vertical-align:middle;
}

.hp-row-3 .restof-events:hover .eventsdate {
	background:#99C621;
	color:#FFFFFF;
}

.hp-row-3 .restof-events .eventsdate span.evsdate1 {
	opacity:1;
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}

.hp-row-3 .restof-events:hover span.evsdate1 {
	opacity:0;
	display:none;
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}

.hp-row-3 .restof-events .eventsdate span.evsdate2 {
	color:#FFFFFF;
	font-size:.8em;
	line-height:1.1em;
	padding-top:4px;
	opacity:0;
	display:none;
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}
.hp-row-3 .restof-events:hover span.evsdate2  {
	color:#FFFFFF !important;
	opacity:1;
	display:block;
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}
.hp-row-3 .restof-events:hover span.evsdate2 a {
	color:#FFFFFF !important;
}

/* ------------------------------------------------------ ROW 4 --------------------------- */



.hp-row-4 {
	background:#EAFCD4 ;
	height:343px;
	
}



.hp-row-4 .hp-row-4-col .vc_column-inner {
    padding-top: 0px;


}



.hp-row-4-col1 {
	position:relative;
	background: #EAFCD4 url(images/bg-hp-row-4.jpg) left center no-repeat;
	background-size: auto 100%
}

.hp-row-4-link {
	padding:0px 0px 0px 0px;
	text-align: center;
	height:100%;

}

.hp-row-4-link p {
	text-align: center;
}

.hp-row-4-link p a {
	position:absolute;
	bottom:78px;
	left:50%;
	width:220px;
	margin-left:-140px;
	color:#FFFFFF;
	font-size: .8em;
	line-height:24px;
	text-align: center;
	text-transform:;
	padding:12px 0px 12px 0px;
	border-radius:6px;
	border:3px solid #99C621;
	
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}


.hp-row-4-link p a:hover {
	color:#FFFFFF;
	background: #99C621;

}

/* ------------------ My News ----------------- */


.hp-row-4-news {
	padding:60px 2% 50px 2%;
	text-align: left;
	background: ;
	margin-bottom:0px;
}

.hp-row-4-news h3 {
	color:#7D9F20;
	font-size:1.6em;
	margin-bottom:0px;
}

.hp-row-4-news p a {
	color:#626262;
	font-size:.9em;

}

.hp-row-4-news p a:hover {
	color:#10509A;
}
.hp-row-4-news p a:after {
    content: '\f105';
	font-family: FontAwesome;
    color:#626262;
	font-size:18px;
	line-height:20px;
	margin-left:14px;
	vertical-align: middle;
}

.hp-row-4-news p a:hover:after {
    color:#10509A;
}



.hp-row-4-news .bx-wrapper .bx-viewport {
    -moz-box-shadow: 0 0 0px #ccc !important;
    -webkit-box-shadow: 0 0 0px #ccc !important;
    box-shadow: 0 0 0px #ccc !important;
    border: 0px solid #fff !important;
    left: -5px;
	overflow:hidden;
    background:none !important;
	margin-top:10px;
	margin-bottom:20px;
	height:290px !important;

}


.hp-row-4-news h4{
	
}
.entry-content ul.news-bxslider {
    margin-bottom: 10px;
    margin-left: 5px;
    width: 622% !important;
}
.news-bxslider li {
margin-bottom: 20px !important;
	border-bottom:1px solid #B9C7C8;

}
.latest-news-right .bx-prev i.fa-chevron-left, .latest-news-right .bx-next i.fa-chevron-right{
	margin-top:17px !important;
}
.latest-news-right .bx-wrapper .bx-pager{
	padding-top:29px !important;

}

.news-bxslider p {
    line-height: 22px;
	margin-bottom:10px;
	font-size:.9em;
	text-align:left;
	color:#696B66;
}


.news-bxslider h4 {


	font-size:1.2em;
	font-weight:500;
	text-align:left;
	color:#0C407C;
	text-transform: none;
	padding:0px 0px 0px 0px;
	margin:0px 0px 10px 0px;
	line-height:26px;
	letter-spacing:2px;
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}

.news-bxslider .fa-calendar {
	font-size:1.2em;
	font-weight:700;
	text-align:left;
	margin:0px 10px 0px 0px;
	color:#2371B9;
	line-height:26px;
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}

.bx-wrapper .bx-controls {
    position: absolute;
    top: -106px;
	right:0px;
    margin-top: 0px;
    outline: 0;
    width: 64px;
    height: 20px;
    text-indent: 0;
    z-index: 9999;
}


.bx-wrapper .bx-controls-direction a {
    position: absolute;
	top: 0%;
	margin-top: 0px;
	outline: 0;
	transition: all .5s linear;
	-webkit-transition: all .5s linear;

}

.bx-wrapper .bx-controls-direction a:hover {

	background:#E93424;




}

.bx-wrapper .bx-prev {
    left: 0px;
    /* background: url(images/controls.png) no-repeat 0 -32px; */
}

.bx-wrapper .bx-next {
    right: 0px;
    /* background: url(images/controls.png) no-repeat 0 -32px; */
}
.bx-wrapper .bx-controls-direction .fa {
    display: block;
	margin:0px 0px 0px 5px !important;
    
}
.bx-wrapper .bx-prev .fa {

	margin:1px 0px 0px 5px !important;
    
}
.bx-wrapper .bx-pager {
    width: 80px;
    position: relative;
    float: right;
}
.news-left, .news-left img{
	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
}
.news-left {
    float: left;
    width: 143px;
	height:113px;
	position:relative;
	overflow:hidden;
}
.news-left p{
	width:49px;
	height:45px;
	padding-top:8px;
	line-height:1em;
	position:absolute;
	left:0;
	bottom:0;
	border-top-right-radius:10px;
	border-bottom-left-radius:10px;
	background:#7D9F1F;
	color:#E1FB9B;
	font-size:15px;
	text-align:center;
	
}
.news-left img{
	width:100%;
	height:100%;
}
.hp-row-4-news .news-bxslider li{
	border-bottom:none !important;
}
.hp-row-4-news a.active{
	background:#99C520 !important;
	border:2px solid #99C520 !important;
}
.hp-row-4-news .bx-wrapper .bx-pager.bx-default-pager a{
	background:#EAFCD4 ;
	border:2px solid #666666 ;
}
 
.news-right {
    float: right;
    width: 370px;
}
.hp-row-4-news .bx-wrapper .bx-controls-direction a:hover{
	background:none !important;
}
.news-right a{
	position:absolute;
	bottom:0px;
	left:176px;
	font-size:16px;
	border:2px solid #7C9E1F;
	padding:6px 30px;
	text-align:center;
	float:left;
	color:#616161;
	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	transition: all .5s linear;
	-webkit-transition: all .5s linear;
}
.news-right a:hover{
	background:#7C9E1F;
	border:2px solid #7C9E1F;
	color:#fff;
}
.entry-footer {
	display:none;
}
/* -- end news -- */



.hp-row-3-texts {
	padding:0px 0% 0px 0%;

	background: #86C440;

}

.hp-row-3-text {
	padding:70px 2% 20px 2%;
	text-align: center;
	background: #86C440;
	margin-bottom:10px;
}

.hp-row-3-text h2 {
	position: relative;
	color:#FFFFFF;
	display: block;
	text-align:  ;
	font-weight:700;
	text-decoration:;
	font-size: 1.4em;
	padding:0px 0px 10px 0px;
	border-bottom: 0px solid #BAC99F;
	margin-bottom:30px;
	line-height: 1.4em;
}

.hp-row-3-text h2:after{
    content: "";
    position: absolute;
    width: 280px;
	height:2px;
	background:#FFFFFF; 
    top: 46px;
   left:50%;
   margin-left:-140px;
   opacity:1;

}



.hp-row-3-text h3 {
	color:#42652F;
	font-size: 1.3em;
	line-height:32px;
	text-align: ;
	margin-bottom:10px;
	font-weight:300;
}

.hp-row-3-text p {
	color:#FFFFFF;
	font-size: 1em;
	line-height:30px;
	text-align: ;
	margin-bottom:20px;
	font-weight:300;
}

.hp-row-3-links  {
	padding:0px 0px 30px 0px;
	text-align: center;

}

.hp-row-3-links p {

}

.hp-row-3-links p a {
	display:inline-block;
	color:#476A31;
	font-size: 1em;
	line-height:28px;
	text-align: center;
	text-transform:uppercase;
	width:200px;
	padding:10px 0px 10px 0px;
	border:2px solid #FFFFFF;
	margin:0px 0px 20px 0px;
	transition: all .5s linear; 
	-webkit-transition: all .5s linear;
}


.hp-row-3-links p a:hover {
	color:#FFFFFF;
	background: #42652F;
	border:2px solid #42652F;
}


.hp-row-3-sliders {
	padding:0px 0% 0px 0%;

	background: #86C440;

}

.hp-row-3-slider {
	padding:0px 0% 0px 0%;
	text-align: center;
	background: #86C440;
	margin-bottom:10px;
}

.vc_images_carousel .vc_carousel-indicators {
    bottom: -30px !important;
}

.vc_images_carousel .vc_carousel-indicators li {
    width: 12px !important;
    height: 12px !important;
    border-radius: 12px !important;
    border: 1px solid #FFFFFF  !important;
    background-color: #FFFFFF  !important;
}

.vc_images_carousel .vc_carousel-indicators .vc_active {
    width: 12px !important;
    height: 12px !important;
    background-color: transparent !important;
    border: 1px solid #D6E7B3 !important;
}
/* *********************************************** MEDIA QUESRIES ***************************************** ************************* */

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {


.hp-row-2-welcome {
	padding:30px 2% 70px 2%;
	text-align: center;
	background: ;
	margin-bottom:0px;
}


.hp-row-2-welcome h1 {
	font-size: 1.6em;
	padding:0px 0px 10px 0px;
	margin-bottom:14px;
	line-height: 1.3em;
}


.hp-row-2-welcome p {
	color:#626262;
	font-size: 1em;
	line-height:1.4em;
}




.hp-row-2-link p a {

    margin-left: -30px;

}



.hp-row-3 .event-row{
	padding:0;
}
.hp-row-3 .eventsblock-left {
    margin-top:10px;
}
.hp-row-3 .first-event h4 {
    font-size: 1em;
}
.hp-row-3 .restof-events .eventstext h4 {
    font-size: 1em;
}



.hp-row-4-col1 {
    position: relative;
    background: #EAFCD4 url(images/bg-hp-row-4b.jpg) -140px 0px no-repeat;
    background-size: auto 100%;

}





.news-left{
	width:38%;
}

.hp-row-4-link p a {

    margin-left: -180px;

}
.news-right{
	width:60%;
}

.news-right a{
	padding:2px 15px;
	left:186px;
}
.hp-row-4-news h4{
	line-height:21px !important;
	font-size:15px !important;
}



}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1080px) {

.site-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hp-row-2-link p a {
    left: 60%;
}

.hp-row-3 .restof-events{
	padding-right:0;
	padding-left:0;
}
.hp-row-3 .restof-events .eventsdate{
	margin-left:5px;
}
.hp-row-3 .restof-events .eventstext h4{
	font-size:.8em;
}
.hp-row-3 .restof-events .eventstext{
	width:75%;
}
.hp-row-4-link p a {
    left: 40%;
}


.hp-row-4-col1 {
    position: relative;
    background: #EAFCD4 url(images/bg-hp-row-4b.jpg) -160px 0px no-repeat;
    background-size: auto 100%;
	margin-left:-32px;
}


.news-bxslider h4 {
   /* margin: 0px 60px 10px 0px; */
}
.news-right {
    padding-left:10px;
}
.news-right a {
    left: 182px;
}


}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {


}


/* Small Devices, Tablets */
@media only screen and (max-width : 800px) {
.site-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hp-row-1 {
	display:none;
}
.hp-row-2 {
    background: #DEF1F8;
	background-image:none !important;
}
.hp-row-2 .vc_col-sm-6 {
    width: 100%;
}
.hp-row-2-link {
    display:none;
}
.hp-row-2-welcome {
    padding: 50px 8% 50px 8%;
}
.hp-row-3 .vc_col-sm-4 {
    width: 100%;
}
.hp-row-3 .eventsblock-left {
    float: none;
	margin:0px auto;
	margin-bottom:40px;
    width: 100%;
}
.hp-row-3 .first-event {
    display:block;
	margin:0px auto;
    padding: 100px 30px 30px 30px;
}
.hp-row-3 .eventsblock-right {
    float: none;
    margin:0px auto;
    width: 100%;
	padding:0px 10% 0px 10%;
}
.hp-row-3 .restof-events .eventstext {
    padding-top:10px;
}

.hp-row-4 .hp-row-4-col1 {
    display:none !important;
}

.hp-row-4 .latest-news-right.vc_col-sm-6 {
    width: 100% !important;
}
.hp-row-4-news {
    padding: 60px 10% 50px 10%;
}
.news-left {
    width: 143px;
}
.news-right a {
    left: 172px;
}
.news-right {
    float: left;
    margin-left:30px;
}
}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {


}

/* Small Devices, Tablets */
@media only screen and (max-width : 680px) {
.hp-row-2-welcome p {
    font-size: .9em;
}

.hp-row-2-welcome {
    padding: 50px 7% 50px 7%;
}


.hp-row-3 .eventsblock-left{
	width:290px;
	float:none;
	margin:0 auto;
	    margin-bottom: 40px;

}
.hp-row-3 .eventsblock-right{
	width:90%;
	margin:0 auto;
	float:none;
}

.hp-row-3 .first-event{
	display:inline-block;
}

.hp-row-3 .restof-events .eventstext{
	width:72%;
	 padding-top:6px;
}
.hp-row-3 .restof-events .eventstext h4{
	font-size:1em;
}
.hp-row-4-col1{
	width:100%;
}

.latest-news-right{
	width:90%;
	margin:0 auto;
	float:none;
}

.news-right {
    padding-left: 0px;
}

}


@media only screen and (max-width : 580px) {
.hp-row-4-news {
    padding: 60px 5% 50px 5%;
}


}


@media only screen and (max-width : 480px) {


.hp-row-3 {
    background:  none, none, url(images/bg-sidebar.jpg);
    background-repeat: no-repeat,no-repeat,repeat;
    background-position: left, right;
    padding: 60px 0px 60px 0px;
}

.hp-row-3 .eventsblock-right{
	width:100%;
	margin:0 auto;
	float:none;
	padding: 0px 2% 0px 2%;
}

.hp-row-4 {
     height: 100%;
}

.news-bxslider h4 {
    margin: 20px 60px 20px 0px; 
}

.latest-news-right{
	width:100%;
	margin:0 auto;
	float:none;
}
.hp-row-4-news {
    padding: 60px 2% 30px 2%;
}
.hp-row-4-news .bx-wrapper {
	margin-bottom:20px!important;
}

.hp-row-4-news .bx-wrapper .bx-viewport{
	height:300px !important;
}
.news-left{
	width:70%;
	height:70%;
 margin-left:16%;
}
.news-right{
	width:100%;
	text-align:center;
}

.news-bxslider h4{
	text-align:center;
	margin-top:8px;

    font-size: 16px !important;
}
.news-right a{
	display:inline-block;
	float:none;
	left:50%;
	bottom:-30px;
	margin-left:-60px;
}

.bx-clone {
	display:none;
}
}

@media only screen and (max-width : 320px) {




}

