
/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    background-color: #3b4781;
    font-size: 12px; /*0.70em;*/
    font-family: Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #fff;
    line-height: 1.45;
    /*För Footer*/
    /* -webkit-text-size-adjust:100%; för att sidan inte ska bli större i liggande view */
    /*scrollbar-face-color: #293159;
    scrollbar-shadow-color: #181d35;
    scrollbar-highlight-color: #525f96;
    scrollbar-3dlight-color: #3b4781;
    scrollbar-darkshadow-color: #3b4781;
    scrollbar-track-color: #3b4781;
    scrollbar-arrow-color: #fff;*/

    background: #3b4781 url(images/top_sbs.gif) repeat-x top left;
}

/*För Footer*/
#body {
    height: 100%;
    padding: 10px;
    padding-bottom: 63px; /* Height of the footer */
}


a:link {
    color: #fff; /* #919acb;   */
    text-decoration: none;
    cursor: pointer;
}

a:visited {
    color: #fff; /*#919acb;*/
    text-decoration: none;
}

a:hover {
    color: #919acb;
    text-decoration: none;
    cursor: pointer;
}

a:active {
    color: #fff; /* #12eb87;*/
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.2em;
    color: #fff;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */

.page {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

header, #header {
    position: relative;
    height: 79px;
    width: 100%;
    /*margin-left: auto;
    margin-right: auto;*/
    /*background:url(images/top_sbs.gif) repeat-x top left;*/
}

    header h1, #header h1 {
        font-weight: bold;
        padding: 5px 0;
        margin: 0;
        color: #fff;
        border: none;
        line-height: 2em;
        font-size: 32px !important;
        text-shadow: 1px 1px 2px #111;
    }

#main {
    width: 90%;
    margin: 40px auto 0 auto; /*55px*/
    padding: 0px 0px 0px 0px; /*padding: 20px 20px 10px 20px; */
    border: 0px solid #919acb;
    text-align: left;
    /*overflow-y:hidden;
    overflow-x:auto;*/
    /*För Footer*/
    min-height: 100%;
    height: 100%;
    position: relative;
    padding-bottom: 80px; /* Height of the footer */
}

footer, #footer {
    position: fixed;
    height: 63px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background: url(images/bot_sbs.png) repeat-x top left;
}
/*Hide footer if phone*/
@media only screen and (max-device-width : 480px) {
    footer, #footer {
        display: none;
    }
}

@media only screen and (max-device-width : 768px) (orientation:portrait) {
    /* portrait styles here */
    footer, #footer {
        width: 768px;
    }
}

@media only screen and (max-device-width : 1024px) and (orientation:landscape) {
    /* portrait styles here */
    footer, #footer {
        width: 1024px;
    }
}

/* HEADER + BOTTOM ITEMS
----------------------------------------------------------*/

.GBClogo {
    float: left;
    display: inline;
    height: 47px;
    /*width:382px;*/
    width: 90%;
    max-width: 382px;
    margin: 16px 5px 0px 10px;
    background: url(images/logo.gif) no-repeat top left;
    background-size: contain;
}

.ViewingSiteAs {
    font-family: Verdana;
    font-size: 14px;
    font-weight: bold;
    float: left;
    margin: 28px 0px 0px 20px;
}

.btns_ico_top {
    float: right;
}

.btn_ico_top, .btn_ico_bot, .btn_loggaUt {
    float: right;
    display: inline;
    height: 47px;
    width: 52px;
    max-width: 52px;
    margin: 20px 10px 0px 0px;
    border: 0px;
    cursor: pointer;
}

.btn_ico_bot {
    float: left;
    display: inline;
    margin: 10px 0px 0px 10px;
}

.btn_loggaUt {
    width: 126px;
    max-width: 126px;
    background: url(images/btn_loggaUt.gif);
    background-size: 100% 100%;
}



.btn_neutral, .btn_neutralGreen, .btn_neutralPurp {
    float: right;
    display: inline;
    width: 179px;
    height: 46px;
    border: 0px;
    cursor: pointer;
    margin: 10px 10px 0px 0px;
    background: url(images/btn_neutral.png) no-repeat center center;
}

.btn_neutralGreen {
    background: url(images/btn_neutralGreen.png) no-repeat center center;
}

