﻿body {
    /*padding-top: 100px;*/
    padding-bottom: 0;
    background: #f9f8f8;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

@-webkit-keyframes swing {
    15% {
        -webkit-transform: translateX(5px);
        transform: translateX(5px);
    }

    30% {
        -webkit-transform: translateX(-5px);
        transform: translateX(-5px);
    }

    50% {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }

    65% {
        -webkit-transform: translateX(-3px);
        transform: translateX(-3px);
    }

    80% {
        -webkit-transform: translateX(2px);
        transform: translateX(2px);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes swing {
    15% {
        -webkit-transform: translateX(5px);
        transform: translateX(5px);
    }

    30% {
        -webkit-transform: translateX(-5px);
        transform: translateX(-5px);
    }

    50% {
        -webkit-transform: translateX(3px);
        transform: translateX(3px);
    }

    65% {
        -webkit-transform: translateX(-3px);
        transform: translateX(-3px);
    }

    80% {
        -webkit-transform: translateX(2px);
        transform: translateX(2px);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

.navbar-collapse.in,
.collapsing {
    background-color: #EFEFEF;
    border-top-color: #EFEFEF;
    text-align: center;
    text-transform: uppercase;
}

.navbar-inverse {
    background-color: #FFFFFF !important;
    border-color: #1d8dcd !important;
    height: 50px;
    border: none;
    border-radius: 0;
    border-bottom: 0;
    z-index: -1;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.56);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.56);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.56);
}

.navbar-inverse {
    height: 80px;
    z-index: 1 !important;
}

@media (min-width: 768px) {


    .navbar-inverse .navbar-nav > li > a {
        margin-top: 20px;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 14px;
        border-bottom: 3px solid transparent;
        text-transform: uppercase;
        padding: 25px 15px 12px 15px;
    }

        .navbar-inverse .navbar-nav > li > a:hover {
            color: #0099cc;
            border-bottom: 3px solid #cc3333;
        }
}

.navbar-inverse .navbar-toggle {
    border-color: transparent;
    background: #999999;
    margin-top: 35px;
}

    .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
        background-color: #CCC;
        border-color: #fff;
    }

.navbar {
    margin-bottom: 10px;
}

.list-image img {
    margin-bottom: 10px;
    width: 100%;
    height: 210px;
    object-fit: cover;
    margin-bottom: 10px;
    -webkit-animation-name: example; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 1.5s; /* Safari 4.0 - 8.0 */
    animation-name: fadeFrame;
    animation-duration: 1.5s;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes example {
    from {
        opacity: 0.05;
    }

    to {
        opacity: 1;
    }
}
/* Standard syntax */
@keyframes fadeFrame {
    from {
        opacity: 0.05;
    }

    to {
        opacity: 1;
    }
}

.footer {
    /*position: absolute;*/
    width: 100%;
    left: 0;
    bottom: 0;
    background-color: #13275e;
    color: #fff;
    border-top: 5px solid #0099cc;
    border-top: 5px solid #cc3333;
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
}
footer.container {
    padding: 10px 5px 0 10px;
}
/*footer img {
    width: 100%;
}*/

.img-responsive {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    .img-responsive:hover {
        opacity: 0.7;
    }

/* The Modal (background) */
.modal-customized {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content-customized {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 95%;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
#close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    #close:hover,
    #close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }

    .carousel-control.left, .carousel-control.right {
        top: 11% !important;
    }
}

html,
body {
    height: 100%;
}

#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

.selected-img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.slider-caption {
    position: relative;
    animation-name: example;
    animation-duration: 2s;
    animation-iteration-count: 1;
    transition: 1s;
}

/* Standard syntax */
@keyframes example {
    from {
        top: 200px;
        opacity: 0.2;
    }

    to {
        top: 0px;
        opacity: 1;
    }
}

.form-group {
    margin-bottom: 10px;
}

/*h1, h2, h3, h4, h5, h6, p {
    color: lightgray;
}*/
.nomargin {
    margin: 0;
}

.modal-header {
    border: none;
}



.modal-body {
    font-size: 14px;
}

.modal-header h2,
.container.body-content h1 {
    color: #666;
    font-size: 26px;
}

    .modal-header h2::after,
    .container.body-content h1::after {
        background: #cc3333;
        content: '';
        height: 3px;
        width: 70px;
        margin: 10px 0 20px 0;
        display: block;
    }

.bottommargin-sm {
    background-color: #FFFFFF;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 5px;
}

    .bottommargin-sm:hover {
        cursor: pointer;
        border: 1px solid #999;
    }

    .bottommargin-sm a:hover {
        text-decoration: none;
    }

    .bottommargin-sm h4,
    .bottommargin-sm h3 {
        display: inline-block;
    }

    .bottommargin-sm .list-image {
        margin-bottom: 15px;
        border-bottom: 1px solid #ddd;
    }

    .bottommargin-sm:hover .list-image {
        border-bottom: 1px solid #999;
    }

.reduced-col-md {
    padding-right: 5px;
    padding-left: 5px;
}

.lista + h3 {
    display: block;
    text-align: right;
    color: #cc3333;
}

.lista {
    list-style-type: none;
    display: block;
    padding: 0;
    margin: 0;
    color: #666666;
    font-size: 12px;
    width: 60%;
    margin-top: 15px;
}

    .lista span {
        font-weight: bold;
    }

.form-control {
    padding: 6px 6px;
}

.dragable-img {
    width: 140px;
    height: 110px;
    margin: 1px;
    padding: 1px;
    object-fit: cover;
}

#wrap .panel-default .form-inline {
    display: table;
    width: 100%;
}

    #wrap .panel-default .form-inline .filter-item {
        display: table-cell;
        /*width: 25%;*/
        text-align: center;
        padding: 10px;
        font-size: 11px;
    }

        #wrap .panel-default .form-inline .filter-item a {
            transition: all 0.3s;
            display: block;
        }



        #wrap .panel-default .form-inline .filter-item .category-filter-img {
            margin: 7px;
            border-radius: 0;
            cursor: pointer;
            margin: 5px auto;
            display: block;
            filter: grayscale(100%);
            -webkit-filter: grayscale(100%);
            filter: grayscale(100%);
        }

            #wrap .panel-default .form-inline .filter-item .category-filter-img:hover {
                -webkit-filter: grayscale(0%);
                filter: grayscale(0%);
            }

