/*Circular 'bio' image floated right (centred on smaller screens)*/
.bio-pic-circle-right {
    border-radius: 50%;
    margin: 0 30px 10px;
    float: right;
    width: 150px !important;
    height: 150px !important;
    object-fit: cover;
    transform: translate3d(0px, 0px, 0.1px);
}

@media (max-width: 767px) {
.bio-pic-circle-right {
        margin: 10px 0 0 0;
        float: none;
    }
}

/*CPD event info*/
.cancelled {
        color:#FF0000;
}

.booking-open {
    color: #008A00;
}
.booking-closed {
    color: #aa0000;
}
.coming-soon {
    color: #E07306;
}

#register-interest{
    background: #1e7680;
    color: #ffffff;
    font-size: 14px;
    line-height: 30px;
    box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.3);
    padding: 5px 10px 5px 10px;
    transition: background-color .25s ease-in-out, box-shadow .25s ease-in-out;
}
#register-interest:visited{
    color: #ffffff;
}
#register-interest:hover{
    color: #ffffff;
    text-decoration:none;
    background:#21828D;
}
#register-interest:active{
    box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.3);
}

/*CLA*/
.www-cla-cambridgescp-com .campl-primary-cta:link {box-shadow: 0px 0px 4px 1px #1E7680;}
.www-cla-cambridgescp-com .campl-primary-cta:active {box-shadow: 0px 0px #ffffff;}
/*N.B. the above rule applies to .campl-primary-cta across the site*/

/*'Services hub' CSS [currently unpublished]*/
.main-item
    {display: grid;
    grid-template-columns: 30% 30% 40%;}

.page-node-197562 label
    {height: 120px;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 13pt;
    text-align: center;
    background-color: #A51137;
    border-color: #A51137;
    border-width: 3px;
    border-style: solid;
    border-radius: 3px;
    padding: 4px;
    float: left;
    clear: left;
    transition: all ease 0.2s;
    }
.page-node-197562 label:hover
    {opacity: 0.8;
    transition: all ease 0.2s;}

#tutored-course, #video-conference, #e-marking, #cpd, #moderation, #amici
    {display: inline-block;
    vertical-align: middle;
    font-weight: normal;
    font-size: 13pt;
    margin-top: 40px;}

#video-conference
    {padding: 0px 2px 0px 2px;}
#moderation, #amici
    {margin-top: 48px;}

#tutored-course-button, #video-conference-button, #e-marking-button, #moderation-button, #cpd-button, #amici-button
    {display: none;}
    
.sub-items
    {opacity: 0;
    transition: all 0.2s ease;
    overflow: hidden;}

#tutored-course-button:checked ~ #tutored-sub-items
    {opacity: 1;
    padding-left: 20px;}
    
#e-marking-button:checked ~ #e-marking-sub-items
    {opacity: 1;
    padding-left: 20px;}
    
/*set column widths for Annual Conference (node 178302)*/
.page-node-178302 #col_1
    {width:13%;}
.page-node-178302 #col_2
    {width:12%;}
.page-node-178302 #col_3
    {width:25%;}
    
/*set colour of horizontal line*/
.page-node-198632 h5 {
    border-top:2px solid green;
    padding-top:15px;
}

/*Annual Conference 2019*/
#C-Lawrence{
    float: right;
    margin-top: 5px;
}
#A-W-H{
    float: right;
    padding-left: 15px;
}

/*(key info box)*/
.conference-key-info{
    border: 5px double #45868e;
    padding: 14px 10px 5px 10px;
}

