/*
Theme Name: Coulsdon College
Theme URI: https://www.pinksheep.co.uk
Version: 1.0
Description: A Wordpress theme by Mike Wedge.
Author: Mike Wedge
Author URI: https://www.pinksheep.co.uk
<meta name="google-site-verification" content="3-Yoj8YLRAayAbcMYnnS8SogBkSs7DX4-JsydBM_pB4" />
Template: Divi
*/


/* Criminal Conviction Expander */

#crim-conv {
    background: url(https://croydon.ac.uk/wp-content/themes/croydoncollege/images/coulsdon-i.svg);
    background-size: 14px;
    width: 15px;
    height: 15px;
    display: inline-block;
    text-indent: -9999em;
    background-repeat: no-repeat;
}
.crim-conv-xpandr-text {
    padding: 1em 2em 3em;
    font-size: 12px;
    border: 2px dotted #0199c5;
    margin-bottom: 1em;
    border-radius: 0;
}
.crim-conv-xpandr-text p {
    font-size: 13px !important;
}
.xpandr-opens .crim-conv-xpandr-text { 
	display: block !important; 
}



/* Global Settings Update
 ---------------------------- */


.et_pb_row#main { padding-top: 30px !important; }

.cc_logo { display: none !important;}
p.cc_message {
    font-weight: 500;
    font-family: arial !important;
    font-size: 12px !important;
    line-height: 1.5em !important;
    color: #444;
}
a.cc_btn.cc_btn_accept_all { 
background-color:#0099c5 !important;
color:#fff !important;
	font-weight:800 !important;
font-weight:bold !important;
}

#top-header { background-color: #002133 !important;}

.watermark {
    background-image: url(/wp-content/uploads/2018/06/watermark.jpg);
    background-position: -20px -30px;
    background-size: 450px;
    background-repeat: no-repeat;
}

.title h1, 
.title h2,
.title h3 {
	position: relative;
    display: block;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.title h1:after,
.title h2:after,
.title h3:after { 
	content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    display: block;
    bottom: 0px;
    left: 50%;
    background-color: #0097c6;
    margin-left: -25px;
}
#et-info { width: 100%; }
ul#top-links {
    float: right;
}
#top-links li {
    display: inline-block;
	padding: 0 5px;
}

@media only screen and (max-width:1024px) {
	#top-links { display:none !important; }
}
#aside { padding-top: 20px; }

#top-menu li li {
    margin: 0;
    padding: 0 5px;
    line-height: 1.4em;
	width:100%;
}
#top-menu li li a {
    width: 100%;
    padding: 9px 16px;
    font-size: 13px !important;
    font-weight: 600;
    border-top: 1px solid #ddd;
}
#top-menu li li:first-child a {
	border-top:0px;
}
#top-menu li li a:hover { 
	background-color:#0099c5;
	color:#fff !important;
	opacity: 1;
}

/* Homepage
 ---------------------------- */

.home .et_pb_section_0.et_pb_section {
    padding-top: 60px;
    padding-bottom: 40px;
}

#announcements .published {
    display: none;
}
.home #announcements {
    background: #fff;
    position: relative;
    /*margin-top: -160px; */
}
#announcements .post-content {
    display: none;
}
.mini-feed .et_pb_post {
    padding-left: 39px;
    position: relative;
    background-image: url(/wp-content/uploads/2018/06/announcement.png);
    background-repeat: no-repeat;
    background-position: left 23px;
    padding-top: 24px;
    margin-bottom: 15px !important;
    background-size: 30px;
}
.mini-feed .et_pb_post:before {
	    position: absolute;
    width: 180px;
    height: 2px;
    background-color: #dedede;
    content: '';
    top: 4px;
    left: 50%;
    margin-left: -90px;
}
.mini-feed .et_pb_post:first-child:before { 
	display: none; 
}
#announcements h2 a {
    color: #0099c5;
    font-size: 0.7em;
    line-height: 1em !important;
}
.mini-feed h2.entry-title {
    padding-bottom: 4px;
	display:inline;
}
.mini-feed p.post-meta { display:inline; }

