/*
Theme Name: Religioner Subsite
Theme URI: http://fevaag.no/
Description: Custom Theme for Religioner Subsites
Version: 1.2
Author: Fevaag Web Consulting



*/

body {
 font-family: 'Hind', sans-serif;
  font-size: 21px;
  background-color: #fff;
    line-height: 1.5;
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
}

header {
	height:500;
}
header {
	height:280px;
}
#nav.affix {
    position: fixed;
    top: 0;
    width: 100%;
    z-index:10;
}

.hentry {
    margin: 0 0 60px;
}


.hentry .post-content, .single .hentry, .page .hentry {
    border: 4px double #ebebeb;
    padding: 30px;
    background-color: #fff;
}



.has-banner, .overlay {
    width: 100%;
    overflow: hidden;
}

.welcome-info {
    position: absolute;
    z-index: 9998;
    display: table;
    margin: 0 auto;
    padding: 0 30px;
    top: 100px;
    text-align: center;
    width: 100%;
}

.site-header
{
	position: relative;
	 width: 100%;
     background: url(images/header.jpg);
     background-repeat:no-repeat;
-webkit-background-size:cover;
-moz-background-size:cover;
-o-background-size:cover;
background-size:cover;
background-position:center;
}

.overlay {
    background: url('images/pattern.png');
    position: absolute;
    top: 0;
    z-index: 1;
    opacity: 0.3;
    background-attachment: fixed;
     height:550px;
}

.navbar-brand img 
    	{
    		width: 100px;
    		height: auto;
    	}

    	.navbar-brand
    	{
    		padding: 5px 0px;
    	}

    	.navbar
    	{
    		height: 75px;
    	}

    	header {
  height:550px;
}

.entry-header {
    margin-bottom: 15px;
    border-bottom: 4px double #ebebeb;
    height: auto;
}

h1, h2, h3, h4, h5, h6
{
    font-weight: 700;
    color: #444;
}

#nav {
  width: 100%;
  position:static;
  top:-32px;
}

#nav.affix {
   position: fixed;
   top: 0;
   z-index:10;
   -webkit-transition: all .6s ease-in-out;
}

h1, h2, h3, h4, h5 
{
    font-family: 'Aref Ruqaa', serif;
     letter-spacing: 2px;
}

.navbar-inverse .navbar-brand
{
     color: #fff;
     text-transform: uppercase;
     font-size: 24px;
      font-family: 'Aref Ruqaa', serif;
      padding-top: 25px;
}

.welcome-desc h1 
{
    font-size: 40px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 2px #222, 0 0 2px #222;
     font-family: 'Aref Ruqaa', serif;
}


.welcome-desc {
    font-size: 35px;
    width: 100%;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 2px #222, 0 0 2px #222;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-family: 'Aref Ruqaa', serif;
    
    }

    .navbar-inverse .navbar-nav>li>a
    {
        color: #fff;
            font-family: 'Aref Ruqaa', serif;
    }

    .navbar-inverse .navbar-nav>li>a:hover, .navbar-inverse .navbar-nav>li>a:focus
    {
        color: #22A7F0 !important;
    }

    .navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus
    {
         background-color: #222;
    }

    .entry-title, .entry-title a {
    color: #0a0a0a;
}

.entry-title, .entry-meta {
    margin: 0 0 10px 0;
}

h1 {
    font-size: 41px;
}

a:hover {
    color: #22A7F0 !important;
}

.entry-title a, .widget a, .entry-meta a, .entry-footer a {
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    text-decoration: none;
}

.entry-footer
{
    margin-top: 10px;
    border-top: 2px solid #ccc;

}

.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-container iframe, .video-container object, .video-container embed, .video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.entry-meta, .entry-meta a, .entry-footer, .entry-footer a, a
{
    color: #222;
}

.widget-area {
    background-color: #fff;
    padding: 30px;
    border: 4px double #ebebeb;
    margin-bottom: 30px;
}

.widget-title, .widgettitle {
    margin: 0 0 15px;
    padding-bottom: 15px;
    border-bottom: 4px double #ebebeb;
    color: #444;
}

.error404 .content-area {
    text-align: center;
    background-color: #fff;
    padding-top: 50px;
    }

    .page-header {
    padding-bottom: 9px;
    margin: 40px 0 20px;
    border-bottom: 1px solid #eee;
}

