/* Prevents iphone from resizing in landscapre mode */

html { -webkit-text-size-adjust:none; }

/* Prevents iphone from resizing in landscapre mode */

* { 
	-moz-box-sizing: border-box;
	-webkit-box-sizing::border-box;
	box-sizing:border-box; 
}

/* Genral */

* {
	margin: 0;
	padding: 0;
}

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    color:#444;
    font-size:0.9em;
    line-height:17pt;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    background:none;
    background-color: #222;
}

#page {
    margin: 0 auto;
    max-width: 1200px;
	min-width: 320px;
	position: relative;
}

/* Header 
*/

.logo-and-slogan-wrapper {
    display: block;
    float: left;
    width: auto;
}

#logo {
    float: left;
    margin-right: 10px;
}

#logo img {
    max-height: 100px;
}

#site-name-wrapper {
    display: block;
    float: left;
    padding-top: 10px;
    vertical-align: middle;
}

#site-name {
    font-size: 4em;
    line-height: 1em;
	font-weight: 700;
	margin-bottom:0;
}

#site-name a {
    color: #ebebeb;
}
    
.site-slogan {
    color: white;
    font-family: italiana;
    font-size: 1.2em;
	letter-spacing:0.025em;
}

#header {
    float: left;
    height: auto;
    width: 100%;
	padding: 2%;
	background-color:#121212;
}


/* Secondary Menu */

#secondary-menu {
    float: left;
    margin: 0 0 20px;
    text-align: right;
	width: 100%;
}

#secondary-menu ul {
	display: block;
	text-align: right;
	padding: 0;
}

#secondary-menu li a {
    color: #ebebeb;
    font-family: oswald;
    font-size: 0.8em;
	letter-spacing:0.05em;
    font-weight: bold;
    text-decoration: none;
    text-transform: capitalize;
}

#secondary-menu li a:hover {
	color: #ffffff;
}

ul li.collapsed, ul li.leaf  { list-style-type: disc; }

.more-link {
    font-size: 0.9em;
    font-weight: 700;
    text-align: right;
}

.column3 .attachment {
    margin-top: -20px;
	border-top: 1px solid #eaeaea;
	border-bottom: 3px solid #eaeaea;
}

.column3 .attachment .views-row {
    background: #f7f7f7 none repeat scroll 0 0;
    border-bottom: 1px solid #eaeaea;
    border-top: 1px solid #fff;
    float: left;
    margin: 0;
    padding: 10px 10px 0;
    width: 100%;
}

/* Featured Articles */

#featured {
    margin-bottom:30px;
    width:100%;
    border-bottom: 3px solid #eee;
}

#featured img, .column2 img, .column3 img, #bottom img, #four img {
    width: 100%;
}

#featured i, #popular i, #four i, #article-slideshow i, .column3 .attachment i {
	margin-right: 4px;
	margin-left:10px;
}

#featured .views-field.views-field-counter, #popular .views-field-counter {
	float: right;
	text-align:right;
}

#featured .views-field.views-field-counter, #popular .views-field-counter, .column3 .attachment .views-field.views-field-comment-count {
	font-family: oswald;
	color: #aaa;
	width: 100%;
	font-size:0.75em;
	text-transform: uppercase;
	letter-spacing:0.1em;
}

#featured .views-field.views-field-counter {
	margin-bottom:20px;
}

#featured .views-field-counter a, #popular  .views-field-counter a {
	color: #aaa;
}

::selection {
	color: #cd3a56;
}

::-moz-selection {
	color: #cd3a56;
}

/* Additional */

.clearfix {
	clear: both;
}
.clearfix::after {
    content:"";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
}

.floatleft {
    float:left;
}

div.messages {
    margin: 6px 0 12px;
}
	
/* Maintenance page */

.maintenance-page {
    font-size: 1.2em;
    text-align: center;
    line-height: normal;
    background-color: #aaa;
}

.maintenance-page h1 {
    font-size: 1.6em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.maintenance-page #logo {
    float: none;
    margin-bottom: 20px;
}

.maintenace-inner {
    border: 1px solid #eaeaea;
    -webkit-box-shadow: 5px 5px 0 #f0f0f0;
    box-shadow: 5px 5px 0 #f0f0f0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    padding: 30px;
    margin: 50px auto 20px;
    width: 500px;
    overflow: hidden;
}

/* Images */

img {
    height:auto;
    max-width:100%;

}

#best img, #popular img { 
	border:none; 
	padding: none; 
}

#views_infinite_scroll-ajax-loader img { 
	width: auto; 
	float: none;
}

.icon-Slideshow::before {
    font-family: FontAwesome;
    content: "\f03e";
	padding-right: 4px;
}

.icon-Video::before {
    font-family: FontAwesome;
    content:  "\f008";
	padding-right: 4px;
}
.icon-Blog::before {
    content: "\f040";
    font-family: FontAwesome;
	padding-right: 4px;
}

.icon-Article::before {
    font-family: FontAwesome;
    content:  "\f15c";
	padding-right: 4px;
}

#featured .views-field-title a {
    display: block;
    font-family: oswald;
    font-size: 1.6em;
    font-weight: 500;
    margin-bottom: 10px;
	float: left;
	clear: both;
	width: 100%;
}

#featured .attachment .views-field-title a {
    font-size: 0.9em;
	margin-bottom:0;
}

.item-list ul li {
    font-size: 0.9em;
    margin: 0 0 0 0.5em;
    padding: 10px 5px;
	list-style:none;
    text-decoration: none;
}
.block-forum .item-list ul li, .block-blog .item-list ul li {
	border-bottom:1px dashed rgba(0, 0, 0, 0.1);
	font-family: oswald;
	font-size: 1em;
}

.block-forum .item-list ul li a, .block-blog .item-list ul li a{
	display: block;
}

.view-top-content .views-field-created {
    font-size: 0.8em;
    margin-bottom: 2px;
}

.views-field-term-node-tid a:hover {
	border-bottom: 2px dotted #cd3a56;
}

#sidebar-first ul.menu li a {
	font-size:0.9em;
}

#featured .attachment .views-row {
	border-bottom: 1px dashed #eaeaea;
	float:left;
	display: block;
	width: 100%;
	padding: 8px 0;
}

#featured .attachment .views-row-last {
	border-bottom: 0;
	margin-bottom: 20px;
}

.attachment .field-content > img {
	width: auto;
	margin: 0 5px 5px 0;
	float: left;
}

.attachment .field-content > a {
	font-size: 1em;
}

.view-new-posts .views-row-odd,
.view-new-posts .views-row-even {
	display: -moz-inline-box;
	display:inline-block;
	width: 48%;
	padding: 2%;
	min-height:120px;
	_height: 120px;
	vertical-align: top;
	zoom:1;
	*display:inline;
}

.view-new-posts .views-field-body {
	width: 48%;
}

.related-content .views-row-odd, .related-content .views-row-even {
	display: -moz-inline-box;
	display:inline-block;
	width: 98%;
	padding: 2%;
	min-height:120px;
	_height: 120px;
	vertical-align: top;
	zoom:1;
	*display:inline;
}

.related-content .views-field-body {
	width:98%;
}

.related-content img {
	width: 100%;
}

.related-content .views-field-name, .view-new-posts .views-field-name, #article-carousel .views-field-name {
    display: inline;
    font-size: 11px;
    margin-bottom: 5px;
}

