/* GLOBAL */
@font-face { 
  font-family: 'Sawasdee'; 
  src: url('../fonts/Sawasdee.ttf') 
  format('truetype'); 
}
@font-face { 
  font-family: 'Sawasdee-Bold'; 
  src: url('../fonts/Sawasdee-Bold.ttf') 
  format('truetype'); 
}

body
{
        border-top:5px solid #676767;
        /*background:#ebe8de;*/
        background:#fafafa;
        font-family: 'Open Sans', sans-serif;
        font-weight: 300;
        color:#333333;
        -webkit-font-smoothing: antialiased;
        background-image: url(../img/crossword.png);
}

input
{
        font-family: 'Open Sans', sans-serif;
        font-size:16px;
        padding: 7px;
        outline: 0;
        border:0;
        width:250px;
        background: #EBE8DE;
        border-radius:5px;
}

input[type=submit]
{
        width:auto;
        padding: 5px 18px;
        line-height:25px;
        text-shadow:none;
        cursor:pointer;
        box-shadow: none;
        background: #333333;
        color: #fff;
}

p
{
        margin:5px 0;
        line-height:25px;
}

a
{
        text-decoration:none;
        color:inherit;
        transition: color .5s ease;
}

strong
{
        color:#505050;
        font-weight:bold;
}

hr
{
        background-color: #D6D0C1;
        border:0;
        height:1px;
        margin:20px 0;
}


/* HEADER */

header
{
        position:relative;
        width:auto;
        max-width:900px;
        margin: 0 auto 20px auto;
}

header h1
{
        margin:35px 0 0 0;
        font-size:55px;
        color:#676767;
        /*font-family: 'Comfortaa';*/
        font-family: 'Sawasdee-Bold';
}

header p
{
        /*font-family: 'Open Sans', sans-serif;*/
        font-weight: 400;
        font-size:16px;
        margin-left:95px;
        /*color:#823737;*/
        /*color:#9bca82;*/
        color:#8aac78;
        
        font-family: 'Sawasdee';
        font-weight: bold;
}

nav
{
        position:absolute;
        right:0;
        bottom:0;
}

nav ul
{
        list-style:none;
}

nav ul li
{
        display:block;
        float:left;
        padding:5px 8px;
}

nav ul li a
{
        font-family: 'Open Sans', sans-serif;
        font-weight: 400;
        text-transform:uppercase;
        transition: all .25s ease;
}

nav ul li a:hover
{
        color:#437a23;
}

#alternative_menu
{
        width: 150px;
        position:absolute;
        top:100px;
        left:50%;
        margin-left: -75px;
        display:none;
}

#slider_content1, #slider_content2
{
        line-height: 25px;
        font-family: 'Open Sans', sans-serif;
        width:350px;
        position:absolute;
        top:15%;
        left:15%;
        display:none;
        z-index:11;
}

#slider_content1 h3, #slider_content2 h3
{
        color:#EBE8DE;
        font-size:25px;
        font-weight:bold;
        margin-bottom:10px;
        background-color:#333333;
        background-color: rgba(51, 51, 51, 0.8);
        padding:10px 15px;
        border-radius: 15px 15px 0px 0px;
        display:inline-block;
}

#slider_content1
{
        display:block;
}

#slider_content1 p, #slider_content2 p
{
        margin:0 0 30px 0;
        color:#4a463b;
        background-color:#EBE8DE;
        background-color: rgba(235, 232, 222, 0.8);
        padding:10px 15px;
        border-radius: 0px 0px 15px 15px;
}


/* BUTTONS */

.button
{
        padding:7px 14px;
        border: 1px solid #676767;
        /*background-image: linear-gradient(bottom, #E56038 0%, #ff8c66 100%);
        background-image: linear-gradient(to bottom, #ff8c66 0%, #E56038 100%);*/
        background-color: #676767;
        color: #EBE8DE;
        text-shadow: 1px 1px 0px #676767;
        text-decoration:none;
        border-radius:5px;
        box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3);
}

.button:hover
{
        background:none #EBE8DE;
        border-color: #EBE8DE;
        text-shadow:none;
        color: #8aac78;
}


/* SPACER */

.spacer
{
        width:auto;
        /*background-color:#823737;*/
        background-color:#8aac78;
        position:relative;
        font-family: 'Open Sans', sans-serif;
        font-weight:400;
        color:#fff;
        font-size:18px;
}

