﻿.debugBanner {
    width:100%;
    height:50px;
    line-height:50px;
    color:#ff0000;
    font-size:24px;
    background-color:#ffbe0d;
    text-align:center;
    z-index:99
}

body {
    font-family: garamond-premier-pro, serif;
    font-style: normal;
    font-weight: 400;
    color: #333;
    font-size: 20px;
    line-height: 33px;
    font-kerning: normal;
    -moz-font-feature-settings: "onum";
    -ms-font-feature-settings: "onum";
    -webkit-font-feature-settings: "onum";
    font-feature-settings: "onum";
    font-variant-numeric: oldstyle-nums;
    -moz-osx-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
}

a {
    /*text-decoration: underline;*/
    color: #4C4D4F;
    cursor: pointer;
}
    a:hover, a:focus {
        text-decoration: none;
        color: #000;
    }

p a {text-decoration:underline;}

img, object, video {
    max-width: 100%;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

.container-fluid {max-width: 1280px;}

h1, .h1 {font-size:1.3em;}
h2, .h2 {font-size:1em;}

.btn-outline-light {
    font-size: 0.85em;
    color: #555555;
    border-color: #CCCCCC;
    padding: 10px 15px;
    letter-spacing: 2px;
    border-radius: 0;
    text-transform:uppercase;
}

    .btn-outline-light:hover {
        color:#FFFFFF;
        background-color:#CCCCCC;
    }
.card {border-radius: 0;}
.modal-dialog {max-width:560px;}
.modal-body {padding:5% 15% 3%;}
/*.modal-content {
    border-radius: 0;
}*/
/*.modal-header {
    border-bottom: none
}*/
.modal-footer {
    /*border-top: none*/
    background-color: #f5f5f5;
}

.bgGrey {background-color:#F6F6F6;}
.bgBeige {background-color:#F7F4E9;}
.aside {padding:10px 35px; font-size:0.8em;}

.form-control {
    border-radius: 0;
    border-color: #dddddd;
    font-size: 1.25rem;
}
    .form-control:focus-visible {
        outline: 2px solid #404040;
        outline-offset: 2px;
        box-shadow: none;
        border-color: #404040;
    }
.input-group-append .btn-outline-secondary {
    border-color: #dddddd;
}
.btn {
    letter-spacing: 0.1em;
    border-radius: 0;
}
.btn-outline-secondary {border-color:#dddddd;}
a.btn, a.list-group-item-action, a.nav-link, a.dropdown-item, a.no-underline {
    text-decoration: none
}

.list-group-item {
    border: 0 none;
    padding: 5px 10px;
    color: #4C4D4F;
}
    .list-group-item:hover, .list-group-item:focus {
        color: #4C4D4F;
        background-color: transparent;
    }
.list-group-item.active {
    background-color: transparent;
    text-transform: uppercase;
    color: #000;
    /*font-weight: bold*/
}
.nav-pills .nav-link {
    border: 0 none;
    padding: 5px 10px;
    font-size:1.3em;
}
    .nav-pills .nav-link:hover, .nav-pills .nav-link:focus {
        background-color: transparent;
        color: #000;
    }
    .nav-pills .nav-link.active {
        background-color: transparent;
        /*text-transform: uppercase;*/
        color: #000;
        /*font-weight: bold*/
    }
.dropdown-item:focus {background-color: transparent;}
.btn-mansour,
.btn-mansour:link,
.btn-mansour:visited,
.btn-mansour:active {
    color: #555555;
    background-color: #ffffff;
    border-color: #dddddd;
}

    .btn-mansour:hover,
    .btn-mansour:focus {
        color: #dddddd;
        background-color: #555555;
        border-color: #555555;
    }

.btn-mansour-dark,
.btn-mansour-dark:link,
.btn-mansour-dark:visited,
.btn-mansour-dark:active {
    color: #FFFFFF;
    background-color: #404040;
    border-color: #404040;
}

    .btn-mansour-dark:hover,
    .btn-mansour-dark:focus {
        color: #dddddd;
        background-color: #555555;
        border-color: #555555;
    }

.carousel-indicators {
    position: relative;
    padding-top: 15px;  
}

    .carousel-indicators li {
        width: 15px;
        height: 15px;
        border: 1px solid #9A9898;
        border-radius: 50%;
        opacity: 1;
    }

        .carousel-indicators li.active {
            background-color: #e9e9e9
        }

.carousel-control-icon {
    color:#000;
    font-size:2rem;
    background-image: none;
}
.table tr {
    border: 1px solid #E9EAEA;
    border-spacing: 2px;
}
.table thead tr {border:none;}
.table thead th {
    padding: 4px 10px;
    color: #7c8186;
    font-size:0.75em;
    font-weight:normal;
    line-height: normal;
    border:none;
    /*background-color: #f6f6f6;*/
}
.table-hover tbody tr:hover {background-color:#f6f6f6;}

/*=SITE

------------------------------------------------------------*/
.separator {
    position: relative;
    width: 100%;
    height: 1px;
    background: #EEE;
    margin: 20px 0;
    padding: 0;
}

.separator-undernav {
}

.separator-footer {
    position: relative;
    width: 100%;
    height: 1px;
    background: #EEE;
    margin: 5px 0 10px;
    padding: 0;
}

.social-center {
    position: relative;
    margin: 20px 0 20px 38.5%;
}

.btn-social {
    display: inline-block;
    position: relative;
    font-size:2.35rem;
    /*background-image: url(../images/sprite-social2.png);
    background-repeat: no-repeat;*/
}

    .btn-social.facebook {
        background-position: -44px 0px;
    }

        .btn-social.facebook:hover {
            background-position: -66px 0px;
        }

    .btn-social.twitter {
        background-position: 0px 0;
    }

        .btn-social.twitter:hover {
            background-position: -22px 0px;
        }

    .btn-social.instagram {
        background-position: -88px 0px;
    }

        .btn-social.instagram:hover {
            background-position: -110px 0px;
        }

/*.btn-social.pintrest
{
	background-position: -120px 0;
}*/
/*.btn-social.pintrest:hover
{
	background-position: -150px 0;
}*/
/*.btn-social.youtube
{
	background-position: -180px 0;
	margin-right: 4px;
}*/
/*.btn-social.youtube:hover
{
	background-position: -210px 0;
}*/
.breadcrumbs {
    position: relative;
    width: auto;
    height: auto;
    padding: 0 20px 15px 0;
    font-size: 12px;
}

    .breadcrumbs A {
        padding: 0 10px;
        font-size: 14px;
    }

.pagination {
    margin: 10px 0 0;
    text-align: center;
    width: 100%;
}
.page-link:link, .page-link:active, .page-link:visited {
    border: none;
    background-color: transparent;
    color: #404040;
    outline: none;
}

.page-link:hover, .page-link.active {
    background-color: transparent;
    color: #333;
}
.page-link:focus {
    box-shadow: none;
}

.page-link:focus-visible {
    outline: 2px solid #404040;
    outline-offset: 2px;
    box-shadow: none;
}

A.link {
    color: #333;
}

    A.link.aside {
        float: right;
        text-align: right;
        clear: right;
    }

/*=SITE

------------------------------------------------------------*/
.wrapper {
    /*fixed position a zero-height full width container*/
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    /*center all inline content*/
    text-align: center;
    background-color: #FFFFFF;
    /*z-index: 9999;*/
}

    .wrapper > DIV {
        /*make the block inline*/
        display: inline-block;
        /*reset container's center alignment*/
        text-align: left;
    }

.topbar {
    margin-top: 5px;
}

.topbar-left, .topbar-right {
    float: left;
    width: 50%;
}

.topbar-right {
    text-align: right;
    text-align: right;
    font-size: 22px;
    padding: 2px 0 0;
    font-family: Garamond, Georgia, serif;
}

#header {
    text-align: center;
    height: auto;
    /*[disabled]border-bottom:1px solid #E9EAEA;*/
    background: #FFF;
    /*padding: 10px 0 20px;*/
    z-index: 1000;
    margin: 0;
}

.logo {
    position: relative;
    top: 0;
    text-align: center;
}

.logo-icon {
    width: 100%;
    height: 73px;
    text-align: center;
    margin-top: 30px;
}

.nav_left A, .nav_right A {
    /*[disabled]letter-spacing:2px;*/
    /*[disabled]display:inline-block;*/
    /*[disabled]position:relative;*/
    /*[disabled]width:22%;*/
    /*[disabled]font-size:14px;*/
    /*[disabled]padding:2px 5%;*/
    /*[disabled]vertical-align:middle;*/
    /*[disabled]line-height:100%;*/
    /*[disabled]text-align:center;*/
    /*[disabled]vertical-align:bottom;*/
    /*[disabled]font-family:garamond-premier-pro, serif;*/
    /*[disabled]font-weight:400;*/
    /*[disabled]margin-top:12px;*/
}

.nav_right A {
    /*[disabled]float:right;*/
    /*[disabled]text-align:center;*/
    /*[disabled]padding:3px 5%;*/
    /*[disabled]border-right:none;*/
}

.navMainMenu.nav_center {
    display: table;
    position: relative;
    width: 100%;
    margin: 0 auto !important;
}

.navMainMenu UL {
    margin-top: 8px;
    font-family: garamond-premier-pro, serif;
    font-weight: 400;
    font-size: 14px;
    vertical-align: middle;
    line-height: 0;
    letter-spacing: 2px;
    border-bottom: 1px solid #E9EAEA;
    border-top: 1px solid #E9EAEA;
    display: block;
    list-style: none;
    /*[disabled]position:relative;*/
    /*[disabled]display:inline-block;*/
    text-align: center;
    text-transform: uppercase;
}

    .navMainMenu UL:after {
        content: "";
        clear: both;
        display: block;
    }

    .navMainMenu > UL LI {
        display: inline-block;
        /*float: left;*/
        margin-bottom: 0px;
        height: auto;
        width: auto;
        position:relative;
    }

        .navMainMenu UL LI A {
            color: #4C4D4F;
            display: inline-block;
            text-decoration: none;
            padding-left: 20px;
            padding-right: 20px;
            padding-top: 10px;
            padding-bottom: 10px;
        }
        .navMainMenu UL LI A:hover {
            color: #000;
        }

.navMainMenu ul li button {
    background: none;
    border: none;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #4C4D4F;
    font-family: garamond-premier-pro, serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

    .navMainMenu ul li button:hover {
        color: #000;
    }

.navMainMenu UL UL {
    border-top: 1px solid #6B727C;
    border-bottom: 1px solid #6B727C;
    z-index: 9000;
    background: #FFF;
    position: absolute;
    /*left: 30px;*/
    padding: 0;
    display: none;
    margin-top: 0px !important;
    /*width: 280px;*/
    margin-left: -85px;
}

.navMainMenu UL LI:hover > UL {
    display: block;
}

    .navMainMenu > UL UL LI {
        /*display: inline-block;*/
        width: 280px;
        display:block;
        float: none;
    }

        .navMainMenu UL UL LI A {
            display: block;
            color: #4C4D4F;
            width: 100%;
            padding-left: 0;
            padding-right: 0;
            padding-top: 10px;
            padding-bottom: 10px;
        }

            .navMainMenu UL UL LI A:hover {
                background: #EBEBEB;
            }

.dropdown-nav {
    /*[disabled]display:none;*/
    /*[disabled]position:relative;*/
    /*[disabled]top:0;*/
    /*[disabled]width:100%;*/
    /*[disabled]background:#FFF;*/
    /*[disabled]padding:20px 0;*/
    /*[disabled]margin:0;*/
    /*[disabled]border:1px solid #E9EAEA;*/
    /*[disabled]border-top:1px solid #FFF;*/
    /*[disabled]z-index:1000;*/
}

P.category-title {
    width: 100%;
    padding: 5px 0;
    margin: 0 0 10px;
    background: #EFEEEE;
    color: #7F8083;
    font-size: 16px;
    font-weight: 700;
    text-indent: 15px;
}

    P.category-title A {
        color: #7F8083;
        text-decoration: none;
    }

        P.category-title A:hover {
            color: #666;
            text-decoration: none;
        }

P.sub-title {
    width: 100%;
    padding: 5px 0;
    margin: 0;
    background: #FFF;
    color: #7F8083;
    font-size: 14px;
    font-weight: 700;
    text-indent: 20px;
}

    P.sub-title A {
        color: #7F8083;
        text-decoration: none;
    }

        P.sub-title A:hover {
            color: #666;
            text-decoration: none;
        }

UL.nav-sub {
    /*[disabled]display:block;*/
    /*[disabled]list-style:none;*/
    /*[disabled]list-style-position:inside;*/
    /*[disabled]padding:0;*/
    /*[disabled]margin:0 0 10px 20px;*/
}

    UL.nav-sub LI {
        /*[disabled]display:block;*/
        /*[disabled]width:100%;*/
        /*[disabled]padding:0;*/
        /*[disabled]margin:0;*/
        /*[disabled]font-size:12px;*/
        /*[disabled]line-height:14px;*/
    }

        UL.nav-sub LI A {
            /*[disabled]position:relative;*/
            /*[disabled]display:block;*/
            /*[disabled]color:#7F8083;*/
            /*[disabled]width:100%;*/
            /*[disabled]padding:2px 0;*/
            /*[disabled]cursor:pointer;*/
            /*[disabled]text-indent:5px;*/
        }

            UL.nav-sub LI A:hover {
                /*[disabled]background:#F5F5F5;*/
            }

#touchscroll_div {
    /*[disabled]display:none;*/
}

.twelve.columns.alpha P {
    font-size: 1.1em;
    line-height: 1.3em;
    margin-bottom: 1.3em;
    padding-bottom: 0px;
}

/*FEATURED RUGS COLOR INSPIRATION*/
UL#flex-results {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    min-height: 200px;
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
}

#flex-results LI {
    position: relative;
    background-color: #DADADA;
    margin: 1px;
    padding: 0px;
    text-align: center;
    height: 250px;
}

    #flex-results LI SPAN {
        display: inline-block;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 5px 5px 3px 5px;
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 2px;
        font-weight: 600;
        color: #FFFFFF;
        background-color: #A59E98;
        border-top: 1px solid #D7D4D2;
    }

#flexitem2, #flexitem6, #flexitem7, #flexitem9 {
    flex: 1 1 25%;
}

