﻿@import url("fontawesome-4.5.0.min.css");
@import url("framework.css");
@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:300,400,700);

.Fonts {
    font-family: 'Comfortaa', cursive;
    font-family: Comfortaa-Light;
    font-family: 'Sarabun', sans-serif;
    font-family: 'Montserrat', sans-serif;
    font-family: Montserrat-Regular;
    font-family: 'Open Sans', sans-serif;
}

.Hdropdown {
    position: relative;
    overflow: hidden;
    height: 35px;
    color: #555;
    font-size: 16px;
    font-family: Open Sans;
}



.Mybox {
    display: block;
    padding: 5px;
    width: 100%;
    height: 45px;
    border-radius: 5px;
    outline: 0;
    -moz-outline-style: none;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #555;
    font-size: 16px;
    font-family: Open Sans;
    text-decoration:none;
    vertical-align: middle;
    line-height: 1.428571429;
    box-sizing: border-box;
}

    .Mybox:focus {
        display:inline;
        padding-top:5px;
        margin-bottom:0px;
        vertical-align:middle;
    }

/*ToolTip*/
tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 125px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}


/*Text Boxes*/

#wrapper2 {
    width: 1130px;
    margin: 100px auto;
}

.box1, .box2, .box3, .box4 {
    width: 230px;
    height: 200px;
    overflow: hidden;
    word-break: break-all;
    word-spacing: -1px;
    margin-left: 15px;
    /* or 0px */
    background-color: rgba(25, 25, 25, 0.2);
    padding: 15px;
    transition: all 0.5s ease-in;
}

    .box1:hover, .box2:hover, .box3:hover, .box4:hover {
        width: 230px;
        height: 300px;
        margin-top: -50px;
        overflow-y: scroll;
    }

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background-color: rgba(25, 25, 25, 0.2);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(25, 25, 25, 0.2);
}

/*Slide Show*/
/*body {
    margin: 0;
    padding: 0;
    font-size: 100%;
    line-height: 1.6;
    font-family: Arial, Helvetica, sans-serif;
}*/
/*#wrapper {
    position: relative;
    width: 100%;
    min-height: 55vw;
    overflow: hidden;
}*/