.spacer p
{
        margin-top:32px;
        width:auto;
        position:absolute;
        left:50%;
        margin-left:-450px;
}

.spacer .search
{
        margin-top:15px;
        width:auto;
        position:absolute;
        right:50%;
        margin-right:-480px;
}

.spacer .limiter
{
	 position:relative;
     width:auto;
     max-width:900px;
     margin-left:auto;
     margin-right:auto;
}

.spacer .titlesong
{
	float:right;
	height:90px;
}


#about, #portfolio
{
        line-height:25px;
        font-family: 'Open Sans', sans-serif;
        clear:both;
        width:auto;
        max-width:900px;
        margin:0 auto;
}

#about h3, #portfolio h3
{
        font-size:20px;
        border-bottom: 1px solid #D6D0C1;
        padding: 20px 0;
        margin-bottom: 20px;
}

/* ABOUT */
#about
{
        margin: 30px auto;
        font-size:14px;
        /*position:relative;*/
       	width:auto;
     	max-width:900px;
}

#about article.columnleft
{
        font-size:14px;
        float:left;
        width:auto;
        max-width: 420px;
        margin-right: 30px;
}

#about article.columnright
{
        font-size:14px;
        float:left;
        width:auto;
        max-width: 420px;
}

/* PORTFOLIO */
#portfolio
{
        margin: 30px auto;
        font-size:14px;
       	width:auto;
     	max-width:900px;
}

#portfolio article.columnleft
{
        font-size:14px;
        float:left;
        width:420px;
        margin-right: 30px;
}

#portfolio article.columnright
{
        font-size:14px;
        float:left;
        width:420px;
}

/* START: Section to fix the crappy envato player height calculation */
#player_latest
{
	padding-top:3px;
	height:97px !important;	
}

#player_latest iframe
{
	height:97px !important;
}

#player_bestseller
{
	padding-top:3px;
	height:97px !important;
}

#player_bestseller iframe
{
	height:97px !important;
}

#player_orchestral
{
	height: 300px !important;
}

#player_orchestral iframe
{
	height: 300px !important;
} 

#player_motivational
{
	height: 500px !important;
}

#player_motivational iframe
{
	height: 500px !important;
} 

#player_happy
{
	height: 360px !important;
}

#player_happy iframe
{
	height: 360px !important;
} 

#player_emotional
{
	height: 260px !important;
}

#player_emotional iframe
{
	height: 260px !important;
}

/* END: Section to fix the crappy envato player height calculation */

/* LEGAL NOTICE */
#legalnotice
{
	background:#333333;
}

#legalnotice .wrapper{
	line-height:25px;
    margin: 0 auto;
    padding-top:30px;
    width:auto;
    max-width:900px;
    font-size:14px;
    background:#333333;
}

#legalnotice .wrapper article.columnleft
{
 		font-family: 'Open Sans', sans-serif;
        font-size:12px;
        color:#ababab;
        float:left;
        width:420px;
        margin-right:30px;
        margin-bottom:20px;
}

#legalnotice .wrapper article.columnright
{
		font-family: 'Open Sans', sans-serif;
        font-size:12px;
        color:#ababab;
        float:left;
        width:420px;
        margin-bottom:20px;
}

#legalnotice .wrapper article.columnleft h4, #legalnotice .wrapper article.columnright h4 
{
        font-size: 16px;
        color: #fff;
        border-bottom: 1px solid #444444;
        padding: 0 0 10px 0;
        margin-bottom: 10px;
}

#legalnotice .end
{
	clear:both;	
}

/* FOOTER */

footer
{
        position:relative;
        width:auto;
        height:100px;
        background:#333333;
        bottom: 0;
}


footer .wrapper
{
        line-height:25px;
        margin: 0 auto;
        padding-top:30px;
        width:auto;
        max-width:900px;
        font-size:14px;
}

footer .wrapper .column.rightlist ul li a img
{
        transition: border .25s ease;
        float:left;
        border:3px solid #444444;
}

footer .wrapper .column.rightlist ul li a img:hover
{
        border-color: #5e5e5e;
}

