/* Large desktop */
@media (min-width: 1200px) { 

    .container-fluid{
        max-width:1200px;
        margin-left:auto;
        margin-right:auto;
    }
    body{
        /*background-color: blue*/
    }

    button,
    input,
    select,
    textarea {
        font-size: 100%;
    }

    .carousel .item {
        height: 320px;
        width: 100%;
    }
    .carousel-control {
        color: #222222;
        background: transparent;
        border:0;
        /*background-color: transparent;
        color: #222222;*/
    }

    .carousel-control:hover,
    .carousel-control:focus {
        color: #222222;
        text-decoration: none;
        opacity: 0.9;
        filter: alpha(opacity=90);
    }
    .carousel-control.right {
        left: auto;
        right: 0%;
    }
    .carousel-control.left {
        right: auto;
        left: 0%;
        z-index: 16;
    }    
    .carousel img {
        width: 500px;
        height: 300px;
    }

    .carousel-caption-home {
        width: 600px;
        margin-top: 50px;
        padding: 0 50px;
    }
    .carousel-caption-home h1,
    .carousel-caption-home .lead {
        line-height: 1.25;
        font-size:20px;
    }
    .carousel-caption {
        width: 600px;
        margin-top: 90px;
        padding: 0 40px;
    }

    .carousel-caption h2{
        font-size:20px;
    }
    .carousel-caption h2,
    .carousel-caption .lead {
        line-height: 1.25;
        color: #888;
    }    
    .carousel-indicators {
        /*position: absolute;*/
        position: relative;
        /*top: 15px;*/
        top: -20px;
        /*right: 15px;*/
        left: 0px;
        z-index: 5;
        margin: 0;

        display:inline-block;
        /*background-color: #2a80b9;;*/
        width:100%;
        padding-top: 5px;
        padding-bottom: 5px;
        /*margin-left: 15px;
        margin-right: 15px;*/
        text-align: center;

    }

    .carousel-indicators li {
        /*display: block;*/
        display: inline;
        /*float: left;*/
        float: none;
        /*width: 10px;*/
        /*height: 10px;*/
        margin-left: 15px;
        text-indent: -999px;
        background-color: #ccc;
        background-color: rgba(255, 255, 255, 0.25);
        /*border-radius: 5px;*/
        /*display: inline-block;*/
        padding: 5px 10px;
        background-color: #fff;
        border: 1px solid #ddd;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;    
        /*word-break:keep-all;*/
    }

    .carousel-indicators li > a{
        white-space: nowrap;   
    }

    .carousel-indicators li>a:hover,
    .carousel-indicators li>a:focus {
        text-decoration: none;
    }

    .carousel-indicators li:hover,
    .carousel-indicators li:focus {
        background-color: #f5f5f5;
    }
    .carousel-indicators .active {
        background-color: #2a80b9;
    }

    .carousel-indicators .active a {
        color: #fff;
    }

    .carousel-indicators .active:hover,
    .carousel-indicators .active:focus {
        background-color: #2a80b9;
        background-color: rgba(42,128,185, 0.5);
    }

}