.related-content .username, .view-new-posts .username, #article-carousel .username {
    border-right: 1px solid #eaeaea;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    margin-right: 2px;
    padding-right: 5px;
}

.related-content .views-field-changed, .related-content .views-field-created, .view-new-posts  .views-field-changed, .view-new-posts .views-field-created, #article-carousel .views-field-created, #article-carousel .views-field-changed {
    color: #aaa;
    display: inline;
    font-size: 11px;
    font-style: normal;
    margin: 0 0 10px;
}

.related-content {
	clear: both;
	width: 100%;
	overflow: hidden;
}

.related-content .views-field-title a, #article-carousel .views-field-title a {
	font-size: 1em;
	line-height: 160%;
}

/* Content Area */

.content-wrapper {
  background-color:#ffffff;
  float:left;
  padding: 2%;
  width: 100%;
}

.content-wrapper .inner-content-wrapper, #bottom, #popular, #four {
	margin-bottom: 20px;
}

#main-content-wrap, .main-content, #sidebar-wrap, .column1, .column2, .column3 {
	width:100%;
}

#main-content-wrap, .main-content, .column1 {
	margin-right: 0;
}

.column1 h2, .column2 h2, .column3 h2, #featured h2 {
    color: #222;
    font-family: oswald;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 15pt;
    margin-bottom: 20px;
    text-transform: uppercase;

}

/* Node Icons*/

.node-teaser  li.node-readmore a:before, .node-teaser links.inline li.node-readmore a:before {
    content: "\f02d";
    width: 30px;
    height: 30px;
    font-family: FontAwesome;
    margin-right: 4px;
}

.node-teaser li.comment-comments a:before, .node-teaser ul.links.inline li.comment-comments a:before {
	content: "\f086";
    width: 30px;
    height: 30px;
    font-family: FontAwesome;
    margin-right: 4px;
}

.l-main ul.vocabulary-list li.comment-add:before, .l-main ul.links.inline li.comment-add:before {
    content: "\f040";
    width: 30px;
    height: 30px;
    font-family: FontAwesome;
    margin-right: 8px;
    color: gray;
}

/*Node Tags*/

.internal .field-name-field-tags .field-item, .internal .field-name-field-tags .field-items .field-item  a {
	float:left;
	height:24px;
	line-height:24px;
	position:relative;
	font-size:10px;
}

.internal .field-name-field-tags .field-items .field-item a {
	margin-left:20px;
	padding:0 10px 0 12px;
	background:#e7e7e7;
	color:#505252;
	text-transform: uppercase;
	text-decoration:none;
	-moz-border-radius-bottomright:2px;
	-webkit-border-bottom-right-radius:2px;	
	border-bottom-right-radius:2px;
	-moz-border-radius-topright:2px;
	-webkit-border-top-right-radius:2px;	
	border-top-right-radius:2px;	
	 
}

.internal .field-name-field-tags a::before {
    border-color: transparent #e7e7e7 transparent transparent;
    border-style: solid;
    border-width: 12px 12px 12px 0;
    content: "";
    float: left;
    height: 0;
    left: -12px;
    position: absolute;
    top: 0;
    width: 12px;
}

.internal .field-name-field-tags a::after {
    background: #fff none repeat scroll 0 0;
    border-radius: 2px;
    box-shadow: -1px -1px 2px #555;
    content: "";
    float: left;
    height: 4px;
    left: 0;
    position: absolute;
    top: 10px;
    width: 4px;
}

.internal .field-name-field-tags a {
    background: #e3e3e3 none repeat scroll 0 0;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    color: #fff;
    margin-left: 20px;
    padding: 0 10px 0 12px;
    text-decoration: none;
}
.internal .field-name-field-tags .field-item, .internal .field-name-field-tags .field-item a {
    float: left;
    font-size: 11px;
    height: 24px;
    line-height: 24px;
    position: relative;
}

.internal .field-name-field-tags .field-items .field-item a:after {
	content:"";
	position:absolute;
	top:10px;
	left:0;
	float:left;
	width:4px;
	height:4px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
	background:#fff;
	-moz-box-shadow:-1px -1px 2px #555;
	-webkit-box-shadow:-1px -1px 2px #555;
	box-shadow:-1px -1px 2px #555;
}

.internal .field-name-field-tags .field-item a:hover{
	background: #555; color: white;
}	

.internal .field-name-field-tags a:hover:before {
	border-color:transparent #555 transparent transparent; color: white;
}

/* Best of the Week */

#best {
    background-color: #121212;
    clear: both;
    color: #fff;
    width: 100%;
	padding:2%;
}

#best h2 {
    color: white;
    font-family: italiana;
    font-size: 1.4em;
    font-style: italic;
    font-weight: normal;
    padding-bottom: 15px;
}

#best img {
    width:20%;
    height: 20%;
    float:left;
    margin-right: 10px;
    border-radius: 0;
}

#best .views-field-title a {
    color:#ffffff;
    font-weight:500;
    font-size: 1em;
    line-height: 17pt;
    text-transform:none;
}

#best .views-row, #popular .views-row {
    clear: none;
    float: left;
    margin-right: 2%;
    width: 100%;
	border-bottom: 1px dotted #aaa;
	padding-bottom: 2%;
	margin-bottom: 10px;
}

#best .views-row-last, #popular .views-row-last {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

/* Popular Articles */

#popular .views-row {
    margin-right: 4%;
}

.internal  #popular, .internal .related-content {
	border-top: 3px solid #eee;
	padding-top: 20px;
	margin-top: 20px;
	clear:both;
}

#popular p {
    font-size: 0.9em;
}

#popular img {
    float:left;
    margin-right:10px;
    height: 50px;
    width: 50px;
}

#popular  .views-field-view-node span a {
	color: red;
	font-size:0.8em;
}

/* Bottom Section */

#bottom {
	width: 100%;
}

#bottom h2, #article-carousel h2, #article-slideshow h2 {
	padding-top: 20px;
}

.owl-carousel .owl-item {
    padding: 10px;
}

#article-slideshow, #article-carousel {
    clear: both;
    float: left;
    width: 100%;
}

#bottom .views-row, #four .views-row  {
    display:block;
    float:left;
    width:100%; 
    margin-right: 0; 
	margin-bottom: 20px;
}

#bottom .views-row-last { 
	border-bottom: 0;
}

#bottom .views-row {
    border-bottom: 1px solid #f3f3f3;
}

/* Article Slideshow */

#article-slideshow .content {
    border-bottom: 4px solid #ccc;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    float: left;
    margin-bottom: 15px;
    padding: 2%;
    width: 100%;
	overflow: hidden;
}


#article-slideshow .views_slideshow_cycle_main {
	width: 100%;
	display:inline-block;
	float:left;
	position: relative;
}

#article-slideshow .views_slideshow_cycle_main .views-slideshow-cycle-main-frame img {
	width: 100%!important;    
	height: auto !important;
}

#article-slideshow .views_slideshow_cycle_main .views-slideshow-cycle-main-frame-row {
    height: auto !important;
    width: 100% !important;
}

#article-slideshow .views-slideshow-controls-bottom {
    clear: both;
    float: none;
    width: 100%;
}

#article-slideshow .views-slideshow-controls-bottom .views-content-field-image img {
    float: left;
	width: 15.5%;
	padding:0;
	margin-left: 1%;
	margin-bottom:1%;
}


