﻿@color_1: #000;
@color_2: #fff;
@color_3: rgba(255,255,255,0.65);
@color_4: rgba(255,255,255,1);
@color_5: rgba(255,255,255,0.8);
@color_6: rgba(180,180,180,1);
@color_7: rgba(180,180,180,8);
@font-family_1: "lato",sans-serif;
@small: ~"screen and (max-width: 39.9375em)";
@medium: ~"screen and (max-width: 47.9375em)";
/*COLORS*/
/*WF-SIDE-MENU*/
/*WF SIDE MENU MOBILE BREAKPOINT*/
/*WF TOP NAV*/
/*UTILITIES EXPANDED SECTIONS*/
/*UTILITIES EXPANDED SECTIONS*/
/*WF UTILITIES MENU MOBILE BREAKPOINT*/
/*WF BUTTON STYLES*/
/*MENU BTN OVERRIDES*/
.top-nav-container {
    font-family: @font-family_1;
    font-size: 16px;
    font-weight: 400;
    font-weight: 400 !important;
    box-sizing: border-box;
    height: 50px;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 9999999;
    padding-left: 30px;
}

.wf-side-menu-outer {
    font-family: @font-family_1;
    font-size: 16px;
    font-weight: 400;
    position: fixed;
    top: 50px;
    overflow: hidden;
    width: 300px;
    z-index: 999999;
    left: -100%;

    a {
        font-weight: 400 !important;
    }
}

.utilities-mobile-container {
    font-family: @font-family_1;
    font-size: 16px;
    font-weight: 400;
    font-weight: 400 !important;
}

.wf-footer {
    a {
        font-weight: 400 !important;
    }
}

.legal-text a {
    color: #436c30;
}

.black {
    color: @color_1;
}

.black-bg {
    background-color: #000;
}

.black-bg-80 {
    background-color: rgba(0,0,0,0.8);
}

.black-bg-40 {
    background-color: rgba(0,0,0,0.4);
}

.white {
    color: @color_2 !important;
}

.nav-bar {
    li {
        a {
            /*color: #666666 !important;*/
        }
    }
}

.news-container-inner {
    color: @color_2 !important;
}

.white-bg-80 {
    background-color: rgba(255,255,255,0.8);
}

.white-bg-60 {
    background-color: rgba(255,255,255,0.6);
}

.pad-top-30 {
    padding-top: 30px;
}

.right-float {
    float: right;
}

.marg-neg15 {
    margin-top: -15px;
}

.pad-left10 {
    padding-left: 10px;
}

.pad-right10 {
    padding-right: 10px;
}

.sideMenuBtnArea {
    float: left;
    cursor: pointer;

    img {
        transition-property: opacity, -webkit-filter;
        transition-property: opacity, filter;
        transition-property: opacity, filter, -webkit-filter;
        transition-duration: 0.15s;
        transition-timing-function: linear;
    }

    .hamburger {
        transition-property: opacity, -webkit-filter;
        transition-property: opacity, filter;
        transition-property: opacity, filter, -webkit-filter;
        transition-duration: 0.15s;
        transition-timing-function: linear;
    }

    &:hover {
        img {
            opacity: 0.7;
        }

        .hamburger {
            opacity: 0.7;
        }
    }
}

.menu-btn {
    color: @color_2;
    font-size: 2rem;
    line-height: 50px;
    cursor: pointer;
}

.wf-logo {
    height: 22px;
    position: relative;
    top: -6px;
    margin-left: 6px;
}

.wf-side-menu-container {
    background-color: rgba(0,0,0,0.9);
    left: 0px;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 320px;

    p {
        color: @color_2;
    }

    #section1{
        display:none;
    }
}

.wf-side-menu-inner {
    box-sizing: border-box;
    width: 320px;
    overflow-y: scroll;
    padding: 30px;
    padding-right: 40px;
}

