/* GLOBAL STYLES */
body {
    padding-top: 89px;
    background-color: #e7eaf9;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    /* line-height: 28px; */
    color: #212123;
}

@media (min-width: 768px) {
    body {
        padding-top: 119px;
    }
}
@media (min-width: 992px) {
    body {
        padding-top: 119px;
    }
}

@media (min-width: 768px) {
    .container  { padding: 0; }
    .row        { margin: 0; }
    .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
        padding: 0;
    }
}

a,
.page-link {
    color: #2c4af7;
}
a:hover,
.page-link:hover {
    color: #212123;
}

.mt-7 {
	margin-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
}

h1 {
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 37px;
}
.h1-small {
    font-size: 37px;
    font-weight: 400;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 21px;
    line-height: 28px;
}

h4 {
    font-size: 12px;
    font-weight: 700;
    line-height: 28px;
    text-transform: uppercase;
}

.text-muted {
    color: #545358;
}


/* NAVBAR */

.navbar {
    margin-bottom: 20px;
    padding: 0;
}

.navbar-brand {
    width: 16.666667%;
    padding: 0;
    margin: 0;
}
.navbar-brand img {
    height: 37px;
    margin: 11px 15px;
}

.navbar-nav {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
}
.nav-item {
    line-height: 21px;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
}
.navbar-light .navbar-nav .nav-link {
    color: #212123;
    padding: 15px;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: #2c4af7;
}
.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: #2c4af7;
    background-color: #e7eaf9;
}
.navbar-toggler {
    padding: .25rem .50rem;
    border-radius: 0;
}
.navbar-light .navbar-toggler {
    border-color: transparent;
}
@media (max-width: 767px) {
    .navbar-collapse {
        height: 100vh;
    }
}

.ico-search {
    width: 28px;
    height: 29px;
}

@media (min-width: 768px) {
    .navbar-brand img {
        height: 50px;
        margin-left: 0;
    }
}

@media (min-width: 992px) {
    /* .navbar-expand-lg .navbar-nav .nav-link {
        padding: 0 10px 0 11px;
    } */
    .navbar-brand img {
        height: 67px;
    }
    .navbar-light .navbar-nav .nav-link {
        height: 89px;
        padding: 34px 10px 34px 11px;
    }
    .nav-item:first-child .nav-link {
        padding-left: 0;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 75%;
    }
    .container.sub-level {
        max-width: 1140px;
    }
}

/* SEARCH */

.search-open {
    margin-right: 15px;
    display: inline;
}
.searching {

}
.search-inline {
    width: 100%;
    left: 0;
    padding-left: 15px;
    padding-right: 15px;
    top: 0;
    height: 55px;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    background-color: #fff;
    z-index: 9;
    transition: all .5s ease-in-out;
}
@media(min-width: 768px) {
    .search-inline {
        height: 72px;
    }
}
@media(min-width: 992px) {
    .search-inline {
        height: 100%;
    }
}

.search-inline.search-visible {
    opacity: 1;
    visibility: visible;
    animation: fadeInDown 0.4s ease-in-out;
}

.search-inline button[type="submit"] {
    position: absolute;
    right: 52px;
    top: 0;
    background-color: transparent;
    border: 0px;
    top: 0;
    right: 80px;
    padding: 0px;
    cursor: pointer;
    width: 80px;
    height: 99%;
    background: #2c4af7;
    color: #fff;
}

.search-inline .form-control {
    border: 0px;
    padding-left: 0;
    font-size: 2rem;
    position: absolute;
    left: 1%;
    top: 0;
    height: 100%;
    width: 99%;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    outline: none;
}

.search-inline .search-close {
    position: absolute;
    top: 0;
    right: 0;
    color: #616161;
    width: 80px;
    height: 100%;
    text-align: center;
    display: table;
    background: #fff;
    text-decoration: none;
}