.header-contacts {
    position: absolute;
    right: 0;
    top: 0;
    background: #EFEFEF;
    z-index: 10;
    padding: 5px;
}

    .header-contacts::before {
        content: '';
        position: absolute;
        top: 0;
        right: 100%;
        border-color: transparent;
        border-style: solid;
    }

    .header-contacts::before {
        border-width: 15px;
        border-right-color: #EFEFEF;
        border-top-color: #EFEFEF;
    }

    .header-contacts a:hover {
        text-decoration: none;
    }

    .header-contacts img {
        width: 14px;
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
    }

    .header-contacts a {
        font-size: 12px;
        color: #444444;
        font-weight: bold;
    }

.form-coll {
    background: #FFFFFF;
    border-radius: 5px;
    margin-top: 15px;
    border: 1px solid #ddd;
    margin: 0 -15px;
    padding: 5px 5px;
    font-size: 12px;
    margin-bottom: 20px;
}

.hours {
    background: #FFFFFF;
    border-radius: 5px;
    margin-top: 15px;
    border: 1px solid #ddd;
    margin: 0 -15px;
    padding: 5px 20px;
    font-size: 12px;
}

    .hours h4 {
        font-size: 14px;
    }

    .btn-warning,
    .hours button {
        margin-top: 5px;
        background: #cc3333;
        border: 1px solid #b72121;
    }

        .btn-warning:active,
        .btn-warning:hover,
        .hours button:active,
        .hours button:hover {
            background: #b72121;
            border: 1px solid #b72121;
        }

#myModal {
    background: rgba( 0, 0, 0, .75);
}

    #myModal .modal-content {
        max-width: 98%;
        max-height: 98%;
        margin: 10px auto;
        display: block;
        border-radius: 0;
    }

.contacts-popup .phone:hover {
    text-decoration: none;
}

.contacts-popup .phone img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    width: 16px;
}

.contacts-popup img {
    width: 30px;
}

.logo {
    margin-top: 20px;
    max-width: 210px;
}

@media (max-width: 768px) {
    .body-content {
        padding: 0;
    }

    .logo {
        margin-top: 25px;
        max-width: 180px;
        margin-left: 5px;
    }

    .pagination-row {
        padding: 10px 0;
        margin: 0 -25px;
    }

    .company-info span {
        display: block;
        padding-bottom: 10px;
    }

    .nav > li {
        border-bottom: 1px solid #CCC;
    }

    .navbar-nav {
        border: none;
        margin: 0;
    }

    .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus,
    .navbar-collapse a:hover {
        color: #666;
    }

    .navbar-collapse {
        padding: 0;
        border: none;
    }

    .filter-item {
        padding: 0px !important;
    }

        .filter-item a img {
            width: 80%;
        }

        .filter-item span {
            display: none;
        }
}

.company-info strong {
    color: #09c;
}