.search-form {
    input {
        width: 80%;
        float: left;
    }

    button.search-btn-outer {
        width: 20%;
        padding: 0px;
    }
}

.search-btn {
    color: @color_2;
    height: 39px;
    width: 100%;
    background: #999;
    border: none;
    line-height: 39px !important;
    font-size: 1.7rem !important;
}

ul.sections {
    margin-left: 0px;
    margin-top: 35px;

    li {
        &:last-child {
            border-bottom: 1px solid #fff;
        }
    }
}

li.section-header {
    border-top: 1px solid #fff;
    color: @color_2;
    padding: 13px 5px 15px 10px;
    list-style-type: none;
    font-size: 1.15rem;
    cursor: pointer;

    &:hover {
        background-color: rgba(255,255,255,0.15);
    }
}

.section-header {
    span {
        float: right;
        font-size: 2.25rem;
    }
}

ul.section-expanded {
    font-size: 1rem;
    list-style-type: none;
    margin-left: 10px;
    height: 0px;
    overflow-y: hidden;
    cursor: pointer;

    li {
        padding: 10px 0px 10px 0px;

        a {
            color: @color_2;
            display: block;
        }

        &:hover {
            a {
                color: @color_3;
            }
        }
    }
}

ul.sub-link-list {
    margin-left: 0px;
    list-style-type: none;

    li {
        padding: 5px 0px 5px 0px;

        a {
            color: @color_2;
            font-size: 1rem;
        }

        &:hover {
            a {
                color: @color_3;
            }
        }
    }
}

ul.social-list {
    list-style-type: none;
    margin-left: 0px;

    li {
        display: inline-block;
        margin-right: 10px;
        vertical-align: middle;

        a {
            span {
                color: @color_2;
                font-size: 2rem;
                list-style-type: none;
            }
        }

        &:hover {
            span {
                color: @color_3;
            }
        }
    }
}

.expanded {
    background: rgba(255,255,255,0.15);

    &:hover {
        background: rgba(255,255,255,0.15);
    }
}

.overlay {
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background: rgba(0,0,0,0.6);
    z-index: 2;
}

.hide {
    display: none;
}

ul.utilities-list {
    float: right;
    /*margin-right: 30px;*/
    margin-right: 16px;

    .wf-btn-red {
        padding: 0 12px;
    }

    .wf-btn {
        line-height: 35px;
    }

    li.logout-btn-container {
        &:hover {
            background: none;
        }

        a:hover {
            color: #fff;
        }
    }

    li {
        display: inline-block;
        list-style-type: none;
        border-left: 1px solid rgba(255,255,255,0.6);
        padding-left: 1rem;
        padding-right: 1rem;
        vertical-align: middle;
        margin-right: -5px;
        position: relative;
        cursor: pointer;

        &:first-child {
            border-left: none;
        }

        &:hover {
            background: rgba(255,255,255,0.25);
        }

        span {
            color: @color_2;
            font-size: 1.55rem;
            line-height: 50px;
        }

        span.fa-logout {
            color: #fff;
            font-size: 1rem;
            line-height: 39px;
        }

        span.fa-grid-three-up {
            font-size: 1.3rem;
            position: relative;
            top: -1px;
        }

        span.fa-bell {
            font-size: 1.4rem;
        }

        span.fa-user {
            font-size: 1.4rem;
        }

        p {
            color: @color_2;
            font-size: 1rem;
            line-height: 50px;
            margin: 0px;
        }
    }

    li.name-display {
        cursor: default;
        background: none !important;

        &:hover {
            cursor: default;
            background: none !important;
        }
    }

    li.portrait {
        height: 50px;
    }
}