#flexitem3, #flexitem4, #flexitem5, #flexitem8, #flexitem10, #flexitem11 {
    flex: 1 1 49%;
}

#flexitem2 {
    background-image: url("../files/featured_rugs/Khotan.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 52%;
    order: 1;
}

#flexitem3 {
    background-image: url("../files/featured_rugs/Savonnerie.jpg");
    background-repeat: no-repeat;
    background-size: 107%;
    background-position: 50% 57%;
    order: 9;
}

#flexitem4 {
    background-image: url("../files/featured_rugs/Tabriz.jpg");
    background-size: 102%;
    background-position: 53% 53%;
    order: 2;
}

#flexitem5 {
    background-image: url("../files/featured_rugs/Revival.jpg");
    background-repeat: no-repeat;
    background-size: 102%;
    background-position: 50% 53%;
    order: 7;
}

#flexitem6 {
    background-image: url("../files/featured_rugs/Serapi.jpg");
    background-repeat: no-repeat;
    background-size: 102%;
    background-position: 53% 34%;
    order: 8;
}

#flexitem7 {
    background-image: url("../files/featured_rugs/Agra.jpg");
    background-repeat: no-repeat;
    background-size: 200%;
    background-position: 50% 53%;
    order: 6;
}

#flexitem8 {
    background-image: url("../files/featured_rugs/Oushak.jpg");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 50% 62%;
    order: 10;
}

