/**************  INDEX:
Structure
CONTENT
	links
	lists
	images
	headings
	miscellaneous
	google maps
	Tables
	form adjustments
	rows, columns
NAVIGATION
FOOTER   
RESPONSIVE stuff          ************/


/***********  structure **************/

body {
    background: #efefef url('images/background1.png');
    font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-size: 14px;
    line-height: 1.1;
    color: #222222;
    position: relative;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

#container {
    width: 100%;
    height: auto;
    background: #fff;
    border: 1px solid #ccc;
}

#inside {
    max-width: 940px;
    min-width: 300px;
    margin: 0 auto;
}

.right {
    float: right;
}

.left {
    float: left;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}


/*** CONTENT ***/

p {
    overflow-wrap: break-word;
    line-height: 1.3;
    margin-bottom: 8px;
    margin-bottom: calc(6px + 0.4vw);
}

#hdr {
    min-height: 50px;
    width: 100%;
    height: auto;
    background-color: white;
}

#menu {
    width: 100%;
    margin-top: 8px !important;
    background-color: #17497B !important;
}

#content {
    max-width: 940px;
    height: auto;
    margin-bottom: 10px !important;
    padding: 12px;
    background-color: white;
}

#hdr:after,
#menu:after,
#content:after,
#footer:after {
    clear: both;
}


/**************  links  **************/

#content a {
    color: #2ba6cb;
    text-decoration: none;
    line-height: inherit;
}

#content a:hover {
    color: #2795b6;
}


/**********************   lists ******************/

#content ul {
    list-style-type: disc;
    list-style-position: outside;
}

#content ul li {
    line-height: 1.5;
    margin-left: 20px;
    margin-left: calc(10px + 2vw);
}


/******************   IMAGES   ***********************/

img {
    image-rendering: auto;
    display: block;
    margin: 5px 15px;
    -o-object-fit: cover;
    object-fit: cover;
    max-width: 100%;
    border-radius: 15px;
}

#Photos {
    margin: auto;
}

#Photos .sohorow:not(:first-child) .sohotext {
    margin-top: 12px;
    width: 97%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#Photos #content-parent img {
    margin: auto;
    margin-top: -7px;
}

#Photos p {
    text-align: center;
}

#hdr img {
    margin: 0 !important;
}


/**************  Headings ************/

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    margin-bottom: calc(6px + 0.4vw);
    margin-top: calc(2px + 0.5vw);
    margin-right: calc(10px + 0.8vw);
}

h1 {
    font-size: 18px;
    font-size: calc(15px + .5vw);
}

h2 {
    font-size: 16px;
    font-size: calc(13px + .5vw);
}

h3 {
    font-size: 14px;
    font-size: calc(11px + .5vw);
}

h1 a {
    font-size: 13px;
    font-size: calc(10px + .5vw);
}

h2 a {
    font-size: 13px;
    font-size: calc(10px + .5vw) !important;
}


/**********  Miscellaneous ****************/

.uniBlue {
    color: #002E62;
}

.uniRed {
    color: #C4122C;
}

.logo_red {
    color: #c51230 !important;
}

.QRcode {
    float: right;
    text-align: right;
    font-weight: 700;
    margin-left: 15px;
}

.QRcode img {
    margin: 0 !important;
}

.buffer {
    width: 12px;
    width: calc(8px + 1vw);
}

.adjusted {
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    margin-right: 35px;
}

.star-B {
    padding-left: 40px;
}

.star-B:before {
    content: " *** ";
    display: inline;
    margin-left: -10px;
    color: #c51230 !important;
    font-weight: bold;
}

.star-A:after {
    content: " *** ";
    display: inline;
    margin-right: -10px;
    color: #c51230 !important;
    font-weight: bold;
}


/**********  Google Map  parameters   ***********/

#map {
    height: 0;
    width: 100%;
    padding-bottom: 60%;
    /* aspect ratio */
}


/*************  tables   ********************/

table {
    background: #fff;
    border-radius: 3px;
    margin: 0 0 18px;
    border: 1px solid #ddd;
    overflow-x: auto;
}

table thead tr th,
table tfoot tr th,
table tbody tr td,
table tr td,
table th,
table tfoot tr td {
    line-height: calc(10px + 0.5vw);
    text-align: left;
    vertical-align: top;
    padding-right: 20px;
    padding-bottom: 8px;
}

table tbody tr td {
    color: #333;
    border: none;
}

table td:nth-child(2) {
    padding-left: 10px;
}

#contact-table {
    height: 100%;
    width: 100%;
    max-width: 100%;
    margin-right: 3vw !important;
    border: 3px solid #E5E5E5 !important;
    border-bottom: 8px solid #2475BE !important;
    padding: 5px;
    float: left !important;
}


/******  form adjustments ************/

#userform-submit_btn {
    color: #c51230 !important;
    font-size: 16px;
    font-weight: bold;
}

input[type="text"],
textarea {
    width: auto !important;
}

#form_body_container {
    height: 100%;
    width: auto;
    margin-right: 3vw !important;
    border: 3px solid #E5E5E5 !important;
    border-bottom: 8px solid #2475BE !important;
    float: left !important;
}

.myform-input_container {
    font-size: calc(11px + 0.4vw) !important;
}

.field-container {
    margin-bottom: 0px !important;
    font-size: 12px;
}

