
/* title_fonts */
.editor_title_green, 
.editor_title_darkgreen,
.editor_title_blue, 
.editor_table_course th, 
.slide_box_title, 
.photo_box-title {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
    line-height: 1.1em;
}

ul,li, ol, p, .content {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    font-size: 20px;
    color: #58595A;

    
}

p, .content {
    margin-bottom:20px;
}

.content ul,ol {
    margin-bottom:20px;
}

.page_content ul,ol {
    margin-bottom:20px;
}

.editor_title_green {
    color:#6DB484;
    font-size: 1.75em;
    margin-bottom: 10px;
    margin-top: 40px;
}

.editor_title_green:first-of-type {
  margin-top: 20px;
}

.editor_title_darkgreen {
    color:#24807F;
    font-size: 1.5em;
    margin: 20px 0;
}

.editor_title_blue {
    color:#709AC6;
    font-size: 1.5em;
    margin: 30px 0 10px;
}

.editor_title_blue a {
  text-decoration: none;
  color:#709AC6;
}

.editor_title_green a {
    color:#6DB484;
    text-decoration: none;
}

.editor_table_course {
    overflow: auto;
}

.editor_table_course th {
    background-color: #24807F;
    color: #fff;
    font-size: 1.5em;
    font-weight: 400;
}

.editor_table_course table {
    border-spacing: 4px 0;
    margin-bottom: 20px;
    word-break: break-word;
}

.editor_table_course tr:nth-child(even) td {
    background-color: #ffffff;
}

.editor_table_course tr:nth-child(odd) td {
    background-color: #DEECEC;
}

.editor_table_course tr td, .editor_table_course tr th {
    padding: 22px 45px;
}

.editor_table_course tr td:nth-child(1), .editor_table_course tr th:nth-child(1) {
    text-align: center;
    width: 235px;
}

.editor_table_course tr td:nth-child(2), .editor_table_course tr th:nth-child(2) {
    background-color: transparent;
    width: 0px;
    font-size: 0px;
    padding: 0;
    display: none;
}

.editor_table_course tr td:nth-child(1n+3), .editor_table_course tr th:nth-child(1n+3) {
    text-align: left;
}

.slide_box {
    border: 3px solid #24807f;
    padding: 20px 20px 20px 50px;
    position: relative;
    margin: 20px 0;
}

.slide_box_no {
    position: absolute;
    top: 20px;
    left: 10px;
}

.slide_box_no:after {content: '.';}

.slide_box_title {
    font-size: 1.75em;
    padding-right: 25px;
    /* color: #24807f; */
    color: #2E9896;
    cursor: pointer;
}

.slide_box_arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    transition: all 0.5s;
}

.slide_box_content {
    padding-top: 25px;
}

.slide_box.active .slide_box_arrow {
    transform: rotate(180deg);
}

/* for flexbox - programme handbook */
.flexcontainer {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
}

.flex-banner {
    width:100%;
}

.flex-item {
    background: #6fb485;
    padding: 30px;
    width: 25%;
    height: auto;
   
}

.flex-item .title a {
    color:#257d7e;
    text-decoration: none;
}

.flex-item .content a {
    color:#FFFFFF;
    text-decoration: none;
    display: block;
    line-height: 1.3;
    letter-spacing: 0px;
    margin-top: 10px;
}


.flex-item:nth-of-type(odd) {
    background-color:#6fb485;
}
        
.flex-item:nth-of-type(even) {
    background-color:#99cba8;
}

.flex-item .title {
    color:#257d7e;
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
    line-height: 1.1em;
    font-size: 1.75em;
}

.flex-item .content {
    color:#FFFFFF;
    font-size:18px;
}


.photo_right_layout {
    display: flex;
}

.photo_right_layout-left {
    width: calc(100% - 400px);
    padding-right: 20px;
}

.photo_right_layout-right {
    width: 400px;
}

.photo_right_layout-img {
    margin-top: 20px;
}

.photo_left_layout {
    display: flex;
}

.photo_left_layout-left {
    width: 400px;
    margin-top: 20px;
}

.photo_left_layout-img {
    margin-top: 20px;
}


.photo_left_layout-right {
    width: calc(100% - 400px);
    padding-left: 20px;
}




.photo_box {
  margin-bottom: 20px;
}

