/*******************************************************************************
//
// General styles for pages
//
*******************************************************************************/

/* Forms */
@media only screen and (min-width: 1024px) {
  .gallery_order_container {
    width: 80%;
    margin-left: 10%;
  }
  .gallery_order, .gallery_order_no_hover {
    min-height: 170px;
  }
  .gallery_order_image {
    width: 50%;
  }
  .gallery_order_image_25 {
    width: 25%;
  }
  .gallery_order_image, .gallery_order_numbered_image, .gallery_order_image_25 {
    min-height: 160px;
  }
  .gallery_order_image img, .gallery_order_numbered_image img, .gallery_order_image_25 img {
    padding: 10px 20px;
  }
  .gallery_order_text {
    width: 50%;
  }
  .gallery_order_text_25 {
    width: 25%;
  }
  .gallery_order_text_title {
    font-size: 1.4em;
  }
  .full_gallery_order_container {
    width: 90%;
    margin-left: 5%;
  }
  .full_gallery_order_container .gallery_order_slimming_image {
    width: 40%;
  }
  .full_gallery_order_container .gallery_order_fattening_text {
    width: 50%;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .gallery_order_container {
    width: 90%;
    margin-left: 5%;
  }
  .full_gallery_order_container {
    width: 95%;
    margin-left: 2.5%;
  }
  .gallery_order, .gallery_order_no_hover {
    min-height: 130px;
  }
  .gallery_order_image {
    width: 50%;
  }
  .gallery_order_image_25 {
    width: 25%;
  }
  .gallery_order_image, .gallery_order_numbered_image, .gallery_order_image_25 {
    min-height: 120px;
  }
  .gallery_order_image img, .gallery_order_numbered_image img, .gallery_order_image_25 img {
    padding: 10px;
  }
  .gallery_order_text {
    width: 45%;
  }
  .gallery_order_text_25 {
    width: 25%;
  }
  .gallery_order_text_title {
    font-size: 1.4em;
  }
  .full_gallery_order_container .gallery_order_slimming_image {
    width: 30%;
  }
  .full_gallery_order_container .gallery_order_fattening_text {
    width: 60%;
  }
}
@media only screen and (max-width: 767px) {
  .gallery_order_container {
    width: 90%;
    margin-left: 5%;
  }
  .full_gallery_order_container {
    width: 95%;
    margin-left: 2.5%;
  }
  .gallery_order, .gallery_order_no_hover {
    min-height: 90px;
  }
  .gallery_order_image {
    width: 30%;
  }
  .gallery_order_image_25 {
    width: 25%;
  }
  .gallery_order_image, .gallery_order_numbered_image, .gallery_order_image_25 {
    min-height: 80px;
  }
  .squash_gallery_order_container .gallery_order_image {
    width: 40% !important;
  }
  .gallery_order_image img, .gallery_order_image_25 img {
    padding: 5px;
  }
  .gallery_order_text {
    width: 65%;
  }
  .gallery_order_text_25 {
    width: 45%;
  }
  .gallery_order_full_text {
    width: 100%;
  }
  .squash_gallery_order_container .gallery_order_text {
    width: 55% !important;
  }
  .gallery_order_text_title {
    font-size: 1.2em;
  }
  .full_gallery_order_container .gallery_order_slimming_image {
    width: 25%;
  }
  .full_gallery_order_container .gallery_order_fattening_text {
    width: 65%;
  }
}
.gallery_order_container, .full_gallery_order_container {
  display: block;
  margin-top: 30px;
}
.gallery_order, .gallery_order_no_hover {
  display: block;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 20px;
}
.gallery_order:hover {
  background-color: rgba(0, 126, 167, 0.4);
  border-radius: 20px;
  cursor: pointer;
}
.gallery_order > div, .gallery_order_no_hover > * {
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
}
.gallery_order_image, .gallery_order_numbered_image, .gallery_order_image_25 {
  box-sizing: border-box;
  position: relative;
  height: 100%;
}
.gallery_order_image img, .gallery_order_numbered_image img, .gallery_order_image_25 img {
  max-width: 100%;
  max-height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  box-sizing: border-box;
  position: absolute;
}
.gallery_order_text p, .gallery_order_numbered_text p, .gallery_order_text_25 p, .gallery_order_text_insides p {
  width: 100% !important;
  word-wrap: break-word;
  display: inline-block;
  box-sizing: border-box;
  margin: 5px 0px;
}
.gallery_order_text_insides {
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.gallery_order_text_insides audio {
  max-width: 100%;
}
.selected_gallery_order {
  background-color: rgba(109, 174, 219, 0.3);
}
.gallery_order_text_title {
  font-weight: bold;
}
.gallery_ordering_arrows p {
  display: inline-block;
  margin: 10px 10px;
  width: 20px !important;
}
.gallery_ordering_arrows p:hover {
  cursor: pointer;
}
.gallery_order_number {
  position: relative;
  text-align: center;
  width: 10%;
}
.gallery_order_number p {
  margin: 0px;
}
.gallery_order_numbered_image {
  width: 43%;
}
.gallery_order_numbered_text {
  width: 43%;
}
.gallery_order_colour_1 {
  background-color: rgb(208, 231, 251);
}
.gallery_order_multi_text p {
  width: auto !important;
  position: relative;
}
.gallery_order_text_icon {
  position: relative;
  height: 1em;
  padding: 0px 10px;
}
@media only screen and (min-width: 426px) {
  .gallery_order_text_icon {
    top: 3px;
  }
}
@media only screen and (max-width: 425px) {
  .gallery_order_text_icon {
    top: 2px;
  }
}
.gallery_order_fattening_text {
  padding: 10px 0px;
}

/* Side panel */
@media only screen and (min-width: 769px) {
  .side_navigation_elements {
    height: calc(100% - 220px);
  }
  .side_navigation .side_navigation_logo {
    padding: 20px;
  }
  .side_navigation_wide .side_navigation_logo {
    padding: 20px 45px;
  }
  .side_navigation_logo img {
    width: 110px;
    height: 110px;
    border-radius: 100px;
  }
  .side_navigation_logo img:hover {
    cursor: pointer;
  }
  .side_navigation_accessor {
    display: none;
  }
  .side_navigation, .side_navigation .side_navigation_text {
    width: 150px;
  }
  .side_navigation_wide, .side_navigation_wide .side_navigation_text {
    width: 200px;
  }
  .side_navigation_element {
    padding: 10px 10px 0px;
    width: 150px;
    height: 140px;
  }
  .side_navigation_inner_element {
    padding: 10px;
    width: 130px;
    height: 130px;
  }
  .side_navigation_inner_element:hover {
    border: 0px;
    border-radius: 30px;
  }
  .side_navigation_inner_element img {
    width: 40px;
    height: 40px;
    margin-top: 15px;
  }
  .side_navigation_inner_element p {
    margin-top: 10px;
    margin-bottom: 0px;
  }
}
@media only screen and (max-width: 768px) and (min-width: 426px) {
  .side_navigation_elements {
    height: calc(100% - 220px);
  }
  .side_navigation_logo img {
    width: 80px;
    height: 80px;
    border-radius: 80px;
  }
  .side_navigation_wide .side_navigation_logo {
    display: none;
    margin-top: 20px;
    padding: 0px 60px;
  }
  .side_navigation_open, .side_navigation_open .side_navigation_text {
    width: 120px !important;
  }
  .side_navigation_open_wide, .side_navigation_open_wide .side_navigation_text {
    width: 200px !important;
  }
  .side_navigation_element {
    padding: 0px 10px;
    width: 120px;
  }
  .side_navigation_inner_element {
    padding: 10px 0px;
    width: 100px;
    display: none;
  }
}
@media only screen and (max-width: 425px) {
  .side_navigation_elements {
    height: calc(100% - 170px);
  }
  .side_navigation_logo img {
    width: 50px;
    height: 50px;
    border-radius: 50px;
  }
  .side_navigation_wide .side_navigation_logo {
    display: none;
    margin-top: 20px;
    padding: 0px 50px;
  }
  .side_navigation_open, .side_navigation_open .side_navigation_text {
    width: 90px !important;
  }
  .side_navigation_open_wide, .side_navigation_open_wide .side_navigation_text {
    width: 150px !important;
  }
  .side_navigation_element {
    padding: 0px 10px;
    width: 90px;
  }
  .side_navigation_inner_element {
    padding: 10px 0px;
    width: 70px;
    display: none;
  }
  .side_navigation_title p {
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: bold;
  }
}
@media only screen and (max-width: 768px) {
  .side_navigation .side_navigation_logo {
    display: none;
    margin-top: 20px;
    padding: 0px 20px;
  }
  .side_navigation_accessor {
    width: 30px;
    padding-top: 4px;
    text-align: center;
  }
  .side_navigation_accessor img:hover {
    cursor: pointer;
  }
  .side_navigation, .side_navigation_wide {
    width: 30px;
  }
  .side_navigation_open .side_navigation_logo, .side_navigation_open_wide .side_navigation_logo,
    .side_navigation_open .side_navigation_inner_element, .side_navigation_open_wide .side_navigation_title,
    .side_navigation_open .side_navigation_text, .side_navigation_open_wide .side_navigation_text,
    .side_navigation_open_wide .side_navigation_sub_title {
    display: block;
  }
  .side_navigation_inner_element p {
    margin: 0px;
  }
  .side_navigation_title, .side_navigation_sub_title, .side_navigation_text, .side_navigation_inner_element img {
    display: none;
  }
}
.side_navigation_elements {
  overflow-y: auto;
  overflow-x: hidden;
}
.side_navigation_elements::-webkit-scrollbar {
  width: 10px;
}
.side_navigation_elements::-webkit-scrollbar-track {
  background: #054280;
}
.side_navigation_elements::-webkit-scrollbar-thumb {
  background: #007EA7;
}
.side_navigation, .side_navigation_wide {
  background-color: #054280;
  color: white;
  height: 100%;
  position: fixed;
  top: 0px;
  box-sizing: border-box;
  z-index: 800;
}
.side_navigation_wide {
  overflow-y: auto;
}
.side_navigation_logo {
  display: block;
  background-color: #054280;
}
.side_navigation_bottom {
  position: absolute;
  bottom: 10px;
}
.side_navigation_element {
  display: block;
  box-sizing: border-box;
  color: white !important;
}
.side_navigation_inner_element {
  box-sizing: border-box;
  text-align: center;
}
.side_navigation_inner_element:hover {
  background-color: #08509B;
  cursor: pointer;
}
.side_navigation_text {
  text-align: center;
  font-size: 0.9em;
}
.side_navigation_title {
  text-align: center;
  font-size: 1.1em;
  color: white;
}
.side_navigation_title p {
  margin-top: 10px;
  font-weight: bold !important;
  padding: 10px 0px;
}
.side_navigation_title a {
  color: white;
}
.side_navigation_sub_title {
  text-align: center;
  margin-top: 30px;
}
.side_navigation_sub_title p {
  font-weight: bold;
}
.side_navigation_selected_text, .side_navigation_text p:hover, .side_navigation_title p:hover {
  background-color: #007EA7;
}
.side_navigation_text p, .side_navigation_text a {
  color: white;
  margin: 0px;
  padding: 5px 0px;
}
.side_navigation_accessor:hover {
  cursor: pointer;
}

/* Scroll bar on the navigation */
.side_navigation_wide::-webkit-scrollbar {
  width: 10px;
}
.side_navigation_wide::-webkit-scrollbar-track {
  background: #054280;
}
.side_navigation_wide::-webkit-scrollbar-thumb {
  background: #007EA7;
}
.side_navigation_wide::-webkit-scrollbar-thumb:hover {
  background: #007EA7;
}

/* Page that has side navigation on it */
@media only screen and (min-width: 769px) {
  .page_with_navigation {
    margin-left: 200px;
  }
  .page_with_navigation_slim {
    margin-left: 200px;
  }
  .colour_section {
    padding: 30px 10% 50px;
  }
}
@media only screen and (max-width: 768px) {
  .page_with_navigation, .page_with_navigation_slim {
    margin-left: 40px;
  }
  .shownav .page_with_navigation, .shownav .page_with_navigation_slim {
    margin-left: 200px;
  }
  .shownav .page_with_navigation .action_bar,
  .shownav .page_with_navigation .page_content{
    padding-left:65px;
  }
  .shownav .page_with_navigation .action_bar .action{
    font-size:13px;
  }
  .colour_section {
    padding: 20px 5% 30px;
  }
}
.page_with_navigation {
  min-height: 100%;
  overflow: hidden;
}
.colour_section {
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  text-align: center;
}
.colour_section_1 {
  background-color: white;
}
.colour_section_2 {
  background-color: #E6F2FD;
}
.colour_section_divider {
  width: 100%;
  height: 20px;
  background-color: #007EA7;
}
.contain_floats {
  overflow: hidden;
}

/* Title */
@media only screen and (min-width: 426px) {
  .small_content_sub_title {
    font-size: 1.6em;
  }
}
@media only screen and (max-width: 425px) {
  .small_content_sub_title {
    font-size: 1.3em;
  }
}
.small_content_sub_title {
  margin-top: 20px;
}
.small_content_sub_title_text {
  margin-top: 10px;
}



/*******************************************************************************
//
// Tables
//
*******************************************************************************/

.two_column_table .column {
  width: 49%;
  display: inline-block;
}
.column_table .row {
  padding: 10px 0px;
}
.column_table p {
  text-align: center;
  margin: 0px;
}
.three_column_table .column {
  width: 32%;
  box-sizing: border-box;
  display: inline-block;
}
.four_column_table .column {
  width: 24.5%;
  box-sizing: border-box;
  display: inline-block;
}
.five_column_table .column {
  width: 20%;
  box-sizing: border-box;
  display: inline-block;
}
.table_title {
  font-weight: bold;
}


/*******************************************************************************
//
// Page Section Buttons for toggling full sections open and closed
//
*******************************************************************************/

.page_version_buttons {
  text-align: center;
}
.page_version_button {
  display: inline-block;
  border: 5px solid #007EA7;
  border-radius: 40px;
  margin: 0px 15px;
}
.page_version_button:hover {
  background-color: #007EA7;
  cursor: pointer;
}
.page_version_button:hover p {
  color: white;
}
.page_version_button p {
  margin: 10px;
}
.page_version_button_selected {
  background-color: #007EA7;
}
.page_version_button_selected p {
  color: white;
}

/*******************************************************************************
//
// Tables
//
*******************************************************************************/

.table .row {
  width: 100%;
  overflow: hidden;
  padding: 5px 0px;
  box-sizing: border-box;
}
.table .row_33_slim, .table .row_33, .table .row_33_wide, .row_25, .row_20, .row_10 {
  box-sizing: border-box;
  display: inline-block;
  word-wrap: break-word;
  vertical-align: top;
}
.table .row_10 {
  width: 10%;
}
.table .row_33 {
  width: 32%;
}
.table .row_20 {
  width: 20%;
}
.table .row_25 {
  width: 25%;
}
@media only screen and (min-width: 700px) {
  .table .row_33_slim {
    width: 32.5%;
  }
}
@media only screen and (min-width: 1250px) {
  .table .row_33_wide {
    width: 32.5%;
  }
}
@media only screen and (max-width: 1249px) and (min-width: 700px) {
  .table .row_33_wide {
    width: 60%;
  }
}
@media only screen and (max-width: 699px) {
  .table .row_33_wide {
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
    word-wrap: break-word;
    text-align: center;
  }
  .table .row_33_slim {
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
    word-wrap: break-word;
    text-align: center;
  }
}
@media only screen and (min-width: 425px) {
  .table .row {
    font-size: 1.2em;
  }
}
@media only screen and (max-width: 425px) {
  .table .row {
    font-size: 0.8em;
  }
}
.row_50 {
  width: 49%;
  display: inline-block;
  box-sizing: border-box;
}
.row_50 {
  margin: 5px 0px;
}


/*******************************************************************************
//
// Pagination
//
*******************************************************************************/
.pagination {
  margin-top: 40px;
}
.pagination a {
  display: inline-block;
  border-radius: 30px;
  width: 15px;
  background-color: #08509B;
  color: white;
  padding: 0px 5px;
  text-decoration: none;
}
.pagination > p {
  display: inline-block;
  margin: 0 20px;
}
.pagination > a > p {
  margin: 0;
}


/*******************************************************************************
//
// Setting Sections
//
*******************************************************************************/
.setting_section {
  margin-bottom: 40px;
}
.setting_section img {
  margin-bottom: 20px;
}
.setting_section .form_trigger {
  margin-top: 0px;
}


/*******************************************************************************
//
// KPIs
//
*******************************************************************************/
.kpi {
  border-radius: 30px;
  padding: 10px;
  margin: 10px;
  display: inline-block;
  color: white;
}
.kpi_colour_1 {
  background-color: #4B3F72;
}
.kpi_colour_2 {
  background-color: #054280;
}
.kpi_colour_3 {
  background-color: #8FC93A;
}
.kpi_colour_4 {
  background-color: #E18335;
}
.kpi_colour_5 {
  background-color: #007EA7;
}
.kpi_insides {
  display: table;
}
.kpi_insides_2 {
  display: table-cell;
  vertical-align: middle;
}
.kpi_insides_2 p {
  margin: 15px 0px;
}
@media only screen and (min-width: 768px) {
  .kpi, .kpi_insides {
    width: 170px;
    height: 170px;
  }
}
@media only screen and (max-width: 767px) {
  .kpi, .kpi_insides {
    width: 120px;
    height: 120px;
  }
}


/*******************************************************************************
//
// Progress Bars
//
*******************************************************************************/
.progress_bar_container {
  overflow: hidden;
  text-align: center;
}
.progress_bar {
  border-radius: 30px;
  border: 2px solid black;
  overflow: hidden;
}
.progress_bar p {
  text-align: center;
  color: white;
  margin: 0px;
}
.progress_bar .progress {
  background-color: #054280;
}


/*******************************************************************************
//
// Big round circles
//
*******************************************************************************/
.big_circle {
  display: inline-block;
  margin: auto;
  width: 60px;
  height: 60px;
  line-height: 60px;
  padding: 40px;
  border-radius: 100px;
  color: white;
  font-size: 2em;
}
.big_blue_circle {
  background-color: #007EA7;
}
.big_red_circle {
  background-color: #FE4A49;
}

/*******************************************************************************
//
// Lists
//
*******************************************************************************/
.tick_list {
  list-style: none;
  padding: 0px;
}
@media only screen and (min-width: 768px) {
  .tick_list li {
    padding: 10px 0px;
  }
}
@media only screen and (max-width: 767px) {
  .tick_list li {
    padding: 5px 0px;
  }
}
.tick_list li:before {
  content: '✓';
  margin-right: 30px;
}
ul {
  list-style-position: inside;
}


/*******************************************************************************
//
// Override slider colours
//
*******************************************************************************/
.splide__pagination__page {
  background: #054280 !important;
}
.splide__pagination__page.is-active {
  background: #007EA7 !important;
}


/*******************************************************************************
//
// Background colour changes
//
*******************************************************************************/
.mouse_over_colour:hover {
  background: rgba(0, 126, 167, 0.4);
}


/*******************************************************************************
//
// Background colour changes
//
*******************************************************************************/
.circled_image {
  display: inline-block;
  vertical-align: top;
}
.circled_image_insides {
  border-radius: 160px;
  border: 1px solid #054280;
  width: 140px;
  overflow: hidden;
  display: block;
  margin: auto;
}
.circled_image img {
  width: 80px;
  padding: 30px;
  background-color: white;
}


/*******************************************************************************
//
// Blog styles
//
*******************************************************************************/
.blog_main_container {
  padding: 20px !important;
}
.blog_container, .blog_main_container {
  display: inline-block;
  box-sizing: border-box;
}
.blog_section {
  text-align: left;
  box-sizing: border-box;
  padding: 20px 10px 30px !important;
}
.blog_container .blog_header, .blog_main_container .blog_header {
  height: 70px;
}
.blog_section img {
  width: 100%;
  padding-bottom: 10px;
}
@media only screen and (min-width: 1251px) {
  .blog_section h3 {
    height: 40px;
  }
}
@media only screen and (max-width: 1250px) and (min-width: 425px) {
  .blog_section h3 {
    height: 60px;
  }
}
.blog_side_container {
  display: inline-block;
  background-color: rgb(230,242,253);
  box-sizing: border-box;
  padding: 20px !important;
}
@media only screen and (max-width: 786px) {
  #blog_side_menu {
    position: absolute;
    right: 0px;
    width: 50%;
  }
}


/*******************************************************************************
//
// Full width popups
//
*******************************************************************************/
.full_width_bottom_popup {
  clear: both;
  display: block;
  overflow: hidden;
  background-color: #054280;
}
.full_width_bottom_popup * {
  color: white;
}


/*******************************************************************************
//
// Maps
//
*******************************************************************************/
.full_screen_map {
  display: block;
  width: 100%;
  height: 100%;
}