/* Desktop */
@media (min-width: 1100px) and (max-width: 1199px) { 
    body {
        padding-top: 55px;
        font-size: 80%;
        /*background-color: red*/

    } 
    button,
    input,
    select,
    textarea {
        font-size: 90%;
    }
    .navbar {
        font-size: 90%;
    }
    .logo{
        height:25px;
    }

    .navbar .brand {
        padding: 5px 20px 10px;
    }

    .navbar .btn-navbar {
        padding: 5px 10px;
    }
    .navbar-fixed-bottom {
        position: fixed;
        right: 0;
        left: 0;
        z-index: 1030;
        margin-bottom: 0;
    }

    .container.navbar-wrapper {
        margin-bottom: 0;
        width: auto;
    }

    .carousel .item {
        height: 320px;
        width: 100%;
    }
    .carousel-control {
        color: #222222;
        background: transparent;
        border:0;
        /*background-color: transparent;
        color: #222222;*/
    }

    .carousel-control:hover,
    .carousel-control:focus {
        color: #222222;
        text-decoration: none;
        opacity: 0.9;
        filter: alpha(opacity=90);
    }

    .carousel-control.right {
        left: auto;
        right: 0%;
    }
    .carousel-control.left {
        right: auto;
        left: 0%;
        z-index: 16;
    }
    .carousel img {
        width: 500px;
        height: 300px;
        /*height: 200px;*/
    }

    .carousel-caption-home {
        width: 350px;
        margin-top: 70px;
        padding: 0 60px;
    }
    .carousel-caption-home h1,
    .carousel-caption-home .lead {
        line-height: 1.25;
        font-size:20px;
    }
    .carousel-caption {
        width: 350px;
        margin-top: 90px;
        padding: 0 50px;
    }

    .carousel-caption h2{
        font-size:20px;
    }
    .carousel-caption h2,
    .carousel-caption .lead {
        line-height: 1;
        color: #888;
    }
    .carousel-indicators {
        /*position: absolute;*/
        position: relative;
        /*top: 15px;*/
        top: -20px;
        /*right: 15px;*/
        left: 0px;
        z-index: 5;
        margin: 0;

        display:inline-block;
        /*background-color: #2a80b9;;*/
        width:100%;
        padding-top: 5px;
        padding-bottom: 5px;
        /*margin-left: 15px;
        margin-right: 15px;*/
        text-align: center;

    }

    .carousel-indicators li {
        /*display: block;*/
        display: inline;
        /*float: left;*/
        float: none;
        /*width: 10px;*/
        /*height: 10px;*/
        margin-left: 15px;
        text-indent: -999px;
        background-color: #ccc;
        background-color: rgba(255, 255, 255, 0.25);
        /*border-radius: 5px;*/
        /*display: inline-block;*/
        padding: 5px 10px;
        background-color: #fff;
        border: 1px solid #ddd;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;    
        /*word-break:keep-all;*/
    }

    .carousel-indicators li > a{
        white-space: nowrap;   
    }

    .carousel-indicators li>a:hover,
    .carousel-indicators li>a:focus {
        text-decoration: none;
    }

    .carousel-indicators li:hover,
    .carousel-indicators li:focus {
        background-color: #f5f5f5;
    }
    .carousel-indicators .active {
        background-color: #2a80b9;
    }

    .carousel-indicators .active a {
        color: #fff;
    }

    .carousel-indicators .active:hover,
    .carousel-indicators .active:focus {
        background-color: #2a80b9;
        background-color: rgba(42,128,185, 0.5);
    }

}

