@charset "utf-8";
@import url("fontawesome-free/css/all.css");
@import url("framework.css");
.row0,
.row0 a {}

.row1,
.row1 a {}

.row2,
.row2 a {}

.row3,
.row3 a {}

.row4,
.row4 a {}

.row5,
.row5 a {}

.service-list {
    font-size: 15px;
    line-height: 1.4; /* Mengatur tinggi baris agar lebih rapat */
    margin: 5px 0; /* Mengurangi jarak antar paragraf */
}

#header {
    padding: 50px 0;
}

#header #logo * {
    margin: 0;
    padding: 0;
    line-height: 1;
}

#header #logo h1 {
    font-size: 32px;
}

#header #logo p {
    font-size: .8rem;
}

#header ul {}

#header ul li {}

#header ul li div {
    position: relative;
    min-height: 45px;
    padding: 0 0 0 60px;
    line-height: 1;
    word-wrap: break-word;
}

#header ul li div i {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    text-align: center;
    border-radius: 50%;
}

#header ul li div span {
    display: block;
    padding: 4px 0 0 0;
}

#header ul li div strong {
    display: block;
    margin: 0 0 8px 0;
}

#header div:last-child {
    margin-bottom: 0;
}


/* Used when elements stack in small viewports */

#navwrapper {
    padding: 0 0 0 20px;
}

#navwrapper #searchform {
    display: block;
    position: relative;
    float: right;
    height: 58px;
    line-height: 1;
    z-index: 999;
    border-radius: 10px 0;
}

#navwrapper #searchform::after {
    display: block;
    height: 58px;
    line-height: 58px;
    padding: 0 15px;
    font-size: 20px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f002"/* fa-search */
    ;
}

#navwrapper #searchform:hover::after,
#navwrapper #searchform button {
    cursor: pointer;
}

#navwrapper #searchform>div {
    position: absolute;
    top: 58px;
    right: 0;
    width: 280px;
    visibility: hidden;
    opacity: 0/* Required for transition effect */
    ;
}

#navwrapper #searchform:hover>div {
    visibility: visible;
    opacity: 1/* Required for transition effect */
    ;
}

#navwrapper #searchform form {
    display: block;
    position: relative;
}

#navwrapper #searchform form * {
    border: none;
}

#navwrapper #searchform input {
    display: block;
    width: 100%;
    height: 36px;
    padding: 8px 40px 8px 10px;
    font-size: 1rem;
}

#navwrapper #searchform ::placeholder {
    text-transform: capitalize;
}

#navwrapper #searchform button {
    display: block;
    position: absolute;
    top: 3px;
    right: 2px;
    height: 30px;
    font-size: 16px;
    line-height: 1;
}

#pageintro {
    padding: 180px 0;
}

#pageintro article {
    display: block;
    max-width: 55%;
}

#pageintro .heading {
    margin-bottom: 20px;
    font-size: 4rem;
}

#pageintro p:first-of-type {
    margin: 0 0 20px 0;
    text-transform: uppercase;
    font-size: 1.6rem;
    letter-spacing: 2px;
}

#pageintro p:last-of-type {
    font-size: 1.2rem;
}

#pageintro footer {
    margin-top: 50px;
}


/* Content Area
--------------------------------------------------------------------------------------------------------------- */

.container {
    padding: 80px 0;
}


/* Content */

.container .content {}

.sectiontitle {
    display: block;
    max-width: 55%;
    margin: 0 auto 80px;
    text-align: center;
}

.sectiontitle * {
    margin: 0;
}


/* Introblocks */

#introblocks {
    display: block;
    position: relative;
    margin: -150px 0 0 0;
    z-index: 1;
}


/* 180px => 100px + container padding */

#introblocks>ul>li {
    margin-bottom: 50px;
}

#introblocks>ul>li:nth-last-child(-n+3) {
    margin-bottom: 0;
}


/* Removes bottom margin from the last line of items - margin is restored in the media queries when items stack */

#introblocks>ul>li:nth-child(3n+1) {
    margin-left: 0;
    clear: left;
}


/* Removes the need to add class="first" */

#introblocks figure {}