/*Four Articles*/

#four .views-row {
	position: relative;
}

#four p {
    font-size:13px;
    line-height:16px;
    margin-top:4px;
}

.image-overlay {
    color: #fff;
    display: block;
    font-family: oswald;
    font-size: 0.75em;
    height: 80%;
    letter-spacing: 0.14em;
    line-height: 2em;
    overflow: hidden;
    padding: 15% 10%;
    position: absolute;
    text-align: center;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    top: 0;
    width: 100%;
}

.image-overlay a  {
	color: #fff;
}

.image-overlay-title  {
	margin-bottom: 10px;
}

.image-overlay-title a {
	font-size: 1.65em;
	font-family: oswald;
	color: #fff;
	letter-spacing: 0;
	text-transform: none;
}

.pager-load-more li.pager-next a::before {
    border-bottom: 5px solid #e7e7e7;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    content: "";
    display: block;
    left: 50%;
    margin-left: -5px;
    position: absolute;
    top: -5px;
}

.pager-load-more li.pager-next a:hover::before {
    border-bottom: 5px solid #444;
}

.pager-load-more li.pager-next a {
    background-color: #e7e7e7;
    color: #505252;
    cursor: pointer;
    display: inline-block;
    font-size: 11px;
    font-weight: 400;
    padding: 8px 16px;
    position: relative;
    text-align: center;
    width: 150px;
    text-transform:uppercase;	
}

.pager-load-more li.pager-next a:hover {
    background-color: #444;
	color: #ffffff;
}

/* Abovefooter */  

#abovefooter {
    background-color:#121212;
    color:#fff;
    width:100%;  
    padding: 2%;
    border-top: 4px solid rgba(255,255,255,0.1);
}

#abovefooter h2 {
    color: #ffffff;
    margin-bottom: 10px;
    padding-top: 10px;
}

#abovefooter .views-field-title a, #abovefooter .view-timeline a {
	color:#ebebeb;
	font-size:1em;
}

#abovefooter a:hover {
	color: #ffffff;
} 

#abovefooter .view-timeline a {
	font-family:oswald;
}

#abovefooter .timeline-date {
    color: #fff;
}

#abovefooter .view-timeline .item-list ul li {
    padding: 0;
}	

#abovefooter .abovefooter-columns {
    float: left;
    margin-bottom: 20px;
    margin-right: 0;
    width: 100%;
}

#abovefooter .views-row {
	margin-bottom: 0;
	background: none repeat scroll 0 0 rgba(0,0,0,0);
	border-top:1px dashed rgba(255,255,255,0.1);
	color:#aaa;
	padding:10px 5px 0;
	transition: background .7s ease 0;
}

#footer p {
    color: #ffffff;
    float: left;
    padding-top: 10px;
}

/* Sidebar First */

#sidebar-first {
	width: 100%;
}

#sidebar-first h2 {
    font-size:1em;
    border-top:3px solid #222;
    text-transform:uppercase;
    margin-top:0;
    margin-bottom: 0;
    padding: 4% 2%;
}

#sidebar-first .content {
    padding: 4%;
  
}

.node .meta .user-picture img {
    display: inline-block;
    height: 34px;
    margin: 0 5px 0 0;
    width: auto;
}

.view-top-content img {
	float:left;
	margin: 0 15px 0 0;
}

.internal .view-top-content .field-content img {
	float: right; 
	margin: 0 0 0 15px;
}

.view-top-content .views-row {
	margin-bottom: 15px;
	margin-left: 0.5em;
	border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
	clear: both;
}

.view-top-content .views-row-last, .column2 .views-row-last {
	border-bottom: 0;
}

.view-taxonomy-term .views-field-title {
    margin-bottom:5px;
}
.rate-info, .rate-description {
	padding-bottom: 10px;

}

#main-content-wrap #comments h2.title {
    font-size:19px;
    line-height:normal;
    font-weight:900;
    margin-top:15px;
    margin-bottom:0;
}

.views-row p {
	margin-bottom: 15px;
	font-size: 0.9em;
}

.poll .title, .poll .total {
	font-weight: 700;
}

#page-title {
    color: #222;
    font-size: 2em;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 10px;
}

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
    color:#222;
    font-family:oswald;
    font-weight:700;
    margin-bottom: 10px;
    line-height: 17pt;
}

li a.active, a {
    text-decoration:none;
    color:#222;
}

a:hover,.views-field-title a:hover,.views-field-term-node-tid a:hover, .node h3 a:hover, #best a:hover, #four .image-overlay a:hover {
    color:#cd3a56;
}

.views-field-title a,.comment h3, .node h3 a {
    color: #222;
	display:block;
    font-family: oswald;
    font-size: 1.25em;
    font-weight: 400;
    line-height: 150%;
    text-decoration: none;
    text-transform: capitalize;
	margin-bottom: 10px;
}

.frontpage .views-field-title, .internal .abovefooter-columns .views-field-title {
	margin-bottom: 10px; 
}

#sidebar-first .views-field-title a {
	font-size: 1em;
	display:block;
}

/* Blogs */

.frontpage .node-blog .user-picture img {
	height: 34px;
}

.internal .node-blog h3  {
	margin-bottom: 10px;
}

.internal .node-blog.node-teaser:first-child {
    margin-top: 0;
}

.internal .node-blog.node-teaser {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #eaeaea;
    border-image: none;
    border-style: solid;
    border-width: 5px 1px 1px;
    margin: 0 0 40px;
    padding: 20px;
}

.internal .node-article h3, .field-type-video-embed-field {
    margin-bottom: 10px;
}

.internal .node-article .comment h3 {
    margin-bottom: 0;
    font-size: 1.2em;
    padding: 10px 0 0;
}

.internal .node-article, .internal .node-slideshow-article {
	margin-bottom: 20px;
	padding-bottom:10px;
}

.views-field-term-node-tid {
    clear: both;
    color: #888;
    display: block;
    font-family: oswald;
    font-size: 0.8em;
    font-weight: 400;
    letter-spacing: 0.15em;
    padding: 0 0 10px;
    text-transform: uppercase;
}

.views-field-term-node-tid a {
    color:#aaa;
}
.block_tab-title {
    background-color:#fff;
    color:#ccc;
    cursor:pointer;
    margin-right:6px;
    padding:4px;
}

.block_tab-title.active {
    background:#fff;
    text-decoration:none;
    color:#222;
    cursor:default;
    font-size:20px;
}

.block_tab-title a {
    border-bottom:3px solid #FFF;
    color:#CCC;
    font-family:"Roboto",Helvetica,Tahoma,Arial;
    font-size:14px;
    font-weight:700;
    line-height:20px;
    margin-right:30px;
    padding:7px 0;
    text-transform:uppercase;
    transition:color .7s ease 0s,border .7s ease 0;
}

.block_tab-blocks {
    padding:20px 0;
}

.frontpage .node-teaser div.field-name-field-tags div.field-items div:after {
  content: ", ";
}

.frontpage .node-teaser div.field-name-field-tags div.field-items div:last-child:after {
  content: "";
}

.node img {
    float:left;
    margin-right:15px;
    margin-bottom:10px;
    border: none; 
	padding: 0;  
}

.frontpage .node img { 
	margin-top: 6px; 
}

