/* This CSS file is part of the HTML5 / CSS3 tutorial on http://www.lingulo.com */

@font-face {
  font-family: 'Montserrat-Regular';
  src: url('Montserrat-Regular.eot');
  src: url('Montserrat-Regular.eot?#iefix') format('embedded-opentype'),
       url('Montserrat-Regular.woff') format('woff'),
       url('Montserrat-Regular.ttf') format('truetype'),
       url('Montserrat-Regular.svg#Montserrat-Regular') format('svg');
}

.fontpro,.fontpro-35811 {
  font-family: 'Montserrat-Regular',sans-serif;
  font-size: 22px;
//  font-weight: normal;
}

.fontpro p {
color: #535353;
margin-top: 20px;
}


/* GLOBAL */
body
{
        border-top:0px solid #e56038;
        background:#ffffff;
        font-family: 'Open Sans', sans-serif;
        color:#333333;
		margin: 0px;
}

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
{
        font-weight:bold;
}

figcaption strong
{
        border-bottom: 1px solid #D6D0C1;
        padding-bottom:10px;
        margin: 10px 0;
        display:block;
}

figcaption
{
        line-height: 25px;
        font-size:14px;
        width:200px;
}

hr
{
        background-color: #D6D0C1;
        border:0;
        height:1px;
        margin:20px 0;
}


/* HEADER */

header
{
        position:relative;
        width:auto;
        max-width:1110px;
        margin: 0 auto 20px auto;
	/*	background: url(../img/grammatika-logo-white.png) no-repeat;
		background-size: 350px;  */
}

header h1
{
        
		margin:35px 0 0 0px;
		text-align: center;
	//	margin:auto;
        font-size:35px;
        color:rgb(199,28,28);
        font-family: 'Baumans', cursive;
}

header p
{
        font-family: 'Open Sans', sans-serif;
        font-size:16px;
        color: red;
        margin-left:132px;
}

nav
{
        position:absolute;
        right:0;
        bottom:8px;
}

nav ul
{
        list-style:none;
		margin-right: 30px;
}

nav ul li
{
        display:block;
        float:left;
        padding:3px 20px;
}

nav ul li a
{
        font-family: 'Open Sans', sans-serif;
        text-transform:uppercase;
        transition: all .25s ease;
		font-size: 22px;
		font-weight: 900;
		color: rgb(80,80,80);
	//	color: rgb(255,255,255);
}

nav ul li a:hover
{
        color:rgb(175,175,175);  
	  //  color: #c0c0c0;
		text-shadow: 1px 0px 0px #4d4d4d;
}

#alternative_menu
{
        width: 150px;
        position:absolute;
        top:100px;
        left:50%;
        margin-left: -75px;
        display: none;
}

/*Main text */

#maintext
{
	width: 1200px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	
	border-top: 2px solid #e6e6e6;
	border-bottom: 2px solid #e6e6e6;
//	background: url(../img/media-bg.png) bottom center no-repeat;
	
}

#maintext article
{
	
	text-align: center;
	color: gray;
	font-weight: 400;
	font-style: normal;
	line-height: 1.2;
/*	font-size: 14px;
	font-family: 'Open Sans', sans-serif;  */
	margin-bottom: 30px;
	
}

/* Seperator */

#seperator
{
  width: 1200px;
  height: 20px;
  margin-left: auto;
  margin-right: auto;
  background: url(../img/media-bg-mod.png) bottom center no-repeat;
//  border-bottom: 2px solid #e6e6e6;
}

#seperator h1
{
 // display: none;
}

/* 3 COLUMNS */

#boxcontent
{
        width:1200px;
    //    max-width:1200px;
        margin-left:auto;
		margin-right: auto;
		margin-top: 60px;
//		margin-bottom: 30px;
//        padding:60px 0 0px 0;
//		border-top: 2px solid #e6e6e6;
//	    background: url(../img/media-bg.png)  center no-repeat;
}