/* Portrait tablet to landscape and desktop */
@media (min-width: 980px) and (max-width: 1099px) { 

    body {
        /*background-color: green;*/
        padding-top: 0px;
        font-size: 80%;
    } 
    button,
    input,
    select,
    textarea {
        font-size: 90%;
    }

    .logo{
        height:25px;
    }        

    .navbar .brand {
        padding: 5px 20px 10px;
    }

    .navbar .btn-navbar {
        padding: 5px 10px;
    }
    .navbar-fixed-bottom {
        position: fixed;
        right: 0;
        left: 0;
        z-index: 1030;
        margin-bottom: 0;
    }

    .container.navbar-wrapper {
        margin-bottom: 0;
        width: auto;
    }

    .carousel .item {
        height: 320px;
        width: 100%;
    }
    .carousel-control {
        color: #222222;
        background: transparent;
        border:0;
        /*background-color: transparent;
        color: #222222;*/
    }

    .carousel-control:hover,
    .carousel-control:focus {
        color: #222222;
        text-decoration: none;
        opacity: 0.9;
        filter: alpha(opacity=90);
    }
    .carousel-control.right {
        left: auto;
        right: 0%;
    }
    .carousel-control.left {
        right: auto;
        left: 0%;
        z-index: 16;
    }    
    .carousel img {
        width: 500px;
        height: 300px;
        /*height: 200px;*/
    }

    .carousel-caption-home {
        width: 350px;
        margin-top: 70px;
        padding: 0 60px;
    }
    .carousel-caption-home h1,
    .carousel-caption-home .lead {
        line-height: 1.25;
        font-size:20px;
    }
    .carousel-caption {
        width: 350px;
        margin-top: 90px;
        padding: 0 50px;
    }

    .carousel-caption h2{
        font-size:20px;
    }
    .carousel-caption h2,
    .carousel-caption .lead {
        line-height: 1;
        color: #888;
    }    
    .carousel-indicators {
        /*position: absolute;*/
        position: relative;
        /*top: 15px;*/
        top: -20px;
        /*right: 15px;*/
        left: 0px;
        z-index: 5;
        margin: 0;

        display:inline-block;
        /*background-color: #2a80b9;;*/
        width:100%;
        padding-top: 5px;
        padding-bottom: 5px;
        /*margin-left: 15px;
        margin-right: 15px;*/
        text-align: center;

    }

    .carousel-indicators li {
        /*display: block;*/
        display: inline;
        /*float: left;*/
        float: none;
        /*width: 10px;*/
        /*height: 10px;*/
        margin-left: 10px;
        text-indent: -999px;
        background-color: #ccc;
        background-color: rgba(255, 255, 255, 0.25);
        /*border-radius: 5px;*/
        /*display: inline-block;*/
        padding: 4px 5px;
        background-color: #fff;
        border: 1px solid #ddd;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;    
        /*word-break:keep-all;*/
    }

    .carousel-indicators li > a{
        white-space: nowrap;   
    }

    .carousel-indicators li>a:hover,
    .carousel-indicators li>a:focus {
        text-decoration: none;
    }

    .carousel-indicators li:hover,
    .carousel-indicators li:focus {
        background-color: #f5f5f5;
    }
    .carousel-indicators .active {
        background-color: #2a80b9;
    }

    .carousel-indicators .active a {
        color: #fff;
    }

    .carousel-indicators .active:hover,
    .carousel-indicators .active:focus {
        background-color: #2a80b9;
        background-color: rgba(42,128,185, 0.5);
    }

}



