/*
* records.css
***************************************************************************** */
html {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Open Sans',Arial,Helvetica,Sans-serif;
    overflow-x: hidden;
    background: linear-gradient(rgba(35, 143, 216, 0.2), rgba(131, 176, 49, 0.2));
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    margin: 0;

    -webkit-font-smoothing: antialiased
}

h1, h2, h3, h4 {
    line-height: 1.1;
    font-family: inherit;
}

a, a:link, a:visited {
    text-decoration: none;
    color: #238fd8;
}

a:hover {
    -webkit-transition-duration: .6s;
    -moz-transition-duration: .6s;
    -o-transition-duration: .6s;
    transition-duration: .6s;

    color: #93b751;
}

a.disabled, span.disabled {
    pointer-events: none;
    color: #888;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box
}

/* -------------------------------------------------------------------------- */
.cf:before, .cf:after{
  content:'';
  display:table;
}
.cf:after{
  clear:both;
}
/* -------------------------------------------------------------------------- */
.container-recordspage {
    position: relative;
    border-radius:5px;
    padding: 0px 25px 10px;
    margin: 50px auto 50px auto;
    width: 1170px;
    min-height: 500px;
    background: #fff;
    clear: both;
}

section.wrapper-records { 
    margin: 0 -10px; 
}
section.wrapper-records::before, section.wrapper-records::after {
    display: table;
    content: " ";
}
section.wrapper-records::after { 
    clear: both; 
}

/*  Header "Suggestions for [x] in or near [x]" */
.records-subtitle {
    display: block;
    width: 100%;
    float: none;
    margin: 20px auto;
    border-bottom: solid 2px #f0f0f0;
    padding-bottom: 5px;
    font-size: 30px;
    color: #238fd8;
    font-weight: 300;
    text-align: left;
    clear: both;
}

/* Wrappers - Top & Bottom records nav */
.container-record-nav {
    display: block;
    float: left;
    width: 100%;
    margin: 8px -15px 15px;
    font: bold 14px 'Open Sans',Arial,Helvetica,Sans-serif;
}
.borderbottom { 
    border-bottom: solid 1px #ccc; 
}
.bordertop {
    border-top: solid 1px #ccc;
    padding-top: 20px;
}

/* Pagination Elements */
.records-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(4vw, max-content));
    grid-column-gap: 10%;
    margin: 0 auto 10px;
    font-size: 1.1em;
    font-weight: bold;
    justify-content: center;
}

.pseudo-label {
    font-weight:600;
    margin:0px;
}

/* Letter search filter */
.lettersearch {
    color: #238fd8;
    font-size: 20px;
}

.lettersearch a {
    padding: 0 .5%;
    color: #b1d85b;
    font-weight: bold;
}

.lettersearch-title {
    margin-bottom: 0;
}

.lettersearch a:hover, .lettersearch a:focus { 
    color:#fff; 
}

.lettersearch a.inactive, .lettersearch span.inactive {
    color: #bbb;
    cursor: default;
    text-decoration: none;
    font-weight: normal;
}

/* --- records/listings area --- */
.container-records-refine {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.records {
    width: 100%;
    margin-right: 3%;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

/* record listing display */
.record {
    transition: linear all 0.2s;
    display: block;
    position: relative;
    background: #efefef;
    padding: 2% 2% 2% 1%;
    width: 100%;
    border: 0;
    margin: 0 0 15px -15px;
}

.record:hover {
    transition: linear all 0.2s;
    background-color: rgba(35, 143, 216, 0.2);
}

.record-link {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

button.record { 
    cursor: pointer; 
} 

/* record elements being displayed */

.record-img-wrap {
    max-width: 120px;
}
.record-img {
    display: block;
    float: left;
    width: 100%;
    height: auto;
    margin-right: 15px;
}
.record-info {
    display: block;
    float: left;
    width: 78%;
    max-width: 690px;
    font-size: 14px;
    font-weight: normal;
    color: #555;
    text-align: left;
}
.record-info div { 
    padding: 3px 0; 
}

.record-info div:nth-child(1) { 
    padding: 0 0 3px; 
}

.record-info-title {
    text-transform: capitalize;
    color: #238fd8;
    font-size: 18px;
    font-weight: bold;
}
.record-info-specialty {
    font-style: italic;
    font-weight: 600;
}
.record-info-specialty span { 
    color: #238fd8; 
}

/* End Record Elements */

/* === Error Page Elements === */
.error-listings { 
    margin-bottom: 50px; 
}
.error-listings h1 { 
    font-size: 1.2em; 
}

.error-listings-summary {
    top: 10px;
    padding: 5px;
    border: #00003d solid 0.5px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    width: -webkit-fit-content;
    width: fit-content;

    -webkit-box-shadow: 0 0.15rem 0 0 #000;
    -moz-box-shadow: 0 0.15rem 0 0 #000;
    box-shadow: 0 0.15rem 0 0 #000;
}

.error-submit-listing {
     margin-top: 2.1vw;
     box-shadow: 0px -2px 0px 0px rgb(255, 255, 255);
     box-shadow: 0px -2px 0px 0px rgba(0, 0, 0, 0.1);
 }

.error-submit-listing-summary { 
    font-weight: bold; 
}

.fl-1-wrap {
    padding-top: 5px;
}

/* --- Animation: Zoom-In --- */
@-webkit-keyframes zoom-in {
   0% { transform: scale(1); }
  100% { transform: scale(1.3); }
}

@keyframes zoom-in {
   0% { transform: scale(1); }
  100% { transform: scale(1.3); }
}

.zoom-in {
	-webkit-animation-name: zoom-in;
	-webkit-animation: none;
	animation-name: zoom-in;
	animation: none;
	transition: 0.3s ease-in-out 0s !important;
}

.zoom-in:hover {
	-webkit-animation: zoom-in 0.5s;
	animation: zoom-in 0.5s;
	animation-fill-mode: forwards;
    z-index: 90;
}
/* --- End Zoom - In --- */


/* Media Breakpoints */
@media screen and (max-width: 1200px), (max-device-width: 1200px) {
    .container-recordspage { 
        width: 95%;
     }

    .record-info {
         width: 72%; 
    }
}
@media screen and (max-width: 992px), (max-device-width: 992px) {
    .container-records-refine {
        width: 100%;
        margin: auto;
    }

    .record {
        padding: 0;
    }

    .wrapper-record-img-info {
        display: flex;
        flex-direction: row;
        gap: 15px;
        align-items: center;
        padding: 0.25rem 0 0.5rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .wrapper-record-img-info {
        padding: 10px;
    }  

    .records {
        margin-right: 0;
    }

    .record {
        margin: auto auto 0.5rem auto;
    }
}

@media (max-width: 576px) {
    .record-img {
        display: none;
    }

    .records-nav {
        text-align: center;
        font-size: 1.05em;
        gap: 5%;
    }

    .record-info {
        width: 90%;
    }
}