#introblocks figure figcaption {
    display: block;
    padding: 30px 0 0 0;
}

#introblocks figure figcaption>a {}

#introblocks figure figcaption .heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0;
}


/* Stats */

#stats {}

#stats>li {
    display: block;
    float: left;
    width: 25%;
    border: solid;
    border-width: 0 1px 0 0;
    text-align: center;
}

#stats>li:last-child {
    border: none;
}

#stats>li * {
    margin: 0;
    padding: 0;
}

#stats>li i {
    margin-bottom: 30px;
    font-size: 5rem;
}

#stats>li p:first-of-type {
    margin-bottom: 15px;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

#stats>li p:last-of-type {
    text-transform: uppercase;
}


/* Latest */

.latest {
    margin-bottom: 80px;
}

.latest>li:last-child {
    margin-bottom: 0;
}


/* Used when elements stack in small viewports */

.latest article {
    position: relative;
    padding: 0 0 0 80px;
}

.latest article time {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
}

.latest article time * {
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
    text-transform: uppercase;
    font-style: normal;
    line-height: 1;
}

.latest article time strong {
    padding: 12px 0;
    font-size: 18px;
    border-bottom: 1px solid;
    opacity: .5;
}

.latest article time em {
    padding: 8px 0;
}

.latest article .excerpt .meta li {
    display: inline-block;
    font-size: .8rem;
}

.latest article .excerpt .meta li::after {
    margin-left: 5px;
    content: "|";
}

.latest article .excerpt .meta li:last-child::after {
    margin: 0;
    content: "";
}

.latest article .excerpt .heading {
    margin: 0;
    font-size: 1.2rem;
}

.latest article .excerpt p {
    margin-bottom: 30px;
}


/* Comments */

#comments ul {
    margin: 0 0 40px 0;
    padding: 0;
    list-style: none;
}

#comments li {
    margin: 0 0 10px 0;
    padding: 15px;
}

#comments .avatar {
    float: right;
    margin: 0 0 10px 10px;
    padding: 3px;
    border: 1px solid;
}

#comments address {
    font-weight: bold;
}

#comments time {
    font-size: smaller;
}

#comments .comcont {
    display: block;
    margin: 0;
    padding: 0;
}

#comments .comcont p {
    margin: 10px 5px 10px 0;
    padding: 0;
}

#comments form {
    display: block;
    width: 100%;
}

#comments input,
#comments textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid;
}

#comments textarea {
    overflow: auto;
}

#comments div {
    margin-bottom: 15px;
}

#comments input[type="submit"],
#comments input[type="reset"] {
    display: inline-block;
    width: auto;
    min-width: 150px;
    margin: 0;
    padding: 8px 5px;
    cursor: pointer;
}


/* Sidebar */

.container .sidebar {}

.sidebar .sdb_holder {
    margin-bottom: 50px;
}

.sidebar .sdb_holder:last-child {
    margin-bottom: 0;
}


/* Testimonials
--------------------------------------------------------------------------------------------------------------- */

#testimonials {}

#testimonials article {
    text-align: center;
}

#testimonials article * {
    margin: 0;
    padding: 0;
}

#testimonials article img {
    margin-bottom: 20px;
    border-radius: 50%;
}

#testimonials article blockquote {
    margin-bottom: 20px;
    padding: 20px;
}

#testimonials article blockquote::before {
    top: 5px;
    left: 5px;
    font-size: 30px;
    line-height: 30px;
}

#testimonials article .heading {
    font-size: 1.4rem;
}

#testimonials article em {
    display: block;
    margin-top: -5px;
    font-size: .8rem;
    font-style: normal;
}


/* Footer
--------------------------------------------------------------------------------------------------------------- */

#footer {
    padding: 80px 0;
}

#footer .heading {
    margin-bottom: 50px;
    font-size: 1.2rem;
}

#footer>div:first-of-type .heading {
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.8rem;
}

#footer>div:first-of-type .faico {
    margin-bottom: 30px;
}

#footer input,
#footer button {
    border: 1px solid;
}

#footer input {
    display: block;
    width: 100%;
    padding: 8px;
}

