/*
Theme Name: 	Cats
Theme URI: 		http://ratsteater.com
Description: 	Customized WordPress theme for Cats Arts.
Version: 		4.0
Author: 		Joao Neves
Author URI: 	http://heyjay.se
Tags: 			cats, arts, white, webfonts
*/

/* -----------------------------------------------------------------------


 /$$   /$$ /$$$$$$$$ /$$     /$$          /$$$$$  /$$$$$$  /$$     /$$
| $$  | $$| $$_____/|  $$   /$$/         |__  $$ /$$__  $$|  $$   /$$/
| $$  | $$| $$       \  $$ /$$/             | $$| $$  \ $$ \  $$ /$$/ 
| $$$$$$$$| $$$$$     \  $$$$/              | $$| $$$$$$$$  \  $$$$/  
| $$__  $$| $$__/      \  $$/          /$$  | $$| $$__  $$   \  $$/   
| $$  | $$| $$          | $$          | $$  | $$| $$  | $$    | $$    
| $$  | $$| $$$$$$$$    | $$          |  $$$$$$/| $$  | $$    | $$    
|__/  |__/|________/    |__/           \______/ |__/  |__/    |__/    


HEY JAY
Design & Development

--------------------------------------------------------------------------
 
Filename:    main.css
Description: global CSS (master)
Version:     1.14.03.10
Website:     www.heyjay.se
Author:      Joao Neves, HEY JAY


-- STRUCTURE -------------------------------------------------------------
 
1. Normalize
2. Base Styles
3. Typography
4. Primary Styles
5. Helper Classes
6. Media Queries
7. Print Styles


------------------------------------------------------------------------*/



/* NORMALIZE
------------------------------------ */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary { display: block; }

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    }

audio:not([controls]) { display: none; height: 0; }
[hidden] { display: none; }

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    }

html,
button,
input,
select,
textarea { font-family: sans-serif; }

body { margin: 0; }

a { color: #333; text-decoration: underline; }
a:focus { outline: thin dotted; }
a:active,
a:hover { color: #eda925; }



/* BASE STYLES
------------------------------------ */

html,
button,
input,
select,
textarea { color: #222; }

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px dotted #333;
    margin: 1em 0;
    padding: 0;
    }

img { vertical-align: middle; }

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    }

textarea { resize: vertical; }

dl,
menu,
ol,
ul { margin: 1em 0; }

dd { margin: 0 0 0 40px; }

menu,
ol,
ul { padding: 0 0 0 1.2em; }

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
    }

img {
    border: 0;
    -ms-interpolation-mode: bicubic; 
    }

svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
form { margin: 0; }

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
    }

legend {
    border: 0;
    padding: 0;
    white-space: normal;
    *margin-left: -7px;
    }

button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
    }

button,
input { line-height: normal; }

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    *overflow: visible;
    }

button[disabled],
input[disabled] { cursor: default; }

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *height: 13px;
    *width: 13px;
    }

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    }

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

button::-moz-focus-inner,
input::-moz-focus-inner { border: 0; padding: 0; }

textarea { overflow: auto; vertical-align: top; }
table { border-collapse: separate; border-spacing: 0; }





/* TYPOGRAPHY
------------------------------------ */

body {
    font-family: 'Asap', 'helvetica neue', helvetica, arial, sans-serif;
    font-size: 0.938em;
    line-height: 1.267em;
    color: #333;
    -webkit-font-smoothing: antialiased;
    background-color: #f3f3f3;
    }
    	
@font-face {
    font-family: 'sssocial';
    src: url('type/ss-social-circle.eot');
    src: url('type/ss-social-circle.eot?#iefix') format('embedded-opentype'),
         url('type/ss-social-circle.woff') format('woff'),
         url('type/ss-social-circle.ttf') format('truetype'),
         url('type/ss-social-circle.svg#SSSocialCircle') format('svg');
    font-weight: normal;
    font-style: normal;
    }

h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-weight: normal; text-rendering: optimizeLegibility; }

h1, h2 { font-family: 'Asap', 'helvetica neue', helvetica, arial, sans-serif; font-weight: 700; }
h3, h4, h5, h6 { font-family: 'Asap', 'helvetica neue', helvetica, arial, sans-serif; font-weight: 700; }

h1 { font-size: 3.267em; line-height: 1.041em; margin-bottom: 0.330em; } /* 49/51 */
h2 { font-size: 2.867em; line-height: 1.047em; } /* 43/45 */
h3 { font-size: 1.733em; line-height: 1.207em; } /* 29/35 */
h4 { font-size: 1.667em; line-height: 1.200em; margin-bottom: 0.200em; } /* 25/30 */
h5 { font-size: 1.200em; line-height: 1.222em; } /* 18/22 */
h6 { font-size: 1.000em; line-height: 1.267em; } /* 15/19 */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }

dfn { font-style: italic; }
mark { background: #ff0; color: #333; }

p, pre { margin: 0 1.333em 1em 0; }

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
    }

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
    }

q { quotes: none; }
q:before, q:after { content: ''; content: none; }

small { font-size: 80%; }

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
    }