/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 
    body {
        padding-top: 0px;
        font-size: 80%;
        /*background-color: pink;*/
    } 

    button,
    input,
    select,
    textarea {
        font-size: 100%;
    }

    .logo{
        height:25px;
    }        

    .navbar .brand {
        padding: 5px 20px 10px;
    }

    .navbar .btn-navbar {
        padding: 5px 10px;
    }
    .navbar-fixed-bottom {
        position: fixed;
        right: 0;
        left: 0;
        z-index: 1030;
        margin-bottom: 0;
    }

    .container.navbar-wrapper {
        margin-bottom: 0;
        width: auto;
    }

    .carousel .item {
        height: 250px;
        width: 100%;
    }
    .carousel-control {
        color: #222222;
        background: transparent;
        border:0;
        /*background-color: transparent;
        color: #222222;*/
    }

    .carousel-control:hover,
    .carousel-control:focus {
        color: #222222;
        text-decoration: none;
        opacity: 0.9;
        filter: alpha(opacity=90);
    }
    .carousel-control.right {
        left: auto;
        right: 0%;
    }
    .carousel-control.left {
        right: auto;
        left: 0%;
        z-index: 16;
    }    
    .carousel img {
        /*width: 360px;*/
        height: 250px;
    }
    .carousel-indicators {
        /*position: absolute;*/
        position: relative;
        /*top: 15px;*/
        top: 0px;
        /*right: 15px;*/
        left: 0px;
        z-index: 5;
        margin: 0;

        display:inline-block;
        /*background-color: #2a80b9;;*/
        width:100%;
        padding-top: 5px;
        padding-bottom: 5px;
        /*margin-left: 15px;
        margin-right: 15px;*/
        text-align: center;

    }

    .carousel-indicators li {
        /*display: block;*/
        display: inline;
        /*float: left;*/
        float: none;
        /*width: 10px;*/
        /*height: 10px;*/
        margin-left: 5px;
        text-indent: -999px;
        background-color: #ccc;
        background-color: rgba(255, 255, 255, 0.25);
        /*border-radius: 5px;*/
        /*display: inline-block;*/
        padding: 2px 4px;
        background-color: #fff;
        border: 1px solid #ddd;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;    
        /*word-break:keep-all;*/
    }

    .carousel-indicators li > a{
        white-space: nowrap;   
    }

    .carousel-indicators li>a:hover,
    .carousel-indicators li>a:focus {
        text-decoration: none;
    }

    .carousel-indicators li:hover,
    .carousel-indicators li:focus {
        background-color: #f5f5f5;
    }
    .carousel-indicators .active {
        background-color: #2a80b9;
        background-color: rgba(42,128,185, 0.5);
    }

    .carousel-indicators .active a {
        color: #fff;
    }

    .carousel-indicators .active:hover,
    .carousel-indicators .active:focus {
        background-color: #2a80b9;
        background-color: rgba(42,128,185, 0.5);
    }
    .carousel-caption-home {
        float:none;
        /*width: 300px;*/
        margin-top: 50px;
        padding: 0 50px;
    }
    .carousel-caption-home h1,
    .carousel-caption-home .lead {
        line-height: 1.25;
        font-size:20px;
    }
    .carousel-caption {
        float:right;
        /*width: 300px;*/
        margin-top: 50px;
        padding: 0 24px;
    }

    .carousel-caption h2{
        font-size:20px;
    }
    .carousel-caption h2,
    .carousel-caption .lead {
        line-height: 1;
        color: #888;
    }    
    .carousel .go-slide img {
        height: 167px;
        margin-top: 50px;
        margin-left: 30px;
    }

    .go-slide .carousel-caption {
        margin-top: 30px;
    }
    .carousel-indicators {
        /*position: absolute;*/
        position: relative;
        /*top: 15px;*/
        top: 0px;
        /*right: 15px;*/
        left: 0px;
        z-index: 5;
        margin: 0;

        display:inline-block;
        /*background-color: #2a80b9;;*/
        width:100%;
        padding-top: 5px;
        padding-bottom: 5px;
        /*margin-left: 15px;
        margin-right: 15px;*/
        text-align: center;

    }

    .carousel-indicators li {
        /*display: block;*/
        display: inline;
        /*float: left;*/
        float: none;
        /*width: 10px;*/
        /*height: 10px;*/
        margin-left: 5px;
        text-indent: -999px;
        background-color: #ccc;
        background-color: rgba(255, 255, 255, 0.25);
        /*border-radius: 5px;*/
        /*display: inline-block;*/
        padding: 2px 4px;
        background-color: #fff;
        border: 1px solid #ddd;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;    
        /*word-break:keep-all;*/
    }

    .carousel-indicators li > a{
        white-space: nowrap;   
    }

    .carousel-indicators li>a:hover,
    .carousel-indicators li>a:focus {
        text-decoration: none;
    }

    .carousel-indicators li:hover,
    .carousel-indicators li:focus {
        background-color: #f5f5f5;
    }
    .carousel-indicators .active {
        background-color: #2a80b9;
    }

    .carousel-indicators .active a {
        color: #fff;
    }

    .carousel-indicators .active:hover,
    .carousel-indicators .active:focus {
        background-color: #2a80b9;
        background-color: rgba(42,128,185, 0.5);
    }
}