#footer button {
    padding: 8px 18px 10px;
    text-transform: uppercase;
    font-weight: 400;
    cursor: pointer;
}

#footer .linklist li {
    display: block;
    margin-bottom: 15px;
    padding: 0 0 15px 0;
    border-bottom: 1px solid;
}

#footer .linklist li:last-child {
    margin: 0;
    padding: 0;
    border: none;
}

#footer .linklist li::before,
#footer .linklist li::after {
    display: table;
    content: "";
}

#footer .linklist li,
#footer .linklist li::after {
    clear: both;
}

#footer .contact {}

#footer .contact.linklist li,
#footer .contact.linklist li:last-child {
    position: relative;
    padding-left: 40px;
}

#footer .contact li * {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

#footer .contact li i {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    font-size: 16px;
    text-align: center;
}

#footer .latestimg {}

#footer .latestimg>li {
    display: inline-block;
    float: left;
    width: 30%;
    margin: 0 0 5% 5%;
}

#footer .latestimg>li:nth-last-child(-n+3) {
    margin-bottom: 0;
}


/* Removes bottom margin from the last three items - margin is restored in the media queries when items stack */

#footer .latestimg>li:nth-child(3n+1) {
    margin-left: 0;
    clear: left;
}


/* Removes the need to add class="first" */

#footer .latestimg>li img {
    width: 100%;
}


/* Force the image to resize to take the full space - may have to be changed for tablets, depends on personal preference */

#footer .latestimg>li a.imgover {
    display: block;
}

#copyright {
    padding: 20px 0;
}

#copyright * {
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    transition: all .3s ease-in-out;
}

#mainav form * {
    transition: none !important;
}


/* ------------------------------------------------------------------------------------------------------------ */


/* ------------------------------------------------------------------------------------------------------------ */


/* ------------------------------------------------------------------------------------------------------------ */


/* ------------------------------------------------------------------------------------------------------------ */


/* ------------------------------------------------------------------------------------------------------------ */


/* Navigation
--------------------------------------------------------------------------------------------------------------- */

nav ul,
nav ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

#mainav,
#breadcrumb,
.sidebar nav {
    line-height: normal;
}

#mainav .drop::after,
#mainav li li .drop::after,
#breadcrumb li a::after,
.sidebar nav a::after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    line-height: 10px;
}


/* Top Navigation */

#mainav {
    display: block;
    float: left;
}

#mainav ul {
    text-transform: uppercase;
}

#mainav ul ul {
    z-index: 9999;
    position: absolute;
    width: 180px;
    text-transform: none;
    text-align: left;
}

#mainav ul ul ul {
    left: 180px;
    top: 0;
}

#mainav li {
    display: block;
    float: left;
    position: relative;
    margin: 0;
    padding: 0;
}

#mainav li:last-child {
    margin-right: 0;
}

#mainav li li {
    width: 100%;
    margin: 0;
}

#mainav li a {
    display: block;
    padding: 20px;
}

#mainav li li a {
    border: solid;
    border-width: 0 0 1px 0;
}

#mainav .drop {
    padding-left: 15px;
}

#mainav li li a,
#mainav li li .drop {
    display: block;
    margin: 0;
    padding: 10px 15px;
}

#mainav .drop::after,
#mainav li li .drop::after {
    content: "\f0d7";
}

#mainav .drop::after {
    top: 25px;
    left: 5px;
}

#mainav li li .drop::after {
    top: 15px;
    left: 5px;
}

#mainav ul ul {
    visibility: hidden;
    opacity: 0;
}

#mainav ul li:hover>ul {
    visibility: visible;
    opacity: 1;
}

#mainav form {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

#mainav form select,
#mainav form select option {
    display: block;
    cursor: pointer;
    outline: none;
}

#mainav form select {
    width: 100%;
    padding: 5px;
    border: none;
}

#mainav form select option {
    margin: 5px;
    padding: 0;
    border: none;
}


/* Breadcrumb */

#breadcrumb {
    padding: 150px 0 30px;
}

#breadcrumb ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-transform: uppercase;
}