/* picture width and centre*/
.cscp-pic-centre{
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

/*Annual Conference 2019 abstracts table*/

/*(cell borders)*/
.page-node-202262 .campl-table > tbody:nth-child(4) > tr:nth-child(n) > td:nth-child(1){
    border-left: 2px solid #45868e;
}

.page-node-202262 .campl-table-bordered{
    border-right: 2px solid #45868e;
    border-bottom: 0px;
    margin-top: -50px;
}

.page-node-202262 .campl-table-bordered td{
    border-left: 2px solid #a2cfd5;
    border-bottom: 2px solid #45868e;
}
/*(four corners)*/
.page-node-202262 .campl-table > tbody:nth-child(4) > tr:nth-child(1) > td:nth-child(1){
    border-top: 2px solid #45868e;
}

.page-node-202262 .campl-table > tbody:nth-child(4) > tr:nth-child(1) > td:nth-child(2){
    border-top: 2px solid #45868e;
}

/*
.page-node-202262 .campl-table > tbody:nth-child(4) > tr:nth-child(8) > td:nth-child(1){
    border-radius: 0 0 0 10px;
}

.page-node-202262 .campl-table > tbody:nth-child(4) > tr:nth-child(8) > td:nth-child(3){
    border-radius: 0 0 10px 0;
}*/

/*(white cell background)*/
.page-node-202262 .campl-table-striped tbody tr:nth-child(2n+1) td{
    background-color:#ffffff;
}

.campl-table tbody tr:hover td, .campl-table tbody tr:hover th, .campl-theme-1 .campl-table tbody tr:hover td, .campl-theme-1 .campl-table tbody tr:hover th, .campl-theme-2 .campl-table tbody tr:hover td, .campl-theme-2 .campl-table tbody tr:hover th, .campl-theme-3 .campl-table tbody tr:hover td, .campl-theme-3 .campl-table tbody tr:hover th, .campl-theme-4 .campl-table tbody tr:hover td, .campl-theme-4 .campl-table tbody tr:hover th, .campl-theme-5 .campl-table tbody tr:hover td, .campl-theme-5 .campl-table tbody tr:hover th, .campl-theme-6 .campl-table tbody tr:hover td, .campl-theme-6 .campl-table tbody tr:hover th {
	background-color: #d9f0f3;
}

/*Annual Conference table abstract reveal*/
.morning-keynote {position: relative; overflow: hidden;}

.title-speaker {position: relative; top: 0px; transition: top 0.4s ease; transition-delay: 0.5s;}

.abstract {opacity: 0; transition: opacity 0.4s ease; margin-top: -56px; transition-delay: 0.5s;}

.morning-keynote:hover
  .abstract {opacity: 1;}
.morning-keynote:hover
  .title-speaker {top: -100px;}

/*Ovid Competition page*/
#fitz-museum {
    float: right;
    padding-left: 10px;
}
.ovidcomp-key-info {
    border: 1px solid #45868e;
    padding: 10px 10px 5px 10px;
}
    
/*Annual Conference 2020 page*/
.ovid-pic-cap {
    width: 295px;
    margin: auto;
}


@media (min-width: 768px) {
.ovid-pic-cap {
    float: right;
    max-width: 330px;
    margin-left: 4%;
    width: 50%;
    }
}

#conference-image-2020 {
	width: 100%;
}

/*Annual Conference 2021*/
@media (min-width: 768px) {
    #conference-image-2021 {
        height: auto;
        max-width: 50%;
        float: right;
        margin: 26px 0 20px 26px;
    }
}

#conference-image-2021 {
    width: 80%
}

/*Timetable*/
@media (min-width: 768px) {
    .conference-timetable.campl-table-striped tr td:nth-child(n+3) {
        width: 37%;
    }
}

/*Abstracts page*/
.teal-hr {
    margin: 10px 0;
    border: 0;
    border-top: 2px solid #4b858e;
    border-bottom: none;
    height: 1px;
}

/*Booking form embed - NOT CURRENTLY IN USE AS WE ARE LINKING OUT TO THE FORM INSTEAD OF EMBEDDING*/
.page-node-210106 #node-210106 .campl-content-container {
    padding: 0;
}

@media (max-width: 767px) {
    .page-node-210106 .campl-content-container iframe {
        height: 1700px;
    }
}

@media (max-width: 450px) {
    .page-node-210106 .campl-content-container iframe {
        height: 1985px;
    }
}

/*Ovid Comp*/
.ovid-judge-pic {
    border-radius: 50%;
    margin: 0 30px 10px;
    float: right;
}

.ovid-judge-category {
    clear: right;
}

#expand-video {
    display:none;
}

#expand-video iframe {
    max-width: 100%;
}

@media (max-width: 767px) {
    .ovid-judge-pic {
    margin: 10px 0 0 0;
    float: none;}
}

/*Panoply event*/
@media (min-width: 768px) {
#panoply-logo {
    width: 395px;
    max-width: 60%;
    float: right;
    margin-left: 4%;
    margin-bottom: 2%;
}
}

#panoply-logo {
    max-width: 80%;
}

/*Ovid Competition gallery*/

.page-ovid-entries .view-ovid-entries {
    margin-bottom: 30px;
}

.page-ovid-entries .chosen-container-single .chosen-single {
    border-radius: 0px;
    background: #fff;
    box-shadow: none;
    border-color: #0c5963;
}

.page-ovid-entries .chosen-container-active.chosen-with-drop .chosen-single {
    border-radius: 0px;
    background: #fff;
    box-shadow: none;
    border-color: #0c5963;
}

.page-ovid-entries .chosen-container-single .chosen-drop {
    border-radius: 0px;
    border-color: #0c5963;
}

.page-ovid-entries input#edit-submit-ovid-entries, .page-ovid-entries input#edit-reset {
    border-radius: 0px;
    border: 0;
    color: #fff;
    background: #0c5963;
    padding: 3px 8px;
    margin-top: 1.9em;
}
.page-ovid-entries input#edit-submit-ovid-entries:hover, .page-ovid-entries input#edit-reset:hover {
    background: #1e7680;
}

.page-ovid-entries .views-fluid-grid {
    text-align: center;
}