#copyright
{
        background: #1D1D1D;
        height:70px;
        position:absolute;
        bottom:0;
        left:0;
        width:100%;
}
#copyright .wrapper
{
        font-family: 'Open Sans', sans-serif;
        padding-top:25px;
        color: #5e5e5e;
        font-size:14px;
        position:relative;
}
#copyright .wrapper .social
{
        position:absolute;
        right:0;
        top:25px;
}
#copyright .wrapper .social a
{
        transition: opacity .25s ease;
        opacity: 0.3;
        margin-left: 12px;
        display:block;
        float:left;
}
#copyright .wrapper .social a:hover
{
        opacity: 0.7;
}
#copyright .wrapper a
{
        color: #ABABAB;
}

#copyright .wrapper a:hover
{
        color: #fff;
}


/* SKIPLINK */
.go-top {
        position: fixed;
        bottom: 2em;
        right: 2em;
        text-decoration: none;
        color: white;
        background-color: rgba(0, 0, 0, 0.3);
        font-size: 12px;
        padding: 1em;
        display: none;
}

.go-top:hover {
        background-color: rgba(0, 0, 0, 0.6);
}


/* SLIDESHOW */
/* Prevent the slideshow from flashing on load */
.slidesjs-container
{
        border-top: 1px #d6d0c1 solid;
}
#slides
{
  display: none
}

/* Center the slideshow */
.container
{
        width:auto;
        margin: 0 auto;
        position:relative;
}

/* Show active item in the pagination */
.slidesjs-pagination .active
{
  color:red;
}

#slider_content1 p .responsive_button, #slider_content2 p .responsive_button
{
        display:none;
        color:#000;
}


/* MISC */
.clear
{
        clear:both;
}
.hidden
{
        position:absolute;
        clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
          clip: rect(1px, 1px, 1px, 1px);
}


/* MEDIA QUERIES FOR A RESPONSIVE LAYOUT */

@media (max-width: 1215px)
{
        #slider_content1, #slider_content2
        {
                width:auto;
                margin-right:50px;
        }
        #slider_content1 h2, #slider_content2 h2
        {
                font-size:18px;
        }
        #slider_content1 p, #slider_content2 p
        {
                font-size:14px;
        }
        #slider_content1 p .responsive_button, #slider_content2 p .responsive_button
        {
                display:inline;
        }
        .container .button
        {
                display:none;
        }
}

@media (max-width: 915px)
{
        .spacer
        {
                font-size:15px;
        }
        .spacer .search
        {
                margin-top:19px;
                margin-right:-385px;
        }
        .spacer p
        {
                margin-left:-370px;
        }
        input
        {
                padding:4px;
                font-size:14px;
        }
        input[type="submit"]
        {
                padding: 1px 14px;
        }
        #about article.columnleft, #about article.columnright
        {
                float:none;
                max-width: 500px;
                margin: 0px auto;
        }
        #portfolio article.columnleft, #portfolio article.columnright
        {
                float:none;
                max-width: 500px;
                margin: 0px auto;
        }
        #legalnotice .wrapper
        {
                float:none;
                max-width: 500px;
                margin: 0px auto;
        }
        footer .wrapper .column
        {
                font-size: 12px;
                width: 230px;
        }
}

@media (max-width: 820px)
{
		header p
		{
        	margin-left:0px;
		}
}

@media (max-width: 765px)
{
        .container
        {
                height:1px;
                top: -1500px;
        }
        header
        {
                height:120px;
        }
        header nav
        {
                right: auto;
                bottom: auto;
                left: 50%;
                top:100px;
                margin-left: -184px;
        }
        header p
		{
        	margin-left:60px;
		}
        .spacer
        {
				height:155px;
        }
        .spacer p
        {
                text-align:center;
                position:static;
                margin: 0 auto;
                padding:15px 0 7px 0;
        }
        .spacer .limiter
        {
        	width:380px;
        	margin: 0 auto;
        }
        .spacer .search
        {
                text-align:center;
                position:static;
                margin: 0 auto;
        }
        footer
        {
                padding-bottom:70px;
                height: auto;
        } 
        footer .wrapper
        {
                width: 350px;
                margin: 0 auto;
        }
        footer .wrapper .social
        {
                display:none;
        }
}

@media (max-width: 500px)
{
        .spacer
        {
                height:auto;
                padding-bottom:15px;
        }
        footer .wrapper
        {
                width:auto;
        }
        input
        {
                width:auto;
        }
        #alternative_menu
        {
                display:block;
        }
        header nav
        {
                display:none;
        }
        header h1
        {
                font-size:40px;
        }
        header p
        {
                margin-left: 60px;
                font-size:14px;
        }
}