.frontpage .node, .column2 .views-row, .column3 .views-row {
    margin-bottom: 20px;
    padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.block-poll .links {
	visibility:hidden;
}

.block-poll {
	margin-bottom: 20px;
}

.node p {
    margin:0 0 0.75em;
    font-size: 0.9em;
}

.internal .node p {
	font-size: 1em;
	line-height: 19pt;
}

.node-teaser .link-wrapper ul li {
  display:block;
  padding:0;
  float:left;
  margin-right:10px;
  color: #505252;
  background-color: #e7e7e7;
  padding: 0 5px;
  border-radius: 2px;
  margin-bottom: 5px;
}

.node-teaser li.node-readmore:hover::before, .node-teaser li.comment-comments:hover::before, .node-teaser .link-wrapper ul li:hover, .field-name-field-category .field-item a:hover {
	background-color: #444;
	color: #ffffff;
	transition-duration: 200ms;
}

.node-teaser .link-wrapper ul li a:hover, .node-teaser li.node-readmore a:hover::before, .node-teaser li.comment-comments a:hover::before { 
	color: white;
}

.node-teaser .link-wrapper ul li a, .field-name-field-category .field-item a {
    color: #505252;
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
}

.field-name-field-category .field-item a {
    background-color: #e7e7e7;
    border-radius: 2px;
    float: left;
    font-size: 10px;
    height: 24px;
    line-height: 24px;
    margin-left: 5px;
    padding: 0 10px;
}

.frontpage .node-teaser .link-wrapper .comment_forbidden.last {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    color: #222;
}

.frontpage .node-teaser .link-wrapper .comment_forbidden.last a {
    color: #222;
}

/* About Page */

.about-sub-nav {
    display: block;
    margin: 0 auto;
    text-align: center;
	margin-bottom: 30px;
}

.about-sub-nav .selected {
    border-color: #dbdcde;
}
.circle-link {
    border-right: 1px solid #dbdcde;
    display: inline-block;
    padding: 0 4%;
    text-align: center;
    vertical-align: top;
	font-size: 1em;
	width: 24%;
}

.circle-link.last {
    border-right: 0;
}

.icon-info::before {
    content: "\f128";
	font-family: FontAwesome;
}
.about-sub-nav .selected p, .about-sub-nav .selected .icon {
    color: #ff623d;
}
.circle-link .icon {
    color: #8598a5;
    margin: 0 auto;
}
.about-sub-nav .icon {
    font-size: 2.5em;
    margin-right: 20px;
}

.steel .icon, .steel h1, .steel h2, .steel h3 {
    color: #505e67;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: "aw-icons";
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    text-transform: none;
}

.icon-groups::before {
    content: "\f0c0";
	font-family: FontAwesome;
}

.icon-press::before {
    content: "\f1ea";	
	font-family: FontAwesome;
}

.icon-careers::before {
    content: "\f155";font-family: FontAwesome;
}

.coral .icon, .coral h1, .coral h2, .coral h3 {
    color: #ff623d;
	font-size: 2em;
	font-weight: 300;
	line-height: 24pt;
}

.circle-link p {
    color: #8598a5;
    font-size: 17px;
    line-height: 16px;
    padding-top: 25px;
}

.about-row {
	margin-bottom: 1em;
}

.about-row .about-grid .text-grid .core-number {
    background-color: transparent;
    border-radius: 100%;
    height: 29px;
    margin: 5px auto 7px;
    width: 29px;
}
.about-row .about-grid .text-grid h2 {
    font-size: 25px;
    line-height: 25px;
    text-align: center;
}

.coral .border-color {
    border: 1px solid #ff623d;
}

.about-row .about-grid {
    border-radius: 2px;
    box-sizing: border-box;
    display: inline-block;
    margin: 2.5px auto;
    padding-right: 5px;
    vertical-align: top;
	width: 100%;
}

.about-row h2 {
	margin-bottom: 20px;
}
.about-row .about-grid.two-third {
    max-height: 415px;
    overflow: hidden;
    width: 100%;
}

.about-row .about-grid.third {
    max-height: 415px;
    overflow: hidden;
    width: 100%;
}

.about-row .about-grid.full-width {
    width: 100%;
}

.purple .border-color {
    border: 1px solid #583e9e;
}
.purple .icon, .purple h1, .purple h2, .purple h3 {
    color: #583e9e;
}
	
.sage .border-color {
    border: 1px solid #00b478;
}
.sage .icon, .sage h1, .sage h2, .sage h3 {
    color: #00b478;
}

.lime .border-color {
    border: 1px solid #d1ca05;
}
.lime .icon, .lime h1, .lime h2, .lime h3 {
    color: #d1ca05;
}

/* Authors Page */

.view-author.view-display-id-page_1 .view-header > p {
    background: #2b2b2b none repeat scroll 0 0;
    color: #fff;
    font-size: 1em;
    margin-bottom: 20px;
    padding: 2%;
}

.internal .view-author.view-display-id-page_1 {
	padding-bottom: 35px;
	float:left;
}

.view-author.view-display-id-page_1 .views-row {
    display: block;
    float: left;
    margin-bottom: 2%;
    margin-right: 2%;
    position: relative;
	width: 32%;
}

.view-author.view-display-id-page_1 .views-row-3, .view-author.view-display-id-page_1 .views-row-6, .view-author.view-display-id-page_1 .views-row-9  {
    margin-right: 0;
}

.view-author .view-display-id-page_1 img {
	width: 100%;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
}

.view-author.view-display-id-page_1 .views-field-name {
    background: rgba(255, 255, 255, 0.9) none repeat scroll 0 0;
    bottom: 15px;
    clear: both;
    color: #333;
    font-size: 1em;
    font-weight: bold;
    padding: 10px;
    position: absolute;
    width: 100%;
	text-align: center;
}

/* Login Block */

#sidebar-first #block-user-login  h2 {
	border-top: none;
}

#block-user-login {
    background-color: #eee;
    border: 1px solid #ccc;
    box-shadow: 2px 4px 3px rgba(18, 18, 18, 0.2);
	padding: 4%;
}

.columns #block-user-login {
	margin-bottom: 20px;
}

#user-login-form .item-list ul li.first a:before {
    content: "\f06c";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
	float:left;
    padding-right: 0.5em;
    top: 10px;
    left: 0;
}

#user-login-form .item-list ul li.last a:before {
    content: "\f023";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
	float:left;
    padding-right: 0.5em;
    top: 10px;
    left: 0;
}

#user-login-form .form-item label {
    font-weight:bold;
	font-size:0.75em;
}

#user-login-form .form-actions {
    margin: 0;
}

#user-login-form .item-list ul li {
    font-size: 0.9em;
    line-height: 17pt;
    list-style: outside none none;
    margin: 0 0 0 0.5em;
    padding: 0;
    text-decoration: none;
}

ul.inline li {
    display: inline; 
    list-style-type: none;
    padding: 0 0.5em;
}

.link-wrapper {
  display:block;
  clear: both;
  float:left;
  font-size:0.9em;
  font-weight:700;
  width: 100%;
}

.link-wrapper ul {
	margin-left: 0;
	margin-bottom: 0.5em;
}

.link-wrapper ul, .link-wrapper ul li {
	float: left;
	margin-right: 0.5em;
}

.frontpage .meta {
    color:#aaa;
    xmargin: 5px 0 10px;
    padding:0;
    border:none;
    line-height: 160%;
}

.floatright {
	float:right;
}