#breadcrumb li {
    display: inline-block;
    margin: 0 6px 0 0;
    padding: 0;
}

#breadcrumb li a {
    display: block;
    position: relative;
    margin: 0;
    padding: 0 12px 0 0;
    font-size: 12px;
}

#breadcrumb li a::after {
    top: 4px;
    right: 0;
    content: "\f0da";
}

#breadcrumb li:last-child a {
    margin: 0;
    padding: 0;
}

#breadcrumb li:last-child a::after {
    display: none;
}

#breadcrumb .heading {
    margin: 0;
    font-size: 2rem;
}


/* Sidebar Navigation */

.sidebar nav {
    display: block;
    width: 100%;
}

.sidebar nav li {
    margin: 0 0 3px 0;
    padding: 0;
}

.sidebar nav a {
    display: block;
    position: relative;
    margin: 0;
    padding: 5px 10px 5px 15px;
    text-decoration: none;
    border: solid;
    border-width: 0 0 1px 0;
}

.sidebar nav a::after {
    top: 10px;
    left: 5px;
    content: "\f0da";
}

.sidebar nav ul ul a {
    padding-left: 35px;
}

.sidebar nav ul ul a::after {
    left: 25px;
}

.sidebar nav ul ul ul a {
    padding-left: 55px;
}

.sidebar nav ul ul ul a::after {
    left: 45px;
}


/* Pagination */

.pagination {
    display: block;
    width: 100%;
    text-align: center;
    clear: both;
}

.pagination li {
    display: inline-block;
    margin: 0 2px 0 0;
}

.pagination li:last-child {
    margin-right: 0;
}

.pagination a,
.pagination strong {
    display: block;
    padding: 8px 11px;
    border: 1px solid;
    background-clip: padding-box;
    font-weight: normal;
}


/* Back to Top */

#backtotop {
    z-index: 999;
    display: inline-block;
    position: fixed;
    visibility: hidden;
    bottom: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 16px;
    text-align: center;
    opacity: .2;
}

#backtotop i {
    display: block;
    width: 100%;
    height: 100%;
    line-height: inherit;
}

#backtotop.visible {
    visibility: visible;
    opacity: .5;
}

#backtotop:hover {
    opacity: 1;
}


/* Tables
--------------------------------------------------------------------------------------------------------------- */

table,
th,
td {
    border: 1px solid;
    border-collapse: collapse;
    vertical-align: top;
}

table,
th {
    table-layout: auto;
}

table {
    width: 100%;
    margin-bottom: 15px;
}

th,
td {
    padding: 5px 8px;
}

td {
    border-width: 0 1px;
}


/* Gallery
--------------------------------------------------------------------------------------------------------------- */

#gallery {
    display: block;
    width: 100%;
    margin-bottom: 50px;
}

#gallery figure figcaption {
    display: block;
    width: 100%;
    clear: both;
}

#gallery li {
    margin-bottom: 30px;
}


/* Font Awesome Social Icons
--------------------------------------------------------------------------------------------------------------- */

.faico {
    margin: 0;
    padding: 0;
    list-style: none;
}

.faico li {
    display: inline-block;
    margin: 8px 5px 0 0;
    padding: 0;
    line-height: normal;
}

.faico li:last-child {
    margin-right: 0;
}

.faico a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 18px;
    text-align: center;
}

.faico a {
    color: #FFFFFF;
    background-color: #2A2D34;
}

.faico a:hover {}

.faicon-instagram:hover {
    background-color: #EA4C89;
}

.faicon-facebook:hover {
    background-color: #3B5998;
}

.faicon-google-plus:hover {
    background-color: #DB4A39;
}

.faicon-linkedin:hover {
    background-color: #0E76A8;
}

.faicon-twitter:hover {
    background-color: #00ACEE;
}

.faicon-vk:hover {
    background-color: #4E658E;
}

body {
    color: #474747;
    background-color: #FFFFFF;
}

.menu {
    padding: 0;
    margin: 0;
    display: inline-block;
    background-color: #1a5aaa;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    text-transform: capitalize;
    padding: 20px 25px;
    border-radius: 20px;
    letter-spacing: 0.25px;
    transition: all .4s;
}

