
body {
    height: auto;
}
#post-cover{
    height: 200px;
    width: 100%;
    border: 1px solid #DDD;
    margin-bottom: 20px;
    background-position: center center;
    background-size: cover;
    position: relative;
}

#post-cover .uploadcover{
    position: absolute;
    bottom: 0px;
    left: 10px;
}
.uploadcover {
    position: absolute;
    bottom: 73px;
    left: 55px;
}
#main-menu{
    z-index: 500;
    position: relative;
    background: #000;
    -webkit-box-shadow: 2px -1px 20px -1px rgba(0,0,0,0.53);
    -moz-box-shadow: 2px -1px 20px -1px rgba(0,0,0,0.53);
    box-shadow: 2px -1px 20px -1px rgba(0,0,0,0.53);
    width: 100%;
    height: 50px;
}

#main-menu .contain-to-grid,
#main-menu .top-bar{
    background: #000;
    opacity: 1;
}

#header {
    position: relative;
    overflow: hidden;
    background: #000;
    -webkit-box-shadow: 2px -1px 20px -1px rgba(0,0,0,0.53);
    -moz-box-shadow: 2px -1px 20px -1px rgba(0,0,0,0.53);
    box-shadow: 2px -1px 20px -1px rgba(0,0,0,0.53);
}

#header .header-background {
    height: 750px;
    background: #000;
    position: relative;
    overflow: hidden;
    background-image: url("/assets/img/head_bg_w.jpg");
    background-position: center center;
    background-size: cover;
    visibility: hidden;
}

#header .header-background-overlay {
    height: 750px;
    background: #000000;
}

#header.internal .header-background {
    height: 130px;
    visibility: visible;
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

#main-menu h3,
#header h1 {
    position: absolute;
    left: 140px;
    top: 50%;
    font-family: 'Lobster', cursive;
    font-size: 72px;
    color: #b20000;
    line-height: 20px;
    margin-top: -20px;
    z-index: 501;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 1);
}

#header.internal h1{
    /* margin: 0px; */
    padding: 0px;
    width: 100%;
    bottom: 36px;
    /* padding: 0px 100px 0 30%; */
    z-index: 100;
    top: auto;
    line-height: 40px;
    text-align: center;
    left: auto !important;
    opacity:.8;
}

#header.internal h1{
    color: #DDD;
}

#header.internal h1 small{
    font-size: 15px;
    font-family: Sans;
    font-weight: 300;
    color: #FFF;
    display: block;
    font-family: 'Roboto Condensed', sans-serif;
    text-shadow: none;
    padding: 20px 0px 20px;
    line-height: 20px;
}

#header.internal ul.tags {
    position: relative;
    left: 0px;
    margin-top: 15px;
    overflow: hidden;
    margin-bottom: -15px;
}
ul.tags li {
    display: inline-block;
}
#header.internal h1 a.button {
    border: none;
    z-index: 10;
}
ul.tags {
    position: absolute;
    bottom: 0px;
    left: 15px;
    margin: 0px;
}
ul.tags li .button {
    margin: 0px;
    padding: 4px;
    opacity: .5;
    z-index: 1;
}

#header.internal textarea[name=description]{
    font-family: sans-serif;
}

#main-menu h3 small,
#header h1 small {
    font-size: 19px;
    font-family: Sans;
    text-shadow: none;
    font-weight: 300;
    color: #b20000;
    font-family: 'Roboto Condensed', sans-serif;
    text-shadow: none;
}

#main-menu h3{
    font-size: 32px !important;
    line-height: 10px;
    top: 35px;
    position: fixed;
}

#header h2 {
    position: absolute;
    bottom: 30%;
    left: 230px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
    font-size: 30px;
    color: #000;
}

#header h3 {
    position: absolute;
    font-family: 'Roboto Condensed', sans-serif;
    color: #FFF;
    top: 20%;
    left: 10%;
    font-weight: 100;
    font-size: 20px;
}

#footer .footer-background-bottom,
#header .header-background-bottom {
    height: 100px;
    width: 100%;
    position: absolute;
    bottom: 0px;
    background: url("../img/bg-bottom.png") repeat-x top left;
}

#footer .footer-background-bottom {
    height: 150px;
}

#header .header-background-top {
    height: 150px;
    width: 100%;
    position: fixed;
    top: 0px;
    background: url("../img/bg-top.png") repeat-x bottom;
}