.page-ovid-entries li.views-fluid-grid-item {
    background-color: #EDF4F5;
    border: 1px solid #0c5963;
    padding: 6px 6px 20px;
    width: 320px;
    height: 325px;
    transition: all 0.2s ease-out;
}

@media screen and (max-width: 350px) {
    .page-ovid-entries li.views-fluid-grid-item {
        width: 90%;
    }
}

.page-ovid-entries li.views-fluid-grid-item:hover {
    box-shadow: 1px 1px #106470, 2px 2px #106470, 3px 3px #106470;
    transform: translate(-3px,-3px);
    background: #fff;
}

.page-ovid-entries li.views-fluid-grid-item:active {
    box-shadow: none;
    transform: none;
}

.page-ovid-entries .node-competition-entry.node-teaser {
    height: 100%;
    cursor: pointer;
    display: grid;
    grid-template-rows: 75px 42px 40px auto 30px;
}

.page-ovid-entries .node-competition-entry::before {
    content: none;
}

/*.page-ovid-entries .views-fluid-grid-item .field-name-body .field-items {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}*/

.page-ovid-entries .views-fluid-grid-item .field-name-body .field-items .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.page-ovid-entries iframe.resp-iframe {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-ovid-entries .field-name-title h2 {
    padding-top: 10px;
    font-size: 15pt;
    line-height: 16pt;
}

.page-ovid-entries .field-name-field-entry-author {
    font-weight: bold;
    max-width: 94%;
    margin: auto;
}

.page-ovid-entries .field-name-field-entry-school {
    font-style: italic;
}

.page-ovid-entries .node-teaser .field-items p a {
    color: #fff;
    background: #0c5963;
    padding: 10px;
    font-size: 10pt;
    margin-top: 4px;
    display: inline-block;
}

.page-ovid-entries .file-icon {
    display: none;
}

.page-ovid-entries .field-name-field-entry .content .file a {
    display: inline-block;
    background: #0c5963;
    color: #fff;
    padding: 10px;
    font-size: 10pt;
    position: relative;
    top: 50px;
}

.page-ovid-entries .field-name-field-entry .file-image .content img {
    height: 180px;
    width: auto;
}

.page-ovid-entries .campl-pagination .campl-pagination-btn {
    background: #0c5963;
}

.page-ovid-entries .views-exposed-form {
    margin: auto;
    width: -moz-fit-content;
    width: -webkit-fit-content;
    width: fit-content;
}

.page-ovid-entries .views-fluid-grid-item audio {
    background: #f1f3f4;
    border: 1px #1e7680 solid;
    width: 95%;
}

.page-ovid-entries .views-fluid-grid-item audio:focus {
    border: 2px #1e7680 solid;
    box-sizing: border-box;
}

/*Ovid entry pages*/

@media screen and (min-width: 600px) {
    .page-node.node-type-competition-entry .group-entry-grid {
        display: flex;
        gap: 3%;
    }
    
    .page-node.node-type-competition-entry .group-entry-info {
        text-align: right;
    }
}

/*.page-node.node-type-competition-entry .field-name-body .field-items {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}*/

.page-node.node-type-competition-entry .field-name-body .field-items .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}


.page-node.node-type-competition-entry iframe.resp-iframe {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-node.node-type-competition-entry .field .field-label {
    font-weight: normal;
    font-size: 14pt;
    color: #0c5963;
    margin-right: -7px;
    font-family: 'myriad-pro', verdana, sans-serif;
}

.page-node.node-type-competition-entry .group-entry-info .field .field-items {
    font-size: 11pt;
    margin: 10px 0px 20px;
    font-family: verdana;
}

.page-node.node-type-competition-entry .group-entry-items.field-group-div {
    width: -webkit-fill-available;
}

.page-node.node-type-competition-entry .field .field-items audio {
    background: #f1f3f4;
    border: 1px #1e7680 solid;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

.page-node.node-type-competition-entry .field .field-items audio:focus {
    border: 2px #1e7680 solid;
}

.page-node.node-type-competition-entry .field .field-items p a, .page-node.node-type-competition-entry .field-name-field-entry .content .file a {
    color: #fff;
    background: #0c5963;
    padding: 10px;
    font-size: 10pt;
    display: inline-block;
}

.page-node.node-type-competition-entry .file-icon {
    display: none;
}

.page-node.node-type-competition-entry #block-block-246 a {
    font-weight: normal;
    font-size: 14pt;
    color: #0c5963;
    display: block;
    font-family: 'myriad-pro', verdana, sans-serif;
    margin-top: -2%;
}

/*Conference programme table 2020
#node-209592 .campl-table-bordered {
    border: 2px solid #28828a;
    border-collapse: collapse;
    font-size: 11pt;
}

#node-209592 .campl-table-striped > tbody > tr:nth-child(odd) td {
    background-color: #1064700d;
}

#node-209592 tbody > tr:nth-child(1) {
    border: 2px #106470 solid;
}

#node-209592 .campl-table-bordered td {
    border-left: 2px solid #28828a;
}*/