.btn_neutralPurp {
    background: url(images/btn_neutralPurp.png) no-repeat center center;
}

.btn_neutral_text, .btn_neutral_text a:link {
    text-align: center;
    Color: #fff;
    font-weight: bold;
    margin-top: 15px;
}


/* GENERAL ITEMS
----------------------------------------------------------*/

.seperator {
    float: left;
    clear: both;
    margin: 25px 0px 14px 0px;
    /*min-height:32px;*/
    min-height: 3px;
    width: 100%;
    /*background:url(images/line_sbs.gif) repeat-x center center;*/
    background: url(images/line_sbs.gif) repeat-x bottom;
}

.seperator_text {
    margin: 0px 0px 1px 10px;
    padding: 0px 0px 0px 0px;
    /*min-height:18px;*/
    font-weight: bold;
    color: #99a2c9;
    text-transform: uppercase;
}

.btn_backMfl, .btn_backMfl_long, .btn_special {
    float: left;
    display: inline;
    height: 44px;
    width: 227px;
    margin: 30px 10px 15px 0px;
    border: 0px;
    cursor: pointer;
    background: url(images/btn_backMfl.gif) no-repeat center center;
}

.btn_backMfl_long {
    margin: 30px 10px 15px 0px;
    height: 50px;
    /*width:640px;*/
    width: 100%;
    max-width: 640px;
    background: url(images/btn_backMfl_long.gif) no-repeat center center;
    background-size: 100% 50px;
}

.btn_backMfl_text, .btn_backMfl_text a:link {
    text-align: center;
    Color: #fff;
    font-weight: bold;
    margin-top: 15px;
}

.btn_backMfl_text_long, .btn_backMfl_text_long a:link {
    text-align: center;
    Color: #fff;
    font-weight: bold;
    margin-top: 18px;
}

.btn_special {
    background: url(images/btn_Special.gif) no-repeat center center;
}

.btn_slim {
    float: left;
    display: block;
    border: 1px solid #44518d;
    background-color: #242b4e;
    text-align: center;
    font-weight: bold;
    margin: 0px 10px 0px 10px;
    padding: 4px 5px 4px 5px;
    color: White;
    cursor: pointer;
}

.general_label {
    font-weight: bold;
    margin: 1em 0 0 0;
}

.general_txtbox, .general_txtbox_sbs {
    margin: 0.5em 0 0.5em 0;
}

    .general_txtbox input, .general_txtbox_sbs input {
        border: 1px solid #ccc;
        padding: 2px;
        font-size: 1.2em;
        color: #444;
        width: 170px;
    }

    .general_txtbox_sbs input {
        float: left;
        display: block;
    }

.txtbox_multi, .txtbox_multi_big, .general_txtbox_slim {
    float: left;
    display: block;
    height: 90px;
    width: 400px;
}

.txtbox_multi_big {
    height: 100px;
}

.general_txtbox_slim {
    height: 18px;
}

.droplist {
    float: left;
    clear: both;
    width: 250px;
    margin: 10px 0px 0px 0px;
}

.droplist_sbs {
    float: left;
    display: inline;
    width: 120px;
    margin: 0px 10px 0px 0px;
}

.radiolist {
    float: left;
    display: inline;
    font-weight: bold;
    margin: 0px 15px 0px 10px;
}

.checkboxlist {
    width: 200px;
    float: left;
    display: inline;
    font-weight: bold;
    margin: 0px 15px 10px 10px;
}


.info_ico, .info_ico2 {
    clear: both;
    /*height:20px;*/
    min-height: 20px;
    background: url(images/ico_info.png) no-repeat top left;
    padding-left: 20px;
    margin: 0px 0px 0px 10px;
    border: 0px solid;
    border-style: none;
}

.info_ico2 {
    margin: 0px 0px 0px 0px;
}

.scrollContainer {
    margin: 0px 0px 0px 0px;
    max-height: 200px;
    overflow: auto;
}

.nrofrows {
    font-size: 10px;
    float: left;
    margin-left: 2px;
    color: #6a77b0;
}

/* LOADING   
----------------------------------------------------------*/

.pageLoader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    margin-left: 0;
    margin-top: 0;
    background-color: rgba(0, 0, 0, 0.4);
    border: 0px solid white;
    color: White;
    height: 100%;
    width: 100%;
    text-align: center;
    font-weight: bold;
    z-index: 100;
}

