h1 {
    margin-top:0px !important;
    font-size:3.5em !important;}
    h2 > p > strong {
        font-size:25px;}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: work-sans,sans-serif;
    }
@font-face {
    font-display: swap;
    }
#layout-content {
    color:#26245e;
    overflow:auto;}
body{
    position:relative;
    min-height: 100vh;
    width: 100%;
    overflow: auto;
    padding-top:0px;
    }
.home_text p {
    font-size: 16px;}
.sidebar{
    height:100%;
    width:78px;
    background: #26245e;
    padding: 6px 14px !important;
    top:0;
    left:0;
    position:fixed;
    transition: all 0.5s ease;
    z-index: 999;
    }
.sidebar.active {
    width: 240px;    
}
.sidebar.active .logo_content .logo {
    opacity: 1;    
}
.sidebar .logo_content .logo{
    color:#fff;
    display:flex;
    height:50px;
    width:100%;
    align-items: center;
    opacity: 0;
    pointer-events: none;}
    
.logo_content .logo i{
        font-size:28px;
        margin-right: 5px;
    }
.logo_content .logo .logo_name {
    font-size: 20px;
    font-weight:400;
    white-space: nowrap;
    padding-left:14px;
    }
.sidebar #btn {
    position: absolute;
    color:#fff;
    left:50%;
    top: 6px;
    font-size:20px;
    height:50px;
    width:50px;
    text-align:center;
    line-height:50px;
    transform:translateX(-50%);
    }
.sidebar.active #btn {
    left: 90%;
    }
.sidebar ul{
    margin-top: 20px;
}
.sidebar ul li{
    position:relative;
    height:50px;
    width: 100%;
    margin: 0px 0px;
    list-style: none;
    line-height:50px;}
.sidebar ul li .tooltip, .profile .tooltip {
    position: absolute;
    height: 35px;
    line-height:35px;
    width: 125px;
    background: #dbb15d;
    color:#fff;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    left:122px;
    top: 0;
    transform:translate(-50%, -50%);
    border-radius: 6px;
    text-align:center;
    opacity: 0;
    transition: 0s;
    pointer-events: none;
    display:block;
    }
.sidebar ul li:hover .tooltip, .profile:hover .tooltip {
        transition: all 0.5s ease;
        top: 50%;
        opacity: 1;
    }
.sidebar.active ul li .tooltip, .sidebar.active .profile_content .profile .tooltip {
    display: none;
    }
.sidebar ul li a {
    color: #fff;
    display:flex;
    align-items:center;
    text-decoration:none;
    transition: all 0.4s ease;
    border-radius: 12px;
    white-space: nowrap;
    }
.sidebar ul li i {
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    line-height:50px;
    text-align:center;
    }
.sidebar ul li a:hover{
    background: #dbb15d;
    color: #fff;
    }
.sidebar ul li input {
    position:absolute;
    height:100%;
    width:100%;
    left:0;
    top:0;
    border-radius: 12px;
    outline: none;
    border:none;
    background: #c5a054;
    padding-left: 50px;
    font-size: 18px;
    color: #fff;
    line-height:normal;}
    
.styled-input {
    border-radius: 12px;
    outline: none;
    border:none;
    background: #c5a054;
    font-size: 18px;
    color: #fff;
    line-height:normal;
    padding:10px;
    }
.sidebar ul li .fa-search {
    position:absolute;
    z-index: 99;
    color: #fff;
    font-size: 22px;
    transition: all 0.4s ease;
    background: #c5a054;
    }
.sidebar ul li .fa-search:hover {
    background: #26245e;
    color: #fff;
    }
.sidebar .profile_content {
    position: absolute;
    color: #fff;
    bottom:0;
    left:0;
    width:100%;
    }
.sidebar .links_name {
    opacity: 0;
    pointer-events: none;
    }
.sidebar.active .links_name {
    opacity: 1;
    pointer-events: auto;
    }
.sidebar .profile_content .profile {
    position: relative;
    padding: 10px 6px;
    height: 60px;
    }