#flexitem9 {
    background-repeat: no-repeat;
    background-image: url("../files/featured_rugs/Swedish.jpg");
    background-position: center;
    background-size: 120%;
    order: 3;
}

#flexitem10 {
    background-image: url("../files/featured_rugs/Sultanabad.jpg");
    background-repeat: no-repeat;
    background-size: 200%;
    background-position: 70% 70%;
    order: 4;
}

#flexitem11 {
    background-image: url("../files/featured_rugs/Tapestries.jpg");
    background-repeat: no-repeat;
    background-size: 120%;
    background-position: 43% 55%;
    order: 5;
}

#flex-results LI A {
    display: block;
    width: 100%;
    height: 100%;
}

    #flex-results LI A:hover SPAN {
        background-color: #8D847B;
    }

/* ABOUT PAGE*/
IMG.royalwarrant {
    width: 126px;
    margin-top: 36px;
}

#aside.four.columns.omega {
    background-color: #F6F6F6;
    padding-left: 16px;
    padding-right: 16px;
    width: 188px;
    float: right;
}

@media (min-width: 640px) and (max-width: 1024px) {
    .about-page .twelve.columns.alpha {
        width: 50vw;
        margin-right: 0;
    }

    .about-page DIV.twelve.columns.alpha P {
        font-size: 18px;
        line-height: 21px;
    }
}