.meta,.comment .submitted {
    color:#aaa;
    font-size:0.75em;
    font-family:Oswald;
    padding:10px 0;
    overflow:hidden;
    font-weight: 400;
    letter-spacing: 0.14em;
    margin:0 0 15px;
    text-transform: uppercase;
}
 
.meta {
    border-bottom:1px dashed #ddd;
    border-top:1px dashed #ddd;
}

.meta .username {
	color: #aaa;
} 

.meta span {
	padding-right: 4px;
}

.meta i {
	line-height: normal;
	padding-right: 4px;
}

/* Profile */

.profile {
    margin-top: 0;
}

#user-login, #user-register-form, #user-pass, .profile {
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
    margin: 20px auto;
    padding: 20px 20px 10px;
    width: 500px;
}

.profile .user-picture {
    float: none;
}

.profile h3 {
    border-bottom: 1px solid #ccc;
    font-family: 'Open Sans', sans-serif;
    margin: 0 0 0.5em;
    padding: 1em 0 0.5em;
}

/* Comments */

#comments {
    float:left;
    width: 100%;
    clear:both;
}

.comment span.new {
    background-color: #e4685d;
    border-radius: 28px 0;
    box-shadow: 0 39px 0 -24px #e67a73 inset;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-family: Arial;
    font-size: 15px;
    padding: 2px 14px;
    text-decoration: none;
    text-shadow: 0 1px 0 #b23e35;
}

.comment .new:hover {
	background-color:#eb675e;
}

.comment {
	margin-bottom: 20px;
}

.comment h3 {
    font-size:17px;
    padding:20px 0 0;
}

#comments .username {
    text-transform: uppercase;
	color: inherit;
}

.permalink {
	text-decoration: underline;
	margin-right: 8px;
}

.comment .user-picture img {
    background: white none repeat scroll 0 0;
    border: 1px solid #ccc;
    float: right;
    height: auto;
    padding: 4px;
}

.comment .submitted {
    margin-bottom:5px;
}

.comment .content {
    border:1px solid #ddd;
    padding:20px;
    margin-bottom:7px;
}

/* Pager */

.item-list .pager ul {
    padding:0;
    color:#333;
}

.frontpage .item-list .pager li {
	margin-top: 0;
}

.item-list .pager li {
    display: inline-block;
    padding: 0px 9px;
    margin: 20px 4px 6px 0;
    border-radius: 3px;
    border: solid 1px #eee;
    font-size: .875em;
    font-weight: bold;
    text-decoration: none;
    color: #717171;
	font-weight: 400;
	font-size:0.8em;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FEFEFE), to(#f0f0f0));
    background: -moz-linear-gradient(0% 0% 270deg,#FEFEFE, #f0f0f0);
}

.item-list .pager  li.pager-current {
    border: none;
    background: #616161;
    box-shadow: inset 0px 0px 8px rgba(0,0,0, .5), 0px 1px 0px rgba(255,255,255, .8);
    color: #f0f0f0;
    text-shadow: 0px 0px 3px rgba(0,0,0, .5);
}

.views-field .views-field-term-node-tid {
    color:#888;
}

.block-aggregator ul li {
    border-bottom:1px dashed rgba(0,0,0,0.1);
    background:none repeat scroll 0 0 rgba(0,0,0,0);
    color:#AAA;
    padding:9px 0;
    transition:background .7s ease 0;
}

.view-my-terms img {
    width:100%;
    max-width:220px;
    float:left;
    margin:0 10px 0 0;
}

.term-listing-heading {
	margin-bottom: 20px;
}

.breadcrumb {
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 10px;
}

.three-columns {
	overflow:hidden;
	margin-bottom: 20px;
}

.three-columns .columns {
    float: left;
    margin-bottom: -1000px;
    padding-bottom: 1000px;
}

.form-text {
    padding:2px 5px;
}

.container-inline label {
    display:none;
}

fieldset.collapsible {
    margin:20px 0;
}

.internal .node .content .field-name-body {
    margin-bottom: 25px;
}

.field-name-field-tags,.field-type-taxonomy-term-reference {
    box-sizing:border-box;
    margin-right: 20px;
    float:left;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.field-name-field-tags .field-label,.field-type-taxonomy-term-reference .field-label {
    background:none;
    color:#222;
    z-index:10001;
    display:inline-block;
    float: left;
}

.field-name-field-tags .field-items,.field-type-taxonomy-term-reference .field-items {
    display:inline-block;
    float: left;
}

.field-name-field-tags .field-item,.field-type-taxonomy-term-reference .field-item {
    margin-right:4px;
    display:inline-block;
    text-transform:capitalize;
}

/*Tweets*/

.view-tweets .views-row {
	float:left;
	margin-bottom: 10px;
	width: 100%;
}

.view-tweets .views-field-text {
	font-size: 0.8em;
	font-weight:700;

}
.views-field.views-field-created-time {
    color: #aaa;
    font-size: 0.8em;
}

.views-field.views-field-profile-image-url img {
    border-radius: 4px;
    clear: left;
    float: left;
    margin: 0 5px 0 0;
}

#bottom h2,#popular h2,#four h2,#abovefooter h2, .related-content h2, #article-carousel h2, #article-slideshow h2 {
    font-family: oswald;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.player {
    overflow:hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.player iframe {
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

li.expanded,li.collapsed,li.leaf {
    margin:0;
    padding:.2em .5em .2em 0;
}

.view-frontpage img,.view-taxonomy-term img {
    float:left;
    margin:0 10px 0 0;
}

.view-about .views-field-title {
    font-size:16px;
    font-weight:700;
    color:#222;
    margin-bottom:5px;
}

.view-about .views-field-title a {
    font-weight:700;
}

.view-about .views-row img {
    float:none;
    max-width:250px;
    width:100%;
    margin:0;
}

.view-about .views-row {
    overflow:hidden;
    width:100%;
    max-width:250px;
    float:left;
    clear:none;
    margin-right:30px;
    padding-right:0;
    min-height:360px;
}

.view-about .views-row-3,.view-about .views-row-6,.view-about .views-row-9,.view-about .views-row-12 {
    margin-right:0;
}

.view-about .views-label-field-email {
    margin-right:3px;
    background:none;
    color:#222;
}

.node-teaser li:hover{
    background-color:#444;
}

.node-title {
	overflow:hidden;
}

.tagclouds-term {
    line-height:28px;
}

.item-list .pager-load-more {
	text-align: center;
	clear: both;
	padding-top: 8px;
}

.item-list .pager-load-more li {
	background:none;
	padding: 0;
	margin:0;
}

.meta.submitted > li {
	display: inline;
}

ul.primary li {
    display: inline;
    font-size: 0.9em;
}

ul.primary li a {
    background-color: #ddd;
    border-color: #bbb;
    border-style: solid solid none;
    border-width: 1px;
    height: auto;
    margin-right: 0.5em;
    padding: 0 2%;
    text-decoration: none;
}

/* Main Navigation */

#main-menu > ul,
#main-menu > ul * { margin: 0; padding: 0; list-style: none; }
#main-menu > ul li { position: relative }
#main-menu > ul ul { position: absolute; display: none; top: 100%; left: 0; z-index: 10001; }
#main-menu > ul > li { float: left }
#main-menu > ul li:hover > ul,
#main-menu > ul li.sfHover > ul { display: block }
#main-menu > ul a { display: block; position: relative; }
#main-menu > ul ul ul { top: 0; left: 100%; }
#main-menu > ul { float: left }
#main-menu > ul ul { min-width: 160px; *width: 160px; }
#main-menu > ul a { zoom: 1 }
#main-menu > ul li { position: relative; white-space: nowrap; *white-space: normal; -webkit-transition: background .2s; transition: background .2s; }
#main-menu > ul li:hover,
#main-menu > ul li.sfHover { -webkit-transition: none; transition: none; }
#main-menu > ul .sf-mega { position: absolute; display: none; top: 100%; left: 0; z-index: 99; }
#main-menu > ul li:hover > .sf-mega,
#main-menu > ul li.sfHover > .sf-mega { display: block }

/* Styling */

#site-navigation-wrap {
    background-color: white;
    display: block;
    float: left;
    padding: 0 2%;
    width: 100%;
}

#site-navigation {
    border-bottom: 1px solid #eee;
    float: left;
    width: 100%;
	padding: 10px 5px;
}

#site-navigation #main-menu > ul li { display: block; float: left; height: 40px; line-height: 40px;}
#site-navigation #main-menu > ul > li { xmargin-left: 25px; margin-right: 25px; }
#site-navigation #main-menu > ul > li:first-child { margin-left:0; }
#site-navigation #main-menu > ul a {
    color: #222;
    cursor: pointer;
    font-family: oswald;
    font-size: 1em;
    font-weight: 500;
    text-align: left;
    text-decoration: none;

}

#site-navigation #main-menu > ul > li > a:hover,
#site-navigation #main-menu > ul > li.sfHover > a,
#site-navigation #main-menu > ul > li > a.active,
#site-navigation #main-menu > ul > li > a.active:hover { color: #000; }

/* Drop-down styles */

#site-navigation #main-menu > ul ul { background: #222; font-size: 1em; opacity: 0.9; }
#site-navigation #main-menu > ul ul li a { display: block; height: auto; font-size: 0.8em; line-height: 1.7em; padding: 10px; margin: 0px; border: 0px; text-transform: none;color: #ebebeb; }
#site-navigation #main-menu > ul ul li a.sf-with-ul { padding-right: 23px; }
#site-navigation #main-menu > ul ul li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); line-height: 1.4em; height: auto; float: none; display: block; }
#site-navigation #main-menu > ul ul li > a:hover { color: #fff }
#site-navigation #main-menu > ul ul li:last-child { border: none; }

/* Arrows */
#site-navigation #main-menu > ul > li .fa-angle-down { margin-left: 5px }
#site-navigation #main-menu > ul > li ul li .fa-angle-right { position: absolute; top: 50%; right: 15px; height: 20px; line-height: 20px; margin-top: -10px; }

/* Hide responsive elements*/

#navigation-toggle, .sidr, #sidr-close { display: none }

/* Blockquote */

blockquote {
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
    color: #ccc;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}

blockquote p {
    display: inline;
}

/* Scrollbar */

.scroll {
    height: 380px;
    overflow: hidden;   
}

.scroll:hover {
   -webkit-transition: all 2s ease-out;
   -moz-transition: all 2s ease-out;
   -ms-transition: all 2s ease-out;
   -o-transition: all 2s ease-out;
   transition: all 2s ease-out;
   -webkit-transition-delay: 2s; /* Safari */
}

.scroll a img, .attachment .field-content > img {
    background: #fff none repeat scroll 0 0;
    float: left;
    margin: 0 10px 10px 0;
	height: 55px;
	width: 55px;
}

.scroll a img {
    border: 1px solid #d8dfea;
    padding: 3px;
}

.scroll .views-row {
    background-color: #fff;
    border-bottom: 1px solid #d8dfea;
    display: block;
	float:left;
	padding-top: 10px;
	padding-left:10px;
    line-height: 20px;
	clear:both;
	width: 100%;
}

.scroll .views-row:hover {
    background: #eceff5 none repeat scroll 0 0;
    border-bottom-color: #eceff5;
}

.scroll .views-row-last {
    border-bottom: none;
}

/* Author Block */

#block-views-author-block .content {
    box-sizing: border-box;
    margin-bottom: 10px;
}

#block-views-author-block .views-field-name{
	font-size: 20px;
	text-transform:capitalize;
	margin-bottom: 10px;
	color: #222;
	font-family: Oswald;
}