#boxcontent article-left
{
        float:left;
        width:400px;
        margin-right:5px;
		margin-left: 0px;
        font-size:14px;
}

#boxcontent article-left h3
{
        font-family: 'Open Sans', sans-serif;
        font-size:20px;
        margin-bottom:25px;
        
	  text-align: center;
}

#boxcontent article-left img
{
	  display: block;
      margin-left: auto;
	  margin-right: auto;
	  height: 175px;
	  margin-top: 50px;
}

#boxcontent article-left p
{
        line-height:25px;
        font-family: 'Open Sans', sans-serif;
        margin-left:0px;
}

#boxcontent article-right
{
        float:left;
        width:750px;
        margin-right:5px;
		margin-left: 25px;
        font-size:18px;
}

#boxcontent article-right h3
{
        font-family: 'Open Sans', sans-serif;
        font-size:22px;
        margin-bottom:25px;
      //  margin-left:35px;
	  text-align: center;
	  margin-top: 0px;
}

#boxcontent article-right img
{
	  display: block;
      margin-left: auto;
	  margin-right: auto;
	  height: 175px;
	 
}

#boxcontent article-right p
{
        line-height:25px;
        font-family: 'Open Sans', sans-serif;
        margin-left:0px;
}

#boxcontent article-bottom
{
        float:left;
        max-width:400px;
        font-size:14px;
		margin-right:25px;
		margin-left: 0px;
		margin-top: 75px;
}

#boxcontent article-bottom h3
{
        font-family: 'Open Sans', sans-serif;
        font-size:20px;
        margin-bottom:10px;
        
//		text-align: center;
}

#boxcontent article-bottom img
{
	  display: block;
     margin-left: 0px;
  //	  margin-right: auto;
      width: 150px;
}

#boxcontent article-bottom p
{
        line-height:25px;
        font-family: 'Open Sans', sans-serif;
   //     margin-left:0px;
}

#slider_content1, #slider_content2, #slider_content3
{
        line-height: 1.1;
        font-family: 'Open Sans', sans-serif;
        width:370px;
        position:absolute;
        top:5%;
        left:20%;
        display:none;
        z-index:11;
}

#slider_content1 h3, #slider_content2 h3, #slider_content3 h3
{
        color:#484B56;
        font-size:42px;
        font-weight:400;
		text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
		font-family: 'Montserrat-Regular',sans-serif;
    /*    margin-bottom:10px;
       background-color:rgb(200,200,200);
        padding:10px 15px;
        border-radius: 15px 0 15px 0;
		border-style: solid;
		border-width: 2px;
		border-color: black;  */
        display:inline-block;
		margin-bottom: 10px;
}

#slider_content1 h4, #slider_content2 h4, #slider_content3 h4
{
        color:#909090;
        font-size:36px;
        font-weight:400;
		text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
		font-family: 'Montserrat-Regular',sans-serif;
    /*    margin-bottom:10px;
       background-color:rgb(200,200,200);
        padding:10px 15px;
        border-radius: 15px 0 15px 0;
		border-style: solid;
		border-width: 2px;
		border-color: black;  */
        display:inline-block;
		margin-top: 0px;
		pargin-bottom: 0px;
}

#slider_content1
{
        display:block;
}

#slider_content1 p, #slider_content2 p, #slider_content3 p
{
        margin:0 0 30px 0;
        color:#4a463b;
        background-color:#EBE8DE;
        padding:10px 15px;
        border-radius: 5px;
}


/* BUTTONS */