.quicklink .et_pb_image {
    margin-bottom: 0px !important;
}
.quicklink p {
    line-height: 19px !important;
}
.quicklink .et_pb_image_wrap { border-left:1px solid #f2f3f6; }
.quicklink .et_pb_promo { min-height: 289px; }

.link.et_pb_image,
.news .et_pb_post { 
	position:relative;
}
.link.et_pb_image:before,
.news .et_pb_post:before {
    position: absolute;
    top: -25px;
    left: 50%;
    width: 50px;
    height: 50px;
    content: '';
    background-image: url(/wp-content/uploads/2018/06/link-icon.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: -25px;
    z-index: 999;
}
.news .et_pb_post:before {
	background-image: url(/wp-content/uploads/2018/06/news-icon.png)
}
.et_pb_blog_grid h2 a {
    color: #0097c6;
}
.quote { position: relative; }
.quote:before { 
    position: absolute;
    top: -25px;
    right: 50px;
    width: 66px;
    height: 50px;
    content: '';
    background-image: url(/wp-content/uploads/2018/06/quote-marks.png);
    background-repeat: no-repeat;
    background-size: 66px 50px;		
}

.news .et_pb_post a.more-link {
	color: #fff;
    background: #0198c6;
    float: none;
    transition: 0.5s ease-out;
    border-radius: 50px;
    padding: 3px 14px;
    font-weight: bold;
    clear: both;
    display: inline-block;
    text-transform: capitalize;
    margin: 19px 0 10px;
    border: 2px solid #c1c1c1;
}

.news .et_pb_post a.more-link:hover {
	color:white;
	background:#a8cb41;
}

/* Content Page
 ---------------------------- */

#main { padding-top: 20px; }

#aside .et_pb_button_module_wrapper { margin-bottom: 5px; }
#aside .et_pb_button_module_wrapper a.et_pb_button { width: 100% !important; }

span.dcsbcm_divi_breadcrumb {
    padding: 10px;
    display: inline-block;
    font-weight: 800;
}
#main blockquote {
    border-color: #d4d4d4;
    border-width: 50px;
    background-image: url(quotes.png);
    background-position: 5px 5px;
    background-repeat: no-repeat;
}
#main ul {
    list-style: none;
	padding-left:0px
}
#main ul li { position:relative; padding: 7px 7px 7px 30px; }

#main ul li:before {     
	content: '';
    background-color: #a9cc41;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 17px;
    left: 15px;
}
#main ul li.even {
    background: #fff;
}
.et_pb_text_inner h1, 
.et_pb_text_inner h2, 
.et_pb_text_inner h3, 
.et_pb_text_inner h4, 
.et_pb_text_inner h5 { margin: 20px 0; line-height: 1.5em;}
.et_pb_text_inner ul { margin: 20px 0; }
.et_pb_text_inner ol li { margin: 10px 0; }
.et_pb_text_inner table tr td { border-top: 1px solid #c8e4f0; padding-top:16px; padding-bottom: 16px; }
.et_pb_text_inner table tr td h6 { color: #0097c6; }

#on-route-link a { color: #fff; }
#on-route-link ul li.odd, 
#on-route-link ul li.even { color: #fff; font-weight: bold; background-color: transparent; }
#on-route-link ul li.odd:before, 
#on-route-link ul li.even:before { background-color: #0097c6; }
#on-route-link .et_pb_text_inner h1 { color: #fff; margin-bottom: 20px; margin-top: 0px; border-bottom: 1px dashed #fff; }


/* Courses Page
 ---------------------------- */

#main ul.course-list li {
    display: inline-block;
    margin: 10px 4px 0 0;
    background: transparent;
    font-weight: bold;
	padding:0px;
}
#main ul.course-list li a {
	display:block;
	padding: 8px 20px;
    border: 2px solid rgba(255,255,255,0.22);
    border-radius: 100px;
    color: #fff;
	background-color: #0099c5;
}
#main ul.course-list li:before { display:none; }



/* News & Media Page
 ---------------------------- */

#aside .mini-feed .post-content { display: none !important; }
#aside .mini-feed h2.entry-title { font-size: 16px; color: #0097c6; }
#aside .mini-feed .et_pb_post {
    padding-left: 48px;
    background-position: left 25px;
    background-size: 40px;
	min-height: 64px;
}
.et_pb_blog_grid_wrapper .post-meta { display: none; }
.et_pb_has_overlay.et_pb_post .et_pb_image_container a { margin-bottom: 0px; }
.et_pb_blog_grid h2 { font-size: 18px; padding-top: 20px; }
#categories-2, .post-meta, .post-meta a, .post-meta span.author {display: none !Important;}

/* Article Page
 ---------------------------- */

#meta-2, 
#comment-wrap { display: none !important; }

/* Event Page
 ---------------------------- */