@media (max-width: 639px) {
    #aside.four.columns.omega {
        background-color: #F6F6F6;
        padding-left: 16px;
        padding-right: 16px;
        width: auto;
        float: none;
    }

    ASIDE#aside.four.columns.omega P {
        font-size: 16px;
        line-height: 22px;
    }
}

/*CONTENT*/
.main {
    position: relative;
    float: left;
    width: 100%;
    height: auto;
    padding: 0px 0 20px;
    /*[disabled]margin-top:50px;*/
    display: block;
}

.featured-image {
    margin-bottom: 15px;
}

.page-intro {
    width: auto;
    height: 20px;
    text-align: center;
    padding: 0 0 15px;
    margin: 0;
    line-height: 20px;
    vertical-align: middle;
    font-size: 13px;
}

.larger-copy {font-size:1.9rem;}
.xl-copy {font-size:2.25rem; line-height:120%;}
.xl-copy h1 {margin-bottom:20px; font-size:4rem; line-height:100%;}

.content-quote {margin-bottom:3rem; padding:77px 115px; font-size:2.5rem;}
.content-quote p {margin:0;}

/*ACCORDION*/
.accordion-title {
    cursor: pointer;
    position: relative;
    margin-bottom:34px;
    padding-right: 40px;
    transition: all 0.3s ease;
}

.accordion-title h2 {font-size:4rem;}
.accordion-title:hover {opacity: 0.8;}

.accordion-title::after {
    content: '\276F'; /* Chevron down */
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transition: transform 0.3s ease;
    font-size: 1.2em;
}
.accordion-title.active {margin-bottom:50px;}
.accordion-title.active::after {
    transform: translateY(-50%) rotate(-90deg); /* Chevron up */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease;
}

.accordion-content a {
    text-decoration:underline;
}

.accordion-content.active {
    max-height: 5000px;
    margin-bottom:34px;
}

/*CONTENT SLIDER*/
.swiper-wrapper {align-items:stretch;}
.swiper-slide {
    height: auto !important;
    display: flex;
    flex-direction: column;
    background-color: #B6AFA5;
}
.swiper-slide img {
    width:100%;
    height:100%;
    height:426px;
}

.swiper-caption {padding:15px 20px;}
.swiper-caption span {font-size:2rem; color:#fff;}
.swiper-caption p {margin-bottom:0; color:#fff; line-height:120%;}

@media (max-width: 991px) {
    .larger-copy {font-size:2rem !important;}
    .xl-copy {font-size:1.5rem; line-height:normal;}
    .xl-copy h1 {font-size:2.25rem; text-align:left !important; line-height:100% !important;}

    .content-quote {padding:50px 0; font-size:2rem;}

    .accordion-title h2 {font-size:2.25rem;}

    .swiper-slide img {
        height: 280px;
    }
    .swiper-caption span {font-size:1.5rem;}
    .swiper-caption p {font-size:1rem;}
}

/*SEARCH PAGE*/
UL.rug-type {
    list-style: none;
}

    UL.rug-type LI LABEL {
        float: left;
        margin-right: 20px;
        width: auto;
    }

BUTTON.searchbutton {
    width: 185px;
    height: 60px;
}

#rugtype {
    margin-bottom: 30px;
}

LABEL.rugtype {
    display: inline-block;
    width: auto;
    height: auto;
    padding: 7px 14px;
    border: 1px solid #DDDDDD;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 5px;
}

#rugtype INPUT {
    display: none;
}

    LABEL.rugtype:hover, #rugtype INPUT:checked + LABEL.rugtype {
        -webkit-box-shadow: 0px 0px 15px 5px rgba(255, 255, 190, .75);
        -moz-box-shadow: 0px 0px 15px 5px rgba(255, 255, 190, .75);
        box-shadow: 0px 0px 8px 5px rgba(162, 162, 162, 0.579);
    }

#colorbar {
    /*height:62;*/
    font-size: 0;
    margin-bottom: 25px;
}

LABEL.colorbox {
    display: inline-block;
    width: 60px;
    height: 60px;
    margin-right: 2px;
    margin-left: 2px;
}

    LABEL.colorbox:hover, #colorbar INPUT:checked + LABEL.colorbox {
        -webkit-box-shadow: 0px 0px 15px 5px rgba(255, 255, 190, .75);
        -moz-box-shadow: 0px 0px 15px 5px rgba(255, 255, 190, .75);
        box-shadow: 0px 0px 8px 5px rgba(162, 162, 162, 0.579);
    }

