body {
    font-size: 12px;
}

a i.bi {
    font-size: 16px;
}

/* Layout */

.s-layout {
    display: flex;
    width: 100%;
    min-height: min(100vh, 100rem);
}

.s-layout__content {
    display: flex;
    /* justify-content: center;
    align-items: center; */
    flex: 1;
    overflow: auto;
    min-height: min-content;
}


/* Sidebar start */

.s-sidebar__trigger {
    z-index: 6;
    position: fixed;
    top: 0;
    left: 0;
    width: 4em;
    height: 4em;
    background: #699dc7;
}

.s-sidebar__trigger>i {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 4em;
    height: 4em;
    color: #fff;
}

.s-sidebar__trigger>i::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    z-index: 6;
}

.s-sidebar__nav {
    position: fixed;
    top: 0;
    left: -15em;
    overflow: auto;
    transition: all .3s ease-in;
    width: 15em;
    height: 100%;
    background: #699dc7;
    color: rgba(255, 255, 255, 0.7);
    z-index: 5;
}

.s-sidebar__nav:hover,
.s-sidebar__nav:focus,
.s-sidebar__trigger:focus+.s-sidebar__nav,
.s-sidebar__trigger:hover+.s-sidebar__nav {
    left: 0;
}

.s-sidebar__nav ul {
    position: absolute;
    top: 4em;
    left: 0;
    margin: 0;
    padding: 0;
    width: 15em;
}

.s-sidebar__nav ul li {
    width: 100%;
}

.s-sidebar__nav-link {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 4em;
    color: #fff;
}

.s-sidebar__nav-link span {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 4em;
    transform: translateY(-50%);
}

.s-sidebar__nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

nav.s-sidebar__nav li.active a {
    background: rgba(255, 255, 255, 0.1);
}

.s-sidebar__nav-link>i {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 4em;
    height: 4em;
}

.s-sidebar__nav-link>i::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
}


/* Mobile First */

@media screen and (min-width: 42em) {
    .s-layout__content {
        margin-left: 4em;
    }

    /* Sidebar */
    .s-sidebar__trigger {
        width: 4em;
    }

    .s-sidebar__nav {
        width: 4em;
        left: 0;
    }

    .s-sidebar__nav:hover,
    .s-sidebar__nav:focus,
    .s-sidebar__trigger:hover+.s-sidebar__nav,
    .s-sidebar__trigger:focus+.s-sidebar__nav {
        width: 15em;
    }
}

@media screen and (min-width: 68em) {
    .s-layout__content {
        margin-left: 15em;
    }

    /* Sidebar */
    .s-sidebar__trigger {
        display: none
    }

    .s-sidebar__nav {
        width: 15em;
    }

    .s-sidebar__nav ul {
        top: 1.3em;
    }
}


/* Sidebar end */

.btn-link {
    color: #699dc7;
}

.sortbya,
.sortbyz {
    font-size: 77%;
}

.sortbya i,
.sortbyz i {
    font-size: 150%;
}

