/* ------------- IMPORT FONTS --------------- */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,800|Arvo:400,700);


/* ------------- DEFAULT STYLES ------------- */

html {
    height: 100%;
}

body {
    min-height: 100%;
    font-family: 'Open Sans', 'Arial', 'Helvetica', sans-serif;
    font-weight: 400;
    font-size: 10.2pt;
    color: black;
    background-color: black;
    background-image: url(/images/site_background.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}

a {
    color: black;
    text-decoration: none;
}

a:hover,
a.current {
    text-decoration: underline;
}

h1,
h2,
h3,
h4 {
    text-transform: uppercase;
}

h1 {
    font-weight: 300;
    font-size: 180%;
    letter-spacing: .1em;
}

h2 {
    font-weight: 300;
    font-size: 150%;
    letter-spacing: .1em;
}

h3 {
    font-weight: 300;
    font-size: 120%;
}

h4 {
    font-weight: 700;
    font-size: 100%;
}

/* Safari fix */
img {
    background-color: transparent;
}

input:focus,
textarea:focus {
    outline: none;
}

.icon {
    margin: 0 0 -2px 7px;
}

.default-width {
    position: relative;
    width: 940px;
    padding: 0;
    margin: 0 auto;
}

.colleft {
    width: 65%;
    float: left;
    clear: left;
}
.colright {
    width: 30%;
    float: right;
    clear: right;
}

.button-yellow,
.button-black {
    padding: .5em 0;
    font: inherit;
    font-family: 'Open Sans', 'Arial', 'Helvetica', sans-serif;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-align: center !important;
}
.button-yellow {
    background: #ccc !important;
    color: black !important;
}
.button-yellow:hover,
.button-yellow:active {
    background: #ddd !important;
    text-decoration: none !important;
}
.button-black {
    background: #ccc !important;
    color: #000 !important;
}
.button-black:hover,
.button-black:active {
    background: #ddd !important;
    color: black !important;
    text-decoration: none !important;
}

.footcolumn {
    float: left;
}
.footcolumn:nth-child(1) {
    width: 45%;
}
.footcolumn:nth-child(2) {
    width: 45%;
}
.footcolumn:nth-child(3) {
    width: 10%;
}
.footcolumn p {
    margin-bottom: 1.5em;
    padding-left: .3em;
    line-height: 200%;
}
.footcolumn li {
    margin: .5em;
}
.footcolumn li.current {
    text-decoration: underline;
}
.footcolumn .subscribe {
    color: #ffff00 !important;
}

form.request {
}
form.request label {
    display: block;
    font-weight: bold;
    padding: .4em .2em;
    text-transform: uppercase;
}
form.request div.input {
    margin: .5em 0;
    padding: 0 .5em;
}
form.request input,
form.request textarea {
    width: 95%;
    border: 1px solid #ccc;
    padding: .3em;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
}
form.request input[type=checkbox] {
    width: 20px;
}
form.request button {
    display: block;
    width: 100%;
    padding: 1em;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    text-transform: uppercase;
}
form.request button:hover {
    background: #eee;
}
form.request,
div.response {
    margin-bottom: 4em;
}

#jquery-lightbox {
   -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
   user-select: none;
}
#lightbox-image {
    background: linear-gradient(#e5e5e5, #e5e5e5, #b3b3b3);
}

#form-contact {
    position: relative;
}
#form-success {
    padding: 0 2em;
    background: white;
    font-size: 120%;
}
#form-success h3,
#form-success p {
    margin: 1em 0;
}
#form-success a {
    text-decoration: underline;
}
#form-success a:hover {
    text-decoration: none;
}


/* ------------- COOKIE REQUEST ------------- */

#cookierequest {
    position: fixed;
    width: 100%;
    height: auto;
    bottom: 0;
    left: 0;
    background: #CCFFB2;
    border-top: 1px solid black;
    z-index: 9999;
    font-size: 90%;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}
#cookierequest .cookiecontainer {
    position: relative;
    width: 900px;
    margin: 0 auto;
}

#cookierequest a {
    text-decoration: underline;
}
#cookierequest a:hover {
    text-decoration: none;
}

#cookierequest p {
    margin: 10px;
}
#cookierequest p:first-child a {
    margin: 0 10px;
}

#cookierequest ul {
    margin: 5px;
    margin-bottom: 15px;
}
#cookierequest li {
    margin: 5px;
    list-style-type: disc;
    margin-left: 25px;
}

#cookierequest .cookieinfo {
    display: none;
}