#block-views-author-block img {
    display: block;
    height: auto;
    margin: 0 auto 10px;
    max-width: 180px;
}

/* Mobile Menu */

	a#navigation-toggle { height: 40px; line-height: 40px; margin: 0; float: left; cursor: pointer; color: #222; padding-left: 5px; font-weight: 600; position: relative; z-index: 9; text-decoration: none !important; font-size: 1.1em;}
	a#navigation-toggle .fa { margin-right: 10px; }
	#navigation-toggle { color: #8b8b8b; }
	#navigation-toggle:hover { color: #000; }
	#sidr-main { font-family: 'Helvetica Neue', Helvetica, Arial; position: absolute; position: fixed; top: 0; height: 100%; z-index: 999999; width: 320px; overflow-x: none; overflow-y: auto;font-size: 13px; background: #222; color: #fff; }
	#sidr-main { padding: 70px 30px 30px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }
	.sidr.right { left: auto; right: -320px; }
	.sidr.left { left: -320px; right: auto; }
	#sidr-main a { color: #707070; }
	#sidr-main a:hover { color: #fff; }
	#sidr-main ul a { display: block; border-bottom: 1px solid #333; padding: 7px 0; font-weight: 700; text-align:left; }
	#sidr-main ul li ul { margin-left: 0; margin: 0; }
	#sidr-main ul li ul li a { padding-left: 10px; }
	#sidr-main ul li ul li li a { padding-left: 20px; }
	#sidr-main ul li ul li li li a { padding-left: 30px; }
	#sidr-main ul li ul li a:before { content: '\f0da'; display: inline-block; -webkit-font-smoothing: antialiased; font-family: 'FontAwesome'; color: #888; margin-right: 10px; }
	.sidr-class-toggle-sidr-close:before { position: absolute; top:30px; left: 30px; content: '\f00d'; font-family: 'FontAwesome'; color: #fff; margin: 0; }
	
/* Videos */

.field-type-video-embed-field {
    text-align: center;
}

/* Search box -alternative */

#site-navigation  .search-box {
	position: absolute;
	right: 2%;
}

#site-navigation .search-box .form-submit{
	display: none;
}

#site-navigation .search-box .form-text{
	background: url(../images/search-button.png) no-repeat;
	border: 0;
	padding: 8px 0;
	color: #333;
	width: 36px;
	cursor: pointer;
}

#site-navigation .search-box .form-text:focus {
	outline: none;
	background: rgba(245,245,245,1) url(../images/search-button.png) no-repeat;
	padding: 8px 4px 8px 34px;
	cursor: auto;
	width: auto;
}

/* Social Sidebar */

#social-sidebar {
    background-color: black;
    clear: both;
    display: block;
    float: left;
    padding: 2%;
    width: 100%;
}

#social-sidebar > ul {
    list-style: outside none none;
	margin: 0;
}