.small-form {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.small-form .input-group-prepend .input-group-text {
    min-width: 200px;
    justify-content: flex-end;
}

h2 {
    margin: 50px 0;
}

h4.text-center {
    cursor: pointer;
    color: green;
}

h4.text-center+form {
    display: none;
    margin-bottom: 50px;
}

div.container {
    padding-bottom: 100px;
}

h2+h4+h6+div {
    margin: 15px 0;
}

.fa-fw {
    text-align: center;
    width: 3.25em;
}

li.nav-item a.nav-link i {
    font-size: 135%;
}

li.nav-item.active a.nav-link i {
    color: red;
}

.sorta {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 55%;
    margin: .4rem .5rem .4rem 0;
}

.sortz {
    transform: rotate(180deg);
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 55%;
    margin: .4rem .5rem .4rem 0;
}

.elipsis {
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.container {
    overflow-x: auto;
}

div.rd-container {
    z-index: 2000;
    box-shadow: 2px 2px 2px #666;
    border-color: #888;
}

div.container.survey .main_grid .card-body p,
div.container.assessment .main_grid .card-body p,
div.container.assessment_eval .main_grid .card-body p,
div.container.template_form .main_grid .card-body p,
div.container.training .main_grid .card-body p,
div.container.certification .main_grid .card-body p,
div.container.survey_active .main_grid .card-body p,
div.container.survey_archive .main_grid .card-body p {
    margin-top: 1rem;
    font-size: 12px;
}

div.container.survey .main_grid .card-body p::before,
div.container.assessment .main_grid .card-body p::before,
div.container.assessment_eval .main_grid .card-body p::before,
div.container.template_form .main_grid .card-body p::before,
div.container.training .main_grid .card-body p::before,
div.container.certification .main_grid .card-body p::before,
div.container.survey_active .main_grid .card-body p::before,
div.container.survey_archive .main_grid .card-body p::before {
    /*
  * aria-label has no advantage, it won't be read inside a table
  content: attr(aria-label);
  */
    content: attr(data-label);
    float: left;
    /* font-weight: bold; */
    text-transform: uppercase;
    margin-right: .5rem;
    font-size: 12px;
}

table.resp {
    border-collapse: collapse;
    /*
    border: 1px solid #ccc;
    margin: 0;padding: 0;
    width: 100%;
    table-layout: fixed; */
}


/* table.resp tr {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: .35em;
} */

table.resp thead {
    border-bottom: 1px solid #aaa;
}

table.resp th {
    position: relative;
    font-size: 12px;
    font-weight: 400;
}

table.resp td,
table.resp th {
    padding: .5rem 1rem .5rem 1rem;
    vertical-align: middle;
}

table.resp> :not(caption)>*>* {
    border-bottom-width: 0px;
}

table.notif_list td {
    padding: .1rem;
}

@media screen and (max-width: 30rem) {
    .nav-item .nav-link span {
        display: none;
    }
}

@media screen and (max-width: 60rem) {
    table.resp {
        border: 0;
    }

    table.resp thead {
        /*
		* we want to hide this on mobile
		*/
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table.resp tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: 1.625em;
    }

    table.resp td {
        /* border-bottom: 1px solid #ddd; */
        display: block;
        font-size: 12px;
        text-align: right;
    }

    table.resp.align_left td {
        text-align: left;
        padding: .2rem .5rem;
    }

    table.resp td::before {
        /*
	  * aria-label has no advantage, it won't be read inside a table
	  content: attr(aria-label);
	  */
        content: attr(data-label);
        float: left;
        /* font-weight: bold; */
        text-transform: uppercase;
    }

    table.resp td:last-child {
        border-bottom: 0;
    }
}

table.resp.resp_only {
    border: 0;
}

table.resp.resp_only thead {
    /*
	* we want to hide this on mobile
	*/
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

table.resp.resp_only tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 1.625em;
}

table.resp.resp_only td {
    /* border-bottom: 1px solid #ddd; */
    display: block;
    font-size: 12px;
    text-align: right;
}

table.resp.resp_only.align_left td {
    text-align: left;
}

table.resp.resp_only td::before {
    /*
  * aria-label has no advantage, it won't be read inside a table
  content: attr(aria-label);
  */
    content: attr(data-label);
    float: left;
    /* font-weight: bold; */
    text-transform: uppercase;
}

table.resp.resp_only td:last-child {
    border-bottom: 0;
}

table.resp.resp_only td[data-label=blog_content] {
    text-align: justify;
 }

 table.resp.resp_only td[data-label=blog_content]::before {
    display: none;
 }

/* general styling */

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: 1.25;
}

.title-icon {
    font-size: 3rem;
}

.alert-fixed {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 9999;
    border-radius: 0px
}

a {
    text-decoration: none;
    color: #699dc7;
}

a:hover:not(.no_under) {
    text-decoration: underline;
    color: #699dc7;
}

table.resp td[data-label] {
    min-height: 2rem;
}

table.resp td[data-col="training_details"] {
    text-align: justify;
}

table.resp td[data-col="training_details"]::before {
    padding-right: .5rem;
}

table.resp td[data-col="library_content"] {
    text-align: justify;
}

table.resp td[data-col="library_content"]::before {
    padding-right: .5rem;
    display: none;
}

textarea[name="library_content"] {
    min-height: 10rem;
}

.top_bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 4em;
}

div.container>div.row:first-child {
    margin-top: 7rem;
}

.btn-primary:hover {
    color: #fff;
    background-color: #699dc7;
    border-color: #699dc7;
}

.btn:hover,
a.btn:hover {
    color: #212529;
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #699dc7;
    border-color: #699dc7;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 .25rem rgba(116, 158, 210, 0.25);
}

btn-check:focus+.btn-primary,
.btn-primary:focus {
    color: #fff;
    background-color: #699dc7;
    border-color: #699dc7;
    box-shadow: 0 0 0 .25rem rgba(116, 158, 210, 0.25);
}