sup { top: -0.5em; }
sub { bottom: -0.25em; }



/* PRIMARY STYLES
------------------------------------ */

#container {
	margin: 30px 10px 30px 30px;
	max-width: 972px;
	}

#navigation {
    float: left;
	margin: 0 20px 0 0;
	width: 295px;
	}

#content {
    float: left;
	margin: 0;
	width: 460px;
	}

#sidebar {
    float: left;
	margin: 0 19px 0 2px;
	width: 166px;
	}


/* NAVIGATION ---------- */

#navigation a { text-decoration: none; }

#navigation a:hover,
#navigation .current_page_item a { color: #eda925; }

#navigation h1.logo { font-size: 4.667em; line-height: 0.900em; margin-bottom: 0; text-transform: uppercase; }
#navigation h5.tagline { font-size: 1.0em; font-family: 'Asap', 'helvetica neue', helvetica, arial, sans-serif; padding-top: 5px; padding-left: 3px; font-weight: 400;  }

#navigation ul { padding: 25px 0 20px 0; margin: 0; list-style: none; }
#navigation ul li {
    font-family: 'Asap', 'helvetica neue', helvetica, arial, sans-serif;
    font-weight: 700;
    font-size: 2.867em; 
    line-height: 1.087em;
    text-transform: uppercase;
    text-rendering: optimizeLegibility;
    }

#navigation ul li ul { padding: 5px 0 10px 0; margin: 0; list-style: none; }
#navigation ul li ul li {
    font-family: 'Asap', 'helvetica neue', helvetica, arial, sans-serif;
    font-weight: 700;
    font-size: 0.558em; 
    line-height: 1.167em;
    text-transform: capitalize;
    text-rendering: optimizeLegibility;
    }

#navigation .social {
    font-family: 'sssocial', 'Asap', 'helvetica neue', helvetica, arial, sans-serif;
    font-size: 3em;
    line-height: 1em;
    }

#navigation ul.lang-nav { padding: 0 0 25px 0; margin: 0; list-style: none; }
#navigation ul.lang-nav li { font-size: 1em; font-family: 'Asap', 'helvetica neue', helvetica, arial, sans-serif; text-transform: capitalize; font-weight: 400;  }



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

#content .hero { float:left; margin: 0 16px 16px 0; }
#content .hero a { text-decoration: none; }

#content .hero.big { width: 440px; }
#content .hero.small { width: 212px; }

#content .hero .banner { 
    padding: 6px 45px 5px 10px;
    color: #fff;
    background: url('images/icon_arrow_r.png') right center no-repeat;  
    background-color: #191919;
    }

#content .hero a:hover .banner { background-color: #eda925; }
#content .hero .banner h3 { margin: 3px 0 2px 0; }
#content .hero .banner p { margin-bottom: 2px; padding-top: 0 !important; }

#content .post {
    margin-bottom: 20px;
    }
    
#content .post a.link  {
    text-decoration: underline;
    font-family: 'Asap', 'helvetica neue', helvetica, arial, sans-serif;
    font-weight: 700;
    }

#content a.link  {
    text-decoration: underline;
    font-family: 'Asap', 'helvetica neue', helvetica, arial, sans-serif;
    font-weight: 700;
    }

#content .calendar  {
    border: 0;
    width: 462px;
    margin: 0;
    padding: 0;
    border-spacing: 0;
    border-collapse: separate;
    }

#content .calendar .event  {
    vertical-align: middle;
    }

#content .calendar .event td { padding: 10px 0; margin: 0; }
#content .calendar .last td { padding: 20px 0 0 0; margin: 0; }

#content .calendar .event-desc {
    display: none;
    }

#content .calendar .event-desc td {
    padding-top: -10px;
    padding-bottom: 12px;
    border: none;
    }
    
#content .calendar .line-dotted {
    border-bottom: 2px dotted #666;
    height: 0;
    padding: 0;
    }

#content .calendar .event-name  {
    cursor: pointer;
    }

#content .calendar .event-name:hover h6 {
    color: #eda925;
    }

#content .calendar .event .ticket {
    padding: 6px 23px 2px 5px;
    color: #fff;
    background: url('images/icon_arrow_mini_r.png') right center no-repeat;
    background-color: #eda925;
    z-index: 10;
    }

#content .calendar .event .ticket-link:hover h6 { background-color: #111; }
#content .calendar .event .ticket-link { color: #fff; text-decoration: none; }

#content .vcard {
    margin-bottom: 20px;
    }

#content .vcard .vcard-pic {
    float: left;
    width: 100px;
    margin: 0 13px 15px 0;
    }
    
#content .vcard .vcard-details {
    float: left;
    max-width: 300px;
    margin-bottom: 15px;
    }    

#content .post img { padding: 0 0.867em 1.333em 0; }
#content.singles img { padding: 0 0.867em 1.333em 0; }

.pressbilder #content img { padding: 0 0.867em 0.867em 0; }
#content.pressimages img { padding: 0 0.867em 0.867em 0; }

#content .dotted-line {
    border-bottom: 2px dotted #666;
    padding: 5px 0 0 0;
    margin: 0;
    max-width: 438px;
    clear: both;
    overflow: hidden;
    }