#colorbar INPUT {
    display: none;
}

H2#choose-color {
    margin-bottom: 20px;
    clear: both;
}

/*=ARTICLE

------------------------------*/
ARTICLE {
    position: relative;
}

    ARTICLE P {
        padding: 5px 0;
    }

    ARTICLE ASIDE P {
        padding-top: 6px;
        padding-bottom: 75px;
    }

.content_thumb {
    position: relative;
    float: left;
    text-align: left;
    width: auto;
    height: auto;
    padding: 50px;
    margin: 10px 20px 10px 0;
    border: 1px solid #EEE;
}

.thumb {
    padding: 0 0 15px;
    text-align: center;
}

.thumb_title {
    position: relative;
    width: 100%;
    padding: 3px 0 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
}

.main-image {
    padding-bottom: 20px;
}

    .main-image.blog {
        padding-bottom: 15px;
    }

.rug-details {
    margin: 10px 0 20px;
}

    .rug-details P {
        padding: 5px 0;
        line-height: 110%;
        text-align: center;
    }

.rug-name {
    text-transform: uppercase;
    font-size: 35px;
    letter-spacing: 0.2em;
}

.rug-size {
    font-size: 12pt;
    letter-spacing: 0.05em;
}

.rug-colorway {
    font-size: 12pt;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rug-region {
    text-transform: uppercase;
    font-size: 16 px;
    letter-spacing: 0.09em;
    font-variant-numeric: lining-nums;
    -moz-font-feature-settings: "lnum";
    -ms-font-feature-settings: "lnum";
    -webkit-font-feature-settings: "lnum";
    font-feature-settings: "lnum";
}

.rug-number {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 10pt;
    -moz-font-feature-settings: "c2sc";
    -moz-font-feature-settings: "c2sc=1";
    -ms-font-feature-settings: "c2sc";
    -o-font-feature-settings: "c2sc";
    -webkit-font-feature-settings: "c2sc";
    font-feature-settings: "c2sc";
}

.rug-description {
    text-align: left;
    font-size: 0.9em;
}

.contact-details P {
    padding: 3px 0;
    line-height: 18px;
    font-size: 14px;
    text-align: center;
}

    .contact-details P STRONG {
        font-style: italic;
        font-weight: 400;
    }

DIV.rug-results {
    text-align: center;
    overflow: hidden;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

#rug-results A {
    display: block;
}

/*s  */
.tearsheet {
    float: left;
}

IMG#logo-tear {
    width: 380px;
}

#tear-rugimg {
    max-height: 700px;
}

P.tear-address {
    font-size: 10.5pt !important;
    line-height: 18px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #262626;
    -moz-font-feature-settings: "c2sc";
    -moz-font-feature-settings: "c2sc=1";
    -ms-font-feature-settings: "c2sc";
    -o-font-feature-settings: "c2sc";
    -webkit-font-feature-settings: "c2sc";
    font-feature-settings: "c2sc";
}

P.tear-ruginfo {
    font-size: 13.5pt !important;
    color: #262626;
}

P.tear-buttons {
    margin-top: 20px;
}

/*P.tear-ruginfo
{
	font-variant-numeric: oldstyle-nums;
	-moz-font-feature-settings: "onum";
	-ms-font-feature-settings: "onum";
	-webkit-font-feature-settings: "onum";
	font-feature-settings:"onum";
	font-kerning: normal;
}*/
@media print {
    P.tear-buttons {
        display: none;
    }
}

/*SOCIAL SHARES

------------------------------*/
.share {
    text-align: center;
    margin-top: 5px;
}

.fb-like {
    position: relative;
    bottom: 6px;
    right: 15px;
}

.st_sharethis_hcount {
    position: relative;
    top: 5px;
}

.share-footer {
    margin-top: 1px;
}

.thumb-details-left {
    float: left;
    width: auto;
    height: 10%;
    overflow: hidden;
    text-align: left;
}

.thumb-details-right {
    float: right;
    width: auto;
    text-align: right;
    white-space: nowrap;
}

A P.thumb-details-left, A P.thumb-details-right {
    padding: 4px 0 0px;
    line-height: 1.2em;
    font-size: 0.7em;
}

.crop {
    margin: 0.5em 10px 0.5em 0;
    overflow: hidden;
    /*this is important*/
    position: relative;
    /*this is important too*/
    width: 100%;
    height: 250px;
}

    .crop IMG {
        position: absolute;
        top: -20%;
        left: 0;
    }

/*=Press

------------------------------*/
UL#flex-press {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    align-items: flex-start;
    justify-content: flex-start;
}

#flex-press LI {
    background-color: white;
    margin: 5px;
    flex: auto;
    padding: 19px;
    text-align: center;
    text-transform: lowercase;
    height: 214px;
    width: 118px;
    border: 1px solid #E9EAEA;
}

A.style10 {
    display: block;
    margin-top: 9px;
    text-transform: capitalize;
    font-size: 16px;
}

IMG.imageBorder {
    width: 125px;
    height: 175px;
}

H2#press {
    margin-top: 35px;
    margin-bottom: 0px;
}

.magazine-container {
    position: relative;
    margin-bottom: 5px;
    text-align: center;
    border: 1px solid #EEE;
}

.magazine {
    display: block;
    height: auto;
}