.layer {
    position: absolute;
    width: 100vw;
    min-height: 55vw;
    overflow: hidden;
}

    .layer .content-wrap {
        position: absolute;
        width: 100vw;
        min-height: 55vw;
    }

    .layer .content-body {
        width: 25%;
        position: absolute;
        top: 50%;
        text-align: center;
        transform: translateY(-50%);
        color: #fff;
    }

    .layer img {
        position: absolute;
        width: 35%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .layer h1 {
        font-size: 2em;
    }

.bottom {
    background: #222;
    z-index: 1;
}

    .bottom .content-body {
        right: 5%;
    }

    .bottom h1 {
        color: #FDAB00;
    }

.top {
    background: #eee;
    color: #222;
    z-index: 2;
    width: 50vw;
}

    .top .content-body {
        left: 5%;
        color: #222;
    }

.handle {
    position: absolute;
    height: 100%;
    display: block;
    background-color: #FDAB00;
    width: 5px;
    top: 0;
    left: 50%;
    z-index: 3;
}

.skewed .handle {
    top: 50%;
    transform: rotate(30deg) translateY(-50%);
    height: 200%;
    transform-origin: top;
}

.skewed .top {
    transform: skew(-30deg);
    margin-left: -1000px;
    width: calc(50vw + 1000px);
}

    .skewed .top .content-wrap {
        transform: skew(30deg);
        margin-left: 1000px;
    }

@media(max-width:768px) {
    body {
        font-size: 75%;
        margin-top:265px;
    }
}

/* PROGRESS TRACKER */
.progress-tracker {
    display: flex;
    margin: 0;
    counter-reset: item;
    list-style-type: none;
    padding: 0
}

@media screen and (max-width: 400px){
    .progress-tracker{
        width:100px;
    }
}

    .progress-tracker .step:before {
        background: #AAAAAA;
        border-radius: 20px;
        color: #FFFFFF;
        content: "";
        font-size: 18px;
        line-height: 1.8em;
        align-items: center;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 35px;
        height: 35px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        content: counter(item) "  ";
        counter-increment: item;
        
    }

    .progress-tracker .step {
        flex: 1;
    }

        .progress-tracker .step .step-name {
            display: inline-flex;
            margin: 0 0 0 15px;
            background: #dddddd;
            height: 35px;
            width: 100%;
            align-items: center;
            padding: 0 30px;
            color: #777777;
            line-height: 1.2em;
            font-size: 13px;
        }

        .progress-tracker .step:last-child .step-name {
            border-radius: 0 20px 20px 0;
            width: calc(100% - 45px)
        }

        .progress-tracker .step.active .step-name {
            color: #333333;
            font-weight: bold;
        }

        .progress-tracker .step.active:before {
            background: #5591db;
        }

        .progress-tracker .step.completed:before {
            background: #87db55;
            content: "\2714"
        }

/*Sign in Box
-----------------------------------------------------------------------------------*/
.social-box {
    text-align: justify;
    min-width: 412px;
    border: 1px solid green;
    width: 80%; /* it changes by screen size actually */
    height: 90px;
    padding: 5px;
}

/*Social Media Buttons (Facebook)
------------------------------------------------------------------------------------*/
.social-button {
    display: inline-block;
    height: 32px;
    background-color: #496da9;
    color: #fff;
    border-radius: 3px;
    margin-bottom: 30px;
    margin-left: 10px;
    cursor: pointer;
    width: 250px;
}

/* Social Media Buttons (Google)
------------------------------------------------------------------------------------*/

/* Shared */
.loginBtn {
    box-sizing: border-box;
    position: relative;
    /* width: 13em;  - apply for fixed size */
    margin: 0.2em;
    padding: 0 15px 0 46px;
    border: none;
    text-align: left;
    line-height: 34px;
    white-space: nowrap;
    border-radius: 0.2em;
    font-size: 16px;
    color: #FFF;
}

    .loginBtn:before {
        content: "";
        box-sizing: border-box;
        position: absolute;
        top: 0;
        left: 0;
        width: 34px;
        height: 100%;
    }

    .loginBtn:focus {
        outline: none;
    }

    .loginBtn:active {
        box-shadow: inset 0 0 0 32px rgba(0,0,0,0.1);
    }

/* Facebook */
.loginBtn--facebook {
    background-color: #4C69BA;
    background-image: linear-gradient(#4C69BA, #3B55A0);
    /*font-family: "Helvetica neue", Helvetica Neue, Helvetica, Arial, sans-serif;*/
    text-shadow: 0 -1px 0 #354C8C;
}

    .loginBtn--facebook:before {
        border-right: #364e92 1px solid;
        background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_facebook.png') 6px 6px no-repeat;
    }

    .loginBtn--facebook:hover,
    .loginBtn--facebook:focus {
        background-color: #5B7BD5;
        background-image: linear-gradient(#5B7BD5, #4864B1);
    }

/* Google */
.loginBtn--google {
    /*font-family: "Roboto", Roboto, arial, sans-serif;*/
    background: #DD4B39;
}

    .loginBtn--google:before {
        border-right: #BB3F30 1px solid;
        background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_google.png') 6px 6px no-repeat;
    }

    .loginBtn--google:hover,
    .loginBtn--google:focus {
        background: #E74B37;
    }

/*BUTTON Sign in Hover
-------   ----------------------------------------------------------------------------*/

.CheckBox{
    float:left;
    margin-top:2px;

}


.button2 {
    display: inline-block;
    border-radius: 4px;
    background-color: dimgrey;
    border: 1px solid #fff;
    color: white;
    text-align: center;
    font-size: 16px;
    font-weight:500;
    font-family: Open Sans;
    padding: 13px 14px;
    width: 50%;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
}

.button {
    display: inline-block;
    border-radius: 4px;
    background-color: dimgrey;
    border: 1px solid #fff;
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    padding: 13px 14px;
    width: 50%;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
	-webkit-transition-duration: 0.4s;
	transition-duration: 0.4s;
}

    .button span {
        cursor: pointer;
        display: inline-block;
        position: relative;
        transition: 0.5s;
    }

        .button span:after {
            content: '\00bb';
            position: absolute;
            opacity: 0;
            top: 0;
            right: -20px;
            transition: 0.5s;
        }

    .button:hover span {
        padding-right: 25px;
    }

        .button:hover span:after {
            opacity: 1;
            right: 0;
        }
	.button:hover {
		background-color: #fff;
		border: 1px solid dimgrey;
		color: dimgrey;
	}
.lnk {
	background: none;
	color: #141414;
	text-decoration: none;
	padding: 0;
	border: none;
	outline: none;
	webkit-transition-duration: 0.4s;
	transition-duration: 0.4s;
}
	.lnk:hover {
		background: none;
		text-decoration: underline;
		padding: 0;
		border: none;
		outline: none;
	}

.collapsible {
	max-height: 0;
	transition: max-height 0.4s ease-out;
}

.collapse-toggle {
}
	collapse-toggle.active, collapse-toggle:hover {
		text-decoration: underline;
	}

/* Login/Register Section
--------------------------------------------------------------------------------------------------------------*/
body {
    background-color: #1cbb9b;
}

.login-box {
    position: relative;
    margin: 10px auto;
    width: 600px;
    height: 380px;
    background-color: white;
    padding: 10px;
    border-radius: 3px;
}

.signup-box {
    position: relative;
    margin: 10px auto;
    color:white;
    width: 600px;
    padding: 10px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.33);
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.33);
}

.lb-header {
    position: relative;
    color: #00415d;
    margin: 5px 5px 10px 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
    height: 28px;
}

    .lb-header a {
        margin: 0 25px;
        padding: 0 20px;
        text-decoration: none;
        color: #666;
        font-weight: bold;
        font-size: 15px;
        -webkit-transition: all 0.1s linear;
        -moz-transition: all 0.1s linear;
        transition: all 0.1s linear;
    }

    .lb-header .active {
        color: #029f5b;
        font-size: 18px;
    }

.social-login {
    position: relative;
    float: left;
    width: 100%;
    height: auto;
    padding: 10px 0 15px 0;
    border-bottom: 1px solid #eee;
}

    .social-login a {
        position: relative;
        float: left;
        width: calc(40% - 8px);
        text-decoration: none;
        color: #fff;
        border: 1px solid rgba(0,0,0,0.05);
        padding: 12px;
        border-radius: 2px;
        font-size: 12px;
        text-transform: uppercase;
        margin: 0 3%;
        text-align: center;
        font-family: Arial;
    }

        .social-login a i {
            position: relative;
            float: left;
            width: 20px;
            top: 2px;
        }

        .social-login a:first-child {
            background-color: #49639F;
        }

        .social-login a:last-child {
            background-color: #DF4A32;
        }

.email-login, .email-signup {
    position: relative;
    float: left;
    width: 100%;
    /*height: auto;*/
    margin-top: 20px;
    text-align: center;
}

.u-form-group {
    width: 100%;
    margin-bottom: 10px;
}

    .u-form-group input[type="email"],
    .u-form-group input[type="password"],
    .u-form-group input[type="search"]
     {
        width: calc(50% - 22px);
        height: 45px;
        outline: none;
        border: 1px solid #ddd;
        padding: 0 10px;
        border-radius: 2px;
        color: #333;
        font-size: 0.8rem;
        -webkit-transition: all 0.1s linear;
        -moz-transition: all 0.1s linear;
        transition: all 0.1s linear;
    }

    .u-form-group input:focus {
        border-color: #358efb;
    }

    .u-form-group button {
        width: 50%;
        background-color: #1CB94E;
        border: none;
        outline: none;
        color: #fff;
        font-size: 14px;
        font-weight: normal;
        padding: 14px 0;
        border-radius: 2px;
        text-transform: uppercase;
    }

.forgot-password {
    width: 50%;
    text-align: left;
    text-decoration: underline;
    color: #888;
    font-size: 0.75rem;
}

/* Dropdown*/

.dropdown {
    text-align: left;
    color: #343C3F;
    border: 1px solid #A2ACB0;
}

    .dropdown.closed .dropdown-menu {
        margin-top: 0px;
    }

        .dropdown.closed .dropdown-menu li {
            height: 0px;
        }

    .dropdown.closed .title {
        border-bottom: none;
    }

        .dropdown.closed .title:after {
            margin-top: -16px;
            -webkit-transform: rotate(0deg);
            -moz-transform: rotate(0deg);
            -ms-transform: rotate(0deg);
            -o-transform: rotate(0deg);
            transform: rotate(0deg);
        }

    .dropdown .title {
        width: 100%;
        position: relative;
        height: 40px;
        padding: 12px;
        cursor: pointer;
        border-bottom: 1px solid #D9E1E4;
    }

        .dropdown .title:after {
            display: block;
            content: "▾";
            position: absolute;
            right: 14px;
            margin-top: -16px;
            -webkit-transform: rotate(180deg);
            -moz-transform: rotate(180deg);
            -ms-transform: rotate(180deg);
            -o-transform: rotate(180deg);
            transform: rotate(180deg);
        }

    .dropdown .dropdown-menu {
        position: relative;
        overflow: hidden;
        max-height: 200px;
        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        transition: all 0.2s;
        -webkit-box-sizing: "border-box";
        -moz-box-sizing: "border-box";
        box-sizing: "border-box";
    }

    .dropdown ul {
        position: absolute;
        top: 0;
        width: 100%;
    }

        .dropdown ul li {
            width: 100%;
            height: 40px;
            line-height: 40px;
            border-bottom: 1px solid #D9E1E4;
            padding: 0 12px;
            vertical-align: top;
            overflow: hidden;
            cursor: pointer;
            -webkit-transition: margin-top 0.5s, height 0.5s;
            -moz-transition: margin-top 0.5s, height 0.5s;
            transition: margin-top 0.5s, height 0.5s;
        }

.dropdown ul li:hover {
    background-color: #D9E1E4;
     color: #343C3F;
}

/* Rows
--------------------------------------------------------------------------------------------------------------- */
.row0 {
    border-top: 5px solid;
}

.row1, .row1 a {
}

.row2, .row2 a {
}

.row3, .row3 a {
}

.row4, .row4 a {
}

.row5, .row5 a {
}

/* Top Bar
--------------------------------------------------------------------------------------------------------------- */
#topbar {
    padding: 15px 0;
    font-size: .8rem;
    text-transform: uppercase;
}

    #topbar * {
        margin: 0;
    }

    #topbar ul li {
        display: inline-block;
        margin-right: 10px;
        padding-right: 15px;
        border-right: 1px solid;
    }

        #topbar ul li:last-child {
            margin-right: 0;
            padding-right: 0;
            border-right: none;
        }

    #topbar i {
        margin: 0 5px 0 0;
        line-height: normal;
    }

