/*Michaels Hacks */


/* Responsiveness */

@media(max-width:767px){}
@media(min-width:768px){}
@media(min-width:992px){}
@media(min-width:1200px){
    #cssmenu > ul > li > a {
        padding: 20px 20px !important;}
    }


.region-sidebar-first ul li ul li a{
    color:red;
    
}


.region-sidebar-first .hideifsecondary{
    display: none !important;
}


.orange .js-quickedit-main-content a {color:#ff9933;}
.purple .js-quickedit-main-content a {color:#862686;}
.green .js-quickedit-main-content a {color:#669933;}
.blue .js-quickedit-main-content a {color:#006699;}
.red .js-quickedit-main-content a,
.page-node-type-article .js-quickedit-main-content a {color: #c5304f;}

.orange .js-quickedit-page-title {color:#ff9933;}
.purple .js-quickedit-page-title {color:#663366;}
.green .js-quickedit-page-title {color:#669933;}
.blue .js-quickedit-page-title {color:#006699;}
.red .js-quickedit-page-title {color: #c5304f;}


.region-sidebar-first ul {background-color:rgba(0, 0, 0, 0.3);}
.orange .region-sidebar-first ul {background-color:rgba(255, 153, 51, 0.3);}
.purple .region-sidebar-first ul {background-color:rgba(102, 51, 102, 0.3);}
.green .region-sidebar-first ul {background-color:rgba(102, 153, 51, 0.3);}
.blue .region-sidebar-first ul {background-color:rgba(0, 102, 153, 0.3);}
.red .region-sidebar-first ul {background-color:rgba(197, 48, 79, 0.3);}

.orange .region-sidebar-first #cssmenu li:hover,
.orange .region-sidebar-first #cssmenu .is-active {background-color:rgba(255, 153, 51, 0.3);}
.purple .region-sidebar-first #cssmenu li:hover,
.purple .region-sidebar-first #cssmenu .is-active {background-color:rgba(102, 51, 102, 0.3);}
.green .region-sidebar-first #cssmenu li:hover,
.green .region-sidebar-first #cssmenu .is-active {background-color:rgba(102, 153, 51, 0.3);}
.blue .region-sidebar-first #cssmenu li:hover,
.blue .region-sidebar-first #cssmenu .is-active {background-color:rgba(0, 102, 153, 0.3);}
.red .region-sidebar-first #cssmenu li:hover,
.red .region-sidebar-first #cssmenu .is-active {background-color:rgba(197, 48, 79, 0.3);}






/*Searchbox Overlay */



/* Searchbox code */
#search-block-form  { 
    position: absolute; 
    top: 0; 
    right: 0; 
    height: 74px; 
    width: 74%; 
    background: #fff; 
    visibility: hidden; 
    opacity: 0; 
    -moz-opacity: 0; 
    -webkit-opacity: 0; 
    transition: all 0.25s ease-in-out; 
    -moz-transition: all 0.25s ease-in-out; 
    -webkit-transition: all 0.25s ease-in-out;
    float: right; }

#search-block-form form { 
    height: 100%; 
    width: 90%; 
    float: right; }

#search-block-form input { 
    float: right; 
    font-family: 'Minion W01 Caption', serif;
    font-style: italic; 
    height: 80px;
    margin-right: 0px; 
    width: 82%; 
    outline: 0; 
    border: 0; 
    -webkit-appearance: none;
    border-radius: 0; 
    -moz-border-radius: none; 
    -webkit-border-radius: none; 
    font-size: 32px; 
    color: #666; 
    background: none; 
    text-align: right; }


/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    .region-navigation #search-block-form {
        width: 70%;
    }

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    .region-navigation #search-block-form {
        width: 87%;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 1200px) {
    .region-navigation #search-block-form {
        width: 74%;
    }
}


/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) and max-width: 768px){
    .hideifsecondary{
        display: none !important;
    }
    #cssmenu {border-bottom: 1px solid rgba(100, 100, 100, 0.1)!important;}
    
}


.region-navigation .button {
    visibility: hidden;
}

#searchform-header-replace-close {
    display: none;
    position: absolute;
    z-index:50;
    right: 0; 
    margin-top: 20px; 
    height: 30px; 
    line-height: 39px;
    font-size: 22px; 
    color: #444; 
    cursor: pointer; 
    float: right;
    margin-right: 15px !important;
}

#searchform-header-replace-close:hover { 
    color: #000 }

body.boxed-main-layout #searchform-header-replace input { 
    padding: 0 30px; }

body.boxed-main-layout #searchform-header-replace-close {  }
#search-form-header-replace{font-family: 'Minion W01 Caption', serif;
    font-style: italic;}

#search-block-form.show, #searchform-header-replace-close.show { visibility: visible; opacity: 1; -moz-opacity: 1; -webkit-opacity: 1; }