.button
{
        padding:7px 14px;
        border: 1px solid #c3532e;
        background-image: linear-gradient(bottom, #E56038 0%, #ff8c66 100%);
        background-image: linear-gradient(to bottom, #ff8c66 0%, #E56038 100%);
        background-color: #eb653c;
        color: #EBE8DE;
        text-shadow: 1px 1px 0px #ff8155;
        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: #4A463B;
}


/* SPACER */

#spacer
{
        width:auto;
        height:70px;
   #    background-color:#e56038;
        position:relative;
        font-family: 'Open Sans', sans-serif;
        color:rgb(199,28,28);
        font-size:18px;
}

#spacer p
{
        margin-top:22px;
        width:auto;
        position:absolute;
        left:50%;
        margin-left:-450px;
}

#spacer .search
{
        margin-top:15px;
        width:auto;
        position:absolute;
        right:50%;
        margin-right:-480px;
}


/* FOUR COLUMNS */

#four_columns, #text_columns
{
        line-height:25px;
        font-family: 'Open Sans', sans-serif;
        clear:both;
        width:auto;
        max-width:900px;
        margin:0 auto;
}

#four_columns h2, #text_columns h3
{
        font-size:20px;
        border-bottom: 1px solid #D6D0C1;
        padding: 20px 0;
        margin-bottom: 20px;
}

#four_columns .img-item
{
        float:left;
        margin-right:25px;
}

#four_columns .img-item a
{
        position:relative;
        display:block;
}

.thumb-screen
{
        display:block;
        position:absolute;
        top:0;
        left:0;
        width:100%;
        height:113px;
        background: #000 url(img/zoom.png) center center no-repeat;
        z-index:99;
        opacity: 0;
        transition: opacity .5s ease;
}

.thumb-screen:hover
{
        opacity:0.5;
}


/* TWO COLUMNS */

#text_columns article.column1, #text_columns .column2
{
        margin: 70px 0;
        font-size:14px;
        float:left;
        width:auto;
        max-width: 450px;
}

#text_columns .column2
{
        margin: 120px 0;
}

.row
{
        position:relative;
        margin: 40px 0 0 50px;
        float:right;
        width:350px;
}

.row img
{
        float:left;
}

.row p
{
        margin-left: 100px;
}

.rocket, .clock
{
        top:0;
        left:0;
        position:absolute;
        height: 80px;
}

.rocket:hover
{
        opacity:0;
        transition: opacity 0.4s ease 0.2s;
        animation-name: stylie-transform-keyframes;
        animation-duration: 700ms;
        animation-delay: 0ms;
        animation-fill-mode: forwards;
        animation-timing-function: linear;
        animation-iteration-count: 1;
        transform-origin: 0 0;
}

.clock:hover
{
        animation-name: stylie-transform2-keyframes;
        animation-duration: 100ms;
        animation-delay: 0ms;
        animation-fill-mode: forwards;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        transform-origin: 0 0;
}

/*Div tags to hide and show extra content */


.more {
      display: none;
 //     border-top: 1px solid #666;
 //     border-bottom: 1px solid #666; }
   a.showLink, a.hideLink {
      text-decoration: none;
      color: #1d1d1d;
	  text-transform: uppercase;
	  font-size: 15px;
	  font-weight: 600;
     padding-left: 35px;
      background: url(../img/circle-arrows-down.png) no-repeat; }
   a.hideLink {
   
     background: url(../img/circle-arrows-up.png) no-repeat;
	 padding-left: 35px;
 //     background: transparent url(up.gif) no-repeat left; }
   a.showLink:hover, a.hideLink:hover {
    //  border-bottom: 1px dotted #36f;
       color: #757575;	}



/* FOOTER */

footer
{
        position:relative;
        clear:both;
        width:auto;
        height:75px;
        background:#333333;
}

footer .wrapper
{
        line-height:25px;
        margin: 0 auto;
        padding-top:30px;
        width:auto;
        max-width:450px;
        font-size:14px;
}

footer .wrapper .column
{
        font-family: 'Open Sans', sans-serif;
        color:#ababab;
        float:left;
        width:280px;
        margin-right:20px;
}

footer .wrapper .column.midlist ul li
{
        display:block;
        width:auto;
        padding:0 0 10px 25px;
        margin-bottom:10px;
        border-bottom: 1px solid #444444;
        background:url(img/arrowright2.png) left 6px no-repeat;
}

footer .wrapper .column.midlist ul li a:hover
{
        color:#fff;
}

footer .wrapper .column.rightlist ul li
{
        display:block;
        width:auto;
        margin-bottom:15px;
}

footer .wrapper .column.rightlist ul li a span
{
        margin-left:95px;
        display:block;
}

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;
}

footer .wrapper .column h4
{
        font-size: 16px;
        color: #fff;
        border-bottom: 1px solid #444444;
        padding: 0 0 10px 0;
        margin-bottom: 10px;
}

#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: rgb(124,124,124);
        font-size:14px;
        position:relative;
}
#copyright .wrapper .social
{
        position:absolute;
        right:150px;
        top:25px;
}
#copyright .wrapper .social a
{
        transition: opacity .25s ease;
       
        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: 0px #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, #slider_content3 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, #slider_content3
        {
                width:auto;
                margin-right:50px;
        }
        #slider_content1 h2, #slider_content2 h2, #slider_content3 h2
        {
                font-size:18px;
        }
        #slider_content1 p, #slider_content2 p, #slider_content3 p
        {
                font-size:14px;
        }
        #slider_content1 p .responsive_button, #slider_content2 p .responsive_button, #slider_content3 p  .responsive_button
        {
                display:inline;
        }
        .container .button
        {
                display:none;
        }
}

@media (max-width: 915px)
{
        #boxcontent article
        {
                float: none;
                margin: 30px auto 0 auto;
                width: 60%;
        }
        #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;
        }
        #four_columns
        {
                width: 500px;
        }
        #four_columns .img-item:nth-of-type(3), #four_columns .img-item:nth-of-type(4)
        {
                margin-top: 25px;
        }
        #text_columns article.column1, #text_columns .column2
        {
                float:none;
                max-width: 500px;
                margin: 50px 30px 0 30px;
        }
        .column2 .row
        {
                float:none;
                margin:0 0 40px 50px;
        }
        footer .wrapper .column
        {
                font-size: 12px;
                width: 230px;
        }
}

@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;
        }
        #spacer
        {
                height:100px;
        }
        #spacer p
        {
                text-align:center;
                position:static;
                margin: 0 auto;
                padding:15px 0 7px 0;
        }
        #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 .column
        {
                margin-top:30px;
                float:none;
                font-size: 14px;
                width: auto;
        }
        footer .wrapper .social
        {
                display:none;
        }
}