A.press-nav-prev, A.press-nav-next {
    display: inline-block;
    float: left;
    font-size: 30px;
    padding: 0;
    margin: 5px 0 0;
}

A.press-nav-next {
    float: right;
}

.press-nav-prev A, .press-nav-next A {
    font-size: 36px;
    color: #AAA;
}

    .press-nav-prev A:hover, .press-nav-next A:hover {
        color: #333;
    }

.image-prev {
    display: block;
    position: absolute;
    float: left;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    z-index: 555;
    cursor: pointer;
}

.image-next {
    display: block;
    position: absolute;
    float: left;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 555;
    cursor: pointer;
}

.magazine-details {
    margin: 20px 0 20px;
    text-align: center;
}

    .magazine-details P {
        padding: 5px 0;
        line-height: 110%;
    }

.magazine-thumbs {
    width: 100%;
    height: auto;
}

    .magazine-thumbs .thumb {
        display: inline-block;
        position: relative;
        float: left;
        width: 81px;
        height: 114px;
        border: 2px solid #EEE;
        padding: 5px;
        margin: 0 10px 15px;
    }

        .magazine-thumbs .thumb:last-child {
            margin-right: 0;
        }

DIV.four.columns.press_thumb {
    position: relative;
    float: left;
    text-align: center;
}

.press_thumb A {
    display: block;
    width: 219px;
    height: 250px;
    overflow: hidden;
    margin-bottom: 10px;
}

A.btn-back-gallery {
    width: auto;
    height: 22px;
    line-height: 22px;
    padding: 10px 5px 25px;
    margin-bottom: 20px;
    text-align: right;
    background: url(../img/btn-back-to-gallery.png) no-repeat center bottom;
    cursor: pointer;
}

    A.btn-back-gallery.result {
        margin-top: 5px;
    }

.press_details P {
    font-size: 17px;
    line-height: 16px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
}

.press_details {
    margin-top: 0px;
    margin-bottom: 20px;
}

P.press-title {
    font-size: 20px;
    line-height: 24px;
    padding: 0;
    color: #333;
}

P.press-issue, P.press-name {
    font-size: 12px;
    line-height: 14px padding: 2px;
}

/*=Contact

------------------------------*/
.divider-half {
    padding-right: 0;
    border-right: 1px solid #EEE;
}

.divider-half-padding {
    padding-right: 19px;
}

.address P {
    text-transform: uppercase;
    padding: 3px 0;
    font-size: 0.8em;
    letter-spacing: 0.08em;
    line-height: 110%;
}

SPAN.smallcaps {
    font-size: 0.9em;
    -moz-font-feature-settings: "c2sc";
    -moz-font-feature-settings: "c2sc=1";
    -ms-font-feature-settings: "c2sc";
    -o-font-feature-settings: "c2sc";
    -webkit-font-feature-settings: "c2sc";
    font-feature-settings: "c2sc";
}

DIV.address.left {
    text-align: left;
}

.address.right {
    background-color: #F6F6F6;
    height: 205px;
    padding-top: 94px;
    padding-left: 73px;
    padding-bottom: 60px;
}

.vcard {
    display: block;
    margin: 10px 0;
    padding: 0 5px;
    text-align: left;
    width: 100%;
}

    .vcard P {
        padding: 3px 0;
        font-size: 12px;
        line-height: 16px;
    }

.phone.large {
    font-size: 18px;
    /*[disabled]padding-bottom:14px;*/
}

/*=ASIDE

------------------------------*/
ASIDE#aside {
    position: relative;
    padding: 0 0 20px;
    font-size: 14px;
    line-height: 19px;
}

UL.ul-sidebar {
    list-style-type: none;
    list-style: none;
    list-style-position: inside;
    padding: 0;
    margin: 0;
}

    UL.ul-sidebar LI {
        display: block;
        list-style: none;
        list-style-position: inside;
        padding: 5px 0;
        margin: 0;
    }

.testimonial-name {
    text-align: right;
    width: 100%;
    padding: 5px 0 0;
    margin: 0;
    font-size: 13px;
}

.testimonial-title {
    text-align: right;
    width: 100%;
    padding: 1px 0;
    margin: 0;
    font-style: italic;
    font-size: 12px;
}

/*=Footer

------------------------------*/
.one-third.column.logo-ftr {
    width: 30%;
    max-width: 233px;
}

#footer .two-thirds.column {
    width: 70%;
}

footer {
    letter-spacing: 0.05em;
    width: 100%;
    height: auto;
    color: #4C4D4F;
    border-top: none;
    padding: 0px 0 5px;
    z-index: 0;
    margin: 0;
}

.logo-ftr, .logo-ftr.modern-ftr {
    padding-top: 10px;
    text-align: center;
    padding-bottom: 20px;
}

/*FORM.footer-form
{
	display: block;
	position: relative;
	right: 0px;
}*/
UL.footer-links {
    float: right;
    display: inline-block;
    list-style: none;
    list-style-position: inside;
    height: auto;
    font-size: 11px;
    padding: 0;
    margin: 5px 0 0;
}

    UL.footer-links LI {
        display: inline-block;
        padding: 0;
        margin: 0;
    }

        UL.footer-links LI A {
            display: inline-block;
            padding: 2px 13px;
            margin: 0;
        }

P.copyleft {
    display: block;
    position: relative;
    float: left;
    bottom: 0;
    left: 0;
    font-size: 11px;
    color: #888888;
    padding: 0 0 5px;
}