.profile_content .profile .profile_details {
    display:flex;
    align-items:center;
    opacity:0;
    pointer-events: none;
    white-space: nowrap;}
.profile .profile_details i {
    border-radius: 12px;
    font-size:45px;}
.profile .profile_details .name_email{
    margin-left:10px;
    }
.profile .profile_details .name {
    font-size: 15px;
    font-weight: 400;}
.profile .profile_details .email {
    font-size: 12px;
    font-weight: 400;}
.sidebar.active .profile .profile_details{
    opacity: 1;
    pointer-events: auto;}
.profile a #log_out{
    position: absolute;
    left:50%;
    bottom: 5px;
    transform: translateX(-50%);
    min-width: 50px;
    line-height: 50px;
    font-size: 20px;
    border-radius: 12px;
    text-align:center;
    color: #fff;
    }
.sidebar.active .profile a #log_out {
    left: 88%;
    }
#layout-content {
    position: relative;
    height: auto;
    width: calc(100% - 78px);
    left: 78px;
    transition: all 0.5s ease;
    top:0;
    padding-right:78px;
    padding-bottom:232px;}
#layout-content > div {
    width:80%;
    margin-left:10%;}
#layout-footer {
    position: absolute;
    height: auto;
    width: 100%;
    transition: all 0.5s ease;
    bottom:0;}
.home_content .text{
    font-size: 25px;
    font-weight: 500;
    color: #1d1b31;
    }
.sidebar.active ~ #layout-content, .sidebar.active ~ #layout-footer{
    width: calc(100% - 318px);
    left: 240px;
    }
.sidebar.active ~ #layout-content{
    padding-right:0px;
    }
.footer_table {
    width:100%;
    color:white;
    }
#layout-footer {
    background: #26245e;
    padding:10px;
    width: calc(100% - 156px);
    left: 78px;}
.footer_table tr td, .footer_table tr th {
    text-align:center;}
.footer_table tr td a{
    border-radius: 12px;
    text-align:center;
    color:white;
    text-decoration:none;
    transition: all 0.5s ease;
    padding:15px 15px;
    line-height:50px;
    }
.footer_table tr td a:hover{
    background: #dbb15d;
    color: #fff;
    }
.footer_table tr th {
    color: #dbb15d;
    width:20%;
    }
.login_header, .login_register tr th {
    text-align:center;}
.login_header, .login_register tr td {
    padding:5px;}
.login_register{
    width:80%;
    text-align:center;
    margin-left:10%;}
.login_register tr td form input, .login_register tr td form button {
    border-radius: 12px;
    text-align:center;
    color:white;
    text-decoration:none;
    transition: all 0.5s ease;
    padding:5px 10px;
    background: #dbb15d;
    border: none;
    margin:5px;
    float:left;
    }
.login_register tr td form label {
    float:left;
    width:50%;
    text-align:right;
    padding:5px 10px;
    margin:5px;
    color:#dbb15d;
    }
.login_register tr td form input:hover, .login_register tr td form button:hover{
    background:rgb(153,117,26);
    }
.login_register tr td ul li {
    text-decoration: none;
    }
.login_register_div {
    position:relative;
    width:100%;
}
.login_register tr td form button{
    text-align:center;
    float:none !important;}
#layout-footer hr {
    border:1px solid #dbb15d; width:90%; margin-left:5%;margin-bottom: 10px;}
.footer_links a {
    color: #fff;
    align-items:center;
    text-decoration:none;
    transition: all 0.4s ease;
    border-radius: 12px;
    white-space: nowrap;
    float:right;
    height:50px;
    font-size: 22px;}
.footer_links a:hover {
    background: #dbb15d;
    color: #fff;
    }
.footer_links {
    text-align:center;
    margin-right:25px;}
.footer_links i {
        height: 50px;
    min-width: 50px;
    border-radius: 12px;
    line-height:50px;
    text-align:center;}