.photo_box-left {
    width: 220px;
    padding-right: 20px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

.photo_box-right {
    width: calc(100% - 226px);
    display: inline-block;
    vertical-align: top;
}

.photo_box-right > p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.photo_box-img > img {
    max-width: 400px;
    width: 100%;
}

.photo_box-title {
    font-size: 1.5em;
    color: #24807f;
}

.photo_box-title-sub {
    margin: 10px 0;
    font-size: 0.8em;
    color: #709ac6;
    font-style: italic;
}

.page_content-info {
    margin: 20px 0 60px;
    display: flex;
    flex-flow: wrap;
}

.page_content-cat {
    padding-right: 40px;
    padding-bottom: 10px;
}

.page_content-cat.event {
    padding-right: 50px;
}

.page_content-title {
    font-size: 1em;
    color: #247f7f;
    font-weight: 700;
}

.page_content-title.course {
  margin-top: 15px;
  margin-bottom: -5px;
}

.page_content-title.course:first-of-type {
  margin-top: 0;
}

.photo_preview {
    display: flex;
    flex-flow: wrap;
    margin: 20px -10px;
}

.photo_item {
    height: 200px;
    max-width: 200px;
    overflow: hidden;
    margin: 10px;
}

.photo_item>img {
    height: 100%;
    width: auto;
}


.photo_map {
    /* height: 400px; */
    /* max-width: 200px; */
    overflow: hidden;
    margin: 10px;
}

.photo_map>img {
    /* height: 100%; */
    width: 100%;
}

/* for richtext button */
.btn-richtext {
    border: 0px;
    background-color: #6fb485;
    color: #fff;
    padding: 12px 35px 10px;
    font-size: 1.5em;
    margin: 5px 0 5px 5px;
    transition: 0.2s box-shadow;
    display: inline-block;
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
    line-height: 1.1em;

}

.btn-richtext a {
    color: #fff;
    text-decoration: none;
}

.btn-richtext a:hover {
    color: #fff;
    text-decoration: none;
}

.btn-richtext:hover {
    box-shadow: 0px 0px 10px -3px #000;
    cursor: pointer;
}

.btn-richtext:active {
    box-shadow: inset 0px 0px 8px -4px #000;
}


@media only screen and (max-width: 1300px) {
    .photo_right_layout-left {
        width: calc(100% - 250px);
    }
    
    .photo_right_layout-right {
        width: 250px;
    }
    .photo_left_layout-left {
        width: 250px;
    }
    
    .photo_left_layout-right {
        width: calc(100% - 250px);
    }

    .flex-item {
        padding: 20px;
    }
}

@media only screen and (max-width: 1024px) {
    
    .editor_table_course {
        overflow: auto;
    }

    .photo_box-left {
       
        display: block;
        margin:0 auto;
        padding-bottom:10px;
    }

    .photo_box-right {
        width:100%;
    }

}



@media only screen and (max-width: 768px) {



    .flexcontainer {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
    }
    .flex-item {
        width:100%;
        padding:10px;
    }

    .flex-item .content a {
        margin-top: 5px;
    }

    .photo_right_layout {
        display: block;
    }
    .photo_right_layout-left {
        width: 100%;
        padding-right: 0;
    }
    
    .photo_right_layout-right {
        width: 100%;
    }
    .photo_left_layout {
        flex-direction: column;
    }
    .photo_left_layout-left {
        width: 100%;
    }
    
    .photo_left_layout-right {
        width: 100%;
        padding-left: 0;
    }
    
    .slide_box {
        margin: 15px 0;
        padding: 10px;
        padding-left: 30px;
    }

    .slide_box_title {
        font-size: 1.5em;
        font-size: 1.1em;
    }
    .slide_box_content {
        padding-top: 10px;
    }
    .slide_box_no {
        top: 10px;
    }
    .slide_box_arrow {
        top: 10px;
        right: 10px;
    }

    .editor_table_course th {
        font-size: 1.2em;
    }
    .editor_table_course tr td, .editor_table_course tr th {
        padding: 20px 10px;
    }
    .editor_table_course tr td:nth-child(1), .editor_table_course tr th:nth-child(1) {
        width: 170px;
    }
    .photo_box-left {
        max-width: 100%;
        padding-right: 0;
        width:86px;
    }
    .photo_box-right {
        width: 100%;
        padding-top: 10px;
    }
    


      /* titles */
    .editor_title_green {
        letter-spacing : 3px;
        letter-spacing: 1px;
        margin-bottom: 10px;
        font-size: 1.5em;
    }

    .editor_title_green:first-of-type {
        margin-top: 20px;
        width: 95%;
    }


    /* generic font */
    p, .content {
        margin-bottom: 8px;
    }

    ul, li, ol, p, .content {
        font-size:16px;
    }
    
    .page_content {
        line-height: 1.2em;
    }

    .page_content-info {
        margin-top: 0;
        margin-bottom: 20px;
    }

}

@media only screen and (max-width: 480px) {
    .editor_table_course tr td:nth-child(1), .editor_table_course tr th:nth-child(1) {
        width: 120px;
    }

    .photo_item {
        height: 100px;
        width: 100px;
        object-fit:cover;
    }
}

