/*
 * Base structure
 */


/* Move down content because we have a fixed navbar that is 50px tall */

body {
    padding-top: 50px;
    overflow: hidden;
}


/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}


/*
 * Top navigation
 * Hide default border to remove 1px line.
 */

.navbar-fixed-top {
    border: 0;
    padding-bottom: 10px;
}


/*
 * Sidebar
 */


/* Hide for mobile, show later 
.sidebar {
  display: none;
}*/

.sidebar {
    background-color: #f5f5f5;
    padding-top: 10px;
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto;
        /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}


/* Sidebar navigation */

.nav-sidebar {
    margin-right: -21px;
    /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

.nav-sidebar>li>a {
    padding-right: 20px;
    padding-left: 20px;
}

.nav-sidebar>.active>a,
.nav-sidebar>.active>a:hover,
.nav-sidebar>.active>a:focus {
    color: #fff;
    background-color: #428bca;
}


/*
 * Main content
 */

.main {
    padding: 20px;
}

@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}

.main .page-header {
    margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}

.placeholders h4 {
    margin-bottom: 0;
}

.placeholder {
    margin-bottom: 20px;
}

.placeholder img {
    display: inline-block;
    border-radius: 50%;
}


/* Main block updates */

.navbar-inverse .navbar-nav>li>a {
    font-family: 'Lato', sans-serif;
}

.navbar-fixed-top {
    border: 0;
    padding-bottom: 0;
}

.the-brand {
    display: inline-block;
    padding: 14px 0;
}

.navbar-toggle {
    margin-right: auto !important;
}

.nav {
    padding: 5px 0;
}

.nav li a {
    text-decoration: none;
    font-size: 13px;
}

.nav li a i {
    margin-right: 5px;
}

.nav li a span {
    margin-right: 5px;
}

.sidebar {
    min-width: 280px;
    padding-right: 25px;
    padding-left: 0;
}

.nav-sidebar {
    margin-right: 0;
    margin-left: 0;
}

.nav-sidebar li a {
    position: relative;
    padding: 14px;
    padding-left: 35px;
    font-size: 16px;
}

.nav-sidebar li a:after {
    content: '';
    display: none;
    position: absolute;
    right: -25px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 25px 0 25px 25px;
    border-color: transparent transparent transparent #627f8f;
}

.nav-sidebar li.active a {
    background-color: #627f8f;
}

.nav-sidebar li.active a:hover {
    background-color: #627f8f;
}

.nav-sidebar li.active a:after {
    display: block;
}

.main {
    width: calc(100% - 280px);
    position: relative;
    padding-bottom: 160px;
    padding-left: 0;
    float: right;
}

.page-header {
    color: #627f8f;
    font-size: 32px;
    font-weight: 700;
    border-bottom: 0;
    margin-bottom: 20px;
}


/*
 * Bottom Nav
 */

.bottom-nav {
    position: absolute;
    bottom: 100px;
    left: 9%;
    display: none;
}

.bottom-nav.show {
    display: block;
}

.bottom-nav span {
    display: inline-block;
    color: #df5a49;
}

.separator-line {
    margin: 0 28px;
    font-size: 18px;
}

.bottom-nav .prev,
.bottom-nav .next {
    position: relative;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    transition: opacity .3s;
}

.bottom-nav .prev {
    padding-left: 25px;
    ;
}

.bottom-nav .next {
    padding-right: 25px;
    ;
}

.bottom-nav .prev:hover,
.bottom-nav .next:hover {
    opacity: .7;
}

.bottom-nav .prev:before,
.bottom-nav .next:before {
    content: '';
    position: absolute;
    display: block;
    width: 13px;
    height: 13px;
    left: 0;
    top: 50%;
    border-top: 1px solid #df5a49;
    border-left: 1px solid #df5a49;
    transform: translateY(-50%) rotate(-45deg);
}

.bottom-nav .next:before {
    left: auto;
    right: 0;
    transform: translateY(-50%) rotate(135deg);
}

.m-sidebar-opener {
    width: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    height: 56px;
    padding-left: 20px;
    background-color: #627f8f;
    display: none;
}

.open-close {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    width: 100%;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.icon-holder {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    position: relative;
    margin-right: 12px;
}

.icon-holder .icon-open {
    width: 20px;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
}

.icon-holder .icon-open:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
}

.icon-holder .icon-open:after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 16px;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
}

.icon-holder .icon-close:after {
    content: '';
    width: 20px;
    height: 4px;
    border-radius: 2px;
    transform: translateY(-50%) rotate(-45deg);
    display: block;
    background-color: #fff;
    position: absolute;
    top: 50%;
}

.icon-holder .icon-close:before {
    content: '';
    width: 20px;
    height: 4px;
    border-radius: 2px;
    transform: translateY(-50%) rotate(45deg);
    display: block;
    background-color: #fff;
    position: absolute;
    top: 50%;
}

.m-sidebar-opener .icon-close {
    display: none;
    width: 20px;
    height: 22px;
}

.m-sidebar-opener.opened .icon-open {
    display: none;
}

.m-sidebar-opener.opened .icon-close {
    display: block;
}


/*
 * breadCrumbs
 */

.breadcrumbs {
    list-style: none;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    color: #df5a49;
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 55px;
    height: 20px;
    padding: 0;
}

.breadcrumbs li {
    padding-right: 24px;
    position: relative;
}

.breadcrumbs li:after {
    content: '>';
    display: inline-block;
    position: absolute;
    right: 7px;
    top: 0;
}

.breadcrumbs li:last-child::after {
    display: none;
}

.breadcrumbs li a {
    color: #df5a49;
}