.pageLoaderImg {
    clear: both;
    /*background:url(images/loader.gif) no-repeat bottom center;*/
    height: 45%; /*32px;*/
    width: 100%;
    margin-bottom: 10px;
}

/* CALENDAR   
----------------------------------------------------------*/

.datepicker_back {
    float: left;
    display: inline;
    width: 500px;
    margin: 0px 0px 0px 0px;
}

.datepicker_txtbox {
    float: left;
    display: inline;
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 150px;
}

.betweenArrow {
    float: left;
    display: inline;
    width: 16px;
    height: 16px;
    background: url(images/img_Arrow.gif) no-repeat top left;
    margin: 5px 5px 0px 5px;
}


/* POSITION HELPERS
----------------------------------------------------------*/

.positionContainer {
    float: left;
    clear: both;
    display: inline-block;
    width: 97%;
    margin: 20px 0px 10px 10px;
    /*overflow-y:auto;*/
}

.nosbs {
    float: left;
    display: inline-block;
    clear: both;
}

.sbs {
    float: left;
    display: inline;
}

.center {
    text-align: center
}


/* FORM LAYOUT ELEMENTS (LOG ON)  
----------------------------------------------------------*/


textarea {
    min-height: 75px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav,
#menucontainer {
    margin-top: 40px;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#logindisplay {
    font-size: 1.1em;
    text-align: right;
    margin: 10px;
    color: White;
}

    #logindisplay a:link {
        color: white;
        text-decoration: underline;
    }

    #logindisplay a:visited {
        color: white;
        text-decoration: underline;
    }

    #logindisplay a:hover {
        color: white;
        text-decoration: none;
    }

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/


.text-box {
    width: 30em;
}


.tri-state {
    width: 6em;
}




/* TAB MENU   
----------------------------------------------------------
ul#menu {
    border-bottom: 1px #5C87B2 solid;
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: right;
}

ul#menu li {
    display: inline;
    list-style: none;
}

ul#menu li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    color: #034af3;
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
}

ul#menu li a:hover {
    background-color: #fff;
    text-decoration: none;
}

ul#menu li a:active {
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu li.selected a {
    background-color: #fff;
    color: #000;
}*/


/*SMALL SCREEN FIX*/
@media only screen and (max-width : 720px) { /*max-width : 900px*/
    .GBClogo {
        /*width:42%;*/
        background-size: auto;
        width: 125px;
    }

    #main {
        margin-top: 0px;
    }

    .Table_Uppdrag_Pers, .Table_Uppdrag_Org {
        margin-bottom: 10px !important;
    }

    .seperator {
        margin: 0px;
    }

    .positionContainer {
        /*margin-top:0px;*/
        /*margin-bottom:0px;*/
        width: 100%;
        margin: 10px 0px 10px 0px;
    }
    /*.btn_backMfl, .btn_backMfl_long, .btn_special {
        margin:0px;
    }*/
    .mainSpan {
        display: none;
    }
}

@media only screen and (max-width : 620px) {
    .GBClogo {
        /*display:none;*/
        /*background-size:auto;
        width:125px;*/
    }
    /*.btn_ico_top, .btn_loggaUt {
        margin-top:0px;
    }*/
    .ViewingSiteAs {
        font-size: 10px;
        color: #8994c9;
        clear: both;
        margin-top: 3px;
        margin-bottom: 0px;
        position: absolute;
    }
}

@media only screen and (max-width : 470px) {
    .GBClogo {
        display: none;
    }

    .btn_ico_top {
        /*width:17%;*/
    }
    /*.btn_loggaUt {
        margin-right:25px;
    }*/
    .btns_ico_top {
        float: left;
        margin-left: 10px;
    }

    .btn_loggaUt {
        width: 81px;
        max-width: 81px;
        background: url(images/btn_loggaUt_mobil.gif);
        background-size: 100% 100%;
        width: 30%;
    }
}


/*MOBILE FIX*/
/*@media only screen and (max-device-width : 700px) {*/


/*Hide logo if phone*/
/*.GBClogo {
        display:none;
    }*/
/*Hide footer if phone*/
/*footer, #footer {
        display:none;
    }
}*/