P.copyright {
    display: block;
    position: relative;
    float: right;
    bottom: 0;
    right: 0;
    text-align: right;
    font-size: 11px;
    color: #888888;
    padding: 0 0 5px;
}

.social-footer {
    display: inline-block;
    text-align: right;
    /*float: right;*/
    margin: 2px 5px 0 13px;
    width: 100%;
}

.subnav-mobile {
    display: none;
}

.footer-form INPUT.footer {
    margin: 0 15px 0 0;
    max-width: 60%;
    width: 60%;
}

#source {
    display: none;
}

@media (max-width: 1024px) {
    .rug {
        padding-right: 0px;
    }

    .breadcrumbs {
        padding: 0 0px 15px 0;
        font-size: 12px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #flex-results LI {
        height: 200px;
    }
}

@media (max-width: 960px) {
    .divider-half-padding {
        padding-right:0;
    }

    #footer {
        text-align: center;
    }

    UL.footer-links {
        float: none;
        width: 100%;
    }

    .container FOOTER .footer-links {
        margin: 0px 0 0;
    }

    .container FOOTER .social-footer {
        display: block;
        float: left;
        width: 100%;
        text-align: center;
        margin: 9px 0 7px;
    }

    .one-third.column.logo-ftr {
        width: 233px;
        display: inline-block;
        float: none;
    }

    #footer .two-thirds.column {
        width: 100%;
    }

    FORM.footer-form {
        display: none;
    }
}

@media (max-width: 767px) {
    A P.thumb-details-left, A P.thumb-details-right {
        font-size: 0.7em;
        width: 100%;
    }

    .thumb-details-right {
        text-align: left;
        margin-top: -2px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    #flex-results LI {
        height: 200px;
    }

    #flexitem3, #flexitem4, #flexitem5, #flexitem8, #flexitem10, #flexitem11 {
        flex: 1 1 48%;
    }

    #flexitem2, #flexitem6, #flexitem7, #flexitem9 {
        flex: 1 1 48%;
    }

    #flexitem3 {
        background-size: 150%;
        background-position: 50% 55%;
    }

    #flexitem5 {
        background-size: 300%;
        background-position: 50% 27%;
    }

    #flexitem11 {
        background-size: 180%;
        background-position: center;
        order: 5;
    }
}

@media only screen and (max-width: 479px) {
    #flex-results LI {
        height: 200px;
    }

    #flexitem3, #flexitem4, #flexitem5, #flexitem8, #flexitem10, #flexitem11 {
        flex: 1 1 48%;
    }

    #flexitem2, #flexitem6, #flexitem7, #flexitem9 {
        flex: 1 1 48%;
    }

    #flexitem3 {
        background-size: 150%;
        background-position: 50% 50%;
    }

    /*#flexitem11
{
	background-size: auto 120%;
	background-position: 51% 56%;
}*/
    #flexitem8 {
        background-size: 250%;
        background-position: 50% 50%;
    }

    #flexitem5 {
        background-size: 400%;
        background-position: 50% 30%;
    }

    #flexitem10 {
        background-position: 63% 70%;
        background-size: 300%;
    }

    #flexitem11 {
        background-size: auto;
        background-position: center;
        order: 5;
    }

    .navMainMenu UL {
        padding-top: 6px;
        padding-bottom: 7px;
        padding-left:0;
    }

        .navMainMenu UL UL {
            position: absolute;
            left: 0px;
            width: 100%;
            margin-left: 0px;
        }

        .navMainMenu UL LI {
            line-height: 7px;
        }

            .navMainMenu UL LI A {
                color: #4C4D4F;
                display: inline-block;
                text-decoration: none;
                padding-left: 10px;
                padding-right: 10px;
                padding-top: 12px;
                padding-bottom: 12px;
            }

            .navMainMenu UL LI UL LI A {
                padding-left: 0px;
                padding-right: 0px;
                padding-top: 18px;
                padding-bottom: 18px;
            }

    .address.right {
        background-color: transparent !important;
        padding-top: 0;
        padding-left: 0;
        padding-bottom: 0px;
    }

    DIV.rug-results {
        margin-top: 10px;
        text-align: center;
    }
}

.copyright {
    font-size: 12px;
    color: #404040;
}
/*---------------------------------------------------------------------------------*/
.navMainMenu {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    text-align: center;
    background-color: #FFFFFF;
    /*z-index: 9999;*/
}
.navMainMenu LI {
    line-height: 18px;
    margin-bottom: 12px;
}
UL UL, UL OL, OL OL, OL UL {
    margin: 4px 0 5px 30px;
    margin-top: 4px;
    /*font-size: 90%;*/
}

#subscribeResult {font-size:0.8em;}

.pressArticles .card {border:none;}
.pressArticles .card-body {padding:0.85rem;}

@media (max-width: 768px) {
    .divNewsletter, .divSocial {
        width: 100%
    }
}

/*** HOMEPAGE ***/
.rug-mosiac {text-align:center;}
    .rug-mosiac .row {
        margin: 0;
    }