::placeholder {
    color: #fff;}
.footer_links p { 
    line-height:50px;
    float:right;
    margin-bottom:0px;
    color: #fff;}
.footer_links a p {
    padding-right:12.5px;
    }
#footer-bar {
    width:78px; float:right; background-color: #26245e;
    position:fixed;bottom:0; right:0;
    height:100%;}
.home-title {
    text-align:center;}
.home-title h1 {
    color: #dbb15d}
.stallion_table {
    height:50vh;
    width:100%;}
.stallion_table tr td a div{
    width:100%;
    height:100%;
    background-size: cover;
    -o-background-size:cover;
    -moz-background-size:cover;
    -webkit-background-size:cover;
    background-position: center;
    position:relative;
    border-radius:12px;
    transition: all 0.5s ease;
    box-sizing:border-box;
    border: 5px solid white;
    
  }
.stallion_table tr .td1{
    width:50%;   
    }
.stallion_table tr td a div:hover {
    opacity:0.75;
    border: 5px solid #dbb15d;
    }
.stallion_table tr td a div p{
    color:white;
    text-align:center;
    text-decoration:none;
    bottom:0;
    position:absolute;
    right:0;
    font-size:20px;
    margin-right:10px;
    border-radius:10px;
    padding:5px;}
.stallion_table tr td{
    padding:2.5px;
    width:25%;
    }
.home_text {
    text-align:center;
    width:100%;
    padding: 25px 0px;}
.styled-table {
    border-collapse: collapse;
    margin-left:10%;
    font-size: 0.9em;
    width:80%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    margin-top:25px;
}
.styled-table thead tr {
    background-color: #dbb15d;
    color: #ffffff;
    text-align: left;
    cursor:pointer;
}
.styled-table th,
.styled-table td {
    padding: 12px 15px !important;
}
.styled-table tbody tr, .styled-table tfoot tr {
    cursor:pointer;
    transition: all 0.4s ease;
}

.styled-table tbody tr td, .styled-table tfoot tr td {
    border-bottom: 2px solid #dbb15d !important;}

.styled-table tbody tr:nth-of-type(even) {
    
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #dbb15d;
}
.styled-table tbody tr:hover, .styled-table tfoot tr:hover {
    color: #dbb15d;
    background-color: #f3f3f3;
}

.styled-table.active tbody tr{
        visibility: collapse;
    opacity:0;}
.mares_table, .credits_table  {
    width:35%;
    float:left;}
    
caption {
    display: table-caption;
    }
caption p {
    margin-bottom:0px;
    line-height:50px;}
caption p:first-child {
    text-align:left;
    float:left;}
caption a {
    text-align:right;
    float:right;
    color:#777777;
    cursor:pointer;
    padding:0px 15px;
    border-radius: 12px;
    transition: all 0.4s ease;}
caption a:hover {
    background: #dbb15d;
    color: #fff;
    }
caption input {
    border-radius: 12px;
    outline: none;
    border:none;
    background: #dbb15d;
    padding: 5px 0px;
    font-size: 18px;
    color: #fff;
    float:right;
    line-height:50px;
    height:50px;
    width:auto;
    margin-right:15px;
    text-align:center;
    }
caption input::placeholder {
    color: #fff;
    }
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  text-align: left;
  border: none;
  outline: none;
  transition: all 0.4s ease;
  width:80%;
  margin-left: 10%;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.accordion.active, .accordion:hover {
  background-color: #dbb15d;
  color: #fff;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0px 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  margin-bottom: 0px;
  width:80%;
  margin-left:10%;
}
.panel p {
    padding: 18px 0;
    margin-bottom: 0;}
.accordion-container {
    margin: 25px 0;
}
#order-table_wrapper {
    width:80%;
    margin-left:10%;
    }
#mare-table_wrapper, #credit-table_wrapper {
    width:50%;
    float:left;
    clear:none;
    }
#mare-table_wrapper {
    padding-right:5%;
    }  
#credit-table_wrapper {
    padding-left:5%;
    } 
.two_tables {
    width:100%;
    margin-left:0%;
    margin-top:25px;}
.dataTables_length, .dataTables_filter, .dataTables_info, .dataTables_paginate > a {
    color: #dbb15d !important;
}
.dataTables_length > label > select {
    border-radius:12px;
    border:1px solid #dbb15d;
    }
    