@media only screen and (max-width: 1199px) {
    .the-brand img {
        width: 140px;
    }
    .nav {
        margin-left: 20px;
    }
    .nav>li>a {
        padding: 10px 6px !important;
    }
    .navbar-inverse .navbar-brand,
    .navbar-inverse .navbar-nav>li>a {
        font-size: 13px;
    }
    .nav-sidebar li a:after {
        border-width: 21px 0 21px 23px;
        right: -23px;
    }
}

@media only screen and (max-width: 991px) {
    .nav {
        margin-left: auto !important;
    }
    .nav>li>a {
        padding: 10px !important;
    }
    .nav li a i,
    .nav li a span {
        display: none;
    }
    .navbar-inverse .navbar-brand,
    .navbar-inverse .navbar-nav>li>a {
        font-size: 12px;
        padding-left: 7px !important;
        padding-right: 6px !important;
    }
    .sidebar {
        min-width: 230px;
    }
}

@media only screen and (max-width: 767px) {
    .navbar-inverse .navbar-brand,
    .navbar-inverse .navbar-nav>li>a {
        font-size: 14px;
        line-height: 1.2;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
        padding-left: 0 !important;
    }
    .main {
        width: 100%;
        padding-left: 20px;
        padding-right: 60px;
    }
    .m-sidebar-opener {
        display: flex;
    }
    .sidebar {
        max-width: 267px;
    }
    .m-flex {
        width: calc(100% + 267px);
        transform: translateX(-230px);
        transition: transform .3s;
    }
    .m-flex.open {
        transform: translateX(0);
    }
    .m-flex>.row {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
    }
    .breadcrumbs {
        font-size: 12px;
        color: #888888;
        margin-bottom: 35px;
        font-weight: 400;
    }
    .breadcrumbs li a {
        font-size: 12px;
        color: #888888;
        font-weight: 400;
    }
    .page-header {
        margin-bottom: 10px;
    }
}

.full-screen-container {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #eff4f6;
    position: relative;
}

.full-screen-container .title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 55px;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.wm-links-holder {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 710px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

.wm-boxed-link {
    height: 300px;
    width: 300px;
    margin: 0 30px;
    background-color: #fff;
    color: #7191A2;
    border-radius: 12px;
    box-shadow: 0px 10px 20px 0px rgba(94, 94, 94, 0.4);
    position: relative;
    transition: box-shadow .3s;
}

.wm-boxed-link .decor-image {
    top: auto;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.wm-boxed-link .text {
    font-size: 20px;
    text-align: center;
    line-height: 1.8;
    color: #666666;
    font-weight: 500;
    margin-bottom: 40px;
}

.wm-boxed-link.full-width {
    width: 100%;
    height: auto;
    padding: 30px 15px 40px;
}

.wm-boxed-link .title-row {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 35px;
}

.wm-boxed-link .title-row img {
    position: static;
    width: 50px;
    transform: translate(0, 0);
    margin-right: 15px;
}

.wm-boxed-link:hover {
    box-shadow: 0px 1px 3px 0px rgba(94, 94, 94, 0.4);
    text-decoration: none;
    color: #7191A2;
}

.wm-boxed-link img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wm-boxed-link-decor {
    border-radius: 12px;
}

.wm-boxed-link-decor:before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 120px 120px 0 0;
    border-color: #c6383d transparent transparent transparent;
}

.wm-angle-text {
    position: absolute;
    top: 30px;
    left: 10px;
    transform: rotate(-45deg);
    font-size: 22px;
    color: #fff;
    font-weight: 500;
}

.wm-button {
    display: block;
    max-width: 220px;
    line-height: 50px;
    border: 2px solid #7191A2;
    color: #7191A2;
    text-decoration: none;
    background: transparent;
    margin: 0 auto;
    font-size: 24px;
    text-align: center;
    transition: background-color .3s, color .3s;
}

.wm-button:hover {
    text-decoration: none;
    color: #fff;
    background-color: #7191A2;
}

.wm-decor {
    position: absolute;
}

.wm-decor.pos1 {
    left: -18px;
    bottom: 40%;
}

.wm-decor.pos2 {
    right: -18px;
    top: 18%;
}

.wm-decor.pos3 {
    right: 0;
    bottom: 5px;
}

@media only screen and (max-width: 1024px) {
    .wm-boxed-link .title-row {
        font-size: 27px;
    }
}

@media only screen and (max-width: 991px) {
    .wm-boxed-link {
        width: 200px;
        height: 200px;
    }
    .wm-boxed-link.full-width {
        width: 460px;
    }
    .wm-boxed-link img {
        width: 70%;
    }
    .wm-boxed-link .text {
        font-size: 18px;
    }
    .wm-decor.pos2 {
        top: 3%;
    }
    .wm-boxed-link .title-row {
        font-size: 24px;
    }
    .wm-boxed-link .title-row img {
        width: 40px;
    }
    .wm-boxed-link .text br {
        display: none;
    }
    .wm-boxed-link .title-row img {
        width: 40px;
    }
}

@media only screen and (max-width: 480px) {
    .wm-links-holder {
        flex-wrap: wrap;
        justify-content: center;
    }
    .wm-boxed-link {
        margin-bottom: 20px;
    }
    .wm-decor img {
        width: 95px;
        height: 115px;
    }
    .wm-boxed-link .text {
        font-size: 14px;
    }
    .wm-boxed-link.full-width {
        width: 100%;
        height: auto;
    }
    .wm-boxed-link .title-row {
        flex-direction: column;
    }
    .wm-boxed-link .text br {
        display: none;
    }
    .wm-boxed-link-decor:before {
        border-width: 100px 100px 0 0;
    }
    .wm-angle-text {
        top: 27px;
        left: 8px;
        font-size: 18px;
    }
    .wm-button {
        line-height: 40px;
        font-size: 21px;
    }
}