.rug-mosiac h2 {font-size:0.75em; text-transform:uppercase; text-align:left;}
.feat-rug {height:300px; background-position:center center; background-size:cover; background-repeat:no-repeat; border:1px solid #fff;}
.feat-rug a {position:absolute; top:0; left:0; width:100%; height:100%;}
.feat-rug span {
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    font-size:0.8em;
    color:#fff;
    text-transform:uppercase;
    background-color:#6b6460;
    border-top:1px solid #fff;
    letter-spacing: 0.1em;
}
.feat-rug a:hover span {background-color:#5a5450;}
.feat-khotan {background-image:URL('/sitemedia/uploads//featured_rugs/Khotan.jpg');}
.feat-tabriz {background-image:URL('/sitemedia/uploads//featured_rugs/Tabriz.jpg');}
.feat-tabriz {background-image:URL('/sitemedia/uploads//featured_rugs/Tabriz.jpg');}
.feat-tabriz {background-image:URL('/sitemedia/uploads//featured_rugs/Tabriz.jpg');}
.feat-swedish {background-image:URL('/sitemedia/uploads//featured_rugs/Swedish.jpg');}
.feat-sultanabad {background-image:URL('/sitemedia/uploads//featured_rugs/Sultanabad.jpg');}
.feat-tapestries {background-image:URL('/sitemedia/uploads//featured_rugs/Tapestries.jpg');}
.feat-agra {background-image:URL('/sitemedia/uploads//featured_rugs/Agra.jpg');}
.feat-revival {background-image:URL('/sitemedia/uploads//featured_rugs/Revival.jpg');}
.feat-serapi {background-image:URL('/sitemedia/uploads//featured_rugs/Serapi.jpg');}
.feat-savonnerie {background-image:URL('/sitemedia/uploads//featured_rugs/Savonnerie.jpg'); background-size:initial;}
.feat-oushak {background-image:URL('/sitemedia/uploads//featured_rugs/Oushak.jpg');}

@media (max-width: 992px) {
    .feat-rug {
        height: 250px
    }
}
@media (max-width: 768px) {
    .feat-rug {
        height: 200px
    }
}

.smallcaps {
    font-size: 0.9em;
    line-height:1.5em;
    -moz-font-feature-settings: "c2sc";
    -moz-font-feature-settings: "c2sc=1";
    -ms-font-feature-settings: "c2sc";
    -o-font-feature-settings: "c2sc";
    -webkit-font-feature-settings: "c2sc";
    font-feature-settings: "c2sc";
}
.smallcaps h2 {
    margin-bottom:0;
}

.pressArticles .card-body {
    height:218px;
    overflow:hidden;
}
.pressArticles .card-body img {
    height:100%;
}

@media (max-width: 991px) {
    .divider-half {
        border:none;
    }
}

.form-check-input {margin-top:0.55rem;}

/*Form radio switches*/
.radio-switch {
    display: flex;
    overflow: hidden;
}

    .radio-switch input {
        position: absolute !important;
        width: 1px;
        height: 1px;
        clip: rect(0, 0, 0, 0);
        border: 0;
        overflow: hidden;
    }

    .radio-switch label {
        margin-right: -1px;
        padding: 8px 16px;
        color: #333;
        font-size: 0.75rem;
        line-height: 1em;
        letter-spacing:0.1em;
        text-align: center;
        text-transform: uppercase;
        border: 1px solid rgba(0, 0, 0, 0.2);
        transition: all 0.1s ease-in-out;
    }

        .radio-switch label:hover {
            cursor: pointer;
        }

    .radio-switch input:checked + label {
        color: #fff;
        background-color: #404040;
        box-shadow: none;
    }

    .radio-switch label:first-of-type {
        border-radius: 4px 0 0 4px;
    }

    .radio-switch label:last-of-type {
        border-radius: 0 4px 4px 0;
    }
/*Form radio switches end*/

.cart-menu .step-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 34px;
}

.cart-menu .step-link {
    text-decoration: none;
}

    .cart-menu .step-link[href]:hover {
        text-decoration: underline;
        cursor: pointer;
    }

    .cart-menu .step-link:not([href]) {
        color: #888888;
        text-decoration:none;
        cursor: default;
    }

    .cart-menu .step-link.active {
        color: inherit;
        text-decoration: underline;
    }

.cart-totals {
    padding: 28px 32px;
    border:1px solid #333;
}

.cart-totals h2 {
    margin-bottom:8px;
    font-size:24px;
    font-weight:400;
}

.cart-total-price {
    font-size: 24px;
}

.cart-totals ul.list-unstyled li {
    font-size: 15px;
}

/* Checkout page title: 36px at desktop (body base is 20px, so 1.8em), visually
   hidden (but still announced by screen readers) once the page drops to a
   single column below md. */
.checkout-title {
    font-size: 1.8em;
}
@media (max-width: 767.98px) {
    .checkout-title {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

.back-link {
    display: inline-block;
}
.back-link:hover {
    opacity: 0.7;
}

.mb-32 {
    margin-bottom: 32px;
}

.login-card-width {
    max-width: 600px;
}

.cart-row h2 {
    font-size:35px;
}

.cart-row .rug-size {
    line-height: 22px;
}
.cart-row .rug-colorway {
    line-height: 22px;
    display: block;
}
.cart-row .item-img {
    max-width:227px;
    max-height:227px;
    overflow:hidden;
}
.cart-row .item-img img {
    max-width: 100%;
    width: auto;
    height: auto;
}
.cart-row {
    margin-bottom:30px;
    padding:20px;
}
@media (max-width: 767.98px) {
    .cart-row .item-img {
        max-width: 100%;
        max-height: none;
    }
    .cart-row .item-img img {
        width: 100%;
        max-width: 100%;
        max-height:none;
        height: auto;
    }
}