.company-info img {
    height: 45px;
    margin-top: -5px;
    margin-bottom: -7px;
}

.company-info a:hover {
    text-decoration: none;
}

.company-info {
    background: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin: 10px 0;
    color: #666;
    padding: 10px 10px 0 10px;
}

.image-container {
    position: relative;
    /*width: 100%;*/
    /*max-width: 400px;*/
}

.image {
    display: block;
    /*width: 100%;
        height: auto;*/
}

.overlay {
    /*position: absolute;*/
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .1s ease;
    background-color: transparent;
}

.container:hover .overlay {
    opacity: 0.8;
}

.icon {
    color: white;
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.fa-user:hover {
    color: #eee;
}

.fieldset, .details {
    border-collapse: collapse;
    width: 100%;
    margin-top: 5px;
}

    .details tr:hover {
        background-color: #f5f5f5;
    }

    .details th {
        border-bottom: 1px solid #ddd;
        text-align: left;
    }

    .details td {
        border-bottom: 1px solid #ddd;
        text-align: right;
        padding-left: 5px;
    }



#carousel-custom {
    margin-top: 10px;
    width: 100%;
    max-width: 1280px;
    /*min-height: 867px;*/
}

    #carousel-custom .carousel-indicators {
        margin: 10px 0 0;
        overflow: auto;
        position: static;
        text-align: left;
        /*white-space: nowrap;*/
        width: 100%;
    }

        #carousel-custom .carousel-indicators li {
            background-color: transparent;
            -webkit-border-radius: 0;
            border-radius: 0;
            display: inline-block;
            height: auto;
            margin: 0 !important;
            width: auto;
        }

            #carousel-custom .carousel-indicators li img {
                display: block;
                opacity: 0.5;
                max-width: 150px;
                max-height: 75px;
            }

            #carousel-custom .carousel-indicators li.active img {
                opacity: 1;
            }

            #carousel-custom .carousel-indicators li:hover img {
                opacity: 0.75;
            }

    #carousel-custom .carousel-outer {
        position: relative;
    }

.carousel-control.left {
    background-image: url("/Content/img/arrow-left-light.png");
    width: 64px;
    height: 64px;
    top: 30%;
    left: 5px;
    line-height: 54px;
    opacity: 1;
    text-shadow: none;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

    .carousel-control.left:hover {
        opacity: 0.7;
    }

.carousel-control.right {
    background-image: url("/Content/img/arrow-right-light.png");
    width: 64px;
    height: 64px;
    top: 30%;
    right: 5px;
    line-height: 54px;
    opacity: 1;
    text-shadow: none;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

    .carousel-control.right:hover {
        opacity: 0.7;
    }

.carousel-inner {
    background-color: #f7f7f7;
}

    .carousel-inner img {
        margin-left: auto;
        margin-right: auto;
        max-width: 1280px;
        max-height: 520px !important;
    }

#details-table th, #details-table td {
    padding: 6px;
}

img.image_fade:hover {
    opacity: 1;
}

.carousel-control {
    padding-top: 3%;
    width: 5%;
}

.filter-item {
    text-align: center;
    padding: 0 20px;
}

    .filter-item.active {
        background-color: lightgray;
    }

.pagination {
    margin: 0;
}

.list-row {
    margin: 10px 0;
    padding: 0 15px
}

#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.photo-list {
    list-style-type: none;
    display: table;
    padding: 0;
    margin: 0;
    color: #666666;
}

    .photo-list li {
        display: inline-table;
    }

.ui-sortable-handle {
    border: 1px solid grey;
}

.text-lg {
    font-size: 21px;
    color: #493932;
    font-weight: 600;
    padding: 10px;
}

ul.pagination a.active {
    background-color: #428bca;
    color: #fff;
}

.brands-table tbody td, .brands-table tbody th {
    padding: 2px 0 !important;
}

.carousel-size {
    max-width: 679px;
    max-height: 375px
}

.control-label {
    font-size: 11px;
    /*padding: 7px 2px;*/
}

legend {
    margin-bottom: 10px;
}

.form-control {
    height: 30px;
}

@media (min-width: 1200px) {
    .lg-img{
        display:block;
    }
}

@media (max-width: 1199.98px) {
    .lg-img {
        display: none;
    }
}

.lg-img div img {
    width: 100%;
}
.mt-2 {
    margin-top: 2px;
}

.alert {
    padding: 0 1rem;
}

.list-header {
    height: 520px;
}

legend {
    text-shadow: 0 0 3px grey;
}

fieldset {
    background-color: #d3d3d3c7;
    padding: 10px;
    border-radius: 5px;
}

