/***** BASIC *****/
/* Wrap line */
span.avoidwrap {
    display: inline-block;
}

a:hover {
    text-decoration: underline !important;
}


/* My button */
a.my-btn {
    background-color: #2e2e2e;
    color: white;
    display: inline-block;
    text-decoration: none;
    padding: 12px 70px;
    border-radius: 7px;
    margin-bottom: 30px;
}

a.my-btn h3 {
    color: white;
    margin: 0;
}

h2.title-small {
    font-size: 40px;
}

/* Error indication */
input.showError {
    border-color: red !important;
    border-style: solid;
}

label.showError, div.showError {
    border: red 1px solid !important;
}

select.showError {
    border: red 2px solid !important;
}

textarea.showError {
    border-bottom: red 2px solid !important;
}


/* About gallery */
.grid {
    height: auto;
}

.grid-item {
    width: 20%;
}

.grid-item:not(:first-child) {
    display: none;
}

.grid-item img {
    display: block;
}

.grid-item a {
    position: relative;
}

.grid-item a::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: block;
    content: '';
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, .2);
    border-radius: 100%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
}

.grid-item a:hover::before {
    -webkit-animation: circle .75s;
    animation: circle .75s;
}

@-webkit-keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

@keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

/* My Slider */
.slider {
    max-width: 100%;
    /* The position of the element is set relative to its original position: */
    position: relative;
    /* Center horizontally: */
    margin: auto;
    height: auto;
}

.slider .item:not(:first-child) {
    display: none;
}

/* The picture is scaled in relation to the parent element: */
.slider .item img {
    /* The element is resized to fill the block and maintain proportions: */
    object-fit: cover;
    width: 100%;
    height: 300px;
}

/* Back and forward buttons: */
.slider .previous, .slider .next {
    /* Adds an icon to the cursor when it is over the button: */
    cursor: pointer;
    /* The position of the element is set relative to the borders of the browser: */
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    /* Styling the buttons themselves: */
    color: white;
    font-weight: bold;
    font-size: 16px;
    /* Background fading on hover: */
    transition: 0.6s ease;
    /* Rounding the borders: */
    border-radius: 0 3px 3px 0;
}

.slider .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* When you hover over the buttons, add the background of the buttons: */
.slider .previous:hover,
.slider .next:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Slide animation: */
.slider .item {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    /* Set and change the transparency: */
    from {
        opacity: 0.4
    }
    to {
        opacity: 1
    }
}

/* Logo */
#Top_bar .logo #logo img {
    width: 100% !important;
    height: 100% !important;
}

#Top_bar.is-sticky #logo img {
    width: 100% !important;
}

#Top_bar .logo {
    margin-left: 0 !important;
}

#Top_bar a.responsive-menu-toggle {
    right: -1px !important;
}

/* 404 */
#text404 {
    position: absolute;
    top: 20px;
    left: 0;
    text-align: left;
}

/* Contact */
#dogContact {
    width: 80%;
}

/* Forms */
textarea.textAreaGrow {
    height: 4.2rem;
    max-height: 9rem;
    width: 100%;
}

p.indent {
    margin-left: 45px;
}

p.legal {
    color: black;
    font-size: 18px;
    font-weight: 500;
    text-align: justify;
}

p.legal2 {
    font-size: 17px;
    font-weight: 500;
}

ul li {
    color: black;
}

ul.ulbig li {
    font-size: 17px;
}

#legalForm label {
    display: inline-block;
    width: 150px;
    padding-right: 20px;
    margin-bottom: 0;
}

#legalForm input {
    display: inline-block;
}

#legalForm input[type=text], #legalForm input[type=date], #legalForm input[type=email], #legalForm input[type=tel] {
    padding: 0 3px 5px;
    margin-bottom: 50px;
    color: black;
}

#legalForm input[type=text]::placeholder {
    color: black;
    opacity: 70%;
}


#legalForm input[type=checkbox] {
    height: 20px;
    width: 20px;
}

.labelTip {
    font-weight: normal;
    font-size: 90%;
}

#legalForm2 input {
    display: inline-block;
    vertical-align: top;
    background-color: #e8e8e8;
}

#legalForm2 label {
    display: inline-block;
    padding-right: 20px;
    margin-bottom: 30px;
    width: auto !important;
    vertical-align: top;
}

#legalForm2 input[type=text], #legalForm2 input[type=tel], #legalForm2 input[type=email] {
    padding: 0 3px 5px;
    margin-bottom: 50px;
    color: black;
}

#legalForm2 input[type=text]::placeholder, #legalForm2 input[type=tel]::placeholder, #legalForm2 input[type=email]::placeholder {
    color: black;
    opacity: 70%;
}


#legalForm2 input[type=checkbox], #legalForm2 input[type=radio] {
    height: 20px;
    width: 20px;
}

#legalForm2 select {
    width: auto;
    display: inline-block;
    padding: 10px;

    background-image: linear-gradient(45deg, transparent 50%, black 50%), linear-gradient(135deg, black 50%, transparent 50%);

    background-position: calc(100% - 7px) calc(1em + 2px), calc(100% - 0px) calc(1em + 2px);
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;

    background-color: #e8e8e8;
}

#legalForm2 textarea {
    padding-top: 0;
}

.hide1:not(.showHideSwitch), .hide2:not(.showHideSwitch) {
    display: none;
}

/* Footer */
a.socialIconA {
    font-size: 20px;
}

a.socialIconA i {
    color: black;
}

a.socialIconA i::before {
    font-weight: 700;
}

#Footer .widgets_wrapper {
    padding: 30px 0 0 0;
}


/* DESIGN BY DODC */
a.dim2Bright {
    text-decoration: none;
}

a.dim2Bright img {
    -webkit-filter: grayscale(100%);
    -webkit-transition: all .5s ease-in-out;
    -moz-filter: grayscale(100%);
    -moz-transition: all .5s ease-in-out;
    -o-filter: grayscale(100%);
    -o-transition: all .5s ease-in-out;

    transition: all .5s ease-in-out;

    opacity: .6;
}

a.dim2Bright:hover img {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    opacity: 1;
}

.dodcH5 {
    display: inline-block;
    margin-right: 15px;
    color: black !important;
    font-size: 12px;
}

#copyDODC {
    text-align: right;
}

/* Resposive */

@media only screen and (min-width: 768px) and (max-width: 959px) {
    p.legal {
        font-size: 17px;
    }

    p.indent {
        margin-left: 38px;
    }
}

@media only screen and (max-width: 767px) {
    #copyDODC {
        text-align: center;
    }
}

@media only screen and (max-width: 479px) {
    .section_wrapper, .container, .four.columns .widget-area {
        width: calc(100% - 45px) !important;
    }

    a.my-btn {
        display: block;
    }

    #Footer div.one-third aside {
        text-align: center;
    }

    h2.title-small {
        font-size: 30px;
    }

    #dogContact {
        width: 45%;
    }

    .grid-item {
        width: 33.333%;
    }

    #text404 {
        position: relative;
        top: unset;
        left: unset;
        margin-bottom: 40px;
    }

    #copyDODC {
        text-align: right;
    }

    p.legal {
        font-size: 15px;
    }

    .big {
        font-size: 15px;
        line-height: 22px;
    }

    ul.ulbig li {
        font-size: 15px;
    }

    #Footer .footer_copy .copyright {
        float: none;
        margin: 0 0 15px;
    }

    p.indent {
        margin-left: 28px;
    }

}