/* ------------- HEADER SECTION ------------- */

#head {
    height: 124px;
}

#logo {
    position: relative;
    float: left;
    top: 27px;
    left: 0;
}

#phone {
    position: absolute;
    top: 3.5em;
    right: 12em;
    font-size: 150%;
    font-weight: 600;
    color: white;
}

#search form {
    position: relative;
    float: right;
    top: 68px;
    right: 0;
}

/*
#searchresults button,
#searchresults input,
#search input

#searchresults form {
    margin-bottom: 30px;
}

*/

#search div {
    position: relative;
    width: 10.7em;
    padding: .7em 3em .7em 1em;
    border: 1px solid white;
    font-size: 90%;
    background-color: rgba(0,0,0,0.4);
}

#search input {
    background: transparent;
    font: inherit;
    color: white;
}
#search input::-webkit-input-placeholder {
    background: transparent;
    font: inherit;
    font-style: italic;
    color: white;
}
#search img {
    position: absolute;
    top: .65em;
    right: .6em;
}


/* ------------- MAIN SECTION ------------- */


/* Main menu */

#menu {
    position: relative;
    background-color: rgba(0,0,0,0.5);
}

#mainmenu_0 {
}
#mainmenu_0 li {
    position: relative;
    text-transform: uppercase;
}
#mainmenu_0 li.topitem,
#mainmenu_0 span.submenu {
    display: none;
    background-image: url(/images/menu_hamburger.png);
    background-size: 30px 20px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    cursor: pointer;
}
#mainmenu_0 span.submenu {
    width: 30px;
    height: 20px;
}
#mainmenu_0 li a {
    display: block;
    color: white;
}
#mainmenu_0 > li {
    display: block;
    float: left;
}
#mainmenu_0 > li > a {
    padding: 1.25em;
    margin-right: .5em;
}
#mainmenu_0 > li.current > a,
#mainmenu_0 > li:hover > a,
#mainmenu_0 ul.depth1 > li.current > a,
#mainmenu_0 ul.depth1 > li:hover > a,
#mainmenu_0 ul.depth2 > li.current > a,
#mainmenu_0 ul.depth2 > li:hover > a {
    color: #ffed00;
    text-decoration: underline;
}
#mainmenu_0 li.atex > a {
    background-color: transparent;
    background-image: url(/images/logo_atexindustries_small.png);
    background-repeat: no-repeat;
    background-position: 93% 50%;
}

#mainmenu_0 span.submenu {
    float: right;
    z-index: 10;
    padding: 1em;
    color: white;
}

#mainmenu_0 ul.submenu {
    position: absolute;
    z-index: 100;
}
#mainmenu_0 ul.depth1 {
    padding-top: .8em;
    font-size: 85%;
    background-color: transparent;
    background-image: url(/images/submenu_arrow.png);
    background-repeat: no-repeat;
    background-position: 25% 0%;
}
#mainmenu_0 ul.depth1 > li,
#mainmenu_0 ul.depth2 > li {
    background: black;
}
#mainmenu_0 ul.depth1 > li:first-child,
#mainmenu_0 ul.depth2 > li:first-child {
    padding-top: .7em;
}
#mainmenu_0 ul.depth1 > li:last-child,
#mainmenu_0 ul.depth2 > li:last-child {
    padding-bottom: .6em;
}

#mainmenu_0 ul.depth1 > li > a,
#mainmenu_0 ul.depth2 > li > a {
    padding: .5em 3.3em .5em 1.3em;
    width: 13em;
}

#mainmenu_0 ul.depth2 {
    padding-left: .1em;
    top: -0.7em;
    left: 17.6em;
}
#mainmenu_0 ul.depth1 > li:first-child ul.depth2 {
    top: 0;
}


/* Language menu */

#langmenu {
    position: absolute;
    top: 12px;
    right: 21px;
    width: 50px;
}
#langmenu a {
    opacity: 0.5;
}
#langmenu li {
    float: left;
    margin-left: 10px;
}
#langmenu li.current a,
#langmenu li a:hover {
    opacity: 1;
}



/* ------------- CONTENT SECTION ------------- */

/* Content element */

#content {
    padding: 2.2em 0 2.5em 0;
    background-color: #ffffff;
    min-height: 15em;
}

/* Content default styles */

