/*html {*/
/*    position: absolute;*/
/*}*/

#main-html {
    font-size: 14pt;
    line-height: 1.4;
    height: 100%;
    width: 100%;
    font-family: 'Rubik', sans-serif;
}

#main-body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

#main-body #content-wrapper h1:first-child,
#main-body #content-wrapper h2:first-child,
#main-body #content-wrapper h3:first-child,
#main-body #content-wrapper h4:first-child,
#main-body #content-wrapper h5:first-child,
#main-body #content-wrapper h6:first-child {
    margin-top: 0;
}
#main-body h3 {
    font-size: 1.33em;
}
#main-body h4 {
    font-size: 1.1em;
}
#main-body h1,
#main-body h2,
#main-body h3,
#main-body h4,
#main-body h5,
#main-body h6 {
    margin-bottom: 0.2em;
    color: #F04E53;
    /*color: #71619d;*/
}
#main-body ul,ol,p {
    margin-top: 0;
}

#main-body a {
    color: #F04E53;
    /*color: #71619d;*/
}

/*#main-body a:hover {*/
/*    color: #555;*/
/*}*/

#copyright {
    background-color: #272a2b;
    color: white;
    text-align: center;
    font-size: 10px;
    /* border-top: 1px solid #4b4c4d; */
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

#page-wrapper {
    display: flex;
    flex-shrink: 0;
    flex-direction: row;
    flex-grow: 1;
    padding: 6em 150px 1.5em 150px;
    /*max-width: 1140px;*/
}

.menu {
    display: flex;
}
.end-section {
    flex-grow: 1;
}

.dropdown .menu {
    display: none;
}

.dropdown:hover .menu {
    display: flex;
    position: fixed;
}

#content-wrapper {
    flex-grow: 1;
    width: 50%;
}

.collapsible {
    color: #F04E53;
    /*color: #71619d;*/
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    text-align: left;
    font-size: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    align-items: center;
    font-family: 'Rubik', sans-serif;
}

.active, .collapsible:hover {
    background-color: #eee;
}

.active .collapse-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    padding: 20px;
    display: none;
    overflow: hidden;
    font-family: 'Rubik', sans-serif;
}
.no-margin {
    margin: 0;
}

.tab {
  overflow-x: scroll;
  display: flex;
  flex-direction: row;
    margin-top: 1em;
}

.tab button {
  border: 1px solid white;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  background-color: #ddd;
  flex-grow: 1;
  box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
}

.tab button:hover {
  background-color: #eee;
}

.tab button.active {
  background-color: white;
  border-top: 3px solid #F04E53;
  /*  border-top: 3px solid #71619d;*/
}


.tabcontent {
  display: none;
  padding: 1.5em 0.5em;
  flex-direction: row;
  flex-wrap: wrap;
}
.tab-content li {
    margin-bottom: 0;
}
.latest-wrapper {
    width: 50%;
    box-sizing: border-box;
    padding-right: 40px;
}

#error-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

#error-title {
    font-size: 8em;
    line-height: 1em;
}

#home-page-wrapper {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    padding: 5.5em 0 1.5em 0;
}

.footer-icon i {
    font-size: 24px;
    width: 100%;
    text-align: center;
    text-decoration: none;
}
.end-section i {
    width: 28px;
}

.latest-tabbed-view-list {
    padding-left: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.latest-tabbed-view-list li {
    padding-right: 2em;
    width: 50%;
    box-sizing: border-box;
}
@media only all and (max-width: 750px) {
    .latest-tabbed-view-list li {
        width: 100%;
    }
}
.open + .header-sub-menu {
    display: flex;
    position: fixed;
}
.no-link-format {
    text-decoration: none;
    color: black !important;
}
.no-link-format:hover {
    color: black;
}

.preview {
    border: 1px solid #666;
    margin: 1em;
    width: calc(100% - 2em) !important;
}

#other-sites-footer {
    background-color: #272a2b;
    color: white;
    padding: 1em 150px;
    font-size: 0.8em;
}

#other-sites-footer a {
    color: white;
}