#social-sidebar a {
	color: #fff;
    float: left;
	width: 14.5%;
	margin-right: 2%;
	height: 35px;
    line-height: 35px;
	border-radius: 5px;
	text-align: center;
	overflow:hidden;
    background: rgba(0, 0, 0, 0) none repeat scroll 0 center;
    border: 1px solid #aaa;    
	transition-duration: 500ms;
    transition-property: opacity;
	opacity: 0.45;
}

#social-sidebar a span { 
	display:none;
}

#social-sidebar a:hover {
	opacity: 1;
}

/* Misc */

#tasks {
    margin-bottom: 1em;
}

/* Back to Top Button */

.back-to-top {
	display: block;
	float:right;
}

.back-to-top i {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 center;
    border: 1px solid #aaa;
    border-radius: 4px;
    color: #aaa;
    font-size: 1em;
    opacity: 0.65;
    padding: 12px 16px;
    transition-duration: 500ms;
    transition-property: opacity;
}

.back-to-top i:hover {
	opacity:1;
	top:-10px;
}

.back-to-top a {
    position: relative;
    text-decoration: none;
    width:100px;
}

.back-to-top a strong {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.75em;
    font-weight: normal;
    left: -45px;
    margin-top: -35px;
    opacity: 0;
    padding: 5px;
    position: absolute;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75);
    top: -1px;
    transition-duration: 300ms;
    transition-property: opacity, top;
    width: 75px;
    z-index: 9999;
}

/* Image hover effect */

#header img:hover {
	box-shadow: none;
}

img {		
   -webkit-transition:all .3s ease-out;
   -moz-transition:all .3s ease-out;
   -ms-transition:all .3s ease-out;
   -o-transition:all .3s ease-out;
   transition:all .3s ease-out;
   opacity: 1;
}

img:before, img:after {
    bottom:15px;
    left:10px;
    width:50%;
    height:20%;
    max-width:300px;
    max-height:100px;
	-webkit-box-shadow:0 18px 8px rgba(0, 0, 0, 0.7);
	-moz-box-shadow:0 18px 8px rgba(0, 0, 0, 0.7);
	box-shadow:0 18px 8px rgba(0, 0, 0, 0.7);

}

img:after {
	right:10px;
	left:auto;
}

img:hover {
    box-shadow: 0px 20px 8px -18px rgba(0, 0, 0, 0.6);
	opacity: 0.95;
    transition: opacity 0.1s linear 0s;
	cursor:pointer;
}

#featured img:hover, .user-picture img:hover, .internal .node-full img:hover, .frontpage .views-slideshow-cycle-main-frame img:hover {
	box-shadow: none;
}

/* 404 Page */

body.body-404 {
    background: #222;
    height: 100%;
    width: 100%;
}

body.body-404 * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
     box-sizing: border-box;
}

#container-404 {
    background-color: #eee;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 1em;
    position: relative;
}

#container-404-inner {
    background: rgba(238, 238, 238, 1) url("../images/error-image.jpg") no-repeat scroll left top;  
    padding-left: 0;  
    margin: 0 auto;
    max-width: 894px;
    min-height: 368px;
}

#container-404 h1 {  
    font-size: 5em;
    line-height: 1;
    color: #2a2a2a;
    margin: 0 0 15px;
}

#container-404 h2 {
  font-size: 2em;
  color: #2a2a2a;
  margin: 0 0 15px;
  line-height: 1;
  text-transform: uppercase;
}

#page-404-content p {
    color: #999;
    font-size: 145%;
    margin: 0; 
    line-height: normal;
}

#page-404-content {
    border-left: 0;
    margin-top: 10%;
	padding: 10%;
    text-align: center;
	min-height: 368px;
}

#page-404-content a {
    color: #1ea1fc;
	text-decoration:underline; }

#page-404-content a:hover, #page-404-content a:focus {
    text-decoration: underline;
}

#article-slideshow .content {
    border-bottom: 4px solid #ccc;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    float: left;
    margin-bottom: 15px;
    padding: 2%;
    width: 100%;
}

/* Image Slide Block tooltips */

#article-carousel img {
    float: left;
    width: 100%;
}

#block-views-news-in-pictures-block img {
	float:left;
	width: 100%;
}

.tooltip {
    position: relative;
    float:left;
    margin-bottom:0.5%;
    margin-right: 0.5%;
    width: 33%;
}

.tooltip a {
    font-size: 0.75em;
    color: #222;
    font-weight: bold;
}
  
#block-views-news-in-pictures-block .views-row-3 .tooltip, #block-views-news-in-pictures-block .views-row-6 .tooltip, #block-views-news-in-pictures-block .views-row-9 .tooltip {
	margin-right: 0;
}

.tooltip span {
    visibility: hidden;
    position: absolute; 
    bottom: 112%;
    left: 50%;
    z-index: 999;
    width: 145px;
    margin-left: -68px;
    padding: 5px;
    border: 1px solid #ccc;
    opacity: .9;
    color:#333;
    line-height:13pt;
    background-color: #eee;                     
    background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));  
    border-radius: 4px;  
    box-shadow: 0 1px 1px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;  
    text-shadow: 0 1px 0 rgba(255,255,255,.4); 
}

.tooltip:hover {
    border: 0; /* IE6 fix */
}

.tooltip:hover span {
    visibility: visible;
}

.tooltip span:before, .tooltip span:after {
    content: "";
    position: absolute;
    z-index: 1000;
    bottom: -7px;
    left: 50%;
    margin-left: -8px;  
    border-top: 8px solid #eee;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;        
    border-bottom: 0;  
}

.tooltip span:before {
    border-top-color: #ccc;
    bottom: -8px;
}

.addtoany_list {
    background: #f8f8f8 none repeat scroll 0 0;
    clear: both;
    display: inherit;
    float: left;
    line-height: 16px;
    margin-top: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
    width: 100%;
}

/* Form Elements */