#content .page-title { text-transform: uppercase; }
#content h4 { max-width: 440px; }

#content .post-nav { width: 440px; }
#content .post-nav .older { float: left; }
#content .post-nav .newer { float: right; }

#content .figure { padding: 10px 0; }


/* SIDEBAR ---------- */

#sidebar h4 {
    padding: 5px 0 6px 7px;
    font-size: 1.333em; line-height: 1.174em;
    color: #fff;
    background: url('images/icon_arrow_r.png') right center no-repeat;
    margin-bottom: 15px;
    }
    
#sidebar h4.current { background: none; background-color: #191919; }
#sidebar h4.tickets { background-color: #ff274e; margin-bottom: 0; }
#sidebar h4.support { background-color: #9ecdaa; margin-bottom: 0; }

#sidebar a:hover h4.tickets { background-color: #25b0ed; }
#sidebar a:hover h4.support { background-color: #25b0ed; }

#sidebar .news {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 2px dotted #666;
    }
    
#sidebar .news a { text-decoration: none; }
#sidebar .news p { margin-bottom: 0; padding-top: 0 !important; }
#sidebar .news img { margin-bottom: 13px; }

#sidebar .news a.link {
    display: block;
    text-decoration: underline;
    font-family: 'Asap', 'helvetica neue', helvetica, arial, sans-serif;
    font-weight: 700;
    }

#sidebar .news a.thumb-link {
    width:165px;
    text-decoration:none;
    position:relative;
    display:block;
    float:left;
    }    

#sidebar .news .play-icon{
    position: absolute;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    line-height: normal;
    text-align: center;
    background-color: #fff;
    background-color:rgba(255,255,255,0.7);
    left: 60px;
    top: 30px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
    }

#sidebar .news .play-icon .icon {
    padding: 7px 0 0 6px;
    }


/* WORDPRESS
------------------------------------ */

.wp-caption p.wp-caption-text {
    padding: 10px 0 20px 0;
    margin: 0;
    }


/* HELPER CLASSES
------------------------------------ */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
    }

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%; 
    }

.hidden {
    display: none !important;
    visibility: hidden;
    }

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    }

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    }

.invisible { visibility: hidden; }

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
    }

.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* MEDIA QUERIES
------------------------------------ */

@media screen and (-webkit-min-device-pixel-ratio:0) { /*Fix för Chrome - ser till att den läser in svg-vektorer och inget annat*/
    	
    @font-face {
        font-family: 'sssocial';
        src: url('type/ss-social-circle.svg#SSSocialCircle') format('svg');
        }
   
}

/* Remove sidebar */
@media all and (max-width: 1002px) {

    #sidebar {
    display: none;
    }
  
}

/* Tablet */
@media all and (max-width: 814px) {

    #container { margin: 20px; }

    #navigation { margin: 0 2.58% 0 0; width: 38.06%; }
    #content { width: 59.35%; }
	
	#navigation h1.logo { font-size: 4.000em; }
	#navigation h5.tagline { font-size: 1em; }
	
	#navigation ul li { font-size: 2.400em; line-height: 1.087em; }
	
	#content .hero img { width: 100%; height: auto; }
	
	#content .hero { margin: 0 3.478% 3.478% 0; }

    #content .hero.big { width: 95.652%; }
    #content .hero.small { width: 46.086%; }

	
}

/* Tablet image fill content */
@media all and (max-width: 782px) {

    #content img { width: 100%; height: auto; }
	
}

/* Mobile */
@media all and (max-width: 640px) {

    h1 { font-size: 2.800em; word-break: break-word; }
    
    #navigation {
    float: none;
	margin: 0;
	width: 100%;
	border-bottom: 3px #111111 solid;
	}
    
	#content {
	padding-top: 30px;
    float: none;
	width: 100%;
	}
	
	#navigation ul { padding: 25px 0 30px 0; }
	.social, .lang-nav { display: none; }
	
	#content .hero { margin: 0 3.478% 4% 0; }

    #content .hero.big { width: 100%; margin-right: 0; }
    #content .hero.small { width: 48.261%; margin-right: 3.478%; }
    #content .hero.small.last { margin-right: 0; }
    
    #content .dotted-line { max-width: 640px; }
}

/* Mobile */
@media all and (max-width: 350px) {

    #content .hero { margin: 0 0 6% 0; float: none; width: 100%; }
    
    #content .hero.big { width: 100%; }
    #content .hero.small { width: 100%; }
    
    /* Special case to stop headline from breaking  */
    .page-id-20 #content h1 { font-size: 2.400em; }
    
    #content .vcard .vcard-pic { width: 80px; }   
    #content .vcard .vcard-details { max-width: 180px; }    

    
}



/* PRINT STYLES
------------------------------------ */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
        }

    a,
    a:visited { text-decoration: underline; }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
        }

    thead { display: table-header-group; }

    tr,
    img { page-break-inside: avoid; }

    img { max-width: 100% !important; }

    @page { margin: 0.5cm; }

    p,
    h2,
    h3 { orphans: 3; widows: 3; }

    h2,
    h3 { page-break-after: avoid; }
}