#main ul.event-list li {
    position: relative;
	padding: 30px;
	margin-bottom: 50px;
	background: #fff;
}
#main ul.event-list li:before {
	position:absolute;
	top: -25px;
	left: -25px;
	width: 50px;
	height: 50px;
	display:block;
	content: '';
	background-image: url('/wp-content/uploads/2018/07/calendar-icon.png');
	background-size: 100%
}
.event__title {
    color: #0097c6;
    font-weight: 800;
    font-size: 1.4em;
}
.event__category { 
	color:#0097c6;
}
.event__date {
    background-color: #a9cb40;
    padding: 7px 12px;
    border-bottom-left-radius: 10px;
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 0px;
    right: 0px;
}
#aside select {
    width: 100%;
    height: 40px;
    border-radius: 40px;
    margin-bottom: 11px;
}
#main.calendar_agenda {
    padding-top: 30px;
}
.calendar_agenda #aside .title h2 {
    font-size: 1.4em !important;
    padding-bottom: 4px;
    margin-bottom: 20px !important;
    margin-top: 30px !important;
}
.event-list .event__category { display: none; }



/* Course Page
 ---------------------------- */

#page-inner-nav ul {
    padding-left: 0px;
    padding-top: 10px;
}
#page-inner-nav ul li {
    margin: 10px 4px 0 0;
	float:left;
	background: transparent !important;
	padding:0px;
    font-weight: bold;
}
#page-inner-nav ul li a {
    border: 2px solid #0099c5;
	padding: 3px 15px;
	display:inline-block;
	background-color:#0099c5;
	color:#fff;
    border-radius: 100px;
}
#page-inner-nav ul li a:hover { color:#0099c5; background-color:#fff;}
#main #page-inner-nav ul li:before { display:none; }

#title-overview h2:after {
    left: 0px;
    margin-left: 0px;
}
div.course-title {
    margin-bottom: 0px !important;
}
.course-title h2 { 
    padding: 26px 0 40px 70px;
    background-image: url(/wp-content/uploads/2018/06/course-icon-1.png);
    background-size: 50px;
    background-position: 0px 10px;
    background-repeat: no-repeat;
}
#title-educational-experiences.course-title h2 {
	background-image: url(/wp-content/uploads/2018/06/course-icon-2.png);
}
#title-progression.course-title h2 {
	background-image: url(/wp-content/uploads/2018/06/course-icon-3.png);
}
.list-button ul {
    padding-left: 0px;
    padding-top: 10px;
}
#main .list-button ul li {
    display: inline-block;
    padding: 3px 15px;
    border: 2px solid #9dc32f;
    margin: 10px 4px 0 0;
	background: transparent;
    border-radius: 100px;
    color: #9dc32f;
    font-weight: bold;
}
#main .list-button ul li:before { display: none !important; }

.side-box {
    padding: 8% 8% 11% 10%;
    font-size: 1.5em;
    color: #fff;
    border-radius: 20px;
    font-weight: 900;
    line-height: 1.4em;
}

.et_pb_row.no-pad-top {
    padding-top: 10px;
}
.no-pad-top .et_pb_module {margin-bottom: 20px !important; }


/* Student Profiles Page
 ---------------------------- */

.page-template-page-student-profiles #main-text form,
.single-student .student form { padding: 20px; border: 1px solid #80c8de; margin-bottom: 30px; }

.single-student .student form select,
.single-student .student form span,
.page-template-page-student-profiles #main-text form select,
.page-template-page-student-profiles #main-text form span { display: inline-block; margin-bottom: 0px; }

.single-student .student form span,
.page-template-page-student-profiles #main-text form span {
	width: 15%;
	text-align:center;
}
.single-student .student form select,
.page-template-page-student-profiles #main-text form select {
	width: 40%;
	height: 40px;
    border-radius: 40px;
    margin-bottom: 0px;
}

.page-template-page-student-profiles #main-text ul.student-list li { padding: 30px; position: relative; background: #fff; margin-bottom: 30px; }
.page-template-page-student-profiles #main-text ul.student-list li:before { display: none; }

.page-template-page-student-profiles #main-text ul.student-list li a,
.page-template-page-student-profiles #main-text ul.student-list li span,
.page-template-page-student-profiles #main-text ul.student-list li div { padding-left: 80px; }