/* Header
--------------------------------------------------------------------------------------------------------------- */
#header {
}

    #header #logo {
        margin-top: 15px;
    }

        #header #logo * {
            margin: 0;
            padding: 0;
            line-height: 1;
        }

        #header #logo h1 {
            font-size: 25px;
            font-variant: small-caps;
        }

        #header #logo p {
            font-size: 12px;
            text-transform: lowercase;
        }

/* Page Intro
--------------------------------------------------------------------------------------------------------------- */
#pageintro {
    padding: 150px 0;
}

    #pageintro article {
        text-align: center;
        margin-top:97px;
    }

        #pageintro article div {
            margin-bottom: 80px;
        }

            #pageintro article div * {
                margin: 0;
                padding: 0;
                line-height: 1;
            }

            #pageintro article div .heading {
                margin-bottom: 50px;
                font-size: 80px;
            }

            #pageintro article div p:first-of-type {
                margin-bottom: 20px;
                font-size: 26px;
            }

            #pageintro article div p:last-of-type {
            }

        #pageintro article footer {
        }

/* Content Area
--------------------------------------------------------------------------------------------------------------- */
.container {
    padding: 39px 0;
}

    /* Content */
    .container .content {
    }

.cta {
}

    .cta article {
        display: block;
        position: relative;
        padding: 0 0 0 110px;
        line-height: normal;
    }

        .cta article * {
            margin: 0;
            padding: 0;
        }

        .cta article .numb {
            display: inline-block;
            position: absolute;
            top: -10px;
            left: 0;
            width: 90px;
            overflow: hidden;
            line-height: 1;
            font-size: 80px;
            font-weight: 400;
            letter-spacing: -10px;
        }

        .cta article .heading {
            margin-bottom: 10px;
        }