.h2,
h2 {
    font-size: 3.75rem;
    font-weight: 100;
}

.h3,
h3 {
    font-size: 3rem;
    font-weight: 300;
}

.h4,
h4 {
    font-size: 1.5rem;
    font-weight: 300;
}

.text-small {
    font-size: 12px;
    font-weight: 500;
}

.controls .btn.btn-light:hover {
    background-color: rgba(16, 117, 71, .08);
}

.controls .btn.btn-light:hover i {
    color: rgb(100, 143, 192);
}

.controls .btn.btn-light {
    border-color: #bbb;
}

.controls .btn.btn-light i {
    vertical-align: middle;
    color: rgba(0, 0, 0, .6);
}

h2.h4,
h2.fs-5 {
    max-width: 40vw;
    padding-right: .5rem;
}

h2.h4::after,
h2.fs-5::after {
    content: '';
    position: absolute;
    width: .22rem;
    left: -.5rem;
    top: .0;
    bottom: .0;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, .5);
    background-color: #699dc7;
}

.survey_form .form-check-label {
    vertical-align: text-top;
}

.form-check-input:checked {
    background-color: rgba(16, 117, 71, 1);
    border-color: rgba(16, 117, 71, 1);
}

.form-check-input:focus {
    border-color: #699dc7;
    box-shadow: 0 0 0 .25rem rgba(22, 140, 5, 0.25);
}

.parent_title {
    border-bottom: 1px solid #666;
    display: inline-block;
    margin: 0 auto 3rem auto;
    text-transform: uppercase;
    padding: .5rem;
    background-color: #eee;
}

.filter-dark {
    filter: invert(31%) sepia(0%) saturate(2%) hue-rotate(74deg) brightness(99%) contrast(85%);
}

/* .info-title::before {
    background-image: url("https://legalway.lt/img/frontend/block-9.png");
} */


.info-title {
    background: #699dc7;
    border-radius: 3px;
    margin-top: 43px;
    box-shadow: 3px 3px 4px 0px rgba(67, 78, 80, 0.08);
    position: relative;
}

.info-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 75px;
    height: 50px;
    z-index: 2;
    background-repeat: no-repeat;
    background-position: 22px center;
    background-image: url("https://legalway.lt/img/frontend/block-8.png");
}

.info-title h2 {
    overflow: hidden;
    position: relative;
    padding-left: 118px;
    font-weight: normal;
    color: #fff;
    font-size: 20px;
    line-height: 50px;
    margin: 0;
}

.info-title h2::before {
    content: '';
    top: -60px;
    left: -115px;
    position: absolute;
    width: 200px;
    height: 200px;
    transform: rotate(-26.5deg);
    background: #fff;
}

.field .action-line {
    text-align: center;
    margin-top: 38px;
}

.field .action-line div {
    font-size: 12px;
    color: #434f51;
    line-height: 28px;
    font-family: 'Open Sans', sans-serif;
    display: block !important;
    margin-bottom: 20px;
    text-align: center;
}

.field .action {
    border-radius: 3px !important;
    height: 34px !important;
    color: #fff !important;
    font-size: 12px !important;
    cursor: pointer !important;
    border: 0 !important;
    display: inline-block !important;
    padding: 0 24px !important;
    font-weight: normal !important;
    background-image: linear-gradient(to bottom, #566061 0%, #3d4749 100%) !important;
}

td[data-col="bill_pdf"] {
    color: #400080;
}

td[data-col="bill_pdf"]:hover {
    cursor: pointer;
}

.page_select.form-select {
    font-size: 12px;
}

#carouselBlogCaptions .carousel-inner .carousel-item a .text-blog {
    color: #fff;
    text-align: left;
}

#carouselBlogCaptions .carousel-inner .carousel-caption,
.container.blog .carousel-caption {
    background-color: rgba(0, 0, 0, .66);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
}

#carouselBlogCaptions {
    position: relative;
    box-shadow: 3px 3px 4px 0px rgba(67, 78, 80, 0.08);
}

.blog_btn {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 11;
    font-size: .77rem;
}

.blog_btn:hover {
    color: #aaa;
}

.t_area {
    min-height: 10rem !important;
}

.logo {
    background-image: url('https://legalway.lt/img/frontend/LW_Logo_Black.svg');
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    width: 140px;
    height: 58px;
    float: left;
    margin-top: 19px;
}

.nlink:hover {
    color: #aaa;
}