@media (max-width: 500px)
{
        #spacer
        {
                height:auto;
                padding-bottom:15px;
        }
        #four_columns
        {
                width:auto;
        }
        #four_columns .img-item
        {
                width: 200px;
                float:none;
                margin: 25px auto 0 auto;
        }
        #four_columns h2
        {
                margin: 0 30px;
        }
        .column2 .row
        {
                margin: 0 0 40px 10px;
                width:auto;
        }
        footer .wrapper
        {
                width:auto;
        }
        footer .wrapper .column
        {
                margin: 0 auto 15px auto;
                max-width:300px;
        }
        input
        {
                width:auto;
        }
        #alternative_menu
        {
                display:block;
        }
        header nav
        {
                display:none;
        }
        header h1
        {
                font-size:40px;
        }
        header p
        {
                margin-left: 60px;
                font-size:14px;
        }
}

/* KEYFRAMES */

@keyframes stylie-transform-keyframes {
  0% {transform:translateX(30px) translateY(46px) rotate(0deg) translate(-50%, -50%);animation-timing-function: cubic-bezier(.25,.25,.75,.75);}
  100% {transform:translateX(260px) translateY(-150px) rotate(0deg) translate(-50%, -50%);}
}

@keyframes stylie-transform2-keyframes {
  0% {transform:translateX(40px) translateY(40px) rotate(0deg) translate(-50%, -50%);animation-timing-function: cubic-bezier(.25,.25,.75,.75);}
  100% {transform:translateX(50px) translateY(40px) rotate(0deg) translate(-50%, -50%);}
}