.services {
}

    .services article {
        display: block;
        padding: 30px;
        border: 1px solid;
    }

        .services article * {
            margin: 0;
            padding: 0;
        }

        .services article i {
            margin-bottom: 15px;
        }

        .services article .heading {
            margin-bottom: 10px;
        }

/* 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;
    }

/*My Siderbar

.sidenavmenu a{
    padding:8px 8px 8px 32px;
    text-decoration:none;
    font-size:25px;
    color:#fff;
    display:block;
    transition:0.3s;
}

.sidenavmenu {
    height:100%;
    width:0;
    position: fixed;
    z-index:1;
    top:0;
    left:0;
    background-color:#008000;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top:60px;
}

.sidenavmenu a:hover, .offcanvas a:focus{
    color:#f1f1f1;
}

.sidenavmenu .closebtn{
    position:absolute;
    top:0;
    right:25px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height:450px){
    .sidenavmenu {padding-top:15px;}
    .sidenavmenu a {font-size: 18px;}
}*/

/* Footer
--------------------------------------------------------------------------------------------------------------- */
#footer {
    padding: 80px 0;
}

    #footer .title {
        margin: 0 0 50px 0;
        padding: 0;
        font-size: 1.2rem;
    }

    #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;
        }

/* Copyright
--------------------------------------------------------------------------------------------------------------- */
#copyright {
    padding: 20px 0;
}

    #copyright * {
        margin: 0;
        padding: 0;
    }