#other-sites-footer p {
    margin: 0;
}

.no-list-format {
    list-style-type: none;
    padding: 0;

}

@media only all and (max-width: 1500px) {
    #header, #footer, #page-wrapper, #other-sites-footer{
        padding-left: 10% !important;
        padding-right: 10% !important;
    }
}

@media only all and (max-width: 800px) {
    .cover-story-flex {
        flex-direction: column-reverse !important;
    }

    .cover-story-photo-container {
        max-width: 80%;
        min-width: 80% !important;
        align-self: center;
        margin-left: 0 !important;
    }
}

@media only all and (max-width: 1000px) {
    .sidebar {
        display: none;
    }
    .cover-story, .cover-story-bottom-banner {
        margin-left: -2vw !important;
        margin-right: -2vw !important;
        padding-left: 2% !important;
        padding-right: 2% !important;
    }
    #header, #footer, #page-wrapper, #home-page-content, #other-sites-footer, .main-content-padding{
        padding-left: 2% !important;
        padding-right: 2% !important;
    }
    #header a:not(:first-child),
    .dropdown {
    display: none;
    }
    #header .hamburger {
    display: block !important;
    position: absolute;
    right: 0;
    top: 0;
    }
    #header.responsive a,
    #header.responsive .dropdown {
    display: inline-block;
    text-align: left;
    }
    #header.responsive .dropdown {float: none;}
    #header.responsive .dropdown-content {position: relative;}
    #header.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
    }
    #header {
      flex-direction: column !important;
    }
    #header.responsive .underline-on-hover,
    #header.responsive .dropdown-button a,
    #header.responsive .dropdown-button i
    {
      padding: 0.8em !important;
    }
    #header.responsive .dropdown:hover i {
     transform: rotate(180deg);
    }
    #header.responsive .header-item {
      background-color: white;
      align-self: center;
      padding: 0;
      border-bottom: 1px solid #999999;
      width: 105%;
      height: unset;
      box-sizing: border-box;
    }

    #header.responsive .header-item:hover {
      /*text-decoration: underline;*/
      background-color: #eeeeee;
        border-top: none;
    }
    #header.responsive .dropdown {
      height: unset;
    }
    #header.responsive .dropdown:hover .menu {
        position: unset;
        width: 100%;
    }
    #header.responsive .open + .header-sub-menu {
        position: unset;
        width: 100%;
    }
    #header.responsive .dropdown:hover .header-sub-menu-item {
        width: 100%;
    }
    #header.responsive .open + .header-sub-menu .header-sub-menu-item {
        width: 100%;
    }
    #header.responsive .dropdown-button {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    #header.responsive .header-sub-menu {
        margin: 0;
    }
    #header.responsive .header-item {
        margin-top: -0.4em;
        border-top: 1px solid #999999 !important;
    }
    #header.responsive .header-item ~ .header-item {
        margin-top: 0;
        border-top: none !important;
    }
    #header.responsive .header-sub-menu {
        border-top: none;
    }
    #header.responsive .header-sub-menu-item {
        border-top: 1px solid #999999;
        border-bottom: none;
        padding-left: 2em;
    }


}

p img {
    display: block;
    width: 60%;
    height: auto;
    margin: auto;
}

@media only all and (max-width: 800px) {
    p img {
        width: 80%;
    }
}

@media only all and (max-width: 400px) {
    p img {
        width: 100%;
    }
}

p iframe:not(.no-iframe-format) {
    width: 80%;
    margin: 0 10%;
    height: 25vw;
}



/*@media only all and (max-width: 800px) {*/
/*    .sidebar {*/
/*        display: none;*/
/*    }*/
/*    #header, #footer, #page-wrapper{*/
/*        padding-left: 2% !important;*/
/*        padding-right: 2% !important;*/
/*    }*/
/*}*/

.search-results {
    margin-top: 17.43pt;
}

.search-form+ul.un-bullet-list {
    margin-top: 17.43pt !important;
}

.hide-scroll {
    overflow: hidden;
}

