body {
    background-color: #FFFF99;
    font-family: Capriola, monospace;
}

h2 {
    font-size: 31px !important;
}


#desktopHeaderGrafic {
    background-image: url(../grafics/head.jpeg);
    background-position: left center;
    background-repeat: no-repeat;
    height: 150px;
    border-bottom: 10px solid #708090;
    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, .7);
    -moz-box-shadow: 0 0 50px rgba(0, 0, 0, .7);
    box-shadow: 0 0 50px rgba(0, 0, 0, .7);
    margin-bottom: 50px;
}

#mainGrid {
    padding-left: 170px;
    padding-right: 10px;
    padding-bottom: 10px;
    position: relative;
}

#content {
    vertical-align: top;
    position: relative;
    font-size: 15px;
    width: 100%;
    float: left;
    text-align: center;
}

#content p {
    margin-bottom: 5px;
}

#leftMenu {
    float: left;
    width: 150px;
    padding: 0 0 0 10px;
    margin-left: -100%;
    right: 170px;
    position: relative;
    vertical-align: top;
}

@media all and (min-width: 800px) {
    #mobileMenu {
        display: none;
    }
}

@media all and (max-width: 800px) {
    #mainGrid {
        padding-left: 10px;
    }
    #leftMenu {
        display: none;
    }
    #desktopHeaderGrafic {
        display: none;
    }
    #mainGrid {
        padding-top: 70px;
    }
}

#leftMenu li {
    display: block;
    list-style-type: none;
    font-size: 15px;
    margin: 0 0 10px 0;
}

#leftMenu li:hover, #leftMenu li.active {
    background-color: #F0E68C;
}

#leftMenu a {
    display: inline-block;
    width: 100%;
    color: #000;
    line-height: 25px;
    margin: 0;
    padding: 0 0 0 10px;
    vertical-align: middle;
}

.headerMenu {
    text-align: left;
}

.headerMenu a {
    background: none;
    width: auto;
    height: auto;
    line-height: 50px;
    font-size: 1.4em;
    padding: 0 10px;
}

.headerMenu li:hover a, .headerMenu li.active a {
    background: none;
}

select[name=mainMenu].javascriptActive {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    line-height: 60px;
    height: 60px;
    font-size: 1.3em;
    width: 100%;
    text-align: right;
    z-index: 1000;
    border: none;
    border-radius: 0;
    background-color: #FFFF99;
    direction: rtl;
    border-bottom: 5px solid #708090;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .7);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .7);
    box-shadow: 0 0 10px rgba(0, 0, 0, .7);
}

select[name=mainMenu] option {
    text-align: center;
}

.mobileMainMenuIcon.javascriptActive {
    display: inline-block;
    position: fixed;
    top: 0;
    left: 0;
    font-size: 1.4em;
    z-index: 1001;
    line-height: 60px;
    text-align: left;
    pointer-events: none;
    padding-left: .4em;
}





/*** FORM ****/


input[type=text], input[type=email], input[type=tel], textarea {
    background-color: transparent;
    width: 40rem;
    max-width: 100%;
}

textarea {
    height: 200px;
}

#content form .row {
    padding-top: 5px;
}

#content label {
    line-height: 36px;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

button[type=submit] {
    color: #000000;
    font-size: 1.1em;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
}

button[type=submit]:hover {
    color: #7678f6;
    border-color: #7678f6;
}

.labeled-radios input {
    display: none;
}

#content .labeled-radios label {
    display: inline-block;
    padding-right: 20px;
    cursor: pointer;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
}

.labeled-radios i {
    vertical-align: middle;
    font-size: 1.3em;
}

.labeled-radios span {
    vertical-align: middle;
}

#content .labeled-radios label:hover, #content .labeled-radios input:checked + label {
    color: #7678f6;
    text-decoration: underline;
}

[name=s_protection] {
    display: none !important;
}

input, textarea, button {
    border-color: #000 !important;
}

input:focus, textarea:focus, button:hover {
    border-color: #7678f6 !important;
}



/**** GALLERY ****/

#lightgallery > a {
    display: inline-block;
    width: 300px;
    height: 300px;
}

#lightgallery > a:hover > img {
    -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 7px rgba(0, 0, 0, 0.45);
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
}

#lightgallery > a > img {
    max-width: 250px;
    max-height: 250px;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
}

body .lg-backdrop {
    background-color: #FFFF99;
}

.lg-toolbar, .lg-actions .lg-icon {
    background-color: rgba(112, 128, 144, 0.62) !important;
    color: #fff !important;
}

#lg-counter, .lg-icon, .lg-thumb-outer {
    background-color: transparent !important;
    color: #fff !important;
}

body .lg-icon:hover {
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
}

.lg-image {
    max-height: 70% !important;
}


.cardContainer {
    text-align: center;
}

.cardContainer .card {
    display: inline-block;
    width: 300px;
    min-height: 200px;
    margin: 20px;
    border: solid 1px #000;
    vertical-align: top;
    color: #000;
    text-decoration: none;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
}

.cardContainer .card:hover {
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.5);
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.cardContainer h4 {
    font-size: 20px;
    background-color: #708090;
    line-height: 40px;
}

.cardContainer .text {
    font-size: 14px;
    padding: 10px;
}

/* MESSAGES */

.msg {
    padding: 1em;
    text-align: center;
    color: white;
    display: inline-block;
    position: fixed;
    top: 7rem;
    right: 1rem;
    opacity: 0;
    transition: opacity 500ms;
}

.msg.active {
    opacity: 1;
}

.msg.error {
    background-color: #9c0000;
}

.msg.success {
    background-color: green;
}

@media all and (min-width: 800px) {
    .msg {
        top: 18rem;
    }
}