/* Transition Fade
--------------------------------------------------------------------------------------------------------------- */
*, *::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: "FontAwesome";
        font-size: 10px;
        line-height: 10px;
    }

/* Top Navigation */
#mainav {
}

    #mainav ul.clear {
        margin-top: 3px;
    }

    #mainav ul {
        text-transform: uppercase;
    }

        #mainav ul ul {
            z-index: 9999;
            position: absolute;
            width: 180px;
            text-transform: none;
        }

            #mainav ul ul ul {
                left: 180px;
                top: 0;
            }

    #mainav li {
        display: inline-block;
        position: relative;
        margin: 0 15px 0 0;
        padding: 0;
    }

        #mainav li:last-child {
            margin-right: 0;
        }

        #mainav li li {
            width: 100%;
            margin: 0;
        }

        #mainav li a {
            display: block;
            padding: 30px 0;
        }

        #mainav li li a {
            border: solid;
            border-width: 0 0 1px 0;
        }

    #mainav .drop {
        padding-left: 19px;
    }

    #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: 35px;
        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;
        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: 15px 0;
}

    #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: 3px;
                right: 0;
                content: "\f101";
            }

        #breadcrumb li:last-child a {
            margin: 0;
            padding: 0;
        }

            #breadcrumb li:last-child a::after {
                display: none;
            }

/* 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: 9px;
            left: 10px;
            content: "\f101";
        }

    .sidebar nav ul ul a {
        padding-left: 40px;
    }

        .sidebar nav ul ul a::after {
            left: 30px;
        }

    .sidebar nav ul ul ul a {
        padding-left: 60px;
    }

        .sidebar nav ul ul ul a::after {
            left: 50px;
        }

/* 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: #050505;
        background-color: #c0c0c0;
    }

        .faico a:hover {
            color: #FFFFFF;
        }

.faicon-dribble: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;
}

/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */

/* Colours
--------------------------------------------------------------------------------------------------------------- */
body {
    color: #FFFFFF;
    background-color: #141414;
}

a {
    color: black;
}

    a:active, a:focus {
       color:black;
    }
/* 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: silver;
}

.overlay {
    color: #FFFFFF;
    background-color: inherit;
}

    .overlay::after {
        color: inherit;
        background-color: rgba(0,0,0,.20);
        background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUeNpiYGBgePz//38GRhABAgABBgBFTAbfCBNE2AAAAABJRU5ErkJggg==");
    }

.btn, .btn.inverse:hover {
    color: black;
    background-color: white;
    border-color: silver;
}

    .btn:hover, .btn.inverse {
        color: inherit;
        background-color: transparent;
        border-color: inherit;
    }

/* Rows */
.row0, .row0 a {
    color: #7F7F7F;
    background-color: #141414;
}

.row0 {
    border-color: #90EE90;
}

.row1 {
    color: #FFFFFF;
    background-color: #252525;
}

.row2 {
    color: #141414;
    background-color: white;
}

.row3 {
    color: #141414;
    background-color: #FFFFFF;
    margin-top:140px;
}

.row4 {
    color: #7F7F7F;
    background-color: #252525;
}

.row5, .row5 a {
    color: #7F7F7F;
    background-color: #141414;
}

/* Top Bar */
#topbar ul li {
    border-color: rgba(255,255,255,.2);
}