.menu {
    background: #232323;
    padding: 10px;
    color: #fff;
    font-family: "open sans";
    overflow: hidden;
    margin: 0;
}

.judul {
    float: left;
    margin: 0;
}

.menu {
    position: fixed;
    background: #f6f6f6;
    color: #232323;
    height: 100%;
    width: 200px;
    top: 0;
    left: -300px;
    -webkit-transition: left 1s;
    transition: left 1s;
    padding: 20px;
    border: solid;
}

.menu ul {
    padding: 0;
}

.menu li {
    list-style-type: none;
    padding: 10px 0px;
}

.menu a {
    color: #232323;
    text-decoration: none;
    font-size: 10pt;
}

.tombol {
    float: left;
    background: transparent;
    padding: 5px;
    border: 1px solid;
    cursor: pointer;
    position: align-centre;
    display: inline-block;
    background-color: #1b1e23;
    font-size: 15px;
    font-weight: 200;
    color: #fff;
    text-transform: capitalize;
    padding: 5px 10px;
    border-radius: 10px;
    letter-spacing: 0.25px;
    border-bottom: 2px solid #1a5aaa!important;
    transition: all .3s;
}

.slide-menu-tampil {
    left: 0 !important;
}

a {
    color: #1a5aaa;
}

a:active,
a:focus {
    background: transparent;
}


/* IE10 + 11 Bugfix - prevents grey background */

hr,
.borderedbox {
    border-color: #D7D7D7;
}

label span {
    color: #FF0000;
    background-color: inherit;
}

input:focus,
textarea:focus,
*:required:focus {
    border-color: #1a5aaa;
}

.overlay {
    color: #FFFFFF;
    background-color: inherit;
}

.overlay::after {
    color: inherit;
    background-color: rgba(0, 0, 0, .55);
}

.overlay.light {
    color: #474747;
}

.overlay.light::after {
    background-color: rgba(255, 255, 255, .7);
}

.btn1,
.btn1.inverse:hover {
    display: inline-block;
    background-color: #1a5aaa;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    text-transform: capitalize;
    padding: 12px 25px;
    border-radius: 20px;
    letter-spacing: 0.25px;
    border-block: 6px solid #ffffff!important;
    transition: all .4s;
}

.btn1:hover,
.btn1.inverse {
    background-color: #1b1e23!important;
    color: #ffffff!important;
}

.btn0,
.btn0.inverse:hover {
    display: inline-block;
    background-color: #1a5aaa;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    text-transform: capitalize;
    padding: 20px 25px;
    border-radius: 20px;
    letter-spacing: 0.25px;
    border-block: 6px solid #1b1e23!important;
    transition: all .4s;
}

.btn0:hover,
.btn0.inverse {
    background-color: #1b1e23!important;
    color: #ffffff!important;
}

.btn,
.btn.inverse:hover {
    position: align-centre;
    display: inline-block;
    background-color: #1b1e23;
    font-size: 15px;
    font-weight: 200;
    color: #fff;
    text-transform: capitalize;
    padding: 5px 20px;
    border-radius: 23px;
    letter-spacing: 0.25px;
    border-bottom: 6px solid #1a5aaa!important;
    transition: all .3s;
}

.btn:hover,
.btn.inverse {
    background-color: #1a5aaa!important;
    color: #ffff!important;
}

.foot,
.foot.inverse:hover {
    position: centre;
    display: inline-block;
    background-color: #1b1e23;
    color: #fff;
    padding: 3px 15px;
    border-radius: 23px;
    letter-spacing: 0.25px;
    border-bottom: 0px solid #1a5aaa!important;
    transition: all .3s;
}

.foot:hover,
.foot.inverse {
    background-color: #1a5aaa!important;
    color: #ffff!important;
}

.imgover:hover::before {
    background-color: rgba(0, 0, 0, .55);
}

.imgover,
.imgover:hover::after {
    color: #1a5aaa;
}


/* Rows */

.row0,
.row0 a {}

.row1,
.row1 a {}

.row2 {
    color: #474747;
    background-color: #F4F4F4;
}