.search-inline .search-close i {
    display: table-cell;
    vertical-align: middle;
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #efefef;
    border-radius: .25rem;
    transition: border-color .3s ease-in-out, box-shadow .3s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -20%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* BREADCRUMBS */

.breadcrumb {
    padding: .75rem 0;
    margin-bottom: 0;
    background: none;
    border-radius: 0;
}
.breadcrumb-item {
    font-size: 12px;
    line-height: 16px;
}
.breadcrumb-item.active {
    color: #8c8f9e;
}

.case-author {
    font-size: 12px;
    line-height: 21px;
    height: 37px;
    display: flex;
    margin-bottom: 50px;
}
.case-author p {
    align-self: flex-end;
    margin-bottom: 0;
}
.case-author p span {
    color: #2c4af7;
}
.case-subject {
    color: #CE2D4F;
}

@media(min-width: 768px) {
    .case-author {
        height: 95px;
        margin-bottom: 0;
    }
}

ul.case-details-list {
    padding: 0;
    margin-bottom: 28px;
    list-style: none;
}
ul.case-details-list li {
    line-height: 21px;
    margin-bottom: 12px;
}

.results-wrapper {
    margin: 0 0 28px 0;
    position: relative;
}
.search-results {
    margin-bottom: 50px;
}
.fixed-box {
	position: sticky;
    top: 60px;
    padding-bottom: 43px;
    /* padding-top: 12px; */
}
.result-box {
    position: relative;
    overflow: hidden;
}

.search-result-box {
    margin-bottom: -8px;
}

.result-box:before {
    content: "";
    display: block;
    padding-top: 100%;
}
.result-box-pic {
    padding: 0 0 15px 0;
}
@media(min-width: 768px) {
	.fixed-box {
        top: 73px;
	}
    .result-box {
        margin-right: 15px;
    }
    .result-box-pic {
        padding: 0 15px 15px 0;
    }
}
@media(min-width: 992px) {
	.fixed-box {
        top: 90px;
	}
}

.result-content {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.result-content {
    white-space: nowrap;
    text-align: center;
}
.box-helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.box-helper.pre-carousel {

}
.result-content .result-image {
    width: 100%;
}
.result-box.result-box-carousel {

}
.result-box .carousel {
    /*position: absolute;
    bottom: 0;*/
}

.compare-x-axis {}
.compare-y-axis {}

.browse-case {
    position: absolute;
    transform: rotate(90deg);
    top: 33%;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.bc-prev {
    left: 12.5%;
    margin-left: -34px;
}
.bc-next {
    right: 12.5%;
    margin-right: -34px;
}
.browse-case span {
    margin-right: 7px;
}
.browse-case:hover {
    color: #2c4af7;
    text-decoration: none;
}
.arrow {
    height: 16px;
    /* width: auto; */
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .arrow {
        margin-top: -20px;
        margin-right: -13px;
        float: right;
    }
}
.arrow-left {
    padding-right: 4px;
    transform: rotate(90deg);
}
.arrow-right {
    padding-left: 4px;
    transform: rotate(270deg);
}

.letter-index-wrapper h2 {
    margin-bottom: 28px;
}
.letter-index {
    padding: 0;
    margin: 0 0 37px;
    list-style: none;
}
.letter-index li {
    font-size: 21px;
    line-height: 28px;
    text-align: center;
    display: inline-block;
    margin: 0 4px 8px 0;
}
.letter-index li a {
    width: 40px;
    height: 40px;
    display: block;
    padding: 5px 0;
    border: 1px solid #bbbcc8;
    color: #212123;
    -webkit-transition: all .25s; /* Safari */
    transition: all .25s;
}
.letter-index li a:hover {
    color: #2c4af7;
    border-color: #2c4af7;
}

@media(min-width: 768px) {
    .letter-index li a {
        width: 52px;
        height: 52px;
        padding: 10px 0;
    }
}
@media(min-width: 992px) {
    .letter-index li {
        font-size: 28px;
        margin: 0 8px 12px 0;
    }
    .letter-index li a {
        width: 65px;
        height: 65px;
        padding: 18px 0 12px;
    }
}

.btn-lg {
    padding-top: 0.9rem;
    font-size: 21px;
    height: 67px;
    border-radius: 67px;
}
.btn-primary {
    background-color: #2c4af7;
    border-color: #2c4af7;
}
.btn-primary:hover {
    background-color: #778af8;
    border-color: #778af8;
}

.btn-outline-primary {
    color: #2c4af7;
    border: 2px solid #2c4af7;
}
.btn-outline-primary:hover {
    background-color: #2c4af7;
    border-color: #2c4af7;
}

.sub-search {
    font-size: 21px;
	margin-bottom: 0;
}

a.result-item {
    padding: 12px 15px;
    /* min-height: 242px; */
    display: block;
    position: relative;
    /* background: #fff; */
    color: #212123;
    border-bottom: 1px solid #ddd;
}
a.result-item:hover {
    text-decoration: none;
    border-color: #2c4af7;
}
a.result-item img {
    transition: transform .2s;
}
a.result-item:hover img {
    transform: scale(1.2);
    border: none;
}
a.result-item .result-box {
    width: 100%;
    margin-bottom: 16px;
}
.result-box-details {
    height: 73px;
    overflow: hidden;
}
/* .result-box-details {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
} */
.result-box-details h3 {
	line-height: 21px;
}
.result-box-details p {
    margin: 0;
	line-height: 21px;
}

@media(min-width: 768px) {
    .result-box-details p {
        height: 42px;
        overflow: hidden;
    }
}

/*
@media(min-width: 414px) {
    a.result-item {
        min-height: 262px;
    }
}

@media(min-width: 768px) {
    a.result-item {
        min-height: 236px;
    }
}

@media(min-width: 992px) {
    a.result-item {
        min-height: 262px;
    }
}
@media(min-width: 1200px) {
    a.result-item {
        min-height: 236px;
    }
}
@media(min-width: 1600px) {
    a.result-item {
        min-height: 312px;
    }
}
 */

footer {
	position: relative;
    padding: 89px 0;
}
footer::after {
	content: "";
	background: url('../images/bg.png') right bottom no-repeat;
	background-size: 75%;
	opacity: .4;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	position: absolute;
	z-index: -1;
}
footer p {
    margin-bottom: 21px;
    text-align: center;
}
.text-copy {
	color: #AFB8D1;
}

@media(min-width: 768px) {
    footer {
        padding: 119px 0 0;

    }
	footer::after {
	    background-size: 50%;
	}
    footer p {
        margin-bottom: 58px;
        text-align: left;
    }
    .backtop {
        text-align: right;
        padding-right: 17px;
    }
}
@media(min-width: 992px) {
    footer {
        padding-top: 240px;
    }
}
@media(min-width: 1440px) {
    footer {
        padding-top: 360px;
    }
}

ul {
    padding-left: 0px;
}

.black-box {
    background: #000;
}

.result-box .min-carousel {
    margin-right: 0 !important;
}

.min-carousel ul li {
    display: none;
    font-family: sans;
    font-style: 2em;
    text-align: center;
    /* margin-top: 47px; */
}
.button-set {
    text-align: center;
}
.carousel-indicators {
    bottom: -35px;
}

.compareIcon {
    height: 20px;
}

.similarity-bar {
    margin-top: 3px;
    height: 4px;
}

.result-col {
    margin-bottom: 10px
} 