#topbar div:first-of-type li:first-child a {
    color: #c0c0c0;
}

/* Header */
#header #logo h1 a {
    color: inherit;
    background-color: inherit;
}

/* Content Area */
.cta article .heading a {
    color: inherit;
}

.cta article:hover .heading a {
    color: silver;
}

.cta article .numb {
    color: black;
}

.cta article:hover .numb {
    text-shadow: 1px 1px rgba(0,0,0,.8);
}

.services article {
    border-color: #D7D7D7;
}

    .services article:hover {
        color: #FFFFFF;
        background-color: silver;
        border-color: silver;
        box-shadow: 5px 5px 0px rgba(0,0,0,.2);
    }

        .services article:hover a {
            color: inherit;
            text-shadow: 1px 1px rgba(0,0,0,.4);
        }
.services2 article {
    border-color: #D7D7D7;
}


/* Footer */
#footer .title {
    color: #FFFFFF;
}

#footer .linklist li {
    border-color: #414141;
}

/*Section-Image Top Header*/
.section-image {
    display: block;
    max-height: 170px;
    position: absolute;
    bottom: 0px;
    right: -22px;
    z-index: 2;
}

/* Navigation */
#mainav li a {
    color: inherit;
}

#mainav .active a, #mainav a:hover, #mainav li:hover > a {
    color: #c0c0c0;
    background-color: inherit;
    
}

#mainav li li a, #mainav .active li a {
    color: #FFFFFF;
    background-color: rgba(0,0,0,.6);
    border-color: rgba(0,0,0,.6);
}

#mainav li li:hover > a, #mainav .active .active > a {
    color: #FFFFFF;
    background-color: silver;
}

#mainav form select {
    color: #FFFFFF;
    background-color: #141414;
}

#breadcrumb a {
    color: inherit;
    background-color: inherit;
}

#breadcrumb li:last-child a {
    color: silver;
}

.container .sidebar nav a {
    color: inherit;
    border-color: #D7D7D7;
}

    .container .sidebar nav a:hover {
        color: #A3D044;
    }

.pagination a, .pagination strong {
    border-color: #D7D7D7;
}

.pagination .current * {
    color: #FFFFFF;
    background-color: silver;
}

#backtotop {
    color: #FFFFFF;
    background-color: silver;
}

/* 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: #A3D044;
    }

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;
}

/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------ */

/* Media Queries
--------------------------------------------------------------------------------------------------------------- */
@-ms-viewport {
    width: device-width;
}

/* Max Wrapper Width - Laptop, Desktop etc.
--------------------------------------------------------------------------------------------------------------- */
@media screen and (min-width:978px) {
    .hoc {
        max-width: 978px;
    }
}

@media screen and (min-width:978px) {
    .hoc2 {
        max-width: 1100px;
    }
}

/* Mobile Devices
--------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:900px) {
    .hoc {
        max-width: 90%;
    }
    .hoc2 {
        max-width: 90%;
    }

    #topbar {
    }

    #header {
        padding: 30px 0;
    }

        #header #logo {
            margin: 0;
        }

    #mainav {
    }

        #mainav ul {
            display: none;
        }

        #mainav form {
            display: block;
            margin-top: 8px;
        }

    #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;
    }

    .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;
    }

    #topbar {
        padding-top: 15px;
        text-align: center;
    }

        #topbar ul {
            margin: 0 0 15px 0;
            line-height: normal;
        }

    #header {
        text-align: center;
    }

        #header #logo {
            margin: 0 0 30px 0;
        }

    #mainav form {
        margin-top: 0;
    }

    #pageintro article div .heading {
        margin-bottom: 30px;
        font-size: 23px;
    }

    #pageintro article div p:first-of-type {
        margin-bottom: 20px;
        font-size: 18px;
    }

    .container, #footer {
        padding-bottom: 50px;
    }
    /* Not neccessary - just looks better */
}

@media screen and (max-width:450px) {
    #topbar ul li {
        margin-bottom: 2px;
        padding-right: 0;
        border-right: none;
    }
}

/* Other
--------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:650px) {
    .scrollable {
        display: block;
        width: 99.55%;
        margin-left: -15px;
        margin: 0 0 30px 0;
        padding: 0 0 15px 0;
        overflow: auto;
        overflow-x: scroll;
    }

        .scrollable table {
            margin: 0;
            padding: 0;
            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;
    }
}