.row3 {
    color: #474747;
    background-color: #FFFFFF;
}

.row4 {
    color: #C1C2C4;
    background-color: #323639;
}

.row5,
.row5 a {
    color: #C1C2C4;
    background-color: #2A2D34;
}

.coloured {
    color: #FFFFFF;
    background: linear-gradient(90deg, #1A5AAA, #37AE6A);
}


/* Header */

#header #logo a {
    color: inherit;
}

#header ul li div i {
    background-color: #FFFFFF;
}

#header ul li div:hover i {
    color: #FFFFFF;
    background-color: #1a5aaa;
}


/* Navwrapper */

#navwrapper {
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, .35);
}

#navwrapper #searchform {
    color: #1a5aaa;
    background: #FFFFFF;
}

#navwrapper #searchform:hover {
    color: #1a5aaa;
}

#navwrapper #searchform input {
    color: #FFFFFF;
    background: #1a5aaa;
}

#navwrapper #searchform button {
    color: #FFFFFF;
    background: transparent;
}


/* Page Intro */

#pageintro {
    color: #FFFFFF;
}


/* Content Area */

#stats>li {
    border-color: #D7D7D7;
}

#stats>li i {
    color: rgba(0, 0, 0, .2);
}

#stats>li:hover i {
    color: rgba(0, 0, 0, .6);
}

.latest article time {
    color: #474747;
    background-color: #F4F4F4;
}

.latest article time strong {
    border-color: rgba(0, 0, 0, .2);
}


/* Testimonials */

#testimonials article blockquote {
    color: #474747;
    background-color: #FFFFFF;
}

#testimonials article blockquote::before {
    color: rgba(0, 0, 0, .1);
}


/* Footer */

#footer .heading {
    color: #FFFFFF;
}

#footer hr,
#footer .borderedbox,
#footer .linklist li {
    border-color: rgba(255, 255, 255, .1);
}

#footer input,
#footer button {
    border-color: transparent;
}

#footer input {
    color: #474747;
    background-color: #FFFFFF;
}

#footer input:focus {
    border-color: #1a5aaa;
}

#footer button {
    color: #FFFFFF;
    background-color: #1a5aaa;
}

#footer button:hover {
    color: inherit;
    background-color: transparent;
    border-color: inherit;
}


/* Navigation */

#mainav {}

#mainav li a {
    color: inherit;
}

#mainav .active a,
#mainav a:hover,
#mainav li:hover>a {
    color: #1a5aaa;
    background-color: inherit;
}

#mainav li li a,
#mainav .active li a {
    color: #FFFFFF;
    background-color: rgba(65, 195, 121, .5);
    /* #1a5aaa */
    border-color: rgba(0, 0, 0, .6);
}

#mainav li li:hover>a,
#mainav .active .active>a {
    color: #FFFFFF;
    background-color: #1A5AAA;
}

#mainav form select {
    color: #474747;
    background-color: #FFFFFF;
}

#breadcrumb a {
    color: inherit;
    background-color: inherit;
}

#breadcrumb li:last-child a {
    color: #1a5aaa;
}

.container .sidebar nav a {
    color: inherit;
    border-color: #D7D7D7;
}

.container .sidebar nav a:hover {
    color: #1a5aaa;
}

.pagination a,
.pagination strong {
    border-color: #D7D7D7;
}

.pagination .current * {
    color: #FFFFFF;
    background-color: #1a5aaa;
}

#backtotop {
    color: #FFFFFF;
    background-color: #1a5aaa;
}


/* Tables + Comments */

table,
th,
td,
#comments .avatar,
#comments input,
#comments textarea {
    border-color: #D7D7D7;
}

#comments input:focus,
#comments textarea:focus,
#comments *:required:focus {
    border-color: #1A5AAA;
}

th {
    color: #FFFFFF;
    background-color: #373737;
}

tr,
#comments li,
#comments input[type="submit"],
#comments input[type="reset"] {
    color: inherit;
    background-color: #FBFBFB;
}

tr:nth-child(even),
#comments li:nth-child(even) {
    color: inherit;
    background-color: #F7F7F7;
}