.dataTables_filter > label > input {
    padding:5px;
    padding-left:10px;
    border-radius:12px;
    border:1px solid #dbb15d;
    background-color: #dbb15d;
    color: #fff;}
.paginate_button {
    border-radius:12px;
    border:1px solid #dbb15d;
    }
th, table {
    border: none !important;}
tfoot tr td {
    border:none !important;}
.stallion-image {
    border-radius: 12px;
    width:100%;}
.col2 {
    width:50%;
    float:left;
    padding:10px;}
.bloodline-table tbody tr td {
    padding:5px;
    border: 1px solid #dbb15d;
    }
.dam {
    background-color:rgba(0, 0, 0, 0.3);
    color:white;
    }
.nopad {
    padding:0px !important;}
.stallions-content {
    display:flex;
    flex-wrap:wrap;}
.stallions-single {
    background-size:cover; 
    width:100%;
    background-repeat: no-repeat;
    background-position:center;
    position:relative;
    text-align:center;
    border:5px solid white;
    transition: all 0.5s ease;
    border-radius: 12px;
    cursor:pointer;
    margin:5px;
    }
.stallions-single > img {
    width:100%;
    margin-bottom:30px;
    border-radius:6px;
    }
.stallions-single > p {
    text-align:center;
    position:absolute;
    bottom:0;
    color:white;
    background-color:#26245e;
    width:100%;
    margin-bottom:0px;
    transition: all 0.5s ease-in;
    font-size:20px;
    border-radius:7px;
    padding: 5px;
    line-height:1;
    }
.stallions-single:hover {
    border:5px solid #dbb15d;
    }

.smallimg-container {
    width:20%;
    float:left; 
    cursor:pointer;
    border:5px solid rgba(212,175,55,0);
    border-radius:12px;
    transition: all 0.5s ease;
    }
.smallimg-container:hover {
    border:5px solid #dbb15d;}
.imgsmall {
    width:100%;
    display:block;
    border-radius:7px;
    height: 150px;
    object-fit: cover;
    }
    
.stallion-details {
    width:100%;
    overflow:auto;
    padding:10px;}
    
ul.tab {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Float the list items side by side */
ul.tab li {float: left;}

/* Style the links inside the list items */
ul.tab li a {
    display: inline-block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of links on hover */
ul.tab li a:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
ul.tab li a:focus {
    background-color: #ccc;
}
ul.tab li a.active {
    background-color: #ccc;
}
.tablinks {
    cursor:pointer;}
/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}

@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
table.details tr td{
    padding:5px;
    }
table.details {
    width:50%;}
    
table.details tr:nth-child(even){
    background-color:lightgray;}
.about-content {
    overflow:auto;
    text-align:center;
    }
.about-content img {
    border-radius: 12px;}
.about-content .col2 {
    text-align:left;}
.policy-content h4 {
    color:#dbb15d;}
    
.dataTable thead tr th {
    font-weight:normal !important;}

ul.tab {
    border-radius:12px;}

.addToCart > input, .addToCart > select, #goCheckout, .styleSubmit {
    text-align:center;
    padding:10px;
    border-radius:12px;
    background-color:#dbb15d;
    color: #fff;
    border:0px;
    transition: all 0.5s ease;
    }
    
#goCheckout:hover, .styleSubmit:hover {
    background-color:rgb(153,117,26);    
    }
    
div#success {
    text-align: center;
    box-shadow: 1px 1px 5px #455644;
    background: #bae8ba;
    padding: 10px;
    border-radius: 3px;
    margin: 0 auto;
    width: 350px;
}

.inputBox {
    width: 100%;
    margin: 5px 0px 15px 0px;
    border: #dedede 1px solid;
    box-sizing: border-box;
    padding: 15px;
}

#mare-popup, #certificate-popup {
    position: absolute;
    top: -20px;
    left: 0px;
    height: calc(100vh + 20px);
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    color: #676767;
    z-index:1;
}