.search-header-replace-toggle-box{
    margin-top: 20px;
    margin-left: 20px;
}
.search-header-replace-toggle a {color: #000000; font-size: 3em;}
.js-form-type-search{color: #eeeeee;}
#search-block-form .form-actions{
    display: none;
}




/* CSS Menu */


.region-navigation #cssmenu .is-active{
    font-weight: bold;
}

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1.2;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* hide the ul li ul*/
.region-navigation #cssmenu ul li ul {
    display: none !important;
}

#cssmenu:after,
#cssmenu > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
.footer-nav {
    padding: 0 !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .9em;
font-family: 'FF Unit Offc W01', sans-serif;
    letter-spacing: .02em;
}

#cssmenu {
	margin-top:0px;
  width: auto;
  font-family: 'FF Unit Offc W01', sans-serif;
  letter-spacing: .03em;
  font-weight:800;
  line-height: 2;
    float:right;
}
#cssmenu > ul {
}
#cssmenu > ul > li {
  float: left;
}
.logoleft{
  margin-top: 10px;
  float: left;
    margin-right: 0px;
}
#cssmenu.align-center > ul {
  font-size: 0;
  text-align: center;
}
#cssmenu.align-center > ul > li {
  display: inline-block;
  float: none;
}
#cssmenu.align-right > ul > li {
  float: right;
}
#cssmenu > ul > li > a {
  padding: 20px 10px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight:400;
  text-decoration: none;
  color: #000;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
}
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.is-active > a {

  font-weight:700;
  font-size: 15.3px;
}
#cssmenu > ul > li > a.orange:hover {
  color:#ff9933;
}
#cssmenu > ul > li > a.purple:hover {
  color:#663366;
}
#cssmenu > ul > li > a.green:hover {
  color:#669933;
}
#cssmenu > ul > li > a.blue:hover {
  color:#006699;
}
#cssmenu > ul > li > a.red:hover {
  color: #c5304f;
}
#cssmenu > ul > li.is-active > a:hover {
  color:#000 !important;
}
#cssmenu #menu-indicator {
	position: absolute;
	top: -1px;
	display: block;
	height: 0;
	width: 0;
	border: 8px solid transparent;
	border-top-color: #000;
	-webkit-transition: all 0.25s ease-out;
	-moz-transition: all 0.25s ease-out;
	-ms-transition: all 0.25s ease-out;
	-o-transition: all 0.25s ease-out;
	transition: all 0.25s ease-out;
}
#cssmenu.small-screen {
  width: 100%;
border-bottom: 1px solid #ccc;
margin-bottom: 10px;
}

#cssmenu.small-screen .hideifsecondary{
    padding-bottom: 12px;
}
#cssmenu.small-screen > ul,
#cssmenu.small-screen.align-center > ul {
  width: 100%;
  text-align: left;
}
#cssmenu.small-screen > ul > li,
#cssmenu.small-screen.align-center > ul > li {
  float: none;
  display: block;
  border-top: 1px solid rgba(100, 100, 100, 0.1);
}
#cssmenu.small-screen > ul > li > a {
  padding: 18px 15px;
}
#cssmenu.small-screen > ul > li:after,
#cssmenu.small-screen > ul > li:before {
  display: none;
}
#cssmenu.small-screen #menu-button {
  display: block;
  padding: 27px 25px;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  color: #000000;
}
#cssmenu.small-screen #menu-button.menu-opened {
  color: #444444;
}
#cssmenu.small-screen #menu-button:after {
  content: "";
  position: absolute;
  right: 25px;
  top: 19.5px;
  display: block;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 18px;
  height: 3px;
}
#cssmenu.small-screen #menu-button.menu-opened:after {

}
/*
#cssmenu.small-screen #menu-button:before {
  content: "";
  position: absolute;
  right: 25px;
  top: 29.5px;
  display: block;
  width: 18px;
  height: 2px;
  background: #000000;
}*/
#cssmenu.small-screen #menu-button.menu-opened:before {
  background: #444444;
}
#cssmenu.small-screen #menu-indicator {
  display: none;
}

.layout-sidebar-first .hideifsecondary{
    display:none;
}


#cssmenu > ul > li > ul > li > a{
    font-size: 15px !important;
}

#cssmenu > ul > li > ul > li{ border-top: 1px solid #888;background-color:rgba(255, 255, 255, 0.2);}
.purple #cssmenu > ul > li > ul > li{ border-top: 2px solid rgba(102, 51, 102, 0.4);}
.green  #cssmenu > ul > li > ul > li{ border-top: 2px solid rgba(102, 153, 51, 0.4);}
.blue #cssmenu > ul > li > ul > li{ border-top: 2px solid rgba(0, 102, 153, 0.4);}
.red #cssmenu > ul > li > ul > li{ border-top: 2px solid rgba(197, 48, 79, 0.4);}