/* From portrait tablet to landscape phones and down */
@media (max-width: 767px) { 
    .carousel-control.right {
        left: auto;
        right: 0%;
    }
    .carousel-control.left {
        right: auto;
        left: 0%;
        z-index: 16;
    }    
    body {
        padding-top: 0px;
        font-size: 80%;
        /*background-color: grey;*/
    } 
    button,
    input,
    select,
    textarea {
        font-size: 100%;
    }
    .logo{
        height:25px;
    }        

    .navbar .brand {
        padding: 5px 20px 10px;
    }

    .navbar .btn-navbar {
        padding: 5px 10px;
    }
    .navbar-fixed-bottom {
        position: fixed;
        right: 0;
        left: 0;
        z-index: 1030;
        margin-bottom: 0;
    }

    .container.navbar-wrapper {
        margin-bottom: 0;
        width: auto;
    }

    .carousel .item {
        height: 220px;
        margin-left: 0px;
        margin-right: 0px;
    }

    .carousel img {
        width: 100%;
        height: 220px;
    }

    .carousel-caption-home {
        width: 100%;
        position:absolute;
        margin-top: 80px;
        padding: 0px;
    }
    .carousel-caption-home h1,
    .carousel-caption-home .lead {
        text-align:center;
        margin-left:35px;
        margin-right:35px;
        line-height: 1.25;
        font-size:20px;
    }

    .main-logo{
        background-color: #E8E8E8;
        background: rgba(232,232,232, 0.75);
    }

    .main-logo img{
        max-height: 100px;
    }
    .carousel-caption {
        background-color: #E8E8E8;
        width: 100%;
        position:absolute;
        bottom: 0px;
        padding: 10px 35px;

    }
    .carousel-caption p{
        width:100%;
        text-align:center;
        margin-left:10px;
        margin-right:10px;

    }
    .carousel-caption h2{
        text-align:center;
        font-size:20px;
    }
    .carousel-caption h2,
    .carousel-caption .lead {
        font-size: 18px;
        line-height: 1;
        color: #888;
    }
    .carousel-caption h2,
    .carousel-caption a,
    .carousel-caption .lead {
        margin-left:35px;
        margin-right:35px;
    }
    h1.white-caption{
        color:#fff;
    }

    .carousel .go-slide img {
        height: 220px;
        /*        width: 100%;*/
        margin-top: 0px;
        margin-left: 0px;
    }

    .go-slide .carousel-caption {
        width: 100%;
        position:absolute;
        bottom: 0px;
        padding: 10px 35px;

    }

    .carousel-caption {
        background: #333333;
        background: rgba(0, 0, 0, 0.75);
    }

    .carousel-caption h4,
    .carousel-caption p {
        line-height: 20px;
        color: #ffffff;
    }
    .carousel-control {
        z-index: 10;
        top:150px;    
    }
    .carousel-indicators {
        /*position: absolute;*/
        position: relative;
        /*top: 15px;*/
        top: 0px;
        /*right: 15px;*/
        left: 0px;
        z-index: 5;
        margin: 0;

        display:inline-block;
        /*background-color: #2a80b9;;*/
        width:100%;
        padding-top: 5px;
        padding-bottom: 5px;
        /*margin-left: 15px;
        margin-right: 15px;*/
        text-align: center;

    }

    .carousel-indicators li {
        /*display: block;*/
        display: inline;
        /*float: left;*/
        float: none;
        /*width: 10px;*/
        /*height: 10px;*/
        margin-left: 5px;
        text-indent: -999px;
        background-color: #ccc;
        background-color: rgba(255, 255, 255, 0.25);
        /*border-radius: 5px;*/
        /*display: inline-block;*/
        padding: 1px 4px;
        background-color: #fff;
        border: 1px solid #ddd;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;    
        /*word-break:keep-all;*/
    }

    .carousel-indicators li > a{
        white-space: nowrap;   
    }

    .carousel-indicators li>a:hover,
    .carousel-indicators li>a:focus {
        text-decoration: none;
    }

    .carousel-indicators li:hover,
    .carousel-indicators li:focus {
        background-color: #f5f5f5;
    }
    .carousel-indicators .active {
        background-color: #2a80b9;
    }

    .carousel-indicators .active a {
        color: #fff;
    }

    .carousel-indicators .active:hover,
    .carousel-indicators .active:focus {
        background-color: #2a80b9;
        background-color: rgba(42,128,185, 0.5);
    }
    .modal2 {
        position: fixed;
        top: 20px;
        right: 20px;
        left: 20px;
        width: auto;
        margin: 0;
    }   
    .idb-pad-60{
        padding-left:7px;
        padding-top:0px;
    }
    .idb-pad-30{
        padding-left:5px;
    }

}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
    button,
    input,
    select,
    textarea {
        font-size: 100%;
    }
    #footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}