table a,
#comments a {
    background-color: inherit;
}

@-ms-viewport {
    width: device-width;
}


/* Max Wrapper Width - Laptop, Desktop etc.
--------------------------------------------------------------------------------------------------------------- */

@media screen and (min-width:1140px) {
    .hoc {
        max-width: 1140px;
    }
}

@media screen and (min-width:978px) and (max-width:1140px) {
    .hoc {
        max-width: 95%;
    }
}


/* Mobile Devices
--------------------------------------------------------------------------------------------------------------- */

@media screen and (max-width:978px) {
    .hoc {
        max-width: 90%;
    }
    #header {}
    #navwrapper #mainav {
        width: 80%;
        padding: 15px 0 0 0;
    }
    #navwrapper #mainav ul {
        display: none;
    }
    #navwrapper #mainav form {
        display: block;
    }
    #breadcrumb {}
    .container {}
    #comments input[type="reset"] {
        margin-top: 10px;
    }
    .pagination li {
        display: inline-block;
        margin: 0 5px 5px 0;
    }
    #footer {}
    #copyright {}
    #copyright p:first-of-type {
        margin-bottom: 10px;
    }
}

@media screen and (max-width:750px) {
    .imgl,
    .imgr {
        display: inline-block;
        float: none;
        margin: 0 0 10px 0;
    }
    .fl_left,
    .fl_right {
        display: block;
        float: none;
    }
    .group .group>*:last-child,
    .clear .clear>*:last-child,
    .clear .group>*:last-child,
    .group .clear>*:last-child {
        margin-bottom: 0;
    }
    /* Experimental - Needs more testing in different situations, stops double margin when stacking */
    .one_half,
    .one_third,
    .two_third,
    .one_quarter,
    .two_quarter,
    .three_quarter {
        display: block;
        float: none;
        width: auto;
        margin: 0 0 30px 0;
        padding: 0;
    }
    #header {}
    #navwrapper {
        padding: 0 20px;
    }
    #navwrapper #searchform {
        display: none;
    }
    /* Needs modifying if the form is required in small viewports */
    #navwrapper #mainav {
        float: none;
        width: 100%;
        padding: 15px 0;
    }
    #pageintro article {
        max-width: none;
    }
    #pageintro .heading {
        font-size: 2rem;
    }
    #pageintro p:first-of-type {
        font-size: 1rem;
    }
    #introblocks>ul {
        margin: 0 auto;
        max-width: 348px;
    }
    /* Centre the items and restrict the width to the one_third grid element */
    #introblocks>ul>li:nth-last-child(-n+3) {
        margin-bottom: 50px;
    }
    #introblocks>ul>li:last-child {
        margin-bottom: 0;
    }
    .sectiontitle {
        max-width: none;
    }
    #footer {
        padding-bottom: 50px;
    }
    /* Not required, just looks a little better */
}

@media screen and (min-width:450px) and (max-width:750px) {
    #stats>li {
        width: 50%;
        margin-bottom: 50px;
    }
    #stats>li:nth-child(even) {
        border: none;
    }
    #stats>li:nth-last-child(-n+2) {
        margin-bottom: 0;
    }
}

@media screen and (max-width:450px) {
    #stats>li {
        float: none;
        width: 100%;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    #stats>li,
    #stats>li:nth-child(even) {
        border-width: 0 0 1px 0;
    }
    #stats>li:last-child {
        margin: 25px 0 0 0;
        padding-bottom: 0;
    }
}


/* Other
--------------------------------------------------------------------------------------------------------------- */

@media screen and (max-width:650px) {
    .scrollable {
        display: block;
        width: 100%;
        margin: 0 0 30px 0;
        padding: 0 0 15px 0;
        overflow: auto;
        overflow-x: scroll;
    }
    .scrollable table {
        margin: 0;
        padding: 0;
        border-radius: 20px;
        white-space: nowrap;
    }
    .inline li {
        display: block;
        margin-bottom: 10px;
    }
    .pushright li {
        margin-right: 0;
    }
    .font-x2 {
        font-size: 1.4rem;
    }
    .font-x3 {
        font-size: 1.6rem;
    }
}