#content a {
    text-decoration: underline;
    color: #4444AA;
}
#content a.admin {
    color: #EB7171;
}
#content a:hover {
    text-decoration: none;
}
#content h1 {
    margin-bottom: 1.5em;
    text-align: center;
}
#content h2 {
    margin-top: 2em;
    margin-bottom: 0.7em;
}
#content h3 {
    margin-top: 2em;
    margin-bottom: 0.7em;
}
#content p {
    margin-top: 1em;
    line-height: 150%;
}
#content table.list {
    margin-bottom: 20px;
}


#content ol,
#content ul {
    margin: 0 0 20px 10px;
}

#content li {
    margin-left: 10px;
    padding: 3px;
}

#content ul > li {
    list-style-type: disc;
}

#content table.list td,
#content table.list th {
    padding: 5px 8px;
    border: 1px solid #BBB;
    vertical-align: top;
}

#content table.list tr:hover {
    background: #efefef;
    border: 1px solid #c7c7c7;
}


#content td > *,
#content th > * {
    margin: 0;
    padding: 0;
}

#content hr {
    margin: 25px 0;
    height: 1px;
    border-top: 1px solid black;
}




/* ------------- FOOT SECTION ------------- */

#foot {
    padding: 2.3em 0;
    color: white;
    text-align: center;
    font-size: 85%;
    background: black;
    clear: both;
}
#foot a {
    color: white;
}
#foot hr {
    margin: 1.5em 0;
    border-bottom: 1px solid white;
}

#socialmedia {
    margin-bottom: 1.5em;
}
#socialmedia li {
    display: inline-block;
    margin: 0 5px;
}

#footnote {
    text-transform: uppercase;
    margin-bottom: 2.5em;
    font-size: 120%;
}
#footaddress hr {
    margin: .5em 0;
    border-bottom: 1px solid white;
}
#footcompany {
    line-height: 180%;
}
#footcopyright {
    margin-top: 1.5em;
    color: #b6b6b6;
}
#footcredits {
    margin-top: 2em;
    color: #999;
    font-size: 85%;
}


/* ------------- PRODUCT LISTS ------------- */


#content div.productlist {
    margin: 20px 0;
}

#content div.productlist h2 {
    position: relative;
    padding: 15px;
    margin: 0;
    border: 1px solid #e3e2e2;
    background: #f3f3f3;
}
#content div.productlist h2 div.buttondetails {
    position: absolute;
    width: 198px;
    height: 21px;
    top: 12px;
    right: 50px;
    padding: 2px 0;
    background: url(/images/productlist_details.png);
    text-align: center;
    color: white;
}

#content div.productlist > ul {
    margin: 5px 0;
    padding: 0;
}

#content div.productlist li {
    margin: 0;
    padding: 0;
    list-style-type: none !important;
}

#content div.productlist > ul > li {
    margin-bottom: 10px;
}

#content div.productlist ul.products {
    margin: 10px 20px 10px 40px;
}

#content div.productlist ul.products li {
    position: relative;
    padding: 5px 0;
    border-top: 1px solid #cccccc;
}

#content div.productlist ul.products li:first-child {
    border-top: none;
}

#content div.productlist div.image {
    width: 120px;
    height: 80px;
    border: 1px solid #cccccc;
}

#content div.productlist div.image * {
    display: block;
}

#content div.productlist div.title {
    position: absolute;
    text-indent: -70px;
    width: 220px;
    left: 210px;
    top: 36px;
}

#content div.productlist div.title.multiline {
    position: absolute;
    left: 140px;
    top: 15px;
    line-height: 160%;
}

#content div.productlist img.atex {
    position: absolute;
    top: 33px;
    right: 130px;
}

#content div.productlist div.button {
    position: absolute;
    top: 31px;
    right: 0;
    width: 107px;
    height: 26px;
    background: url(/images/button_show-details.png);
}

#content div.productlist div.button a {
    display: block;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    width: 107px;
    padding: 4px 0;
    font-size: 90%;
    font-weight: bold;
    text-align: center;
}


/* Product tiles */

ul.producttiles,
#content ul.producttiles {
    padding: 0;
    margin: 0 -25px;
    clear: both;
    text-align: center;
}
ul.producttiles li,
#content ul.producttiles li {
    position: relative;
    display: inline-block;
    vertical-align: top;
    padding: 0;
    list-style-type: none;
    margin: 0 18px 36px 18px;
    text-align: center;