.top-bar li.admin > a{
    background: #f04124 !important;
}
.top-bar .f-dropdown{
    background: #333333;
    -webkit-box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
    box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
}
.top-bar .f-dropdown li{
    width: 100%;
}

 .top-bar-section > ul > .divider, .top-bar-section > ul > [role="separator"],
 .top-bar {
    height: 50px;
}

 .top-bar-section li:not(.has-form) a:not(.button),
 .top-bar-section li.active:not(.has-form) a:not(.button) {
    line-height: 50px;
}

#header .contain-to-grid {
    top: 0px;
    position: fixed;
    z-index: 500;
    background-color: rgba(0, 0, 0, 0.5);
}

#header nav {
    background: none;

}

.top-bar-section ul li > a {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;

}

.f-topbar-fixed {
    padding-top: 0px !important;
}

#body {
    background: #F1F2F3;
    font-family: 'Open Sans', sans-serif;
}

#body.internal{
    margin-top:45px;
    padding-top: 20px;
}
#body .flex-video {
    margin: 0px;
}

#body .row {
    max-width: 100%;
    padding: 40px 0px;
    /*opacity: 0;*/
}

#body h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 200;
    margin-top: 20px;
    text-align: center;
    text-transform: uppercase;
}

#body h3 {
    font-family: 'Roboto Condensed', sans-serif;
}

#body .medium-4 p {
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
}

#body .column .orbit {
    margin: 0px 30px 30px 30px;
    padding: 3px;
    -webkit-box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
    box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
}

#body .column.orbit ul {

}

#footer {
    height: 200px;
    position: relative;
    clear: both;
    background: url("/assets/img/footer_bg.jpg") bottom center;
    background-size: cover;
    -webkit-box-shadow: 0px -1px 20px -1px rgba(0,0,0,0.53);
    -moz-box-shadow: 0px -1px 20px -1px rgba(0,0,0,0.53);
    box-shadow: 0px -1px 20px -1px rgba(0,0,0,0.53);
}

#footer h2{
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: #FFF;
    font-size: 72px;
    padding-top: 0px;
    text-shadow: 1px 1px 5px #000;
    margin: 0px;
    line-height: 50px;
}

#footer h3{
    padding-top: 20px;
    text-align: center;
    color: #FFF;
    font-size: 40px;
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
}

.animated {
    opacity: 1 !important;
}

.ab-line {
    height: 1px;
    width: 40%;
    background: #dadada;
    margin: 0 auto;
    position: relative;
    margin-top: 20px;
    margin-bottom: 50px;
}

.line {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid #dadada;
    display: block;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    top: -2px;
    background: #fff;
}

.button {
    -webkit-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.3);
    box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.3);
    font-family: 'Roboto Condensed', sans-serif;
    z-index: 100;

}

button, .button {
    background: #444;
    border: 1px solid #aaa;
}

#back-top {
    position: fixed;
    bottom:20px;
    right: 2%;
    z-index: 100;
    width: 39px;
    height: 39px;
}

#back-top a {
    width: 39px;
    height: 39px;
    display: block;
    background: url(../img/back_to_top_btn.png) no-repeat;
}

button:hover, button:focus, .button:hover, .button:focus {
    background-color: #111;
}

.fdatepicker{
    width: 300px !important;
}


#attachments{
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
}
#attachments li{
    position: relative;
}
#attachments .attachment{
    width: 100%;
    height: 150px;
    position: relative;
    border:1px solid #777;
    display:block;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    margin-bottom:10px;
}

#attachments .button{
    position: absolute;
    top:0px;
    right: 0px;
    z-index: 10;
}

#attachments .attachment img{
    visibility: hidden;
}

#attachments li{
    padding: 3px 3px 3px 0px;
    margin-right: 3px;
    margin: 0px;
}

button.alert, .button.alert{
    background: rgba(242,69,38,1);
    background: -moz-linear-gradient(top, rgba(242,69,38,1) 0%, rgba(247,85,64,1) 50%, rgba(246,41,14,1) 51%, rgba(240,50,25,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(242,69,38,1)), color-stop(50%, rgba(247,85,64,1)), color-stop(51%, rgba(246,41,14,1)), color-stop(100%, rgba(240,50,25,1)));
    background: -webkit-linear-gradient(top, rgba(242,69,38,1) 0%, rgba(247,85,64,1) 50%, rgba(246,41,14,1) 51%, rgba(240,50,25,1) 100%);
    background: -o-linear-gradient(top, rgba(242,69,38,1) 0%, rgba(247,85,64,1) 50%, rgba(246,41,14,1) 51%, rgba(240,50,25,1) 100%);
    background: -ms-linear-gradient(top, rgba(242,69,38,1) 0%, rgba(247,85,64,1) 50%, rgba(246,41,14,1) 51%, rgba(240,50,25,1) 100%);
    background: linear-gradient(to bottom, rgba(242,69,38,1) 0%, rgba(247,85,64,1) 50%, rgba(246,41,14,1) 51%, rgba(240,50,25,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f24526', endColorstr='#f03219', GradientType=0 );
}


#body.internal{
    margin:0px;

}

#body.internal .column{
  /*  max-width: 62.5rem;*/
}
#body.internal.top{
    margin-top:-120px;
}
#body.internal ul.row{
    list-style: none;
}

