/*  ----------  BASIC STYLES  ----------  */

    html, body {
        width: 100%;
        background-color: #f5f3d2;
    }
    
    body {
        overflow-x: hidden;
    }

    .layout {
        font-family: 'Tahoma', 'Arial', 'Georgia';
        color: #515151;
        font-size: 12px;
        line-height: 1em;
    }
    
    .layout * {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }
    
/*  ----------  TYPOGRAPHY  ----------  */

    .layout h1, .layout h2, .layout h3, .layout h4 {
        color: #733919;
        font-weight: normal;
        line-height: 1em;
        font-family: 'Geaorgia';
    }
    
    .layout h1 a, .layout h2 a, .layout h3 a, .layout h4 a { 
        font-weight: inherit;
        color: #733919;
    }

    .wysiwyg {
        line-height: 1.5em;
    }
    
    .wysiwyg h2, .panel h2, h2.title {
        font-size: 2em;
        line-height: 1.2em;
        border-bottom: 1px solid #c4c4bf;
        margin: 1em 0;
    }
    
    .panel h2 {
        border-bottom: 0 none;
    }
    
    .wysiwyg h2:first-child {
        margin-top: 0;
    }
    
    .wysiwyg h3 {
        font-size: 1.5em;
        margin: 1em 0;
    }
    
    .wysiwyg h4 {
        font-size: 1.2em;
        margin: 1em 0;
        font-weight: bold;
    }
    
    .wysiwyg p {
       margin: 1.5em 0;
    }
    
    .wysiwyg .small {
        font-size: 0.9em;
    }
    
    .wysiwyg hr {
        border: 0 none;
        padding: 0;
        margin: 1.5em 0;
        height: 1px;
        background-color: #c4c4bf;
    }
    
    strong, b {
        font-weight: bold;
    }
    
    .text-red {
        color: #dd7963;
    }
    
    .text-bold {
        font-weight: bold;
    }
    
/*  ----------  IMAGE, IFRAME  ----------  */

    .wysiwyg img,
    .wysiwyg iframe {
        max-width: 100%;
    }
    
    .wysiwyg .has-border {
        border: 1px solid;
    }
    
    .wysiwyg .border-gray {
        border-color: #c4c4bf;
    }
    
    .wysiwyg .border-brown {
        border-color: #534b40;
    }
    
/*  ----------  LINKS  ----------  */

    .layout a, .layout a:visited {
       text-decoration: none;
       word-wrap: break-word;
    }
    
    .layout a:hover, .layout a:focus {
    }
    
   .wysiwyg a, .wysiwyg a:visited {
        text-decoration: none;
        color: #733919;
    }
    
    .wysiwyg a:hover, .wysiwyg a:focus {
        color: #ff9711;
    }
    
/*  ----------  LISTS  ----------  */
    
    .layout ul { 
        list-style: none outside;
    }
    
    .layout ol { 
        list-style: decimal; 
    }
    
    .wysiwyg ul {
        margin: 1.5em 0;
    }
    
    .wysiwyg ul li {
        margin: 0.5em 0 0.5em 1em;
        position: relative;
    }
    
    .wysiwyg ul li:before {
        content: "•";
        color: #733919;
        position: absolute;
        left: -1em;
    }
    
    .panel ul li {
        margin: 0;
    }
    
/*  ----------  INPUT  ----------  */

    .layout .form input[type="text"],
    .layout .form select,
    .layout .form textarea {
        width: 100%;
        display: block;
        background-color: #f5f3d2;
        border: 1px solid #a68c60;
        font-size: 0.9em;
        color: #515151;
        height: 22px;
        padding: 2px 5px;
    }
    
    .layout .form textarea {
        height: auto;
    }
    
    .layout .col-center .form input[type="text"],
    .layout .col-center .form select,
    .layout .col-center .form textarea {
        background-color: #faf9e9
    }
    
    .layout .form input[type="text"]:focus,
    .layout .form select:focus {
       background-color: #fff;
    }
    
    .layout .form input[type="submit"],
    .layout .form input[type="button"] {
        border: 1px solid #a68c60;
        display: block;
        cursor: pointer;
        width: 100%;
        height: 24px;
        text-transform: uppercase;
        font-family: 'Georgia';
        font-size: 16px;
        padding: 2px 10px;
        color: #ff9711;
        background: rgb(133,63,28);
        background: -moz-linear-gradient(top,  rgba(133,63,28,1) 0%, rgba(108,62,36,1) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(133,63,28,1)), color-stop(100%,rgba(108,62,36,1)));
        background: -webkit-linear-gradient(top,  rgba(133,63,28,1) 0%,rgba(108,62,36,1) 100%);
        background: -o-linear-gradient(top,  rgba(133,63,28,1) 0%,rgba(108,62,36,1) 100%);
        background: -ms-linear-gradient(top,  rgba(133,63,28,1) 0%,rgba(108,62,36,1) 100%);
        background: linear-gradient(to bottom,  rgba(133,63,28,1) 0%,rgba(108,62,36,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#853f1c', endColorstr='#6c3e24',GradientType=0 );
    }
    
    .layout .form input[type="submit"]:hover,
    .layout .form input[type="button"]:hover {
        background: #853f1c;
    }
    
    .layout .form input[type="submit"]:active,
    .layout .form input[type="button"]:active {
        background: #6c3e24;
    }
    
/*  ----------  MESSAGE, ERROR  ----------  */

    .layout .cms-form-errors,
    .layout .message {
        margin: 1.5em 0;
        line-height: 1.5em;
        font-size: 1em;
        padding: 10px;
    }
    
    .layout .cms-form-errors,
    .layout .message.error {
        color: #ff0000;
        border: 1px solid #ff0000;
        background-color: rgba(255,0,0,0.1);
    }
    
    .layout .message.notice {
        color: #733919;
        border: 1px solid #ff9711;
        background-color: rgba(255,151,17,0.1);
    }
    
    .layout .message.success {
        color: #466517;
        border: 1px solid #466517;
        background-color: rgba(70,101,23,0.1);
    }
   
/*  ----------  ANIMATION  ----------  */

    .animated {
        -moz-transition: all 0.25s;
        -webkit-transition: all 0.25s;
        -o-transition: all 0.25s;
        -ms-transition: all 0.25s;
        transition: all 0.25s;
    }

    .animated-slow {
        -moz-transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -o-transition: all 0.5s;
        -ms-transition: all 0.5s;
        transition: all 0.5s;
    }

/*  ----------  CLEARING  ----------  */

    .clear {
        clear: both;
        line-height: 0;
        font-size: 0;
        height: 0;
    }
    
    .clearfix:after {
        content:"";
        display:table;
        clear:both;
    }
    
    
    table.partners {
        width: 100%;
        border-collapse: separate;
        border-spacing: 10px;
        margin: 0 auto;
    }
    
    table.partners td {
        padding: 10px;
        width: 140px;
        height: 140px;
        text-align: center;
        vertical-align: middle;
        background-color: #fff;
        border: 1px solid #c4c4bf;
    }
    
    table.partners td img {
        width: auto !important;
        height: auto !important;
        max-width: 120px;
        max-height: 120px;
        margin: 0 !important;
    }
    