.error404 .search-wrapper, .error404 .widget {
    padding: 30px 15px;
}

.search-close {
    display: none;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    border: 1px solid #fff;
    position: relative;
   
    color: #fff;
    text-align: center;
    cursor: pointer;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    background-color: #222;
    padding: 10px 20px;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    border: 0;
}

.search-submit {
    font-family: Fontawesome !important;
    vertical-align: top;
    height: 50px;
}

input, textarea {
    padding: 12px;
    max-width: 100%;
    border: 2px solid #444;
}

.error404 .search-wrapper, .error404 .widget {
    padding: 30px 15px;
}
.widget-title, .widgettitle {
    margin: 0 0 15px;
    padding-bottom: 23px;
    border-bottom: 4px double #ebebeb;
}
.error404 .widget_recent_entries ul {
    padding: 0;
}

.error404 .search-wrapper, .error404 .widget {
    padding: 30px 15px;
}

.error404 .widget_recent_entries li {
    list-style: none;
}

.site-footer {
    padding: 30px 0;
    border-top: 1px solid #3A3A3A;
    background-color: #222;
}

.site-footer a {
    color: #C8C8C8;
}

.single, .archive, .search
{
    margin-top: 100px;
}

#comment, #author, #email, #url
{
        width: 100%;
    max-width: 100%;
    padding: 10px;
    border: 4px double #ebebeb;
}

.the_social
{
    text-align: center;
}

.the_social a
{
  font-size: 50px;
  padding: 10px;
}

.the_social a:hover 
{
    text-decoration: none;
}

.entry-thumb img
{
    width: 100%;
    height: auto;
    margin:auto;
}

.search-form {

    top: 5px;
    float: right;
}

.search-field {
    background-color: transparent;
    background-image: url(images/searchicon.png);
    background-position: 5px center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    border: none;
    cursor: pointer;
    height: 37px;
    margin: 3px 0;
    padding: 0 0 0 34px;
    position: relative;
    -webkit-transition: width 400ms ease, background 400ms ease;
    transition:         width 400ms ease, background 400ms ease;
    width: 0;

}

.search-field:focus {
    background-color: #fff;
    border: 2px solid black;
    cursor: text;
    outline: 0;
    width: 200px;
}


.search-submit {
  display: none;
}

input[type="search"] {
  -webkit-appearance: textfield;
}

.nav .screen-reader-text
{
    display: none;
}



@media only screen and (min-width: 1199px){


.welcome-info {
    top: 70px;
    }

    .nav>li>a
    {
        font-size: 24px;
        padding-top: 25px;
    }
}

/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/




    /*==========  Mobile First Method  ==========*/

    /* Custom, iPhone Retina */ 
    @media only screen and (min-width : 320px) {
        
    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (min-width : 480px) {



    }



    
  





@media (max-width: 768px) {

   

	header {
		height: 300px;
	}

    .welcome-info
    {
        top:50px;
    }
}


    /* Small Devices, Tablets */
    @media only screen and (min-width : 768px) {



         .alignleft
    {
        float: left;
        margin-right: 20px;
        margin-bottom: 20px;
    }

    .alignright
    {
        float: right;
        margin-left: 20px;
        margin-bottom: 20px;
    }

    .search-wrapper
    {
        margin-top: 15px;
    }

    .page #primary
    {
        margin-top: 100px;
    }

    }

    /* Medium Devices, Desktops */
    @media only screen and (min-width : 992px) {
    .page #secondary
    {
        margin-top: 100px;
    }


    }

    /* Large Devices, Wide Screens */
    @media only screen and (min-width : 1200px) {



    }



    /*==========  Non-Mobile First Method  ==========*/

    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {

    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {

    }

    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {


        .navbar-brand img 
        {
            width: 65px;
            height: auto;
        }

        .navbar {
    height: 55px;
}

    	
    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {

        .welcome-logo 
        {
            width: 100px;
        }

        .welcome-desc
        {
            font-size: 21px;
        }

    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
        
    }


.nav li,
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
background-color: #222 !important;
}

#nav.affix  {
    position: fixed;
    top: 0;
    width: 100%;
    z-index:99999;
}

.menu-main, .menu-item, .nav li, .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form, #bs-example-navbar-collapse-1
{
z-index:99999;
}
.navbar-collapse.in { /*3.0.2 bug workaround*/
    overflow-y: visible;
}

.navbar-toggle {
    outline:0;
}