.field-container img {
    display: block !important;
    width: 250px;
    width: calc(100px + 4vw) !important;
    height: auto !important;
    margin: 0 !important;
}

.field-container #cap {
    margin-left: 15px;
    width: 65px;
}


/*** Main Navigation ***/

.nav-bar {
    background: #4d4d4d;
    height: auto;
    margin-top: 10px;
}

.nav-bar,
li.flymenu {
    border-radius: 3px;
    background: rgb(125, 185, 232);
    /* Old browsers */
    /* FF3.6+ */
    /* Chrome,Safari4+ */
    /* Chrome10+,Safari5.1+ */
    /* Opera 11.10+ */
    /* IE10+ */
    background: linear-gradient(top, rgba(125, 185, 232, 1) 0%, rgba(32, 124, 202, 1) 0%, rgba(31, 113, 168, 1) 0%, rgba(21, 61, 109, 1) 100%);
    /* W3C */
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#7db9e8', endColorstr='#153d6d', GradientType=0);
    /* IE6-9 */
}

.flyout {
    background: #AEEBFF;
    padding: 20px;
    margin: 0;
    position: absolute;
    left: -1px;
    z-index: 40;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.flyout *:first-child {
    margin-top: 10px;
}

.flyout *:last-child {
    margin: 0;
}

.nav-bar .flymenu:hover {
    background: rgb(125, 185, 232);
    /* Old browsers */
    /* FF3.6+ */
    /* Chrome,Safari4+ */
    /* Chrome10+,Safari5.1+ */
    /* Opera 11.10+ */
    /* IE10+ */
    background: linear-gradient(top, rgba(125, 185, 232, 1) 0%, rgba(32, 124, 202, 1) 0%, rgba(41, 137, 216, 1) 0%, rgba(30, 87, 153, 1) 100%);
    /* W3C */
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#7db9e8', endColorstr='#1e5799', GradientType=0);
    /* IE6-9 */
}

.nav-bar>li {
    float: left;
    display: block;
    position: relative;
    margin: 0;
    border: 1px solid #333333;
    border-right: none;
    line-height: 36px;
    max-height: 36px;
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset;
}

.nav-bar>li:first-child {
    box-shadow: 0 0 0;
}

.nav-bar>li:last-child {
    border-right: solid 1px #333333;
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset, 1px 0 0 rgba(255, 255, 255, 0.2);
}

.nav-bar>li.active {
    background: #2ba6cb;
    border-color: #2284a1;
}

.nav-bar>li.active a {
    cursor: default;
}

.nav-bar>li.active:hover {
    background: #2ba6cb;
    cursor: default;
}

.nav-bar>li:hover {
    background: #333333;
}

.nav-bar>li a {
    color: #e6e6e6;
}

.nav-bar>li ul {
    margin-bottom: 0;
}

.nav-bar>li .flyout {
    display: none;
}

.nav-bar>li.has-flyout>a:first-child {
    padding-right: 36px;
}

.nav-bar>li.has-flyout>a:first-child:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: solid 4px;
    border-color: #e6e6e6 transparent transparent transparent;
    position: absolute;
    right: 20px;
    top: 17px;
}

.nav-bar>li.has-flyout>a.flyout-toggle {
    border-left: 0 !important;
    position: absolute;
    right: 0;
    top: 0;
    padding: 22px;
    z-index: 2;
    display: block;
}

.nav-bar>li.has-flyout.is-touch>a:first-child {
    padding-right: 55px;
}

.nav-bar>li.has-flyout.is-touch>a.flyout-toggle {
    border-left: 1px dashed #666;
}

.nav-bar>li>a:first-child {
    position: relative;
    padding: 8px 20px;
    display: block;
    text-decoration: none;
    min-width: 100px;
}

ul.flyout,
.nav-bar li ul {
    padding: 0;
}

ul.flyout li a,
.nav-bar li ul li a {
    border: 1px solid #e6e6e6;
    border-width: 1px 1px 0 0;
    color: #555;
    /* padding: 10px 20px; */
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}


/*** FOOTER  ***/

#footer {
    width: 100%;
    height: auto;
    min-height: 45px;
    background-color: #fbfbfb;
    border-top: 2px solid #f0f0f0;
    font-size: calc(8px + 0.4vw);
    text-align: center;
    margin-top: 8px;
    padding-top: 8px;
}

#footer .menu a {
    color: #777;
    font-weight: bold;
}

#footer .menu a:hover {
    color: #7dc1c6;
}


/* Dropdown menu Solution*/

#menu .sub-flyout:first-child {
    margin-top: 10px;
}

#menu .subfly {
    padding-left: 20px;
    border-radius: 3px;
}

#menu .subfly:hover {
    background-color: #2577C1;
}


/*** Responsive styuff ***/

@media screen and (max-width: 800px) {
    body {
        font-size: calc(11px + 0.4vw);
    }
    .flymenu {
        width: 99%;
    }
    #map {
        zoom: 0.6;
    }
}

@media only screen and (max-width: 385px) {
    #cap {
        display: block !important;
    }
    .QRcode {
        float: unset;
        text-align: unset;
    }
}

@media screen and (max-width: 300px) {
    table th,
    table td {
        display: block;
    }
    table td:nth-child(2) {}
}