.page-template-page-student-profiles #main-text ul.student-list li span.student__thumbnail {
    max-width: 50px;
	top: 30px;
	padding-left:0px;
	left: 30px;
    position: absolute;
}
a.student__name { font-weight: 700; font-size: 1.5em; }
span.student__subject { color: #0097c6; }
span.student__school { color: #0097c6; }


/* Single Student Page
 ---------------------------- */

.single-student #main-content { background-color: #f2f3f6; }

.single-student .entry-content { background-color: #fff; padding: 30px; margin-bottom: 30px; }

article.student img { width: 100%; border: 1px solid #80c8de; margin-bottom: 0px; float:left; clear: both; box-sizing: border-box; }

.single-student h1.entry-title {
    padding-top: 40px;
    display: block;
    clear: both;
}

span.student__subject {
    margin-bottom: 0px;
    display: block;
    font-weight: 700;
}

/* Single News Page
 ---------------------------- */

.archive #main-content,
.single-post #main-content { background-color: #f2f3f6; }

#main-content .container:before { display: none; }

#left-area { width: 69.125%; }
#sidebar { width: 30.875%; }

#recent-posts-2 li {
    background-color: #fff;
    padding: 20px;
}

#recent-posts-2 li a { font-weight: 700; color:#2ea3f2; }

#sidebar h4.widgettitle {
    font-size: 1.5em;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 30px;
	position:relative;
}

#sidebar h4.widgettitle:after { 
	position:absolute;
	bottom:0px;
	left:50%;
	margin-left:-30px;
	width:60px;
	height:1px;
	background-color:#2ea3f2;
	content:'';
}

#categories-2 li a {
    background-color: #a9cd41;
    color: #fff;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 60px;
    display: inline-block;
    margin-right: 10px;
    float: left;
}

.et_pb_post h1.entry-title,
.et_pb_post p.post-meta { text-align: center; }

#left-area p.post-meta { color: #999; }

#left-area p.post-meta span, 
#left-area p.post-meta span a {
    color: #0097c6;
}

.single-format-video .et_post_meta_wrapper img {
	display:none !important;
}
.category-video a.entry-featured-image-url {
	text-align:center;
}
.category-video .entry-featured-image-url img {
    max-width: 350px !important;
}

.category-video #left-area h2.entry-title {
    text-align: center;
}



/* Course Finder Page
 ---------------------------- */

.course-finder {
    border: 1px solid #80c8de;
    padding: 30px;
    background: #f3fbfd;
    border-radius: 10px;
}
.course-finder select {
    width: 100%;
    height: 40px;
}
.course-finder input[type="search"] {
    border: 1px solid #ccc;
    display: block;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0;
}

/* A-Z Course List Page
 ---------------------------- */

#a-z-course-list #nav_menu-2 { width: 100%; }
ul#menu-course-list ul.sub-menu li {
    padding: 0px !important;
	border-top:1px solid #eee;
}
#main ul#menu-course-list li { background-color: #fff !important; }
ul#menu-course-list ul.sub-menu li:before { display: none; }
ul#menu-course-list li a { color: #0199c5 !important; font-weight: 700 }
ul#menu-course-list li ul li:first-child { padding-top: 10px !important; }
ul#menu-course-list li ul li a { font-weight: 500; }


/* Photo Gallery List Page
 ---------------------------- */

.gallery-links h4 a { color:#0099c5; }
.gallery-links .et_pb_image { border: 5px solid #179dc8; }


/* Application form */

#app-form {
	background: #f1f8fb;
	padding: 20px;
}

#app-form input[type="text"], #app-form input[type="date"]  {
	padding: 16px;
	border-radius: 0;
	color: black;
	font-size: 16px;
    -webkit-appearance: none;
    border-width: 0;
    background: white;
}

#app-form select {
	height: 50px;
	font-size: 16px;
	padding: 16px;
}

/* Style the buttons that are used to open and close the accordion panel */
#app-form .accordion {
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  background: #eee;
  margin-bottom: 20px;
  transition: 0.4s;

}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
#app-form .active, #app-form.accordion:hover {
	background: rgba(0,0,0,.05);
}

/* Style the accordion panel. Note: hidden by default */
#app-form .section {
  display: none;
  overflow: hidden;
  margin-bottom: 60px;
}

#app-form .section:not(.section-1) {
	padding-top: 20px;
}

#app-form .accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

#app-form .active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

#app-form input.wpcf7-submit {
	padding: 18px;
	font-size: 16px;
	cursor: pointer;
}

div.wpcf7-response-output {
	margin-left: 0;
	margin-right: 0;
}

#app-form #pc4uCF7Lookup_Postcode, #app-form #pc4uCF7Lookup_Postcode_2 {
	padding: 16px;
	font-size: 16px;
	cursor: pointer;
	background: white;
	margin-left: 10px;
	-webkit-appearance: none;
}

#app-form #pc4uCF7Dropdown_Postcode, #app-form #pc4uCF7Lookup_Postcode_2 {
	margin-top: 15px;
}

#app-form fieldset {
	padding-bottom: 1em;
}