@media (max-width: 1099px) {
    body {
        padding-top: 0;
    }
    .navbar-fixed-top,
    .navbar-fixed-bottom {
        position: static;
    }
    .navbar-fixed-top {
        margin-bottom: 20px;
    }
    .navbar-fixed-bottom {
        margin-top: 20px;
    }
    .navbar-fixed-top .navbar-inner,
    .navbar-fixed-bottom .navbar-inner {
        padding: 5px;
    }
    .navbar .container {
        width: auto;
        padding: 0;
    }
    .navbar .brand {
        padding-right: 10px;
        padding-left: 10px;
        margin: 0 0 0 -5px;
    }
    .nav-collapse {
        clear: both;
    }
    .nav-collapse .nav {
        float: none;
        margin: 0 0 10px;
    }
    .nav-collapse .nav > li {
        float: none;
    }
    .nav-collapse .nav > li > a {
        margin-bottom: 2px;
    }
    .nav-collapse .nav > .divider-vertical {
        display: none;
    }
    .nav-collapse .nav .nav-header {
        color: #777777;
        text-shadow: none;
    }
    .nav-collapse .nav > li > a,
    .nav-collapse .dropdown-menu a {
        padding: 9px 15px;
        font-weight: bold;
        color: #777777;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }
    .nav-collapse .btn {
        padding: 4px 10px 4px;
        font-weight: normal;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }
    .nav-collapse .dropdown-menu li + li a {
        margin-bottom: 2px;
    }
    .nav-collapse .nav > li > a:hover,
    .nav-collapse .nav > li > a:focus,
    .nav-collapse .dropdown-menu a:hover,
    .nav-collapse .dropdown-menu a:focus {
        background-color: #2a80b9 \9;
    }
    .nav-collapse.in .btn-group {
        padding: 0;
        margin-top: 5px;
    }
    .nav-collapse .dropdown-menu {
        position: static;
        top: auto;
        left: auto;
        display: none;
        float: none;
        max-width: none;
        padding: 0;
        margin: 0 15px;
        background-color: transparent;
        border: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    .nav-collapse .open > .dropdown-menu {
        display: block;
    }
    .nav-collapse .dropdown-menu:before,
    .nav-collapse .dropdown-menu:after {
        display: none;
    }
    .nav-collapse .dropdown-menu .divider {
        display: none;
    }
    .nav-collapse .nav > li > .dropdown-menu:before,
    .nav-collapse .nav > li > .dropdown-menu:after {
        display: none;
    }
    .nav-collapse .navbar-form,
    .nav-collapse .navbar-search {
        float: none;
        padding: 10px 15px;
        margin: 10px 0;
        border-top: 1px solid #f2f2f2;
        border-bottom: 1px solid #f2f2f2;
        -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
        -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    .navbar .nav-collapse .nav.pull-right {
        float: none;
        margin-left: 0;
    }
    .nav-collapse,
    .nav-collapse.collapse {
        height: 0;
        overflow: hidden;
    }
    .navbar .btn-navbar {
        display: block;
    }
    .navbar-static .navbar-inner {
        padding-right: 10px;
        padding-left: 10px;
    }
    .nav-collapse .nav .nav-header {
        color: #d5e5f1;
    }
    .nav-collapse .nav > li > a,
    .nav-collapse .dropdown-menu a {
        color: #d5e5f1;
    }

}


@media (min-width: 1100px) {
    /* It doesn't work if bootstrap-responsive.css is included */
    .nav-collapse.collapse {
        height: auto !important;
        overflow: visible !important;
    }
}
.carousel-caption-home2 {
    margin-top: 5px;
}


