/* Created by http://webskaper.no */

.responsive body
{
   min-width: 240px;
}
  
.responsive img 
{
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}  
  
.responsive .altcontent-layout img,
.responsive .altcontent-layout video
{
   max-width: 100%;
   height: auto !important;
}

.responsive.responsive-phone .altcontent-layout img 
{
   margin: 1%;
}

.responsive.responsive-phone .altcollage,
.responsive.responsive-tablet .altcollage {
   margin: 0 !important;
}

.responsive .altcontent-layout .altsidebar0, 
.responsive .altcontent-layout .altsidebar1, 
.responsive .altcontent-layout .altsidebar2 
{
   width: auto !important;
}
    
.responsive .altcontent-layout, 
.responsive .altcontent-layout-row, 
.responsive .altlayout-cell 
{
   display: block;
}

.responsive .altcontent-layout, 
.responsive .altcontent-layout-row
{
   padding: 0;
}
    
.responsive .image-caption-wrapper 
{
   width: auto;
}

.responsive.responsive-tablet .altvmenublock,
.responsive.responsive-tablet .altblock
{
   margin-left: 1%;
   margin-right: 1%;
   width: 48%;
   float: left;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.responsive .altresponsive-embed 
{
   height: 0;
   padding-bottom: 56.25%;
   /* 16:9 */
    position: relative;
}

.responsive .altresponsive-embed iframe,
.responsive .altresponsive-embed object,
.responsive .altresponsive-embed embed
{
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}

.responsive .altheader 
{
   width: auto !important;
   max-width: none !important;
   min-height: 100px !important;
   min-width: 0 !important;
   text-align: center;
}

.default-responsive .altheader 
{
   height: auto;
}

.default-responsive .altheader *
{
   position: relative;
   text-align: center;
   -webkit-transform: none !important;
   -moz-transform: none !important;
   -o-transform: none !important;
   -ms-transform: none !important;
   transform: none !important;
}

.default-responsive .altheader .altheadline, 
.default-responsive .altheader .altslogan 
{
   display: block !important;
   top: 0 !important;
   left: 0 !important;
   margin: 2% !important;
   text-align: center !important;
}
    
.default-responsive .altheader .altheadline a, 
.default-responsive .altheader .altslogan 
{
   white-space: normal !important;
}

.default-responsive .altheader .altlogo
{
   display: inline-block;
   margin: auto !important;
   left: auto;
   top: auto !important;
   width: auto;
   height: auto;
}

.responsive .altheader .altslidenavigator 
{
   position: absolute;
}

.default-responsive .altheader .altpositioncontrol 
{
   display: block !important;
   position: relative !important;
   top: auto !important;
   right: auto !important;
   bottom: auto !important;
   left: auto !important;
   margin: 2% auto !important;
   width: auto !important;
   height: auto !important;
}

.responsive .altheader #altflash-area
{
   display: none;
}

/* Search and other elements in header element directly */
.default-responsive .altheader>.alttextblock
{
   position: relative !important;
   display: block !important;
   margin: 1% auto !important;
   width: 75% !important;
   top: auto !important;
   right: auto !important;
   bottom: auto !important;
   left: auto !important;
}

.default-responsive .altheader .alttextblock 
{
   position: relative !important;
   display: block !important;
   margin: auto !important;
   left: 0 !important;
   right: 0 !important;
   top: auto !important;
   height: auto !important;
   width: auto;
   background-image: none;
}

/* '.altheader *' used noram align, but for '.alttextblock *' we must force align because of preview */
.responsive .altheader .alttextblock *
{
   text-align: center !important;
}

.default-responsive .altheader .altshapes > .alttextblock,
.default-responsive .altheader .altslide-item > .alttextblock
{
   display: none !important;
}

.default-responsive .altheader .altshapes > .alttextblock *
{
   text-align: center !important;
   width: auto !important;
   height: auto !important;
   display: block;
}

.default-responsive .altheader .altslider .alttextblock *
{
   text-align: center !important;
   width: auto !important;
   height: auto !important;
   display: block;
}

/* For icons like facebook, rss, etc. */
.responsive .altheader>.alttextblock>div 
{
   width: 100%;
}
.responsive .altsheet
{
   width: auto !important;
   min-width: 240px !important;
   max-width: none !important;
   margin-right: 1% !important;
   margin-left: 1% !important;
   margin-top: 1% !important;
}

#altresp {
   display: none;
}

@media all and (max-width: 1499px)
{
    #altresp, #altresp-t { display: block; }
    #altresp-m { display: none; }
}

@media all and (max-width: 480px)
{
    #altresp, #altresp-m { display: block; }
    #altresp-t { display: none; }
}

#altresp-desktop {
   display: none;
}
#altresp-tablet-landscape {
   display: none;
}
#altresp-tablet-portrait {
   display: none;
}
#altresp-phone-landscape {
   display: none;
}
#altresp-phone-portrait {
   display: none;
}

@media (min-width: 1200px)
{
    #altresp-desktop { display: block; }
}

@media (min-width: 980px) and (max-width: 1199px)
{
    #altresp-tablet-landscape { display: block; }
}

@media (min-width: 768px) and (max-width: 979px)
{
    #altresp-tablet-portrait { display: block; }
}

@media (min-width: 480px) and (max-width: 767px)
{
    #altresp-phone-landscape { display: block; }
}

@media (max-width: 479px)
{
    #altresp-phone-portrait { display: block; }
}
.responsive .altcontent-layout, 
.responsive .altcontent-layout-row, 
.responsive .altlayout-cell 
{
   display: block;
}

.responsive .altlayout-cell 
{
   width: auto !important;
   height: auto !important;
}

.responsive .altcontent-layout:after, 
.responsive .altcontent-layout-row:after, 
.responsive .altlayout-cell:after 
{
   content: ".";
   display: block;
   height: 0;
   clear: both;
   visibility: hidden;
}

.responsive .responsive-tablet-layout-cell,
.responsive.responsive-tablet .altfooter .altcontent-layout .altlayout-cell 
{
   margin: 1%;
   width: 98% !important;
   float: left;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

.responsive .responsive-layout-row-2 .responsive-tablet-layout-cell,
.responsive.responsive-tablet .altfooter .altcontent-layout .responsive-layout-row-2 .altlayout-cell
{
   width: 48% !important;
}

.responsive .responsive-layout-row-3 .responsive-tablet-layout-cell,
.responsive.responsive-tablet .altfooter .altcontent-layout .responsive-layout-row-3 .altlayout-cell
{
   width: 31% !important;
}
.responsive .altpost
{
   border-radius: 0;
}

.responsive .altfooter-inner
{
   width: auto;
   padding: 2% !important;
}
.responsive .altfooter
{
   margin-top: 1%;
}