.contact-form {
    width: 700px;
    margin: 0px;
    background-color: white;
    font-family: Arial;
    position: relative;
    left: 50%;
    top: 50%;
    transform:translate(-50%, -50%);
    box-shadow: 1px 1px 5px #444444;
    padding: 20px 40px 40px 40px;
    overflow:auto;
    border-radius: 12px;
    height:90vh;
}

.contact-form > div {
    width:50%; float:left;
    padding:10px;}
#contact-icon {
    padding: 10px 5px 5px 12px;
    width: 58px;
    color: white;
    box-shadow: 1px 1px 5px grey;
    border-radius: 3px;
    cursor: pointer;
    margin: 60px auto;
}

.info {
    color: #d30a0a;
    letter-spacing: 2px;
    padding-left: 5px;
}

#send {
    background-color: #09F;
    border: 1px solid #1398f1;
    font-family: Arial;
    color: white;
    width: 100%;
    padding: 10px;
    cursor: pointer;
    border-radius:12px;
}

#mare-popup h1, #certificate-popup h1 {
    font-weight: normal;
    text-align: center;
    margin: 10px 0px 20px 0px;
}

.input-error {
    border: #e66262 1px solid;
}

#mare-close, #certificate-close {
    position:absolute;
    top:5px;
    right:5px;
    font-size:20px;
    }
.showmob {
    display:none;}

.stallion-index {
    width:25%;}
@media (max-width: 480px) {
    #mare-popup, #contact-form {
        width:100% !important;
        }
    #basket-table {
        margin-left:0px;}
    #layout-footer > hr {
        margin-left:0px;
        width: calc(100% - 10px);}
    .footer_links p, .footer_links a{
        text-align:left;
        float:left;}
    .footer_links > div {
        padding-right:10px;
        overflow:auto;}
    .footer_links > div > div {
        overflow: auto;
    float: right;
        }
    hr.showmob {
        display:block !important;
        width:100%;}
    .styled-table, .two_tables, .dataTables_wrapper {
        width:100% !important;}
    #mare-table_wrapper, #credit-table_wrapper {
        padding:0px !important;}
    .home-title > img {
        display:none;}
    .sidebar.active > .logo_content {
            height: calc(8vh - 6px);}
    .logo_name {
        text-align:center;
        height:100%;}
    .logo_name > img, .logo_content .logo{
        height:100% !important; }
    .logo_name > img {
        width:auto !important;}
    .logo_content {
        height: calc(100% - 6px);}
    .sidebar .logo_content .logo{
        opacity:1;}
    .stallion-index {
    width:50%;}

    .stallion-index > div {
        height:25vh;
        background-size:cover;
        }
    .showmob {
        display:table-row !important;}
    #footer-bar {
    display:none;}
  /* CSS that should be displayed if width is equal to or less than 800px goes here */
  #layout-content, #layout-footer {
      padding-right:0px;}
    #layout-footer {
        width:100%;
        left:0px;}
        
h2, .h2 {
    font-size:20px !important;}
    .hidemob {
        display:none;}
        
    .footer_links a {
        font-size: 16px;}
    .sidebar.active {
        width:100vw;
        position: fixed;
        height:100%;}

        
    .sidebar {
        height: 8%;
        width: 100%;
        }
        
    .sidebar #btn {
        left: 90%;}
    
    #layout-content {
        width:100%;
        left:0px;
        padding-top:65px;
        }
    #layout-content > div {
        width:90%;
        margin-left:5%;}
    .stallion_table tr td {
        width:auto;}
    .col2 {
        width:100%;}
    ul.tab li a {
        font-size: 14px;}
    table.details {
        width:100%;}
    iframe {
        width:100%;}
    .about-content img{
        width:100%;
        }
    .styled-table {
        width:90%;
        margin-left:5%;}
    #goCheckout {
        width:100%;
        margin-bottom: 10px;}
    .autoheightmob {
        height: 200px !important;}
        .stallions-single > p {
            font-size:16px;}
}

/* .red-asterisk: Styles mandatory fields' asterisk throughout the system */
.red-asterisk { color: #D2042D; }

/* .password-criteria: Styles additional information on password requirements on registration form */
.password-criteria { font-size: 14px; }