#body.internal ul.row h3 a{
    font-size: 45px;
    line-height: 44px;
    font-weight: 100;
    color: #333;
    border-bottom: 1px dashed #aaa;

}

#body.internal ul.row h3 a:hover {
    border: none;
}
#body.internal ul.row .news-cover{
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0px 0px 10px    ;
    -webkit-box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
    box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
    border: 5px solid #eee;
}

#body.internal ul.row .news-cover + p{
    font-size: 14px;
}

#body.internal .row .published{
    font-size: 10px;
}
#body.internal .row .tags{
    position: relative;
    left: auto;
    bottom: auto;
}

#news-cover{
    position: relative;
    height: 300px;
    background-size:   cover;
    background-position: center center;
    margin-bottom: 30px;

}

#body.home #news-cover{
    height: 200px;
    -webkit-box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
    box-shadow: 2px 2px 15px 0px rgba(50, 50, 50, 0.3);
    border: 3px solid #FFF;
}
.home-photo-orbit{
    position: relative;
    height: 300px;
    background-size:   cover;
    background-position: top center;
}

#main-menu .top-bar-section li.active a{
    background: #b20000;
}

#body.internal h1{
    text-transform: none;
    margin-top: 0px;
}

@media only screen and (min-width: 328px) {
    #main-menu h3,
    #header h1 {
        left: 20px;
        font-size: 52px;
    }

    #main-menu h3 small,
    #header h1 small {
        font-size: 12px;
    }

     #header h3 {
        left: 50px;
    }
    #header h2{
        left: 10px;
    }

    #body .row {
        padding: 20px 20px;
    }



}

@media only screen and (max-width: 640px) {
    #header .header-background{
        height: 50px !important;
    }
    #header{
        overflow: visible;
    }
    #main-menu h3,
    #header h1{
        font-size: 32px !important;
        line-height: 10px !important;
        bottom: 5px !important;
        top: inherit!important;
    }
    #main-menu h3 small,
    #header h1 small{
        font-size: 7px !important;
    }
    #header h2, #header h3,
    .top-bar-section,
    .top-bar-section > ul > .divider{
        display:none;
    }
    .top-bar{
        overflow: visible;
    }

    #header .header-background{
        background: #000;
    }

    .top-bar .toggle-topbar.menu-icon{
        margin-top:7px;
    }
    .expanded .top-bar-section{
        display:block;
        top: 51px;
    }
    .expanded .top-bar-section li{
        border-bottom: 1px solid #444;
    }
}

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

    #main-menu h3,
    #header h1 {
        left: 50px;
        font-size: 62px;
    }

    #main-menu h3 small,
    #header h1 small {
        font-size: 14px;
    }

     #header h3 {
        left: 100px;
    }
    #header h2{
        left: 20px;
    }

    #body .row {
        padding: 20px 50px;
    }
}

@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 2) {
    #header h2 {
        color: #000;
    }
}

@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 2) {
    #header h2 {
        color: #000;
    }
}


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

    #header .header-background {
        /*background-attachment: fixed;*/
    }

    #main-menu h3,
    #header h1 {
        left: 100px;
        font-size: 72px;
    }

    #header.internal h1 {
        font-size: 52px;
    }
    #header.internal h1 small {
        font-size: 16px;
    }

    #main-menu h3 small,
    #header h1 small {
        font-size: 16px;
    }

    #header h3 {
        left: 190px;
    }
    #header h2{
        left: 90px;
    }

    #body .row {
        padding: 20px 100px;
    }
}

@media only screen and (min-width: 1400px) {
    #main-menu h3,
    #header h1 {
        left: 100px;
        font-size: 92px;
    }

    #main-menu h3 small,
    #header h1 small {
        font-size: 20px;
    }

    #header h2 {
        left: 230px;
        font-size: 40px;
    }

    #header h3 {
        left: 230px;
    }
}