.utilities-list.unauthenticated-utilities {
    margin-bottom: 0;

    @media @small {
        margin-top: 3px;
        text-align: right;
    }
    /*  display:flex;
  flex-direction:row;
  align-items:center;
  height:inherit;*/
    .login-btn {
        background: none repeat scroll 0% 0% #6A9008;
        color: #FFF !important;
        font-size: 0.9rem;
        text-align: center;
        border-radius: 5px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        cursor: pointer;
        padding: 0.125rem 1.5rem;
    }

    li {
        padding: 0 0 0 3px;
        margin: 12px 0 0 0;

        &:hover {
            background: none;
        }

        @media@small {
            margin: 12px 9px 12px 0;
        }
    }
}

.utilities-active {
    background: rgba(255,255,255,0.25);
}

.portrait-container {
    box-sizing: border-box;
    height: 26px;
    width: 26px;
    border-radius: 13px;
    background: url(/Winfield/media/CROPLAN/Design/userpic.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: #fff;
    position: relative;
    top: 12px;
}

.user-details-container {
    position: fixed;
    right: 0px;
    top: 50px;
    width: 445px;
    background-color: rgba(64,64,64,0.90);
    z-index: 9999999;
    display: none;
}

.menu-row {
    width: 100%;
    float: left;
    clear: both;
}

.utilities-close-btn {
    float: right;
    padding-bottom: 0px !important;
}

.indicator-number {
    position: absolute;
    top: 8px;
    right: -5px;
    background-color: red;
    font-size: 0.75rem !important;
    line-height: 1.125rem !important;
    width: 1.125rem;
    height: 1.125rem;
    text-align: center;
    border-radius: 0.5rem;
}

.user-details-portrait-container {
    box-sizing: border-box;
    height: 100px;
    width: 100px;
    border-radius: 50px;
    background: url(/Winfield/media/CROPLAN/Design/userpic.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: #fff;
    border: rgba(180,180,180,0.8) 3px solid;
    float: left;
    margin: 0px 0px 0px 25px;
}

.user-info-text-container {
    float: left;
    display: table;
    padding-left: 15px;
    height: 100px;
}

.user-name {
    display: table-cell;
    color: @color_2;
    font-size: 1.2rem;
    vertical-align: middle;
    line-height: 1.375rem;
}

.user-email {
    font-size: 0.8rem;
    width: 100%;
    display: block;
}

.apps-list-container {
    position: fixed;
    right: 0px;
    top: 50px;
    width: 445px;
    /*overflow-y: scroll;*/
    overflow-x: hidden;
    height: 550px;
    background-color: rgba(64,64,64,0.90);
    z-index: 9999999;
    padding-left: 20px;
    padding-bottom: 30px;
    display: none;
}

.app-links {
    position: relative;
    width: 30%;
    /*padding-bottom: 30%;*/
    margin: 0% 3% 3% 0%;
    float: left;
}

.app-text {
    position: absolute;
    bottom: 0px;
    left: 0px;
    font-size: 3rem;
    padding-left: 6%;
    color: @color_2;
    margin-bottom: 16%;

    span {
        font-size: 0.6rem;
        display: block;
        line-height: 0px;
        margin-top: -4px;
    }
}
/*.app-links-wf {
	background-color: rgba(67,108,48,1);
	&:hover {
		background-color: rgba(67,108,48,0.8);
	}
}*/
.app-links-partners {
    background-color: rgba(255,213,48,1);

    &:hover {
        background-color: rgba(255,213,48,0.8);
    }
}

#utilities-mobile-menu {
    display: none;
}

a.msg-item {
    box-sizing: border-box;
    color: @color_4;
    padding-bottom: 0.5rem;
    padding-top: 1rem;
    float: left;
    display: block;
    width: 100%;

    &:hover {
        color: @color_5;
    }

    p {
        float: left;
        width: 100%;
    }
}

p.msg-txt-header {
    line-height: 1rem;
}

p.msg-txt-sub-head {
    font-size: 0.7rem;
    line-height: 0px;
    color: @color_6;
    float: left;
    width: 100%;

    &:hover {
        color: @color_7;
    }
}

.menu-section-expanded-title {
    float: left;
    color: @color_2;
    font-size: 1.3rem;
    line-height: 50px;
    margin-bottom: 8px;
}

.btn-container {
    margin-top: 30px;
}

.wf-btn {
    color: @color_2;
    font-size: 1rem;
    line-height: 50px;
    text-align: center;
    border-radius: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    max-width: 150px;
}

.wf-btn-red {
    background-color: rgba(239,49,37,1);

    &:hover {
        background-color: rgba(239,49,37,0.8);
    }
}

.wf-btn-green {
    background-color: rgba(106,144,8,1);

    &:hover {
        background-color: rgba(106,144,8,0.8);
    }
}

.hamburger {
    outline: none;
    padding: 12px 0px 10px 0px;

    .hamburger-inner {
        background-color: #fff;
        width: 26px;

        &:after {
            background-color: #fff;
            width: 26px;
        }

        &:before {
            background-color: #fff;
            width: 26px;
        }
    }
}

.is-active {
    .hamburger-inner {
        background-color: red;

        &:after {
            background-color: red;
        }

        &:before {
            background-color: red;
        }
    }
}

@media only screen and (max-width: 40rem) {
    .wf-side-menu-outer {
        width: 100%;
    }

    .search-form {
        input {
            width: 80%;
            float: left;
        }

        button {
            width: 12%;
        }
    }

    .wf-side-menu-container {
        width: 110%;
    }

    .wf-side-menu-inner {
        width: 100%;
        padding-right: 10%;
    }
}

@media only screen and (max-width: 47.9375rem) {
    .top-nav-container {
        padding-left: 20px;
    }

    .apps-list-container {
        width: 100%;
        top: 134px;
        bottom: 0px;
        overflow-y: scroll;
    }

    .user-details-container {
        width: 100%;
        top: 134px;
        bottom: 0px;
        overflow-y: scroll;
    }

    .portrait-container {
        margin-left: 7px;
    }

    .user-details-portrait-container {
        box-sizing: border-box;
        height: 80px;
        width: 80px;
        border-radius: 40px;
    }

    .user-info-text-container {
        height: 80px;
    }

    ul.utilities-list {
        width: 100%;
        background: rgba(0,0,0,0.8);
        position: fixed;
        top: 50px;
        padding-left: 20px;
        margin-left: 0px;
        left: 0px;
        display: none;

        .wf-btn-red {
            padding: 0 12px;
        }

        .wf-btn {
            line-height: 35px;
        }

        li.nav-elem {
            border: none;
            box-sizing: border-box;
            width: 25%;

            span {
                display: block;
                margin-left: auto;
                margin-right: auto;
                text-align: center;
                max-width: 35px;
            }
        }

        li.name-display {
            display: block;
            padding-left: 0px;

            p {
                font-size: 0.9rem;
            }
        }

        li {
            p {
                line-height: 35px;
            }
        }
    }

    #utilities-mobile-menu {
        line-height: 50px !important;
        font-size: 2rem !important;
        color: @color_2;
        float: right;
        padding-right: 10px;
        display: block;
    }
}

@media only screen and (max-width: 24rem) {
    .top-nav-container {
        padding-left: 10px;
    }

    .wf-logo {
        height: 19px;
    }

    ul.utilities-list {
        float: right;
        margin-right: 6px;
        margin-left: 0;
    }
}
.news-text .detail-layout-proven .ktc-default-section .row:nth-child(odd) {
    background-color: #fff;
}
.news-text .detail-layout-proven .editing-form-control-nested-control {
    width: 70%;
    float: left;
    padding: 0px 24px;
    margin-left: 40px;
}
.news-text .detail-layout-proven label.control-label {
    width: 25%;
    float: left;
    text-align: left;
    padding: 0px 34px;
    margin: 9px 0px;
}
.news-text .detail-layout-proven input.submit {
    margin: 0.5rem 17.2rem 0.625rem;
}
.first-level
{
    margin-bottom:1rem !important;
}