/*    border: 3px solid #e6e6e6; */
}
ul.producttiles.transparent li,
#content ul.producttiles li{
    border: 1px solid #ddd;
}
ul.producttiles li:nth-child(4n+1),
#content ul.producttiles li:nth-child(4n+1) {
    clear: both;
}
ul.producttiles li .order {
    position: absolute;
    top: 0;
    right: 0;
    padding: .5em;
    background: white;
    z-index: 10;
}
ul.producttiles li,
#content ul.producttiles li {
    width: 280px;
}
ul.producttiles li img,
#content ul.producttiles li img {
    width: 280px !important;
    height: 194px !important;
}
ul.producttiles li img,
#content ul.producttiles li img {
    display: block;
    padding: 0;
    margin: 0;
/*    background: linear-gradient(#e5e5e5, #e5e5e5, #b3b3b3); */
}
ul.producttiles li img.atex,
#content ul.producttiles li img.atex {
    display: none;
}

ul.producttiles.transparent li img,
#content ul.producttiles.transparent li img {
    background: transparent;
}
ul.producttiles li a,
#content ul.producttiles li a {
    margin: 0;
    padding: 0;
    position: relative;
    display: block;
    text-decoration: none;
    color: black;
}
ul.producttiles li h3,
#content ul.producttiles li h3 {
    padding: 0;
    margin: 0;
    background: #ddd;
}
ul.producttiles li:hover h3,
#content ul.producttiles li:hover h3 {
    background: #eee;
}
ul.producttiles li h3 a,
#content ul.producttiles li h3 a {
    font-size: 90%;
    padding: .3em;
}

ul.producttiles.small li,
#content ul.producttiles.small li {
    border-width: 2px;
}
ul.producttiles.small li,
ul.producttiles.small li img,
#content ul.producttiles.small li,
#content ul.producttiles.small li img{
    width: 200px;
}
ul.producttiles.small li h3 a,
#content ul.producttiles.small li h3 a {
    font-size: 80%;
}

ul.producttiles.large li,
#content ul.producttiles.large li {
    margin: 0 30px 50px 30px;
    border-width: 4px;
}
ul.producttiles.large li,
ul.producttiles.large li img,
#content ul.producttiles.large li,
#content ul.producttiles.large li img{
    width: 380px;
}
ul.producttiles.large li h3 a,
#content ul.producttiles.large li h3 a {
    font-size: 140%;
}

#content div.producttiles ul {
    padding: 0;
    margin: 0;
}
#content div.producttiles li {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#content div.producttiles > ul > li {
    clear: both;
}
#content div.producttiles > ul > li > h2 {
    display: none;
    margin: 1em 0;
}
#content div.producttiles ul.products {
    margin: 0 -22px;
}
#content div.producttiles ul.products h2 {
    color: white;
    text-align: center;
    margin-bottom: 1.5em;
}
#content div.producttiles ul.products li {
    float: left;
    width: 280px;
    margin: 0 18px 36px 18px;
    text-align: center;
    background: #ffff00;
    border: 3px solid #e6e6e6;
}
#content div.producttiles ul.products li.first {
    clear: both;
}
#content div.producttiles ul.products li a {
    position: relative;
    display: block;
    text-decoration: none;
    color: black;
}
#content div.producttiles ul.products li a:hover,
#content div.producttiles ul.products li a:active {
    background: black;
    text-decoration: none;
    color: #ffff00;
}
#content div.producttiles ul.products li img.atex {
    position: absolute;
    top: 10px;
    right: 10px;
}
#content div.producttiles ul.products li img.image {
    display: block;
    width: 280px;
    height: 194px;
    background: linear-gradient(white, #b3b3b3);
}
#content div.producttiles ul.products li h3 {
    padding: .3em;
    margin: 0;
}


/* Search results */

#searchresults form {
    margin: 1.5em 0;
}
#searchresults form input {
    width: 15em;
    padding: .5em;
    font: inherit;
    font-size: 90%;
    font-weight: 600;
    border: 1px solid #ddd;
}
#searchresults form button {
    width: 10em;
    padding: .5em;
    font: inherit;
    font-size: 90%;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    background: #ddd;
    color: black;
    border: 1px solid #ddd;
}
#searchresults form button:hover,
#searchresults form button:active {
    background: #eee;
}

#searchresults > h2 {
    margin-top: 1.8em;
}

#searchresults li a {
    text-decoration: none;
}

#searchresults li a:hover {
    text-decoration: underline;
}

#searchresults li img {
    margin-right: 5px;
}


#content .carousel {
    margin: 3em 0;
}
#content .carousel div {
    margin: 0.5em;
}
#content .carousel div > a,
#content .carousel div > a > img,
#content .carousel div > img {
    width: 16em;
}

