#masternav .selector option { background:#eee; -webkit-appearance:none; padding: 5px; border:none; }
#masternav .selector, 
#masternav .selector span { font-size: 20px; cursor: pointer !important; -webkit-font-smoothing:antialiased; }
#masternav .selector, 
#masternav .selector *{ margin:0; padding:0; }
#masternav .selector select { top:0px; left:0px; }
#masternav .selector { width: 100%; font-size:12px;  font-weight:bold; }
#masternav .selector span:after { padding-left: 5px; padding-right: 5px; content: "\f078"; font-family: 'fntawX'; }
#masternav .selector span{ cursor:pointer; }
#masternav .selector { height: 30px; line-height: 30px; display:-moz-inline-box;  display:inline-block;  vertical-align:middle;  zoom:1;  *display:inline; }
#masternav .selector select:focus {outline:0; }
#masternav .selector { position:relative;  padding-left:10px;  overflow:hidden; }
#masternav .selector span { display:block;  overflow:hidden;  text-overflow:ellipsis;  white-space:nowrap; }
#masternav .selector select { position:absolute;  height:35px;  background:none;  width:97%; font-family:Helvetica,Arial,sans-serif;  font-size:11px;  font-weight:500; border:0 !important; }
#masternav select { display: none; width: 100% !important; }
#masternav .selector { display: none; margin-top: 5px; }
img { max-width: 100%; }

@media only screen and (max-width: 1024px) { #mega-menu-wrap-menu .mega-menu-toggle.mega-menu-open + #mega-menu-menu { height: 10600%; } .portfolio-item { max-width: 208px; } .hp-highlight { max-width: 176px; } .home-entry { max-width: 208px; } }

@media only screen and (max-width: 1023px) { .portfolio-item, .hp-highlight, .home-entry { max-width: unset; } }

@media only screen and (max-width: 958px) {
/* #masterhead { padding: 16px 0px 0px 0px; padding: 1rem 10px 1rem 10px !important; } */
/* #main { padding: 0 10px; } */
#footer { padding: 10px 10px 30px 10px; }
#portfolio-cats { display: none; }
.xcontent { width: 100%; margin-right: 0; padding: 0; background-color: transparent; border: 0 !important; float: none; }
.ixo-button { float: right; }
#portfolio-wrap { overflow: visible; margin-bottom: 0; float: left; margin-top: 2rem; }
.xcontent > p img { display: none; }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
#wrap { /*width: 680px;*/ width: 100% !important; }
.hp-highlight, .portfolio-item, .home-entry, #footer-one,#footer-two,#footer-three,#footer-four { /*width: 155px;*/ }
#home-tagline { font-size: 21px; }
#search { text-indent: -9999px; }
.loop-entry-thumbnail {width: 35%;}
#masternav .selector, #masternav select { display: inline-block; }
#masternav ul { display: none; }
#masternav { padding: 0; height: 40px; line-height: 40px; float: none; padding: 10px 5px; margin: 0; background: #008BC8; color: #fff; top: 0; right: 0; cursor: pointer; }
}

@media only screen and (device-width: 768px) {
#sidebar { width: 18%; }
}

@media only screen and (max-width: 768px) {
.entry h1 { font-size: 1.14rem; color: #444; }
.entry img.page-icn { max-width: 80px; }
}

@media only screen and (max-width: 767px) {
/* .flexslider .caption { display: none; } */
#logo .logo-desk { display: none; }
#logo .logo-mob { display: block; }
#masternav .selector span { font-size: 12px; }
#masternav .selector select { font-size: 10px; }
#masternav .selector, #masternav select { display: inline-block; }
#masternav ul { display: none; }
#masternav { padding: 0; height: 40px; line-height: 40px; float: none; padding: 0 5px; margin: 0; background: #008BC8; color: #fff; top: 0; right: 0; cursor: pointer; }

h1.claim, h2.claim, h3.claim { font-size: 1.2em; line-height: 1.4em !important; text-align: center; }

#wrap { width: 230px; }
.hp-highlight, .portfolio-item, .home-entry, #footer-one { width: 230px; margin-right: auto; margin-left: auto; }

#footer-one, #footer-two, #footer-three, #footer-four { float: none !important; width: 230px; width: 100% !important; max-width: 100% !important; margin: 0 auto !important; }

#home-highlights { width: 100%; max-width: 1300px; /*display: block;*/ display: flex; }

#portfolio-wrap { margin-right:  0; }

#home-tagline { font-size: 16px; }

.flex-direction-nav li a.next, .flex-direction-nav li a.prev {height: 40px;width: 25px; line-height: 40px;margin-top: -20px;}

ul.filter { position: inherit; margin-top: 10px; margin-bottom: 0px; top: 0; left: 0; }
ul.filter li { margin-top: 10px; }

#single-nav a { font-size: 10px; }
#single-nav-left, #single-nav-right { margin-left: 5px; }

.post, #sidebar { width: 100%; /*width: 96%;*/ float: none !important; border: 0 !important; }

.loop-entry-meta { display: none; }
.loop-entry h2 { margin-bottom: 10px; }

#sidebar { margin-top: 25px; /*margin: 25px -20px auto -20px;*/ border-top: 5px solid #444; }

#single-portfolio-left, #single-portfolio-right { float: none; width: 100%; }

#page-heading { /*text-align: center;*/ }
#page-heading h1 { font-size: 1.4rem; /*line-height: 1em;*/ margin: 0px 10px 0px 0px !important; /*color:#fff;*/ padding: 0; }
#single-nav { position: inherit; margin-top: 20px; margin-left: -10px; text-align: right; }
#single-nav-left, #single-nav-right { display: inline-block; float: none; }

.children li { margin: 0 !important; }

#copyright,#back-to-top { float: none; width: 100%; text-align: center; }

.one-half, .one-third, .two-third, .one-fourth, .three-fourth, .one-fifth, .one-sixth {width: 100%; float: none;} 
.xycontent { /*margin: -20px;*/ border: 0 !important; }
.cookie-btn.cn-button.wp-default { font-size: .7rem; }
.cntc-high { height: 240px; font-size: .9em; line-height: 1.8em; }
}

@media only screen and (max-width: 480px) {
#wrap { width: auto; } .ixo-button { float: none; } .home-entry img, .portfolio-content img, .portfolio-item img { /*width: 95%;*/ width: 100%; }
.home-entry img { width: 100%; }
.home-entry, .portfolio-item { width: 100%; }
.entry img.page-icn { max-width: 60px; }
#page-heading { margin-bottom: 1rem; }
.entry h1 { font-size: 1rem; /*text-align: right;*/ }
.data-sheet th, .data-sheet td { font-size: .95rem; }
#back-to-top { left: 0; right: 0; }
.error-message { font-size: 1.22rem; letter-spacing: .5px; line-height: 1.2; }
.not-found { margin-top: -10px; }
.error-404.content-wrap { padding: 1rem 0; }
.error-404 .not-found .page-content h1 { font-size: 1.42rem; }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
#masternav .selector span { font-size: 16px; }
#wrap { /*width: 420px;*/ width: 100% !important; }
.hp-highlight, .portfolio-item, .home-entry, #footer-one, #footer-three { width: 200px; /*margin-right: 20px;*/ }
#footer-two, #footer-four { width: 200px; margin-right: 0; }
.rps-clear { clear: both; }
.loop-entry-thumbnail { width: 33%; }
ul.filter { margin-bottom: 0; }
/* #page-heading h1 { font-size: 16px; line-height: 1em; margin: 0px 10px 0px 0px !important; color:#fff; padding:20px; } */
}