fieldset { background: #ffffff; border: 1px solid #cccccc; margin-top: 10px; margin-bottom: 32px;
padding: 0 0 10px; position: relative; top: 12px; /* Offsets the negative margin of legends */
-khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.fieldset-wrapper { margin-top: 25px; }

.node-form .vertical-tabs .fieldset-wrapper { margin-top: 0; }

.filter-wrapper { top: 0; padding: 1em 0 0.2em;
-khtml-border-radius-topright: 0; -khtml-border-radius-topleft: 0; -moz-border-radius-topright: 0; -moz-border-radius-topleft: 0;
-webkit-border-top-left-radius: 0; -webkit-border-top-right-radius: 0; border-top-left-radius: 0; border-top-right-radius: 0; }

.filter-help a { font-size: 0.857em; padding: 2px 20px 0; }

.filter-wrapper .form-item label { margin-right: 10px; }

.filter-wrapper .form-item { padding: 0 0 0.5em 0.5em; }

.filter-guidelines { padding: 0 1.5em 0 0.5em; }

fieldset.collapsed { background: transparent; -khtml-border-radius: 0; -moz-border-radius: 0;  -webkit-border-radius: 0; border-radius: 0; }

fieldset legend { background: #eee; border: 1px solid #ccc; border-bottom: none; display: block; height: 2em;
left: -1px; line-height: 2; padding: 0; position: absolute; text-indent: 10px; text-shadow: 0 1px 0 #fff; top: -12px; width: 100%;
-khtml-border-radius-topleft: 4px; -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; 
-khtml-border-radius-topright: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }

fieldset.collapsed legend { -khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

fieldset .fieldset-wrapper { padding: 0 10px; }

fieldset .fieldset-description { margin-top: 5px; margin-bottom: 1em; line-height: 1.4; font-style: italic; }

input { margin: 2px 0; padding: 4px; }

input, textarea {  font-size: 0.929em; }

textarea { line-height: 1.5; }

textarea.form-textarea, select.form-select { padding: 4px; }

input.form-text, textarea.form-textarea, select.form-select { border: 1px solid #ccc; width: 100%; }

.password-suggestions ul li { margin-left: 1.2em; }

.views-filterable-options .form-type-checkbox { text-align: left; }

.form-item { clear: both; }

.internal .node .form-item { xfloat: left; }

.form-item label { font-size: 0.929em; }

.form-type-radio label, .form-type-checkbox label { margin-left: 4px; }

.form-type-radio .description, .form-type-checkbox .description { margin-left: 2px; }

.form-actions { padding-top: 10px; }


/* Lists and Table */

ul, ol {
    margin: 0 0 1em 1.5em;
}

ul {
    list-style: disc;
}

ol {
    list-style-type: decimal;
}

ol ol {
    list-style: upper-alpha;
}

ol ol ol {
    list-style: lower-roman;
}

ol ol ol ol {
    list-style: lower-alpha;
}

ul ul, ol ol, ul ol, ol ul {
    margin-bottom: 0;
}

#overlay {
    display: table;
    margin: 0 auto;
    min-height: 100px;
    min-width: 700px;
    padding: 0.2em 26px 2em 0.2em;
    position: relative;
    width: 88%;
	text-align:left;
}

#overlay-content {
    background: #fff none repeat scroll 0 0;
    clear: both;
    color: #000;
    padding: 1em 2em;
    position: relative;
}

#overlay-title {
    color: #fff;
    float: left;
    font-size: 20px;
    margin: 0;
    padding: 1em 0 0.6em;
}

td {
  padding:0.75em 1em;
}

th {
    background: #333 none repeat scroll 0 0;
    border-bottom: 0 none;
    color: #fff;
    padding: 0.75em 1em;
}

strong, dfn, caption, th {
    font-weight: bold;
}

/* Admin Page */

.vertical-tabs {
	clear: both;
}
div.admin {
    margin: 0 auto;
    padding: 40px 60px;
    width: 100%;
	text-align: left;
}

.admin-list a {
    color: red;
}

/* --- Featured Slideshow --- */

.field-slideshow-slide, .field-slideshow-slide a, .field-slideshow-slide img {
    xheight: auto !important;
    max-width: unset;
    xwidth: auto !important;
}

.frontpage .field-slideshow-wrapper { background: #fff; }

.field-slideshow-wrapper {
  background: #000;
  margin: 0 0 10px;
  position: relative;
}

.field-slideshow-wrapper .prev:before,
.field-slideshow-wrapper .next:before {
  background-image: url("../images/slideshow-navi.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  content: "";
  display: block;
  height: 20px;
  left: 10px;
  position: absolute;
  top: 50%;
  margin-top: -10px;
  width: 20px;
}

.field-slideshow-wrapper .next:before {
  background-position: right 0;
}

.field-slideshow-wrapper .prev:hover:before {
  background-position: 0 -20px;
}

.field-slideshow-wrapper .next:hover:before {
  background-position: right -20px;
}

.field-slideshow-wrapper .prev,
.field-slideshow-wrapper .next {
  background: #000;
  display: block !important;
  font-size: 0;
  left: 0;
  top: 0;
  bottom: 40px;
  position: absolute;
  width: 40px;
  z-index: 10;  
}

.field-slideshow-wrapper .next {
  left: auto;
  right: 0;
}

.field-slideshow-wrapper .next:hover, 
.field-slideshow-wrapper .prev:hover {
  background-color: #1ea1fc;
}

.field-slideshow-slide,
.field-slideshow {
  margin: 0 auto;
  padding-right: 0 !important;
}

#block-views-most-watched-video-block .views-field-nothing { font-style: italic; }

#block-views-most-watched-video-block .views-field-nothing a {
	font-weight: 700;
}

#block-views-most-watched-video-block p a {
	color:red;
}

#sidebar-first {
	overflow:hidden;
}

#sidebar-first .block {
	float: left;
	width: 100%;
	margin-bottom:25px;
}

#block-views-recent-comments-block img {
	float:left;
	width: 55px;
	height: 55px;
	margin-right: 10px;margin-bottom: 10px;
}

#block-views-recent-comments-block p {
	font-size:0.9em;
	line-height: 14pt;
	margin-bottom: 10px;
}

#block-views-recent-comments-block .views-row {
	clear:both;
	border-bottom: 1px dashed #eee;
	padding-top:10px;
	float:left;
	width: 100%;
}

.node ul.inline li.blog_usernames_blog a::before {
    content:  "\f0f4";
	font-family: FontAwesome;
	margin-right: 5px;
}

/* Poll */

.poll .title,.poll .total {
    margin-bottom:10px;
}

.poll .vote-form {
    float:left;
}

.poll .bar {
    background-color: #fff;
    border: 1px solid #e3e3e3;
    height: 1.1em;
    margin: 3px 0;
}

.poll .bar .foreground {
	background-color:#484848;
}


/*Footer*/

#footer {
  background-color: #121212;
  padding: 1.5% 2%;
  font-size:0.9em;
  width:100%;
  clear: both;
}

#footer span {
  color:#aaa;
  float:left;
  padding-top: 10px;
}

#footer span a {
font-weight: bold;
color: #aaa;
}

/* Form Buttons */

button, #edit-cancel,
input[type="submit"],
input[type="reset"],
input[type="button"] {
background: rgba(0, 0, 0, 0) -moz-linear-gradient(0% 0 270deg, #fefefe, #f0f0f0) repeat scroll 0 0; border: 1px solid #ccc;
-moz-border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px; -ms-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
-moz-box-shadow: inset 0 1px 0 0 white; -webkit-box-shadow: inset 0 1px 0 0 white; -o-box-shadow: inset 0 1px 0 0 white; box-shadow: inset 0 1px 0 0 white; color: #333333; text-shadow: 0 1px 0 white; position: relative; font-weight:bold; padding: 4px .8em 5px .8em; font-size: 13px;margin-right: 5px; }

button:hover, #edit-cancel:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover { background: #616161 none repeat scroll 0 0; border: 1px solid #444; border-radius: 5px; box-shadow: 0 1px 0 0 #aaa inset; color: #f0f0f0; cursor: pointer; text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
-moz-border-radius: 5px; -webkit-border-radius: 5px; -o-border-radius: 5px; -ms-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
-moz-box-shadow: inset 0 1px 0 0 #aaa;
-webkit-box-shadow: inset 0 1px 0 0 #aaa;
-o-box-shadow: inset 0 1px 0 0 #aaa; }

button.full-width,
input[type="submit"].full-width,
input[type="reset"].full-width,
input[type="button"].full-width { 
width: 100%; padding-left: 0 !important; padding-right: 0 !important; text-align: center; }

/* Smaller Than Desktop */

@media only screen and (max-width: 550px) {
	a#navigation-toggle { display: block; }
	#site-navigation #main-menu > ul{ display: none; }
}

/* Mobile (Landscape) */

@media only screen and (min-width: 320px) and (max-width: 550px) {
	.sidr { width: 320px; }
	.sidr.right { right: -320px; }
}