@media only screen and (max-width: 1000px) {
    .default-width {
        width: 100%;
    }
    #content ul.producttiles {
        margin: 0;
    }
    #logo {
        padding: 20px;
        top: 0; 
        max-width: 400px;
    }
    #logo img {
        width: 100%;
    }
    #search form {
        right: 30px;
    }
    #content h1,
    #content h2,
    #content h3,
    #content p {
        padding-left: 20px;
        padding-right: 20px;
    }
    #content ul > li {
        margin-left: 2em;
    }
    #content .carousel img {
        width: 80%;
    }
    #footnote {
        padding: 10px 20px;
    }
    #foot .footcolumn {
        float: none;
        text-align: center !important;
        padding: 20px;
        width: auto;
    }
}

@media only screen and (max-width: 780px) {
    .w700 {
        width: 100% !important;
    }
    #head {
        height: auto;
    }
    #logo {
        float: none;
        left: auto;
        margin: 0 auto;
        padding: 20px;
        top: 0; 
        max-width: 400px;
    }
    #logo img {
        width: 100%;
    }
    #phone {
        position: relative;
        width: 100%;
        margin-bottom: 1em;
        text-align: center;
        top: 0;
        left: 0;
    }
    #search form {
        float: none;
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 20px;
    }
    #search form div {
        margin: 0 auto;
        width: 300px;
        padding: 1em;
        padding-right: 3em;
    }
    #search input {
        width: 100%;
        font-size: 110%;
    }
    #search form img {
        top: 1em;
        right: 1em;
    }
    #menu {
        position: relative;
    }
    #menu br {
        display: none;
    }
    #mainmenu_0 li {
        float: none;
        width: 100%;
    }
    #mainmenu_0 li.topitem {
        display: list-item !important;
        height: 3.5em;
        background-position: 97% 50%;
    }
    #mainmenu_0 span.submenu {
        display: block;
    }
    #mainmenu_0 ul.submenu {
        position: relative;
        z-index: 0;
    }
    #mainmenu_0 ul.depth1 {
        padding-top: 0;
        font-size: 100%;
        background-color: transparent;
        background-image: none;
    }
    #mainmenu_0 > li {
        display: none;
    }
    #mainmenu_0 ul.depth1 > li,
    #mainmenu_0 ul.depth2 > li {
        background: transparent;
    }
    #mainmenu_0 ul.depth1 > li:first-child,
    #mainmenu_0 ul.depth2 > li:first-child {
        padding-top: 0;
    }
    #mainmenu_0 ul.depth1 > li:last-child,
    #mainmenu_0 ul.depth2 > li:last-child {
        padding-bottom: 1em;
    }
    
    #mainmenu_0 ul.depth1 > li > a,
    #mainmenu_0 ul.depth2 > li > a {
        padding: 1.3em;
        padding-left: 2em;
        width: auto;
    }
    #mainmenu_0 ul.depth2 {
        padding-left: 1em;
        top: 0;
        left: 0;
    }
    #mainmenu_0 ul.depth1 > li:first-child ul.depth2 {
        top: 0;
    }    
    #content h1,
    #content h2,
    #content h3,
    #content p {
        padding-left: 20px;
        padding-right: 20px;
    }
    #content p img {
        display: block !important;
        clear: both;
        float: none !important;
        width: 100% !important;
        max-width: 350px;
        height: auto !important;
        margin: 20px auto !important;
    }
    #content .carousel {
        padding: 30px 0;
    }
    #content .carousel img {
        width: 100%;
    }
    #searchresults form {
        display: none;
    }

}

@media only screen and (max-width: 430px) {
    body {
        background-image: url(/images/site_background-430.jpg);
    }
    .default-width {
        width: 100%;
    }
    #search form {
        width: 100%;
        margin-bottom: 0;
    }
    #search form div {
        width: auto;
        border-left: none;
        border-right: none;
        font-size: 100%;
    }
    #search form input {
        width: 100%;
    }
    #content {
        padding: 20px 0;
    }
    #footnote {
        padding: 10px 20px;
    }
    #foot .footcolumn {
        float: none;
        text-align: center !important;
        padding: 20px;
        width: auto;
    }
    #lightbox-container-image-box{
        width: 100% !important;
        height: auto !important;
    }
    #lightbox-container-image-data-box,
    #lightbox-container-image-box img {
        padding: 0;
        width: 100% !important;
    }
    #lightbox-nav a {
        height: 100% !important;
        width: 25% !important;
    }
}

@media print {
   
}

@media all {
  div.mfp-iframe-scaler {padding-top: 75% !important;}
  div.mfp-content {max-width: 1000px !important;}
}

